repair SD-card after Marshmallow - Xperia Z Q&A, Help & Troubleshooting

Hi, everyone
I used the feature in Android Marshmallow, format SD card as internal, and I have 3 devices all the same feature available.
after a while I made a factory reset for the devices, and the SD card is not supported and can't be formatted in android device.
I tried using the diskpart in windows, and after "create partition primary" it shows "virtual disk service error the operation is not supported on a non-empty removable disk".
I tried using MiniTool Partition Wizard, but it shows bad disk and after re-inserting the SD card shown nothing was done.
disk management in windows with no use.
what I understood that the android feature make two partitions, 16MB partition and another one for the rest storage which only readable within the android device made it (encrypted some how).

Related

sd card problems

long story short
i formatted 4gb card using recovery all fine
i updated ext2 to ext3 and the battery fell out
sd card not working
i can only format the card via recovery mount usb and disk management
it says unallocated so i format simple partiton select fat32 it formats fine
i can access it and add a file to it
then...
i reboot phone and sd card needs formatting again even booting back to recovery go to disk management it says unallocated again
i've used many tools sd formatters 'DISKPART' 'testdisk-6.11.3.win'
PTEDIT32
i have an image of what the sd card says
any ideas
Have you tried partitioning directly from recovery via parted?
Code:
parted /dev/block/mmcblk0
yes ive tried that and i get bad superblocks
sitimber said:
long story short
i formatted 4gb card using recovery all fine
i updated ext2 to ext3 and the battery fell out
sd card not working
i can only format the card via recovery mount usb and disk management
it says unallocated so i format simple partiton select fat32 it formats fine
i can access it and add a file to it
then...
i reboot phone and sd card needs formatting again even booting back to recovery go to disk management it says unallocated again
i've used many tools sd formatters 'DISKPART' 'testdisk-6.11.3.win'
PTEDIT32
i have an image of what the sd card says
any ideas
Click to expand...
Click to collapse
how did you format the card in recovery?
usb mount then windows management console it says unallocated raw
right clicked then selected simple volume then fat32 all works fine but reboot phone or take card out of phone put it back to phone(get unalocated raw) or reader(get nothing)
damn thing

Easily and quickly resize your SD Cards FAT 32 Partition

To quickly resize the FAT32 Data (ie music extra large data files etc) portion of any of the bootable SD cards use the following steps:
1. Create your SD Card from the Image.
2. Download and install Easeus Partion Master from Download.com
3. Close out file manager and any other active programs before starting Easeus.
4. Start Easeus, it will boot up and it will show the SD with the four partitions.
5. If your SD card has room that is unclaimed part of it will be gray and labeled unformated.
6. If it has room, right click on the last partition of the sd card and choose Resize/Move.
7. Now simply drag the end of the partition so that it extends the box to include as much of the unformated drive space as you want it to.
8. Hit Apply. Here is the rub, Easeus tries to save the data on that particular partition while extending/expanding the drive. I don't believe this is guaranteed so please backup anything you want to keep. But know that it is possible it might make the transition just fine.
9. Exit the program, you're done!
I've tried this and Easeus doesn't show any of the SD partitions. I've tried two different cards (an 8GB and a 16GB) on two different computers. Any suggestions? I posted this issue in another thread but nobody responded.
Bad reader?
Yeah, Partition Master only shows the first partition for me. I may try to pick up a different reader to see if that's the issue.
EDIT: I picked up another SD card reader over lunch and it also just shows the first partition. Is there some magic to showing all of the partitions on the card?
RE-EDIT: Scratch that...Windows only mounts the first partition as a drive letter but Partition Master shows all partitions properly. Cool!
So how do you access it
So you are correct and this works. My question is how do you access the SD card. If I pull it out and use a reader, windows only sees the boot sector. When I am booted autonooter 3.0 Rooted, put in the SD card and then plug into a computer it only sees the internal memory and the boot sector on the SD. When I connect it to the computer while booted in Honeycomb I do not see any drives.
Have you figured out how to load files on to this expanded area. I would love to try and play ripped DVDs on Honeycomb.
I'm able to resize the fat32 partition, but I would like to resize the internal memory so that I have more space for apps on my SD running honeycomb. Anyone find a work around for that?
Thanks

SD Card Basics and rooting/CM

