(explanation)what does your recovery has and what does it mean - Optimus One, P500, V General

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

Related

Rooting brand new optimus one becomes easy

This thread is an all in one recovery thread.
Prereqs:
1. You must have a rooted device
2. Adb setup on computer (terminal on phone can be used in place of adb but adb is preferred)
3. Phone charged 30% or greater is required to use nandroid.
Supported devices:
LG Ally (aloha)
LG Optimus S
LG Optimus V
LG Optimus M
LG Vortex
LG Chic (alessi)
LG Optimus P500, Optimus T P509 (thunderg)
HTC Droid Incredible See link here Xda
LG Shine Plus
Gz'One Commando (in testing)
Want to submit a new device see thread here : How to submit a new device for recovery creation
Recovery Features:
ADB as root user
USB-MS Toggle :mounts sdcard as mass storage
(dinc only) mount /Emmc
Backup/Restore:
Nand Backup : Select Items to backup with the [X]
Nand Restore : browse to and select nandroid backup to restore
As of 2.2.1 sd-ext is backed up as whole so link2sd users should work fine
Flash Zip From Sdcard: Update.zip must be in root of sdcard or you can directory browse. (Fixed dir-browsing)
Flash Zip From Emmc (Dinc only)
Toggle Signature Verify : Turn of signature checking on flashing zips
Wipe Menu:
Wipe data/factory reset: wipes all
Wipe cache
Wipe Dalvik cache : Wipes Dalvik cache in all possible locations if moved by apps2sd
Wipe SD:ext : Wipes Apps2sd ext partition
Wipe Battery Stats
Wipe rotate settings
Wipe data only
Wipe .android secure : Wipes froyo native .android_secure on sdcard
Partition Sdcard:
Partition SD: Partition's sdcard for apps2sd (this formats card so all non backed-up data is lost)
Repair Sd:ext
SD:ext2 to ext3 : coverts apps2sd ext2 partition to ext3
SD:ext3 to ext4 : same as above but ext3 to ext4 (requires kernel support for ext4 which all but shine have)
Mounts:
Gui mounts to avoid typing in terminal to mount and cd into a dir to mount system, data, cache, sd-ext (if exists), sdcard
Other:
Fix apk uid mismatches
Move recovery log to SD
Key Test : Output keycodes for debugging recovery
Wipe Sdcard
(Dinc only)
Format /data as ext3 | ext4 : format(reformat) /data between ext3,ext4. (This wipes /data also) Requires modification of init.inc.rc & and compatible rom kernel see dinc thread link above
I have included flash_eraseall binary to recovery which can be used to fix/erase corrupted partitions that will not mount correctly to nandroid restore to.
Useage from adb shell is : flash_eraseall /dev/mtd/mtd4 (where mtd4 is the number of the partition from "adb shell cat /proc/mtd" you want to erase)
Trouble Shooting:
1. Use option under Other menu to move recovery log to sd. Mount your sdcard to pc and read that file called recovery.log. It should have detailed cause of error.
2. If you get an out of memory error reboot device and do it on a fresh reboot.
3. If you get a file not found on the "mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak" skip it and move to the next step as this file will not be in your rom unless it has recieved an ota-update and if so needs to be disabled.
4. Permission denied means you are not root user (#)
5. If rebooting into recovery you get a little android guy with a ! and does not look like picture above you still have stock recovery and did not remove the install-recovery.sh.
6. You did check the md5sum for a match before flashing correct?
Please check all the above issues before posting. This is the format I request to be used for troubleshooting.
Device :
Recovery Version :
Error :
Please upload the recovery.log AS AN ATTACHMENT that you moved to sdcard and read. Posts without this log will be ignored!!!
Please no PM's!!!!!
Device system paths:
Ally: /dev/block/mtdblock4
Optimus M: /dev/block/mtdblock5
Vortex: /dev/block/mtdblock4
Optimus V: /dev/block/mtdblock5
Optimus S: /dev/block/mtdblock5
Optimus P500/Optimus T: /dev/block/mtdblock1
Chic: /dev/block/mtdblock1
Shine Plus: /dev/block/mtdblock1
Directions to flash recovery:
Download your device specific recovery and check md5sum for a match before flashing. Download flash_image.zip and unzip it to root of your sdcard. (Not in any folder)
Copy your devices recovery.img to root of sdcard.
Below can be done via adb shell or terminal emulator on phone via root # shell not a $ shell
Note do not type the # or $ as they are for reference only!
Code:
$ su
# mount -o remount,rw -t yaffs2 (your device /system path) /system
# cat /sdcard/flash_image > /system/bin/flash_image
# chmod 755 /system/bin/flash_image
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
# flash_image recovery /sdcard/(your device recovery.img name)
# sync
Example for LG Ally above would be:
mount -o remount,rw -t yaffs2 dev/block/mtdblock4 /system
Device specific recovery keys:
Key mapping for Optimus Line & Vortex:
Move up & down = Vol-up & Vol-down
Select = Menu
Backup = Back
Boot recovery from device off: Vol-down + Home + Power and release at LG logo.
Chic(alessi): Vol-up + Vol-down + Power
LG Ally & LG Shine Plus:
Move up & down = Up & down on sliding keyboard
Select = Enter on keyboard
Backup = Vol-down
Boot recovery Ally: Send + Menu + Power
Boot recovery Shine Plus: Vol-down + Home + Power
Adb reboot recovery can also be used to boot custom recovery on most devices.
WARNINGS:
Do not flash a radio.img
Do not factory reset your device via Android OS. Use wipe in recovery.
Source for recovery & recovery kernels My Github

CWM mounts and storage question.

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).

