[Q] How to remove superuser app on HTC One M7 - One (M7) Q&A, Help & Troubleshooting

I rooted my phone and then unrooted it in order to update on Sense 6. Everything went well with unroot procedure except superuser app stays in app tray. Since then the phone is locked and on stock. Now I need to return the damn thing because of bad camera. I tried to remove superuser app by deleting system/apps/superuser.apk and system/xbin/su in ES File Explorer but it said that those files cannot be deleted. I also tried to uninstall the app through Google Play but that didn't work either.
I realise that there probably won't be any left options except to reroot my phone, deleting superuser app and then unroot again but I have to ask is there any way to remove it without reroot?
I'm scared of reroot because I don't know would I be able to unroot again and put the phone back on stock ready for service or RMA. I'm on Sense 6 (6.09.401.10), Android version 4.4.3. The phone is still under warranty.
Please help with any available info. I'm noob at this so I even don't know where should i start or what questions to ask.
Edit:
Rooted by the help of this tutorial
Unrooted by the help of this thread from user nkk71

Anyone on this?

jhercog said:
Anyone on this?
Click to expand...
Click to collapse
You need root to access those system folders, only thing I can suggest is Factory Reset from the settings menu. If that doesn't work try factory reset from Stock recovery and even the bootloader factory reset is worth a try.
Not sure it will help though I don't think it touches the system partitions.
What method did you use to s-off your device originally?
Sent from my HTC One M7 - ARHD 82.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:

Danny201281 said:
You need root to access those system folders, only thing I can suggest is Factory Reset from the settings menu. If that doesn't work try factory reset from Stock recovery and even the bootloader factory reset is worth a try.
Not sure it will help though I don't think it touches the system partitions.
What method did you use to s-off your device originally?
Sent from my HTC One M7 - ARHD 82.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Click to expand...
Click to collapse
I did factory reset from boot loader menu and tried to delete those files again but that didn't work.
I don't know how to do factory reset from Stock Recovery. Would you care to explain?
To be honest, I don't remember how did I get s-off originally.

