CWM mounts and storage question - Samsung Galaxy Nexus

I was changing the "mount /system, /cache, /data" options for something then realized I forgot what the original order of the "mount or unmount" should be. Currently it is:
-mount /system
-unmount /cache
-mount /data
-mount USB storage (at the bottom)
I'm asking because when I go to settings->storage I get the "Unfortunately, settings have stopped" error. I've searched other threads and found one exactly like this from a few months ago but unfortunately there were no replies. Does anyone know what these values should be by default? Its found by booting into CWM recovery and selecting mounts and storage. Thanks.

Moonkae said:
I was changing the "mount /system, /cache, /data" options for something then realized I forgot what the original order of the "mount or unmount" should be. Currently it is:
-mount /system
-unmount /cache
-mount /data
-mount USB storage (at the bottom)
I'm asking because when I go to settings->storage I get the "Unfortunately, settings have stopped" error. I've searched other threads and found one exactly like this from a few months ago but unfortunately there were no replies. Does anyone know what these values should be by default? Its found by booting into CWM recovery and selecting mounts and storage. Thanks.
Click to expand...
Click to collapse
Mine is
mount /system
mount /data
unmount /cache
mount /sdcard
mount /sd-ext
format /system
format /data
format /cache
format /sdcard
format /sd-ext
mount usb storage

Related

cm6.0.1 mounting /data and /system

while running CM 6.0.1 i attempted to format the internal storage being the newb that i am, and not the device cannot mount the internal storage.
i have tried to wipe, restore, clear data and whatnot but i just get stuck at the splash screen
is there some command in adb that i can fix this with? or any way to fix it??
in recovery it says
E:cant mount /dev/block/mmcblk0p2
E:cant mount CACHE:recovery/command
nevermind
somehow i managed to restore to a backup of the stock rom and go from there

Recovery Issues

Issue started after a nandroid backup (using clockwork 2.5.0.5). Backup froze, i ended up pulling the battery. When i go back into clockwork to try the backup again i now get the following:
clockwork recovery v2.5.0.5
e:can't mount /dev/block/mmcblk0p2 (file exists)
e:can't mount CACHE:recovery/command
e:can't mount /dev/block/mmcblk0p2 (file exists)
e:can't mount CACHE:recovery/command
e:can't mount /dev/block/mmcblk0p2 (file exists)
I wiped cache, factory reset, wiped dalvik. Even tried formatting boot system, system, data and cache. Was able to reload stock 2.1 through hboot, re-rooted, but get same error and cannot get clockwork to mount sd-card to go any higher.
When I try to mount sd-card through clockwork the following appears:
e:Can't mount /dev/block/mmcblk1p1 (or /dev/block/mmcblk1) (no such file or directory)
Any help is greatly appreciated.
Is the SD card full?
Absent that, perhaps make a copy of the SD card on PC, reformat FAT32, place last known working backup on SD and see if you can restore that backup.
If that fails, perhaps d/l another ROM on PC, transfer to SD card, flash, see what you get.
I tried two different sdcards. Both were formatted as fat32. From the articles i have looked at i think i may have screwed up the internal storage. Followed this article:
h t t p://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage
They say to run "parted /dev/block/mmcblk0 mkfs ext2". When i do that it formats the sdcard to ext2. Still have the same issue. Doesn't appear to see the internal at all.
What command can i run from adb shell to display all the storage, volumes or partitions the system i can see?
Again any help is greatly appreciated!
I think just typing command 'mount' will list all mounts.
________________________________
Unrevoked forever
SkyRaider Sense 3.5
Radio 2.15.00.09.01

[Q] Accessing Internal Storage via CWM

Hi everyone. I'm wondering how to mount my internal storage from CWM. I know I've done it before so I can't figure out why it's not working. I'm currently on a stock ROM so I assume internal sd card is /sdcard right now. Anyways, when I go to Mounts and Storage in CWM and hit "mount /sdcard", it says "E: Unable to write to ums lunfile (No such file or directory) Error mounting /sdcard!" If I hit "mount /emmc", which could technically be the internal on AOKP or CM9, it works, but nothing happens. And if I hit "mount USB storage", I get the same error as from "mount /sdcard" - "E: Unable to write to ums lunfile (No such file or directory) Error mounting /sdcard!"
Please let me know how I can mount my internal storage while in CWM. And yes, my phone is plugged in.
No one knows?
usually if I have a problem and no one can help and if I can find them....I hire the A-Team
Or I just google it
http://www.google.com/search?sugexp...ome&ie=UTF-8&q=Unable+to+write+to+ums+lunfile
Haha I already googled it. My problem isn't solved by what they suggest though. Usually either mount /sdcard or mount /emmc should work, depending on which one is the internal sd. But in my case, none of them are working. But I know I've mounted it before... just can't remember how

Bricked A100

