Trying to root to get 6.0 very confused please help - One (M7) Q&A, Help & Troubleshooting

Hello everyone,
I run Note 5, but not that it is in the repair I wanted to try and get 6.0 onto my HTC One M7. Problem is I don't know how to root it. What I did before, I had International version of M7 so I rooted it and installed Google Play Edition rom. Obviously since then my root is gone (not sure about recovery), OTA updated it to 5.1 and that's it.
I have tried 1 click root, Kingo Root but none of them would root. How can I go about rooting this device now? Do I need to revert to stock or what?
Now here are my rom details:
Kernel Version 3.4.10-ge0627be
Build number LMY470.H11
Thank you.

sup3r1or said:
Hello everyone,
I run Note 5, but not that it is in the repair I wanted to try and get 6.0 onto my HTC One M7. Problem is I don't know how to root it. What I did before, I had International version of M7 so I rooted it and installed Google Play Edition rom. Obviously since then my root is gone (not sure about recovery), OTA updated it to 5.1 and that's it.
I have tried 1 click root, Kingo Root but none of them would root. How can I go about rooting this device now? Do I need to revert to stock or what?
Now here are my rom details:
Kernel Version 3.4.10-ge0627be
Build number LMY470.H11
Thank you.
Click to expand...
Click to collapse
There is no android 6.0 for the M7 and the only 6.0 custom roms you'll find for it now are nightly (unstable) builds of Cyagnogenmod 13
For your rooting question, simply flash twrp recovery and then flash update-supersu2.46.zip using twrp and the phone is rooted.

I remember when I got this phone I installed clockwork mod then rooted then installed unrooted GPE rom. Does that mean that my customer recovery is still there untouched or has it been wiped and replaced with stock one?
Also would you be kind enough to point me to where can I find how to replaced Clockwork recovery with TWRP ?
I guess I will wait for some custom 6.0 rom in the future.

sup3r1or said:
Also would you be kind enough to point me to where can I find how to replaced Clockwork recovery with TWRP ?
I guess I will wait for some custom 6.0 rom in the future.
Click to expand...
Click to collapse
Code:
fastboot flash recovery <file_name>.img
fastboot erase cache
fastboot reboot-bootloader
(...)Does that mean that my customer recovery is still there untouched or has it been wiped and replaced with stock one?
Click to expand...
Click to collapse
If you want to know what recovery is currently installed on the phone, why not simply booting in recovery mode?

alray said:
Code:
fastboot flash recovery <file_name>.img
fastboot erase cache
fastboot reboot-bootloader
If you want to know what recovery is currently installed on the phone, why not simply booting in recovery mode?
Click to expand...
Click to collapse
Dang... You beat me to it [emoji23]

Overall I want to know your opinion in Clockwork vs TWRP? Which one is better right now? More useful?

sup3r1or said:
Overall I want to know your opinion in Clockwork vs TWRP? Which one is better right now? More useful?
Click to expand...
Click to collapse
TWRP all the way! [emoji4]

Related

[Q] Stock recoveries - The right one, their behavior and the risks of flashing them

