[Q] Regain root (super user) access on Stock Sense - One (M7) Q&A, Help & Troubleshooting

Hi guys,
Here are my current specs:
HTC One m7 International
firmware (OS): 4.19.401.11
HTC Sense 5.5
Android 4.4.2
CID-HTC__001
HBOOT 1.56
Radio-4A.25.3263.21
OpenDSP-v32.120.274
Kernel 3.4.10-ElementalX-13.5
I already unlocked the bootloader and gained the S-off.
After the last software update when I lauch the SuperSu app V.1.25 I got this error message: "There is no SU binary installed, and SuperSu cannot install it. This is a problem!"
What should I do?
Thanks for your patience

Recently had to figure this out for myself. Here's what worked for me: Your next step is to flash a recovery. You'll have to flash twrp or cwmr from fastboot, so you may need to open the zip up and make sure the android-info.txt matches your phone. "fastboot getvar all" will show you what you need it to say.
Once you've updated that file, from the bootloader enter "fastboot oem rebootRUU", and flash with "fastboot flash zip filename.zip". Then you can boot into recovery and install su.
Sent from my HTC One using xda app-developers app

MrCluster87 said:
Hi guys,
Here are my current specs:
HTC One m7 International
firmware (OS): 4.19.401.11
HTC Sense 5.5
Android 4.4.2
CID-HTC__001
HBOOT 1.56
Radio-4A.25.3263.21
OpenDSP-v32.120.274
Kernel 3.4.10-ElementalX-13.5
I already unlocked the bootloader and gained the S-off.
After the last software update when I lauch the SuperSu app V.1.25 I got this error message: "There is no SU binary installed, and SuperSu cannot install it. This is a problem!"
What should I do?
Thanks for your patience
Click to expand...
Click to collapse
What recovery did you flash ?
use 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 on exit it will ask to install superSU, Swipe to say yes
after the phone boots up open superSU and choose TWRP to finish the install

Regain root (super user) access on Stock Sense
I currently have the TWRP 2.7, but my su.zip file seems not to work.

Related

Can't Mount Cache, Can't Load ROM

So, was trying to troubleshoot a problem this morning and I've done something to send my phone sideways.
I'm currently S-OFF, Unlocked, and CID 11111111
Firmware is 4.19.1540.4
I have no OS installed and when I try (ARHD 51), it fails when it tries to set permissions. I then go into recovery and try to wipe cache, etc and I get the Unable to Mount Cache problem. I exit out of recovery, whether to reboot to Bootloader (or whatever) and it tells me that I need to install SuperSU. It gives me the same Unable to Mount Cache message and it kicks me out and send me back to Bootloader.
I'm sure I'm just missing something. Any advice?
diceman725 said:
So, was trying to troubleshoot a problem this morning and I've done something to send my phone sideways.
I'm currently S-OFF, Unlocked, and CID 11111111
Firmware is 4.19.1540.4
I have no OS installed and when I try (ARHD 51), it fails when it tries to set permissions. I then go into recovery and try to wipe cache, etc and I get the Unable to Mount Cache problem. I exit out of recovery, whether to reboot to Bootloader (or whatever) and it tells me that I need to install SuperSU. It gives me the same Unable to Mount Cache message and it kicks me out and send me back to Bootloader.
I'm sure I'm just missing something. Any advice?
Click to expand...
Click to collapse
what recovery and what version are you using when trying to flash arhd 51?
With s-off you could simply downgrade hboot and then use the latest .1540 ruu.exe and apply ota updates to make your phone functional again
alray said:
what recovery and what version are you using when trying to flash arhd 51?
With s-off you could simply downgrade hboot and then use the latest .1540 ruu.exe and apply ota updates to make your phone functional again
Click to expand...
Click to collapse
Latest version of TWRP...
Ok - let me look up how to downgrade HBOOT
diceman725 said:
Latest version of TWRP...
Ok - let me look up how to downgrade HBOOT
Click to expand...
Click to collapse
just download this file and save it to your adb/fastboot folder. reboot your phone in bootloader mode and select fastboot.
Code:
fastboot oem rebootRUU
fastboot flash zip <name_of_file>.zip
fastboot flash zip <name_of_file>.zip
fastboot reboot-bootloader
then run the .1540 ruu from htcdev here (the latest ruu is 3.22.1540.1)
you'll probably need to setback your cid to BS_US001 to receive ota updates (irc 3 updates to latest version)
Code:
fastboot oem writecid BS_US001
fastboot reboot-bootloader
and make sure you are not using windows 8.1 to run the ruu. windows 8.0 should be fine but i recommend you to use windows 7. If you are on windows 8.1 and you can't have a win 7 pc then use the ruu.zip method instead the ruu.exe
Wouldn't a fastboot erase cache fix that??
Sent from my HTC One using XDA Premium 4 mobile app
diceman725 said:
Latest version of TWRP...
Ok - let me look up how to downgrade HBOOT
Click to expand...
Click to collapse
"Latest" version would be which version x.x.x.x? exactly?

