[Q] cant flash twrp Htc m9 - Verizon HTC One (M9)

twrp dose not flash with m9
after unlock bootloader
C:\Users\isoo\Desktop\M9\platform-tools>fastboot flash recovery twrp.img
target reported max download size of 800000000 bytes
sending 'recovery' (35960 KB)...
OKAY [ 2.970s]
writing 'recovery'...
(bootloader) HOSD CL#506785
FAILED (remote: 4: SD_BATTERY_LOW, BATTERY LEVEL < (30%))
finished. total time: 3.994s
whats wrong with that ???
:crying:

Looks like you need to charge your battery
I believe it's recommended >50%

How did you get the bootloader unlocked on an HTC running on Verizon?

swieder711 said:
How did you get the bootloader unlocked on an HTC running on Verizon?
Click to expand...
Click to collapse
Java Card

andybones said:
Java Card
Click to expand...
Click to collapse
Java Card also unlocks the bootloader in addition to making it S-OFF?
I figured being S-Off you would have to SuperCid to fool HTCDev or do it through ADB like on the DNA/M7 to unlock.....Scotty had threads on that.
Good to know the Java card takes care of that, too!

bakemcbride21 said:
Java Card also unlocks the bootloader in addition to making it S-OFF?
I figured being S-Off you would have to SuperCid to fool HTCDev or do it through ADB like on the DNA/M7 to unlock.....Scotty had threads on that.
Good to know the Java card takes care of that, too!
Click to expand...
Click to collapse
I don't believe their is any reason to use HTCDev.com once you are already S-OFF - however, don't quote me on this.
The reason that VZW doesn't have S-OFF (yet) on the M9, and the rest of the carriers do, is because HTCDev.com works on the other carriers. *I believe* It is part of the the SunShine process for the other M9 carriers to 1st root the phone/unlock bootloader through HTCDev.com then use SunShine to S-OFF the device and fully unlock everything.
The Java Card however, will give you S-OFF, without the need of HTCDev.com - fully unlocking the device.
Anyone feel free to correct me on anything I said here. S-OFF/Security is not my area of expertise

andybones said:
I don't believe their is any reason to use HTCDev.com once you are already S-OFF - however, don't quote me on this.
The reason that VZW doesn't have S-OFF (yet) on the M9, and the rest of the carriers do, is because HTCDev.com works on the other carriers. *I believe* It is part of the the SunShine process for the other M9 carriers to 1st root the phone/unlock bootloader through HTCDev.com then use SunShine to S-OFF the device and fully unlock everything.
The Java Card however, will give you S-OFF, without the need of HTCDev.com - fully unlocking the device.
Anyone feel free to correct me on anything I said here. S-OFF/Security is not my area of expertise
Click to expand...
Click to collapse
Your bootloader can still be locked if you're S-OFF....just that being S-OFF allows you to unlock it in a few ways...back on other phones that was using super cid to fool htc dev that you aren't a Verizon phone or using adb commands...ie my reference to Scotty's threads. That's how I did my DNA (supercid) and I think my M8 (adb) after getting S-OFF.
Firewater and moonshine only did S-OFF if I remember and now sunshine does both for you (S-OFF and unlock) but having one is not necessarily dispositive or dependent on the other (along with root). Granted these three things usually go hand in hand...but you can have just root, or just an unlocked boot loader, or just S-OFF and not the other two. However, S-OFF makes it infinitely easier to get the other two since you have complete control over your phone...ie if you handed me an HTC phone and said I can only have one of the three...I'd choose S-OFF because then I could get the other two much easier than it is for me just having root and figuring how to get S-OFF without jcase and beaups lol

bakemcbride21 said:
Your bootloader can still be locked if you're S-OFF....just that being S-OFF allows you to unlock it in a few ways...back on other phones that was using super cid to fool htc dev that you aren't a Verizon phone or using adb commands...ie my reference to Scotty's threads. That's how I did my DNA (supercid) and I think my M8 (adb) after getting S-OFF.
Firewater and moonshine only did S-OFF if I remember and now sunshine does both for you (S-OFF and unlock) but having one is not necessarily dispositive or dependent on the other (along with root). Granted these three things usually go hand in hand...but you can have just root, or just an unlocked boot loader, or just S-OFF and not the other two. However, S-OFF makes it infinitely easier to get the other two since you have complete control over your phone...ie if you handed me an HTC phone and said I can only have one of the three...I'd choose S-OFF because then I could get the other two much easier than it is for me just having root and figuring how to get S-OFF without jcase and beaups lol
Click to expand...
Click to collapse
I personally would think that everyone would choose S-OFF over root (on an HTC device)... but that is me. ya never know.
As for Java Clip, this does only do S-OFF, then you must run the echo adb cmd to unlock bootloader, as you mentioned.
The S-OFF methods provided by SunShine, and previous methods such as firewater however, my understanding they do this command in their tool.
Again, not my area of expertise, however. Certainly not trying to argue or anything.

