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.
Related
hi im getting fastboot mode started
udc_start()
i tried using fast boot reviving post but
im erasing recovery successful
but when i execute fastboot flash recovery recovery.img
im getting an error that not loading recovery.img heip me.......
Try typing the entire path to the recovery file.
follow this to flash custom recovery http://forum.xda-developers.com/showthread.php?t=1318750
for the command "fastboot flash recovery recovery.img", recovery.img refers to the file of your recovery. try doing either:
a) make sure that the name of the recovery file is "recovery.img".
b) change the command "fastboot flash recovery recovery.img" to "fastboot flash recovery (name of the file).img", where (name of the file).img is the actual name of the recovery file (for example, if the name of the file is thunderg.img, the command would be "fastboot flash recovery thunderg.img)
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.
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\
Hi guys please help.
Dont know if I posted it in the right placed.
I cant post it in the relevant thread since it is a dev thread and i'm a noob
So this is my first android so i'm basically super noob (my technical record was to Jailbreak an iPhone)
My error seem pretty simple but I could not figure it out.
I'm trying to flash the CM10 ROM according to this:
http://forum.xda-developers.com/showthread.php?t=2027304
What i have managed to do:
Unlock bootloader.
root with RootBoot V5.
install SU and flashed TWRP recovery for Intl version with the amazing Hasson2000 all-in-one tool.
Where I got stuck:
now i downloaded the CM rom zip file and the its specific kernel.
changed the kernel name to: boot.img
placed the file in the kernel folder (of the tool).
hit the flash kernerl (marked the 'with this command').
the CMD window opened, and showed this error:
error: cannot load 'Kernels/boot.img'
picture - http://sdrv.ms/YtPHoU
triple checked the file name and the right directory
I would appreciate any help!
Thanks
My device:
HTC One X+ international unbranded
1.14.401.16
I think your making things too complicated using this kernel flasher software.
Just download and install the Android SDK. Once installed find the platform-tools folder, copy your kernel .img to that folder, connect your phone in fastboot mode. Then hold shift and right click, choose open command window from the contex menu. Then just type into the prompt "fastboot flash boot boot.img" (or the name of the .img).
Done
Sent from my HTC One X+ using Tapatalk 2
ummmm why are you adb pushing?? the command is:
just put it in the folder where ever fastboot and adb is
fastboot flash boot boot.img
Lloir said:
ummmm why are you adb pushing?? the command is:
just put it in the folder where ever fastboot and adb is
fastboot flash boot boot.img
Click to expand...
Click to collapse
AndroHero said:
I think your making things too complicated using this kernel flasher software.
Just download and install the Android SDK. Once installed find the platform-tools folder, copy your kernel .img to that folder, connect your phone in fastboot mode. Then hold shift and right click, choose open command window from the contex menu. Then just type into the prompt "fastboot flash boot boot.img" (or the name of the .img).
Done
Sent from my HTC One X+ using Tapatalk 2
Click to expand...
Click to collapse
Thank you guys for helping me.
I tried both methods and recieved the same error in both of them in CMD:
error: cannot load boot.img
Lloyr method:
4 files in fastboot folder:
adb
AdbWinApi.dll
fastboot
boot.img
entered fastboot from device ----> plug in to pc (debugging is on by default) ----> run CMD from this folder----> writing command "fastboot flash boot boot.img" -----> error message
AndroHero method:
download the Android SDK (zip file named adt-bundle-windows-x86) and exract it to desktop.
in the folder adt-bundle-windows-x86, i went to "sdk" and then "platform tools".
copied the boot.img file to "platform tool" folder and ran the CMD from this folder.
typed the command "fastboot flash boot boot.img" and boom ----> error: cannot load boot.img
thanks again
>.< you NEED to be in bootloader
type in adb reboot bootloader and make sure you are in fastboot usb (select it if it's not already done for you)
then
fastboot flash boot boot.img
Lloir said:
>.< you NEED to be in bootloader
type in adb reboot bootloader and make sure you are in fastboot usb (select it if it's not already done for you)
then
fastboot flash boot boot.img
Click to expand...
Click to collapse
Sorry if I didn't mention that.
i was on fastboot USB.
showed fastboot USB on a red backround.
I tried once again with both methods and i recieved another error message in the SDK methos:
error: cannot load 'boot.img': Unknown error
I attached file with step by step screen shot for the whole process (both methods).
Just thought...did you rename it boot.img? If so and file extensions are hidden then it will be boot.IMG.IMG so remove .IMG and it should work fine
Sent from my HTC One X+ using xda app-developers app
Make sure you installed HTC Sync (htc site) and the drivers will come with it. (you can later remove sync, drivers will stay)
Then enter fastboot trough vol down + power > choose fastboot ... plug your phone to PC and wait sec for driver install.
Make sure u see Fastboot USB in fastboot
Go prompt admin mode and go to your c:/fastboot map (put boot.img in there)
And type
Code:
fastboot flash boot boot.img
After that install recovery and rom and boot.
Lloir said:
Just thought...did you rename it boot.img? If so and file extensions are hidden then it will be boot.IMG.IMG so remove .IMG and it should work fine
Sent from my HTC One X+ using xda app-developers app
Click to expand...
Click to collapse
WORKED!!!!!!!
Lloir YOU R the best!!
flashed the kernel
then followed instruction how to backup and flash from the TWRP
running joyfully your CM10 ROM right now.
It's Amazing!
Thank you thank you thank you!!
Hello, I have a H-901 v-10 That I've successfully unlocked the bootloader and am ready to flash TWRP recovery but every time I try to open the file my computer wants to burn it to a cd/disc.
What am I doing wrong?
hank1948 said:
Hello, I have a H-901 v-10 That I've successfully unlocked the bootloader and am ready to flash TWRP recovery but every time I try to open the file my computer wants to burn it to a cd/disc.
What am I doing wrong?
Click to expand...
Click to collapse
Stop trying to OPEN the image file. You should be on a command line using the fastboot flash command to flash the .img file directly to the recovery partition. You need to do some more reading because it sounds to me like you haven't yet installed the android developers kit which contains the adb and fastboot commands you will need to communicate with your phone.
Start by doing what you should have tried first...a google search for "How do I install TWRP on my phone?"...the first result is https://www.howtogeek.com/240047/how-to-flash-twrp-recovery-on-your-android-phone/
I've setup adb and fastboot, opened the twrp folder and have opened a command prompt window by typing shift + right click and entered fastboot flashing recovery recovery image then it showed some code on the command prompt but it didn't flash the twrp what do I do