[Q] i bricked my M7 with wrong firmware

hi all
i was tried to flash my M7 from 4.3 to 4.4.2
downloaded the OTA update 4.19.401.7
contained :
DATA
META-INF
PATCH
System
Firmware.zip
Fotaboot
Skin_fota
the wrong step is : extracted the Firmware.zip file only
and flashed it only by :
fastboot oem rebootRUU
fastboot flash zip firmware.zip
now the phone is bricked, only boot to the HTC logo and black screen
when i try to press power bottom, the (Back & Home) led blinking
i was boot to bootloader and copy this information to you :
***LOCKED***
M7_UL PVT SHIP S-ON
HBOOT-1.56.0000 (it was 1.55 before)
RADIO-4A.23.3263.28
OpenDSP-v32.120.274.0909
OS-4.19.401.9 (it was 3.62.401.1)
eMMC-boot 2048MB
Feb 7 2014,01:06:01.0
i was try to rename the OTA file to Firmware.zip and flash it again, but always failed
i was try to flash downgrade Firmware (3.62.401.1) also failed
i was try to flash RUU.exe (1.28.401.7) from the Fastboot screen and from the rebootRUU screen also failed
i was try to wipe and re-flash the same Firmware.zip file, it's flashed with no failed steps, but still bricked and no system to boot into
can you help me ?
My suggestion:
You are acting nervous, don´t know, from where you got the solutions you´ve tried. Your phone is not bricked if you have access to your bootloader as you wrote but yo can´t flash the needed things with a locked bootloader. Would be better to ask before every step, if you don´t know what to do.
1st you can send your device to HTC for repair...i think you have to pay for that
or 2nd (read and think about the warranty):
Unlock your bootloader via HTC.Dev. http://www.htcdev.com/devcenter
With locked bootloader it won´t run. If you have access to your bootloader, you are able to flash a recovery via Fastboot-USB and have access to adb. With S-On you can´t run the RUU you´ve tried, because you can´t downgrade your phone. S-Off would be the solution, but at the moment you can´t get it with your high HBoot version.
I think, the correct firmware is ready on your phone and you should
- unlock your bootloader with your Unlock_code.bin from HTC.Dev, flash it via Fastboot-USB fastboot flash unlocktoken Unlock_code.bin, accept the message on your phone, then
- flash TWRP 2.6.3.3 m7 recovery via fastboot, fastboot erase cache then fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
- sideload Maximus Rom or ARHD 52.0 via adb in recovery adb sideload HTC_One_-_MaximusHD_32.0.0.zip (if other rom, you have to replace the correct filename of the zip)
- or sideload the stock odexed rom 4.19.401.9 from the same download area at ARHD for the One
- check the MD5 sum before sideload! http://www.flashplayerpro.com/MD5Checksum/downloadMD5Checksum.htm
(even saw, the links of ARHD are down at the moment - the server problems of mike 1986 are not gone. Try it tomorrow or read the last sites of the thread to find alternative links),
- wipe data, system, dalvik cache and cache in recovery (not sd card)
- install the rom.zip via recovery, reboot into bootloader and
- flash the boot.img copied out of the rom via fastboot. fastboot erase cache then fastboot flash boot boot.img then fastboot erase cache
Then your device hopefully will boot again.
If the steps of flashing roms with TWRP are after reading this not really known, read the FAQ before.
If you are able to go to bootloader then give it a try. Unlock bootloader then try to flash firmware.
Sent from my HTC One using xda app-developers app
manishvy said:
If you are able to go to bootloader then give it a try. Unlock bootloader then try to flash firmware.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Correct me if i'm wrong but with S-ON you need the bootloader to be locked/re-locked to flash the firmware.zip
alray said:
Correct me if i'm wrong but with S-ON you need the bootloader to be locked/re-locked to flash the firmware.zip
Click to expand...
Click to collapse
Dont care about anything.. just goto HTC dev website, follow the steps and unlock the boot loader and flash the firmware..
alray said:
Correct me if i'm wrong but with S-ON you need the bootloader to be locked/re-locked to flash the firmware.zip
Click to expand...
Click to collapse
naresh_r said:
Dont care about anything.. just goto HTC dev website, follow the steps and unlock the boot loader and flash the firmware..
Click to expand...
Click to collapse
alray is correct mate! with S-On you need to have bootloader locked/relocked to be able to flash anything in ruu mode.
moha_moha20106 said:
hi all
i was tried to flash my M7 from 4.3 to 4.4.2
downloaded the OTA update 4.19.401.7
can you help me ?
Click to expand...
Click to collapse
OP, didn't we agree that you were going to wait??
I'm not entirely sure if stock recovery will read an OTG cable + stick, but worth a try:
if you haven't unlocked yet, get yourself an OTG cable + stick, put the OTA.ZIP (yes all of it, not just firmware), on the stick. connect it to your phone, and reboot into stock recovery, then press POWER + VOLUP (and hope it sees the otg), and use the "apply from sdcard" option to install the OTA.
Neo XL said:
My suggestion:
You are acting nervous, don´t know, from where you got the solutions you´ve tried. Your phone is not bricked if you have access to your bootloader as you wrote but yo can´t flash the needed things with a locked bootloader. Would be better to ask before every step, if you don´t know what to do.
1st you can send your device to HTC for repair...i think you have to pay for that
or 2nd (read and think about the warranty):
Unlock your bootloader via HTC.Dev. http://www.htcdev.com/devcenter
With locked bootloader it won´t run. If you have access to your bootloader, you are able to flash a recovery via Fastboot-USB and have access to adb. With S-On you can´t run the RUU you´ve tried, because you can´t downgrade your phone. S-Off would be the solution, but at the moment you can´t get it with your high HBoot version.
I think, the correct firmware is ready on your phone and you should
- unlock your bootloader with your Unlock_code.bin from HTC.Dev, flash it via Fastboot-USB fastboot flash unlocktoken Unlock_code.bin, accept the message on your phone, then
- flash TWRP 2.6.3.3 m7 recovery via fastboot, fastboot erase cache then fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
- sideload Maximus Rom or ARHD 52.0 via adb in recovery adb sideload HTC_One_-_MaximusHD_32.0.0.zip (if other rom, you have to replace the correct filename of the zip)
- or sideload the stock odexed rom 4.19.401.9 from the same download area at ARHD for the One
- check the MD5 sum before sideload! http://www.flashplayerpro.com/MD5Checksum/downloadMD5Checksum.htm
(even saw, the links of ARHD are down at the moment - the server problems of mike 1986 are not gone. Try it tomorrow or read the last sites of the thread to find alternative links),
- wipe data, system, dalvik cache and cache in recovery (not sd card)
- install the rom.zip via recovery, reboot into bootloader and
- flash the boot.img copied out of the rom via fastboot. fastboot erase cache then fastboot flash boot boot.img then fastboot erase cache
Then your device hopefully will boot again.
If the steps of flashing roms with TWRP are after reading this not really known, read the FAQ before.
Click to expand...
Click to collapse
Dear , i will send my phone to the HTC Maintenance center and ask them to resolve it with my warranty
if i UNLOCK my phone and S-OFF , i think i will loose my 9months warranty
if they told my the problem is by you (me), i will ask them to maintain it and pay money
thank you very much
nkk71 said:
alray is correct mate! with S-On you need to have bootloader locked/relocked to be able to flash anything in ruu mode.
OP, didn't we agree that you were going to wait??
I'm not entirely sure if stock recovery will read an OTG cable + stick, but worth a try:
if you haven't unlocked yet, get yourself an OTG cable + stick, put the OTA.ZIP (yes all of it, not just firmware), on the stick. connect it to your phone, and reboot into stock recovery, then press POWER + VOLUP (and hope it sees the otg), and use the "apply from sdcard" option to install the OTA.
Click to expand...
Click to collapse
Dear, i'm sorry for that
yes, we agreed before for waiting...
but the HTC MEA always lier
i was try to connect the OTG cable, but the bootloader didn't read it, i think the OTG function is by system, not by bootloader
thank you very much dear

