[Q] Phone unlocked but Fastboot will not flash recovery - HTC One X+

Hello all, I recently started the process of rooting my HTC One X+ and it all went smoothly until it came time to flash a recovery.
I used Windroid Universal toolkit to get started, thinking it would make things easier (not that I haven't rooted a phone before).
I unlocked the bootloader just fine, in the bootloader it gives "*unlocked*".
Next, I tried flashing TWRP with the toolkit, it brings me to bootloader, but when going to HBOOT and hitting recovery, it just brings me back to bootloader. Hmm, weird. So I decide to do it manually, download latest TWRP for evitareul (2.8.5.0), reboot into fastboot.
Execute: fastboot flash recovery twrp-2.8.5.0-evitareul.img
and it gives me this:
"sending 'recovery' (8224 KB)...
OKAY [ 1.115s]
writing 'recovery'...
(bootloader) Format partition SOS done
FAILED (remote: err = 0xa)
finished. total time: 1.153s"
I don't know whether it matters, but when going into HBOOT it pops up with some errors saying something along the lines of unable to access SD or something. It goes too fast to really write it down.
So I think maybe deleting cache would help, and to no avail. I look up online for the error code and nobody seems to have an answer for it. I apologize if this has been answered elsewhere on the forums, I looked for quite some time before posting a new thread. I'm not sure what is going wrong.
My end goal was to flash recovery, make a back up, then flash superSU but if I can't flash recovery then I'm not going to do anything else and risk a brick.
Does anyone know what's up with this error and how to fix it?

You're flashing a wrong recovery.

Coolgoly said:
You're flashing a wrong recovery.
Click to expand...
Click to collapse
What recovery should I be flashing then? My device is Evitare_UL, and I am getting img files from
HTML:
https://dl.twrp.me/evitareul/
.
I have tried other versions to no avail.

Evitareul should only have 2.5 TWRP out....

Related

[Q] Rogers Nandroid backup

is it possible for anyone to post a rogers nandroid back up
i flashed osimod rom buh when i tried flashing the RUU downloaded from http://forum.xda-developers.com/showthread.php?t=1287553
and i keep getting stuck on the error described below, i also tried using the exe and locking the bootloader
C:\android-sdk-windows>fastboot flash zip update.zip
sending 'zip' (456867 KB)...
OKAY [ 39.978s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 40.170s
with bootloader locked and updating updating through .exe i get error on line 8 -Fail-Pu
get partition update fail
Oi vey.
That's not how you update your device. When you get an update.zip for a custom ROM, such as the ones you'll find here on XDA, you need to flash it via ClockworkMod Recovery.
In the Jetstream - Android Development forum you'll find instructions on how to root your device and install the custom recovery image. Once that's done, you'll boot your device into recovery mode, and install your update.zip from there.
I have no idea what "fastboot flash zip" even does. You may have completely screwed your device. That being said, head here: http://forum.xda-developers.com/showthread.php?t=1418084 and follow the instructions to install ClockworkMod Recovery.
I'm not sure just how well that'll work for you. Good luck, sir!
i m able to flash the rom buh it wont boot up when connected to pc it shows the tablet is running but the screen will remain black,
finally able to fix it i went to cwm mounts and storage formatted the system, date and everything tht had format on it and somehow it fixed it, do u have any suggestion on how to flash the stock rom?
http://forum.xda-developers.com/showthread.php?t=1287553
That thread points to a collection of all the RUU's available for download. I haven't had any luck flashing my own, so good luck!
I tried that didn't wrk

Can't flash stock recovery [ATT] [resolved]

Resolved: I had mistaken the stock recovery screen for an error screen. Noob error.
Hey there,
New ATT One X+ user here. First off, wanted to say great job to all the devs! Exciting to see so much progress.
Anyway, I successfully unlocked my phone, flashed TWRP, and installed Elegancia ROM using hasoon2000's tool. Now I would like to revert to the stock recovery, since offmode charging doesn't work for the ATT TWRP yet. However, I'm having an issue: I can't flash a stock recovery back onto my device! (When I try to boot into stock recovery, the red triangle with a "!" pops up)
Here's an outline of what I tried:
1) grabbed the ATT stock recovery from http://forum.xda-developers.com/showthread.php?t=2064295
2) renamed the recovery "recovery.img" and put it in the folder where my fastboot is
3) flashed the recovery using "fastboot flash recovery recovery.img". It looks like it's successful; here's the output:
" sending 'recovery' (7142 KB)... OKAY [ 0.922s]
writing 'recovery'... INFOFormat partition SOS done
OKAY [ 0.389s]"
4) tried booting into recovery, but it shows the red triangle error screen
Now, if I follow the above steps using the TWRP recovery image, I am able to boot back into TWRP. It's odd that the flashing works with TWRP but not with the stock recovery...
Other potentially useful troubleshooting info
- I tried using hasoon's tool to flash the stock recovery, but it has the same results
- my bootloader still says it's "UNLOCKED"
- I also tried running "fastboot erase recovery" before flashing, and it fails with the message: "erasing 'recovery'... FAILED (remote: not allowed)" (nevermind, command doesn't work in S-ON state)
Thanks in advance for any help!
kproto said:
- I also tried running "fastboot erase recovery" before flashing, and it fails with the message: "erasing 'recovery'... FAILED (remote: not allowed)"
Click to expand...
Click to collapse
does not work at S-ON state
skdubg said:
does not work at S-ON state
Click to expand...
Click to collapse
Had a feeling that was the reason, but thought I'd include it just in case it was relevant to the problem. Thanks, will edit original post
Iam wondering too... So how to make this? Any special procedure? To flash back stock recovery?
Wysyłane z mojego HTC One X+ za pomocą Tapatalk 2
kproto said:
Hey there,
New ATT One X+ user here. First off, wanted to say great job to all the devs! Exciting to see so much progress.
Anyway, I successfully unlocked my phone, flashed TWRP, and installed Elegancia ROM using hasoon2000's tool. Now I would like to revert to the stock recovery, since offmode charging doesn't work for the ATT TWRP yet. However, I'm having an issue: I can't flash a stock recovery back onto my device! (When I try to boot into stock recovery, the red triangle with a "!" pops up)
Here's an outline of what I tried:
1) grabbed the ATT stock recovery from http://forum.xda-developers.com/showthread.php?t=2064295
2) renamed the recovery "recovery.img" and put it in the folder where my fastboot is
3) flashed the recovery using "fastboot flash recovery recovery.img". It looks like it's successful; here's the output:
" sending 'recovery' (7142 KB)... OKAY [ 0.922s]
writing 'recovery'... INFOFormat partition SOS done
OKAY [ 0.389s]"
4) tried booting into recovery, but it shows the red triangle error screen
Now, if I follow the above steps using the TWRP recovery image, I am able to boot back into TWRP. It's odd that the flashing works with TWRP but not with the stock recovery...
Other potentially useful troubleshooting info
- I tried using hasoon's tool to flash the stock recovery, but it has the same results
- my bootloader still says it's "UNLOCKED"
- I also tried running "fastboot erase recovery" before flashing, and it fails with the message: "erasing 'recovery'... FAILED (remote: not allowed)" (nevermind, command doesn't work in S-ON state)
Thanks in advance for any help!
Click to expand...
Click to collapse
To be polite I would not flash the recovery he linked, While he may have good intentions all of his other posts I have seen and tried to help deal with have shown a lack of understanding and experience with android. For all I know he is hosting the same file I gave him earlier but incase he isn't please download this recovery: https://www.asuswebstorage.com/navigate/s/665115AABBFA49E783795815A6E5666F4 Go into fastboot and flash it using command prompt with "fastboot flash recovery (recoveryname).img" Please note stock recovery should a picture of a phone down with an alert signal above it. Please note this is for AT&T ONLY
Oh! Well, I feel foolish now -
I had thought the screen with the phone down and a red alert over it was an error screen. I assumed there would be some menu options or something on there; are there not supposed to be?
Just to confirm, I've attached a picture of my phone booting into the stock recovery you posted. Is this how it's supposed to look?
kproto said:
Oh! Well, I feel foolish now -
I had thought the screen with the phone down and a red alert over it was an error screen. I assumed there would be some menu options or something on there; are there not supposed to be?
Just to confirm, I've attached a picture of my phone booting into the stock recovery you posted. Is this how it's supposed to look?
Click to expand...
Click to collapse
That is standard recovery menu.......
Kraizk said:
That is standard recovery menu.......
Click to expand...
Click to collapse
Fantastic. I guess I should have checked out what the recovery looked like initially before flashing TWRP over it. Anyway, thanks for all your help!
Any news on S-OFF?
no s-off for Tegra devices....
At all...for sure?
Sent from my HTC One X+ using xda premium
yes!!!!

Am I bricked?

I was running the latest TRON ROM from Neo with no issues for several days. Tonight, I went to use the camera and it FC'd. It kept doing it so I tried rebooting. It flashed the white screen with the green HTC logo and thats it, it won't go any farther.
I can get to recovery by pulling the battery and using the hard buttons, but recovery is not able to mount the internal or external memory. I cant backup, restore, flash a zip, or do anything really. How could this have happened? Am I bricked?
HELP!
If the phone does anything at all, it is not bricked. (The state it's in is sometimes called a soft brick, though). I believe there are two things you can do: either get an RUU (PH98IMG.zip) onto your SD with a computer (and an SD card reader EDIT: Or the Incredible you mentioned in the ROM thread), then boot up to hboot and let it flash, or try flashing a kernel (boot.img), ROM, or RUU using adb/fastboot.
If you have questions about the first of these processes, I may be able to answer them, but I probably won't be too helpful about the latter since I haven't flashed anything with adb/fastboot in quite a while.
HERE is the latest RUU, by the way.
Thanks, I'll try this out tomorrow.
s-on? Can you boot into the bootloader? Try reflashing the kernel via fastboot.
So I was able to get the latest RUU and flash it using Hboot. The phone booted up into stock. Great news!
However, I am now trying to get custom recovery installed again, but when I try to flash amon ra using "fastboot flash recovery recovery.img" I get the following error:
sending 'recovery' (7074 KB)..
OKAY [ 1.503s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.831s
trud9340 said:
So I was able to get the latest RUU and flash it using Hboot. The phone booted up into stock. Great news!
However, I am now trying to get custom recovery installed again, but when I try to flash amon ra using "fastboot flash recovery recovery.img" I get the following error:
sending 'recovery' (7074 KB)..
OKAY [ 1.503s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.831s
Click to expand...
Click to collapse
Did you re-unlock after running the RUU?
trud9340 said:
So I was able to get the latest RUU and flash it using Hboot. The phone booted up into stock. Great news!
However, I am now trying to get custom recovery installed again, but when I try to flash amon ra using "fastboot flash recovery recovery.img" I get the following error:
sending 'recovery' (7074 KB)..
OKAY [ 1.503s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.831s
Click to expand...
Click to collapse
download this zip and place it on the root of your sd card. it will flash Amon RA through hboot. no need for fastboot commands.
http://androidfilehost.com/?fid=9390248398092764223
mjones73 said:
Did you re-unlock after running the RUU?
Click to expand...
Click to collapse
Just realized that, after doing some research...DOH!
Unlocked and good to go. Thanks!

International Unlocked Atrix - Failed to install CWM recovery

Hi,
I have an unlocked Atrix, and I have successfully performed the following:
1. Rooted the device using SuperOneClick v.2.3.3
2. Installed ROM Manager and installed CWM Recovery
However, I am unable to get into CWM Recovery. I get the following errors, when I try to boot to recovery using the ROM manager:
Code:
Failed to boot 2
Starting RSD mode
I have also attempted to installed the recovery using fastboot method, but also failed to do so. Here are the error messages:
Code:
C:\TEMP\AtrixRecovery>fastboot flash recovery recovery-clockwork-touch-5.8.1.8-olympus.img
sending 'recovery' (3992 KB)...
OKAY [ 0.233s]
writing 'recovery'...
FAILED (remote: (00180002))
finished. total time: 0.297s
I have also lost the Android Recovery as I am unable to have the device respond to me after I tap the bottom right corner after going to Android Recovery. So I cannot perform a hard reset too.
Any advise to help me move along? I would like to install a custom ROM, and if that is not possible I would like to at least return to the stock ROM.
Thanks!
How is rooting relevant?
It seems you forgot to unlock the BL.
ravilov said:
How is rooting relevant?
It seems you forgot to unlock the BL.
Click to expand...
Click to collapse
May be I misunderstood.
Help me understand, I searched for what is the difference between locked and unlocked. My understanding is as long as I can use SIM card from different carrier, I have an unlocked phone, and unlocking is not necessary. Is this wrong?
Assuming I am wrong can you advise how to unlock the BL?
Thanks.
You are very wrong. Rooting has nothing to do with BL unlock, just as BL unlock has nothing to do with SIM unlock.
Please follow the unlock/flash procedures PRECISELY.

Need help installing recovery on XT1526, it's just not working, tried all the methods

EDIT: ALSO, use usb 2.0 ports to flash stuff, usb 3.0 is not working 100 percent yet.
EDIT, 14 Mar 2016: Kingroot got me to root and now I have twrp installed, http://www.kingroot.net/ .
I have a Sprint prepaid Moto E 2015 LTE, XT1526. I did the motorola bootloader unlock, that went fine.
The phone works and is activated on RingPlus, when it boots, I get the Red Warning, Bootloader unlocked, when normally booting.
When I try to flash a recovery to the phone (all that I could find here on XDA), I get this response:
S:\Phones\Moto_E-2015-2ndGen-XT1526\adb-and-fastboot>fastboot devices
TA0XXXXXXX fastboot (edited to take out SN)
S:\Phones\Moto_E-2015-2ndGen-XT1526\adb-and-fastboot>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (12916 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 0.015s
S:\Phones\Moto_E-2015-2ndGen-XT1526\adb-and-fastboot>adb kill-server
I've tried everything, and am providing as much info as I can, in case anyone seeing something that is 'new' or 'different' about my phone.
Double check and be sure you're attempting to flash the TWRP for the Moto E 2015 LTE "Surnia", not "Otus" (which is the Moto E 2015 3G). iirc, I used Squid's TWRP from here: http://forum.xda-developers.com/moto-e-2015/development/twrp-squid-twrp-recovery-moto-e-lte-t3137649 . If 3.0.0 doesn't work, try 2.8.7.
You should also try changing USB ports. I ran into a similar issue where I wasn't able to flash things when I plug into my most often used USB port. I suspect that the contacts got worn from how often I used it, so I tried another USB port and it worked fine.
I have done same procedure as yours and meet same problem yesterday.
I flashed twrp recovery with following command,
fastboot boot recovery.img
instead of
fastboot flash recovery recovery.img
here are the post which I followed.
http://www.xda-developers.com/how-to-root-the-moto-e-2015-and-unlock-the-bootloader-xda-tv/
http://forum.xda-developers.com/moto-e-2015/orig-development/twrp-moto-e-2015-recovery-t3049726
faheyd said:
When I try to flash a recovery to the phone (all that I could find here on XDA), I get this response:
S:\Phones\Moto_E-2015-2ndGen-XT1526\adb-and-fastboot>fastboot devices
TA0XXXXXXX fastboot (edited to take out SN)
S:\Phones\Moto_E-2015-2ndGen-XT1526\adb-and-fastboot>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (12916 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 0.015s
Click to expand...
Click to collapse
Thanks, but not working:
S:\Phones\Moto_E-2015-2ndGen-XT1526\adb-and-fastboot>fastboot boot recovery.img
downloading 'boot.img'...
FAILED (data transfer failure (Unknown error))
finished. total time: 0.009s
S:\Phones\Moto_E-2015-2ndGen-XT1526\adb-and-fastboot>
You can get rid of the warning by method in post 2 of this link
http://forum.xda-developers.com/moto-e-2015/general/guide-unlock-bootloader-moto-e-2015-t3045748
Q1:How to remove the unlocked bootloader message?
Then, flash the twrp recovery again. Make sure you have right recovery.img. here is the one I used.
http://forum.xda-developers.com/devdb/project/?id=8591#downloads
llaalways said:
You can get rid of the warning by method in post 2 of this link
http://forum.xda-developers.com/moto-e-2015/general/guide-unlock-bootloader-moto-e-2015-t3045748
Q1:How to remove the unlocked bootloader message?
Then, flash the twrp recovery again. Make sure you have right recovery.img. here is the one I used.
http://forum.xda-developers.com/devdb/project/?id=8591#downloads
Click to expand...
Click to collapse
I know that, does not help. I've tried that recovery, one from cyanogenmod also, the recovery img is not the problem. Thanks anyway.
go to phone options and turn on USB debugging and when you go to flash it..
- turn off phone.
- hold volume down and power to get to boot loader screen..
Leave it there and connect to PC.
It should be showing you the bootloader screen.. you know what that is right ?
Then open "Minimal ADB and Fastboot" install folder..
Right click empty folder space while holding shift key down..
Select open cmd window here..
type in either,
fastboot devices
or
mfastboot devices
and make sure it says your device is listed
then paste into cmd window..
mfastboot flash recovery recovery.img
make sure your new recovery file has that name and is copied to that fastboot folder.
that should be it..
xpmule said:
go to phone options and turn on USB debugging and when you go to flash it..
- turn off phone.
- hold volume down and power to get to boot loader screen..
Leave it there and connect to PC.
It should be showing you the bootloader screen.. you know what that is right ?
Then open "Minimal ADB and Fastboot" install folder..
Right click empty folder space while holding shift key down..
Select open cmd window here..
type in either,
fastboot devices
or
mfastboot devices
and make sure it says your device is listed
then paste into cmd window..
mfastboot flash recovery recovery.img
make sure your new recovery file has that name and is copied to that fastboot folder.
that should be it..
Click to expand...
Click to collapse
As stated in my OP, I've done all that, but I'll do it again, please look at my pics and post, you'll see I've done all that already:
S:\Phones\Moto_E-2015-2ndGen-XT1526\mfastboot-v2>mfastboot devices
TA00000000 fastboot (edited to change serial number)
S:\Phones\Moto_E-2015-2ndGen-XT1526\mfastboot-v2>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (12916 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 0.007s
S:\Phones\Moto_E-2015-2ndGen-XT1526\mfastboot-v2>
Can a DEV please help ? If I need to go back to stock I'll be glad to do it and then unlock the bootloader again, however, I've posted in two diff forums trying to get someone to tell me the correct SPRINT img to bring back to stock, no answers.
XT1526_SURNIA_USC_5.0.2_LXI22.50-29.1_cid9_subsidy-DEFAULT_CFC.xml
XT1526_SURNIA_REPW_5.0.2_LXI22.50-56-1.1_cid6_subsidy-REPUB_CFC.xml
XT1526_SURNIA_BOOST_5.0.2_LXI22.50-14.8_cid9_subsidy-DEFAULT_CFC.xml
I think it's the boost, but it doesn't have the SPRINT label on it, like my phone.
You just said,
"Can a DEV please help ? If I need to go back to stock I'll be glad to do it and then unlock the bootloader again"
So why would you say that ?
Did you relock your bootloader ?
Maybe that is why you are having a problem ?
I never have relocked mine eh..
And i have had no problem flashing TWRP from Squid.. all his various updates overwriting the old one.
I have flashed a bunch of stock retail recoveries too and all of those worked fine too.
I am curious did you try and load recovery after to see if it actually changed or not ?
EDIT:
Can i ask you exactly what Custom Recovery you are trying to install ?
And did you verify the MD5 hash ?
I always do *if it's available..
xpmule said:
You just said,
"Can a DEV please help ? If I need to go back to stock I'll be glad to do it and then unlock the bootloader again"
So why would you say that ? On other models of phones it has solved a problem of this nature.
Did you relock your bootloader ? Of course not, if you had read the post, you would see that.
Maybe that is why you are having a problem ? No
I never have relocked mine eh.. Good for you, that doesn't help me.
And i have had no problem flashing TWRP from Squid.. all his various updates overwriting the old one.
I have flashed a bunch of stock retail recoveries too and all of those worked fine too. Good for you, that doesn't help me.
I am curious did you try and load recovery after to see if it actually changed or not ? I did, I get an icon with something that says no cmd,
EDIT:
Can i ask you exactly what Custom Recovery you are trying to install ? Surnia and CM's recovery, no difference.
And did you verify the MD5 hash ? Yes.
I always do *if it's available..
Click to expand...
Click to collapse
I've done all those things and tried to post as much info in my OP. Is there a Dev that can help me?
I've now tried to go back to stock in an effort to unlock this biatch using XT1526_SURNIA_BOOST_5.0.2_LXI22.50-14.8_cid9_subsidy-DEFAULT_CFC.xml, and it wont let me do that either. It's not letting me write to the GPT partition. This leads me to believe my phone is NOT unlocked, even though the bootloader shows UNLOCKED BOOTLOADER. Anyone know an answer?
I noticed something a while back when I attempted to flash recovery on a different phone (nexus 6) but failed. I tried a bunch of stuff to no avail. The solution was to simply get a new set of platform tools because mine was too old. Doesn't hurt to try.
Snorbro said:
I noticed something a while back when I attempted to flash recovery on a different phone (nexus 6) but failed. I tried a bunch of stuff to no avail. The solution was to simply get a new set of platform tools because mine was too old. Doesn't hurt to try.
Click to expand...
Click to collapse
Thank you for trying. I just found a post, (and now I can't find it), but the guy went through what I did, and then he used KingRoot, http://www.kingroot.net/ , and it worked.
So, I tried it too, and magic, it worked. I now have root and TWRP installed.
I could have sworn I tried KingRoot, but it must have been on another phone I had.
Are you sure your recovery file is called recovery.img and not twrp.xxx.img? If not you need to rename it
Another problem I had, I was using a USB 3.0 port on my computer. This is a not the way. Using a USB 2.0 port works on flashing stuff.
Hi faheyd, I also have XT1526 on android 5.0.2, but kingroot fails. I was told not to update OS to keep it working in India.
Doess ur phone run on 5.1?
Does USB debugging needs to be activated?
drshreenivaas said:
Hi faheyd, I also have XT1526 on android 5.0.2, but kingroot fails. I was told not to update OS to keep it working in India.
Doess ur phone run on 5.1?
Does USB debugging needs to be activated?
Click to expand...
Click to collapse
I have no idea, hopefully someone that knows will step in and help.

Categories

Resources