[Q] Unlocking relocked bootloader - T-Mobile HTC One (M7)

I recently switched back to stock after converting to Google Edition. Everthing went as planned...flashed Tmo Ruu, Hboot to 1.44, etc. But I noticed after it was all over that my bootloader said LOCKED not RE-LOCKED. Been trying for the last few days to unlock it and no luck. It goes through all the phases when I'm trying to unlock it, it even says that I'm successful in unlocking my bootloader. When the display on my phone displays the screen to unlock the bootloader, I choose yes and my phone reboots as it should. But when I check it, it still says LOCKED. Also I'm S-off and Super Cid. Any help would be very much appreciated. Thanks.

You don't necessarily need to unlock it if your s-off, you can still flash roms and stuff. Just fastboot flash doesn't work. You could do the rebootRUU thing to flash a recovery. Or you could use revone to unlock it. But you're probably on .11 huh?
Sent from my HTC One using Tapatalk

grim489 said:
You don't necessarily need to unlock it if your s-off, you can still flash roms and stuff. Just fastboot flash doesn't work. You could do the rebootRUU thing to flash a recovery. Or you could use revone to unlock it. But you're probably on .11 huh?
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
yes, I belive so

if you are s-off, you can use revone to unlock bootloader. ./revone -u

wwjdd44 said:
if you are s-off, you can use revone to unlock bootloader. ./revone -u
Click to expand...
Click to collapse
If you unlock the bootloader using revone, do you still lose the flashlight, Ringtone trimmer..etc that youlose if you use the HTC Dev method. Does it still wipe all personal data such as photos, sms, etc? Thanks!

toaks said:
If you unlock the bootloader using revone, do you still lose the flashlight, Ringtone trimmer..etc that youlose if you use the HTC Dev method. Does it still wipe all personal data such as photos, sms, etc? Thanks!
Click to expand...
Click to collapse
no to all.

wwjdd44 said:
no to all.
Click to expand...
Click to collapse
Awesome. Thanks for the info!

Related

S-Off unlock bootloader

Is there a command to unlock the bootloader with s-off without having to wipe all of my data and everything?
There is no need to unlock. S-off is all that you need. It can do anything.
Sent from my ADR6425LVW using Tapatalk 2
cdexsw said:
There is no need to unlock. S-off is all that you need. It can do anything.
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
It actually would not let me flash recovery without having the bootloader unlocked again. It was disappointing and erased my data... grrr
cdexsw said:
There is no need to unlock. S-off is all that you need. It can do anything.
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
You need root to get s-off. The only people who had root were people on the shipped rom when the phone came out. Every OTA since has not had root, let alone temp root that the shipped rom had. So you absolutely need HTC Dev unlock to get s-off, and yes if you havent done it yet, it will wipe the phone. Thems the breaks.
quepaso said:
You need root to get s-off. The only people who had root were people on the shipped rom when the phone came out. Every OTA since has not had root, let alone temp root that the shipped rom had. So you absolutely need HTC Dev unlock to get s-off, and yes if you havent done it yet, it will wipe the phone. Thems the breaks.
Click to expand...
Click to collapse
Not what I meant. I already had s-off and it relocked. It then would not allow me to install amon ra. I was asking if there was a different fastboot command to just change it to unlock now since we have soff.
Sent from my ADR6425LVW using xda premium
I had to unlock too but reused my token.
fastboot flash unlocktoken Unlock_code. is the command
Edit: My bad this probably isn't what you were looking for.
I didn't have to re-unlock.
I asked about this in the discussion thread but was never answered.
I just fastboot flash recovery .zip
and HBOOT flashed my roms boot.img and I was back with the addition of S-OFF
I've flashed several Roms since, while my HBOOT still says Tampered, Locked, S-OFF.
Finally, since I'm on ICS, I flashed the Juopunutbear modified HBOOT.
Everything seems to be open and working fine without re-unlocking.
Slacker101 said:
Is there a command to unlock the bootloader with s-off without having to wipe all of my data and everything?
Click to expand...
Click to collapse
Not sure if you still need this but i just used the rezound AIO to flash amon again right after and worked fine no unlock. Tho I still have my bin file if I need it.
afaik if you did s-off and you're on GB firmware, you need the ENG Hboot to flash recoveries using fastboot commands, otherwise you have to use PH98IMG.zip's... but that's just what i see, i'm not 100%.