Increase data partition

I wish to repartition my internal card manually.
I think to do so :
- start in recovery
- mount my external card on which I have all the tools, such as gparted or rsync
- save the 2 partitions 10 (/data) and 11 (/sdcard0) with rsync on my EXT4 external card
- umount the 2 partitions
- repartition my internal card without touching the 12 (/preload)
- restore the 2 partitions saved
But I'am not sure with the "pit"

ext4 SD mount data not persistent across reboot

Hi,
Got this Desire Bravo with low internal memory so thought I should mount the app and data dirs to a ext4 partition on my SD card instead so I can install a lot of apps.
Followed this howto:
newton dot cx/~peter/2012/12/how-to-increase-app-space-with-a-partitioned-sd-card-on-an-htc-nexus-one-running-android-2-3-6-on-linux/
I found that my ext4 partition is mounted at boot time.
mount command gives the below:
/dev/block/mmcblk0p2 /mnt/sd-ext ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
I can copy the data to the ext4 partition without any problem using "cp -rlp /data/app /mnt/sd-ext/data" and "cp -rlp /data/data /mnt/sd-ext/data" .
I can see the data when doing a "ls /mnt/sd-ext/" - looks ok.
But after reboot the data is just gone - just dont get it. Grateful for any help for troubleshooting this.
Running ROM CM10.1_VJ_4.2.2_V6.3_May24 .
Thanks...
EDIT: installed S2E app (Simple2Ext) instead, which didnt work well, so tried Mount2SD instead and appears to be working OK.

unable to mount the Internal Storage, system, cache and data.

hello'
1- LG L3 stack on logo even after recovery.
I managed to install TWRP through SRKTOLLS2.1.
When I try to install a ROM ZIP file I'm having post:
unable to mount the Internal Storage, system, cache and data.
ADB interface device I manage to see the folders and system files.
*/ SDCARD is empty and there is no file.
/BOOT is empty and there is no file
/cache & /data folders contain folders in the name of lost + found,
/dev contains several directories,
/etc contains files: fstab, mtab, recovery.fstab and to more,
and the other system folders'
I can explorer them via TWRP file manager a and see the contents of folders, copy files or move files.
TNX :good:

Categories

Resources