Hi guys so here's the deal, i've just unlocked the bootloader on my Nexus 4 and tried to falsh recovery.
I connected my nexus to the computer and transferred the twrp.img file to the main directory and typed:
fastboot flash recovery twrp.img
one I hit enter an "error: cannot load 'openrecovery-twrp-2.3.2.3-mako.img' " error appeared.
any ideas?
prhing said:
Hi guys so here's the deal, i've just unlocked the bootloader on my Nexus 4 and tried to falsh recovery.
I connected my nexus to the computer and transferred the twrp.img file to the main directory and typed:
fastboot flash recovery twrp.img
one I hit enter an "error: cannot load 'openrecovery-twrp-2.3.2.3-mako.img' " error appeared.
any ideas?
Click to expand...
Click to collapse
you need to put the recovery on your desktop not your device, in the same folder as fastboot.
prhing said:
Hi guys so here's the deal, i've just unlocked the bootloader on my Nexus 4 and tried to falsh recovery.
I connected my nexus to the computer and transferred the twrp.img file to the main directory and typed:
fastboot flash recovery twrp.img
one I hit enter an "error: cannot load 'openrecovery-twrp-2.3.2.3-mako.img' " error appeared.
any ideas?
Click to expand...
Click to collapse
You have to put the file you want to flash in android-sdk\platform-tools folder where the fastboot (.exe) file also is located.
Oeps didn`t see Simms post
simms22 said:
you need to put the recovery on your desktop not your device, in the same folder as fastboot.
Click to expand...
Click to collapse
I'm doing it on a Mac and I put both the fast boot file and the recovery file in the same directory.
I still get the same error.
prhing said:
I'm doing it on a Mac and I put both the fast boot file and the recovery file in the same directory.
I still get the same error.
Click to expand...
Click to collapse
Here is a tutorial to setup adb and use fastboot on a mac to verify its is working correctly http://www.google.nl/url?sa=t&rct=j...bojYmmm1t6sMySi1e4a5bXw&bvm=bv.47244034,d.d2k. Do you see a serialnumber if you type fastboot oem devices? And does the name of the recovery end with .img, if so delete .img.
prhing said:
I'm doing it on a Mac and I put both the fast boot file and the recovery file in the same directory.
I still get the same error.
Click to expand...
Click to collapse
On a Mac its ./fastboot flash recovery nameofrecovery.img
Use goomanager app from play store to flash it if you have trouble with pc.
Pc is always better and safer though
Sent from my Nexus 4 using xda premium
Related
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!
I'm trying to replace ROM manager with Tenfars via fastboot and it keeps saying error: cannot load d:recovery-en-goapk.img
Any idea what I might be doing wrong? I deleted the system/recovery-sh and am in fastboot now. Thanks for any help.
Phoneguy589 said:
I'm trying to replace ROM manager with Tenfars via fastboot and it keeps saying error: cannot load d:recovery-en-goapk.img
Any idea what I might be doing wrong? I deleted the system/recovery-sh and am in fastboot now. Thanks for any help.
Click to expand...
Click to collapse
where did you save the recovery img?
Phoneguy589 said:
I'm trying to replace ROM manager with Tenfars via fastboot and it keeps saying error: cannot load d:recovery-en-goapk.img
Any idea what I might be doing wrong? I deleted the system/recovery-sh and am in fastboot now. Thanks for any help.
Click to expand...
Click to collapse
Looks like you need to use full path to .img file.
i was getting this error this morning when i went to do this as well
what i did was:
put the 3 files required to utilize fastboot through command prompt (the 2 adb files, and fastboot itself) and the recovery image WITHOUT RENAMING IT into a folder simply called fastboot in C:\
in command prompt i did:
Code:
> cd C:\fastboot
> fastboot devices (to verify my phone was being seen)
> fastboot flash recovery C:\fastboot\recovery-en-goapk-1029.img (or whatever the hell it's called)
and it worked. for some odd reason, it wouldn't go when i renamed the file, or didn't type the EXACT file path to the recovery image..
maybe this will help you?
I have the img file in c:\ Just for the heck of it I also renamed one recovery and placed in c:\atrix. No matter what directory I choose it still says can't load.
c:\fastboot> fastboot flash recovery c:\recovery-en-goapg.img
That looks right to me but not sure what's up.
jakew02 said:
i was getting this error this morning when i went to do this as well
what i did was:
put the 3 files required to utilize fastboot through command prompt (the 2 adb files, and fastboot itself) and the recovery image WITHOUT RENAMING IT into a folder simply called fastboot in C:\
in command prompt i did:
Code:
> cd C:\fastboot
> fastboot devices (to verify my phone was being seen)
> fastboot flash recovery C:\fastboot\recovery-en-goapk-1029.img (or whatever the hell it's called)
and it worked. for some odd reason, it wouldn't go when i renamed the file, or didn't type the EXACT file path to the recovery image..
maybe this will help you?
Click to expand...
Click to collapse
That's what I needed... Thank You! Still learning my way around.
did it work?
Yes it worked. I needed to type in the full line, not just what was told to type in at the beggining of the thread. It's definately a learning thing. I'm trying to decide what ROM I'd like to run now.... I have the 4-5 beta, tried Cherryblur.5 and didn't like it so I went back. Now I have the blur theme but it still seems a little glitchy and the battery issue is annoying. I read that the ROM manager didn't wipe and install properly plus the issue with it not seeing the ext sd card is a problem.
I am trying to flash the kernal for 5.1.1 after a restore to stock and get my wifi going again. I placed the kernal zip in the adb folder
where I have the adb and fastboot exe files. I opened the command prompt in that folder after I unziped the kernal to get the img.
I can fastboot reboot bootloader, and fastboot devices, which shows the s.n for the phone. When I used the, fastboot flash boot v4tk-kernel-uber-alias.img, command I get an "unable to load"? Whats going on and how do I fix this. Same thing happened when I tried to flash non-hlos.bin. Help please....I am using windows 10.
Garyalp said:
I am trying to flash the kernal for 5.1.1 after a restore to stock and get my wifi going again. I placed the kernal zip in the adb folder
where I have the adb and fastboot exe files. I opened the command prompt in that folder after I unziped the kernal to get the img.
I can fastboot reboot bootloader, and fastboot devices, which shows the s.n for the phone. When I used the, fastboot flash boot v4tk-kernel-uber-alias.img, command I get an "unable to load"? Whats going on and how do I fix this. Same thing happened when I tried to flash non-hlos.bin. Help please....I am using windows 10.
Click to expand...
Click to collapse
Somebody? Im sure Im not the only one with this problem.....
Flashing boot and modem are pretty straight forward. Not sure what your issue is.
Garyalp said:
I am trying to flash the kernal for 5.1.1 after a restore to stock and get my wifi going again. I placed the kernal zip in the adb folder
where I have the adb and fastboot exe files. I opened the command prompt in that folder after I unziped the kernal to get the img.
I can fastboot reboot bootloader, and fastboot devices, which shows the s.n for the phone. When I used the, fastboot flash boot v4tk-kernel-uber-alias.img, command I get an "unable to load"? Whats going on and how do I fix this. Same thing happened when I tried to flash non-hlos.bin. Help please....I am using windows 10.
Click to expand...
Click to collapse
The only things I can think of that would cause that would be either the file is not in that directory or it's not spelled correctly. For the modem are you typing non-hlos or NON-HLOS? It should be all caps. As for the boot image, try renaming it. That's about all I can think of.
Sent from my XT1575 using XDA-Developers mobile app
Hi all im new to this forum. I am having a problem with my N7 im trying to unbrick it with nexus tool kit but at the flashing stage its says FAILED write failed unknown error for all partitions and when I try to flash a rom in twrp it hangs on patching system unconditionally. Has any one come across this problem before.
Update I have no software on my device without a way to flash it all tools including fastboot via comand prompt can't see it in bootloader mode please I really need help
gavster26 said:
Update I have no software on my device without a way to flash it all tools including fastboot via comand prompt can't see it in bootloader mode please I really need help
Click to expand...
Click to collapse
so you can boot to recovery or bootloader?
try nexus root toolkit - there is an option to unbrick. Wipe everything and try to unbrick.
how windows detects your N7? maybe try different usb cable - if not genuine, then cut a lil bit of plastic, so it goes all the way to the usb port
give some photos of what errors do you have in recovery
yaro666 said:
so you can boot to recovery or bootloader?
try nexus root toolkit - there is an option to unbrick. Wipe everything and try to unbrick.
how windows detects your N7? maybe try different usb cable - if not genuine, then cut a lil bit of plastic, so it goes all the way to the usb port
give some photos of what errors do you have in recovery
Click to expand...
Click to collapse
I can boot to bootloader and thats it that tool can't write to any partitions thats what I tried in the first place it erased the partitions but then could not write to them so im left with no system no kernel or recovery
Download drivers from here
Open cmd as admin and type fastboot devices, it should detect your n7 with some numbers and letters.
If you have grouper (wifi) n7 then download recovery here
Go to bootloader, connect n7 with pc and type:
fastboot flash recovery twrp.img
Where twrp.img is the name of recovery file you downloaded.
Then type: fastboot reboot
In cmd you probably have to go to proper folder just use cd.. to go up a folder and cd name of the folder to go to proper folder. I use C:\adb as drivers install right there
yaro666 said:
Download drivers from here
Open cmd as admin and type fastboot devices, it should detect your n7 with some numbers and letters.
If you have grouper (wifi) n7 then download recovery here
Go to bootloader, connect n7 with pc and type:
fastboot flash recovery twrp.img
Where twrp.img is the name of recovery file you downloaded.
Then type: fastboot reboot
In cmd you probably have to go to proper folder just use cd.. to go up a folder and cd name of the folder to go to proper folder. I use C:\adb as drivers install right there
Click to expand...
Click to collapse
Ok thanks I've got twrp to boot and I fastbooted aosp mm system and kernel but it won't boot up and twrp cant mount storage data or cache where to go from here it wont fastboot any stock img
Ok so i tried a lot of different things but my phone just doesn't want to boot to twrp. I flashed twrp but the phone always boots up erecovery.
What am i doing wrong?
Did you try the simplest command? Connect the phone to PC and open CMD or Windows PowerShell then run : adb reboot recovery
Also you can use Huawei Multi Tool 8 to boot into Recovery (Root tab -> Restart to Recovery).
i figured out what the problem was... I was flashing a zip file with a batch file in it via fastboot XD...
czd777 said:
i figured out what the problem was... I was flashing a zip file with a batch file in it via fastboot XD...
Click to expand...
Click to collapse
You should flash twrp.IMG file via fastboot mode