Hi, I have an Unlocked 32GB HTC One (BS_US001) and I'm having a hard time trying to find info about stock recoveries.
My phone currently is on stock 4.1.2, bootloader unlocked, S-Off and rooted. I was using the TWRP recovery, used to root my phone. Since the 4.3 update came out, I was searching for the stock recovery to proceed with the update, but too many different files seems to exist. I just want to install the right recovery and apply the 4.3 update, no full ROM flash.
Yesterday I flashed this recovery file (9MB) and got icons similar of those on the right of this image.
Today, I flashed this one (7.9MB) and got something like this, the little android icon.
Later, I've found another one (9.8MB).
Edit: and another one, a few bytes shorter than the third.
But now I'm little afraid of flashing again, just for the sake of it.
So, first of all, which one is the right file for my phone (yet another one)?
Second, I flash recoveries through fastboot command line (fastboot flash recovery recovery.img). Can this method and command brick my phone?
Third, how the stock recovery behaves on your phone? Both times, when I flashed the files and entered in recovery mode, my phone would boot 2 or 3 times straight into recovery mode again, until it boot itself properly, into the system. Also, recovery mode goes from the green to the red icon and awaits until I reboot the phone again.
Thanks in advance.
Final edit: For the sake of others lost in the lack of good info, I'm editing this old post.
I found some crap advices here and there. One of them was the need to relock the bootloader to accept OTAs. It doesn't make any sense, but if you are seeking help, you will take **** as good advice. Don't do it.
Another bad advice was about the stock recovery. Just open the last update you got (Downloads folder on your phone or get the OTA from HTC website) and extract the recovery.img file. Flash it and you have the proper stock recovery for your phone.
All of this is about the stock HTC One - no custom roms, no xposed changes, nothing. The only thing I did prior to this was to flash TWRP and root. That's how I want my phone for now - stock with root.
I kind of went through this today. Ended up just wiping it, running a RUU and reapplying OTAs.
I'll tell you this… after I went through this I attempted to salvage the stock recovery before rerooting etc. I was stuck trying to get fastboot to boot a recovery instead of flash one. I did find an alternate way to harvest the recovery. I got it out of the ota. I'm not done testing it yet, but my phone was still showing tampered. Flashed cwr and called it a day at that point
Sent from my HTC One
Thank you for your answer. I'm trying to avoid the whole RUU thing, but I'll keep it as a last resource, for sure. Also, I'm trying to understand more about this piece of software called recovery.
The one I sent you is pulled directly from stock 1.29.1540.16 for Dev. edition, which comes with an unlocked bootloader as well. Also, it's signed, which will allow it to be flashed whether you're s-on or off. Assuming your MID is PN0712000, with CID BS_US001, this recovery is your stock and will work. Hope it helps.
kibmikey1 said:
The one I sent you is pulled directly from stock 1.29.1540.16 for Dev. edition, which comes with an unlocked bootloader as well. Also, it's signed, which will allow it to be flashed whether you're s-on or off. Assuming your MID is PN0712000, with CID BS_US001, this recovery is your stock and will work. Hope it helps.
Click to expand...
Click to collapse
I've been running into similar issues. For the previous 2 OTA's (1540.3 --> 1540.16 & 1540.16 --> 1540.17), simply reflashed stock recovery, ran the OTA, it updated, then I flashed TWRP again. For the most recent OTA (3.22.1540.1, I think), that seems to not be working, but I can't seem to find the right recovery. I've found 1540.3's recovery, but not 1540.16 (or .17 if there was a new recovery in that OTA). Where did you end up finding it?
Thanks!
bjg222 said:
I've been running into similar issues. For the previous 2 OTA's (1540.3 --> 1540.16 & 1540.16 --> 1540.17), simply reflashed stock recovery, ran the OTA, it updated, then I flashed TWRP again. For the most recent OTA (3.22.1540.1, I think), that seems to not be working, but I can't seem to find the right recovery. I've found 1540.3's recovery, but not 1540.16 (or .17 if there was a new recovery in that OTA). Where did you end up finding it?
Thanks!
Click to expand...
Click to collapse
I pulled it directly from my decrypted RUU zip of 1540.16.
Here, there are some of stock recovery.
Check if there is the right version for you.
You have to check the versionmain on your phone
kibmikey1 said:
I pulled it directly from my decrypted RUU zip of 1540.16.
Click to expand...
Click to collapse
Would you be willing to share it? I haven't found a decrypted version of the 1540.16 RUU since Bugsy's hosting server stopped hosting downloads (The new thread only has 1540.3 last I checked).
Guich said:
Here, there are some of stock recovery.
Check if there is the right version for you.
You have to check the versionmain on your phone
Click to expand...
Click to collapse
Thanks, looks like for the dev edition, those sites only have the new recovery from the Android 4.3 updated (3.22.1540.1), though
bjg222 said:
Thanks, looks like for the dev edition, those sites only have the new recovery from the Android 4.3 updated (3.22.1540.1), though
Click to expand...
Click to collapse
Is the 3.22 in the folder
Guich said:
Is the 3.22 in the folder
Click to expand...
Click to collapse
In the Dev Edition folder, 3.22 is all that's there. Have you had any luck finding the 1.29.1540.16 recovery? That's the one I need.
bjg222 said:
In the Dev Edition folder, 3.22 is all that's there. Have you had any luck finding the 1.29.1540.16 recovery? That's the one I need.
Click to expand...
Click to collapse
1.29.1540.16 Developer Edition signed stock recovery.
Has anyone else flashed stock recovery while on custom ROM? I was pleasantly surprised to discover my SD card was wiped Is this normal, and was there some way I could have figured out this was what was going to happen? I don't really understand what stock recovery does/is for. The only other time I'd flashed stock recovery was after restoring to stock ROM from nandroid.
kibmikey1 said:
1.29.1540.16 Developer Edition signed stock recovery.
Click to expand...
Click to collapse
Awesome, thanks!
bjg222 said:
Awesome, thanks!
Click to expand...
Click to collapse
Have you had any luck with this? I have a DE 64gb and I'm in the same situation you were/are, I'm on stock recovery but I can't accept the OTA unlike the other 4.1.2 ones. Always gets stuck on the red triangle !.
arikah said:
Have you had any luck with this? I have a DE 64gb and I'm in the same situation you were/are, I'm on stock recovery but I can't accept the OTA unlike the other 4.1.2 ones. Always gets stuck on the red triangle !.
Click to expand...
Click to collapse
If you're rooted, unroot through SU, then do a factory reset and try it again.
kibmikey1 said:
If you're rooted, unroot through SU, then do a factory reset and try it again.
Click to expand...
Click to collapse
I haven't been rooted since one of the last 4.1.2 updates, because that's when I went back to stock recovery. I was able to accept those OTA packs, why is this one different? I'm really trying to save factory resets or RUU's for the absolute last ditch effort, in fact I'm more likely to stick with 4.1.2 until I can find a way to do this.
help
I have att htc one dev edition, its in soft brick state and i cny get it to do anything, i have tried running the recovery kit, and that get to the end then error 131...
could somebody please suggest some help for me please, thanks in advance

