hi
How do I lock the boot loader phone?
this work can with Gnex toolkit?
Don't use a toolkit.
If you've set up drivers on your computer and use the command line to unlock your phone, the process is the exact same. Connect to your PC, navigate to the folder with Fastboot and ADB in it. Reboot your phone into Fastboot Mode and type:
Code:
fastboot oem lock
If you need help with restoring your software to stock before locking your bootloader, here's a good thread to look at: http://forum.xda-developers.com/showthread.php?t=1626895
and how to un root phone?
King Of Heaven said:
and how to un root phone?
Click to expand...
Click to collapse
Are you trying to return to stock for warranty or sale? You should just completely flash the device to nuke everything. Don't try to delicately unroot, just flash the stock images it'll wipe everything. When its all done, lock the bootloader. The guide above gives you everything you need.
Related
So I wanted to return to stock, but now all I have access to is fast boot, with no OS on my device and it's no rooted, unlocked or anything. What do I do!?
You will need to flash back to the factory Google Image through fastboot. Check out the unroot guide to get the image and how to flash.
Remember to root and flash CWM afterwards.
Edit: Guess you don't need root or CWM if you want stock.
Sent from my Galaxy Nexus using XDA App
NewMossie said:
You will need to flash back to the factory Google Image through fastboot. Check out the unroot guide to get the image and how to flash.
Remember to root and flash CWM afterwards.
Edit: Guess you don't need root or CWM if you want stock.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
I tried that, for some reason I can't get it to work. Maybe the instructions are not clear. I'd REALLY appreciate if you can clarify them for me!
Here's what you do.
1. Extract the Google images to your fastboot.exe directory. You should have:
- bootloader-maguro-primekk15.img
- radio-maguro-i9250xxkk6.img
- image-yakju-icl53f.zip
2. Boot into bootloader and THEN plug in your phone
3. Run "fastboot devices" to make sure fastboot reads the phone
4. Type the following commands to flash all 3 images. Be sure to check your phone and wait for each command to finish.
fastboot flash bootloader bootloader-maguro-primekk15.img
fastboot reboot-bootloader
fastboot flash radio radio-maguro-i9250xxkk6.img
fastboot reboot-bootloader
fastboot -w update image-yakju-icl53f.zip
BrandonPrice31 said:
So I wanted to return to stock, but now all I have access to is fast boot, with no OS on my device and it's no rooted, unlocked or anything. What do I do!?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=21308202&postcount=251
Hey, i unlocked the bootloader, flashed a CWM (That does not allow me to mount my phone storage to the PC), tried to flash 2 .zips (the Remove menu thingy, and the SuperSU V.0.87) and when i tried to do that it went in a bootloop(or bootstuck? gets to the "HTC One X - Beats Audio screen, and never gets any further) WHAT DO I DO? Help me please!
Hi, i did exactly the same thing and...i got the same result ....Please, anyone knows how to solve it???????
I am guessing you didnt take a backup in CWM prior to flashing the mods? If not, unfortunately, your only solution would be to bring it back to complete stock and flash the RUU that originally came loaded on your phone.
1) Flash stock recovery:
Grab it from here: http://forum.xda-developers.com/showthread.php?t=1579797
Then Boot in bootloader >> Fastboot and issue the following command (assuming that the offical recovery is named recovery.img): fastboot flash recovery recovery.img
2) Relock Bootloader:
Boot in bootloader >> Fastboot and issue the following command: fastboot oem lock
3) Find and run/flash the RUU for your device, find it here: http://forum.xda-developers.com/showthread.php?t=1543604
Thanks!!!!! thank to you I managed to unlock my mobile
Can't really tell you what worked, i flashed my RUU but it failed, i tried flashing stock and all that (which i put on there beforehand as CWM can't mount the drive), but in the end it was just persistence that got it, so just keep trying!
askemil said:
Can't really tell you what worked, i flashed my RUU but it failed, i tried flashing stock and all that (which i put on there beforehand as CWM can't mount the drive), but in the end it was just persistence that got it, so just keep trying!
Click to expand...
Click to collapse
If the guild didden work. then you have done somting rong. cuz doing that guild works in all casese
exept Branded devices cuz Custom roms from the carryer
askemil said:
Hey, i unlocked the bootloader, flashed a CWM (That does not allow me to mount my phone storage to the PC), tried to flash 2 .zips (the Remove menu thingy, and the SuperSU V.0.87) and when i tried to do that it went in a bootloop(or bootstuck? gets to the "HTC One X - Beats Audio screen, and never gets any further) WHAT DO I DO? Help me please!
Click to expand...
Click to collapse
I think the Menu removal caused bootloop. I don't have my PC with me if someone can upload the stock Framework-res.apk and SystemUI.apk you could replace that to boot it back again. If nothing works then download one of the Custom ROM (ARHD or LeeDroid) then wipe everything and flash that it should work for you.
End to unlock again?
DaDoctor said:
I am guessing you didnt take a backup in CWM prior to flashing the mods? If not, unfortunately, your only solution would be to bring it back to complete stock and flash the RUU that originally came loaded on your phone.
1) Flash stock recovery:
Grab it from here: http://forum.xda-developers.com/showthread.php?t=1579797
Then Boot in bootloader >> Fastboot and issue the following command (assuming that the offical recovery is named recovery.img): fastboot flash recovery recovery.img
2) Relock Bootloader:
Boot in bootloader >> Fastboot and issue the following command: fastboot oem lock
3) Find and run/flash the RUU for your device, find it here: http://forum.xda-developers.com/showthread.php?t=1543604
Click to expand...
Click to collapse
How can it be unlocked again? Is there a simple command also or it is htcdev all over again?
kaskonjunf said:
How can it be unlocked again? Is there a simple command also or it is htcdev all over again?
Click to expand...
Click to collapse
You should have received a code from HTC when you unlocked, check your email for it. Then you place it in file with fastboot on computer, open cmd prompt, type in fastboot oem unlock and it should unlock.
Sent from my HTC PH39100 using xda premium
i agree with this method my problem is my phone will not charge
http://www.youtube.com/watch?v=DPE5CDupEsk&feature=youtu.be thats the youtube video with the issue im having. my phone will not charge in fastboot nor hboot and even if i power it off it will turn on again please helpo
dgstarcraft said:
i agree with this method my problem is my phone will not charge
http://www.youtube.com/watch?v=DPE5CDupEsk&feature=youtu.be thats the youtube video with the issue im having. my phone will not charge in fastboot nor hboot and even if i power it off it will turn on again please helpo
Click to expand...
Click to collapse
Maybe devs can come up with a way to charge while in cwm, that would be great.
Sent from my HTC PH39100 using xda premium
Hey, i have rooted my HoX and did not like it, and want to turn back to factory stock.
What is the easiest way to remove root, clockwork mod and then lock the bootloader to get back the waranty and the phone to the original state? Cause im also bugged out cause i cannot update the software without risking it to get bricked.
An easy step by step tutorial in how to revert it would be great.
Thanks for any suggestions.
Sent from my HTC One X using xda premium
1. Flash stock Recovery (May not actually be required but doesn't hurt)
2. Relock the bootloader
3. Run the RUU you downloaded for your phone before rooting to get back to stock
Unfortunately even when you relock you bootloader your warranty is still questionable as your bootloader will say "relocked"
Sent from my HTC One X using Tapatalk 2
EddyOS said:
1. Flash stock Recovery (May not actually be required but doesn't hurt)
2. Relock the bootloader
3. Run the RUU you downloaded for your phone before rooting to get back to stock
Click to expand...
Click to collapse
An easy step by step would be great (used 4 hours just to get it rooted by searching for guide after guide) Could you please make a step by step for me?
I dont think i need a flash recovery.
andsa said:
An easy step by step would be great (used 4 hours just to get it rooted by searching for guide after guide) Could you please make a step by step for me?
I dont think i need a flash recovery.
Click to expand...
Click to collapse
1 Re-lock bootloader- make sure fastboot is unchecked in power options, check usb-debugging in developer options, turn off, press volume down whilst holding the power button, select fastboot by pressing power button, plug device into p.c. Navigate to adb folder using command prompt on pc and type: fastboot oem lock.
2 Run RUU relevant for your device available here http://www.filefactory.com/f/7cc7b2fbdd03c031/.
The device will know be stock but, yes, the bootloader will say re-locked and there is no way around this at present.
Ok, but i will then be able to soft-update the phone without bricking?
I can't run Nexus 5X after flash stock firmware.
Phone restarts when is boot animation.
I have locked bootloader.
Please help
reboot to fastboot, use a computer with fastboot drivers and use the following commands...
fastboot format cache
fastboot format userdata
And NEVER uncheck that "allow unlocking" box
noidea24 said:
reboot to fastboot, use a computer with fastboot drivers and use the following commands...
fastboot format cache
fastboot format userdata
And NEVER uncheck that "allow unlocking" box
Click to expand...
Click to collapse
Thank You for answer but I can't do this because I have locked bootloader.
I tried to think of everything I have to give to repair.
Have you tried a factory reset from the stock recovery?
The_mamba said:
Have you tried a factory reset from the stock recovery?
Click to expand...
Click to collapse
Yes
I have this phone only 2 weeks.
XPawlex said:
Thank You for answer but I can't do this because I have locked bootloader.
I tried to think of everything I have to give to repair.
Click to expand...
Click to collapse
bootloader does not have to be unlocked for those commands.
Once you try the above suggestions, download the latest OTA and ADB sideload it. No unlocked bootloader required. The instructions on how to sideload are on the download page.
Sent from my Nexus 5X using Tapatalk
noidea24 said:
bootloader does not have to be unlocked for those commands.
Click to expand...
Click to collapse
uhm, from what I remember from the Nexus 6 brick disaster due to locked bootloader + disabled OEM unlocking + fail OTA, people were claiming that they couldn't do those 2 commands either with a locked bootloader.
noidea24 said:
bootloader does not have to be unlocked for those commands.
Click to expand...
Click to collapse
I haven't tested with the latest bootloaders, but I thought I recalled you couldn't do any write operations through the bootloader when it was locked.
Thank You
Thank you all for your answers, I will give tomorrow to repair. I will answer when I get it back and write what was the cause.
They gave me money for the phone, topic is closed.
Hello,
so I got the HTC 10 from my brother but I can not get the latest updates via OTA. Reason: Bootload unlocked und TWRP Recovery.
Now I wanna relock the bootloader and back to the Stock Recovery in order to get the OTA upates. I found files in the thread but I do not really know how to proceed at all
Is there any step by step guide for this situation which a newbie would understand?
Some Info's to the phone itself:
Recovery: TWRP 3.03-10_Unofficial
S-On
Unlocked Bootloader
CID: HTC_034
Android 7.0, January Security update
Software: 2.41.401.4
Kernel: 3.18.31-perf-g9ec8cbc and @aabm#1 SMP PREEMPT
Baseband: [email protected]_79.07_F
Is there any way to simply flash the stock recovery again put the bootloader to locked and then get the OTA?
Any help is appreciated
(And no can not ask my brother as he is for several months abroad)
pyo[st said:
;73891974]Hello,
so I got the HTC 10 from my brother but I can not get the latest updates via OTA. Reason: Bootload unlocked und TWRP Recovery.
Now I wanna relock the bootloader and back to the Stock Recovery in order to get the OTA upates. I found files in the thread but I do not really know how to proceed at all
Is there any step by step guide for this situation which a newbie would understand?
Some Info's to the phone itself:
Recovery: TWRP 3.03-10_Unofficial
S-On
Unlocked Bootloader
CID: HTC_034
Android 7.0, January Security update
Software: 2.41.401.4
Kernel: 3.18.31-perf-g9ec8cbc and @aabm#1 SMP PREEMPT
Baseband: [email protected]_79.07_F
Is there any way to simply flash the stock recovery again put the bootloader to locked and then get the OTA?
Any help is appreciated
(And no can not ask my brother as he is for several months abroad)
Click to expand...
Click to collapse
Bootloader status does not affect ability to take OTAs.
You need two things mainly to take the OTA:
1. Stock recovery matching your current software
2. An untouched backup image of the system partition matching your current software. This is needed if you're currently rooted.
Both can probably be found in the thread you linked. The backup image is flashed from twrp. The stock recovery is then flashed from download mode using this command:
Fastboot flash recovery yourrecoveryfile.img
But even after doing that, you might still get an error when trying to take the OTA. Easiest way to take it is to start from scratch, backup your phone's contents to your pc or sd card, and then run the latest ruu for your phone. This will bring you up to date, and will also allow you to make a backup system image from twrp before rooting so that you can easily take future OTAs. The ruu will also completely wipe your phone's contents.
So you can try the first method I mentioned, and if it doesn't work go with the ruu.
As your brother may root it before so the system may got modify, in this case the best and easiest way is flash a RUU.
Try this RUU, http://dl3.htc.com/application/[email protected]_79.07_F_release_495903_signed_2.exe
A RUU will restore your HTC 10 back to stock and wipe out everything. It require a match CID or super CID, if not it will not flash.
I tried to flash RUU via sd card method as well as fastboot method. Both got failed
sd card: Header Error
fastboot: load_file: could not allocate 1950335038 bytes
error: cannot load '2PS6IMG.zip'
Im running on venom rom , S ON with oem unlocked. How can i go back to stock rom??
Mine is 2.41.401.41
DummyPLUG said:
As your brother may root it before so the system may got modify, in this case the best and easiest way is flash a RUU.
Try this RUU, LINK
A RUU will restore your HTC 10 back to stock and wipe out everything. It require a match CID or super CID, if not it will not flash.
Click to expand...
Click to collapse
This RUU worked perfectly. And no the phone was not rooted, just unlocked Bootloader and TWRP as Recovery.
After flashing the RUU I got the July Security Patch and that is what I wanted.
Thank you very much, Problem solved
$tark3 said:
I tried to flash RUU via sd card method as well as fastboot method. Both got failed
sd card: Header Error
fastboot: load_file: could not allocate 1950335038 bytes
error: cannot load '2PS6IMG.zip'
Im running on venom rom , S ON with oem unlocked. How can i go back to stock rom??
Mine is 2.41.401.41
Click to expand...
Click to collapse
It is a EXE, you should run on windows instead of using the sdcard method, as for the not enough space I am not sure about
DummyPLUG said:
It is a EXE, you should run on windows instead of using the sdcard method, as for the not enough space I am not sure about
Click to expand...
Click to collapse
Nah, i downloaded the exe and the zip file also.
Anyway fixed it. Just restored from a nandroid backup. Now back in stock
PS:In btw, anyone facing any battery drop issue??
So I run in another Problem. I got the latest OTA for Europe (July Security Patch) but now my Phone gets shown as uncertified in the google play app which means I can not download certain apps like Netflix via Appstore.
Now I already figured out why I get shown uncertified: the Bootload is still unlocked. I thought the RUU would fix this as well. And if I wanna go in to the recovery (there was an TWRP Recovery on it before) I just get a red triangle with an "!" in it. It wont boot into recovery. Had to hard reset the phone to be able to boot normally to android then.
Now I wanna flash the stock recovery and lock the Bootload again to get again the certified status from google again.
Now here I need help.
1. Can't find the matching recovery version (EU unlocked, July Securtiy Patch, 2.41.401.41). Can anyone help me find the recovery image I need?
2. How do I get the bootload locked again? My Brother unlocked it via HTCdev.com back then, that I know already. But the command fastboot oem lock does not work at all. It just does nothing.
So how can I lock the bootloader?
Thanks for the help.
If you ran the RUU you already have stock recovery...red triangle with an "!" in it.
Are you running the fastboot oem lock from bootloader or download mode?
Sloth said:
If you ran the RUU you already have stock recovery...red triangle with an "!" in it.
Are you running the fastboot oem lock from bootloader or download mode?
Click to expand...
Click to collapse
Haha well then everything is ok with the recovery ^^
I tried both (download and bootloader mode), both times nothing happens. In download mode my PC does not even recognize the phone as the command "adb devices" does not list my phone and the command "fastboot oem lock" does nothing. HTCsnyc installed and ofc adb shell, worked even as when I normally checked with adb devices when my phone was on it was recognized.
pyo[st] said:
Haha well then everything is ok with the recovery ^^
I tried both (download and bootloader mode), both times nothing happens. In download mode my PC does not even recognize the phone as the command "adb devices" does not list my phone and the command "fastboot oem lock" does nothing. HTCsnyc installed and ofc adb shell, worked even as when I normally checked with adb devices when my phone was on it was recognized.
Click to expand...
Click to collapse
Try fastboot devices
Sent from a Glade Plugin.
Sloth said:
If you ran the RUU you already have stock recovery...red triangle with an "!" in it.
Are you running the fastboot oem lock from bootloader or download mode?
Click to expand...
Click to collapse
Sloth said:
Try fastboot devices
Sent from a Glade Plugin.
Click to expand...
Click to collapse
Alright this command works and shows my device.
Now I am in bootloader (Shows Software Status: Modified; Unlocked, S-ON). Then I type in "fastboot oem lock" and I get:
FAILED (remote: unknown command)
finished. total time: 0.014s
Well at least now I get something, before just nothing happened. Any clue what I might do wrong here?
*edit*
So I am a big noob
Phone has to be in download mode then the command works and my phone shows me a message if I want to lock again. Unfortunately it will factory reset my phone as well (at least it says that) so I have to backup my data (again) first.
But thank you for your help, appreciate it.
Cheers!
So I did lock the phone again and flashed again the RUU.exe BUT again my Phone shows in Bootloader Software Status as Modified...and it shows as Relocked.
So how do I get it to official status again?
pyo[st said:
;74318325]So I did lock the phone again and flashed again the RUU.exe BUT again my Phone shows in Bootloader Software Status as Modified...and it shows as Relocked.
So how do I get it to official status again?
Click to expand...
Click to collapse
By buying sunshine S-OFF. Only way to see the bootloader back to "locked" instead of "relocked"
Mr Hofs said:
By buying sunshine S-OFF. Only way to see the bootloader back to "locked" instead of "relocked"
Click to expand...
Click to collapse
Ye found a thread to it. But seems I dont need it. My Phone gets shown as certified again at google play store so I assume just "relocking" the bootloader seems to be enough.
.....