Do I need root before trying to S-off?

I'm on 3.14 stock ruu, unlocked bootloader, amonra in the recovery
do I need to flash something like the "3.14 stock deodexxed root"
or can I just finally try to s-off?
thanks <3
Watercycle said:
I'm on 3.14 stock ruu, unlocked bootloader, amonra in the recovery
do I need to flash something like the "3.14 stock deodexxed root"
or can I just finally try to s-off?
thanks <3
Click to expand...
Click to collapse
the su binary MUST be present in the system for the S-OFF process to work correctly, so yes, you must root.
Since you have Amon ra installed, just boot into that, go to the developer menu and install the su binary, then do S-OFF
a.mcdear said:
the su binary MUST be present in the system for the S-OFF process to work correctly, so yes, you must root.
Since you have Amon ra installed, just boot into that, go to the developer menu and install the su binary, then do S-OFF
Click to expand...
Click to collapse
unguarded or super user? and thank you i didn't know about that =)
Watercycle said:
unguarded or super user? and thank you i didn't know about that =)
Click to expand...
Click to collapse
Sueperuser not unguarded
this is the most rediculous process ever! (currently trying to wire trick) I'VE USED 2 DARN TYPES OF WIRE AND A PAPERCLIP AND NONE OF THEM DO ANYTHING
oh god, whew... i was running around the house making a wire out of everything...
but after trying the paperclip for like the 8th time (which took a half hour to find) it seems to have worked
S-off is the most stressful android activity ever >XO
thanks you two <3
You did use the ics jb hboot right? Make sure you can see the sd card? And don't unlock your phone again. You would need to s-on then s-off again for it to say locked. I just woke up and saw your new posts, its been a long day but I see you got help. Welcome to the club, glad it finally worked.
sent from my Clean Rezound
I used the Hboot that came with 3.14 Ruu, if S-off took the "relocked" away then i'm happy, if it didn't, oh well, but I was unlocked when I started the process =o
As long as you don't unlock it after s-off, it will be locked again ( although it says "juopunutbear" instead of "locked" if you're using their modified boot. Just flash a stock one and it will say locked)
I'm still not to sure why people keep bringing up the Hboot, is it because if you flash S-off's it will break it?
I declined the modified version and everything appears to be working
Watercycle said:
I'm still not to sure why people keep bringing up the Hboot, is it because if you flash S-off's it will break it?
I declined the modified version and everything appears to be working
Click to expand...
Click to collapse
The patched hboot adds some advanced fast boot commands. However everything will work without the patched hboot. You don't need it its just nice to have
Watercycle said:
I'm still not to sure why people keep bringing up the Hboot, is it because if you flash S-off's it will break it?
I declined the modified version and everything appears to be working
Click to expand...
Click to collapse
The juoponut bear hboot is an eng hboot that allows for adb commands and other options most people will not need.
The h boot issue is thus......in the event you want your phone returned to stock (s on and locked in downloader), after gaining s off do NOT HTC unlock the phone.
If you don't unlock it and want to return to stock you basically run a ruu, and then write the secure flag back to s on (scotty123 has a thread how to do this). After which point you phone will be on stock Rom, recovery and h boot will say locked and s on. Just like the day you first got the phone.
If you unlock after s off (as an early adopter I did) your bootloader will only say unlocked or relocked. You can run ruus, and write secure flag to s on.....BUT your hboot will say relocked or unlocked. And to a trained eye, someone can tell you tampered with it (running Roma,etc)
In my case, I had to follow scottys thread, s on, and do the s off process all over again. Early on we thought flashing a ruu would change the hboot status from relocked to locked. However we were mistaken.
So, don't unlock after s off.
If you can't run adb commands with your h boot and don't want to flash an eng hboot, use the ph98img.zip method to flash things (ex recovery, hboots, radios).
Sent from my Rezound
ericsignals said:
The juoponut bear hboot is an eng hboot that allows for adb commands and other options most people will not need.
The h boot issue is thus......in the event you want your phone returned to stock (s on and locked in downloader), after gaining s off do NOT HTC unlock the phone.
If you don't unlock it and want to return to stock you basically run a ruu, and then write the secure flag back to s on (scotty123 has a thread how to do this). After which point you phone will be on stock Rom, recovery and h boot will say locked and s on. Just like the day you first got the phone.
If you unlock after s off (as an early adopter I did) your bootloader will only say unlocked or relocked. You can run ruus, and write secure flag to s on.....BUT your hboot will say relocked or unlocked. And to a trained eye, someone can tell you tampered with it (running Roma,etc)
In my case, I had to follow scottys thread, s on, and do the s off process all over again. Early on we thought flashing a ruu would change the hboot status from relocked to locked. However we were mistaken.
So, don't unlock after s off.
If you can't run adb commands with your h boot and don't want to flash an eng hboot, use the ph98img.zip method to flash things (ex recovery, hboots, radios).
Sent from my Rezound
Click to expand...
Click to collapse
Well everything is right but the first part, the modified hboot allows you to perform fastboot commands that would otherwise require you to unlock the bootloader
Fastboot flash, fastboot boot... Etc.
Sent from my ADR6425LVW using Tapatalk 2
superchilpil said:
Well everything is right but the first part, the modified hboot allows you to perform fastboot commands that would otherwise require you to unlock the bootloader
Fastboot flash, fastboot boot... Etc.
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
Forgot to add that part when I typed the adb part ....thanks for correcting me.:thumbup:
Sent from my Rezound
oh dear, so without that Hboot command prompt won't be able to fastboot into recovery and whatnot?
Watercycle said:
oh dear, so without that Hboot command prompt won't be able to fastboot into recovery and whatnot?
Click to expand...
Click to collapse
Yes, but there are ways around that
I personally just package my own ph98img.zips if I need to flash a kernel or recovery after doing something dumb
Sent from my ADR6425LVW using Tapatalk 2
If you want to add the JB Hboot, it is very simple. You can go to their site and just download the most recent hboot. You must know if you are ICS or GB. But go here: http://unlimited.io/hboot-downloads/ and download the right one, either vigor ics or vigor gb. Put that in the folder where you had put the original controlbear program and follow these instructions:
To flash the JuopunutBear hboots
Put the phone in fastboot mode, connected to the pc and enter the following commands
fastboot erase cache
fastboot oem rebootRUU
fastboot flash zip jb_hboot.zip
Thats all there is to it and you can now benefit from the JB Hboot.
I thought you needed to be unlocked with htc dev to gain s-off? Now I'm hearing that I should not unlock my phone before I s-off?
Yes you need to be unlocked. It's part of the prerequisites. Please read then reread the thread in general "s-off with instructions...it's official". Understand how to avoid problems and fix them if they arise. It's very easy but it's like people half ass reading the instructions recently. Don't be that person.
sent from my Clean Rezound
th3rapist said:
I thought you needed to be unlocked with htc dev to gain s-off? Now I'm hearing that I should not unlock my phone before I s-off?
Click to expand...
Click to collapse
You have to unlock befor you s off, afterwards it's redundant to do so. But some people have
Sent from my ADR6425LVW using Tapatalk 2
doubleshot, ruby ICS, vigor ICS, holiday ICS, pyramid ICS?
which one? haha
I don't mind don't 1 more small flash that will probably be necessary in the future as long as it doesn't screw my current rom up

