how to pull recovery + boot - HTC Desire X

I am not 100% sure, so ill ask, how to pull stock recovery and boot from DX?
is it as simple as
Code:
adb pull recovery.img
adb pull boot.img
or is there something else, i never used this command, so... only thing i can think of is that there will be path to files needed, is it only / or /dev/ or something else? is stock recovery and boot called recovery and boot?

Related

[Q] Error when installing new CWM recovery

So I was able to easily unlock the bootloader but when trying to install recovery I get the following: "error cannot load recovery.img" Any idea what I'm doing wrong? I have fastboot and recovery.img in same folder so I'm not sure what the problem is. Any help would be greatly appreciated as I'd really like to install Kens rom and restore my phone to my liking.
First not a major issue your just not typing something right or not placed right
Lets do this !
2nd Please Remove install_recovery.sh located in your /system/etc/ ,so that the recovery will not be overwrite to stock one.
you dont HAVE to it will still work just wont have the stock recovery.
1st make sure the moto-fastboot or fastboot (they both work i have tested )file is in your c:\
you have to cd the drive first so make sure its in c:\ the commands on the guide for cwm needs
to be updated this will help you out.FYI make sure all the files are in one folder not the root drive
so name a folder (whatever) then cd that folder from cmd.
Dont use " " just showing you commands
Then go to cmd
"cd c:\moto-fastboot" or fastboot
click enter
then type "moto-fastboot flash recovery recovery-en-goapk-0630-1029.img" or fastboot
click enter
Should say writing\sending
Once your done and it completes
type moto-fastboot reboot or fastboot
enter
P.S. Depending on if your using fastboot or moto-fast boot
commands would be
"fastboot flash recovery recovery-en-goapk-0630-1029.img" Fastboot
"moto-fastboot flash recovery recovery-en-goapk-0630-1029.img" moto-fastboot
And if you were wondering
Moto-fastboot is for bigger files
fastboot is for smaller files
They both work because the recovery is in
the middle in size for both fastboots.

RECOVERY IMG won't push to device

None of the existing tutorials or threads have accurate information on how to push the twrp recovery.
Following the very VAGUE instructions results in the fastboot cmd just listing the instructions instead of doing it's job.
Anyone have the correct commands to flash any working recovery or is there one?
Sure would like to flash a recovery of some sort. Anyone know how? Posting the existing methods is fail since they fail.
completely incorrect, followed instrucions precisely, albeit sounds like he skipped a hundred steps, so it's no wonder this method fails
http://forum.xda-developers.com/showthread.php?t=1192245
anyone else actually flash a recovery?
This is what I did:
First I renamed the recovery to avoid typos to TWRP.img
Second I made sure Fastboot.exe and the twrp.img file were in the same directory as the adb files.
Third, I booted my phone to the hboot and selected fastboot.
Fourth, I opened a command prompt in that directory and typed: fastboot flash recovery twrp.img
Then hit enter and bam!!! You have a custom recovery. Make sure you do a nand backup before you play with your phone.
fastboo
The link you posted is step by step. Is there any particular question you have that wasn't covered in the post? Not trying to be a ****, I just need to know exactly where you need help. And yes, I have s-off, recovery, and root access.
I figured it out - it's not clear that you have to acutally TURN OFF YOUR PHONE AND RESTART IN FASTBOOT MODE.
I found another thread that was clear. Now...
How do I boot into TWRP? lol jesus.
Make sure fastboot is off in settings>>>power, then turn phone off and power back on holding power and volume down.
From the link
clark44 said:
2.) Plug in you phone to your pc and make sure you have fastboot drivers and your phone is in fastboot mode
Click to expand...
Click to collapse
Sorry, I had to
cruise350 said:
This is what I did:
First I renamed the recovery to avoid typos to TWRP.img
Second I made sure Fastboot.exe and the twrp.img file were in the same directory as the adb files.
Third, I booted my phone to the hboot and selected fastboot.
Fourth, I opened a command prompt in that directory and typed: fastboot flash recovery twrp.img
Then hit enter and bam!!! You have a custom recovery. Make sure you do a nand backup before you play with your phone.
fastboo
Click to expand...
Click to collapse
What directory do I put fastboot.exe and recovery.img in?
Any. But in order for the commands from this thread to work it should be in the same as your fastboot command. Usually /androidsdk/tools or possibly /platform-tools. Which ever has the fastboot, put it there.
Otherwise make sure you declare the path in the fastboot execution command.
Thanks got it. SO how do you boot into twrp, without booting to bootloader first?
MikeC84 said:
Thanks got it. SO how do you boot into twrp, without booting to bootloader first?
Click to expand...
Click to collapse
adb reboot recovery
Thanks got it rooted and installed quickboot for easy boot to recovery

Adb is not recognizing my phone through fastboot