bakemcbride21 said:
Java Card also unlocks the bootloader in addition to making it S-OFF?
I figured being S-Off you would have to SuperCid to fool HTCDev or do it through ADB like on the DNA/M7 to unlock.....Scotty had threads on that.
Good to know the Java card takes care of that, too!
Click to expand...
Click to collapse
It doesn't but once s-off you can simply unlock the bootloader using an ADB command.
When I use a card to s-off a device I always flash the latest TWRP... and then run the adb command to unlock the BL and while i'm there I flash the supersubeta.zip
let the flood gates open

Head over to the regular HTC One M9 section after you achieved s-off. Here is the thread for unlocking your bootloader without HTC dev via adb
http://forum.xda-developers.com/one-m9/general/how-to-lock-unlock-bootloader-htcdevs-t3092036

dottat said:
It doesn't but once s-off you can simply unlock the bootloader using an ADB command.
When I use a card to s-off a device I always flash the latest TWRP... and then run the adb command to unlock the BL and while i'm there I flash the supersubeta.zip
let the flood gates open
Click to expand...
Click to collapse
Definitely need more morning coffee....I was initially for just a second like..."what the hell is super sub eta? Lol smacking myself to wake up.
Cool to know the process! I'll probably be filling the gas tank for a road trip next week!
---------- Post added at 08:30 AM ---------- Previous post was at 08:26 AM ----------
mtva24 said:
Head over to the regular HTC One M9 section after you achieved s-off. Here is the thread for unlocking your bootloader without HTC dev via adb
http://forum.xda-developers.com/one-m9/general/how-to-lock-unlock-bootloader-htcdevs-t3092036
Click to expand...
Click to collapse
Bookmarked! Thanks!

Related

[Q] Can't seem to unlock S-OFF

Hi there,
I have a One X with S-OFF, which says ***LOCKED*** in fastboot. When I try to flash a recovery or a boot.img via fastboot command line, I get an error saying FAILED:remote not allowed. I presume this is caused by the bootloader being locked. But then, since I have S-OFF, i should be able to simply unlock and re-lock without too much hassle by using fastboot oem unlock. However, this doesn't seem to work, I get the following error:
C:\Flashing>fastboot oem unlock
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.017s]
finished. total time: 0.018s
Click to expand...
Click to collapse
It's really locked, because when I try fastboot oem lock it says "device was already locked!"
Does anyone have an idea what is causing this, and why I can't simply unlock the bootloader?
Thanks in advance!
You need, however, unlock your bootloader with htc dev..
Why would I need to do that? That's the whole use of my S-OFF without HTCDev: so that HTC doesn't know I have it.
I always see HOX with s-off but locked, and for rooting this you have to unlock your bootloader with htcdev..
I don't know why, but htc don't know that you have s-off if you will unlock your bootloader...
Sounds weird indeed. Unlocking of the bootloader should really not be necessary when having a S-OFF phone.
Could you post a picture of your phone in HBOOT screen?
Guich said:
I don't know why, but htc don't know that you have s-off if you will unlock your bootloader...
Click to expand...
Click to collapse
HTC don't know you have unlocked because when you relock the bootloader. It will change back to locked instead of relocked
Sent from my HTC One X using xda app-developers app
I am s off and I had to unlock my bootloader via htcdev before I could do anything.
Next time I lock it again I will check to see if it says re locked or locked. Never noticed.
If your concerned about it i will go through the locking and unlocking again to check when I get 5.
Sent from my HTC One X
Ok so i ran fastboot oem lock on my htcdev unlocked bootloader on my s off one x and it now says relocked.
So unless there is some other command I can run to make it say locked only then it is apparent to anyone that looks that its been re locked just like an s on device.
Sent from my HTC One X
For Lock and not Relock our device, we need a patch in the partition when there are the line for the write.
In a qualcomm device is simple and dev made s-off and relock with "lock" line.
In our Tegra 3 device is "impossible" at the moment, and nobody, that i know, can make s-off for all...
Nvidia suc*...
Guich said:
For Lock and not Relock our device, we need a patch in the partition when there are the line for the write.
In a qualcomm device is simple and dev made s-off and relock with "lock" line.
In our Tegra 3 device is "impossible" at the moment, and nobody, that i know, can make s-off for all...
Nvidia suc*...
Click to expand...
Click to collapse
So no way to lock fully even with an s off device?
Sent from my HTC One X
herbie13 said:
So no way to lock fully even with an s off device?
Sent from my HTC One X
Click to expand...
Click to collapse
On our HOX, no.
In One XL i think is possible...
there is definitely a way because I have an s-off with super cid , refurbished.bought it here in China, and to tell you the truth us guys would never know till the underground Chinese shops leak it. they even have a way to s-off and lock!. not talking about relock...but I guess we would never know

