[Q] stock/clockwork mod Recovery question - Vibrant Q&A, Help & Troubleshooting

I had a mt3g and was always able to get to recovery manually. I recently bought a vibrant, rooted using adb, installed clockwork mod recovery, and did a nandroid. I am unable to get recovery manually. Ive tried every combo of vol^ volv that I could find on these posts. Im ready to start having fun, but am worried for this reason. Any help would be appreciated. Heres my question.
If I start flashing, and my phone gets stuck (vibrant screen, galaxy screen, bootloop, etc.), is there any way I can get recovery without having to do it manually? Would I be able to reboot recovery with adb without mounting? Is there's any other way?
Also, if there is a way, how do I get into clockwork mod recovery so I can restore with nadroid? Would I have to have clockworkmod update zip on my sd and reinstall packages thru stock recovery first? Thank you for any help. Im lost!

make sure you have your clockwork recovery on the root of the internal memory and have it named update.zip
open terminal or command prompt and type adb shell. you will get $ type su to get # type reboot recovery then when in samsung recovery select reinstall packages and you will be in clockwork.

Ok, so I can do this on the computer even though the phone can't be mounted? It will recognize the devise and reboot anyway? Sorry, I'm new to adb.

Related

How to flash_image Amon RA's recovery

i have had problems with Rom manager not flashing recovery correct leaving me with no recovery. so i had to manually flash recovery following these steps exact. I have personally bricked 2 ERIS phones lucky me.The first i thoought it was just something i did, lucky i had another to replace it...(the second BRICK eris).
So here is a solution to keep from having a BRICK
USE Amon RA's Recovery PERIOD.
credit to northmendo @droidforums
1. download flash_image Here Updated Link 3/17/10
2. Open the terminal and copy and paste the following commands.
adb shell [hit enter]
su [hit enter]
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system [hit enter]
3. In a new terminal window (don't close the original one).
adb push flash_image /system/bin [hit enter]
exit [hit enter]
4. Now in the original terminal window
chmod 755 /system/bin/flash_image [hit enter]
5. Now exit all termainl windows and reboot your phone.
6. Download
Amon_RA's recovery Here.
7. Mount your phones sd card and drop recovery-RA-eris-v1.6.2.img on to it and eject
your phone.
8. Open the Terminal and copy and paste the following commands with the phone connected
to your computer.
8. adb shell [hit enter]
9. su [hit enter]
10. flash_image recovery /sdcard/recovery-RA-eris-v1.6.2.img
11. To get into recovery turn off you phone and hold the Volume Up + Power until it boots into recovery.
That's it.
ROM Manager and Clockwork recovery does not work for the Eris.
ROM Manager and Clockwork recovery does not work for the Eris (as far as I know).
Edit: Oops, sorry for the double post.
I currently have the clockwork recovery installed on my eris, can I just download amon's recovery image and install it to switch to it? Or do I have to uninstall clockwork recovery and then install amon's?
trishuhh said:
I currently have the clockwork recovery installed on my eris, can I just download amon's recovery image and install it to switch to it? Or do I have to uninstall clockwork recovery and then install amon's?
Click to expand...
Click to collapse
try to flash it from rom manager,(under other recoveries) if Rom manager has worked for you with no problems. if it doesnt work follow instructions as listed in 1st post
I wouldn't use clockwork recovery, it messed up my installation to the point i couldn't flash any rom or restore any nand. When i would try to flash anything it would fail, It failed when i tried to use the root rom....After I tried flashing root rom i had a nice looking brick on my desk....(I even changed back to RA but Clockwork had messed up my phone so bad that RA didn't even work either....
YOU HAVE BEEN WARNED!!!!!
Yeah, use Amon's. It does every job you need, and is 100% stable and reliable.
t2noob said:
I wouldn't use clockwork recovery, it messed up my installation to the point i couldn't flash any rom or restore any nand. When i would try to flash anything it would fail, It failed when i tried to use the root rom....After I tried flashing root rom i had a nice looking brick on my desk....(I even changed back to RA but Clockwork had messed up my phone so bad that RA didn't even work either....
YOU HAVE BEEN WARNED!!!!!
Click to expand...
Click to collapse
yea you beat me too it, , i only used it because i had it for my DROID and thought maybe devs would try to add it to the list on rom manager.
ok, obviously a bit of an amateur here, how do you know which recovery image you have, i installed amon's, but i'm not sure if clockwork made it to my phone somehow, thinking about unrooting soon, that's why i ask, thanks.
jrhoades858 said:
ok, obviously a bit of an amateur here, how do you know which recovery image you have, i installed amon's, but i'm not sure if clockwork made it to my phone somehow, thinking about unrooting soon, that's why i ask, thanks.
Click to expand...
Click to collapse
reboot into recovery and read the bottom
Ok Please help a newbie out here im losing my mind. I downloaded flash, plugged phone into mac and set phone to debugging and mounted. Opened terminal from utilities on Mac. When I enter adb shell it says "command not found" if I try using ./ before adb as suggested on another forum for macs when i enter su it asks for password? Any how please help a brother out. Thanks
I flashed amons ras recovery from my phone it was easier for me I didn't use rom manger or terminal emulater
Sent from my FroyoEris using XDA App
Can someone help me get rid of clockwork recovery it showed up after I flashed a rom. How do you flash Amons recovery?
tkryan said:
Can someone help me get rid of clockwork recovery it showed up after I flashed a rom. How do you flash Amons recovery?
Click to expand...
Click to collapse
You do exactly what the first post says
Sent from my Eris
ufccowboyfan said:
Ok Please help a newbie out here im losing my mind. I downloaded flash, plugged phone into mac and set phone to debugging and mounted. Opened terminal from utilities on Mac. When I enter adb shell it says "command not found" if I try using ./ before adb as suggested on another forum for macs when i enter su it asks for password? Any how please help a brother out. Thanks
Click to expand...
Click to collapse
When you are doing this, are you in the correct directory? For example, my SDK is installed in /android , so first I would:
cd /android/tools
then
./adb shell
could someone help me with this. i really need to get the stock recovery image on my eris and im alittle noobie at this stuff. if any one could help id be sooooo happy
I'm not sure how to flash amons on a mac. I know for windows you put the recovery.img in the sdk tools folder, boot into fastboot and type
Fastboot flash recovery recovery.img
To get stock recovery (I assume you want your phone back to stock) then flash the official ruu. Will return your phone to 100% stock. You can find it on a sticky in the Eris general forums I believe.
Sent from my Eris using XDA App
I'm not sure on a mac, but on Windows you put the img in the tools folder of your sdk, boot into fastboot and type in adb:
Fastboot flash recovery recovery.img
To get stock recovery back, simply flash the official ruu found on a sticky in the Eris general forums I believe. Flashing the ruu will unroot your phone.
Sent from my Eris using XDA App
I installed Amon Ra as part of the root for leakers instructions some time ago. -- Is there a new version out? (Search was surprisingly not helpful) And what is the best way to update recovery?
Slugdoc said:
I installed Amon Ra as part of the root for leakers instructions some time ago. -- Is there a new version out? (Search was surprisingly not helpful) And what is the best way to update recovery?
Click to expand...
Click to collapse
There is no new version out; the first version (v1.6.2) is the only one that Amon_RA published.
IF there was a new version, you could flash it by using adb with the existing Amon_RA. You don't even need to push a version of "flash_image" to the phone, because it is already in /sbin in Amon_RA recovery. Just get the recovery image to your SD card, start an interactive shell (adb shell), and then
flash_image recovery /sdcard/<wherever-you-put-it>/recovery-RA-eris-v1.6.2.img
Yes, you can "flash a recovery partition by using the recovery" - because when you are interacting with it (the recovery boot), it lives entirely in a ramdisk.
The second easiest way is to have the engineering bootloader (1.49.2000 S-OFF) installed on your phone, and flash it with fastboot from the PC, as in
fastboot flash recovery recovery-RA-eris-v1.6.2.img
Note that neither of these two methods perform any integrity checks on the recovery image file that the normal "Flash .zip from sdcard" ROM installation method does. Therefore, it is imperative that someone using these methods is extremely diligent in cross-checking image MD5 signatures after it has been transferred to the SD card. Amon_RA also has the "md5sum" utility built into it's shell, BTW.
I mention this last point as a warning to newbs - they seem to routinely corrupt files when they transfer them to the SD card. (I suppose they are not using the "safely remove hardware" controls correctly, or they are getting truncated downloads).
bftb0

[flash mistake] I flashed my recovery with wrong image... (SOLVED)

Hello all!
I post this message to ask a little help as I made a very stupid mistake!
I already posted my issue in the Amon-RA recovery thread but I tried different solutions and nothing works :'''((( Help !!!!
I run a Modaco Custom Rom 3.0 and I had Amon RA recovery version 1.5.2.
I decided to upgrade to 1.6.2.
Well, you know... when it's the third time you install a recovery, you don't pay as much attention as you do the first time ... and I stupidily downloaded and installed the recovery of "Hero SPRINT"... and I owe a "Hero NOT SPRINT" of course.
Good new : my phone can load the ROM normally (hallelujah)
Bad new : of course, recovery menu can't be loaded anymore.
So, before I tried this method :
via fastboot + adb -> In case you don't have a custom recovery, so when you get signature fail errors
Code:
adb shell reboot bootloader
fastboot boot recovery-RA-hero-v1.6.2.img
adb shell mount /sdcard
adb push recovery-RA-hero-v1.6.2.img /sdcard/recovery-RA-hero-v1.6.2.img
adb shell flash_image recovery /sdcard/recovery-RA-hero-v1.6.2.img
adb shell reboot
But the second command fails (fastboot)... not allow.
Then, I tried the Flashrec solution (the one I used to root my phone the first time).
Backup of recovery or flashing recovery both fail with Flashrec.
Additional info : Formating the SDCARD via my phone doesn't work ... it's a Modaco bug, i'm not the only one in this case... so I can't format sdcard via my phone.
Seriously guys, I have a rooted custom ROM, there should be a way to get my recovery back :-(
Please please, don't ask me to try gold card... first step is formatting the sdcard via Hero... and I can't even do it.
Many many thanks for people trying to help me!
Don't take my post as being a solution because I'm a noob, but can't you flash the stock ROM off the Hero website and root it again?
Temet79 said:
Hello all!
I post this message to ask a little help as I made a very stupid mistake!
I already posted my issue in the Amon-RA recovery thread but I tried different solutions and nothing works :'''((( Help !!!!
I run a Modaco Custom Rom 3.0 and I had Amon RA recovery version 1.5.2.
I decided to upgrade to 1.6.2.
Well, you know... when it's the third time you install a recovery, you don't pay as much attention as you do the first time ... and I stupidily downloaded and installed the recovery of "Hero SPRINT"... and I owe a "Hero NOT SPRINT" of course.
Good new : my phone can load the ROM normally (hallelujah)
Bad new : of course, recovery menu can't be loaded anymore.
So, before I tried this method :
via fastboot + adb -> In case you don't have a custom recovery, so when you get signature fail errors
Code:
adb shell reboot bootloader
fastboot boot recovery-RA-hero-v1.6.2.img
adb shell mount /sdcard
adb push recovery-RA-hero-v1.6.2.img /sdcard/recovery-RA-hero-v1.6.2.img
adb shell flash_image recovery /sdcard/recovery-RA-hero-v1.6.2.img
adb shell reboot
But the second command fails (fastboot)... not allow.
Then, I tried the Flashrec solution (the one I used to root my phone the first time).
Backup of recovery or flashing recovery both fail with Flashrec.
Additional info : Formating the SDCARD via my phone doesn't work ... it's a Modaco bug, i'm not the only one in this case... so I can't format sdcard via my phone.
Seriously guys, I have a rooted custom ROM, there should be a way to get my recovery back :-(
Please please, don't ask me to try gold card... first step is formatting the sdcard via Hero... and I can't even do it.
Many many thanks for people trying to help me!
Click to expand...
Click to collapse
Hmm. Right. You're in a pickle here. Locked bootloader is a nuisance.
Put the SD card into the computer via memory card reader.
BACKUP CONTENTS BEFORE PROCEEDING. Now format card as FAT32 via computer card reader. Then follow the goldcard guide (there's a copy at http://www.villainrom.co.uk/viewtopic.php?f=46&t=375 or on the site here, but I dunno where it is as it's buried off front page I think)
So get your CID, do the usual stuff with making img, and put it onto card as usual. This should get you goldcard.
Then use card to downgrade to the old RUU, and root back from there
HTH
Ok guys, got it back this night, fully recovered at 3 AM!
Here's the story... with nearly all the possible issues you can encounter in the same case.
I first checked on which ROM Modaco 3.0 is based : 2.73.405.66 ... so that explains why I couldn't use Flashrec directly.
So, I started the Gold Card procedure.
As specified, I can't format via my Hero. Android beeing based on Linux, I decided to format a SD card via Linux (I'm a linux user ...), but I don't know if it changed something or not.
I could create the Gold Card.
Once I had my Gold Card, I downloaded Titanium Backup, made a donation and waited for my license to arrive.
I did a full backup.
Then, for downgrading, you need to use HTCsync. Good... oh, right, I removed it from my Modaco ROM!. So, unzip the Modaco ROM 3.0, get the PCSCII.apk and "adb push" it back on the "/system/app" folder.
Then, ok, launch HTCsync on the computer, and finally on the phone. Oh, my phone doesn't detect HTCsync on my PC!.
Aaaallllll riiiight !!! Uninstall my HTCsync, download last version, reinstall... and it worked!
Then, downgrade... and the Flashrec story went OK, so I got my recovery back. Once I have the recovery, my Hero is more or less saved. I upgraded back to the same Modaco 3.0 because I wanted to restore the whole Titanium Backup without versions issue. This did perfectly the trick! The only thing I had to reconfigure is my standby wallpaper!!!! Awesome tool !
My phone is happy, I am too... but hey, I woke up at 11:30 this ""morning""...
Maybe this will help another guy one day...

[Q] How to get into Clockwork Via ADB

Something happened to my Vibrant. Upon a reboot, it stays on the Vibrant screen. I can use the computer to run the command adb reboot recovery, and it would bring me to the regular recovery menu. Is there a way to adb into clockwork since my phone wouldn't boot up fully?
If you still have the recovery update.zip on your sd, you can reapply it from the stock recovery and get into it that way.
Thanks I ended up trying that. I recovered into my first nandroid backup but it's still stuck on the Vibrant bootup screen =(. Any ideas? All I did was I installed BusyBox to install the lagfix in Vibrant7, then ran
adb shell
su
mv /system/bin/userinit.sh /system/bin/used
reboot
You may try doing that again, and then wipe the phone and cache and them restore again. There may be something hung up.
thank you.
thanks! renaming the clockwork recovery zip to "update.zip" and applying it from factory recovery got me back up and running as well.
E:Missing bitmap indeterminate
blah blah
connect your phone to your computer make sure it is if your computer makes that usb connect sound
then use your cmd promt
type: adb reboot bootloader
your phone should then reboot to normal then DELETE "disable lagfix" file in the VOODOO folder
that should work.

Recovery Image Messed Up..Launcher Crash..help please!

My recovery image seems to be messed up since I can't boot into it. My phone will boot but everytime it does ADW crashes over and over not allowing me to do anything. What can I do to go about getting the recovery fixed again and reflashing to try to smooth everything out?
*Edit*.I think I may have thought of a work around. I emailed my self the launcherpro.apk and installed it through gmail. Now I can access my phone. Now I just need to flash a working recovery..
I do appreciate your help though Riley.
You can try downloading ADW Launcher, putting it on your SD card and boot from recovery, then flash the launcher. It is a far shot, but if launcher is the only problem, maybe reflashing it will do the trick.
** EDIT ** My apologies. I misunderstood. I thought you were referring to a corrupted recovery image that you had made of your ROM!
You say you can't boot into recovery/ what's your phone do or say when trying to boo4 in recovery? You may have to push new recovery image via fastboot.
CGriffiths86 said:
My recovery image seems to be messed up since I can't boot into it. My phone will boot but everytime it does ADW crashes over and over not allowing me to do anything. What can I do to go about getting the recovery fixed again and reflashing to try to smooth everything out?
Click to expand...
Click to collapse
If you have USB debugging turned on you can flash Amon_RA via an adb shell using the flash_image tool - exactly the way the original Eris rooting process worked. With your phone looping, it will run very slowly, but will still succeed.
If you have the S-OFF bootloader installed, you can flash the recovery with fastboot.
I'll have an XDA admin move this thread to the Q&A forum.
Ok guys..I got launcher pro installed so I can actually access my phone now. I attempted to Flash a recovery with Rom Manager and it says it succeeds but it will never boot into it. I do have the bootloader with the "off". Is there a market app or something that can easily flash the recovery? I only ask because I am not at my PC with the android sdk stuff.
CGriffiths86 said:
Ok guys..I got launcher pro installed so I can actually access my phone now. I attempted to Flash a recovery with Rom Manager and it says it succeeds but it will never boot into it. I do have the bootloader with the "off". Is there a market app or something that can easily flash the recovery? I only ask because I am not at my PC with the android sdk stuff.
Click to expand...
Click to collapse
If you can't get to a PC to use adb, you could use a root shell in a terminal emulator to flash recovery using flash_image. That's kind of painful/tedious though - almost enough so to make it worth your while to just wait until you get back to your PC.
It is technically feasible to put together a flashable ROM to re-flash the recovery, but I'm not aware of anyone having done so for the Eris.
Oh ok..well I have RA Eris 1.6.2 recovery on my sd card. So I can just flash it via the termninal emulator, right?
** I tried to install via terminal and it says "header is the same, not flashing recovery". Do you think I could install the stock Eris recovery and reflash Amon's?
UPDATE!!: I got a recovery to flash..YAY..thanks guys
CGriffiths86 said:
Oh ok..well I have RA Eris 1.6.2 recovery on my sd card. So I can just flash it via the termninal emulator, right?
** I tried to install via terminal and it says "header is the same, not flashing recovery". Do you think I could install the stock Eris recovery and reflash Amon's?
Click to expand...
Click to collapse
are you using "flash_image"? If so, where is it from? To my knowledge (the statically linked version from Amon_RA - /sbin/flash_image) is a pretty simplistic program - it performs no checks, and will let you flash total garbage to any named partition on your phone. (Which is why you should verify the md5 of the recovery image before you flash it, BTW; you can use the AFV app for that)

[Q] How to fix HTC One only booting to Recovery?

I tried to install a KitKat Rom but ended up having my One boot up and reboot to recovery. Unfortunately I decided not to make a backup because I felt I had gone through the motions enough times to know what I was doing, and now I can only boot to the Rom that won't work. I found another rom that I used before sitting in my computer, but I can't seem to use adb to push it (unless I'm doing it wrong) into my phone's storage so I can use recovery to boot into it. Help!
TunedTimbre said:
I tried to install a KitKat Rom but ended up having my One boot up and reboot to recovery. Unfortunately I decided not to make a backup because I felt I had gone through the motions enough times to know what I was doing, and now I can only boot to the Rom that won't work. I found another rom that I used before sitting in my computer, but I can't seem to use adb to push it (unless I'm doing it wrong) into my phone's storage so I can use recovery to boot into it. Help!
Click to expand...
Click to collapse
First kitkat roms require s-off and the newest version of TWRP 2.6.3.3
so you can update your recovery and get s-off and reflash the kitkat or you can push the old rom you have to the phone.
http://rumrunner.us/ for s-off
recovery is here - http://techerrata.com/browse/twrp2/m7
ADB Push from Recovery
adb push rom.zip /data/media/0/
the file you push must be in the same directory as ADB

Categories

Resources