my phone is bootlooping and i need to do this : On your computer, open up a command prompt. Navigate to the folder that contains your recovery.img. Then do "adb reboot bootloader" (w/o the quotes). Then do "fastboot boot recovery.img" (or whatever the name of your recovery.img is...it may not be 'recovery.img'. If it's twrp2.img, or whatever, type that). That should boot your phone into recovery, and from there you'll be good. Your boot partition will be flashed. So try booting to recovery that way and then try restoring a nandroid. If that doesn't work, boot to recovery the way I said, and try flashing a rom from scratch, after a full wipe of course.
adb doesnt pick up my device
Jay321 said:
my phone is bootlooping and i need to do this : On your computer, open up a command prompt. Navigate to the folder that contains your recovery.img. Then do "adb reboot bootloader" (w/o the quotes). Then do "fastboot boot recovery.img" (or whatever the name of your recovery.img is...it may not be 'recovery.img'. If it's twrp2.img, or whatever, type that). That should boot your phone into recovery, and from there you'll be good. Your boot partition will be flashed. So try booting to recovery that way and then try restoring a nandroid. If that doesn't work, boot to recovery the way I said, and try flashing a rom from scratch, after a full wipe of course.
adb doesnt pick up my device
Click to expand...
Click to collapse
Check your other thread. I answered this question there.

[Q]No recovery menu in hboot1.5

Hi, My phone is EVO 3D CDMA, unlock by HTC method, Hboot1.5 still S-ON
When boot into hboot, no go into recovery menu, can flash recovery.img by fastboot tool, but can boot into recovery,I use adb reboot recovery.
muziling said:
Hi, My phone is EVO 3D CDMA, unlock by HTC method, Hboot1.5 still S-ON
When boot into hboot, no go into recovery menu, can flash recovery.img by fastboot tool, but can boot into recovery,I use adb reboot recovery.
Click to expand...
Click to collapse
First download a custom recovery like CWM, TWRP or 4ext.
It should be .img file. Put it in the folder in which you have fastboot.exe.
Boot into hboot. Open command prompt and instead of adb reboot recovery , use "fastboot flash recovery recovery.img" (file name should be recovery.img or change command according to the file name). Then type fastboot boot recovery.img. Recovery should boot now.
To make things easier just download free version from here (this will flash 4ext recovery) ----> http://4ext.net/
and install the latest or stable release. then adb reboot recovery will work.
mnomaanw said:
First download a custom recovery like CWM, TWRP or 4ext.
It should be .img file. Put it in the folder in which you have fastboot.exe.
Boot into hboot. Open command prompt and instead of adb reboot recovery , use "fastboot flash recovery recovery.img" (file name should be recovery.img or change command according to the file name). Then type fastboot boot recovery.img. Recovery should boot now.
To make things easier just download free version from here (this will flash 4ext recovery) ----> http://4ext.net/
and install the latest or stable release. then adb reboot recovery will work.
Click to expand...
Click to collapse
I can use "fastboot boot recovery.img" to boot any recovery.img.
But can not boot into the recovery which flash by "fastboot flash recovery recovery.img", when in android ,use command "adb reboot recovery", can not boot into recovery, and HBOOT still no recovery menu.
Before you started this process did you make sure to enable usb debugging from within your rom ?? Also did you make sure to uncheck fastboot in the power settings as well ??
#Root-Hack_Mod*Always\
laie1472 said:
Before you started this process did you make sure to enable usb debugging from within your rom ?? Also did you make sure to uncheck fastboot in the power settings as well ??
#Root-Hack_Mod*Always\
Click to expand...
Click to collapse
Yes , I did disable fastboot in power setting, "adb reboot recovery", phone reboot an go into android, not recovery.
fastboot boot recovery.img to recovery:
/ # flash_image recovery /sdcard/recovery.img
flash_image recovery /sdcard/recovery.img
error scanning partitions: No such file or directory
muziling said:
Yes , I did disable fastboot in power setting, "adb reboot recovery", phone reboot an go into android, not recovery.
fastboot boot recovery.img to recovery:
/ # flash_image recovery /sdcard/recovery.img
flash_image recovery /sdcard/recovery.img
error scanning partitions: No such file or directory
Click to expand...
Click to collapse
first off what operating system are you using? windows,linuxsietug would be a help and second... is that the list of commands youre enterting in order?
wloftus said:
first off what operating system are you using? windows,linuxsietug would be a help and second... is that the list of commands youre enterting in order?
Click to expand...
Click to collapse
fastboot boot c:\recovery.img
adb push c:\recovery.img /sdcard/recovery.img
adb shell
flash_image recovery /sdcard/recovery.img
Then, error output : error scanning partitions: No such file or directory
My OS is WIN7
Did you place the img into the tools folder ?? And whats the name of the recovery img ??
#Root-Hack_Mod*Always\
laie1472 said:
Did you place the img into the tools folder ?? And whats the name of the recovery img ??
#Root-Hack_Mod*Always\
Click to expand...
Click to collapse
No, recovery is recoveryTWRP110.img
You need to place a copy of the img into your adb tools folder then run the commands
#Root-Hack_Mod*Always\

How to fix Android boot loop, ADB?

My android (jellybean) tablet was turned off in middle of update and now is in boot loop. It was rooted with USB debugging on.
I MUST recover files (PDFs, .doc, .wav .JPEG, etc ) without erasing them.
Questions:
1 Do I use Odin and TWRP together?
2 Will Odin flash Samsung stock firmware erase files on device?
3. Will TWRP .img file erase everything?
4. Are these instructions correct?
I recommend you install TWRP recovery. It's the most feature-rich of all the recoveries I have used, and I will be assuming that is the recovery you use for the rest of this.
1. Boot into TWRP. (how? TWRP is an .img file )
2. Push your ADB public key to your device to force authentication.
____On Windows, do: adb push %UserProfile%\.android\ad
bkey.pub /data/misc/adb/adb_keys
3. Reboot into Android. Try adb shell and see if you get a shell prompt. If so, great! Exit it and run adb logcat, and read the huge error log for problems. If you didn't get the shell, well, then I think you're screwed, unless someone has cooked up a recovery zip for enabling adb.
What happens after ADB logcat?
Thank you..

Categories

Resources