New to the M8 scene

Im getting an M8 very shortly on T-Mobile. Ive read topics about unlocking and s off but im still counfused.
My goal is to have an unlocked bootloader, S-OFF, root, TWRP, and CM11.
i thought it would be simple. HTCDev, Firewater, etc.
but now i read more and now my process is
Root, HTCDev, S-OFF, Remove Red Text, Remove Tampered logo, SuperCID, TWRP, CM11
So some questions came up
Is there a way to unlock the bootloader without the red text.
Does Firewater work on all M8s
how do i remove the tampered logo
Thanks in advance!
You just need
HTCdev
Flash TWRP with fastboot
Flash CM11 from TWRP
The rest is optional. Firewater might not workd on newer M8 software, but Sunshine probably will.
BenPope said:
You just need
HTCdev
Flash TWRP with fastboot
Flash CM11 from TWRP
The rest is optional. Firewater might not workd on newer M8 software, but Sunshine probably will.
Click to expand...
Click to collapse
Thank you. That helps a ton.
If you are going to S-Off, you don't even need HTCDev.
Download the latest Sunshine, pay $25 and you will be S-Off, no need to root beforehand anymore (I believe the latest version of sunshine takes care of this for you.)
From Sunshine post - Update 1.6
SunShine has been updated and no longer needs your device to be rooted or unlocked before running. SunShine will gain root itself, and unlock/s-off every variant of the m8 currently. Cheers!

[Q] Confused about sunshine

What does sunshine do that HTCDev doesn't do? I'm really very confused.
Sunshine S-off's your phone, as well as unlocking the bootloader. HTCdev unlocks your bootloader but leaves security/signing on (S-on) Also, the method Sunshine uses to unlock your bootloader doesn't trip a factory reset.
You don't typically need to turn security/signing off unless you want to change your CID/MID (to convert your handset to a different region) or go back to an older version of firmware/software.
AlecRobertson said:
What does sunshine do that HTCDev doesn't do? I'm really very confused.
Click to expand...
Click to collapse
HTC dev only unlocks the boot loader, sunshine or firewater provides full s off which lifts restrictions to partitions that are normally locked down.
Check the below thread for explanations.
Thread updated
http://forum.xda-developers.com/showthread.php?t=2744194
Thank link is invalid.
Also, I have got s-off previously without using this?
AlecRobertson said:
Also, I have got s-off previously without using this?
Click to expand...
Click to collapse
So in bootloader (or alternately, adb getvar all) it indicates s-off?
If so, and you didn't do firewater or sunshine, then its factory s-off. Its rare, but I've seen it here from time to time.

Un Lock & ReRoot Verizon HTC One M8

