[Q] How to get into Clockwork Via ADB - Vibrant Q&A, Help & Troubleshooting

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.

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

[Q] stock/clockwork mod Recovery question

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.

[Q] Cannot access recovery

Ok here is the situation
I had BoS installed. I nv flashed, installed Flashback. Everything was working fine. I had the standard recovery. So I wanted to install CWM recovery. Downloaded the 1.2 update.zip and put it in the root of the internal SD with the recovery folder.
I started up, seemed like the update applied. Then the tablet booted up normally perfectly fine. BUT now whenever I try to go into recovery, I get the birds, then "Recovery key detected" "Booting recovery kernel image". Then nothing. It just waits there. Still boots up normally fine.
Is there any way to fix the recovery mode without nv flashing again and loosing all the app installs I've done?
TIA
You can nvflash just the recovery partition or use ADB to flash it.
Instructions for doing that are on the BoS first post.
Edit: According to the changelog for flashback it has Roebeet's recovery pack built in.
Open a terminal emulator on the tablet.
Type "su" without the quote and tap enter.
Grant the terminal app superuser rights
Use one of the following commands...
fixrecovery.sh (for stock recovery)
cwmrecovery.sh (for ClockworkMod)
You might need to navigate to /system/bin if the commands are not recognized in the default directory.
Awesome. Worked like a charm.

[Q] Problem with Root

So, I have a HTC Desire with Android 2.2 on it. Some time ago I rooted it with the unrevoked program. Everything went fine, until the phone rebooted in recovery(after the root process). In ClockworkMod recovery, it gave me 5 errors like: Can't mount Cache. Then I realized that nothing in recovery works, not even the factory reset.
I wanted to flash a new recovery (AmonRa) with the terminal emulator ('cause the recovery flash function won't work), but it didn't recognize the command "flash". After some research I found out that I have to "put" the command file in xbin on my phone so that it could work. The "flash command" file has 3mb, but i have only 2mb system memory free.
Ok, so I ditched the recovery problem, and installed the "root" uninstaller so I can uninstall the default Flickr app on my phone. But, whenever i try to uninstall a system app, the phone reboots and the app doesn't uninstall. Same with the Titanium Backup "integrate update into ROM" function.
Sooo, first question: How do i fix my recovery so i can flash a new one? Can i flash one using Adb?
Second one: Does the rebooting of the phone when i try altering the rom has any to do with the recovery errors? If no, then:
Thrid one: How do i fix the rebooting?
1)You need to make sure that your fastboot and adb are configured correctly first of all, if adb/fastboot doesnt recognize "flash" then you probably are in the wrong directory in CMD prompt. Yes you can flash a recovery and even a rom with a properly set up adb
2) All I can recommend is try flashing a new recovery and start fresh. If the new rom continues to reboot then that is a whole-nother issue.
abaaaabbbb63 said:
So, I have a HTC Desire with Android 2.2 on it. Some time ago I rooted it with the unrevoked program. Everything went fine, until the phone rebooted in recovery(after the root process). In ClockworkMod recovery, it gave me 5 errors like: Can't mount Cache. Then I realized that nothing in recovery works, not even the factory reset.
I wanted to flash a new recovery (AmonRa) with the terminal emulator ('cause the recovery flash function won't work), but it didn't recognize the command "flash". After some research I found out that I have to "put" the command file in xbin on my phone so that it could work. The "flash command" file has 3mb, but i have only 2mb system memory free.
Ok, so I ditched the recovery problem, and installed the "root" uninstaller so I can uninstall the default Flickr app on my phone. But, whenever i try to uninstall a system app, the phone reboots and the app doesn't uninstall. Same with the Titanium Backup "integrate update into ROM" function.
Sooo, first question: How do i fix my recovery so i can flash a new one? Can i flash one using Adb?
Second one: Does the rebooting of the phone when i try altering the rom has any to do with the recovery errors? If no, then:
Thrid one: How do i fix the rebooting?
Click to expand...
Click to collapse
Sounds like your CWM needs to be updated. Simple way is to download Rom Manager from the Market. Open it and Flash the latest Recovery for your device. Yes as the person before me stated. If correctly setup you can Flash a Recovery, and even a Rom throught ADB. You can also remove unwanted apps, or push apps to the phone. HERE is a good guide about ADB. Also another good one is HERE.

[Q] Can't boot CWM Recovery consistently! Help please :)

I am unlocked and rooted. I checked with a root check app and it says i am...
Not sure if this has already been posted, but whenever i flash Romracer's cmw5 I can only boot into CWM Recovery under one condition. And that is:
Right after I type "fastboot reboot" and hold the volume down button right as it's rebooting. From here, when I select Android recovery, i can boot into CWM. Any other times, I.E. If i let the phone boot up to the point where I can make phone calls.and other stuff and power down afterwards and try to boot into CWM via Android recovery, the android with the exclamation pops up. At which point, I have to re-flash CWM every time.
Also, I finally found recovery-install.sh, however whenever i try to select it with astro file manager, it says "activity not found" or something like that and won't let me delete it. Does this have any effect on not being able to boot into CWM Recovery?
Thanks for the help, having to reflash CWM is annoying.
PS: I downloaded the file "Blue 5.0.2.7-atrix5 / ZIP version" from http://forum.xda-developers.com/showthread.php?t=1204500 and the file name saved as
"recovery-blue-atrix5.img". So when I type it into the command prompt, I would actually type the exact command of
"fastboot flash recovery recovery-blue-atrix5.img". I know the directions say that the command is "fastboot flash recovery recovery-atrix5.img" Is there any chance that my problem is resulting from this discrepancy in the file name?
Update: I found the CWM boot method inside CM7 itself and it works. Does this mean i'm scott free? Or should i continue to try and delete
"recovery-install.sh"?
If you have that file in /etc, it should be deleted. You don't need to use a file manager for that, a terminal or adb will do.

Categories

Resources