Converted to GPE

I have recently changed my MID and CID of my HTC One to enable me to flash a GPE RUU. Everything is currently going fine, however I am unable to unlock the stock Google bootloader, meaning I am unable to root and flash a custom recovery. I have tried fastboot oem unlock, and have also tried flashing an unlock token from HTCDev, all with unsuccessful results. Could anyone suggest what to do next as I would like to flash some mods to add to the HTC to make it better.
Thank you.
Sent from my HTC One using XDA Premium 4 mobile app
Known issue, basically you're stuck.
http://forum.xda-developers.com/showthread.php?t=2719281
http://forum.xda-developers.com/showthread.php?t=2547365
Are you s-off? Then you can unlock by other means.
I have just come across this thread... http://forum.xda-developers.com/showthread.php?t=2358781
Would I not be able to reflash the pre-rooted GPE RUU in that thread or would it need to be rooted in the first place?
Sent from my HTC One using XDA Premium 4 mobile app
jackhiggins said:
I have just come across this thread... http://forum.xda-developers.com/showthread.php?t=2358781
Would I not be able to reflash the pre-rooted GPE RUU in that thread or would it need to be rooted in the first place?
Click to expand...
Click to collapse
Do you have root in your current rom? If so grab Flashify from play store and use it to flash twrp recovery img.
I have no root privileges at all. I have tried downloading SuperSU and Superuser from the Play Store and neither have been able to install binaries. I have s-off, so what other methods could I use?
Sent from my HTC One using XDA Premium 4 mobile app
jackhiggins said:
I have no root privileges at all. I have tried downloading SuperSU and Superuser from the Play Store and neither have been able to install binaries. I have s-off, so what other methods could I use?
Click to expand...
Click to collapse
Ah, then we'll play a little trick. Since you're s-off you can flash unsigned firmware, so here's a firmware.zip that contains only TWRP recovery.
firmware_twrp.zip
Download the file (hit Ctrl-S to download the zip after clicking the link) and flash it via fastboot:
Code:
fastboot oem rebootRUU
fastboot flash zip firmware_twrp.zip
fastboot erase cache
fastboot reboot-bootloader
After reboot select Bootloader, then select Recovery and you'll boot into TWRP. From there you can flash SuperSU.zip to gain root or mods, etc.
cschmitt said:
Ah, then we'll play a little trick. Since you're s-off you can flash unsigned firmware, so here's a firmware.zip that contains only TWRP recovery.
firmware_twrp.zip
Download the file (hit Ctrl-S to download the zip after clicking the link) and flash it via fastboot:
Code:
fastboot oem rebootRUU
fastboot flash zip firmware_twrp.zip
fastboot erase cache
fastboot reboot-bootloader
After reboot select Bootloader, then select Recovery and you'll boot into TWRP. From there you can flash SuperSU.zip to gain root or mods, etc.
Click to expand...
Click to collapse
This worked perfectly thank you very much!

