M9 S-0ff, can't unlock - Verizon HTC One (M9)

Verizon M9, is S-0ff, cid 11111111.
When I do fastboot request for token, here's the error message:
c:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot oem get_identifier_token
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
OKAY [ 0.071s]
finished. total time: 0.072s
Can you guess what this is and how to fix it?
Thanks

michaelbsheldon said:
Verizon M9, is S-0ff, cid 11111111.
When I do fastboot request for token, here's the error message:
c:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot oem get_identifier_token
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
OKAY [ 0.071s]
finished. total time: 0.072s
Can you guess what this is and how to fix it?
Thanks
Click to expand...
Click to collapse
How to unlock the bootloader? Don't go through HTC (they don't need to know )
http://forum.xda-developers.com/one-m9/general/how-to-lock-unlock-bootloader-htcdevs-t3092036
to UNLOCK your bootloader,enter the following:
Code:
adb devices
adb shell
su (if needed to get a # prompt)
echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify you are now unlocked

andybones said:
How to unlock the bootloader? Don't go through HTC (they don't need to know )
http://forum.xda-developers.com/one-m9/general/how-to-lock-unlock-bootloader-htcdevs-t3092036
to UNLOCK your bootloader,enter the following:
Code:
adb devices
adb shell
su (if needed to get a # prompt)
echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify you are now unlocked
Click to expand...
Click to collapse
Thanks for this: it was stock recovery, no SU - but finally got it done....
:good::good::good:

Tried that, though got the following
-ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796 <
dd: /dev/block/mmcblk0p2: Permission denied
1|[email protected]_himawl:/ $
Any idea what that is, and how to rectify?
andybones said:
How to unlock the bootloader? Don't go through HTC (they don't need to know )
http://forum.xda-developers.com/one-m9/general/how-to-lock-unlock-bootloader-htcdevs-t3092036
to UNLOCK your bootloader,enter the following:
Code:
adb devices
adb shell
su (if needed to get a # prompt)
echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify you are now unlocked
Click to expand...
Click to collapse

mlev1987 said:
-ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796 <
dd: /dev/block/mmcblk0p2: Permission denied
1|[email protected]_himawl:/ $
Any idea what that is, and how to rectify?
Click to expand...
Click to collapse
Copy n paste code...
The code is:
echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
Not
-ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
Forgetting "echo"
You're lucky you didn't brick your device.

andybones said:
Copy n paste code...
The code is:
echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
Not
-ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
Forgetting "echo"
You're lucky you didn't brick your device.
Click to expand...
Click to collapse
I copy and pasted exactly how you put it, with echo as well. This is the response I got

mlev1987 said:
I copy and pasted exactly how you put it, with echo as well. This is the response I got
Click to expand...
Click to collapse
You're doing something wrong then. Guy above you followed same direction and worked fine.
This is link to the thread if you want to direct your questions there.
http://forum.xda-developers.com/one-m9/general/how-to-lock-unlock-bootloader-htcdevs-t3092036

andybones said:
You're doing something wrong then. Guy above you followed same direction and worked fine.
This is link to the thread if you want to direct your questions there.
http://forum.xda-developers.com/one-m9/general/how-to-lock-unlock-bootloader-htcdevs-t3092036
Click to expand...
Click to collapse
my phone is not S-off. does that make a difference?

mlev1987 said:
my phone is not S-off. does that make a difference?
Click to expand...
Click to collapse
oh boy.. yes.
Please go to the thread I linked to you.
the guy above you had posted he was S-OFF.
Last thing I'd want is to see a brick happen.

andybones said:
oh lord yes.
Click to expand...
Click to collapse
sorry. back to square one. gotta get s-off
thanks

mlev1987 said:
sorry. back to square one. gotta get s-off
thanks
Click to expand...
Click to collapse
Sunshine now supports the Verizon HTC M9, I highly suggest it.
$25 is WELL worth it.
http://theroot.ninja/index.html
http://forum.xda-developers.com/showthread.php?t=2792487
"3.3.2 - now supports verizon m8 on the marshmallow firmware HTCOneM8vzw/htc_m8wl:6.0/MRA58K/708002.3:user/release-keys
3.3 - The Verizon m9 update
The LONG awaited update, we have added Temproot (and thus unlock and s-off) support for the Verizon HTC m9 on the HTCOneM9vzw/htc_himawl:6.0/MRA58K/669662.7:user/release-keys firmware (latest as of this posting)."

andybones said:
Sunshine now supports the Verizon HTC M9, I highly suggest it.
$25 is WELL worth it.
http://theroot.ninja/index.html
http://forum.xda-developers.com/showthread.php?t=2792487
"3.3.2 - now supports verizon m8 on the marshmallow firmware HTCOneM8vzw/htc_m8wl:6.0/MRA58K/708002.3:user/release-keys
3.3 - The Verizon m9 update
The LONG awaited update, we have added Temproot (and thus unlock and s-off) support for the Verizon HTC m9 on the HTCOneM9vzw/htc_himawl:6.0/MRA58K/669662.7:user/release-keys firmware (latest as of this posting)."
Click to expand...
Click to collapse
Thanks

But what if you already used sunshine and like a dummy relock it to do update. Now I'm s off and can't unlock or relock.
Sent from my HTC6535LVW using Tapatalk
---------- Post added at 02:35 PM ---------- Previous post was at 02:33 PM ----------
I've already downgraded and still cant
Sent from my HTC6535LVW using Tapatalk

johnnycm77 said:
But what if you already used sunshine and like a dummy relock it to do update. Now I'm s off and can't unlock or relock.
Sent from my HTC6535LVW using Tapatalk
---------- Post added at 02:35 PM ---------- Previous post was at 02:33 PM ----------
I've already downgraded and still cant
Have you tried this set of commands with a clean install of rooted custom rom? (With SuperSU setup correctly.)
to UNLOCK your bootloader, enter the following:
adb devices
adb shell
su (if needed to get a # prompt)
echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
(i would very strongly recommend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify you are now unlocked
Click to expand...
Click to collapse

I tried that it denied me. I can't root for some reason
Sent from my HTC6545LVW using Tapatalk

johnnycm77 said:
I tried that it denied me. I can't root for some reason
Sent from my HTC6545LVW using Tapatalk
Click to expand...
Click to collapse
If you have TWRP installed, place one of the custom roms from here in the M9 section.
Odexed, deodexed - doesn't matter - just not a stock RUU. It will be rooted already. Then proceed with unlock.

I keep doing that but for some reason it isn't rooted when I boot back up. In my twrp it shows that it installed it but it doesn't. My bootloader status shows locked instead of relocked or tampered.
Sent from my HTC6545LVW using Tapatalk

johnnycm77 said:
I keep doing that but for some reason it isn't rooted when I boot back up. In my twrp it shows that it installed it but it doesn't. My bootloader status shows locked instead of relocked or tampered.
Sent from my HTC6545LVW using Tapatalk
Click to expand...
Click to collapse
Open adb Shell while your phone is booted into twrp. That shell has root prompts by default so simply run the echo cmd to unlock the phone.
Sent from my SM-N930V using Tapatalk

Thank you
Sent from my HTC6535LVW using Tapatalk

dottat said:
Open adb Shell while your phone is booted into twrp. That shell has root prompts by default so simply run the echo cmd to unlock the phone.
Sent from my SM-N930V using Tapatalk
Click to expand...
Click to collapse
NICE, is this for M9 only, or will it work on HTC10?

Related

Gaining superCID (required for s-off)

1) Unlock device
2) root device with means of your choice
3) adb shell
4) su
5) echo -ne "22222222" | dd of=/dev/block/mmcblk0p5 bs=1 seek=20
6) reboot bootloader
7) fastboot oem readcid
confirm change of cid
This is interesting! Hopefully we will get s-off too still much needed a custom recovery thanks for this
I also thought super Cid consists of "1111111" least it did for the sensation and other phone
ilostchild said:
This is interesting! Hopefully we will get s-off too still much needed a custom recovery thanks for this
I also thought super Cid consists of "1111111" least it did for the sensation and other phone
Click to expand...
Click to collapse
check the OG dev. its posted and I posted picture.
ilostchild said:
This is interesting! Hopefully we will get s-off too still much needed a custom recovery thanks for this
I also thought super Cid consists of "1111111" least it did for the sensation and other phone
Click to expand...
Click to collapse
supercid can be 11111111 or 22222222 and probably 333333333 etc
I posted the supercid guide so i could post the s-off here http://forum.xda-developers.com/showthread.php?p=38346549, i wanted them separate as not everyone may want both.
jcase said:
supercid can be 11111111 or 22222222 and probably 333333333 etc
I posted the supercid guide so i could post the s-off here http://forum.xda-developers.com/showthread.php?p=38346549, i wanted them separate as not everyone may want both.
Click to expand...
Click to collapse
yea just found this out when i went back to main forum page thanks for this, this should push more deving for this phone too!
I just recently switched to HTC. What exactly does superCID do?
Sent from my HTC One VX using Tapatalk 2
puts your phone in a region free form, so you can and will be able to flash other roms from different region(debrand)
normall the output would be ATT_01 for USA or something along the lines thats letting the phone now to only accept roms that have region of Att_01
it worked for me too
thanks .. now to s off
Oh okay does that completely unlock the phone to use on other carriers as well?
Sent from my HTC One VX using Tapatalk 2
No this is only the cid. The cid is what region the phone is for. It is also what the ruu checks for compatibility
Sent from my HTC One X+ using xda premium
sorry for this question but how do i exactly use this command?
echo -ne "22222222" | dd of=/dev/block/mmcblk0p5 bs=1 seek=20
i have changed cid on other phones but never like this
TD4 said:
sorry for this question but how do i exactly use this command?
echo -ne "22222222" | dd of=/dev/block/mmcblk0p5 bs=1 seek=20
i have changed cid on other phones but never like this
Click to expand...
Click to collapse
Code:
1) Unlock device
2) root device with means of your choice
3) adb shell
4) su
says it right there bud... htc dev unlock device
then root your device once rooted go to cmd prompt (windows) or Terminal (mac/linux)
type adb shell
hit enter
type su
enter
then type the following command
echo -ne "22222222" | dd of=/dev/block/mmcblk0p5 bs=1 seek=20
enter
got it thanks!
i was asking because some phones require to be on fastboot mode, just wanted to make sure before doing anything
ilostchild said:
Code:
1) Unlock device
2) root device with means of your choice
3) adb shell
4) su
says it right there bud... htc dev unlock device
then root your device once rooted go to cmd prompt (windows) or Terminal (mac/linux)
type adb shell
hit enter
type su
enter
then type the following command
echo -ne "22222222" | dd of=/dev/block/mmcblk0p5 bs=1 seek=20
enter
Click to expand...
Click to collapse
When I do that it says the comands are not valid none of them. Maybe I do something wrong. I am htc unlocked and rooted. Maybe I need to do different then plug the phone and open comand prompt? Thanks
Sent from my HTC One VX using xda app-developers app
grigoriisi said:
When I do that it says the comands are not valid none of them. Maybe I do something wrong. I am htc unlocked and rooted. Maybe I need to do different then plug the phone and open comand prompt? Thanks
Sent from my HTC One VX using xda app-developers app
Click to expand...
Click to collapse
download this http://developer.android.com/sdk/index.html then go to cmd and cd to C:\Users\(user)\(where you downloaded it to)\adt-bundle-windows-x86_64\sdk\platform-tools the commands should now work :victory:
did that
deleted
---------- Post added at 05:31 PM ---------- Previous post was at 05:20 PM ----------
nathanleagan said:
download this http://developer.android.com/sdk/index.html then go to cmd and cd to C:\Users\(user)\(where you downloaded it to)\adt-bundle-windows-x86_64\sdk\platform-tools the commands should now work :victory:
Click to expand...
Click to collapse
can u please tell me step by step how am i suppose to do it? i do it and when i get to adb shell command it says its not a valid comand nor su or anything else.
grigoriisi said:
deleted
---------- Post added at 05:31 PM ---------- Previous post was at 05:20 PM ----------
can u please tell me step by step how am i suppose to do it? i do it and when i get to adb shell command it says its not a valid comand nor su or anything else.
Click to expand...
Click to collapse
when you did adb shell did it connect or did it say wrong command?
it said not recognised command
nathanleagan said:
when you did adb shell did it connect or did it say wrong command?
Click to expand...
Click to collapse
it said not recognised command
grigoriisi said:
it said not recognised command
Click to expand...
Click to collapse
look inside the folder i said to cd to is there a file called adb?
yes it is and works with only adb command not adb shell
nathanleagan said:
look inside the folder i said to cd to is there a file called adb?
Click to expand...
Click to collapse
yes it is and works with only adb command not adb shell

