I tried to update my TWRP because the touch screen in Aroma installers isnt working. The update failed and now I don't have a recovery. What should I do?
Not nearly enough detail for any of us to help.
What is your current version TWRP?
What TWRP version did you try to update to?
How did you try to update it (fastboot, app, etc)?
Any specific error messages on failure?
Current software and firmware versions?
Hboot number?
Do a fastboot getvar all, and post the output being sure to delete IMEI and serial number)
Bootloader unlocked?
If You have root, try https://play.google.com/store/apps/details?id=com.jmz.soft.twrpmanager
I have a sprint htc one m8 rooted, running Marshmallow Google play edition. I tried to flash the 3 most recent updates and it gave me an error saying I might already have it installed or something went wrong. At the moment I don't have a recovery because the app deleted it. So when I try to go into recovery it never starts and I have to restart the phone. I tried flashing them via fastboot and it says it was successful but it didn't actually work.
You try to install recovery by fastboot?
Yea it was successful but when I try to reboot into recovery in never does.
spencer311 said:
I At the moment I don't have a recovery because the app deleted it.
Click to expand...
Click to collapse
What app?
spencer311 said:
when I try to go into recovery it never starts and I have to restart the phone. I tried flashing them via fastboot and it says it was successful but it didn't actually work.
Click to expand...
Click to collapse
Try fastboot erase cache, and fastboot flash TWRP again. This alone clears up a lot of issues with TWRP not flashing properly.
What version TWRP did you try?
Difficult to help, since you failed to provide hardly any of the info I requested.
spencer311 said:
Yea it was successful but when I try to reboot into recovery in never does.
Click to expand...
Click to collapse
Or use RUU, and try again.
Related
I recently got a htc one m8 that is stuck on the boot screen.
i can get into the bootloader and fastboot seems to work.
I seem to be able to flash twrp but when i reboot into recovery it goes right back to the bootloader
if i reboot normally it goes back to the bootscreen with the green htc logo.
if i try to go to hboot adb doesn't recognize the device.
so i'm stuck now. i've read several tutorials and tried various things but have no idea where to go from here.
i can tell you that the bootloader says its unlocked and that its set to s-on and there is no os installed.
help
jodahall said:
I seem to be able to flash twrp but when i reboot into recovery it goes right back to the bootloader
Click to expand...
Click to collapse
Try fastboot erase cache, and flash TWRP again with fastboot.
What is your hboot number, and what TWRP version are you trying?
Also, was your phone recently updated OTA for the Stagefright patch? If so, its a known issue that this recent update does not work with TWRP for some folks.
jodahall said:
if i try to go to hboot adb doesn't recognize the device.
Click to expand...
Click to collapse
This is as it should be. adb doesn't work in hboot. You need to be booted into OS to use adb, possibly will work in recovery (but you can't boot into recovery, so that doesn't really matter).
my hboot version is 3.19.0.0000
i am trying to flash the latest twrp
I have not gotten the ota, this phone has been sitting in a drawer for about 6 months so nothing new has been applied.
I will try erase the cache and reflash the twrp
jodahall said:
i am trying to flash the latest twrp
Click to expand...
Click to collapse
What number TWRP exactly? And you're sure its the TWRP file for the M8, right?
I ask for the number, since I've seen at least a couple times where the person claims they are trying to use the "latest" or "current" TWRP. But when I ask for more info, it turns out the version is not even close to current.
Best to be specific when talking about version numbers.
Sorry the version I'm trying to install is 2.8.7.0...
The actual filename is twrp-2.8.7.0-m8.IMG
I also tried your advice and from a command window erased the cache and then reflashed. It didn't work this time so I'm downloading some older versions of twrp and will try flashing them.
One question. Does it hurt anything to erase multiple times or for that matter flash a recovery image multiple times. With my old Motorola it was recommended to flash multiple times.
Sent from my A0001 using XDA Free mobile app
oh, it worked. I am one step closer as it booted into the custom recovery.....whoohooo
I ran the command "fastboot format cache" from a dos prompt a couple of times, there were errors the first two times, then the 3rd time it created it without error.
ok onto the next steps that are in Vomers guides....
thanks for all your help
jodahall said:
Sorry the version I'm trying to install is 2.8.7.0...
The actual filename is twrp-2.8.7.0-m8.IMG
Click to expand...
Click to collapse
You are correct, that is latest version (and correct one for the M8). You might re-download just to eliminate the possibility the file wasn't corrupted.
jodahall said:
It didn't work this time so I'm downloading some older versions of twrp and will try flashing them.
Click to expand...
Click to collapse
If you are still intending on doing this, don't try any version older than 2.8.4.0 or so. TWRP versions much older than that, won't work on hboot 3.19. TWRP will install and seem to work fine, but after you flash the ROM, the ROM won't boot.
jodahall said:
One question. Does it hurt anything to erase multiple times or for that matter flash a recovery image multiple times. With my old Motorola it was recommended to flash multiple times.
Click to expand...
Click to collapse
In the technical sense, the emmc chip does have a finite number of times it can be flashed.
But in reality, I think the number of times the emmc can be flashed before failing is (supposedly) something in the thousands.
Of course, things sometimes fail before they are supposed to, and every extra flash may put you closer to that point (in theory). But I don't let that stop me from flashing what I want, whenever I want to. And flashing recovery a few extra times is not going to hurt anything much IMO.
---------- Post added at 03:31 PM ---------- Previous post was at 03:30 PM ----------
jodahall said:
thanks for all your help
Click to expand...
Click to collapse
There's a button for that!
Hi,
I get TWRP running on phone , but when I boot into recovery , I always get the Standard Recovery, only option being a factory reset. Have opted for this factory reset and that is exactly what I get, no TWRP :crying:
Thanks
Also if you reboot to recovery through TWRP itself, it won't stick? If not: Is rooting an option for you? If yes: Try Flashify and flash it through this nifty little app .
MickyFoley said:
If not: Is rooting an option for you? If yes: Try Flashify and flash it through this nifty little app .
Click to expand...
Click to collapse
Thanks,
Yes rooting is where I want to go by means of TWRP and flashing these
Marshmallow custom kernel for root — Link | File: STOCK-20a-ROOTED.zip (16.5 MB)
Click to expand...
Click to collapse
I did have Twrp running on this phone but had to reinstall the full 6.00kdz to get out of a bootloop and since then TWRP won't sick.
thanks
More than one way to skin a cat. went HERE chainfire Systemless Root 2.61 using Running TWRP from PC
Update on getting TWRP to stick. ......... I had success using following
adb reboot bootloader
Click to expand...
Click to collapse
fastboot flash recovery twrp-2.8.7.0-h815.img
Click to expand...
Click to collapse
When done, execute “fastboot reboot”
Click to expand...
Click to collapse
This happened to me, too. Here is what i did:
Boot your device into fastboot mode via adb, straight up boot to recovery ("fastboot boot twrp-2.8.7.0-h815.img"), transfer the recovery image to your device, then flash it from within TWRP (there is an option for that within the normal install menu, its called "install image" or something like that). Hope this helps, it did for me.
Edit: Just realized you already found a solution. Never mind.
Ive the same problem. I unlocked the bootloader by the official procedure. Then i tried to flash twrp but it doesnt install truly. It always appear the stock recovery. I tried also clockrecovery but nothing. No recovery wants to get installed. Pls help me i want a custom rom on my g4
use twrp v2.8.7.0 on 20A mm....... adb reboot bootloader, fastboot boot twrp-2.8.7.0-h815.img, and to double check you have recovery,adb reboot recovery and then flash STOCK-20a-ROOTED
chester2011 said:
use twrp v2.8.7.0 on 20A mm....... adb reboot bootloader, fastboot boot twrp-2.8.7.0-h815.img, and to double check you have recovery,adb reboot recovery
Click to expand...
Click to collapse
Ok the one i tried is the newest. Ill gonna try the one u told me. But the line u wrote wont install twrp it will only boot it
setaf said:
Ok the one i tried is the newest. Ill gonna try the one u told me. But the line u wrote wont install twrp it will only boot it
Click to expand...
Click to collapse
sorry, fastboot flash recovery twrp-2.8.7.0-h815.img, instead of fastboot boot twrp-2.8.7.0-h815.img worked for me after hours and hours of boot loops and restoring
chester2011 said:
sorry, fastboot flash recovery twrp-2.8.7.0-h815.img, instead of fastboot boot twrp-2.8.7.0-h815.img worked for me after hours and hours of boot loops and restoring
Click to expand...
Click to collapse
Also u had problem with the 3.0 ? Ill update you later
setaf said:
Also u had problem with the 3.0 ? Ill update you later
Click to expand...
Click to collapse
yep.. but currently running with xposed and g4 tweaksbox (paid version) nicely
ok update:
finaly i got twrp 2.8.7.0 on my g4 (thanx chester) but i still cannot flash cyanogen.
when i try to do it by recovery i get the error message 7 then when i start the system im in damn bootloop
what i can do ?
flash twrp version 3.0.2.0
setaf said:
ok update:
finaly i got twrp 2.8.7.0 on my g4 (thanx chester) but i still cannot flash cyanogen.
when i try to do it by recovery i get the error message 7 then when i start the system im in damn bootloop
what i can do ?
Click to expand...
Click to collapse
you can upgrade twrp with the twrp manager from playstore (once youve got twrp and root of course)
Unlocked my bootloader with ease dont this many times in the past. Problem i have now is after i install ClockWorkMod and try get into recovery it just freezes.
Sticks on htc screen saying entering recovery.
Any help appreciated.
If it helps im still on stock rom Android version 5.0.2
Nevermind i have managed to fix it.
Hi Junior, What do you do to fix it. because I'm with the same problem.
After upload the "twrp3.0.0.1.img" I select the Recovery, but nothing happen the Phone does not restart in TWRP graphic mode.
phone: HTC M8 - Unlocked
C:\>fastboot devices
FA56JYS01352 fastboot
C:\>fastboot erase cache
erasing 'cache'...
OKAY 0.023s
finished. total time: 0.023s
C:\>fastboot flash recovery twrp-3.0.0-1-m8.img
sending 'recovery' (20022 KB)...
OKAY 2.068s
writing 'recovery'...
OKAY 0.586s
finished. total time: 2.655
kruivo said:
After upload the "twrp3.0.0.1.img" I select the Recovery, but nothing happen the Phone does not restart in TWRP graphic mode.
Click to expand...
Click to collapse
Try to wipe cache again, and install TWRP 3.0.0.0. The version 3.0.0.1 is really new, so maybe there are some issues.
I believe it is another issue...
redpoint73 said:
Try to wipe cache again, and install TWRP 3.0.0.0. The version 3.0.0.1 is really new, so maybe there are some issues.
Click to expand...
Click to collapse
I've tried with all the images below:
twrp-2.7.0.1-m8
twrp-2.7.0.2-m8
twrp-2.8.5.0-m8
and the problem is the same... after upload the recover image, I select RECOVERY in my phone but nothing happen
You might want to give HTC-fastboot.exe a try. I've had troubles flashing the recovery as well with the standard ADB toolset.
You should be ablo to find the HTC fastboot utility somewhere around here
kruivo said:
I've tried with all the images below:
twrp-2.7.0.1-m8
twrp-2.7.0.2-m8
twrp-2.8.5.0-m8
and the problem is the same... after upload the recover image, I select RECOVERY in my phone but nothing happen
Click to expand...
Click to collapse
Pretty sure TWRMP version 2.7 are known to cause problems with Android 5 or later; and not booting into recovery is the known result. TWRP 2.8.5 might be okay, but I'm not sure. I'd try 2.8.7 or (as I already mentioned) 3.0.0.0.
redpoint73 said:
Pretty sure TWRMP version 2.7 are known to cause problems with Android 5 or later; and not booting into recovery is the known result. TWRP 2.8.5 might be okay, but I'm not sure. I'd try 2.8.7 or (as I already mentioned) 3.0.0.0.
Click to expand...
Click to collapse
I tried almost everything, now I will try via Linux.
because via adb I did not get hit "device not found" (tried all drives and nothing happened) only via fastboot I got connection. I believe I first need to remove the S-ON.
kruivo said:
I tried almost everything, now
Click to expand...
Click to collapse
But did you try what I told you to? Meaning TWRP 2.8.7 or 3.0.0?
"I tried everything" doesn't tell us what you actually did or did not do.
kruivo said:
because via adb I did not get hit "device not found" (tried all drives and nothing happened) only via fastboot I got connection.
Click to expand...
Click to collapse
Doesn't matter, since fastboot is what you need for installing TWRP.
kruivo said:
I believe I first need to remove the S-ON.
Click to expand...
Click to collapse
Why do you think that? Folks always jump to the conclusion that s-off is the magical answer to all their problems. S-off doesn't have any bearing on the ability to install custom recovery, or whether you can connect to adb or not.
Waste $25 is you want (as sunshine is the only working s-off method), but it won't solve your problem.
redpoint73 said:
But did you try what I told you to? Meaning TWRP 2.8.7 or 3.0.0?
"I tried everything" doesn't tell us what you actually did or did not do.
Doesn't matter, since fastboot is what you need for installing TWRP.
Why do you think that? Folks always jump to the conclusion that s-off is the magical answer to all their problems. S-off doesn't have any bearing on the ability to install custom recovery, or whether you can connect to adb or not.
Waste $25 is you want (as sunshine is the only working s-off method), but it won't solve your problem.
Click to expand...
Click to collapse
Yes, I tryed 2.8.7 and 3.0.0, but dosen't work. After select RECOVEY , the phone vibrates and nothing happens, forcing a physical reboot it gets stuck on the HTC home screen.
Do fastboot getvar all, and post the output (delete IMEI and serial number before posting) so we can see more info about the device.
Something else is going on here.
I was on GPe so today i changed CID to SuperCID and my model is 0P6B13000,installed new firmware by given method in convertion post,installed TWRP and had no problem,but during factory reset i get Failed to mount /system (Invalid argument).Btw,after that i was able to boot in LineageOS,but was unable to boot into S-ROM,which i tried before flashing LineageOS.Also,i was unable to flash Stock Backup.Any ideas what's going on?
Fixed it.you can delete this
No idea if the comversion post is still valid for current firmware as I don't know which one you refered to.
It' a simple process - (after SuperCID done)
1. Install 6.xx firmware
2. Install latest TWRP 3.x
3. Boot to recovery (TWRP) - select wipe, advance, select format data - type yes. Then main menu select reboot - recovery
4. Once in recovery again you can install any ROM that you like.
To revert to Gpe, same process but using Gpe firmware for no. 1 and follow the rest
ckpv5 said:
No idea if the comversion post is still valid for current firmware as I don't know which one you refered to.
It' a simple process - (after SuperCID done)
1. Install 6.xx firmware
2. Install latest TWRP 3.x
3. Boot to recovery (TWRP) - select wipe, advance, select format data - type yes. Then main menu select reboot - recovery
4. Once in recovery again you can install any ROM that you like.
To revert to Gpe, same process but using Gpe firmware for no. 1 and follow the rest
Click to expand...
Click to collapse
Well i used just the Instructions,not the old firmware.I flashed 6.xx firmware(From your collection) . Did it all but can't install S-ROM(only this one).I guess it's just ROM problem.Don't know.Btw i got stock twrp backup from your collection,but twrp doesnt recognize it(i have it on my ExSDCard,yes).Any ideas about that?
Did you do no. 3 ? That's very important.
What color is the bootloader now ? What is written on bootloader OS - xxxxxxx, any double no. ?
To restore a nandroid, you need to extract the zip and place it in right location as explained in its instruction on post #1.
In other thread you mentioned to convert it to tmob us.. why don't just use RUU ?
ckpv5 said:
Did you do no. 3 ? That's very important.
What color is the bootloader now ? What is written on bootloader OS - xxxxxxx, any double no. ?
To restore a nandroid, you need to extract the zip and place it in right location as explained in its instruction on post #1.
Click to expand...
Click to collapse
http://imgur.com/a/uNK34
I forgot making backup of only boot and then pasting your stock backup.I'll try it now .btw thats my bootloader
ckpv5 said:
Did you do no. 3 ? That's very important.
What color is the bootloader now ? What is written on bootloader OS - xxxxxxx, any double no. ?
To restore a nandroid, you need to extract the zip and place it in right location as explained in its instruction on post #1.
In other thread you mentioned to convert it to tmob us.. why don't just use RUU ?
Click to expand...
Click to collapse
Another error occured during restoration. extractTarFor() process ended with ERROR:255
Which version TWRP that you installed ?
Used to get that error due to wrong version.
You can try 2.8.7.0 but don't accept any root offered by twrp.
Also you can try RUU - http://www.htc.com/us/support/htc-one-m8-t-mobile/news/
RUU will usually fix all errors unless it's hardware problem
Another thing .. you do not answer my previous question .. did you do no. 3 when doing conversion ?
ckpv5 said:
Which version TWRP that you installed ?
Used to get that error due to wrong version.
You can try 2.8.7.0 but don't accept any root offered by twrp.
Also you can try RUU - http://www.htc.com/us/support/htc-one-m8-t-mobile/news/
RUU will usually fix all errors unless it's hardware problem
Click to expand...
Click to collapse
Version is the newest one(3.1.1.0).I'll give a try with other version.
And about the question,yes i did step 3
I'm downloading RUU now.I guess everything will be OK.
RaZaR1998 said:
To use RUU bootloader needs to be relocked,right?
Click to expand...
Click to collapse
Not needed for S-Off device.
What you need :
Windows with usb 2.0
Latest htc usb drivers installed which you can get by installing latest htc sync manager (then uninstall syc manager but leave the drivers)
A note about S.ROM - it may have alter your system partitiom & firmware because yours is S-Off. Always advisable to reflash firmware before installing other ROM. RUU will fix these.
ckpv5 said:
Not needed for S-Off device.
What you need :
Windows with usb 2.0
Latest htc usb drivers installed which you can get by installing latest htc sync manager (then uninstall syc manager but leave the drivers)
A note about S.ROM - it may have alter your system partitiom & firmware because yours is S-Off. Always advisable to reflash firmware before installing other ROM. RUU will fix these.
Click to expand...
Click to collapse
Thanks a lot,again
ckpv5 said:
Not needed for S-Off device.
What you need :
Windows with usb 2.0
Latest htc usb drivers installed which you can get by installing latest htc sync manager (then uninstall syc manager but leave the drivers)
A note about S.ROM - it may have alter your system partitiom & firmware because yours is S-Off. Always advisable to reflash firmware before installing other ROM. RUU will fix these.
Click to expand...
Click to collapse
I've just run RUU and ERROR occured around 50%.Now i'm left without everything ... Any way to get at least the stock recovery and stuff so i can get back to bootloader?
What error that you have ?
To get back to bootloader, press & hold both power & vol up buttons. When it turns black, release both buttons & press and hold vol down button only.
Also you can try to run command fastboot reboot-bootloader
Once on bootloader try to flash firmware again. (Your current bootloader has modified dsp which I believe comes from S.ROM)
I don't remember what was the number of error,but now i get htc logo with four exclamation marks(one in each corner)... when i fastboot reboot bootloader this screen appears.I ran RUU twice,same happend both times...
When you said this
but during factory reset i get Failed to mount /system (Invalid argument)
Did you do factory reset on bootloader while TWRP was installed instead of stock recovery ? AFAIK you're not supposed to factory reset on bootloader with TWRP installed unless it is stock recovery
---------- Post added at 06:02 PM ---------- Previous post was at 06:00 PM ----------
RaZaR1998 said:
I don't remember what was the number of error,but now i get htc logo with four exclamation marks(one in each corner)... when i fastboot reboot bootloader this screen appears.I ran RUU twice,same happend both times...
Click to expand...
Click to collapse
That's RUU mode .. try the buttons press & hold method to get back to bootloader
I did Factory Reset before flashing TWRP.Now as you told me i flashed firmware again.Now my bootloader seems fine.I still dont get why RUU doesn't work.I'm S-OFF with unlocked Bootloader and as you said,re-locking is not needed.I don't get what's going on here ;d
Your first post made me understand that you factory reset after TWRP was installed .. because your problem always related to that.
Maybe try a different RUU, try the Developer Edition RUU.
Before that can you try to restore nandroid backup again using twrp 2.8.7.0 and see the error 255 still there.
Also you mentioned you can install LineageOS ?
How about installing other Sense ROM (other than S.ROM), try that too.
ckpv5 said:
Your first post made me understand that you factory reset after TWRP was installed .. because your problem always related to that.
Maybe try a different RUU, try the Developer Edition RUU.
Before that can you try to restore nandroid backup again usin twrp 2.8.7.0 and see the error 255 still there.
Also you mentioned you can install LineageOS ?
Click to expand...
Click to collapse
Well yes i could install LineageOS and RessurectionRemix (honestly i dont like them).I'll try stock backup with an older TWRP.
Now i got new TWRP but it doesnt show internal storage.is this normal?
RaZaR1998 said:
I'll try stock backup with an older TWRP.
Now i got new TWRP but it doesnt show internal storage.is this normal?
Click to expand...
Click to collapse
That's not normal. This is where you need to format data in twrp then reboot to recovery again. You should see internal storage
I'm using the fastboot binary from HTC's website. I tried to use it to boot TWRP without flashing it, but in download mode, it just hangs forever after saying "Flash images success (1/1)" and "Start downloading", with the cursor stuck on the second of those. The fastboot command is also hung, after printing "booting..." I eventually have to force reset the phone using all 3 buttons.
I also tried it from the bootloader screen and that just fails immediately, saying "booting... FAILED (remote: unlock device to use this command)" even though I'm unlocked (and S-OFF).
The reason I'm doing this btw is so I can try to back up the stock recovery before overwriting it with TWRP, but I don't know how to do that without root, for which I need TWRP... so if anyone knows another way, that'd be great too!
supeRUUser said:
I'm using the fastboot binary from HTC's website. I tried to use it to boot TWRP without flashing it, but in download mode, it just hangs forever after saying "Flash images success (1/1)" and "Start downloading", with the cursor stuck on the second of those. The fastboot command is also hung, after printing "booting..." I eventually have to force reset the phone using all 3 buttons.
I also tried it from the bootloader screen and that just fails immediately, saying "booting... FAILED (remote: unlock device to use this command)" even though I'm unlocked (and S-OFF).
The reason I'm doing this btw is so I can try to back up the stock recovery before overwriting it with TWRP, but I don't know how to do that without root, for which I need TWRP... so if anyone knows another way, that'd be great too!
Click to expand...
Click to collapse
You can't. Read twrp FAQ.
yldlj said:
You can't. Read twrp FAQ.
Click to expand...
Click to collapse
I don't see anything at twrp.me/FAQ about this...
Are you saying there is no way to make a backup of the stock recovery, at all? How do the ones posted here get made?
supeRUUser said:
I don't see anything at twrp.me/FAQ about this...
Are you saying there is no way to make a backup of the stock recovery, at all? How do the ones posted here get made?
Click to expand...
Click to collapse
You need 2 phones.
Taken from twrp faq
6. How do I backup stock recovery prior to flashing TWRP? You can't. The "fastboot boot" command appears to be disabled on the 10's ABOOT, so TWRP must be fastboot flashed over stock recovery. You can however, extract the stock recovery.img from the OTA firmware.zip when it's received and use that to install the OTA.
[*]An alternate method to obtain a stock recovery is listed below, but it requires 2 devices (either owned by you, or help from someone else in the forum):
Someone fastboot flash twrp and immediately make a backup of boot and upload it to XDA.
Once the above is available, someone else download that boot.img to their device, and fastboot flash twrp to the BOOT partition of their device.
Once the above is done, reboot the device, which will bring up TWRP, and then backup stock RECOVERY in TWRP, and upload to XDA.
Then, from within TWRP, use the Image install feature in TWRP to flash the stock boot.img
They're probably pulled from the RUUs.
Barracuz said:
They're probably pulled from the RUUs.
Click to expand...
Click to collapse
Yep. That's how I get stock recoveries for people who need them.
---------- Post added at 08:24 AM ---------- Previous post was at 08:20 AM ----------
supeRUUser said:
I don't see anything at twrp.me/FAQ about this...
Are you saying there is no way to make a backup of the stock recovery, at all? How do the ones posted here get made?
Click to expand...
Click to collapse
Download the latest RUU for your model, and use nkk71's RUU decrypt tool to extract the firmware (with the -f flag). The stock recovery will be in there.
Duh, OK, that should have been obvious. Thanks.
supeRUUser said:
Duh, OK, that should have been obvious. Thanks.
Click to expand...
Click to collapse
It's not obvious if you don't know about the decrypt tool, and a lot of people don't. You're welcome