I use the recovery.img in this thread: http://forum.xda-developers.com/showthread.php?t=530492
In recovery mode, sometimes I can't find the files under /system and /sdcard. When I use adb push file from PC to sdcard. The PC side always shows ok, but the file is not on sdcard. And I also can't access "su" in recovery mode. Everything is ok when I am not in recovery mode.
I am not sure this problem is related with this recovery, I also update my SPL to 2010 recently.
Related
I've been reading up about what to do after I tried to "factory reset" my phone and then was stuck at the htc start up soon, which kept looping.
I've been trying to load recovery.img during fastboot (back+power) and then to apply update.zip during recovery (home+power).
However, the problem is that during fastboot, the device isn't recognized (when I go to adb devices on command prompt, no device is listed). I know that my drivers are good bc the device is found when I start up in the recovery mode. I tried to skip the part where I load recovery.img (since when I try to do that, it tells me that it can't be loaded), and to go straight to apply update.zip, but then the phone tells me that update.zip is either bad or can't be mounted.
I have a Rogers Magic (32A). I am a complete newbie, so any help would be greatly appreciated. I should also say that before I tried to do the factor reset, the phone was on the hero rom loaded by a previous user.
try this:
boot in recovery:
fastboot boot recovery.img
then, push update.zip on your sd card ( need a good rom in the tools folder on your computer)
adb shell mount /sdcard
adb push update.zip /sdcard
and apply update.zip with the recovery menu.
thanks for your reply, but it didn't work:
first, it said "cannot load recovery.img"
and then when I tried to mount, it said "mount: mounting dev/block/mmcblk0p1 on /sdcard failed: Device or resource busy"
replace recovery to correct path to your recovery image. (your phone mut be in fastboot mode power with back button pressed)
ex:
fastboot boot c:\sdk\tools\recovery-RAv1.2.1G.img
then your phone must boot on recovery and you could push update.zip
thanks so much. I figued it out - just a simple problem of the update.zip file being corrupt.
pato17 said:
thanks so much. I figued it out - just a simple problem of the update.zip file being corrupt.
Click to expand...
Click to collapse
i am having the same issues.
any help?
beastmods said:
i am having the same issues.
any help?
Click to expand...
Click to collapse
What exactly have you tried to do?
Sent from my HTC Magic using XDA App
Hi. My magic is having the same issues. Although I believe it is my own doing. I was going to create a gold card and I flashed the sappimg.zip, I can boot the phone into fastboot but it us not seen, when I run the fast boot command it just says waiting on device..
I can boot the phone up normally but it does not want to connect to the market our link my gmail account to it..
All to jailbreak... Any ideas?
Edit....
I must have had a poor internet connection last night. I have got the market working.
Sent from my GT-I9000 using Tapatalk
I am having the same problem.
I have a 32b on vodafone uk.
all the device adb drivers have installed fine. I have tried this on both my laptop and desktop (win 7) and when the phone is turned on - it shows fine under adb devices.
When i boot to fastboot, the phone doesnt show, and therefore i cannot load a custom rom.
Trying to root the phone I have so far used the goldcard method to downgrade to get back to 1.5, if i try to flash the recovery img from the phone (using flash rec) then when i boot to recovery (home+power) it hangs on the vodafone screen - this is why i wont to flash from fastboot.
any ideas?
Thanks
phone rooted?
FlashRec is out of date, I'm pretty sure. Is your phone rooted already, or are you at stock?
I flashed with the latest cyanogen on a 32A in CM's recovery image, i had the patch for the kernel (take it from 32B to 32A) but i didnt get to apply it yet.
when i rebooted my phone it hangs on the Rogers screen, i can get to fastboot and recovery mode (stock recovery mode). I made a nandroid backup (before the flash) but i cant get to it from the recovery mode menu, and when i connect the fastboot usb, my sd card doesnt show up on my computer. so i cant run the fastboot command to load the recovery image...
is there anything i can do?
some more information:
when i go into recovery mode, the "removable disk" shows up in my computer, but clicking on it just says "please insert a disc into drive..." which leads me to believe it is not mounted, any way to do this from recovery?
It'll never boot when you haven't installed the 32A patch.
And that means that you'll never be able to mount the SD card to have it show up in Windows. You can use adb to push the update.zip file to your SD card while in Recovery mode.
(You'll need the Android SDK installed for this)
Start up your phone in Recovery mode using the Power+Home buttons.
Once in recovery, wait for Windows to detect the phone (about 30 seconds).
Copy the 32A patch to your Android SDK tools folder, then run:
Code:
adb push <filename for your 32A patch>.zip /sdcard/update.zip
This will push your 32A patch to your SD card as update.zip.
Then apply update.zip through your Recovery environment.
A note to you... Before running the adb push, try running:
Code:
adb shell
mount /sdcard
exit
adb push <filename for your 32A patch>.zip /sdcard/update.zip
This will make sure that your SD card is properly mounted before copying the file to it.
To check that the file is there before trying to update, run this from your Command Prompt.
Code:
adb shell
cd /sdcard
ls | grep update.zip
You should see update.zip listed there.
After you've applied the 32A patch zip file through your Recovery environment, reboot your phone.
Should work now...
If you haven't installed the Amon_RA Recovery yet, it would be a good idea. It lets you save and update zip file to the root of your SD card without renaming it to update.zip first. You can apply any update zip file as an update.
thanks for the reply,
when i type adb shell i get:
"error: device not found"
typing adb devices also yields that the device is not listed
but windows does make the noise notifying that a device is connected, and the Removable disc still comes up in my computer
when i go into Device Manager, under disc drives it shows up as
HTC Android Phone Usb Device when the phone is in recovery
and if this makes any difference, press home+power again and look at the options in recovery the bottom says "E:Can't open /cache/recovery/command"
it worked in fastboot/recovery before, but that was when i had USB debugging selected and before i flashed CM i wiped. could this be the reason why im not able to access the phone with adb in recovery/fastboot?
for some reason i was able to fastboot into cm's recovery image and then the device was listed in adb, i followed your instructions and applied the patch, the phone booted up!
thank you!!!!! phew, that was a close one
zeotrope said:
for some reason i was able to fastboot into cm's recovery image and then the device was listed in adb, i followed your instructions and applied the patch, the phone booted up!
thank you!!!!! phew, that was a close one
Click to expand...
Click to collapse
The CM recovery works great but without a hardware keyboard it's not entirely functional.
I'd recommend flashing Amon_Ra recovery and using that. Read the directions carefully though. Make sure you use the right one for your phone.
got amon-ra's recovery permanently flashed on there, thanks again for your help
Hi my friends!
Can enyone help me? please?
I have tattoo on factory 1.6., SD card 2 GB kingston!
Then I root him with maverixx root, and then I use custom ROT 1.7 on there http://forum.xda-developers.com/showthread.php?t=723255
Everything gonna great until I want to partition my SD card on ROM manager!
When I think I was partition, phone restart and try to get in recovery mode! But then he only wibrate once a time and frozen first, TATTOO picture on himself!
When I tried to start him normarly, he starting!
But every time I try to get in recovery mode, he do the same thing (restart, vibrate once and frozen TATTOO text on display)!
I tried with adb reboot recovery but its the same thing!
I have nandroid on my sd card!
I also can entry on SD card via USB and also I can conected my phone to my com in deb. mode.
But I cant get my recovery mode!
Can someone please help me? Please! But step by step, my English isnt too good and my knowledge about this, too!
Thanx and best regards from Serbia!
Have you tried installing new recovery via adb?
You can also try to format your sd-card again and if that doesn't work I will recommend you try installing new recovery or reinstalling your recovery as mentioned above.
Thanx for replying!
How to install, reinstal my recovery mode??
now I was format my SD card, and the same thing
and now when I turn on phone in meni I lost ROM manager and superuser adv.
please anyone help??
could I install somehow new Recovery Mode and then istall again custom ROM?
please help
thanx
rista77 said:
Thanx for replying!
How to install, reinstal my recovery mode??
Click to expand...
Click to collapse
Here is commands, but can you see your device in adb when connected with usb. Can your phone get to the fastboot screen, I think it is power+vol down button.
Here is the commands you should try:
Via adb:
adb shell
flash_image recovery /sdcard/recovery.img
via fastboot menu as indicated:
fastboot erase recovery
fastboot flash recovery recovery.img
Note: You should put the recovery.img in your root folder of the sd card(That is your main menu in your sd card). Also replace "recovery.img" with the name of the recovery img you want to install. The adb commands should be done with phone on as normal but connected to usb.
Example: flash_image recovery /sdcard/Maverix2b.img
Good luck.
rista77 said:
could I install somehow new Recovery Mode and then istall again custom ROM?
please help
thanx
Click to expand...
Click to collapse
After you installed the recovery you will be able to reinstall the rom.
timlambo said:
Here is commands, but can you see your device in adb when connected with usb. Can your phone get to the fastboot screen, I think it is power+vol down button.
Here is the commands you should try:
Via adb:
adb shell
flash_image recovery /sdcard/recovery.img
via fastboot menu as indicated:
fastboot erase recovery
fastboot flash recovery recovery.img
Note: You should put the recovery.img in your root folder of the sd card(That is your main menu in your sd card). Also replace "recovery.img" with the name of the recovery img you want to install. The adb commands should be done with phone on as normal but connected to usb.
Example: flash_image recovery /sdcard/Maverix2b.img
Good luck.
Click to expand...
Click to collapse
it writte:
flash_image: permission denied!
Example: flash_image recovery /sdcard/Maverix2b.img? when I could get this maverix2b.img?in his root folder? recovery.img and then rename it to Maverix2b.img? Sorry about but I trying to understand you good!
and from where to copy recovery.img to root of sd card?
Thanx so much...
I just sucseed
with this thread!
http://forum.xda-developers.com/showthread.php?t=603286
I sucseed to put original ROM, but I must put him in FASTBOOT
thanx for help!!!
I'm trying to install baconbits on my G2 and I have a mac. I cannot seem to get the recovery image to work through fastboot. Help?
I can access the phone through the terminal but once I command it to reboot to the bootloader I can't get it to find the img file
There's a fastboot binary available for download from this page: http://developer.htc.com/adp.html
I have the binary in my sdk's tools folder but I still can't figure it out. Where/how do input the command to boot the img file?
pak256 said:
I have the binary in my sdk's tools folder but I still can't figure it out. Where/how do input the command to boot the img file?
Click to expand...
Click to collapse
You can flash files from recovery if they are on the SD card. You can either adb push while in recovery, or mount USB storage and tranfer the file. Or just transfer it via USB while the phone is on (big, green android screen)
I'm not sure how to install baconbits, but I think you need fastboot to flash the .img file. Recovery flashes .zip files and fastboot flashes .img files. You can put fastboot-mac in the same folder as adb... then fastboot flash recovery your_recovery.img. You really don't need adb (for this) since you can boot into fastboot on the phone by restarting while holding down the trackpad button.
These might be the droids you are looking for...
Code:
adb (read the instructions)
adb devices (you'll see your phone if it's plugged in, turned on, and in the proper mode)
adb reboot bootloader (white screen with androids on skateboards)
fastboot-mac (more reading...)
fastboot-mac devices (your phone again)
fastboot flash recovery your_recovery.img
fastboot reboot-bootloader
For some reason, I had a little trouble flashing my recovery- sometimes it would hang and wouldn't flash, sometimes it would only fastboot boot. So if you run into trouble, there might be other problems.
While you are at it, you might as well save yourself the trouble and either add the adb and flashboot folders into your path, or put the binaries somewhere in your path. I also renamed fastboot-mac to fastboot for simplicity.
Going to try that when I get out of class but I think you helped me realize what I was doing wrong. Thanks and will let you know if it works
Sent from my T-Mobile G2 using XDA App
Okay I could get the fastboot prompts to work but when I try to flash the recovery it tells me "g2recovery.img" could not be loaded
okay, used clockwork and got it to work. yay!
Hey all,
Hopefuly someone can help me otherwise i'm going to have to take this phone back to the o2 shop where I got it from.
I have a Nexus S, was looking at custom roms the other night and decieded to unlock and root it and flash the CyW7 rom onto it.....after a couple hours of playing with the new software I decieded it wasn't for me so flashed the device back to stock 2.3.1 software.
2.3.1 loaded fine and I installed the 2.3.2 update before rooting it so I could install adblock.
Got it all working fine, setup a security PIN (8 digits) and went to bed.
Woke up this morning and found the phone was not accepting the PIN, ive tried rebooting, trying the PIN in different varations incase I setup a wrong PIN in the first place......still no luck
So, i've looked into reflashing the device with stock 2.3.1 software again but USB debug mode isn't on and I can't install the USB drivers in Fastboot mode (says no compatible driver found for my hardware error)
How do I move forward here? Is there anything I can do to fix it?
Thanks a billion for anyone who gives me advice....
Boot into recovery and factory reset.
Boot recovery took me to a error screen where I had to take battery out to reset it.
I've managed to get the USB drivers to work now, and flashed the clockwordmod recovery image, then reset the phone.
Can I just confirm;
Is this the correct proceedure for the Nexus S to stop the Clockwordmod recovery from been removed.
1. Download the custom recovery image and save it to your computer
2. Copy the recovery.img file inside the tools folder of the sdk (so it is in the same folder as fastboot.exe)
3. Then in the command prompt that should still be open, type the following with hitting enter at the end of each line:</p><p>fastboot flash recovery recovery.img
4. Once it is flashed, leave the phone in plugged in and in fastboot mode.
6. Root the Phone
7. In fastboot mode, select Recovery using the volume buttons and power button and wait for it to boot into recovery mode.
8. Download the Superuser flashable zip file and save it to your computer.
9. Once in recovery mode, select Mounts and Storage then select Mount USB Storage so we can transfer files to the sd while it is in recovery mode.
10. Copy the Superuser.zip file to the root of your internal storage (do NOT extract it, do NOT put it in any folders, just on the phones storage itself).
11. Select Unmount on the phone.
12. Select Mount System, then select Go Back to get back to the main menu.
13. Then scroll to flash zip from sdcard and then choose zip from sd card and select the superuser.zip file and wait for it to finish flashing.
14. Once it is done, select Go Back then Reboot System and wait for the phone to reboot.
15. Stop the Phone from Uninstalling the Custom Recovery Image
16. Once the phone is booted up, plug it in via USB cable and do NOT mount the storage.
17. Open a command prompt on the computer and type the following with hitting enter at the end of each line:
adb shell
cd etc
mount -o rw,remount /dev/block/mtdblock3 /system
mv install-recovery.sh install-recovery-no.sh.
18. Turn off the phone and turn it back on by holding down Volume Up and Power to get into fastboot mode.
19. Plug the phone in via USB cable while in fastboot mode and open the command prompt again and type the following with hitting enter at the end of each line:
cd c:\androidsdk\tools\
adb reboot bootloader
fastboot flash recovery recovery.img