[Q] I can't reunlock bootloader (Relocked)

Hi, this is my first thread at XDA
I have a problem with my HTC one
my bootloader is RELOCKED after flash a RUU.
HTCdev sent me a error, so i cant unlock the bootloader with this method.
any of you can help me to reunlock my bootloader?
Elneu said:
Hi, this is my first thread at XDA
I have a problem with my HTC one
my bootloader is RELOCKED after flash a RUU.
HTCdev sent me a error, so i cant unlock the bootloader with this method.
any of you can help me to reunlock my bootloader?
Click to expand...
Click to collapse
are you s-off by chance?
synisterwolf said:
are you s-off by chance?
Click to expand...
Click to collapse
yes, I'm still S-off
Elneu said:
yes, I'm still S-off
Click to expand...
Click to collapse
follow this guide
http://forum.xda-developers.com/showthread.php?t=2475914
Code:
to UNLOCK your bootloader,enter the following:
adb devices
adb shell
su (if needed to get a # prompt)
echo -ne "HTCU" | dd of=/dev/block/mmcblk0p3 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify you are now unlocked
synisterwolf said:
follow this guide
http://forum.xda-developers.com/showthread.php?t=2475914
Code:
to UNLOCK your bootloader,enter the following:
adb devices
adb shell
su (if needed to get a # prompt)
echo -ne "HTCU" | dd of=/dev/block/mmcblk0p3 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify you are now unlocked
Click to expand...
Click to collapse
Thanks a lot, it works

[Q] Help.Changing MID meets a problem.

I followed this thread to change my mid to Developer Edition,but I've got a problem
[how to]change your MID without the eng bootloader
I'm under Windows 8.1
when I run
Code:
adb shell
Code:
echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x31\x00\x32\x00\ x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
it showed this:
Code:
0\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
/dev/block/mmcblk0p5:cannot open for write: Permission denied
I thought running su might help,however after I run su it showed:
Code:
su
/system/bin/sh:su:not found
Any one knows how to deal with this?I think it's a permission problem,so do I have to run it under Linux as root?Or there's another way?
I have solved this problem,just have my device rooted,then it worked.
1. your device must be S-Off & rooted
2. adb shell
3. su
4. su
5. run that command
6. exit
7. exit
8. done
ckpv5 said:
1. your device must be S-Off
2. adb shell
3. su
4. su
5. run that command
6. exit
7. exit
8. done
Click to expand...
Click to collapse
I'm s-off,and I'm thinking if I have to root my device.Perhaps that's the solution.
int_young said:
I'm s-off,and I'm thinking if I have to root my device.Perhaps that's the solution.
Click to expand...
Click to collapse
Yes ... device must be S-Off and rooted.

Trouble (accidentally locked dev edition device)

I accidentally locked the bootloader on my developer edition one M8. I was returning it to stock for a warranty exchange (I already have the replacement device and I need to ship the old one back within the next few days).
I need to get this thing back to stock ASAP
Right now my bootloader is locked (laugh all you want. I'm an idiot.) but I'm S-OFF. Where do I go from here? I need to make sure I'm S-ON and have the tampered flag removed before I send it back, otherwise I'm sure they will bill me for a replacement motherboard and not allow me to have any say in that.
This is basically what I need to undo (I was in a hurry and copy/pasted the wrong text from a tutorial)
adb shell
su
echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
exit
exit
Code:
to UNLOCK your bootloader,enter the following:
adb devices
adb shell
su (if needed to get a # prompt)
echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify you are now unlocked
This is from this thread -
http://forum.xda-developers.com/showthread.php?t=2708571
Thanks a million! It worked like a charm!

[HOW-TO][S-OFF] Restore Software Status To Official in Bootloader for Desire EYE

*this thread is for eye_ul and eye_ul_ca . it will NOT work on other variants without consulting me first to see if it will work with your variant, search your device general forum for a specific thread if their is one
1. What You NEED!!!
S-OFF
adb and fastboot tools - DevHost
terminal via pc or Android Terminal Emulator
Read this:
this will not work if your s on
Disclaimers:
i have tested this my eye_ul_ca Lollipop firmware ,but use this info at your own risk. if it melts your phone into a little pile of ash ,its not my fault.
2. Commands to Achieve Official Status
This is for experienced adb / fastboot users... if not experienced please use android terminal emulator.!!!!
adb shell
su (if needed to get a # prompt)
echo -ne '\x00' | dd of=/dev/block/mmcblk0p6 bs=1 seek=5314564
(i would very strongly recomend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify official is their
xXminiWHOOPERxX said:
*this thread is for eye_ul and eye_ul_ca . it will NOT work on other variants without consulting me first to see if it will work with your variant, search your device general forum for a specific thread if their is one
1. What You NEED!!!
S-OFF
adb and fastboot tools - DevHost
terminal via pc or Android Terminal Emulator
Read this:
this will not work if your s on
Disclaimers:
i have tested this my eye_ul_ca Lollipop firmware ,but use this info at your own risk. if it melts your phone into a little pile of ash ,its not my fault.
2. Commands to Achieve Official Status
This is for experienced adb / fastboot users... if not experienced please use android terminal emulator.!!!!
adb shell
su (if needed to get a # prompt)
echo -ne '\x00' | dd of=/dev/block/mmcblk0p6 bs=1 seek=5314564
(i would very strongly recomend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify official is their
Click to expand...
Click to collapse
Wow, this is great information! Thanks for sharing. Will have saved. Happy new!
xXminiWHOOPERxX said:
*this thread is for eye_ul and eye_ul_ca . it will NOT work on other variants without consulting me first to see if it will work with your variant, search your device general forum for a specific thread if their is one
1. What You NEED!!!
S-OFF
adb and fastboot tools - DevHost
terminal via pc or Android Terminal Emulator
Read this:
this will not work if your s on
Disclaimers:
i have tested this my eye_ul_ca Lollipop firmware ,but use this info at your own risk. if it melts your phone into a little pile of ash ,its not my fault.
2. Commands to Achieve Official Status
This is for experienced adb / fastboot users... if not experienced please use android terminal emulator.!!!!
adb shell
su (if needed to get a # prompt)
echo -ne '\x00' | dd of=/dev/block/mmcblk0p6 bs=1 seek=5314564
(i would very strongly recomend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify official is their
Click to expand...
Click to collapse
my phone is EYE_TUHL PVT ,S-OFF, unlocked, super CID and on 5.0.2
i used the above command prompt and successfully revert to the "official " thank u very much
hbrajhbh1 said:
my phone is EYE_TUHL PVT ,S-OFF, unlocked, super CID and on 5.0.2
i used the above command prompt and successfully revert to the "official " thank u very much
Click to expand...
Click to collapse
adb shell
su
cat /proc/emmc
And what variant is yours exactly
Sent from my HTC Desire EYE using Tapatalk
xXminiWHOOPERxX said:
adb shell
su
cat /proc/emmc
And what variant is yours exactly
Sent from my HTC Desire EYE using Tapatalk
Click to expand...
Click to collapse
i did not understood variant>
original CID is ht c_044 version 1,17,707.9 used your comd prompt and so many details found ?
hbrajhbh1 said:
i did not understood variant>
original CID is ht c_044 version 1,17,707.9 used your comd prompt and so many details found ?
Click to expand...
Click to collapse
I need them.....
Sent from my HTC Desire EYE using Tapatalk
View attachment 3596502
xXminiWHOOPERxX said:
I need them.....
Sent from my HTC Desire EYE using Tapatalk
Click to expand...
Click to collapse
please refer attachments copies of my command prompt results? are files helpful?
eyetuhl? Asia?
mmcblk0p6 is pgsfs , which is where the tampered flag is, but with newer hboot it's a official or modified flags... so commands will work only if your s-off... do not try with s-on
Sent from my HTC Desire EYE using Tapatalk
xXminiWHOOPERxX said:
eyetuhl? Asia?
mmcblk0p6 is pgsfs , which is where the tampered flag is, but with newer hboot it's a official or modified flags... so commands will work only if your s-off... do not try with s-on
Sent from my HTC Desire EYE using Tapatalk
Click to expand...
Click to collapse
please clarify that what I used command prompt to get official is ok? it remains as official?
when i update it's said i'm using modified version?what should i do?
EYE_UL_CA pvt ship S-OFF
CID-11111111
HBOOT-3.19.0.0000
openDSP- v47.2.2-00564-m8974.1024
OS-2.09.502.3

Categories

Resources