So I thought I had to return my HTC one for repair, or replacement and I RELOCKED the bootloader an UNRooted it. I can find a hundred different threads (mostly out of date) with instructions.
Originally I reloaded original Verizon firmware and watched the phone update little by little up to 5.01.
Does anyone know how to unlock and re root my phone? The last thing I thought of was trying to reload the original KitKat back on the phone if that is even possible???
TIA
Peter
PS Still S-Off
djpeterdj said:
PS Still S-Off
Click to expand...
Click to collapse
I don't have the VZN version, but my understanding, sunshine gives you the ability to unlock the bootloader on VZN after s-off, so I'd suggest loading the sunshine app, and seeing if it give you that option (unlock bootloader)
Sunshine normally won't charge you $ to s-off again, once its been s-off'ed by sunshine before. So I'm guessing the same holds true (no $ to unlock the bootloader) is you already used it to s-off.
djpeterdj said:
Does anyone know how to unlock and re root my phone? The last thing I thought of was trying to reload the original KitKat back on the phone if that is even possible???
Click to expand...
Click to collapse
In theory, I believe YES you can downgrade since you are s-off. But i"m not sure that would help. It would help you root, but I don't know if it would help you unlock the bootloader.
If you are S-off, don't you only need a root shell to dd the right data to unlock the bootloader? If so, then perhaps boot (vs flash) TWRP and use an adb shell to unlock the bootloader?
jshamlet said:
If you are S-off, don't you only need a root shell to dd the right data to unlock the bootloader? If so, then perhaps boot (vs flash) TWRP and use an adb shell to unlock the bootloader?
Click to expand...
Click to collapse
Not too familiar with that. I can only guess that is what sunshine does ("behind the scenes") after s-off. But if there is a "manual" way to do it, and it works, than that is great!
djpeterdj said:
So I thought I had to return my HTC one for repair, or replacement and I RELOCKED the bootloader an UNRooted it. I can find a hundred different threads (mostly out of date) with instructions.
Originally I reloaded original Verizon firmware and watched the phone update little by little up to 5.01.
Does anyone know how to unlock and re root my phone? The last thing I thought of was trying to reload the original KitKat back on the phone if that is even possible???
TIA
Peter
PS Still S-Off
Click to expand...
Click to collapse
needs S-OFF:
http://forum.xda-developers.com/showpost.php?p=60234290&postcount=3217
unfortunately, i didnt bother putting VZW__001 CID in there, so you're going to temporarily need to change CID
Code:
fastboot oem writecid 11111111[I] <- eight ones[/I]
fastboot reboot-bootloader
then you can proceed with the above, and once done you can change your cid back
nkk71 said:
needs S-OFF:
http://forum.xda-developers.com/showpost.php?p=60234290&postcount=3217
unfortunately, i didnt bother putting VZW__001 CID in there, so you're going to temporarily need to change CID
Code:
fastboot oem writecid 11111111[I] <- eight ones[/I]
fastboot reboot-bootloader
then you can proceed with the above, and once done you can change your cid back
Click to expand...
Click to collapse
Worked like a charm. Thank YOU!!!!

Unroot and lock bootloader and S-on for Warranty claim