Introduction I wanted to put this into a thread since there are multiple questions about the same topics here. I'm simplifying here, Verygreen and others could give you a lot better detail. But if you are confused about some of the directions in other threads, this may help.
For most purposes, the SD card is treated as a simulated hard disk. So much of the control and terminology used is the same as HD.
For the Nook HD/HD+, the easiest (and so far only) way to access control of the machine is through an SD card. This is because the bootloader will check the SD card and boot an acceptable OS it finds there. So for now at least, ALL CM versions for these Nooks will be booted off the SD card. For those familiar with flashing their phones, it is no different except all ROMs will reside on the SD card. The internal memory, called EMMC (or internal SD) is available for use with these ROMs as of 12/28 releases so it isn't wasted, and data (not programs) you want available from both Stock and CM can be placed there.
ROMs are placed into memory with a program generically called Recovery. This is a small OS which can provide access to memory, update ROMs, wipe memory partitions, make backups of your ROM, provide access to partitions from your computer via ADB, etc. The version that we are using here is called Clockwork Mod (CWM). You will need to load this into the boot sectors of your SD card.
Burning CWM In order for the bootloader to load this program, the exact placement of bits in the SD memory is critical. So instead of copying this program over to the SD card, you must burn an 'image'. This is an exact replica of the specific bits mapped to correct sectors of the SD card. The term is usually 'burn' an image. To burn an image from Windows, the recommended program is Win32DiskImage (http://sourceforge.net/projects/win32diskimager/) but other "image writing" software will work.
When you write an image, your SD card will contain a partition exactly the size of the image you just wrote. A partition is a formatted and ready to use portion of a hard disk or something simulating a hard disk like your SD card. In windows, you might have seen instances where multiple partitions are allocated to different drive letters (e.g. C: and D: ) both on the same physical device. In Unix or Android, partitions are often known by names such as /system or /sdcard. However, native Windows installs are only able to see the first partition of a SD card. Therefore, if you write a 500MB image to a 32 GB card, at that point in time only 500MB is usable and 31.5GB is no longer available. For the CM10 installs on this thread, the rest of the card is automatically partitioned as new drives for the ROM and DATA and so becomes available (linux/android don't have the partition disabilities of Windows).
If you are using Leapinlars' CWM zips to root, etc, you can simply copy the files over after writing the image. There is room in the imaged partition for these files. IF you are using Verygreen's CM10, and possibly others, you can't copy the files over as the CWM partition is too small to start with. After the CM10 SD boots in the Nook, it will create partitions to use the rest of memory. But these new partitions are not easily accessible with Windows. This is why Verygreen's instructions include using ADB to push the zip file to the /sdcard partition.
Partitions For those writing CWM images for update zips (e.g. http://forum.xda-developers.com/showthread.php?t=2062613), you will either want to use a smallish (e.g. 4G) SD card or repartition the card after you are done. The images by Leapinlar are large enough to load a few zip files for flashing in addition to the CWM program and a couple of backups (sometimes called 'nandroids'). But if you want to access the rest of the card, you'll need to repartition. The main reason you would want to do this is to return your 32GB card to full size, either with or without CWM on it; simply reformating on windows will not restore the unused data. For this, you will need to use a partitioning tool like Easeus (http://download.cnet.com/Easeus-Partition-Master-Home-Edition/3000-2248_4-10863346.html) or Minitool (http://www.partitionwizard.com/download.html). Note, this is generally NOT needed by the instruction sets on these fora, but is just provided as information, or if you wish to return to SC card to an initial state.
Copying files to partitions For the Nook HD/HD+, you must have the boot partition in the first partition of the SD card. This will NOT be the /data partition or the /sdcard partition. Therefore, you need a way to write to these partions on the CM builds. The easiest way is to boot CWM and use your computer to write to the these partitions via Android Debug Bridge (ADB). The process is boot to CWM, then go to mounts and storage, mount the /sdcard, THEN adb with CWM running and copy the zip over. ADB is a command shell that can execute commands on a remote android machine. Leapinlar's tips thread http://forum.xda-developers.com/showthread.php?p=34168454#post34168454 gives a lot of detail about setting it up and getting it to run. If you are using Windows, there is a way (Update: this does work to see the sd card partition on CM10 SDs) to see all partitions on a SD card. See this tutorial: http://forum.xda-developers.com/showthread.php?t=1585572. When done properly, you should be able to write your zips directly to the /sdcard partiton of the sd card (if that sounds confusing, please reread all that stuff above.) Note, there are partitions formated in unrecognized formats which are NOT seen with this method.
SD Formats SD cards are 'formatted' in different ways, just like hard disks. Formatting refers to data structures and directory structures used to keep track of files on a hard disk. In fact, any hd format can be used, but the typical format (data/directory structure) on smaller SD cards is FAT32. These are limited to a max filesize of 4GB and are fully compatible with Windows XP. For the larger cards, they often come formatted to a new format called exFAT (extended FAT). These allow larger files but are not native to Windows XP. However, a driver is available from M$ that will support exFAT. Because it is unexpected, you will get an error talking about the likely damage to your hardware if you proceed when writing an image to the exfat formatted SD card. You can ignore the error, the image is written bit for bit correctly.
Lastly to completely reboot the Nook HD/+, you need to hold the power button down for 10 seconds ignoring all prompts. Then hold it down again until it turns on.
I hope this is helpful. Please feel free to post comments and corrections below if I've made any mistakes and I'll update the op. I'll also try to answer questions if you have them.

Changing partition table ?

Hello Guys !
The internal SD card partition is ****ed up and it shows as "unmounted".
I tried a lot of things, including connecting the phone to computer and formating the damn internal storage, but when i plug the USB cable, the phone says that don't have SD card and don't allow full access or Mass Storage.
I tried some programs and file explorers who claimed that can format partitions. No one of them did works.
I tried from the settings of the device to format the internal storage, but i can't change or touch anything, because it shows the internal storage as "unmounted".
I flash it to the stock rom but in the process of flashing, it don't even touch anything in the partition table and after the flashing, the internal SD card is still "unmounted".
Is there any program, tool, way to repartition the partition table on the device ?
I have searched for that in google and i didn't find anything of that sort for Xperia X8.
My other phone, LG Optimus 2X for example, it have AIO toolkit and from there i can change his partition table as i want.
I doubt in that i can't do the same on Xperia X8.
What can i do in this case ?
By "Internal SD card partition" do you mean the Data partition?
Yes.
Are you sure? Does your phone boot? Are you able to install apps?
I mean... that partition where the other data like music, videos, files for apps are stored in there or the partition that file managers sees.
And now this partition is broken and unmounted. The phone show stupid errors everywhere, of the type of "Put your SD card to make photos" or "No SD card" in every app that store data...Now i can't do nothing, i can't even transfer one song and set it as default rington.
But the phone starts up successfully and i have no problem with installing apps from the old "Android Market".
Then that would be your Externel MicroSD Card. If you take the back cover off your phone it should be in the top right corner.
Try taking it out and using an MicroSD card adapter to connect it to your pc and format it.
Or use an app called "AParted" from the Play Store to format your MicroSD Card(Root access required).
No. The phone don't have inserted SD card. I am talking about the "internal SD card". As far as i know, the partition that the file managers sees is the partition left for free data storage, and that is not the whole memory, there is another partition that is hidden and is for the system files for android.
So, the phone boots up and "works" but i need to make repartitioning, but i don't know how to do it on this phone and what is the procedure if there is a way.
AtanasP said:
No. The phone don't have inserted SD card. I am talking about the "internal SD card". As far as i know, the partition that the file managers sees is the partition left for free data storage, and that is not the whole memory, there is another partition that is hidden and is for the system files for android.
So, the phone boots up and "works" but i need to make repartitioning, but i don't know how to do it on this phone and what is the procedure if there is a way.
Click to expand...
Click to collapse
The phone has 2 main partitions one is System(For OS related files and folders) and the other one is Data(For Apps and App Data), No File Manager can see whats in them(Unless you have Root Access). The only thing that would be visible to your File Manager would be whats in your MicroSD Card. If you don't have a MicroSD Card you will not be able to save any pictures or videos or any thing like that(Just like any other Android Phone with a MicroSD Card Slot)
So, this phone uses the whole internal memory for the system ? And its required to put a microSD card to be able to use the phone ?
All my android phones has a partition for free storage and i am suprised of that i can't storage anything without SD card.
This Phone only has 250MB of Internal Storage and it uses about 128MB for System. That leaves you with around 122MB to install Apps. The Phone is 100% Usable without a MicroSD Card, the only thing you will not be able to do is Save any type of External File(Video. Audio, ect.)

After the stock rom (Marshmallow to Lollipop) affected my SD card formating!

Hello, so the thing about my sdcard before I do the download only option with my phone Lenovo A7000, after I did the whole process everything is done, but I have noticed that the system probably affected to the sdcard slot on the phone, why? Because it says 16GB on the card, I put it on my phone and tells me that the card is corrupted and I formated it right, and what happened? It shows me on the phone 16MB max, and I did everything on it. I downloaded the EaseUS Partition Master tool, I deleted the partition, created a new one and it did nothing, still asks for the format because is corrupted and I have the 16MB again, tried to format it to a different type known as NTFS instead of FAT12, still gets the problem no matter what I do, if you know the solution, please reply,comment whatever. Asnwer whenever you have time. Thank you!
the problem you are facing usually happens with lenovo a7000 on marshmallow after an unsuccessful formating the partition become 16mb of size to fix this directly insert your sd card in your computer go to disk management and there you will see a partition of 16mb size and an unallocated space of whatever is left delete your partition make a new one and format it with ntfs , i hope this helps
Firstly, do not use NTFS, you're better off with FAT32. Also, in Easeus partition manager, did you apply the changes?

Categories

Resources