Need some help with the custom recovery

Aug 11, 2011
12
0
0
alright so i finally got my lg optimus s rooted thanks to the gingntersnap root utility. now been working on the custom recovery. i have been using the android terminal emulator cause im on mac and not to familiar with the terminal on my it yet. soo.. i type su and get superuser permission. then i get the # i type the

mount -o rw,remount /dev/block/mtdblock3 /system

it tells me

usage: mount [-r] [-w] [-o options] [-t type] device directory

with another #. i then type

cat /sdcard/flash_image > /system/bin/flash_image

and get this,

cannot create system bin flash_image read-only file system

i have quadruple checked my sd card and both the recovery.img and the flash_image are on there and are correctly named according to path. i check info on image_flash and it is set to read and write. ive tried like 20 times with the same conclusion. i have tried multiple mirrors and sites for the flash_image for lg optimus s in hopes that my download corrupted. still no luck, i did however notice a couple of the flash_image files are diffrent sizes. i have tried a 29kb, 30kb and 33kbs. not sure if it has anything to do with anything, just somethiing i noticed. sorry for opening another thread about this but ive read about everything on this forum and nothing seems to work. thanks guys.
 
Does your phone accept any other commands from the adb?

Sent from an Optimus CM7.1ex_iho_drew
 
alright so i finally got my lg optimus s rooted thanks to the gingntersnap root utility. now been working on the custom recovery. i have been using the android terminal emulator cause im on mac and not to familiar with the terminal on my it yet. soo.. i type su and get superuser permission. then i get the # i type the

mount -o rw,remount /dev/block/mtdblock3 /system

it tells me

usage: mount [-r] [-w] [-o options] [-t type] device directory

with another #. i then type

cat /sdcard/flash_image > /system/bin/flash_image

and get this,

cannot create system bin flash_image read-only file system

i have quadruple checked my sd card and both the recovery.img and the flash_image are on there and are correctly named according to path. i check info on image_flash and it is set to read and write. ive tried like 20 times with the same conclusion. i have tried multiple mirrors and sites for the flash_image for lg optimus s in hopes that my download corrupted. still no luck, i did however notice a couple of the flash_image files are diffrent sizes. i have tried a 29kb, 30kb and 33kbs. not sure if it has anything to do with anything, just somethiing i noticed. sorry for opening another thread about this but ive read about everything on this forum and nothing seems to work. thanks guys.
Only use the flash image from the recovery you are trying to flash. (side note: you should use Xionia) And, make sure you unzip the file and place it on the root of the sdcard...
 
umm.. isn't adb used from the computer? im using the terminal emulator. but if thats also what its called then i don't know. the first command takes. i haven't tried any others cause i can only get past the first command prompt. you have any meaningless commands to try?
 
umm.. isn't adb used from the computer? im using the terminal emulator. but if thats also what its called then i don't know. the first command takes. i haven't tried any others cause i can only get past the first command prompt. you have any meaningless commands to try?

yeah, you need to use adb... you should have all the drivers installed on your computer before plugging your phone into the computer. as well as java jdk and android sdk...

EDIT: Read any of this for reference: http://forums.androidcentral.com/lg...optimus-s-recoveries-roms-kernels-themes.html
 
Only use the flash image from the recovery you are trying to flash. (side note: you should use Xionia) And, make sure you unzip the file and place it on the root of the sdcard...

dont quite understand this is there some sort of image on my phone already? if so where would i find it, and i am using Xionia, like i said i read tons of threads and 9 times outta 10 that what people use, so thats what i chose to use as well.
 
dont quite understand this is there some sort of image on my phone already? if so where would i find it, and i am using Xionia, like i said i read tons of threads and 9 times outta 10 that what people use, so thats what i chose to use as well.

ok so forget terminal emulator and do it on the computer?

yes, and the flash_image.zip needs to be unzipped... it's a zip file that you downloaded and must use winrar or winzip to unzip it and you should have a file with not extension ie flash_image leftover
 
yes, and the flash_image.zip needs to be unzipped... it's a zip file that you downloaded and must use winrar or winzip to unzip it and you should have a file with not extension ie flash_image leftover

Haha, yea i unzipped it, okay if im going back to mac terminal maybe you can help me with something there as well. in my sdk tools there is no adb. instead is a readme file saying something about platform-tools. I back out of tools and go to platforms and the folder is empty. any ideas?
 
Haha, yea i unzipped it, okay if im going back to mac terminal maybe you can help me with something there as well. in my sdk tools there is no adb. instead is a readme file saying something about platform-tools. I back out of tools and go to platforms and the folder is empty. any ideas?

You have to get Android SDK with the appropriate system files first.

EDIT:http://developer.android.com/sdk/installing.html
This is all stuff that's said in the writeups and tutorials...
 
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /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
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
# flash_image recovery /sdcard/xionia_cwma_12518.6.img
# reboot recovery

Note:
If you receive this error:
failed on '/system/etc/install-recovery.sh' - No such file or directory
Then ignore it and keep going, it means the file is already backed up or deleted, and your recovery will not be erased by LG.
 
I use clockwork mod 3.2.0.1 and I know everyone says not too but I've flashed ath3nos rom three times and drew's about six times with no problems. It had worked flawlessly for me Idk about other people but for me its fine.

sent from my Cyanogen Optimus
 
I use clockwork mod 3.2.0.1 and I know everyone says not too but I've flashed ath3nos rom three times and drew's about six times with no problems. It had worked flawlessly for me Idk about other people but for me its fine.

sent from my Cyanogen Optimus

Yeah, it seems to work, but he still needs to be able to load it using adb shell... Thanks for the suggestion. I was actually considering using it, but don't want my home and settings key to be swapped... :(
 
and thats exactly my hold up now.. this adb shell. got my tools, apparently snow leopard came stock with java jdk, (one less headache). but cant figure out this adb shell now.
 
I installed mine using rom manager then I uninstalled the app. I've been using it for about 6 weeks with no issues.

sent from my Cyanogen Optimus
 

Trending Posts

Members online

Forum statistics

Threads
956,349
Messages
6,967,724
Members
3,163,517
Latest member
amaka