[Q] HTC One Devolper Edition- Problem OTA updates

Hello, few days ago I bought an HTC Developer Edition (64GB). Came with Android 4.1.2 and came Unroot. So, because I need to use Titanium Backup I root it and I installed Clockworkmod recovery 6.0.4.4 and then Superuser to root it. The problem is that now I cant make OTA updates (errors when try to update), so my questions are: how can I make OTA updates without errors? Need to install a Stock Recovery again? Where I can find it?
Thanks in advanced!
Flashhh! said:
Hello, few days ago I bought an HTC Developer Edition (64GB). Came with Android 4.1.2 and came Unroot. So, because I need to use Titanium Backup I root it and I installed Clockworkmod recovery 6.0.4.4 and then Superuser to root it. The problem is that now I cant make OTA updates (errors when try to update), so my questions are: how can I make OTA updates without errors? Need to install a Stock Recovery again? Where I can find it?
Thanks in advanced!
Click to expand...
Click to collapse
You need the stock rom without root and the recovery stock for your version main.
After you can apply the OTA
But if you have the Dev Edition, this ruu can help you
Guich said:
You need the stock rom without root and the recovery stock for your version main.
After you can apply the OTA
But if you have the Dev Edition, this ruu can help you
Click to expand...
Click to collapse
Thanks for your answer, This ruu have the recovery stock included? Is there any other way to update my Dev Edition without changing my room?(I only change the recovery to root my pone)...
Flashhh! said:
Thanks for your answer, This ruu have the recovery stock included? Is there any other way to update my Dev Edition without changing my room?(I only change the recovery to root my pone)...
Click to expand...
Click to collapse
This ruu will erase all data (also the sd) from your phone and it will upgrade your phone as stock, with stock rom, recovery, firmware etc.

HTC One M7 Need help with flashing a ROM

