CWM mounts and storage, what should be mounted or unmounted and what does it mean?
Mounted partition -> read/write permissions (RW)
Unmounted partition -> read only (RO)
Each partition is mounted automatically if needed (updater-script controls it).
Related
Amon_Ra's Recovery
Reboot system now :: Self explanatory.
Reboots device
USB-MS toggle :: USB Mass Storage.
Mounts the SD card
Backup/Restore (See NANDroid backups
for more information)
Nand backup :: Creates a backup of /
system, /data, /boot, /cache, and /
sdcard/.android_secure (on SD card)
Nand + ext backup :: Creates a Nand
backup plus /sd-ext ( apps2SD) (on SD
card)
Nand restore :: Restores a backup (from
SD card)
Backup Google proprietary system files ::
Creates a backup of gapps
Restore Google proprietary system files ::
Restores a backup of gapps
Flash zip from sdcard :: Flash (install) a
properly formated .zip file
Wipe
Wipe ALL userdata :: wipes /data, /
cache, /sd-ext, and /
sdcard/ .android_secure
Wipe only /data :: wipes /data (user
data)
Wipe only /sd-ext :: wipes /sd-ext
(traditionally Apps2SD)
Wipe only /sdcard/ .android_secure ::
wipes /sdcard/ .android_secure (froyo
Apps2SD)
Wipe only /cache :: wipes /cache
(sometimes used as temp storage for
updates, etc)
Wipe only Dalvik-cache :: wipes /data/
dalvik-cache
Wipe only battery stats :: wipes battery
usages stats
Wipe only rotate settings :: wipes
rotation (accelerometer) data
Partition sdcard
Partition SD :: Starts a wizard to
partition the SD card
Repair SD:ext :: attempts to repair the /
sd-ext partition
SD: ext2 to ext3 :: converts /sd-ext from
ext2 to ext3
SD: ext3 to ext4 :: converts /sd-ext from
ext3 to ext4
Mounts
Mount/Unmount /system :: Mounts or
Unmounts the /system partition
Mount/Unmount /cache :: Mounts or
Unmounts the /cache partition
Mount/Unmount /data :: Mounts or
Unmounts the /data partition
Mount/Unmount /sd-ext :: Mounts or
Unmounts the /sd-ext partition
Mount/Unmount /sdcard :: Mounts or
Unmounts the SD card
Other
Fix apk uid mismatches :: Attempts to fix
the apks permissions
Move recovery.log to SD :: moves
recovery.log to the SD card
Toggle Signature Verify :: Turns
Signature Verification on/off, allowing
you to flash unsigned .zip files
Power off :: Self explanatory
CLOCKWORK MOD
reboot system now
apply update from sdcard :: Installs the
update.zip located in the root of your SD
card
wipe data/factory reset :: Obvious -
clears everything (except your SD card,
hopefully)
wipe cache partition :: erases and
formats /cache
install zip from sdcard
apply /sdcard/update.zip :: Installs the
update.zip located in the root of your SD
card
choose zip from sdcard :: Lets you
browse for and pick the update or
installation zip file
toggle signature verification :: Turns zip
package signature requirement on/off
toggle script asserts
backup and restore
backup :: Performs a full backup (boot,
system, data, cache)
'restore :: Restores the most recent full
backup
advanced restore :: Allows you to select a
backup, as well as select what part of the
backup to restore (boot, system, data,
cache, sd-ext)
mounts and storage
unmount /cache
mount /data
unmount /sdcard
mount /system
mount /sd-ext
format /cache
format /data
format /sdcard
format /system
format /sd-ext
mount USB storage
advanced
Reboot Recovery
Wipe Dalvik Cache
Wipe Battery Stats
Report Error :: Creates recovery.log in /
sdcard/clockworkmod/ so you can use it
to sumbit error reports using ROM
Manager
Key Test :: Allows you to test your
hardware keys on the device
Partition SD Card :: Allows you to create
an ext partition on your SD card from
128M to 4096M
Fix Permissions :: Resets system
permissions back to their default values
power off
Control files
when placed at /sdcard/clockworkmod/
These files alter clockworkmod default
behavior *use with caution*
options for response fields
.no_confirm
.one_confirm
options for taskbars
.hidenandroidprogress
source - cyanogenmod
for some terms in clockwork like mount refer to amonra they both are the same
is there anyway to mount the real sdcard to /sdcard?
i tried to edit the vold.fstab, but it just bootloop on the animation.
http://forum.xda-developers.com/showpost.php?p=23347641&postcount=14
he is mounting to "/mnt/sdcard" while i used "/sdcard"
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
where should it be mount to or is it because of different phone?
sams-roots said:
is there anyway to mount the real sdcard to /sdcard?
i tried to edit the vold.fstab, but it just bootloop on the animation.
http://forum.xda-developers.com/showpost.php?p=23347641&postcount=14
he is mounting to "/mnt/sdcard" while i used "/sdcard"
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
where should it be mount to or is it because of different phone?
Click to expand...
Click to collapse
/sdcard is normally a symbolic link pointing to /storage/emulated/legacy
There's an internal "sdcard" that normally gets mounted onto /mnt/shell/legacy from /init.qcom.rc - that's symlinked to /storage/emulated/legacy in that same file. It also appears to start up a daemon that re-mounts the internal "sdcard".
What are you trying to do? Normally the external SDcard is mounted to /mnt/extSdCard, so you should just store data there rather than /sdcard.
(Or /mnt/sdcard, /mnt/shell/legacy, /storage/emulated/legacy, or any of the other things simlinked to the internal sdcard.)
I tried to install Link2SD in Micromax A58 as the internal storage is very low and need to install some more apps. Already rooted and installed Link2SD to use the ext4 2nd partition of my 8 GB SD card. After trying with all possible ways, couldn't get it worked. All the time it was showing error--
"Mount Script can not be created. Mount: No such file or directory"
Previously even the 2nd partition was not shown as mounted in the storage info of Link2SD but after modifying the install-recovery.sh in /etc path, the storage info now atleast showing the 2nd partition as mounted. My install-recovery.sh looks like below--
#!/system/bin/sh
/system/xbin/daemonsu --auto-daemon &
/system/etc/install-recovery-2.sh
mount -t ext4 -o rw /dev/block/mmcblk0p2 /data/sdext2
mount -t ext4 -o rw /dev/block/vold/179:2 /data/sdext2
Now, the problems are as below--
1) Installed multiple applications but none of them are actually linked to SDcard. The Link2SD shows them as 'On SD Card' and just after installing 9-10 small applications, the internal memory is now full. If I go to 'Create Link', it is giving error '/data/sdext2 mount not found'.
2) When try to recreate mount script and choosing 'ext4' as parameter, it still throws error
"Mount Script can not be created. Mount: No such file or directory"
It seems that even though the storage info shows the 2nd partition as mounted, but system couldn't identify it somehow. So, Link2Sd is not working at all.
Please help and advice further. Thanks a lot.
I've partitioned my sdcard with minitool and now I'm trying to edit vold.fstab to mount the second partition but I'm getting nowhere.
This is the line that mounts the first partition:
Code:
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/mtk-sd.1/mmc_host
This works unless I change auto to 1 which then tells me my sdcard is damaged.
The line for the second partition is based on this:
Code:
dev_mount sdcard /mnt/sdcard/sdcard auto /devices/platform/mtk-sd.1/mmc_host
I created a mount point on the internal storage for now. I've changing the mtk-sd.? number and auto but nothing's working.
Any ideas? Where can I find the correct device pathname? And why don't explicit partition numbers work for me?
How the heck do I mount my ext2 partition?
I have an lg stylo (t-mobile) rooted
My system dirs are all under various mmcblk0p#s
My ext sd is either mounted under mmcblk1 mmcblk1p1 or mounted via mount device by name script
All I want to do is get my ext2 partition mounted and visible.
Any help would be highly appreciated.