So I've been trying the past couple weeks to root and flash my M9 (AT&T) to no avail. I have ADB, fastboot, sdk and the htc drivers installed on my computer. Thing is, moonshine keeps giving me an error after checking for updates, sunshine is unable to gain temproot, adb won't flash twrp because I have s-on, RUU updates keep failing and I can't get OTA updates to install. I'm on android 5.0.2 with firmware version 1.32.502.9 and did the HTC DEV process to unlock the bootloader. Any help will be much appreciated.
re-lock your bootloader with "fastboot oem lock" then you can run RUU and update it to latest firmware.
After that write a message and I'll help you with root, twrp, etc..
Thanks for the response. I'll get on it sometime this evening. All I'm concerned about is getting twrp installed so I can use it to flash a custom rom with su already installed and all the bloat are removed.
Donnie267 said:
Thanks for the response. I'll get on it sometime this evening. All I'm concerned about is getting twrp installed so I can use it to flash a custom rom with su already installed and all the bloat are removed.
Click to expand...
Click to collapse
Yeah, but first you need to update the firmware to latest(nougat) because with 5.0.2 firmware you can flash only lollipop and maybe some marshmallow roms and I don't think you want an old rom.
Also you don't need S-OFF for root, twrp, custom roms, so don't buy it if you really don't need it.
That's the thing. Every time I've tried flashing twrp, adb spat an error saying that it couldn't because I have S-on.
Donnie267 said:
That's the thing. Every time I've tried flashing twrp, adb spat an error saying that it couldn't because I have S-on.
Click to expand...
Click to collapse
Hmm that's weird, maybe you did something wrong.
You need to boot in download mode(download not bootloader) and do this command "fastboot flash recovery path/to/recovery.img" but first you need unlocked bootloader with htcdev.
Two important information:
A) The bootloader doesn't need to be locked or relocked for flashing a RUU on the M9. (Due to FRP I actually highly discourage everyone from relocking if you tinkered with this phone and don't know whether the RUU you want to flash is actually flashable on your phone. In other words, everytime you haven't already flashed the RUU successfully on your phone, before.)
B) You can't flash Nougat RUUs on a M9 with a non-Nougat firmware due to the different encryption keys.
Please take a look at the ReadMe thread if you need/are interested in more details.
Edit: And yes, that error always appears if you try to flash TWRP while the phone is booted to the bootloader.
Sent from my HTC One M9 using XDA Labs
1: I did some poking around on other threads here and found that I need to go to marshmallow to be able to go to nougat. Only ruu I've been able to find is the Verizon version and I need the one for AT&T if any of you have a link to one.
2: all I need is to get twrp on my phone and I'll he gravy. If any of you know how or where to find the process of flashing twrp WITHOUT rooting. That would be great.
Have you read the ReadMe thread? It contains a huge collection of RUUs and instructions for flashing TWRP. BTW, rooting is never needed for flashing TWRP. It's the other way round. You need TWRP for being able to flash SuperSU or Magisk.
Sent from my HTC One M9 using XDA Labs
Of course I have. Every last one of them says to use adb to flash twrp which 100% of the time says it failed because I have S-on as stated in my original post.
As mentioned before, that error occurs if you booted your phone to the bootloader instead of the download mode. Follow the instructions in the ReadMe thread and flash TWRP while your phone is booted to the download mode.
Sent from my HTC One M9 using XDA Labs
Finally got twrp installed and flashed the rooted developer edition running lollipop. Problem now is when I try a ton running marshmallow or nougat, my phone boots directly to bootloader. Any ideas why?
Android M roms require firmware 3.x and Android N can be used on at least firmware 3.x but are recommended to be used on firmware 4.x.
If you use older firmware versions the roms won't boot as @lucyr03 explained in one of the first replies in this thread.
Sent from my HTC One M9 using XDA Labs
Right. Now, would I be able to just jump right to the latest firmware, or do incremental updates and where can I get the necessary files?
The files are in the ReadMe thread.
You can jump to the latest 3.x firmware via a RUU. Due to the new encryption keys you can't use 4.x RUUs, though. You'll need to update from 3.x to 4.x via the software update function of the phone settings. Be aware that AT&T only let's you download updates for their branded phones if you own an AT&T sim card.
Sent from my HTC One M9 using XDA Labs
I'm using rooted developer edition Ron and every time I try updating, I get a message saying that my phone has been modified and can't update and the only ruu files on the HTC site are for nougat.
You can't update that custom rom you're using because its rom base doesn't match your phone's firmware. That's why you face that error message.
As written before, read the ReadMe thread.
Sent from my HTC One M9 using XDA Labs
I'm using rooted developer edition Ron and every time I try updating, I get a message saying that my phone has been modified and can't update and the only ruu files on the HTC site are for nougat.
Can you comment the link to the Readme?
Related
I have the international version of the HTC One M8 so At&T I have 4.4.2 but I want to get Lollipop. I've looked into it and it seems I have a long list of upgrades to make. I have to first update my hboot somehow to the latest one so I can get a newer version of TWRP because I can't use those right now, I just get stuck booting into recovery. To do that I need to update my firmware so I looked into a firmware.zip package but it says I need to relock my bootloader. I'm not particularly willing to have to go through that process. Once I get a newer hboot I need the latest recovery to then flash the update? I'm really confused about all the things I need to do and I need a step by step of things I need to do in order because I don't want to end up bricking my phone somewhere along the way. I've never updated hboot or my firmware I don't think I've just been using AOKP rom with an older recovery TWRP. How do I update all my firmware/software to the latest possible for my HTC One M8? I think the main reason I'm lost is because I don't know what to start with. Right now just pretend I have just my old rom and recovery, where do I go from there? Also I want to get the latest Venom Rom for the M8 if that means anything. They require 5.x.x firmware
Also I probably put this thread in the long location -_-
Tetrisvoid said:
I have the international version of the HTC One M8 so At&T I have 4.4.2 but I want to get Lollipop. I've looked into it and it seems I have a long list of upgrades to make. I have to first update my hboot somehow to the latest one so I can get a newer version of TWRP because I can't use those right now, I just get stuck booting into recovery. To do that I need to update my firmware so I looked into a firmware.zip package but it says I need to relock my bootloader. I'm not particularly willing to have to go through that process. Once I get a newer hboot I need the latest recovery to then flash the update? I'm really confused about all the things I need to do and I need a step by step of things I need to do in order because I don't want to end up bricking my phone somewhere along the way. I've never updated hboot or my firmware I don't think I've just been using AOKP rom with an older recovery TWRP. How do I update all my firmware/software to the latest possible for my HTC One M8? I think the main reason I'm lost is because I don't know what to start with. Right now just pretend I have just my old rom and recovery, where do I go from there? Also I want to get the latest Venom Rom for the M8 if that means anything. They require 5.x.x firmware
Also I probably put this thread in the long location -_-
Click to expand...
Click to collapse
You better run a RUU.exe file of latest official HTC's ROM (Lollipop). If you have an unlocked bootloader, the best option would be to be S-OFF so you could flash any RUU without relocking the bootloader.
Remember than flashing a RUU will update your firmware, radio and hboot but will erase your phone's content.
Once your device is updated, you just have to reflash TWRP (latest version) and flash the ROM you want.
EDIT: If you manage to get S-OFF you could simply flash latest firmware directly. I would highly recommend you to use Sunshine. It's a paid app but it worth it.
Enviado desde mi HTC One M8 mediante Tapatalk
Ok I will try that
SergioRmz said:
You better run a RUU.exe file of latest official HTC's ROM (Lollipop). If you have an unlocked bootloader, the best option would be to be S-OFF so you could flash any RUU without relocking the bootloader.
Remember than flashing a RUU will update your firmware, radio and hboot but will erase your phone's content.
Once your device is updated, you just have to reflash TWRP (latest version) and flash the ROM you want.
EDIT: If you manage to get S-OFF you could simply flash latest firmware directly. I would highly recommend you to use Sunshine. It's a paid app but it worth it.
Enviado desde mi HTC One M8 mediante Tapatalk
Click to expand...
Click to collapse
I looked into sunshine but I can't get it. I did get a copy of firewater though somehow but I've tried to run the commands to use firewater but after the last command ("yes") my adb runs into some sort of loop where it prints "y" repeatedly and I can't enter commands because it replaces what I type with a y and you can watch what you typed fly away. Is there any other way to s-off other than Sunshine that actually works?
I'm kind of forced into having to pay for Sunshine. There is no other way for the version I'm on. Will do and return with an update. Might take a while though
I needed to switch to a more stocky rom for sunshine to work, i got android revolution and apparantly i'm already on lollipop?? it says 5.0.1 but that can't be right...
SergioRmz said:
You better run a RUU.exe file of latest official HTC's ROM (Lollipop). If you have an unlocked bootloader, the best option would be to be S-OFF so you could flash any RUU without relocking the bootloader.
Remember than flashing a RUU will update your firmware, radio and hboot but will erase your phone's content.
Once your device is updated, you just have to reflash TWRP (latest version) and flash the ROM you want.
EDIT: If you manage to get S-OFF you could simply flash latest firmware directly. I would highly recommend you to use Sunshine. It's a paid app but it worth it.
Enviado desde mi HTC One M8 mediante Tapatalk
Click to expand...
Click to collapse
Hi I'm having issues getting a rom that Sunshine supports. Currently I switched over to an old CM11 build for 4.4.x hoping Sunshine would take it but it isn't close enough to stock, and I can't find a single stock rom that isn't an RUU requiring S-Off. I've searched around many threads, http://forum.xda-developers.com/showthread.php?t=2694994 seemed close but it doesn't have what I need. Could you help me solve this issue? Also when I flashed CM11 and booted things were crashing in a loop and after restart it seems to be working no issue, except that google play services isn't supported, so i'm assuming Gapps failed somehow. I'm not planning to stick to CM for long I just need to find a rom that sunshine will take.
ok i found and flashed a nandroid that is appropriate.
I have s-off now.
New problem:
All RUU files I try do not work.
I'm trying to flash a new RUU but the file is too big for Fastboot. I found a method where you copy the zip to the ext_sd and I did that and my phone crashed or something, it went to a black screen and I simulated the battery pull and rebooted. The file was no longer in ext_sd. I'm going to try this again and watch what happens....
this has been a long headache (7 hours straight now)
alright i'm copying and my phone froze completely. currently stuck. Its at 66% transfer
alright something is happening. Screen went dark again, but now the stock wallpaper for the M8 is covering the screen, maybe the launcher restarted and got stuck.
and now the screen is dark again. This isn't working out.
I tried using an RUU exe file rather than a zip, but it stopped in the middle of flashing and said it failed, and that I was using the wrong RUU, when that was the only one available for my ID
I'm really tempted to go into TWRP and flash the zip manually...
Hi All,
I have a UK HTC One M8, rooted, S-off, and with ViperOne installed, an old version - 1.8.0
I have flashed a new firmware in order to update ViperOne, and I have lost root access. I used root checker app to verify.
I used this method to flash the firmware:http://forum.xda-developers.com/showthread.php?t=2696282
I obtained the firmware from here: http://android-revolution-hd.blogspot.co.uk/p/android-revolution-hd-mirror-site-var.html
I had changed the cid to supercid, as I am S-off, and i checked that the modelid was correct in "android-info.txt"
The flash went fine, no errors, phone turned on first time, but root access is lost.
This thread I just found says that upgrading the firmware will always cause you to lose root. This is surprising as it wasn't mentioned in any of the guides I read to flashing firmware.
http://forum.xda-developers.com/showthread.php?t=2417442
I was wondering if somebody knowledgeable could reassure me that everything is fine, and perhaps point me to the most appropriate method for getting root access back. I am a little out of my depth here, I learned how to do most of this stuff a year ago when i first rooted, but I haven't been back to update since then, and have forgotten a lot of what I learned before.
Would appreciate any assistance you can offer
Cheers
Will
Willr01 said:
This thread I just found says that upgrading the firmware will always cause you to lose root. This is surprising as it wasn't mentioned in any of the guides I read to flashing firmware.
http://forum.xda-developers.com/showthread.php?t=2417442
Click to expand...
Click to collapse
Different device manufacturers do things in very different ways, so I wouldn't take that thread to mean anything, one way or another, regarding losing root when updating firmware. I also think in that thread, they may be talking about firmware = ROM (as opposed to something very different on HTC devices). In which case, yes, installing a stock ROM will in fact usually remove root on most Android devices.
In any case, see if you still have TWRP installed. That depends on whether the firmware package was modified or not to remove the stock recovery. If TWRP was replaced by stock recovery, simply install TWRP again using your method of choice (personally I prefer installing by fastboot). Then download the SuperSU zip to your phone from here and flash in TWRP.
In reality, I think you may not even have to download SuperSU. If you boot into TWRP and select reboot, I believe TWRP will automatically sense your ROM is not rooted, and ask you if you want it to do so. But I'm not 100% on that, and the SuperSU method is a sure thing.
Thanks a lot for your input. I don't have a recovery installed, so I have tried to flash twrp.
I tried flashing it twice, after reading it can be necessary to do that, and erasing the cache before attempting to boot to recovery. When I try and enter recovery, I get stuck on the startup htc screen with "Entering Recovery..." in pink.
Snippets off other threads have suggested my hboot might not be compatible with the new version of twrp. Is it straightforward to update hboot?
Thanks in advance
Willr01 said:
Snippets off other threads have suggested my hboot might not be compatible with the new version of twrp. Is it straightforward to update hboot?
Click to expand...
Click to collapse
Updating your firmware updates the hboot. 3.19 is the current hboot, and you can check no the bootloader screen.
Make sure its a current version TWRP (2.8.7.0) and I think the opposite is also true (old versions of TWRP don't work with current hboot).
And to clarify, you want to fastboot erase cache, then flash TWRP; as this often clears up issues with TWRP not installing properly.
redpoint73 said:
Updating your firmware updates the hboot. 3.19 is the current hboot, and you can check no the bootloader screen.
Make sure its a current version TWRP (2.8.7.0) and I think the opposite is also true (old versions of TWRP don't work with current hboot).
And to clarify, you want to fastboot erase cache, then flash TWRP; as this often clears up issues with TWRP not installing properly.
Click to expand...
Click to collapse
So my hboot is 3.16, and the twrp was the latest version. I guess i need to find a more up to date firmware file. Any suggestions as to the best sources for firmware?
Willr01 said:
So my hboot is 3.16, and the twrp was the latest version. I guess i need to find a more up to date firmware file. Any suggestions as to the best sources for firmware?
Click to expand...
Click to collapse
What exactly did you flash from the Android Revolution website (what you linked in the top post)?
That website has up-to-date firmware, but what you want is 4.xx version firmware, found under the "Firmware collection" link on that webpage.
Since your hboot number is 3.16, you either did not properly flash a firmware (flashed something else) or flashed a really old firmware (hboot 3.16 corresponds to firmware version 1.xx).
I have an HTC One M9 (Telus Canadian phone) Unlocked with S-OFF.
Rooted with SuperSU and TWRP v2.8.7.0.
I really wanna update my ROM to Android 6.0 but my current firmware version (which I believe is 3.10) is stopping me from doing so. I tried to upgrade my firmware by following the steps on HTC's website but it didn't work.
How do I go about upgrading my firmware?
Hello, You have to be stock to have OTA working
As you're S-off, best way is to flash a RUU.
After OTA you have to install Twrp and SuperSu again to be root...
You are s-off, you should be able to flash an unsigned zip and be done with it.
Sent from my HTC One M9 using Tapatalk
I'm a little bit confused about the steps I actually need to take. If I flash the right RUU, it will replace my Boot, ROM and Recovery? So the phone will be completely stock? If so, where do I find the right RUU for my phone?
Oh... I wasn't aware that I flash the firmware manually. But where do I find the firmware file? Would you be able to send me a link?
my device is s-off, bootloader unlocked.
As i understand process, for me it should be like that.
Stock htc rom 5.0.1, flash original recovery with adb. and get OTA updates?
If it like that, can someone share i link for stock lollipop rom, the one i can flash from twrp?
and stock recovery from this version of rom?
All link seems dead that i found here in guides.
And also In some guides they say i need to lock bootloader to succesfully update firmware part when i upgrade from 5.x.x to 6.x.x is it true?
Post fastboot getvar all result (without serial & imei no.) to see your current firmware.
If it is GSM you can find stock backup here :
http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
Or maybe a RUU is available.
No.. you don't need to relock bootloader (especially for S-Off device)
was bored and found old 4.2.2 zip.
then reflashed recovery from that zip. OTA didnt worked so i downloaded RUU_M8_UL_M60_SENSE70_MR_BrightstarUS_WWE_6.12.1540.4.exe from HTC site.
It did not flashed, different errors. Then i downloaded RUU_M8_UL_L50_SENSE60_MR_HTC_Europe_4.16.401.10_Radio_1.25.214500021.06G_20.68.4196t.01_F_release_417003_signed
it flashed correctly. And tryed again with that ruu m60, stuck at eror 155, to i made fastboot oem relock. and all was fine after that.
bizid said:
was bored and found old 4.2.2 zip.
Click to expand...
Click to collapse
If you were "bored" you should have spent your time providing the info that ckpv5 asked for, then we could have given you specific direction on what to flash.
bizid said:
RUU_M8_UL_M60_SENSE70_MR_BrightstarUS_WWE_6.12.1540.4.exe from HTC site.
It did not flashed, different errors.
Click to expand...
Click to collapse
You need to have the MID/CID for the US Developer's Edition to flash this. I wish folks would stop to determine what specific RUU to flash, instead of constantly trying this one. Just because the description on HTC's RUU websits says "Unlocked" does not mean it will work for any SIM unlocked M8. It also says "Develops" and you certainly don't have that version.
when i got answer it was too late already.
and this ruu was only available for download from htc website. and yes i only see now that there is US in this long name
and i flashed it somehow wo changing this things i only did what i said before.
Hi guys,
I've updated my M9 to 7.0 through OTA update. After installing my phone boots directly in to the bootloader. I can enter download and recovery mode without any trouble but that's about it. When i try to boot in to the phone it boots back to the bootloader. My phone is S-ON so i can't flash a RUU through ADB, however the phone is unlocked.
I tried to flash a RUU through the external micro SD card method but that failed because the firmware is lower than my firmware.
Current M9 Status:
*Unlocked*
S-On
Firmware 4.14.401.7
Stuck in bootloader/recovery/downloadmode
I tried everything to my knowledge. Is there someone who encountered the same problems as i do? Or is there someone who knows a solution to all of this?
ruubs said:
Hi guys,
I've updated my M9 to 7.0 through OTA update. After installing my phone boots directly in to the bootloader. I can enter download and recovery mode without any trouble but that's about it. When i try to boot in to the phone it boots back to the bootloader. My phone is S-ON so i can't flash a RUU through ADB, however the phone is unlocked.
I tried to flash a RUU through the external micro SD card method but that failed because the firmware is lower than my firmware.
Current M9 Status:
*Unlocked*
S-On
Firmware 4.14.401.7
Stuck in bootloader/recovery/downloadmode
I tried everything to my knowledge. Is there someone who encountered the same problems as i do? Or is there someone who knows a solution to all of this?
Click to expand...
Click to collapse
Some questions:
Did you have a completely stock device when you applied the OTA?
Did it ever successfully boot into Nougat, or did the OTA immediately result in the current condition?
I wonder if you could either flash TWRP or use it via your computer (there's a way to run it in your phone without installing it) so that you could apply the OTA again. I'm not sure if it would fix whatever went wrong, though.
Alternatively, you could flash a ROM (again, via TWRP), obtain S-OFF, change your MID & CID to the developer version and apply that RUU.
computerslayer said:
Some questions:
Did you have a completely stock device when you applied the OTA?
Did it ever successfully boot into Nougat, or did the OTA immediately result in the current condition?
I wonder if you could either flash TWRP or use it via your computer (there's a way to run it in your phone without installing it) so that you could apply the OTA again. I'm not sure if it would fix whatever went wrong, though.
Alternatively, you could flash a ROM (again, via TWRP), obtain S-OFF, change your MID & CID to the developer version and apply that RUU.
Click to expand...
Click to collapse
I did have a completely stock device before i installed the OTA.
It did never successvully booted into nougat. Right after the install it booted in to the bootloader.
How can i flash TWRP or another ROM while im S-ON? Or am i wrong in this? Please help me out
ruubs said:
I did have a completely stock device before i installed the OTA.
It did never successvully booted into nougat. Right after the install it booted in to the bootloader.
How can i flash TWRP or another ROM while im S-ON? Or am i wrong in this? Please help me out
Click to expand...
Click to collapse
S-ON is no obstacle to flashing TWRP or another ROM. You will need to unlock your bootloader in order to do either but I assumed that you had already done this since you posted that your status is unlocked.
computerslayer said:
S-ON is no obstacle to flashing TWRP or another ROM. You will need to unlock your bootloader in order to do either but I assumed that you had already done this since you posted that your status is unlocked.
Click to expand...
Click to collapse
The phone status is indeed unlocked.
I didn't know I could flash TWRP or a ROM. I thought I needed S-OFF for that.
I want my phone to be as stock as possible. Can I flash a stock ROM or does it have to be a custom one.
And do i need to flash TWRP in order to flash a ROM?
So i've searched around and came to the conclusion to fix my phone is to flash TWRP first. After that FLASH a custom ROM, if that goes as planned S-OFF my phone with the SunShine method. After that go back to stock and hope everything goes well.
ruubs said:
So i've searched around and came to the conclusion to fix my phone is to flash TWRP first. After that FLASH a custom ROM, if that goes as planned S-OFF my phone with the SunShine method. After that go back to stock and hope everything goes well.
Click to expand...
Click to collapse
That's the route I would take too. The readme thread has a section dedicated to changing your SKU in order to use other RUUs.