Hi, I was running the GPE Rom on my M7 and the 4.4 ROM became available OTA. I attempted to let it update but an error occured and now my device won't boot. Apparently there isn't a backup which I thought I had!
It's been a while since I did any of this stuff so need a bit of assistance.
What would be my first route as to getting my device up and running? I can get into ClockworkMod Recovery.
I'm guessing I have to use fastboot correct? Can I use Fastboot or ADB from within CWMR?
Rather than fire noob questions I'll await a response and go from there. Thanks in advance.
leecasey said:
Hi, I was running the GPE Rom on my M7 and the 4.4 ROM became available OTA. I attempted to let it update but an error occured and now my device won't boot. Apparently there isn't a backup which I thought I had!
It's been a while since I did any of this stuff so need a bit of assistance.
What would be my first route as to getting my device up and running? I can get into ClockworkMod Recovery.
I'm guessing I have to use fastboot correct? Can I use Fastboot or ADB from within CWMR?
Rather than fire noob questions I'll await a response and go from there. Thanks in advance.
Click to expand...
Click to collapse
stock GPE or custom rom?
you can use fastboot in bootloader
adb in cwm.
alray said:
stock GPE or custom rom?
you can use fastboot in bootloader
adb in cwm.
Click to expand...
Click to collapse
I believe it was the stock GPE (my HTC One was not a GPE just to clarify)
OK so I just pushed the MaximusHD rom to my device. Installed it but it continuously boots to recovery? Any ideas?
I'm downloading the stock ROM to hopefully at least get up and running again.
leecasey said:
I believe it was the stock GPE (my HTC One was not a GPE just to clarify)
OK so I just pushed the MaximusHD rom to my device. Installed it but it continuously boots to recovery? Any ideas?
I'm downloading the stock ROM to hopefully at least get up and running again.
Click to expand...
Click to collapse
did you:
Code:
fastboot erase cache
?

Firmware update problems after rooting

