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

Status
Not open for further replies.
I did do exactly what you said....and still got "invalid length" reply after the second post and then if I ignore that and just kept going (even though moving on is probably pointless) after the 3rd line of code I get a "/system/etc/install-recovery.sh - No such file or directory" in reply.

Extracted both files to root of SD. Fully rooted as far as I can tell (all root apps work flawlessly). Just not sure what is going on.
 
Kalex I did use the commands all from my phone I had no pc I used the terminal app in the market it looks like a old pc icon I will post the link for the page I used with the old recovery image also includes the download link for recovery image old one and flash file and all the commands I used just make sure you use the phone in landscape mode to avoid extra space that really aren't there

Sent From PrittyBoy203 Using The LG670 S
 
Make sure you could go into the recovery file once you download it to the phone and once in the file its self don't extract it just copy and paste the file that looks like a piece of paper to your root of sdcard cuz this has happen to me and not realizing it and I get the error of no such file directory

Sent From PrittyBoy203 Using The LG670 S
 
  • Like
Reactions: bullman2410
This is the exact page I always refure to when I need the commands

http://androidforums.com/getitnowmarketing/221382-custom-recovery-optimus-s-thunderc-sprint.html

Just copy and paste one by one when you enter the first command press enter after each one and do in landscape mode to insure a good copy and paste

Sent From PrittyBoy203 Using The LG670 S
 
Make sure you could go into the recovery file once you download it to the phone and once in the file its self don't extract it just copy and paste the file that looks like a piece of paper to your root of sdcard cuz this has happen to me and not realizing it and I get the error of no such file directory

Sent From PrittyBoy203 Using The LG670 S


Prittyboy203 I just wanted to thank you for your help. I went back to check and see if they were rooted properly, and I guess when I extracted the files in my root it opened the actual file into a folder. Quick fix and code worked perfectly. Thanks again to everyone for your help...
 
I have been trying to root my phone for hours now and can't seem to get this to work. I keep getting no such file or directory errors. I am not a noob and have rooted and put custom roms on my evo, htc hero, and mytouch.

I used the z4root way of rooting and this is either the issue or maybe I am not quite getting the directions. The zip files on the front page do not say to unzip and say to just put on the memory card. Is this correct?

I also want to add that when I downloaded the sdk, the adb file was not in the tools folder. I opened up sdk manager and it tried to download some files. When it was done, it ended up putting adb in the platform-tools folder. I don't remember having to do this extra step for the last sdk I used for my evo. Am I missing something?
 
I have been trying to root my phone for hours now and can't seem to get this to work. I keep getting no such file or directory errors. I am not a noob and have rooted and put custom roms on my evo, htc hero, and mytouch.

I used the z4root way of rooting and this is either the issue or there is a issue with the directions. The zip files on the front page do not say to unzip and say to just put on the memory card. Is this correct?

I also want to add that when I downloaded the sdk, the adb file was not in the tools folder. I opened up sdk manager and it tried to download some files. When it was done, it ended up putting adb in the platform-tools folder. I don't remember having to do this extra step for the last sdk I used for my evo.

You need to unzip.

Command push = .img file
What you downloaded = .zip file

.img file is inside the .zip file
 
  • Like
Reactions: Droid-One
You need to unzip.

Command push = .img file
What you downloaded = .zip file

.img file is inside the .zip file

I tried that and still keep getting the same error. I unzipped the flash_update and the recovery img and put them on the root.

mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
This is the line that is giving me the error
no such file or directory
 
I tried that and still keep getting the same error. I unzipped the flash_update and the recovery img and put them on the root.

mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
This is the line that is giving me the error
no such file or directory

That's an OK error to get - just continue with the remaining steps. The first time you ran that step, it renamed the install-recovery.sh file to install-recovery.sh.bak (a backup file). Every other time you run that step, it will say that it can't find install-recovery.sh because you have already renamed it.
 
  • Like
Reactions: Droid-One
Thanks for the quick answers guys. I just got recovery to show. Now off to flashing the rom. Thanks again.
 
That's an OK error to get - just continue with the remaining steps. The first time you ran that step, it renamed the install-recovery.sh file to install-recovery.sh.bak (a backup file). Every other time you run that step, it will say that it can't find install-recovery.sh because you have already renamed it.

For some reason, some people get that message even the first time around. I did.
 
For some reason, some people get that message even the first time around. I did.

That's strange...I did not know that. I just figured since he said he had been at it for a while that he had already passed that step a time or twelve.
 
That's strange...I did not know that. I just figured since he said he had been at it for a while that he had already passed that step a time or twelve.

Yeah, I was terrified it would screw me, in spite of assurances in this thread to skip the step, so I downloaded no less than 3 file managers and went manually searching for the file to make SURE it didn't exist. I was afraid if it did exist and the command wasn't working somehow, I'd get stuck in one of those infinite reboot cycles.

In the end, never found the file, ignored the step, persevered, and it all worked fine.
 
Just read thru the thread and it seems I've come across a new one. I'm definitely rooted (that went fairly easily - will post my roadbumps for others to reference a little later), I have the # when accessing the adb shell (superuser app doesn't ask for adb shell permission on the phone though. I get the same install-recovery.sh - no such file error but no big deal, however I'm getting one I can't get past:

# flash_image recovery /sdcard/recovery-RA-GNM-thunderc-s-1.1.0.img
flash_image recovery /sdcard/recovery-RA-GNM-thunderc-s-1.1.0.img
flash_image: permission denied

Full log:
Code:
C:\android\android-sdk-windows\platform-tools>adb shell
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
# cat /sdcard/flash_image > /system/bin/flash_image
cat /sdcard/flash_image > /system/bin/flash_image
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
failed on '/system/etc/install-recovery.sh' - No such file or directory
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
failed on '/system/etc/install-recovery.sh' - No such file or directory
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
# flash_image recovery /sdcard/recovery-RA-GNM-thunderc-s-1.1.0.img
flash_image recovery /sdcard/recovery-RA-GNM-thunderc-s-1.1.0.img
flash_image: permission denied

Any suggestions?
 
Finally got mine as well.

MISTAKES I MADE: DONT REPEAT MY MISTAKES

1. Put both files on the root of your SD card.
flash_image should be there
recovery.img should be there.

2. Don't copy the # signs when you copy line for line into your adb shell.

Thanks guys!
 
  • Like
Reactions: irfan
Bullman2410 no probblem glad everything worked for ya in the end if you feel you have got the steps down you can and you dont have to but you update the recovery image if you didnt already to the 1.2 recovery but I like it but you dont need to great job and enjoy roming out your phone lol

Sent From PrittyBoy203 Using LS670
 
cmags:
# flash_image recovery /sdcard/recovery-RA-GNM-thunderc-s-1.1.0.img
flash_image recovery /sdcard/recovery-RA-GNM-thunderc-s-1.1.0.img
flash_image: permission denied


I am having this same exact issue.... please help :)
 
Status
Not open for further replies.

Latest posts

Trending Posts

Forum statistics

Threads
956,604
Messages
6,969,138
Members
3,163,585
Latest member
zolepso1