[Q] SD card not mounting after encrypting device - Samsung Galaxy Nexus

I encrypted the device, then decided I wanted it off. I factory reset the phone to remove it and now It's stuck at the Google screen and won't boot.
I tried going into recovery (TWRP) to restore a previous backup but none of my backups are listed. Looked in the file manager and the SD card was blank. I looked in the Mount menu and sure enough, it was unmounted. I tried mounting it, but nothing happens when I touch it. I can't mount the data or SD Card. I can mount and unmount the system and cache just fine though.
The log for TWRP says "E:failed to mount /data (Invalid argument)"
The galaxy nexus toolkit does not recognize the device when using "fastboot devices" or "adb devices" commands.
Anyone have this problem before or know anything that might fix this?
Edit: got it booting again. if anyone's wondering, I used this: http://www.galaxynexusforum.com/for...how-return-stock-using-odin-vzw-lte-only.html

Related

[Q] SDcard unable to read/detect after rom boots

Hi, I have this problem.
I've just changed my rom to AuraxTSense. After installing, its unable to detect/read my sd card (no problem reading sdcard in recovery though). Tried reinstalling the rom and i got this error when i do a wipe data/factory reset.
E:Can't mount /dev/blocl/mmcblk0p2 (File Exists)
Error mounting SDEXT:!
Would appreciate if anyone enlighten me. I'm using ClockworkMod Recovery v2.5.0.7, Rom AuraxTSense 8.2.
I may have the same problem.
But I can't even read the SDcard in recovery...e.g. via "choose zip from sd"
What can I do?
edit:
Ok, I think I solved it for my case...
I could boot into the Rom itself, but didn't have any access on the sdcard (it wasn't even recognised by the system). I tried to connect the phone via USB, but nothing happend. By reading through the "USB brick" threads here on xda, I found out that a not accessible sdcard can't be activated by entering "fastboot oem enableqxdm 0" via adb shell.
It worked and the shell responded to the command with an "okay" and displayed the duration of the execution. But I still had no access to the sdcard
After hours of reading and trying I somewhere found a post that advised to simply clean the contacts of the sdcard! At first it sounded to me like some hanky-panky "trick" like (blowing in the slot of the old Gameboy ). Nevertheless IT WORKED
I booted the phone into hboot (vol. down + power), initially on my way to recovery, and it kind of aautomatically recognised an sdcard, showing the following (step-by-step):
Code:
SD Checking...
Loading...[PB99DIAG.zip]
NO Image!
Loading...[PB99DIAG.nbh]
No Image or wrong Image!
Loading...[PB99IMG.zip]
No Image!
Loading...[PB99IMG.nbh]
No Image or wrong Image!
(I think it's the routine that checks for a PB99IMG, the stock rom/RUU, which would be installed if there was no rom installed or the rom corrupted.)
At first I couldn't believe my eyes, but being able to browse the sdcard again in recovery ("choose zip from sd") was the verification sdcard is working again.
So I booted up the phone (took extremely long) and my sdcard was mounted correctly and all the apps, on my ext3 for a2sd were back, too.
And it was no longer "usb-bricked". Without flashing the "usb brick fix" I could connect to my computer via usb. (I'm not sure if it really was usb bricked or if this function was just blocked by the unmountable sdcard...)
Maybe this is a help for you, too.
Thanks for the tip. Sadly not the case for me.
Hopefully someone has an insight regarding the error msg
Maybe your ext-Partition is simply corrupted?
Because the error message only relates to /dev/blocl/mmcblk0p2
Do you have access to another microSD? Try to format it in the same way:
Primary Partition FAT32 and secondary ext3 for apps.
If this works without further complications, you could try to format and repartition the currently installed mircoSD.
Restoring the Apps and Settings from a Backup tool (Titanium, MyBackup) should work if you backup the "backup files" (usually on the FAT32 partition) beforehand.
Greetings
Tried formating the ext-partition in recovery, no success whateverso...
Can't format it using Rom Manager either, no sdcard detected...
Any other ways i can format it?
It should be no problem using a linux-live cd.
Download and burn the cd, boot the linux from it and navigate to a tool like "gparted" or some other partitioning programm.
I would recommend you to insert the microSD into an adapter for cardreaders or an microSD->USB-Adapter...just to be independet from phone-related errors.
If you don't have such an adapter you could try mounting the device in recovery to your booted-up live-cd linux. Maybe the ext3 partition is recognized.
Drakern said:
Hi, I have this problem.
I've just changed my rom to AuraxTSense. After installing, its unable to detect/read my sd card (no problem reading sdcard in recovery though). Tried reinstalling the rom and i got this error when i do a wipe data/factory reset.
E:Can't mount /dev/blocl/mmcblk0p2 (File Exists)
Error mounting SDEXT:!
Would appreciate if anyone enlighten me. I'm using ClockworkMod Recovery v2.5.0.7, Rom AuraxTSense 8.2.
Click to expand...
Click to collapse
I may have the same problem.
But I can't even read the SDcard in recovery...e.g. via "choose zip from sd"
What can I do?
edit:
Ok, I think I solved it for my case...
I could boot into the Rom itself, but didn't have any access on the sdcard (it wasn't even recognised by the system). I tried to connect the phone via USB, but nothing happend. By reading through the "USB brick" threads here on xda, I found out that a not accessible sdcard can't be activated by entering "fastboot oem enableqxdm 0" via adb shell.
It worked and the shell responded to the command with an "okay" and displayed the duration of the execution. But I still had no access to the sdcard
After hours of reading and trying I somewhere found a post that advised to simply clean the contacts of the sdcard! At first it sounded to me like some hanky-panky "trick" like (blowing in the slot of the old Gameboy ). Nevertheless IT WORKED
I booted the phone into hboot (vol. down + power), initially on my way to recovery, and it kind of aautomatically recognised an sdcard, showing the following (step-by-step):
Code:
SD Checking...
Loading...[PB99DIAG.zip]
NO Image!
Loading...[PB99DIAG.nbh]
No Image or wrong Image!
Loading...[PB99IMG.zip]
No Image!
Loading...[PB99IMG.nbh]
No Image or wrong Image!
(I think it's the routine that checks for a PB99IMG, the stock rom/RUU, which would be installed if there was no rom installed or the rom corrupted.)
At first I couldn't believe my eyes, but being able to browse the sdcard again in recovery ("choose zip from sd") was the verification sdcard is working again.
So I booted up the phone (took extremely long) and my sdcard was mounted correctly and all the apps, on my ext3 for a2sd were back, too.
And it was no longer "usb-bricked". Without flashing the "usb brick fix" I could connect to my computer via usb. (I'm not sure if it really was usb bricked or if this function was just blocked by the unmountable sdcard...)
Maybe this is a help for you, too.
Last edited by spaboleo; 12th January 2011 at 07:37 AM. Reason: solved...i hope
Click to expand...
Click to collapse
i have same problem but i can't access my phone now since i have format it and by mistake createnew ext
how can i delete contacts??

Everything just broke...

Whilst attempting to install MIUI 1.14 I got an error that the zip was invalid or something along those lines. I then rebooted but the Desire got stuck in a boot loop. After wiping the phone and formatting the SD card it booted fine, however the SD card is still not recognised, ADB doesn't work and the USB debugging icon keeps coming up as though it keeps getting reconnected. When I try to mount it in recovery, I get:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0 (no such file or directory)
and
E:Can't mount SDCARD:/nandroid/
Any help much appreciated.
Oh, and the memory card works fine on an old Hero I have lying around so the problem isn't there. Is there anyway I can restore it to stock over USB? It boots fine and is recognised in fastboot, as well as showing up in device manager.
mejogid said:
Whilst attempting to install MIUI 1.14 I got an error that the zip was invalid or something along those lines. I then rebooted but the Desire got stuck in a boot loop. After wiping the phone and formatting the SD card it booted fine, however the SD card is still not recognised, ADB doesn't work and the USB debugging icon keeps coming up as though it keeps getting reconnected. When I try to mount it in recovery, I get:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0 (no such file or directory)
and
E:Can't mount SDCARD:/nandroid/
Any help much appreciated.
Oh, and the memory card works fine on an old Hero I have lying around so the problem isn't there. Is there anyway I can restore it to stock over USB? It boots fine and is recognised in fastboot, as well as showing up in device manager.
Click to expand...
Click to collapse
forget the hero
the problem IS the sdcard if recovery cannot mount it as well as the rom
these are two seperate os's
if the zip file was not intact then it would point to there being sdcard corruption and the bootloop will also happen due to faulty SD
If i were you i would put it in a card reader and use h2testw to check the integrity of the card
if that is successful then format the card from the device itself in settings>sdcard & storage
Thanks for the advice. I don't currently have a micro SD card reader (only an SD card one), although I can get one tomorrow fairly easily.
However, given I formatted the card from the Hero's recovery would it not make more sense to go straight to a new SD card? I might be able to borrow one to confirm, regardless. Oh, and how is the ADB issue likely to tie into all of this?

[Q] Can't mount SD card in recovery to flash a new rom, help!

Hi there,
I was about to flash a new rom on my Dinc, and right after I formatted /system, the sdcard became unable to mount and now I can't access the .zip for the new rom. I've tried flashing 3 versions of CWM as well as one of TWRP but none of them can access my SD card. I also reformatted it in my PC with no success. I currently don't have any operating system on it so all I can work with is hboot and recovery.
Can anyone help me fix this?
egunth said:
Hi there,
I was about to flash a new rom on my Dinc, and right after I formatted /system, the sdcard became unable to mount and now I can't access the .zip for the new rom. I've tried flashing 3 versions of CWM as well as one of TWRP but none of them can access my SD card. I also reformatted it in my PC with no success. I currently don't have any operating system on it so all I can work with is hboot and recovery.
Can anyone help me fix this?
Click to expand...
Click to collapse
Did you format it fat32 with the pc? If the cards fine (can be used by pc and fat32) and recovery and hboot still cant find it, then id venture to say the sdcard slot is damaged or went out.
Using adb in recovery, you should be able to push a rom file to emmc and flash it from there.
cmlusco said:
Did you format it fat32 with the pc? If the cards fine (can be used by pc and fat32) and recovery and hboot still cant find it, then id venture to say the sdcard slot is damaged or went out.
Using adb in recovery, you should be able to push a rom file to emmc and flash it from there.
Click to expand...
Click to collapse
I did format it FAT32, and the SD card is definitely fine. I don't think that the slot is the problem either because other things won't mount either.
Actually the only thing I can mount in recovery is /system, everything else is inaccessible. It was having mounting problems before which is why I decided to flash it with a new rom (was running Jellybean very poorly). I also tried flashing the original recovery, doing "clear storage" that way, and reflashing with CWM but it had no effect. During the storage wipe it said that /datadata doesn't even exist. It also shows errors that it can't mount the files /dev/block/mmcblk01 and /dev/blk/mmcblk0p2
This is what the log shows when I did the CLEAR STORAGE using the stock recovery
Restore factory NV setting...
Formatting DATA:...
E: format_root_device: can't find mtd partition "datadata"
Formatting EMMC:...
Formatting CACHE:...
Wipe ALL failed.
E:Can't mount DATADATA:recovery/log
E:Can't mount /dev/block/mmcblk0p2 (or /dev/block/mmcblk1)
(No such file or directory)
The same thing happened to me long back. What I did was that I cleared data, cache, and dalvik cache... Worked for me... You can try but i wont take any responsibility
Sent from my HTC Salsa C510e using XDA

[Q] No /system /cache /sdcard partitions, can't flash kernel

Ok, here is the problem, i woke up today, my phone battery was empty, i connected the phone battery was loading, but i couldn't get to the system, after kernel load it stops, like there was no system installed. Everything worked fine day before,my configuration was: Doomkernel and Existenz_2.0.5 ROM.
So, i got to recovery (recovery works,CWM), and there i saw "can't mount cache" error. I got into shell with adb (this works too), and there is no way i can mount any system partition (/system, /cache, /data), what's more important /sdcard does not mount either. So, i'm in recovery, can't install or restore from sdcard,cause /sdcard does not mount.
I'v tried sideload, no go.
I've tried fastboot flash new kernel, and here's interesing thing, fastboot reported that flashing was ok, but i still have Doomkernel (i was trying to flash 6.0-TUX-Core-HD kernel. So seems like fastboot did not write anything at all.
I've tried flashtool with stock tft. It breaks with "final verification error", when i turn "final verification off" it goes all the way, says everything is installed, but when i restarted, still only Doomkernel.
Any ideas ? I take any advice.
Maybe you have already tried it, but format your phone's data, THEN the cache, and finally the internal storage (SD card). In XS's CWM, there's a bug, which causes sometimes an unformatable and unusable cache parition. But this method can be help on this. Maybe this problem causes those unformatable partitions.
Szatyor said:
Maybe you have already tried it, but format your phone's data, THEN the cache, and finally the internal storage (SD card). In XS's CWM, there's a bug, which causes sometimes an unformatable and unusable cache parition. But this method can be help on this. Maybe this problem causes those unformatable partitions.
Click to expand...
Click to collapse
Thank you for your reply. Haven't tried that but i have now and, unfortunately, no go. With /data and /cache seems like format was success but it didn't ( still can't Mount) and with /sdcard format fails (error mounting /sdcard).
Maybe my sdcard really died ?
qrto said:
Thank you for your reply. Haven't tried that but i have now and, unfortunately, no go. With /data and /cache seems like format was success but it didn't ( still can't Mount) and with /sdcard format fails (error mounting /sdcard).
Maybe my sdcard really died ?
Click to expand...
Click to collapse
Well, I don't think so. The "SD Card" is a part of the memory chip, which includes the system, the data and the cache partitions too. Because you cannot copy anything now to the internal storage, try to install a ROM from ADB Sideload if you can. Once it done, your phone can be boot maybe again. If it happens, try to format the internal storage by the Android. If it fails, connect the phone to your computer, and try to format with Windows or (it can be better) Linux to fat32 filesystem.
Szatyor said:
Well, I don't think so. The "SD Card" is a part of the memory chip, which includes the system, the data and the cache partitions too. Because you cannot copy anything now to the internal storage, try to install a ROM from ADB Sideload if you can. Once it done, your phone can be boot maybe again. If it happens, try to format the internal storage by the Android. If it fails, connect the phone to your computer, and try to format with Windows or (it can be better) Linux to fat32 filesystem.
Click to expand...
Click to collapse
Thank you for your ideas. Thing is, all i can start is cwm recovery. As i wrote, i can't install anything with sideload. And no partition is working. When i start parted /dev/block/mmcblk and try to list partitions, i get unrecognized disk label error, when i try to manually set disk label to msdos, there's I/O Error.
And i can't format sdcard, because when in recovery, phone is not detected by Linux nor Windows. But i tried formatting partitions internally, with mke2fs, and with fastboot command. No go.
I know that /sdcard is just a partition, but what i meant was that probably my phone memory chip died, like hardware died. but i'm still looking for new ideas i want to try everything before giving up.
qrto said:
Thank you for your ideas. Thing is, Alp i can start iż cwm recovery. As i wrote, i can't install anything with sideload. And no partition is working. When i start parted /dev/block/mmcblk and try to list partitions, i get unrecognized disk label error, when i try to manually set disk label to msdos, there's I/O Error.
And i can't format sdcard, because when in recovery, phone is not detected by Linux nor Windows. But i tried formatting partitions internally, with mke2fs, and with fastboot command. No go.
I know that /sdcard is just a partition, but what i meant was that probably my phone memory chip died, like hardware died. but i'm still looking for new ideas i want to try everything before giving up.
Click to expand...
Click to collapse
Then maybe it's a HW error really. But maybe just the partition table is corrupted. At this point, I don't know. I have only one suggestion left: Take the phone to the nearest SONY Center or GSM shop/service to investigation. But I think they will say you'll need to replace the phone's motherboard. Anyway, it's an too expensive solution I think, because this phone is a "retired" modell without any update, but with a "blacksheep (Snapdragon S3) SoC.

TWRP problems

I'm using TWRP v3.2.1-0 and rooted with Magisk 14.6.
I'm trying to backup system files and can't make it work. When I try to backup to internal storage, I get an error message that says: "Cannot create /data/media/0/TWRP' folder (Operation not permitted)." It doesn't matter what files I try to save or what I have mounted, I always get that error. It appears to be a file permission problem.
So, I tried using a thumb drive with the OTG adapter. When I do that, I'm unable to mount the drive in TWRP. I can mount it when booted into the system, but not in TWRP. In TWRP, selecting USB-OTG as the storage device does nothing.
Does anybody else have this problem or know how to fix it?

Categories

Resources