[Q] htc one m7 ul soft bricked, no recovery, s-on, bootloader relocked

Hi, i know i'm an idiot. someone please help me
i have an htc one (m7)
unlocked bootloader (wroked fine)
tried rooting (worked fine)
installed custom recovery
tried flashing a custom rom, my nephew pressed the power button and the computer shut down.
now i have an expensive brick to play with.
have been looking for an ruu file to flash via hassoon's toolkit but i have found nothing but broken files.
CID: HTC001
modelid: pn0710000
Bootloader: relocked
S-on
No recovery installed. (error comes up when trying to flash a new one via fastboot cmd)
Please help! :good:
darrylu8 said:
Hi, i know i'm an idiot. someone please help me
i have an htc one (m7)
unlocked bootloader (wroked fine)
tried rooting (worked fine)
installed custom recovery
tried flashing a custom rom, my nephew pressed the power button and the computer shut down.
now i have an expensive brick to play with.
have been looking for an ruu file to flash via hassoon's toolkit but i have found nothing but broken files.
CID: HTC001
modelid: pn0710000
Bootloader: relocked
S-on
No recovery installed. (error comes up when trying to flash a new one via fastboot cmd)
Please help! :good:
Click to expand...
Click to collapse
The PC has nothing to do with flashing a rom ... what really happened
clsA said:
The PC has nothing to do with flashing a rom ... what really happened
Click to expand...
Click to collapse
it was while i tried to flash via the toolkit. was an error message came up, (can't remember what it said)
i just need to find a way to get s-off while my phone has nothing on it. theres no recovery (option is there though!)
i have bootloader/fastboot access. read somewhere that i have to relock the bootloader to flash an ruu. but others say i need s-off and the bootloader doesn't matter. its getting quite frustrating lol
darrylu8 said:
it was while i tried to flash via the toolkit. was an error message came up, (can't remember what it said)
i just need to find a way to get s-off while my phone has nothing on it. theres no recovery (option is there though!)
i have bootloader/fastboot access. read somewhere that i have to relock the bootloader to flash an ruu. but others say i need s-off and the bootloader doesn't matter. its getting quite frustrating lol
Click to expand...
Click to collapse
Yeah calm down ...
ditch the toolkit and just install fastboot/adb
use the zip below to make a fastboot folder in c:\
we'll be working from their
I'll post the steps you need to get your phone up and running
clsA said:
Yeah calm down ...
ditch the toolkit and just install fastboot/adb
use the zip below to make a fastboot folder in c:\
we'll be working from their
I'll post the steps you need to get your phone up and running
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
then sideload this Rom to your phone
http://www.androidrevolution.org/downloader/download.php?file=Android_Revolution_HD-One_31.6.zip
TWRP / Advanced / ADB Sideload - swipe to sideload
From PC adb / fastboot folder
you use
adb sideload name-of-rom.zip
make sure the rom is in the same folder as adb / fastboot

How to Root HTC M7 with android 5.0.2 & Hboot 1.61 ??

After update to 5.0.2 my HTC M7 i have now factory reset M7 with Hboot 1.61 & android 5.0.2
i allready the bootloader unlocked (via HTC) ..
i need now to know how to install recovery (TWP) and install Super user SU
all my try not accepted , i can´t install any Recovery or SU !!!!!!
help please
Ray :crying:
ray_sami said:
After update to 5.0.2 my HTC M7 i have now factory reset M7 with Hboot 1.61 & android 5.0.2
i allready the bootloader unlocked (via HTC) ..
i need now to know how to install recovery (TWP) and install Super user SU
all my try not accepted , i can´t install any Recovery or SU !!!!!!
help please
Ray :crying:
Click to expand...
Click to collapse
To flash the recovery:
Download your recovery image and save it in the same folder where you have adb and fastboot installed on your computer
connect your phone to your computer with a usb cable
reboot the phone in bootloader mode, select the "fastboot" option and make sure "fastboot usb" is shown in red.
Open a command window from your adb/fastboot folder and type:
Code:
fastboot flash twrp-2.8.7.0-m7.img
fastboot erase cache
fastboot reboot-bootloader
To flash supersu:
Download lastest stable supersu (supersu2.46)
Push it to your phone memory
boot in twrp recovery
select the "install" menu
select the UPDATE-SuperSU-v2.46.zip file
swipe the bottom slider to flash the file
reboot the phone

Categories

Resources