Related
Hi there!
I know i have to search through the forums to see if there is a post similar to the one i'm about to write now. So if there is a similar post like this out there, i have not seen it and i apologize.
An now to the core of my problem:
Basically the title is my question. I have just flashed a stock RUU on my phone and updated it via HTC's OTA, but i want to gain root and still maintain the ability to get OTA updates - Which, as far as i know, requires a stock recovery image. Is it possible to flash the stock recovery after gaining root-access and keep the phone rooted?
Yes, you flash a custom recovery to obtain root that's good, after this you flash back the stock recovery you still be rooted, the root is in the rom and not in the recovery !
So you are correct :thumbup:
Mr Hofs said:
Yes, you flash a custom recovery to obtain root that's good, after this you flash back the stock recovery you still be rooted, the root is in the rom and not in the recovery !
So you are correct :thumbup:
Click to expand...
Click to collapse
Thanks a lot, that's awesome. By the way, now that i have updated to stock 4.1.1, is the root procedure precisely the same as it was with ICS; Can i use precisely the same superuser zip and unlock token i used when the phone was on ICS?
Yes you can ! Its exactly the same .... and to give you a tip :
After you flashed the custom recovery please do a nandroid backup from the backup & restore option in the recovery, if you want to change things to the rom after that you have a safe backup to go back to when you need to update or have any other problem. :thumbup:
Mr Hofs said:
Yes you can ! Its exactly the same .... and to give you a tip :
After you flashed the custom recovery please do a nandroid backup from the backup & restore option in the recovery, if you want to change things to the rom after that you have a safe backup to go back to when you need to update or have any other problem. :thumbup:
Click to expand...
Click to collapse
I know, i certainly intend on doing just that. When i read the post on how to get the phone back to stock and i read the part about how to do it from a nandroid backup, i seriously face palmed myself! Back when i was still using my HTC Desire, i never considered the nandroid backup because the stock software was so incredibly bad that i never wanted to go back. But now i will, my experience with the stock software is far better on the One X.
Thanks a lot for your help
Im sorry if this was already posted elsewhere...but I cannot find what I am looking for.
I have an HTC One M8 with T-Mobile. Its is running slow and I want to wipe it fresh and get everything reinstalled back on. I do not currently have root and I am trying to find a way to root or temp root the phone so that I can use Titanium to backup game/app data.
Every thread I read says the phone will have all the data wiped to obtain root. Is there any way to get root so I can backup my data first?
Thank you for the help in advance!
Use Sunshine to S-OFF your phone : http://theroot.ninja/ This is paid app.
Install Custom Recovery: http://techerrata.com/browse/twrp2/m8 . Go into fastboot mode and type:
Code:
fastboot flash recovery recovery.img
recovery.img is the TWRP recovery image you downloaded before. Just rename it to recovery.img
Boot into your new recovery. Press reboot system in the recovery menu. It will detect that the system is unrooted and ask you if you want to root it. Press yes and it will root your phone permanently.
You can try Towelroot for a temproot if you want first: https://towelroot.com/
When you install it press the welcome to towelroot three times. In the textbox type "1337 0 1 0 4 1" as stated here: https://towelroot.com/modstrings.html
Check out this thread: http://forum.xda-developers.com/showthread.php?t=2725099 but do not use the htcdev method as stated there because it will erase all your data. Use Sunshine
zayaabby said:
Im sorry if this was already posted elsewhere...but I cannot find what I am looking for.
I have an HTC One M8 with T-Mobile. Its is running slow and I want to wipe it fresh and get everything reinstalled back on. I do not currently have root and I am trying to find a way to root or temp root the phone so that I can use Titanium to backup game/app data.
Every thread I read says the phone will have all the data wiped to obtain root. Is there any way to get root so I can backup my data first?
Thank you for the help in advance!
Click to expand...
Click to collapse
This should be in Q&A but why not just let google backup your data?
You have to have root to use sunshine, towel root may or may not work. Ive had 50/50 luck with it on m8's.
andreasyeah said:
Use Sunshine to S-OFF your phone : http://theroot.ninja/ This is paid app.
Install Custom Recovery: http://techerrata.com/browse/twrp2/m8 . Go into fastboot mode and type:
Code:
fastboot flash recovery recovery.img
recovery.img is the TWRP recovery image you downloaded before. Just rename it to recovery.img
Boot into your new recovery. Press reboot system in the recovery menu. It will detect that the system is unrooted and ask you if you want to root it. Press yes and it will root your phone permanently.
You can try Towelroot for a temproot if you want first: https://towelroot.com/
When you install it press the welcome to towelroot three times. In the textbox type "1337 0 1 0 4 1" as stated here: https://towelroot.com/modstrings.html
Check out this thread: http://forum.xda-developers.com/showthread.php?t=2725099 but do not use the htcdev method as stated there because it will erase all your data. Use Sunshine
Click to expand...
Click to collapse
No go with towelroot or sunshine. towelroot says its done but when i open titanium it says it was unable to acquire root.
sunshine says my VM version is incompatible and to change in dev options but dont see it in there to change.
It doesnt look like I will be able to acquire root.
I would use google backup but it doesnt back up app/game data as far as I know. I would rather use titanium rather than hope google backup backup everything i hoped...
an0ther said:
This should be in Q&A but why not just let google backup your data?
You have to have root to use sunshine, towel root may or may not work. Ive had 50/50 luck with it on m8's.
Click to expand...
Click to collapse
New version of Sunshine should be able to gain root access on its own. Don't know why it does not work.
zayaabby said:
No go with towelroot or sunshine. towelroot says its done but when i open titanium it says it was unable to acquire root.
sunshine says my VM version is incompatible and to change in dev options but dont see it in there to change.
It doesnt look like I will be able to acquire root.
I would use google backup but it doesnt back up app/game data as far as I know. I would rather use titanium rather than hope google backup backup everything i hoped...
Click to expand...
Click to collapse
If you are stock Sunshine should be able to root your device itself. You could also try Weaksauce http://forum.xda-developers.com/showthread.php?t=2699089
What firmware & android version do you have?
andreasyeah said:
New version of Sunshine should be able to gain root access on its own. Don't know why it does not work.
If you are stock Sunshine should be able to root your device itself. You could also try Weaksauce http://forum.xda-developers.com/showthread.php?t=2699089
What firmware & android version do you have?
Click to expand...
Click to collapse
Finally got it working. Thanks everyone for the help!!
zayaabby said:
Finally got it working. Thanks everyone for the help!!
Click to expand...
Click to collapse
Ok if you need any help ask!
.
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.....
Hello everyone im new to this forum and i got a problem i think u guys can help me with.. . First of all i have to tell that i know nothing about rooting. Recently i bought an used HTC one m8 from a friend and had kitkat on the device. so i tried to check for updates. but i saw the option is missing. so after few minutes i get to know that this device is rooted, when i see the information about the phone. there is an app called super su and when i open it it says "there is no super su binary installed and super su cannot install it.....( ithink you guys know the rest) so i tried two days googling the problem and did everythin i can. but no results. root checking apps say that this device is not rooted but it is.. (some kind of half rooted i think ) so can anyone please be so kind to help me.....?. (sorry for my bad english if it is )
Its not clear what you want to do, update or root, or both (update then root)?
redpoint73 said:
Its not clear what you want to do, update or root, or both (update then root)?
Click to expand...
Click to collapse
i need to update my device to Marshmallow. and if possible i need to unroot the phone back to stock. thanx
redpoint73 said:
Its not clear what you want to do, update or root, or both (update then root)?
Click to expand...
Click to collapse
please help me....
Instruction to return to stock to update are here: http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
To determine what version number to restore, what does it say for OS number on the bootloader screen?
4.16.401.13
Tharinduroshan said:
4.16.401.13
Click to expand...
Click to collapse
Then that is the stock TWRP backup and stock recovery you want to restore, from the thread I posted. After you restore to stock, it should OTA update to Marshmallow.
redpoint73 said:
Then that is the stock TWRP backup and stock recovery you want to restore, from the thread I posted. After you restore to stock, it should OTA update to Marshmallow.
Click to expand...
Click to collapse
Does this process involve turning on the phone in recovery mode. Because I can't do that. my mobile shows a red triangle and exclamation mark when I try to start in recovery mode
Tharinduroshan said:
Does this process involve turning on the phone in recovery mode. Because I can't do that. my mobile shows a red triangle and exclamation mark when I try to start in recovery mode
Click to expand...
Click to collapse
In s-on devices, it is not giving access to stock recovery directly. The first coming exclamation mark is normal. In that occasion if you want to access recovery; while pressing power button, press volume up. However you don't need to go to recovery.
1) If your bootloader is locked, unlock it. http://www.htcdev.com/bootloader/
2) flash twrp (TWRP 2.8.7.0)
3) restore backup (4.16.401.13)
4) flash stock recovery (4.16.401.13)
5) check updates
(the thread given by redpoint73 includes information A-Z to stock)
thank you both redpoint73 and umesh. Really appreciate the help. Im gonna try this and return to you if i have any problem
Tharinduroshan said:
Does this process involve turning on the phone in recovery mode. Because I can't do that. my mobile shows a red triangle and exclamation mark when I try to start in recovery mode
Click to expand...
Click to collapse
That is the stock (official HTC) recovery; from there you can press power+vol up to show the stock recovery menu options. But as a previous reply mentioned, stock recovery isn't going to help you (restore stock TWRP backup, etc.). For that, you need to unlock the bootloader (if not already) and install TWRP custom recovery.
The bootloader screen, near the top, will indicate whether the bootloader is LOCKED, RELOCKED or UNLOCKED. If LOCKED or RELOCKED, unlock it as mentioned in Post #9 above.
My guess is that the previous owner restored stock recovery in a botched attempt to return the phone to stock. By "botched" I mean they didn't properly restore the stock ROM to remove root. But following the guide I linked previously will do that properly.
redpoint73 said:
That is the stock (official HTC) recovery; from there you can press power+vol up to show the stock recovery menu options. But as a previous reply mentioned, stock recovery isn't going to help you (restore stock TWRP backup, etc.). For that, you need to unlock the bootloader (if not already) and install TWRP custom recovery.
The bootloader screen, near the top, will indicate whether the bootloader is LOCKED, RELOCKED or UNLOCKED. If LOCKED or RELOCKED, unlock it as mentioned in Post #9 above.
My guess is that the previous owner restored stock recovery in a botched attempt to return the phone to stock. By "botched" I mean they didn't properly restore the stock ROM to remove root. But following the guide I linked previously will do that properly.
Click to expand...
Click to collapse
In bootloader it shows UNLOCKED
Tharinduroshan said:
In bootloader it shows UNLOCKED
Click to expand...
Click to collapse
That's good, in your case.
Just install TWRP, restore the previously indicated stock TWRP backup, install corresponding stock recovery, and update OTA.
redpoint73 said:
That's good, in your case.
Just install TWRP, restore the previously indicated stock TWRP backup, install corresponding stock recovery, and update OTA.
Click to expand...
Click to collapse
yeah i think i got it now. ill try it. thank you very much for your help..
redpoint73 said:
That's good, in your case.
Just install TWRP, restore the previously indicated stock TWRP backup, install corresponding stock recovery, and update OTA.
Click to expand...
Click to collapse
I did it successfully i think. But after that now i cant adjust my screen brightness and developer options are not usable either both of them become grey i cannot use them
In addition i cant see my network details in about. It is also become grey
Tharinduroshan said:
I did it successfully i think. But after that now i cant adjust my screen brightness and developer options are not usable either both of them become grey i cannot use them
Click to expand...
Click to collapse
Did the wipe the partitions indicated in the guide? If so, I can't see what can be causing the issue. Proper stock ROM for your firmware, with proper wipes, I haven't seen these issues.
redpoint73 said:
Did the wipe the partitions indicated in the guide? If so, I can't see what can be causing the issue. Proper stock ROM for your firmware, with proper wipes, I haven't seen these issues.
Click to expand...
Click to collapse
i think my phone is a demo version. there is an app called demo and it is causing all the trouble and i cant uninstall it. i tried doing a factory reset with recovery. but not helped. any sugesstions?
Tharinduroshan said:
i think my phone is a demo version. there is an app called demo and it is causing all the trouble and i cant uninstall it. i tried doing a factory reset with recovery. but not helped. any sugesstions?
Click to expand...
Click to collapse
The version we told you to restore is not for a demo version. I don't think you restored as you were advised, at least not properly.
Also, factory reset only wipes user data, it doesn't affect anything with the ROM; and you should not be mistaken in thinking it would.
redpoint73 said:
The version we told you to restore is not for a demo version. I don't think you restored as you were advised, at least not properly.
Also, factory reset only wipes user data, it doesn't affect anything with the ROM; and you should not be mistaken in thinking it would.
Click to expand...
Click to collapse
No i did all the things that post said and i downloaded the version 4.16.401.13 its the version for my phone :crying:
Hey, I've decided to convert my phone to WWE, but I'd like to avoid unlocking bootloader through htcdev and I also want to backup my stock rom, since it's polish tmobile so not commonly available. Shall I just perform the steps from this thread, but only from 6th step, and after S-OFF that temp-rooted the phone just root and install TWRP and then perform the backup?
Any help would be higly appreciated
after having s-off, flahs TWRP and then DON'T ROOT yet, also ensure you keep /system readonly in TWRP..it will ask you when you open TWRP the first time.
Then go to TWRP-backup and backup the system.img and boot.img..then you got a 100% stock rom (besides stock recovery)...you could dd the recovery partition though, before flashing twrp.
now you can root your phone by flashing the latest SuperSU.zip or flash a custom rom (those are prerooted)
Can we soff in Nougat?
ordeniz said:
Can we soff in Nougat?
Click to expand...
Click to collapse
Yes I did it the other day on my tmobile phone running stock nougat.
nookie1916 said:
Yes I did it the other day on my tmobile phone running stock nougat.
Click to expand...
Click to collapse
Were you already rooted before soff?
nookie1916 said:
Yes I did it the other day on my tmobile phone running stock nougat.
Click to expand...
Click to collapse
People were saying we should do it in marshmallow or else we may not be able to. Is this something new or we could always s off in nougat from the beginning.
Well I am already s off but just want to know. Thanks.