How do you do the above for warranty claim
I need to send the phone in for replacement / maintenance
it is unlocked US version running Verizon ROM on Verizon network
How do I unroot, lock the bootloader, and s-on?
I know they might not care, I still would like to restore everything to prevent any surprises or rejection
please list the steps. Thank you very much
ahgahg said:
How do you do the above for warranty claim
I need to send the phone in for replacement / maintenance
it is unlocked US version running Verizon ROM on Verizon network
How do I unroot, lock the bootloader, and s-on?
I know they might not care, I still would like to restore everything to prevent any surprises or rejection
please list the steps. Thank you very much
Click to expand...
Click to collapse
First thing to do is backup everything from your phone to your PC. Then run a RUU ( I guess that would be US unlocked, not Verizon). After RUU is flashed, go to download mode and issue a command "fastboot oem writesecureflag 3" (without quotes). That will restore your security flag back to s-on. Then use Sunshine to set bootloader status to LOCKED and s-off (really the easiest way to set it to LOCKED, not RELOCKED). Finally, run "fastboot oem writesecureflag 3" once again, and done. You are 100% stock. It's much faster and simpler than it looks from my description.
donkeykong1 said:
First thing to do is backup everything from your phone to your PC. Then run a RUU ( I guess that would be US unlocked, not Verizon). After RUU is flashed, go to download mode and issue a command "fastboot oem writesecureflag 3" (without quotes). That will restore your security flag back to s-on. Then use Sunshine to set bootloader status to LOCKED and s-off (really the easiest way to set it to LOCKED, not RELOCKED). Finally, run "fastboot oem writesecureflag 3" once again, and done. You are 100% stock. It's much faster and simpler than it looks from my description.
Click to expand...
Click to collapse
Does this remove the red text on the start up screen? One look at that and HTC knows the phone has been altered. On Samsung devices once Knox is tripped you get a message saying so and it's permanent. Just curious.
comstockload said:
Does this remove the red text on the start up screen? One look at that and HTC knows the phone has been altered. On Samsung devices once Knox is tripped you get a message saying so and it's permanent. Just curious.
Click to expand...
Click to collapse
Red text will be removed after you flash a RUU. HTC is much simpler than Samsung regarding that. Just to be on the safe side, check bootloader status after each step. It's a quick procedure, but you're safe
S-off should be ok just make sure its locked not unlocked.
https://www.xda-developers.com/htc-...gn=Feed:+xda-developers/ShsH+(xda-developers)
donkeykong1 said:
First thing to do is backup everything from your phone to your PC. Then run a RUU ( I guess that would be US unlocked, not Verizon). After RUU is flashed, go to download mode and issue a command "fastboot oem writesecureflag 3" (without quotes). That will restore your security flag back to s-on. Then use Sunshine to set bootloader status to LOCKED and s-off (really the easiest way to set it to LOCKED, not RELOCKED). Finally, run "fastboot oem writesecureflag 3" once again, and done. You are 100% stock. It's much faster and simpler than it looks from my description.
Click to expand...
Click to collapse
Did all that (installing the RUU) and received only "re-locked" since it already was S-ON. Sunshine now cannot be used, because the RUU was installed. What did I do wrong, then?
Matt.Murdock said:
Did all that (installing the RUU) and received only "re-locked" since it already was S-ON. Sunshine now cannot be used, because the RUU was installed. What did I do wrong, then?
Click to expand...
Click to collapse
You can use Sunshine. But, if I understood correctly, your phine was never s-off. If that's true, you need to unlock your bootloader again, use Sunshine to get s-off, and then follow my steps
donkeykong1 said:
You can use Sunshine. But, if I understood correctly, your phine was never s-off. If that's true, you need to unlock your bootloader again, use Sunshine to get s-off, and then follow my steps
Click to expand...
Click to collapse
I see, so the only way to have the phone LOCKED is to root it and use Sunshine?
Matt.Murdock said:
I see, so the only way to have the phone LOCKED is to root it and use Sunshine?
Click to expand...
Click to collapse
Tecnicaly, you only need to unlock the bootloader and use Sunshine. No need to root, but, in general, the answer is yes
rooting without s-off
donkeykong1 said:
Tecnicaly, you only need to unlock the bootloader and use Sunshine. No need to root, but, in general, the answer is yes
Click to expand...
Click to collapse
how do you even get a verizon htc 10 with oreo installed rooted in the first place if the HTCdev site is unable to unlock your bootloader, Sunshine is unable to unlock your bootloader or S-Off? There is nothing on the internet that has this "Solved" issue that I've read. However after reading your response, are you sure anyone can unlock bootloader and then use sunshine without root?
pearson_1974 said:
how do you even get a verizon htc 10 with oreo installed rooted in the first place if the HTCdev site is unable to unlock your bootloader, Sunshine is unable to unlock your bootloader or S-Off? There is nothing on the internet that has this "Solved" issue that I've read. However after reading your response, are you sure anyone can unlock bootloader and then use sunshine without root?
Click to expand...
Click to collapse
If you read the first post, you will see that OP is running an US unlocked with Verizon ROM. In that case my steps are correct. If you have Verizon phone, you can't even unlock bootloader, so this is of no use for you
donkeykong1 said:
First thing to do is backup everything from your phone to your PC. Then run a RUU ( I guess that would be US unlocked, not Verizon). After RUU is flashed, go to download mode and issue a command "fastboot oem writesecureflag 3" (without quotes). That will restore your security flag back to s-on. Then use Sunshine to set bootloader status to LOCKED and s-off (really the easiest way to set it to LOCKED, not RELOCKED). Finally, run "fastboot oem writesecureflag 3" once again, and done. You are 100% stock. It's much faster and simpler than it looks from my description.
Click to expand...
Click to collapse
Hi. Sunshine .Pay once Or pay every time you use.
osakajung said:
Hi. Sunshine .Pay once Or pay every time you use.
Click to expand...
Click to collapse
Once
pearson_1974 said:
how do you even get a verizon htc 10 with oreo installed rooted in the first place if the HTCdev site is unable to unlock your bootloader, Sunshine is unable to unlock your bootloader or S-Off? There is nothing on the internet that has this "Solved" issue that I've read. However after reading your response, are you sure anyone can unlock bootloader and then use sunshine without root?
Click to expand...
Click to collapse
Only way is to mail your phone to the sunshine team
donkeykong1 said:
Once
Click to expand...
Click to collapse
I pay on the first to s-off/unlock bootloader.
I flash other rom.
I set "fastboot oem writesecureflag 3" to s-on.
I download Sunshine to set s-off/Lock bootloader is not pay?
osakajung said:
I pay on the first to s-off/unlock bootloader.
I flash other rom.
I set "fastboot oem writesecureflag 3" to s-on.
I download Sunshine to set s-off/Lock bootloader is not pay?
Click to expand...
Click to collapse
No. Once you pay for Sunshine, it's free for you to use as many times sa you need, as long as you don't change your motherboard
donkeykong1 said:
No. Once you pay for Sunshine, it's free for you to use as many times sa you need, as long as you don't change your motherboard
Click to expand...
Click to collapse
Thank you

Categories

Resources