I was using my A100 and an application wasn't working. So i returned home, but then my A100 was blocked (I couldn't do anything). So I rebooted it, but it doesn't boot up. I can access recovery, so i tried to wipe cache. But this messages appear:
E:Can't mount /cache/recovery/command
E: Can't mount /cache/recovery/log
E: Can't open /cache/recovery/log
E: Can't mount /cache/recovery/last_log
E: Can't open /cache/recovery/last_log
-- Wiping cache...
Formatting /cache...
E:format_volume: make_extf4fs failed on /dev/block/mmcblk04
Cache wipe complete.
I can't make a backup, because it says "Can't mount backup path."
I have the first clockworkmod for the A100 installed. Please, help me.
I can't mount /sdcard too. It says: "error mounting /sdcard".
There has been alot of this happening lately. What ROM were you running when this happened?
Also, in CWM, verify which SD card is being used for backup/restore, and try toggling it around to the other one.
Also, in advanced>mounts try mounting the partitions like /system /cache /data etc and see if it gives anymore errors.
pio_masaki said:
There has been alot of this happening lately. What ROM were you running when this happened?
Also, in CWM, verify which SD card is being used for backup/restore, and try toggling it around to the other one.
Also, in advanced>mounts try mounting the partitions like /system /cache /data etc and see if it gives anymore errors.
Click to expand...
Click to collapse
I was running the first ZeroNull Mod. When i try mounting anything, it says: "Error mounting /system!", "Error mounting /data!" and "Error mounting /cache!". Can you explain how to verify whick SD card is being used for backup/restore?
MegaDragonMan said:
I was running the first ZeroNull Mod. When i try mounting anything, it says: "Error mounting /system!", "Error mounting /data!" and "Error mounting /cache!". Can you explain how to verify whick SD card is being used for backup/restore?
Click to expand...
Click to collapse
I run TWRP so this is by my phone's CWM:
Main CWM Screen
>Backup and Restore
>backup
>restore
>advanced restore
>backup to internal sdcard<<<<<try this
>restore from internal sdcard
>advanced restore from internal sdcard
>go back
Also under Mounts try /sdcard and /emmc
Don't format, just see if anything available for mounting CAN mount, or if they all fail. Also check Mount as USB storage for mounting or failing.
CWM by default uses sdcard, which is external. TWRP by default uses internal sd, however once toggled stays on external if you set it.
Then, one last thing to ask, and this is gonna get annoying I'm sure.
Go to Mounts
Select Mount /cache, /system /data /sdcard one more time each
Go back out to main menu, choose advanced
Select show log, and send what it says for each of those mounts. I mean if it says something past E can't mount /cache or whatever.
pio_masaki said:
I run TWRP so this is by my phone's CWM:
Main CWM Screen
>Backup and Restore
>backup
>restore
>advanced restore
>backup to internal sdcard<<<<<try this
>restore from internal sdcard
>advanced restore from internal sdcard
>go back
Also under Mounts try /sdcard and /emmc
Don't format, just see if anything available for mounting CAN mount, or if they all fail. Also check Mount as USB storage for mounting or failing.
CWM by default uses sdcard, which is external. TWRP by default uses internal sd, however once toggled stays on external if you set it.
Then, one last thing to ask, and this is gonna get annoying I'm sure.
Go to Mounts
Select Mount /cache, /system /data /sdcard one more time each
Go back out to main menu, choose advanced
Select show log, and send what it says for each of those mounts. I mean if it says something past E can't mount /cache or whatever.
Click to expand...
Click to collapse
So... On my tablet, after advanced restore, i have only Go Back. I can't mount USB Storage. It says: "E: Unable to open ums lunfile (no such file or directory)". After clicking get log it says "W: failed to mount /dev/block/mmcblk0p4 (No such file or directory)
E: can't mount /cache/recovery/log
E: can't open /cache/recovery/log
W: failed to mount /dev/block/mmcblk0p4 (No such file or directory)
E: can't mount /cache/recovery/last_log
E: can't open /cache/recovery/last_log
W: failed to mount /dev/block/mmcblk0p4 (No such file or directory)
W: can't unlink /cache/recovery/command
E: can't mount /cache/recovery/log
E: can't open /cache/recovery/log
E: can't mount /cache/recovery/last_log
E: can't open /cache/recovery/last_log"
I don't have emmc as a mount option.
I will try tomorrow the other solutions you will post, because I'm going to bed now. Thank you.

Bricked because of encryption?

Today I tried to install Cardinal-AOSP on my Lenovo P2. I had no problems during the installation but after booting for the first time I got "Encryption unsuccessful" with an option to "Reset phone" to perform a factory reset so I selected this option. Phone rebooted but i still got the same "Encryption unsuccessful" message.
This is where the trouble started because TWRP did not ask my the password (swipe pattern) anymore to decrypt like it did before.
I can't wipe /data and also not repair or change filesystem. The errors I get are;
"Could not mount /data and unable to find crypto footer." and a lot of "Failed to mount '/data' (Invalid argument)".
In TWRP under "Mount" I can't select Data anymore.
I also can't install OS roms (.zip sideloaded) anymore because of the /data partition.
So OS won't boot because of encrypted /Data and TWRP won't let me mound the /Data partition to make modifications.
I still have full access to ADB and fastboot so that is my last hope.
Is there any shell command I can still try? Manual data formatting? Or maybe an alternative recovery?
Update:
So far I have figured out that /dev/block/mmcblk0p56 is the data partition and that "fdisk -l /dev/block/mmcblk0p56" has "Disk /dev/block/mmcblk0p56 doesn't contain a valid partition table" as output.
/dev/block/mmcblk0p56 has an entry in /etc/fstab: "/dev/block/mmcblk0p56 /data f2fs rw 0 0"
"mount /dev/block/mmcblk0p56" gives "Invalid argument" as output and so does "mount -t f2fs /dev/block/mmcblk0p56 /data"
Is it possible that I need to re-format /dev/block/mmcblk0p56 to f2fs? And if so, how?

Categories

Resources