After S-off, the bootloader show "Locked"

I did Bootloader unlock using the code fron HTEDev, and it showed "Unlocked" . Then I flashed 4Ext recovery and unrooted. However, when I did "S-off", the bootloader shows"Locked" again with the text "S-off".
Anyone have the same issue? Should I do the unlock again using the code? or I can just ignore it and go ahead install other custome ROM.
Edit: Educated by dark nightmare.
Sent from my HTC Vision using xda app-developers app
Just unlock it back using the unlock file you got.
Would unlocking again serve any real purpose?
Sent from my HTC Vision using xda app-developers app
death4u said:
Would unlocking again serve any real purpose?
Sent from my HTC Vision using xda app-developers app
Click to expand...
Click to collapse
Leave it locked and you'll see, .
sent from a galaxy you'll never see.
Dark Nightmare said:
Just unlock it back using the unlock file you got.
Click to expand...
Click to collapse
I have several questions here:
1. Is my bootloader re-locked after S-off, or it is still unlocked but just show a Irrelevant text " locked" ?
2. How could I check if the real bootloader's status: "Locked" or Unlocked", not just from the text show in the fastboot page?
2. If the "bootloader is relocked", it should show "Relocked", not "Locked", isn't it?.
3. If it IS re-locked and I don't re-unlock it, will it affect the installation of custom ROM?
If the "Locked" after S-off does not affect the installation of custom ROM, I would like to leave it that way which will be easy to roll back to complete stock for warranty.
Brightxda said:
I have several questions here:
1. Is my bootloader re-locked after S-off, or it is still unlocked but just show a Irrelevant text " locked" ?
2. How could I check if the real bootloader's status: "Locked" or Unlocked", not just from the text show in the fastboot page?
2. If the "bootloader is relocked", it should show "Relocked", not "Locked", isn't it?.
3. If it IS re-locked and I don't re-unlock it, will it affect the installation of custom ROM?
If the "Locked" after S-off does not affect the installation of custom ROM, I would like to leave it that way which will be easy to roll back to complete stock for warranty.
Click to expand...
Click to collapse
It is locked you need to un lock it again so you can flash custom recovery
sent from my NRGized Amaze,
powered by faux kernel v.16
aj_2423 said:
It is locked you need to un lock it again so you can flash custom recovery
sent from my NRGized Amaze,
powered by faux kernel v.16
Click to expand...
Click to collapse
If he had a custom recovery before s-off it's still there, but you see the thing about "locked" or "relocked" bootloaders people don't understand is that even with s-off, once it's locked, writing anything at all isn't possible via custom recoveries, that itself is the first level of security we bypass to customize our devices.
By the way to the op, it is currently locked the way it was before you unlocked via htcdev, not relocked, that text on the hboot is the verification.
sent from a galaxy you'll never see.
Dark Nightmare said:
If he had a custom recovery before s-off it's still there, but you see the thing about "locked" or "relocked" bootloaders people don't understand is that even with s-off, once it's locked, writing anything at all isn't possible via custom recoveries, that itself is the first level of security we bypass to customize our devices.
By the way to the op, it is currently locked the way it was before you unlocked via htcdev, not relocked, that text on the hboot is the verification.
sent from a galaxy you'll never see.
Click to expand...
Click to collapse
Thank you all very much for clearing my questions. I will unlock it again.
One more question: How could it relocked during the S-off? Is it the normal thing for all of S-off or it just happens in a few cases?
Brightxda said:
Thank you all very much for clearing my questions. I will unlock it again.
One more question: How could it relocked during the S-off? Is it the normal thing for all of S-off or it just happens in a few cases?
Click to expand...
Click to collapse
It happens to all of us, once you don't install JB hboot after s-off it locks your bootloader, I guess the entire process resets a few security levels since it turns the main security lock off.
Dark Nightmare said:
It happens to all of us, once you don't install JB hboot after s-off it locks your bootloader, I guess the entire process resets a few security levels since it turns the main security lock off.
Click to expand...
Click to collapse
You are right. I skipped the last step, installing JB hboot during the S-off. I thought my Amazer came with the new ICS pre-installed which might not need other hboot. It should not be any problem, right?
Brightxda said:
You are right. I skipped the last step, installing JB hboot during the S-off. I thought my Amazer came with the new ICS pre-installed which might not need other hboot. It should not be any problem, right?
Click to expand...
Click to collapse
Na it's just a custom hboot, not needed, you can always flash that or the ENG hboot later if you wanna change your splash screen, that's probably the only thing it's useful for.
Dark Nightmare said:
Na it's just a custom hboot, not needed, you can always flash that or the ENG hboot later if you wanna change your splash screen, that's probably the only thing it's useful for.
Click to expand...
Click to collapse
Thank you again, I reunlocked the bootloader, flashed Energy™ ROM and it works great now.:victory:

Need help

So right now, my DNA is s-on and relocked(by accident). What im trying to do is get my hboot to stock so i can flash the RUU and get my phone back to its normal state. My problem right now is that im trying to unlock bootloader but i use the command fastboot fastboot flash unlocktoken unlock_code.bin, accept, then it reboots. But it still says its relocked and refuses to unlock. I don't know how to unlock it another way with S-on
You need to s-off, then go stock
Phaded said:
You need to s-off, then go stock
Click to expand...
Click to collapse
How would I s-off?
Rumrunner.us type that in your browser and download the one for the DNA.
Sent from my DNA using my mind.
Update:
So i did some stuff( I honestly don't even know what) and i was able to unlock bootloader. Next i'm unsure of what to do to get the RUU on my phone. Anyways, i tried the rumrunner but it just ended because it couldn't detect any adb connection to my phone. That was also one of the problems i forgot to mention
Uzephi said:
Rumrunner.us type that in your browser and download the one for the DNA.
Sent from my DNA using my mind.
Click to expand...
Click to collapse
We don't know what version he is on...
OP what version are you on?

[Q] Convert ATT One M8 -> Tmo One M8

So, I've been searching, and think I understand what I need to know, but am looking for clarification of which is my best option to get an AT&T HTC One M8 happy under T-Mobile....
I bought a HTC One M8 that is S-Off and has an Unlocked boot loader...
I THINK what I want to do is:
Change my CID to T-Mobile (T-MOB010)
fastboot oem writecid T-MOB010
Click to expand...
Click to collapse
Change my MID to T-Mobile's MID
adb shell
su
echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x31\x00\x33\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
exit
adb reboot bootloader
Click to expand...
Click to collapse
And then what... Do I need to re-lock the bootloader so I can flash an RUU?
fastboot oem lock
Click to expand...
Click to collapse
(if I lock the bootloader, is unlocking it again as simple as re-requesting an unlock code from HTC?)
And then flash the RUU?
Is there a reasonable way to accomplish this without re-locking the boot loader?
I've used Odin on Samsung devices, and flashtool on Sony Xperia devices... it's been a VERY long time since I had my last HTC device, so my RUU skills are a bit rusty... (I've got a fair amount of experience with CWM and TWRP...)
I'm VERY tempted to simply change the CID and flash the GPE RUU and see how that plays out... I'm just asking before I do something stupid.
scifan said:
So, I've been searching, and think I understand what I need to know, but am looking for clarification of which is my best option to get an AT&T HTC One M8 happy under T-Mobile....
I bought a HTC One M8 that is S-Off and has an Unlocked boot loader...
I THINK what I want to do is:
Change my CID to T-Mobile (T-MOB010)
Change my MID to T-Mobile's MID
And then what... Do I need to re-lock the bootloader so I can flash an RUU?
(if I lock the bootloader, is unlocking it again as simple as re-requesting an unlock code from HTC?)
And then flash the RUU?
Is there a reasonable way to accomplish this without re-locking the boot loader?
I've used Odin on Samsung devices, and flashtool on Sony Xperia devices... it's been a VERY long time since I had my last HTC device, so my RUU skills are a bit rusty... (I've got a fair amount of experience with CWM and TWRP...)
I'm VERY tempted to simply change the CID and flash the GPE RUU and see how that plays out... I'm just asking before I do something stupid.
Click to expand...
Click to collapse
Since you are S-Off, you can simply unlock and relock the bootloader at will. On my M7, I changed the MID through notepad, and overwrote the file, but can be done either way. Once I had the CID and MID correct I ran the RUU and it worked. I even had Wi-Fi calling. I only did it as a test, but everything worked out fine. If anything has changed from the M7 to M8, please chime in so I'm not steering the OP wrong.
scifan said:
Do I need to re-lock the bootloader so I can flash an RUU?
Click to expand...
Click to collapse
With s-off, you can flash RUU with bootloader unlocked.
redpoint73 said:
With s-off, you can flash RUU with bootloader unlocked.
Click to expand...
Click to collapse
Yep, s-off does not require the boot loader to be locked when flashing ruu's.
If you were still s-on then the bootloader would need to be relocked.
redpoint73 said:
With s-off, you can flash RUU with bootloader unlocked.
Click to expand...
Click to collapse
So, change the CID, and run the RUU exe and I'm good to go?
MID must match too, or it will fail.
My phone already had the cid set to supercid... I updated the mid, locked my bootloader, and hit it with T-Mobile's rom, and I seem to be cooking with gas.
Thanks guys!
Sent from my HTC One_M8 using Tapatalk
scifan said:
My phone already had the cid set to supercid... I updated the mid, locked my bootloader, and hit it with T-Mobile's rom, and I seem to be cooking with gas.
Thanks guys!
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
Good to hear, good to hear!

Categories

Resources