jhercog said:
I did factory reset from boot loader menu and tried to delete those files again but that didn't work.
I don't know how to do factory reset from Stock Recovery. Would you care to explain?
To be honest, I don't remember how did I get s-off originally.
Click to expand...
Click to collapse
Boot to the bootloader and Select "Recovery" the screen will go black for a short period then display a picture of a phone with red exclamation. Don't worry it's normal.
Hold volume up and press (don't hold just press) power to reveal the stock recovery menu, you will see some errors about can't mount sd card again this is normal in stock recovery.
The reason I asked about s-off method was if you used Sunshine you can use it again on the same device without paying the fee. But if you have to root again you will need s-off to return to stock. And there's no guarantees the older (free) methods will work now your updated to the latest firmware.
Sent from my HTC One M7 - ARHD 82.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:

Danny201281 said:
Boot to the bootloader and Select "Recovery" the screen will go black for a short period then display a picture of a phone with red exclamation. Don't worry it's normal.
Hold volume up and press (don't hold just press) power to reveal the stock recovery menu, you will see some errors about can't mount sd card again this is normal in stock recovery.
The reason I asked about s-off method was if you used Sunshine you can use it again on the same device without paying the fee. But if you have to root again you will need s-off to return to stock. And there's no guarantees the older (free) methods will work now your updated to the latest firmware.
Sent from my HTC One M7 - ARHD 82.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Click to expand...
Click to collapse
Well, that doesn't work. Still stuck with SuperSu in my app drawer.
Sunshine method doesn't ring any bells to me. I didn't use it most probably.
So, I probably have to reroot, unlock, s-off to be able to uninstall SuperSu? Any advices on doing that on my firmware? Would I be able to relock, unroot and s-on again?

Would it be possible to use something like Z4Root app to temporary root the device and then uninstall SuperSu? Or root/unlock/s-off method is necessary?

Does anybody have a safe method for removing SuperSu under these circumstances and is willing to explain it in details so noob like me can understand it and do it by himself?

jhercog said:
Does anybody have a safe method for removing SuperSu under these circumstances and is willing to explain it in details so noob like me can understand it and do it by himself?
Click to expand...
Click to collapse
Outside of what Danny201281 stated there is really not much you can do except go thru root again to remove the files. There is one long shot that might work; go to Google Play Store > My Apps and scroll down to see if SuperSU is present. Click on it and see if the Uninstall option is there. Other than that sorry, I'm out of ideas.

jhercog said:
Does anybody have a safe method for removing SuperSu under these circumstances and is willing to explain it in details so noob like me can understand it and do it by himself?
Click to expand...
Click to collapse
Under Settings for SuperSU, doesn't it have an option for Full Unroot?

majmoz said:
Outside of what Danny201281 stated there is really not much you can do except go thru root again to remove the files. There is one long shot that might work; go to Google Play Store > My Apps and scroll down to see if SuperSU is present. Click on it and see if the Uninstall option is there. Other than that sorry, I'm out of ideas.
Click to expand...
Click to collapse
Yeah I tried that but that doesn't work either.

vaporjet said:
Under Settings for SuperSU, doesn't it have an option for Full Unroot?
Click to expand...
Click to collapse
I can't launch SuperSu because there is no SU binary installed.

jhercog said:
I can't launch SuperSu because there is no SU binary installed.
Click to expand...
Click to collapse
Doesn't sound right that SuperSU can survive a factory reset, unless it is baked in. Are you sure you're running a stock ROM?

vaporjet said:
Doesn't sound right that SuperSU can survive a factory reset, unless it is baked in. Are you sure you're running a stock ROM?
Click to expand...
Click to collapse
Yes, because OTA updates are working as expected. As far as I know, I wouldn't be able to receive and install OTA updates if I would run anything other than stock ROM.

Anybody have some good advice or link (preferably detailed step by step instructions) on how to safely root under these conditions, remove SuperSu and then unroot back to stock?

jhercog said:
Anybody have some good advice or link (preferably detailed step by step instructions) on how to safely root under these conditions, remove SuperSu and then unroot back to stock?
Click to expand...
Click to collapse
Unlock the bootloader at HTCDEV
then from fastboot USB
Flash recovery TWRP 2.6.3.3
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
Go into twrp choose Advanced / file manager go to system/app delete su and Superuser.apk
could also be under /superuser/su and Superuser.apk
reboot to the bootloader and flash stock recovery ...done
I'm not sure if you have it but stock recovery's are here >
Stock recovery collection
http://forum.xda-developers.com/showthread.php?t=2545227
I also Googled and found this
Boot your phone to TWRP recovery mode by turn off your phone then presses Vol up + Power to boot into bootloader then choose RECOVERY. There is a more simple way, by using “adb reboot recovery”.
Once came into TWRP main menu, now tap Mount -> Mount system then taps Home.
Tap Advanced -> File Manager, browse to “/system/xbin” folder. From there delete su, daemonsu or busybox if it exists. Also browse to “/system/app” the get rid of Superuser.apk.
Now Supersu doesn't come back when I reboot and root checker tells me my phone isn't rooted
Click to expand...
Click to collapse

clsA said:
Unlock the bootloader at HTCDEV
then from fastboot USB
Flash recovery TWRP 2.6.3.3
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
Go into twrp choose Advanced / file manager go to system/app delete su and Superuser.apk
could also be under /superuser/su and Superuser.apk
reboot to the bootloader and flash stock recovery ...done
I'm not sure if you have it but stock recovery's are here >
Stock recovery collection
http://forum.xda-developers.com/showthread.php?t=2545227
Click to expand...
Click to collapse
I'm sorry for asking noob questions (in bad English) but Is it safe to do on Sense 6 Update?
M7_UL PVT SHIP S-ON
HBOOT-1.57.0000
RADIO-4T.29.3218.08
OpenDSP-v32.120.274.0909
OS-6.09.401.10
Do I need S-Off? Would I than be able to claim my warranty with all traces of rooting removed?
Is there anything I should know in order to keep myself out of screwing things up beyond repair?

clsA said:
Unlock the bootloader at HTCDEV
then from fastboot USB
Flash recovery TWRP 2.6.3.3
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
Go into twrp choose Advanced / file manager go to system/app delete su and Superuser.apk
could also be under /superuser/su and Superuser.apk
reboot to the bootloader and flash stock recovery ...done
I'm not sure if you have it but stock recovery's are here >
Stock recovery collection
http://forum.xda-developers.com/showthread.php?t=2545227
I also Googled and found this
Click to expand...
Click to collapse
Oh, and my version-main is 6.09.401.10 as fastboot 'getvar version-main' stated. I can't find it on the Stock recovery page you recommended. The nearest is 6.09.401.5. Can I use that version or...?

jhercog said:
Oh, and my version-main is 6.09.401.10 as fastboot 'getvar version-main' stated. I can't find it on the Stock recovery page you recommended. The nearest is 6.09.401.5. Can I use that version or...?
Click to expand...
Click to collapse
You can extract the stock recovery from the OTA the stock recovery is inside the firmware.zip >> https://www.androidfilehost.com/?fid=95784891001603795

Related

HTC One original rom on root device update problem

...guys I was looking around, but couldn't find answer for my little problem. I have rooted HTC One, but rom is stock (didn't plan to change it at all just needed root), but the problem is today a new update came up, and when I tried to install it, it simple didn't do anything.
I go on Install now, phone restarts in recovery mode, then it gives me Installation aborted, and I have 3 thingies, - No; - Yes - Disable recovery flash: - +++++Go Back+++++
Whatever I choose, it just restarts and asks again for same recovery. What shall I do?
In console stands this:
ClockworkMod Recovery v6.0.3.4
E: Invalid command argument
E: Invalid command argument
Warning: No file_contexts
Finding update package...
E: unknown volume for path [DATA:data/cp,/amdrpod_HTC_Europe_2.24.401.8-2.24.401.1_release_331108tottoh71qygw07hf.zip]
E: Can't mount DATA:data/cp,/amdrpod_HTC_Europe_2.24.401.8-2.24.401.1_release_331108tottoh71qygw07hf.zip
Installation aborted
It seems that it cannot mount or something?!?
Cheers...
rex1825 said:
...guys I was looking around, but couldn't find answer for my little problem. I have rooted HTC One, but rom is stock (didn't plan to change it at all just needed root), but the problem is today a new update came up, and when I tried to install it, it simple didn't do anything.
I go on Install now, phone restarts in recovery mode, then it gives me Installation aborted, and I have 3 thingies, - No; - Yes - Disable recovery flash: - +++++Go Back+++++
Whatever I choose, it just restarts and asks again for same recovery. What shall I do?
In console stands this:
ClockworkMod Recovery v6.0.3.4
E: Invalid command argument
E: Invalid command argument
Warning: No file_contexts
Finding update package...
E: unknown volume for path [DATA:data/cp,/amdrpod_HTC_Europe_2.24.401.8-2.24.401.1_release_331108tottoh71qygw07hf.zip]
E: Can't mount DATA:data/cp,/amdrpod_HTC_Europe_2.24.401.8-2.24.401.1_release_331108tottoh71qygw07hf.zip
Installation aborted
It seems that it cannot mount or something?!?
Cheers...
Click to expand...
Click to collapse
Because HTC's updates only work on stock recovery.
Sent from my One using xda app-developers app
Tw1tchy said:
Because HTC's updates only work on stock recovery.
Sent from my One using xda app-developers app
Click to expand...
Click to collapse
Is there a way to update my phone now?
re
is it enough to put in cmd throuhg adb the "fastboot oem lock" command, since my rom is already stock?
Or do I need to flash stock recovery?
Cheers...
rex1825 said:
is it enough to put in cmd throuhg adb the "fastboot oem lock" command, since my rom is already stock?
Or do I need to flash stock recovery?
Cheers...
Click to expand...
Click to collapse
I'm sure you need stock recovery.
Sent from my One using xda app-developers app
Tw1tchy said:
I'm sure you need stock recovery.
Sent from my One using xda app-developers app
Click to expand...
Click to collapse
...ah, I knew it. I presume that stock recovery can't be flashed from custom recovery.
So I need to flash stock recovery, then to lock bootloader, and then I guess I'm good to go!?!
Can I flash it from custom recovery, or do I need to flash it differently? Anyone has link for it, or are all stock recoveries same (I mean from different providers)?
Thanks
You need to install stock recovery using fastboot command "fastboot flash recovery recovery.img"
AllAboutTheCore said:
You need to install stock recovery using fastboot command "fastboot flash recovery recovery.img"
Click to expand...
Click to collapse
...so only stock recovery, I do not need fastboot lock or something?
Cheers...
rex1825 said:
...so only stock recovery, I do not need fastboot lock or something?
Cheers...
Click to expand...
Click to collapse
Install stock recovery like I said above, once done type the following :- "fastboot oem lock"
You should be good to go then for the update. Re-locking your bootloader doesn't wipe your files either, only unlocking wipes the internal storage.
...OK, so here is what I did. From ADB restored the original recovery.img, then lock bootloader, and viola. Thanks guys for helping me out.
Cheers...
Edit: ...I forgot to uninstall SuperSU, and now I have a shortcut in apps and it cannot be removed. When I run it, phone says: "There is no SU binary installed, and SuperSU cannot install it. This is a Problem!" ...lolz me, what to do?
rex1825 said:
...OK, so here is what I did. From ADB restored the original recovery.img, then lock bootloader, and viola. Thanks guys for helping me out.
Cheers...
Edit: ...I forgot to uninstall SuperSU, and now I have a shortcut in apps and it cannot be removed. When I run it, phone says: "There is no SU binary installed, and SuperSU cannot install it. This is a Problem!" ...lolz me, what to do?
Click to expand...
Click to collapse
Just do update then reroot phone as before that's what I did but more than likely you won't be able to soff using revone th world have to use htcdev method
Sent from inside the T.A.R.D.I.S
joselv456 said:
Just do update then reroot phone as before that's what I did but more than likely you won't be able to soff using revone th world have to use htcdev method
Sent from inside the T.A.R.D.I.S
Click to expand...
Click to collapse
What is all this about S-Off and HTCDev ... You unlock your bootloader through HTCDev, S-Off is NOT something that can be done any other way than Revone and Moonshine and NOT on Hboot 1.54 ... Yet.
I've seen several people mention S-Off and HTCDev in the same breath and I think some of you are getting it all mixed up. Unlocking the bootloader and going S-Off are not the same thing and only unlocking the bootloader can be done through the HTCDev website.
I'm pretty sure HTC aren't going to help you remove the security from your device.
I stand corrected you are correct I had soff before that's why I guess it wasn't reset after update
Sent from inside the T.A.R.D.I.S
Original recovery and lock oem doesn't help.
Lads,
Would someone give me a hand here please.
There is a major update for HTC One.
I've flashed original recovery and locked back the phone.
Now it's downloading the update, then goes into reboot and opens fastboot bootloader, instead of installing the update.
What am i doing wrong here?
Thanks in advances
Hi,
I have the same problem as OP.
However the instructions in the replies are terribly confusing, I don't even know where to start!
Someone could do a step-by-step summary for less expert (or just android-retarded) people ?
Thanks a lot!
further to my post above
You need to be on stock recovery. Figure that out and you should be good.
Looking at the various guides somehow related to stock recovery doesn't make sense to me.
There's too many things I am not aware of such as how to flash the stock recovery, if the process will wipe all data, what is a fastboot command etc. etc. Has anybody ever created an easy guide to assess the problem?
AllAboutTheCore said:
What is all this about S-Off and HTCDev ... You unlock your bootloader through HTCDev, S-Off is NOT something that can be done any other way than Revone and Moonshine and NOT on Hboot 1.54 ... Yet.
I've seen several people mention S-Off and HTCDev in the same breath and I think some of you are getting it all mixed up. Unlocking the bootloader and going S-Off are not the same thing and only unlocking the bootloader can be done through the HTCDev website.
I'm pretty sure HTC aren't going to help you remove the security from your device.
Click to expand...
Click to collapse
I have HBOOT 1.54 and S-OFF with rumrunner_HTC_0.5.0
-marco- said:
further to my post above
Click to expand...
Click to collapse
For the sake of common knowledge and in case it may help other unknowing people like me, I'll post what I did here:
I sort of mixed these two guides: this one and this.
Premise:
A. It was impossible to make this whole thing run on my Win8.1 x64 computer. It would never recognize my Fastboot USB device plugged in. I had to use bloody WINXP x86 on my old-ass netbook....
B. Somehow I still had my fastboot/adb compiled folder that I used back in time to root my HTC at first.
C. My phone was Tampered, Unlocked, with HBOOT (i think 1.44 ?) and most definitely S-OFF I would say ? Still don't know for sure.
D. I updated from 4.1.2 through 4.2 to 4.3.
At the 4.2 upgrade the phone went on black screen twice (1st time at ~25%, and 2nd time after 100% was complete). Panic is useless in that case. I went to the bathroom, blasted the strongest lights I had and exposing the phone to the lights, I pressed the power button til the capacitative buttons blinked. After a while the phone rebooted and resumed exactly from the point it blacked out before.
The update to 4.3 went smooth as oil instead.
This is each step I did, following the quoted guides above:
1. Extract the stock recovery file (should be .img) that can be found in the OTA update firmware.zip file, in the firmware package (in some other thread it's explained the path of this file). Place the file in the folder with your fastboot commands.
2. Make sure fastboot and USB Debugging are unchecked on your phone in power settings>fastboot.
3. Power down phone by holding power button and pressing shut down.
4. Once phone is shut down, power phone into bootloader by holding volume down button and pressing power button.
5. Once in the bootloader navigate until it says fastboot usb (must have phone connected to computer).
6. Open up a command prompt where your fastboot commands are located.
7. Type the following with the filename of the stock recovery:
Code:
fastboot flash recovery <filename>
8. Navigate in the bootloader menu to the reboot option to restart your phone.
9. Download the latest SuperSU and place it on your sdcard.
10. Perform the OTA update normally.
11. Once it finishes installing, power down the phone like before and get back to fastboot usb.
12. Flash back the custom recovery using fastboot (I used latest CWM available):
Code:
fastboot flash recovery <filename>
or
Code:
fastboot flash zip <recovery>.zip
13. Then type :
Code:
fastboot reboot
14. Enter recovery by navigating with the volume buttons. Once in recovery, flash the zip of the SuperSU file you previously downloaded.
15. Restart once flashing is complete.

S-Off and root

I would like to root my phone and keep it stock as much as possible.
After reading, it seems that I could S-Off then root (I would like to avoid unlocking my phone with HTCDev). Now it seems that I need to flash a recovery to be able to root. Is it? Otherwise how could I do it without the recovery?
Thanks!
dadaR6 said:
I would like to root my phone and keep it stock as much as possible.
After reading, it seems that I could S-Off then root (I would like to avoid unlocking my phone with HTCDev). Now it seems that I need to flash a recovery to be able to root. Is it? Otherwise how could I do it without the recovery?
Thanks!
Click to expand...
Click to collapse
you can fastboot boot the recovery and then flash root. That way you stay stock while still having root.
Indirect said:
you can fastboot boot the recovery and then flash root. That way you stay stock while still having root.
Click to expand...
Click to collapse
Can you explain a bit how you do that? Link?
I know how need to install SuperUser.apk from ADB, but I am missing where and how to install su and maybe others?
Thanks
dadaR6 said:
Can you explain a bit how you do that? Link?
I know how need to install SuperUser.apk from ADB, but I am missing where and how to install su and maybe others?
Thanks
Click to expand...
Click to collapse
Your information is a little off. Most root methods don't involve installing the su binary separately from your superuser app. You should also learn how to use fastboot, as suggested above.
You will need to have a recovery image (most people use TWRP), and a root zip (most people are using SuperSU's zips these days, you can find them in the root guides around this forum). Download the root zip to your phone before you do anything else.
You need to boot your phone into fastboot mode (restart the phone, then hold VOL UP/VOL DOWN and POWER), and then with the phone plugged into your computer, run:
fastboot boot /path/to/recovery.img
That will boot your phone once into a custom recovery. From here, depending on the recovery you're using (most will use TWRP), you can hit the appropriate install option, navigate to wherever you downloaded your root ZIP, and then flash that. Reboot the phone, and you'll be rooted, and the one-time recovery will be gone.
Rirere said:
fastboot boot /path/to/recovery.img
That will boot your phone once into a custom recovery. From here, depending on the recovery you're using (most will use TWRP), you can hit the appropriate install option, navigate to wherever you downloaded your root ZIP, and then flash that. Reboot the phone, and you'll be rooted, and the one-time recovery will be gone.
Click to expand...
Click to collapse
Great, this is the info I was missing! Gonna try it now and see.
Thanks!

Where did I go wrong?

Okay, so I have an HK m8 on sprint, FW 1.54.654.13.
I was originally on Viper 1.8.0, but wanted to upgrade to 2.0.0, so I went back to my stock backup, with the aforementioned software version.
After restoring that backup I realized I needed to also flash a stock recovery in order to take the OTA. So I flashed the 'Stock Recovery From 1.54.651.8 OTA' over adb from this thread: http://forum.xda-developers.com/showthread.php?t=2736048
So, since flashing that recovery my phone seems to not have a recovery anymore; infact, it constantly reboots after about 1 minute of being booted to system. When I boot into recovery, I get a symbol of a phone with an "!" in a triangle over it.
Where did I go wrong? What recovery should I be using? I can re-flash TWRP, but it seems I still get the bootloop, even though it does actually boot into system (which I've never seen happen from a bootloop). It's been like this for 12+ hours, and no amount of searching has helped me out thus far, so I'm hoping someone here could help me out a little.
xLoveHateLegend said:
Okay, so I have an HK m8 on sprint, FW 1.54.654.13.
I was originally on Viper 1.8.0, but wanted to upgrade to 2.0.0, so I went back to my stock backup, with the aforementioned software version.
After restoring that backup I realized I needed to also flash a stock recovery in order to take the OTA. So I flashed the 'Stock Recovery From 1.54.651.8 OTA' over adb from this thread: http://forum.xda-developers.com/showthread.php?t=2736048
So, since flashing that recovery my phone seems to not have a recovery anymore; infact, it constantly reboots after about 1 minute of being booted to system. When I boot into recovery, I get a symbol of a phone with an "!" in a triangle over it.
Where did I go wrong? What recovery should I be using? I can re-flash TWRP, but it seems I still get the bootloop, even though it does actually boot into system (which I've never seen happen from a bootloop). It's been like this for 12+ hours, and no amount of searching has helped me out thus far, so I'm hoping someone here could help me out a little.
Click to expand...
Click to collapse
When I boot into recovery, I get a symbol of a phone with an "!" in a triangle over it.
Click to expand...
Click to collapse
This is stock recovery
You could pull the stock recovery from the HK firmware...hopefully that will get you back to normal.
Worse comes to worse run the RUU.
I do not have the recovery.img in my backup. I'm also not S-off, so I think the only way I can upgrade my firmware is through OTA from what I understand, correct? If I could just flash the proper stock recovery I think I would be fine from there?
xLoveHateLegend said:
I do not have the recovery.img in my backup. I'm also not S-off, so I think the only way I can upgrade my firmware is through OTA from what I understand, correct? If I could just flash the proper stock recovery I think I would be fine from there?
Click to expand...
Click to collapse
You can flash the full firmware while being s-on.
Alright, thanks! Can I go ahead and RUU 2.22.401.4 directly, or should I just RUU to my current stock firmware and just OTA from there?
Sent from my 831C using XDA Free mobile app
xLoveHateLegend said:
Alright, thanks! Can I go ahead and RUU 2.22.401.4 directly, or should I just RUU to my current stock firmware and just OTA from there?
Sent from my 831C using XDA Free mobile app
Click to expand...
Click to collapse
2.22.401.4 is not for Sprint.
I would go with the current HK RUU and start fresh.
BD619 said:
2.22.401.4 is not for Sprint.
I would go with the current HK RUU and start fresh.
Click to expand...
Click to collapse
Damn. Alright, well from what I can see 2.16.654.4 is the latest for Sprint. After downloading O.M.J.'s RUU, would I be good to go straight to viper 2.0.0?
Sent from my 831C using XDA Free mobile app
xLoveHateLegend said:
Damn. Alright, well from what I can see 2.16.654.4 is the latest for Sprint. After downloading O.M.J.'s RUU, would I be good to go straight to viper 2.0.0?
Sent from my 831C using XDA Free mobile app
Click to expand...
Click to collapse
After you install TWRP recovery, yes.
For future reference Viper does OTA's which are not the same as Sprint OTA's...download the Viper OTA and flash in twrp.
Magnum_Enforcer said:
After you install TWRP recovery, yes.
Click to expand...
Click to collapse
Yes of course, thank you.
BD619 said:
For future reference Viper does OTA's which are not the same as Sprint OTA's...download the Viper OTA and flash in twrp.
Click to expand...
Click to collapse
Yes, I am aware. But on 1.8.0 I did not get an OTA. Maybe because I'll get it after I upgrade my FW. So after RUUing then reinstalling TWRP, if I restore my viper 1.8.0 backup, I can just OTA to 2.0.0?
xLoveHateLegend said:
Yes of course, thank you.
Yes, I am aware. But on 1.8.0 I did not get an OTA. Maybe because I'll get it after I upgrade my FW. So after RUUing then reinstalling TWRP, if I restore my viper 1.8.0 backup, I can just OTA to 2.0.0?
Click to expand...
Click to collapse
Should be able to...
But if you are going to RUU why not just download the full rom and clean flash.
BD619 said:
Should be able to...
But if you are going to RUU why not just download the full rom and clean flash.
Click to expand...
Click to collapse
I tried flashing the full Rom per your suggestion, but after flashing the 2.0.0 Rom, it's like my phone has no OS and can only boot to bootloader or recovery, not system at all.
I also tried extracting the latest hk ruu to the root of my external SD card and running it through bootloader to no avail.
I feel like I'm missing a vital part of information here. I've never really ruu'd before so I'm new to that but I'm pretty stumped on this whole thing.
xLoveHateLegend said:
I tried flashing the full Rom per your suggestion, but after flashing the 2.0.0 Rom, it's like my phone has no OS and can only boot to bootloader or recovery, not system at all.
I also tried extracting the latest hk ruu to the root of my external SD card and running it through bootloader to no avail.
I feel like I'm missing a vital part of information here. I've never really ruu'd before so I'm new to that but I'm pretty stumped on this whole thing.
Click to expand...
Click to collapse
get the drivers for your phone + adb, rename the firmware update to firmware.zip, put it in /sdk/platform-tools
put the phone in fastboot, make sure it says fastboot USB and type fastboot devices in terminal to confirm it's connected.
then type in terminal Fastboot oem rebootRUU (capitalization matters.)
your screen will go black with a greyish HTC logo, then type in fastboot flash zip firmware.zip
once it's done doing it's thing type fastboot reboot
this method is pretty much failproof
EDIT: also, if you're flashing ONLY the sprint 2.0.0 update, you'll have to be on capt's twrp 2.7.0.7, otherwise you'll have to flash the full rom, boot into it, reboot into 2.7.1.0, and dirty flash the sprint viper ROM. Hope that helps, cheers >;3
yorisou said:
get the drivers for your phone + adb, rename the firmware update to firmware.zip, put it in /sdk/platform-tools
put the phone in fastboot, make sure it says fastboot USB and type fastboot devices in terminal to confirm it's connected.
then type in terminal Fastboot oem rebootRUU (capitalization matters.)
your screen will go black with a greyish HTC logo, then type in fastboot flash zip firmware.zip
once it's done doing it's thing type fastboot reboot
this method is pretty much failproof
EDIT: also, if you're flashing ONLY the sprint 2.0.0 update, you'll have to be on capt's twrp 2.7.0.7, otherwise you'll have to flash the full rom, boot into it, reboot into 2.7.1.0, and dirty flash the sprint viper ROM. Hope that helps, cheers >;3
Click to expand...
Click to collapse
Thanks for the reply! From my understanding, you need to be S-Off for that method, which I am not.
The method I attempted to use is this one, from O.M.J's thread here http://forum.xda-developers.com/showthread.php?t=2729173
using 7zip, extract 0P6BIMG.zip to ext sd card
-boot into bootloader
-make sure*hboot*is highlighted, press power button
-it will scan your ext_sd card, then ask if you want to start the update
-press volume up & let it do it's thing...
The problem is, it scans my external SD card just fine but never asks if I want to start the update, nor do I get the option to press volume up etc... I am on captains twrp 2.7.0.7, as I've seen many other users confirm success with this recovery.
Also, I don't see just an update, it seems the Sprint version of the Rom I downloaded is the full rom. I actually did get it to boot once and got this (see screenshot), but it was a dirty flash.
Sent from my 831C using XDA Free mobile app
xLoveHateLegend said:
Thanks for the reply! From my understanding, you need to be S-Off for that method, which I am not.
The method I attempted to use is this one, from O.M.J's thread here http://forum.xda-developers.com/showthread.php?t=2729173
using 7zip, extract 0P6BIMG.zip to ext sd card
-boot into bootloader
-make sure*hboot*is highlighted, press power button
-it will scan your ext_sd card, then ask if you want to start the update
-press volume up & let it do it's thing...
The problem is, it scans my external SD card just fine but never asks if I want to start the update, nor do I get the option to press volume up etc... I am on captains twrp 2.7.0.7, as I've seen many other users confirm success with this recovery.
Also, I don't see just an update, it seems the Sprint version of the Rom I downloaded is the full rom. I actually did get it to boot once and got this (see screenshot), but it was a dirty flash.
Sent from my 831C using XDA Free mobile app
Click to expand...
Click to collapse
Did you re-lock your bootloader?
xLoveHateLegend said:
Thanks for the reply! From my understanding, you need to be S-Off for that method, which I am not.
The method I attempted to use is this one, from O.M.J's thread here http://forum.xda-developers.com/showthread.php?t=2729173
using 7zip, extract 0P6BIMG.zip to ext sd card
-boot into bootloader
-make sure*hboot*is highlighted, press power button
-it will scan your ext_sd card, then ask if you want to start the update
-press volume up & let it do it's thing...
The problem is, it scans my external SD card just fine but never asks if I want to start the update, nor do I get the option to press volume up etc... I am on captains twrp 2.7.0.7, as I've seen many other users confirm success with this recovery.
Also, I don't see just an update, it seems the Sprint version of the Rom I downloaded is the full rom. I actually did get it to boot once and got this (see screenshot), but it was a dirty flash.
Sent from my 831C using XDA Free mobile app
Click to expand...
Click to collapse
http://venomroms.com/htc-one-m8/
download the full one and the sprint one, flash the first, reboot all the way (doubt you have to finish the automatic setup) then reboot into recovery and dirty flash the sprint one without wiping anything. It'll connect to the CDMA network instead of the GSM one with no problems, you don't even need to be on 2.7.0.7
And if it isn't working in HBOOT just go into recovery and adb sideload it, you shouldn't need to be s-off to do that. Enter adb sideload and just type in a terminal adb sideload (filename)
EDIT: idk why but that picture made me lol irl, KEEP CALM AND KANG AWAY
Alright giving that a shot now, thanks
That message is hilarious to me now, but it wasn't at the time xD
Edit: is it safe to dirty flash the first one, coming from 1.8.0? Also no, I haven't relocked my boot loader.
xLoveHateLegend said:
Alright giving that a shot now, thanks
That message is hilarious to me now, but it wasn't at the time xD
Edit: is it safe to dirty flash the first one, coming from 1.8.0? Also no, I haven't relocked my boot loader.
Click to expand...
Click to collapse
RUU won't run unless you re-lock the bootloader since you are s-on
BD619 said:
RUU won't run unless you re-lock the bootloader since you are s-on
Click to expand...
Click to collapse
Ahhh, okay makes sense now. My m7 was s-off and that was the first and last time I ever did a RUU. If I re-lock the boot loader, do I have to go through htcdev again to unlock once more, or will having it locked again not effect root?
Sent from my 831C using XDA Free mobile app
xLoveHateLegend said:
Ahhh, okay makes sense now. My m7 was s-off and that was the first and last time I ever did a RUU. If I re-lock the boot loader, do I have to go through htcdev again to unlock once more, or will having it locked again not effect root?
Sent from my 831C using XDA Free mobile app
Click to expand...
Click to collapse
fastboot oem relock
should do it

[Q] Help w/ Root Htc One (m7)

Hello, this is my first time on XDA so if I make any mistakes please forgive me .
I have unlocked the bootloader on my Sprint HTC One m7, and I can't find any guides on how to root my phone with its current stock Andriod version. It has version 4.4.2 with HTC version 6.0. Can anyone point me towards a good guide?
Thanks!
Lifehags said:
Hello, this is my first time on XDA so if I make any mistakes please forgive me .
I have unlocked the bootloader on my Sprint HTC One m7, and I can't find any guides on how to root my phone with its current stock Andriod version. It has version 4.4.2 with HTC version 6.0. Can anyone point me towards a good guide?
Thanks!
Click to expand...
Click to collapse
Welcome to xda!
Since your bootloader is already unlocked, then all you need to do is to flash a custom recovery like TWRP.
With the recovery.img in the same folder where you have adb and fastboot and your phone booted in bootloader/fastboot usb mode, open a command prompt and type:
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot-bootloader
then reboot in recovery mode by selecting "recovery" in the bootloader. Once booted in TWRP recovery, just select to reboot to system and the recovery will detect that your phone isn't rooted and will ask if you want to root it. Select "yes". Then once rebooted in the OS, you should have supersu in your app drawer.
Don't forget sprint variant of the One isn't the same phone as the international gsm variant so always flash files (Custom recovery/ custom roms/ Custom kernel) compatible for sprint (M7WLS sometime called M7SPR)
alray said:
Welcome to xda!
Since your bootloader is already unlocked, then all you need to do is to flash a custom recovery like
With the recovery.img in the same folder where you have adb and fastboot and your phone booted in bootloader/fastboot usb mode, open a command prompt and type:
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot-bootloader
then reboot in recovery mode by selecting "recovery" in the bootloader. Once booted in TWRP recovery, just select to reboot to system and the recovery will detect that your phone isn't rooted and will ask if you want to root it. Select "yes". Then once rebooted in the OS, you should have supersu in your app drawer.
Don't forget sprint variant of the One isn't the same phone as the international gsm variant so always flash files (Custom recovery/ custom roms/ Custom kernel) compatible for sprint (M7WLS sometime called M7SPR)
Click to expand...
Click to collapse
That's all? Also, using this procedure, if I update will my root be broken or Will I still have root? Also if it brakes my root what will happenen to the stuff that I gave root permission too? And stuff like that? Thanks for all the help!
Lifehags said:
That's all? Also, using this procedure, if I update
Click to expand...
Click to collapse
You'll maybe not be able to update. When you unlock the bootloader, /data/preload and its content is wiped (some of HTC preloaded apps, weather animations etc). These apps are sometime updated during an ota update and if they are missing, like after unlocking the bootloader. the ota installation will fail. You also need to flash your stock recovery back before an ota update.
will my root be broken or Will I still have root?
Click to expand...
Click to collapse
You'll loose root. All you have to do is to root again after the ota update.
Also if it brakes my root what will happenen to the stuff that I gave root permission too? And stuff like that? Thanks for all the help!
Click to expand...
Click to collapse
They will still be installed but they won't work, or at least, there functions requiring root will not work.
alray said:
You'll maybe not be able to update. When you unlock the bootloader, /data/preload and its content is wiped (some of HTC preloaded apps, weather animations etc). These apps are sometime updated during an ota update and if they are missing, like after unlocking the bootloader. the ota installation will fail. You also need to flash your stock recovery back before an ota update.
You'll loose root. All you have to do is to root again after the ota update.
They will still be installed but they won't work, or at least, there functions requiring root will not work.
Click to expand...
Click to collapse
Thanks for all the help!
alray said:
You'll maybe not be able to update. When you unlock the bootloader, /data/preload and its content is wiped (some of HTC preloaded apps, weather animations etc). These apps are sometime updated during an ota update and if they are missing, like after unlocking the bootloader. the ota installation will fail. You also need to flash your stock recovery back before an ota update.
You'll loose root. All you have to do is to root again after the ota update.
They will still be installed but they won't work, or at least, there functions requiring root will not work.
Click to expand...
Click to collapse
I used adb to make a backup and restore so I should be able to install ota updates
Lifehags said:
I used adb to make a backup and restore so I should be able to install ota updates
Click to expand...
Click to collapse
So you have backed up /data/preload before unlocking?
alray said:
You'll maybe not be able to update. When you unlock the bootloader, /data/preload and its content is wiped (some of HTC preloaded apps, weather animations etc). These apps are sometime updated during an ota update and if they are missing, like after unlocking the bootloader. the ota installation will fail. You also need to flash your stock recovery back before an ota update.
You'll loose root. All you have to do is to root again after the ota update.
They will still be installed but they won't work, or at least, there functions requiring root will not work.
Click to expand...
Click to collapse
alray said:
So you have backed up /data/preload before unlocking?
Click to expand...
Click to collapse
Yup
Lifehags said:
Yup
Click to expand...
Click to collapse
:good:
alray said:
:good:
Click to expand...
Click to collapse
Any alternative to twrp, it seems like a lot of people are having problems with it.
Lifehags said:
Any alternative to twrp, it seems like a lot of people are having problems with it.
Click to expand...
Click to collapse
TWRP is the preferred recovery of M7 but you can also use CWM
alray said:
:good:
Click to expand...
Click to collapse
Lifehags said:
Any alternative to twrp, it seems like a lot of people are having problems with it.
Click to expand...
Click to collapse
Should I go with the latest version of 2.8, or do you suggest a eilear version?
Lifehags said:
Should I go with the latest version of 2.8, or do you suggest a eilear version?
Click to expand...
Click to collapse
if you are only going to root and not flashing rom then use any version you want, the latest should be fine. If you want to flash a custom rom, use the recovery mentioned in the rom OP.
alray said:
if you are only going to root and not flashing rom then use any version you want, the latest should be fine. If you want to flash a custom rom, use the recovery mentioned in the rom OP.
Click to expand...
Click to collapse
Alright, thanka for all of the help!
Lifehags said:
Alright, thanka for all of the help!
Click to expand...
Click to collapse
youre welcome

need help

After watching tutorial videoshttp://forum.xda-developers.com/htc-one/#root same result no root access. What i need to do?
danpau07 said:
After watching tutorial videoshttp://forum.xda-developers.com/htc-one/#root same result no root access. What i need to do?
Click to expand...
Click to collapse
the steps to get it rooted are
unlock bootloader at htcdev.com
download TWRP 2.6.3.3 http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
enter recovery and exit and choose install SuperSU on exit
bootup phone, go to app drawer and choose SuperSU, it will ask to update, let it update and choose TWRP for install. this will reboot the phone.
You now have a new phone with custom recovery and Root.
I already do that, i use cwm after i check in root checker. Result no root access.
danpau07 said:
I already do that, i use cwm after i check in root checker. Result no root access.
Click to expand...
Click to collapse
what is your android version?
5.02 htc m7 asia. Please help i need to root my phone badly.
danpau07 said:
5.02 htc m7 asia. Please help i need to root my phone badly.
Click to expand...
Click to collapse
either do what clsA said above BUT using twrp 2.8.6.0 or flash latest surpersu.zip from recovery
I already flash cmw i cant swith to twrp. Btw whats clsa?
danpau07 said:
I already flash cmw i cant swith to twrp. Btw whats clsa?
Click to expand...
Click to collapse
I gave you 2 options, You are saing that option one is not possible so use option 2...
Sir, how can i switch to twrp? I already use cwm recovery?
danpau07 said:
Sir, how can i switch to twrp? I already use cwm recovery?
Click to expand...
Click to collapse
omg, read carefully please. I won't post it a 3rd time: clsA told you to do this procedure below to root but it won't work with twrp 2.6.3.3 since the included su binaries in 2.6.3.3 are to old and won't work on android 5.0.2 so you need to use twrp 2.8.6.0 instead:
clsA said:
the steps to get it rooted are
unlock bootloader at htcdev.com
download TWRP 2.6.3.3 http://techerrata.com/browse/twrp2/m7 ---> use 2.8.6.0
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img ---> 2.8.6.0-m7.img
fastboot erase cache
fastboot reboot-bootloader
enter recovery and exit and choose install SuperSU on exit
bootup phone, go to app drawer and choose SuperSU, it will ask to update, let it update and choose TWRP for install. this will reboot the phone.
You now have a new phone with custom recovery and Root.
Click to expand...
Click to collapse
This was solution #1 if you want to root
alray said:
either do what clsA said above BUT using twrp 2.8.6.0(...)
Click to expand...
Click to collapse
You said that you can't flash TWRP (for an unknown reason, you did not specified why...) so the above solution doesn't apply since you need twrp.
danpau07 said:
I already flash cmw i cant swith to twrp. Btw whats clsa?
Click to expand...
Click to collapse
Option #2:
alray said:
(...)or flash latest surpersu.zip from recovery
Click to expand...
Click to collapse
so go ahead download latest superu.zip and flash it from recovery. simple. Download the zip on your phone, boot in recovery and flash it. Can't be more precise its all you need to do
My phone is already rooted thanks sir alray. Whats the best rom for nba2k15?

Categories

Resources