ARCHIVED: [Custom Recovery] Optimus S/ Thunderc-sprint

Status
Not open for further replies.
ok new to this so couple question! I rooted using Z4root so do i need to intall sdk tools? And can i enter these promts using terminal emulator?
 
when entering second command "cat /sdcard/flash_image > /system/bin/flash_image" i get invlaid length, any ideas?
 
when entering second command "cat /sdcard/flash_image > /system/bin/flash_image" i get invlaid length, any ideas?
According to the source code for "cat" that error is being spit out if there is any error reading the source file.

invalid length for cat : di4g.com

So basically you need to figure out why the source file can't be read properly.

You could also try putting flash_image in the same directory as adb.exe and doing (at the PC command prompt)

adb push flash_image /data/local/tmp/

Then you can substitute /data/local/tmp/flash_image in the instructions for /system/bin/flash_image

Off the top of my head, the only thing I can think of to explain the error is if you have the sdcard corruption problem. You could try taking the sdcard out and running "chkdsk /f" on your PC.
 
cannot find path specified

i am having trouble this this. i keep getting cannot find path. i unzipped both flash image and other file to root of sd and i still cant get it. please help. i am new to this and it took me a week just to root!
 
i am having trouble this this. i keep getting cannot find path. i unzipped both flash image and other file to root of sd and i still cant get it. please help. i am new to this and it took me a week just to root!

only flash_image gets unzipped, the other file needs to be in .zip or it wont work, dont fret it I forget this every time I install recovery, which isn't that often but that's beside the point...


edited to sound like less of a dick
 
i am having trouble this this. i keep getting cannot find path. i unzipped both flash image and other file to root of sd and i still cant get it. please help. i am new to this and it took me a week just to root!

hows this going, did you get it to work?
 
install-recovery.sh file not found

this file is not available as I can see on the sdcard unless we are renaming or moving it from another location. Is this another file that resulted from the extraction of the two files that were given or am I just missing it
 
this file is not available as I can see on the sdcard unless we are renaming or moving it from another location. Is this another file that resulted from the extraction of the two files that were given or am I just missing it

This has been noted and addressed many times in this thread, say as late as post 315. Search is your friend. As long as you are sure you have typed the command correctly, go on to the next step.
 
this file is not available as I can see on the sdcard unless we are renaming or moving it from another location. Is this another file that resulted from the extraction of the two files that were given or am I just missing it

Just press through and ignore that one which should be something like sh recovery or something. If flash_image or thunderc is the missing file you've got a problem
 
ok i type in adb shell..
i get $..
i type in su..
permission denied...someone help please!!!!!!
 
when i type in "cat /sdcard/flash_image > /system/bin/flash_image" i get "cannot create /system/bin/flash_image:read-only file system" someone help please! whats wrong?!??!
 
when i type in "cat /sdcard/flash_image > /system/bin/flash_image" i get "cannot create /system/bin/flash_image:read-only file system" someone help please! whats wrong?!??!
You need to fix your previous problem of "su" "permission denied"

Did you ever get the "#" prompt in adb shell?
 
You need to fix your previous problem of "su" "permission denied"

Did you ever get the "#" prompt in adb shell?

Yes, i finally got that down. Turns out i had to allow su on my phone :p... but im still having the same problem of getting cannot create.
 
ok forget my last post. now when i type "cat /sdcard/flash_image > /system/bin/flash_image" it says "/sdcard/flash_image:invalid length" whats wrong now??
 
Yes, i finally got that down. Turns out i had to allow su on my phone :p... but im still having the same problem of getting cannot create.

If you are doing this from the recovery, then you have to mount the system partition first.

try below command first, then continue.

mount /system
 
If you are doing this from the recovery, then you have to mount the system partition first.

try below command first, then continue.

mount /system

im doing it from adb shell. am i supposed to leave the zipped files in there or extract,then put them in?
 
im doing it from adb shell. am i supposed to leave the zipped files in there or extract,then put them in?

What is the stat of your phone? Is it booted up normally, or are you in recovery (Home + Vol- + Power)?

If you are in recovery, then you need to run the mount command before you can cat anything over to it.

If you are in normal android, then you need to remount the /system partition before you can write to it because it is mounted as read only

mount -o rw,remount /system
 
What is the stat of your phone? Is it booted up normally, or are you in recovery (Home + Vol- + Power)?

If you are in recovery, then you need to run the mount command before you can cat anything over to it.

If you are in normal android, then you need to remount the /system partition before you can write to it because it is mounted as read only

mount -o rw,remount /system

what do you get when you do

ls /sdard/flash_image

If the file does not exist, then yes, you have to unzip the file you go and put flash_image in the root of your sdcard
 
Status
Not open for further replies.

Trending Posts

Forum statistics

Threads
956,446
Messages
6,968,283
Members
3,163,548
Latest member
McChin