after rooting HTC ONE m8 ul lost os by mistake. please help - One (M8) Q&A, Help & Troubleshooting

i'm new on this site.
i rooted my htc one m8_ul (android 6.0) for data recovery (dr.fone). after i rooted with TWRP (v3.0.0.0) and installed Super Su (v2.76) & then rebooted .but it stops at bootloop. then by mistake i wiped stock os from TWRP. now there is no android os. . now there is only bootloader and TWRP i can browse. Please help me to recover

Guide and file repository for restoring stock OS is right at the top of the forum section: http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
You just need to do through Step 9, to get the OS running again.
Or you can get a custom ROM on the phone, and flash it in TWRP.

thank you so much .. recovered successfully

You're welcome.
Tip: next time make a TWRP backup of the stock ROM before attempting to root. That way, not only do you have an easy way to recover if the root goes wrong; but you also have a backup of the non-rooted stock ROM, if you ever want to revert to it.

Related

[Q] Root My HTC ONE M8

ok i have some questions , after root i can get OTA updates ? , i have an interncional model 4G running 1.57.599.1 software , before root how can i have a backup,if i root it will reset my phone, and after this can yours give me the link for root,thaks and sorry for bad english ,need too backup link
thesebitas1994 said:
ok i have some questions , after root i can get OTA updates ? , i have an interncional model 4G running 1.57.599.1 software , before root how can i have a backup,if i root it will reset my phone, and after this can yours give me the link for root,thaks and sorry for bad english ,need too backup link
Click to expand...
Click to collapse
I think You won't be able go get OTA as update is probably being flashed by stock recovery, which You won't have after rooting Your phone.
Rooting the phone shouldn't reset all of Your data, only unlocking bootloader will.
To root your phone just install customo recovery (there are many tutorials overall in the Internet) and flash the updateSU.zip.
That should be all.
I don't know if You also want to unlock Your bootloader, but if You do, then there's whole information on HTC website (you have to have an account).
thesebitas1994 said:
ok i have some questions , after root i can get OTA updates ? , i have an interncional model 4G running 1.57.599.1 software , before root how can i have a backup,if i root it will reset my phone, and after this can yours give me the link for root,thaks and sorry for bad english ,need too backup link
Click to expand...
Click to collapse
Hi, I hope is not too late replying back to you, first of all, have you installed a Custom recovery already? if not, good you still can do a Full backup (with a stock recovery and all that) please paste here your "getvar all" (fastbbot getvar all) <-- that's the command.
Then download the clockworkmod for HTC One M8, with the clockworkmod you can do a backup without installing a custom recovery, If you flash a custom recovery on your phone without making a backup you will lost your Stock Recovery (and you will make the same mistake that I did ... )
After download the clockworkmod recovery, do the following command on your D.O.S Command promp:
"fastboot boot recovery-clockwork-touch-6.0.4.8-m8.img" <-- this command will boot from teh Custo Recovery and not flash it. (make sure that you have Bootloader Unlocked
After that you will be able to do a Full backup of your system (including the stock recovery)
Let me know if you where able to do it ( so you can pass me the nandroid backup that you make

[Q] How to proceed to S-Off,boot loader unlock,sim unlock from stock?

Hello friends, I just got a new refurbished rogers(canada) HTC M8 GSM phone.Its totally stock at this moment and would like to do sim unlock,s-off and boot loader unlock. But before i would like to get full back up of my stock.Few questions:
1.How can i do full complete backup of my stock phone in case in future i need to revert back?
2. what are the steps to do s-off,sim unlock and bootloader unlock?
Right now phone says:
Android version 4.4.3
HTC sence version 6.0
software number 2.23.631.2
HTC SDK API level 6.25
kernel version
3.4.0--g523xxxxxx
baseband version
1.19.2133xxxxxxxx
build number
2.23.631.xxxxxxxrelease-keys
Thanks in advance...
Go to HTCDev.com to unlock the bootloader. The process is self-explanatory (just follow the website instructions). There is a writeup on the following guide, if you need help. But honestly, if you can follow instruction, the process is self-explanatory as I mentioned: http://forum.xda-developers.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727
Then, to backup the stock ROM and recovery, follow the instructions listed on the following thread under "How do i backup the stock HTC recovery?" : http://forum.xda-developers.com/showthread.php?t=2701376
This process will boot custom recovery without actually flashing recovery it to the phone, allowing you to backup stock recovery as well as the stock ROM (if you flash custom recovery before doing this, stock recovery is over-written and therefore can't be backed up). Note that your version's stock ROM and recovery may already be uploaded to the above thread by another XDA user.
Then achieve root by your preferred method (flash custom recovery and flash SU/SuperSU, or use weaksauce, towelroot, etc.). Then use sunshine to achieve s-off (firewater s-off will likely not work, as it was patched some time ago): http://theroot.ninja/
Then after s-off, you can unlock SIM: http://forum.xda-developers.com/showthread.php?t=2708572
Thanks a lot redpont73 for your directions!!!Will follow your steps and let you know how things went..Thanks
Ok i unlocked my bootloader with htcdev.com and it says unlocked now.
Now how to backup my stock at this point? I tried this thread you showed me: http://forum.xda-developers.com/show....php?t=2701376 but didn't understand fully. but it says :fastboot boot recovery_filename.img (this does not work on the latest 3.xx firmwares !!! we need to get the stock recoveries from the OTA files)"
I am little confused at this point.How can i back up at this point without installing any recovery software like twrp?please guide me.thanks
ninja_zx11 said:
Now how to backup my stock at this point? I tried this thread you showed me: http://forum.xda-developers.com/show....php?t=2701376 but didn't understand fully. but it says :fastboot boot recovery_filename.img (this does not work on the latest 3.xx firmwares !!! we need to get the stock recoveries from the OTA files)"
I am little confused at this point.How can i back up at this point without installing any recovery software like twrp?
Click to expand...
Click to collapse
By placing the custom recovery image in your fastboot folder, you can then boot recovery without actually flashing it to the phone, using the command you quoted. Think of it as remotely running the TWRP software that is still located on your PC (at least I think that is how it works).
Once you are booted into TWRP, you can backup system (stock ROM) and recovery(stock recovery).
redpoint73 said:
By placing the custom recovery image in your fastboot folder, you can then boot recovery without actually flashing it to the phone, using the command you quoted. Think of it as remotely running the TWRP software that is still located on your PC (at least I think that is how it works).
Once you are booted into TWRP, you can backup system (stock ROM) and recovery(stock recovery).
Click to expand...
Click to collapse
Could you please help me to find the custom recovery image that i can put in my fast boot folder and please step by step if you don't mind please.Just trying to learn and don't want to brick my phone with any wrong move.thanks
i found this thread.
http://forum.xda-developers.com/showpost.php?p=53770286&postcount=4
Will that help?thanks
ninja_zx11 said:
i found this thread.
http://forum.xda-developers.com/showpost.php?p=53770286&postcount=4
Will that help?thanks
Click to expand...
Click to collapse
Yes, that is another method.
---------- Post added at 11:11 AM ---------- Previous post was at 11:05 AM ----------
ninja_zx11 said:
Could you please help me to find the custom recovery image that i can put in my fast boot folder and please step by step if you don't mind please.
Click to expand...
Click to collapse
Go to the General forum section for the M8, and look at the Index thread (sticky at the top of that forum) to find link to recoveries and other resources, including guides and how-tos. Read up and learn.
Taking the time to familiarize yourself with the basic concepts and processes is much more valuable than someone walking your though step-by-step. I won't walk you through step-by-step, as you will learn very little that way.
The process is not that difficult, anyway. You already used fastboot to unlock the bootloader. Other fastboot commands are not any different in execution. If you can't handle taking it from here, modding the phone probably isn't for you.
With S-on, you aren't going to brick the phone by backing up or flashing recovery. Even with s-off, as long as you only flash things intended for the M8 (and only for the GSM version - not CDMA - to be safe), you will not brick. You can only brick the phone if you damage hboot, radio, or partition tables.
redpoint73 said:
Yes, that is another method.
---------- Post added at 11:11 AM ---------- Previous post was at 11:05 AM ----------
Go to the General forum section for the M8, and look at the Index thread (sticky at the top of that forum) to find link to recoveries and other resources, including guides and how-tos. Read up and learn.
Taking the time to familiarize yourself with the basic concepts and processes is much more valuable than someone walking your though step-by-step. I won't walk you through step-by-step, as you will learn very little that way.
The process is not that difficult, anyway. You already used fastboot to unlock the bootloader. Other fastboot commands are not any different in execution. If you can't handle taking it from here, modding the phone probably isn't for you.
With S-on, you aren't going to brick the phone by backing up or flashing recovery. Even with s-off, as long as you only flash things intended for the M8 (and only for the GSM version - not CDMA - to be safe), you will not brick. You can only brick the phone if you damage hboot, radio, or partition tables.
Click to expand...
Click to collapse
Yes you are right...I will read more and i want to learn and will try to do it myself.If i will have some confusion, i will ask here.Looks like i need more reading.
Now what i am planning to do is:
1. Install twrp
2.Take a full nandroid backup.(will it be enough to save me in future if i would like to go back to stock after S-OFF?)
3.root and s-off.
Does it make sense?
ninja_zx11 said:
Now what i am planning to do is:
1. Install twrp
2.Take a full nandroid backup.(will it be enough to save me in future if i would like to go back to stock after S-OFF?)
3.root and s-off.
Does it make sense?
Click to expand...
Click to collapse
The process to backup stock recovery is easy, by either method we already discussed. If you want to be thorough, backup stock recovery.
Backing up stock recovery and stock ROM is sufficient to return (mostly) to stock. There isn't much else you can do
redpoint73 said:
The process to backup stock recovery is easy, by either method we already discussed. If you want to be thorough, backup stock recovery.
Backing up stock recovery and stock ROM is sufficient to return (mostly) to stock. There isn't much else you can do
Click to expand...
Click to collapse
UPDATE:
I downloaded latest twrp and i booted into twrp .then took full backup. i also took back up using philz touch same way by just booting into philztouch.
Then i tried to root using supersu by same booting into twrp and tried to root.it created a supersu icon on the spring board and then i tried to install it from play store but it errored out and phone rebooted.After that i tried to remove the supersu icon from the phone but just couldnt. Then i thought of restoring stock backup using twrp and it restored it to stock stage.Atleast now i know that my stock backup worked.!!!
Now my question is why did supersu not root my phone?Should i try another method?please advice.thanks
ninja_zx11 said:
UPDATE:
I downloaded latest twrp and i booted into twrp .then took full backup. i also took back up using philz touch same way by just booting into philztouch.
Then i tried to root using supersu by same booting into twrp and tried to root.it created a supersu icon on the spring board and then i tried to install it from play store but it errored out and phone rebooted.After that i tried to remove the supersu icon from the phone but just couldnt. Then i thought of restoring stock backup using twrp and it restored it to stock stage.Atleast now i know that my stock backup worked.!!!
Now my question is why did supersu not root my phone?Should i try another method?please advice.thanks
Click to expand...
Click to collapse
huh? Did you flash it and then tried to install it from the play store after it was already "installed" by being flashed in custom recovery? If not, what exactly are you talking about here?
I've never bothered with the play store, just boot the custom recovery and flash the latest SuperSU. That's it... :silly:
BerndM14 said:
huh? Did you flash it and then tried to install it from the play store after it was already "installed" by being flashed in custom recovery? If not, what exactly are you talking about here?
I've never bothered with the play store, just boot the custom recovery and flash the latest SuperSU. That's it... :silly:
Click to expand...
Click to collapse
thanks BerndM14, i just copied supersu zip to internal storage as you said and installed it by booting into twrp from pc. and its done... thanks..
ninja_zx11 said:
UPDATE:
I downloaded latest twrp and i booted into twrp .then took full backup. i also took back up using philz touch same way by just booting into philztouch.
Then i tried to root using supersu by same booting into twrp and tried to root.it created a supersu icon on the spring board and then i tried to install it from play store but it errored out and phone rebooted.After that i tried to remove the supersu icon from the phone but just couldnt. Then i thought of restoring stock backup using twrp and it restored it to stock stage.Atleast now i know that my stock backup worked.!!!
Now my question is why did supersu not root my phone?Should i try another method?please advice.thanks
Click to expand...
Click to collapse
Sounds like a brick in the making.
Make sure that you read and understand what you are about to do before you do it.
A nandroid won't always help you.
If I may make a suggestion, don't go S-Off.
I am abandoning the idea of doing S-off after the suggestion from xunholyx above and after reading this http://android-revolution-hd.blogspot.ca/2013/06/do-we-really-need-s-off.html.
ninja_zx11 said:
I am abandoning the idea of doing S-off after the suggestion from xunholyx above and after reading this http://android-revolution-hd.blogspot.ca/2013/06/do-we-really-need-s-off.html.
Click to expand...
Click to collapse
I see you are learning. I will never understand why folks seek to get s-off, without even understanding what it means. You should not be attempting any mods, unless you fully understand what the purpose is (such as s-off).
redpoint73 said:
I see you are learning. I will never understand why folks seek to get s-off, without even understanding what it means. You should not be attempting any mods, unless you fully understand what the purpose is (such as s-off).
Click to expand...
Click to collapse
thanks redpoint73 for giving me helping hand!! without your help i wouldn't have done it.....

M8 rooted - flashing roms?!

Hello all! I badly need some help! Other forums have been unsuccessful. I currently have a rooted S-off M8 (Uk version) When i rooted my phone i used TWRP and did not create a stock recovery.
After delaying the OTA update due to being rooted id now like to upate my phone as im still running 4.4.4.
If it helps i have the TWRP manager app installed with the latest recovery 2.8.7.0 on. Im getting confused between RUU and flashing custom recovery. All id like to do is to update my phone to the new 5.0 lollypop. I dont mind how to do it or what i need to do just need someone to explain it in simple terms. I do apologize, i am a noob when it comes to this!
Any help would be much apperciated!
your device s-off?! if you don'y know what is it please read this topic:
http://forum.xda-developers.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727
Azathoth6 said:
your device s-off?! if you don'y know what is it please read this topic:
http://forum.xda-developers.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727
Click to expand...
Click to collapse
Read his first line again ?!
salty32 said:
Hello all! I badly need some help! Other forums have been unsuccessful. I currently have a rooted S-off M8 (Uk version) When i rooted my phone i used TWRP and did not create a stock recovery.
After delaying the OTA update due to being rooted id now like to upate my phone as im still running 4.4.4.
If it helps i have the TWRP manager app installed with the latest recovery 2.8.7.0 on. Im getting confused between RUU and flashing custom recovery. All id like to do is to update my phone to the new 5.0 lollypop. I dont mind how to do it or what i need to do just need someone to explain it in simple terms. I do apologize, i am a noob when it comes to this!
Any help would be much apperciated!
Click to expand...
Click to collapse
Stock recovery won't help on a rooted ROM. You need a clean ROM either a clean backup or RUU.
Post your fastboot getvar all result (minus serial & imei no.), someone may be able to help you
salty32 said:
Im getting confused between RUU and flashing custom recovery.
Click to expand...
Click to collapse
The 2 are not at all related.
Custom recovery (such as TWRP) is user created, and installed to the recovery partition of the phone, and allows you to make backups of the current ROM and data partition; and to flash custom ROMs and other flashable zips.
RUU = ROM Update Utility. Its an "official" HTC executable run from the PC that will return your phone to stock image, including stock ROM, recovery, firmware, and all other partitions. There are also RUUs that can be run from the phone. But that's mostly the exception.

i messed up...

Long story short I rooted my HTC one m8 about 6-months ago and decided I wanted to try stock Android 6.0 out. Some how in the process I accidentally installed a random boot.img as my recovery and boot loader with TWRP. 'S' is on and i can't turn it off because ADB doesn't recognize my device (but fast-boot does). I've tried installing new drivers but they don't recognize my device still. It is unlocked but I can't find an RUU or Firmware that will install on my device with 'S-ON' (and like I said before can't figure out how to turn 'S' off with out ADB) Any help is appreciated, Thanks.
I think it is not possible to have an adb connection with your pc if your phone has no OS. But you can still install twrp again with fastboot. After doing this you might want to install a stock nandroid backup from this thread
https://tapatalk.com/shareLink?url=...share_tid=3086860&share_fid=3793&share_type=t
[tutorial] How to get back on stock with TWRP Stock Nandroid Backups
Just follow the steps in the thread and you should be good to go and have stock sense installed again
Sent from my m8 using XDA-Developers mobile app
danilandroid said:
I think it is not possible to have an adb connection with your pc if your phone has no OS. But you can still install twrp again with fastboot. After doing this you might want to install a stock nandroid backup from this thread
https://tapatalk.com/shareLink?url=...share_tid=3086860&share_fid=3793&share_type=t
[tutorial] How to get back on stock with TWRP Stock Nandroid Backups
Just follow the steps in the thread and you should be good to go and have stock sense installed again
Sent from my m8 using XDA-Developers mobile app
Click to expand...
Click to collapse
Thank you

HTC 10 Bootloop after supersu or viper 10.6 rom

I have a HTC 10 (T-MObile)
Unlocked S-ON
OS 2.51.531.32
I installed successfuly TWRP 3.2.2-0
I have a backup as instructed.
I have system partition mounted and with the option for changes.
WhenI flash this ROM the device went to boot loop.
When I flash the SU with encryption, the device goes to boot loop
Sorry, if I am posting this in the wrong place, I have not been here since I got my M8 long ago.
mpitalua said:
I have a HTC 10 (T-MObile)
Unlocked S-ON
OS 2.51.531.32
I installed successfuly TWRP 3.2.2-0
I have a backup as instructed.
I have system partition mounted and with the option for changes.
WhenI flash this ROM the device went to boot loop.
When I flash the SU with encryption, the device goes to boot loop
Sorry, if I am posting this in the wrong place, I have not been here since I got my M8 long ago.
Click to expand...
Click to collapse
Update your firmware to an oreo firmware, simple as that. Oreo roms do not work on nougat firmwares
Perhaps
Mr Hofs said:
Update your firmware to an oreo firmware, simple as that. Oreo roms do not work on nougat firmwares
Click to expand...
Click to collapse
Thanks for the respond,
but for that I need root, which it is the problem with supersu.
I need root for Sunshine, so I can place oreo on the phone.
Do someone remember which version of Viper works with Nougat and if I need to have the phone root first before flashing the ROM.
mpitalua said:
Thanks for the respond,
but for that I need root, which it is the problem with supersu.
I need root for Sunshine, so I can place oreo on the phone.
Do someone remember which version of Viper works with Nougat and if I need to have the phone root first before flashing the ROM.
Click to expand...
Click to collapse
Alright, i will ask this question.
Why do you need root? Why do you need s-off. Why can't you go back to stock and take the OTA to oreo first, hasn't t mobile released the oreo update yet?
Edit:
At least i found a ruu.exe here
https://androidfilehost.com/?fid=746010030569947237
Thanks to @ziand
That file will bring the phone to box stock and at that time you will be able to update to oreo.

Categories

Resources