Hey , im new to rooting and the forums so sorry if somethings are not properly explained.
I recently managed to root my uk variant m7 unlocked to any service with the latest twrp recovery.
I have recently found the venom rom which i would like to install to futher customize my rooted device, but i need to upgrade my android to 5.0.2 and i am currently on 4.2.2.
in the toolbar it says 'system update avaliable' and after installing it says 'system update ready' and im guessing this will bring me to 5.0.2 firmware. after clicking on it it reboots my phone and for some reason enters the recovery. from this point i do not know what to do.
so to summarise, i need to upgrade my m7 from 4.2.2 to 5.0.2 nut when i do it enters my twrp recovery and i do not know what to do
system details:
HTC One M7 UK variant unlocked to any service
rooted with SuperSU
Stock rom (4.2.2)
Stock kernel
Thanks
Julian1738 said:
im guessing this will bring me to 5.0.2 firmware.
Click to expand...
Click to collapse
no, there are a lot of updates between 4.2.2 and 5.0.2
after clicking on it it reboots my phone and for some reason enters the recovery.
Click to expand...
Click to collapse
Because the ota update is supposed to be flashed from stock recovery.
so to summarise, i need to upgrade my m7 from 4.2.2 to 5.0.2 nut when i do it enters my twrp recovery and i do not know what to do
Click to expand...
Click to collapse
You can't update your phone in its current status. You need stock recovery installed, unmodified /system files and /data/preload which is deleted during the htcdev bootloader unlock process. You'll probably need to use a RUU or something else.
system details:
HTC One M7 UK variant unlocked to any service
rooted with SuperSU
Stock rom (4.2.2)
Stock kernel
Click to expand...
Click to collapse
Unfortunately, this is not really relevant info, post the output of "fastboot getvar all" command, remove your IMEI # before posting.
so i have to unroot my phone
great this is going to take a while :/
if i factory reset my phone will it remove the bootloader and root?
Julian1738 said:
if i factory reset my phone will it remove the bootloader
Click to expand...
Click to collapse
What? You might want to read about what a bootloader is
A device without a booloader is called a paperweight
and root?
Click to expand...
Click to collapse
A factory reset only wipes user data. Root files are stored in /system partition which is not affected by a factory reset so short answer no, like I said you'll probably need a RUU or something else (stock odex rom/nandroid backup/guru reset rom) to reset your phone back to stock. Post the output of "fastboot getvar all"
alray said:
You can't update your phone in its current status. You need stock recovery installed, unmodified /system files and /data/preload which is deleted during the htcdev bootloader unlock process. You'll probably need to use a RUU or something else.
Click to expand...
Click to collapse
Its possible to download the update elsewhere and install it through twrp recovery?
If yes, where i can find these updates in zip form?
If not, what's the simple option to install the update?
thanks
tkdfilipe said:
Its possible to download the update elsewhere and install it through twrp recovery?
If yes, where i can find these updates in zip form?
If not, what's the simple option to install the update?
thanks
Click to expand...
Click to collapse
If your phone is S-off, you can download the Ota zip files and install them incrementally (can't skip a version) using stock recovery. That doesn't change the fact that all files in /system and /data/preload must be unmodified.
Imo, the simplest way to update if your phone isn't stock is with a RUU. If your phone is stock, reflash stock recovery and update with Ota, if it's stock and soff you can update with Ota zip files if you can find all the ones you need.
Sent from my HTC One using XDA Labs

Latest KitKat stock ROM available

So I've reset my HTC One back to stock 2 days ago and since then have received a lot of OTA updates.
Then I found that I had lost root.
I managed to reinstall TWRP and root today, but got another OTA update notification.
Because I don't want to lose root (and because TWRP says you should not update with custom recoveries), I'm looking for another way to update.
TWRP suggests to "wait for the developers to create a new ROM" but honestly, finding something in this forum is not easy...
My update is 6.09.401, but if there is something more recent I'll take that (but still KitKat). I've looked in the ROM collection but the latest seems to be 5.x or jump to 7.xx.
If I have to do some work (e.g. more research) please direct me to the right direction and I'll be happy to do it.
Will RUUs work? Still not clear what they are.
algiogia said:
So I've reset my HTC One back to stock 2 days ago and since then have received a lot of OTA updates.
Then I found that I had lost root.
Click to expand...
Click to collapse
Yep, you'll always loose root after an OTA update. Must ppl doesn't matter about that since it only takes a few minutes to root again.
I managed to reinstall TWRP and root today, but got another OTA update notification.
Because I don't want to lose root (and because TWRP says you should not update with custom recoveries), I'm looking for another way to update.
Click to expand...
Click to collapse
The only way to use ota update is by flashing back the stock recovery that match your version-main. Like said above, you'll loose root after an update. You can also update your phone by flashing a RUU but you'll also loose root and all your file since the RUU will make your phone stock, like if it was brand new.
TWRP suggests to "wait for the developers to create a new ROM" but honestly, finding something in this forum is not easy...
Click to expand...
Click to collapse
My update is 6.09.401,?but if there is something more recent I'll take that (but still KitKat). I've looked in the ROM collection but the latest seems to be 5.x or jump to 7.xx.
Click to expand...
Click to collapse
The latest Kitkat version is 6.09.401.12 otherwise its lollipop 7.19.401.x
I think the simplest solution since you want to stay on kitkat is to reflash your stock recovery 6.09.401.? (you didn't typed the last number), install the ota updates until you are on 6.09.401.11 or 6.09.401.12, reflash twrp and flash Supersu to re-root.
If I have to do some work (e.g. more research) please direct me to the right direction and I'll be happy to do it.
Will RUUs work? Still not clear what they are.[/QUOTE]
RUU are packages that will restore then entire phone Software and firmware partitions.
Thanks alray.
So are you saying there is not pre-rooted 6.09.401.11 ROM available to flash on the forum?
Where shall I look for it?
algiogia said:
Thanks alray.
So are you saying there is not pre-rooted 6.09.401.11 ROM available to flash on the forum?
Where shall I look for it?
Click to expand...
Click to collapse
Maybe i don't know. All roms are posted in the development section. Why not simply updating your phone and flashing Supersu again? It will take you maybe 20 min to install the update, reflash twrp and root...
alray said:
Maybe i don't know. All roms are posted in the development section. Why not simply updating your phone and flashing Supersu again? It will take you maybe 20 min to install the update, reflash twrp and root...
Click to expand...
Click to collapse
I'll have to find and flash the stock ROM first, do the updates, then flash TWRP and SuperSu.
If there is a way to flash only once why should I waste time (and increase chances of bricking the phone)?
algiogia said:
I'll have to find and flash the stock ROM first, do the updates, then flash TWRP and SuperSu.
If there is a way to flash only once why should I waste time (and increase chances of bricking the phone)?
Click to expand...
Click to collapse
You already are on the stock rom, just flash the stock recovery over twrp, install ota update(s) until you are on the desired version, flash twrp and supersu. There isn't really any chances to brick....
Code:
fastboot flash recovery your_stock_recovery.img
fastboot erase cache
fastboot reboot
Then boot the phone, install update(s). Once updated to the desired version, reflash twrp:
Code:
fastboot flash recovery twrp.img
fastboot erase cache
fastboot reboot-bootloader
Boot in twrp, install supersu 2.46.zip then reboot in the OS and you're done.
But yes if you prefer you can find a stock rooted rom of 6.09.401.11 if there is still one somewhere.

Categories

Resources