Lots of problems trying to unlock the Bootloader - One (E9+) General

This E9+ is my fifth device to root, and the first one in which I've encountered issues.
I'm following this guide that is specific for my phone here on xda.
First step is unlocking the bootloader, for which I'm sent to the htcdev website.
First step there is to reboot to Bootloader or on some devices, Download mode. No problem so far.
Next is to select Fastboot. from the menu. There is no Fastboot. Some Google-fu suggests I reboot my phone, go to Settings>Power>Fastboot and check the box. There is no Fastboot in that menu. I also checked in the Developer Tools menu. HTCdev suggests enabling OEM unlocking in the Developers Tools menu, however there is no OEM unlocking in that menu.
I had tried a few other things as well.
Usually rooting is as easy as pie in the sky due to the wealth of information online, but I have been stuck at Step 0 for days now.
If anyone could help, I would greatly appreciate it.

You DON'T select fastboot. fastboot is a command that you enter with a combination of commands to do certain things like flashing the stock rom or a custom recovery.
boot to the bootloader mode
choose download mode
then with the use of fastboot files enter the commands that you need

i am trying to unlock the boot loader of my E9x as well, after choosing boot to download mode, the screen displayed "This build is for development purposes only. Do not distribute outside of HTC without HTC's written permission. Failure to comply may lead to legal action". please help me

Related

[GUIDE] How to revert back to stock Android. VERY EASY!

For the last two days I tried to revert my HTC One V back to stock android. As in, the way I got it when I first booted it up. I experienced that this progress was pretty difficult. Maybe this was because I was used to the AOSP niceness of Google's LG NExus 4 or because HTC made it very hard to say the least to downgrade/upgrade to their own stock ROM.
I may not have the original sources for all files because I deleted some original .zip files and only have the extracted files.
First off, I wouldn't do any of this if you have important files on your device, I wiped everything from my phone a dozen of times in the process and it didn't care because I didn't had any important files on their.
Alright, so what we want to achieve is to get to the latest version of HTC's RUU version "2.22.401.7". The RUU I could find was "2.22.401.1" so we're gonna have to d/l some OTA's later on via our device if everything is set up.
So obviously everyone who is trying to revert back has somewhere unlocked their bootloader by doing
fastboot oem get_identifier_token
and
fastboot flash unlocktoken Unlock_code.bin
Please remember this: ANY RUU will fail every single time if your device is LOCKED. It will ONLY work if it's unlocked or relocked.
So first off what we gonna have to do is relock/unlock our device. You can relock your device by going into fastboot[1] mode and running the following command:
fastboot oem lock
Myself have expierenced an error that told me it "FAILED". Please reboot your bootload:
fastboot reboot-bootloader
And check the locked status at the top. If it says "RELOCKED", succes! If it didn't, retry the command above.
Next, we're relocked so we can run the RUU. Please look at the text file at the RUU source [2] for the download links. In this .zip file are the files inside the RUU wizard. You can run the wizard by executing "ARUWizard.exe" and you can view the contents of the actual ROM in "rom.zip extracted" and you can find the original ROM in "rom.zip". Since these are the files the wizard will be using (except rom.zip extracted folder) please do not touch them.
Alright, so we've got the extracted files of the RUU and we're ready to update. Please boot your phone in fastboot mode and connect it to your computer via USB. Now run the "ARUWizard.exe" file and let it update. I couldn't think of a situation where this could go wrong, so please ask below if you face any problems.
The wizard will flash stock radio, recovery andsystem.img (the actual ROM you all know) so by doing this you lose your custom revovery.
When your phone boots up you've gotta go through 3-4 updates till it's on "2.22.401.7".
I recommend not flashing a custom recovery right away because when you install/download OTA updates it isn't able to flash it right. In the meantime if you want root[3] use this command:
adb install -s supersu.apk
When you're on the latest version you have to unlock your bootloader, otherwise you cannot flash a custom recovery or kernel or whatever. You can do this via HTC[4]. I think there are enough guides on how to do this, but in short:
- create an account with an legitimate email address
- Select "all other supported devices" from the list
- follow on screen instructions.
Seriously everything is on there, HTC made it really easy.
If you want to install a custom recovery I recommend using TWRP[5]. Please flash TWRP by booting into fastboot and running the following command:
fastboot flash recovery twrp_recovery.img
Troubleshooting
There isn't really a lot that can go wrong if you do this. But when you're stuck on a screen or you think your device is "bricked" or stuck in a bootloop do these things:
- First off, hold the power and volume down button till the device goes down. If it's down, release the buttons and then hold the same buttons again till you're in bootloader
If that doesn't work do either of these commands (make sure your device is connected via USB, hehe)
Make sure fastboot and/or adb is working first:
fastboot devices
adb devices
If fastboot is working:
fastboot reboot-bootloader
If ADB is working:
adb reboot bootloader
adb reboot recovery
If you have any questions, please ask me. I did a dozen of things these two days, I may forgotten something because I did a crapload of things all at once.
Cheers!
Sources:
[1] http://www.technewscentral.co.uk/enter-fastbootbootloader-mode-htc-one/id_7930
[2] http://rg.to/file/aaca8c0c03e655d6df78242b4cea931b/hov.zip.html
http://ul.to/dfmg5dnw
https://mega.co.nz/#!wBcUiIxD!uIkyqZLgFErSItBTu3K7RY3eyUmXVUg60rcB-B-QRWE
Please request other providers below.
[3] http://download.chainfire.eu/supersu
[4] http://www.htcdev.com/bootloader
[5] http://techerrata.com/browse/twrp2/primou
tl;dr
unlock bootloader -> run RUU -> done
This is great and all, but is this for the PRIMO-C or U? US version? etc... etc..

[HOW TO] Update to Stock HTC Sense Lollipop when phone is S-ON and custom ROM

I want to share my experience because I found many persons asking how to do it, just like me.
Warning!
The procedure of returning the T-Mobile HTC One M8 back to stock ROM has been tested successfully but let us warn you that it involves risk. Proceed at your own responsibility. Remember, you have been warned!
Do a backup, all your data will be wiped.
1) First of all, turn the *** UNLOCKED *** bootloader status of your phone to *** RELOCKED ***. This is how to do so: connect your phone to computer and reboot it into Bootloader Mode. Launch a command prompt window, type the following command and press Enter key:
adb reboot bootloader
2) When your One M8 enters the Bootloader screen, highlight the FASTBOOT option using the Volume keys and select it by pressing the Power button.
Then launch the command window again and type the following command to relock the bootloader:
fastboot oem lock
3) Now scroll to Reboot Fastboot option and select it. Once your device begins showing *** RELOCKED ***, you can start using the RUU. If you device has already a LOCKED bootloader, you can skip the above steps.
4) While your M8 is still in Fastboot mode, run the RUU_M8_UL_L50_SENSE60 as administrator, you can download it from THIS LINK.
I found the original instructions here and i downloaded the update from here.
NOTE: When I run the RUU it takes like 20 minutes to complete the installation, take your time.
can I still unlock this boot loader and instal my custom roms after this with unlocking methods used before?
zerowx5 said:
can I still unlock this boot loader and instal my custom roms after this with unlocking methods used before?
Click to expand...
Click to collapse
Yes, using the HTC dev website methods.
Also there was honestly no reason to make this post this info is already available on multiple websites including our beloved xda just saying, don't hate me.
Aforementioned Info
does this erase any data? Should I restore stock recovery first?

Help with TWRP

Hi, sorry if this is in the wrong place!
I've just got a new HTC 10. I've unlocked bootloader and got adb/fastboot and whatever I needed to install twrp. I flashed twrp via fastboot and it said it was successful.. But when I try to boot into recovery it just shows the red writing that says this is for development purposes only (something like that).. And then boots as normal. Also downloaded twrp app and it says it can't locate recovery. I've attached a picture to show the cmd box after I installed. I'm hoping I'm just being stupid and forgetting something. Please help! X
This isn't the place for this. You should post in the TWRP thread. The answer you're looking for is probably already there.
I don't know why everyone keeps freaking out about the red text. All this does is notify the folks at HTC who may work on your phone if you send it in for repairs is that you have indeed unlocked the bootloader etc. The phone has been modified from the original state it shipped in. Warranty may or may not be voided.
Make sure Allow OEM Unlocking and ADB debugging is turned on in Developer Options. Reboot your phone. Attach to computer. Put the phone in download mode. Don't start the ADB daemon. Don't give any ADB commands. Simply use " fastboot flash recovery twrp.img " without the quotes of course. Unattach computer. Use the phone's up/down buttons to switch to bootloader mode. Choose the reboot into Recovery option. This should bring up TWRP. Reboot system from TWRP when you're done.

remote: oem unlock is not allowed

Hi,
I am using my Nextbit Robin Oem Unlock from last 1 year but today i decided to go back to stock with locked Oem.
I flashed the stock rom and locked the Oem at the same time but when i restarted the phone it got stuck at the boot.
So I went ahead with the 'fastboot oem unlock' command, and here's the problem. All flashing command returns FAILED <remote: device is locked...>.
fastboot oem device-info reads: Device tampered: false, Device unlocked: false. So bootloader is locked. At this point I assume that the bootloader is unlocked, but revert back to locked after reboot (the phone automatically rebooted after executing oem unlock command, so can't get around that).
Tried numerous other methods, using different adb files, no dice. Can't even flash TWRP. Tried adb sideload, same. Tried executing fastboot oem unlock with various different parameter, still locked after reboot. I cannot flash anything into locked bootloader.
Google researched it for few hours, same problem happened to other phones from other manufacturers that came returned from warranty replacement with modified motherboard; OR tampered/broken eMMC/NAND flash. But no such case for Nextbit Robin (yet?).
Pretty hopeless right now since I just found out that Nextbit Robin support ended on Aug 1st.
Guess I'm stuck with locked bootloader and no cell signal phone. Unless someone can help. One can always hope.
Anyway, thanks for reading.
Mukul_Meena said:
Admin Note: This is a special Q&A-formatted thread. Please follow this link to view it in your browser: http://xda.tv/post76659814
Click to expand...
Click to collapse
If you bootloader is unlocked I think you can give a try to the Nextbit's Unbrick Tool
As you want to go back to stock , I think this is a good idea.
Now if your bootloader isn't unlocked there is unfortunately nothing I can do for you , unless you unlock it .
Edit #1: If your bootloader is locked , go to bootloader mode by pressing volume down + power button for about 20 seconds and try to see the bootloader state with fastboot commands. If it is unlocked , follow the process in the @nextbitKhang's thread .
Yes that's the main issue. Oem is Locked.
Is there any Oem unlock code i can use to unlock from ADB?
I don't think so ,I'm not sure, but I hope you'll find one.
On your Robin go to settings > system > about phone > tap build number until it shows developer options.
Go into developer options which is in settings > system > developer options.
Make sure OEM unlocking is enabled. (for good measure disable then re-enable)
Also make sure usb debugging is enabled. Have the Robin plugged into a computer so you can enable to pop-up on Robin asking for access for the computer.
Once they are both enabled shut down your phone. Turn it back on while pressing vol down+power and plugged into your computer.
In adb run command fastboot oem unlock
please i'm experiencing the same issue not on nextbit but on GIonee.
i have re-activate both OEM unlocking and USB debugging several times but it all void
same error: Remote: OEM unlock is not allowed
please kindly help

Trying to Root and Install Custom ROM

Edit: Issue resolved
Hello everyone,
Pardon my lack of knowledge on rooting devices and all the related things. This is my first time attempting to root a device and I am having a lot of trouble understanding how to go about things. Through my research, I'm finding a lot of different ways to do things and I want a direct opinion on my process so I don't mess up my phone. (Through as much research as I could) My end goal is to have TWRP flashed to my phone, root my device and install a custom ROM. My understanding is that I first need to unlock the bootloader, flash TWRP, install SuperSU, then flash the custom ROM. I won this phone from a raffle and I'm trying to root from a Windows 10 laptop.
I have the TWRP and SuperSU files at the ready and have also installed Kingo root. I enabled USB debugging and allowed the bootloader to be unlocked in developer settings. I tried to boot into download and bootloader and successfully recognized my device, but when trying to use "fastboot flash recovery twrp-3.2.3-0-hima.img" it gave me the error message "FAILED (remote: cannot flash this partition in s-on state)" and "FAILED (remote: 9 RU_SECURITY_FAIL recovery and bootloader isn't BL_UNLOCKE)"
I'd assumed my phone was already unlocked but that's obviously not the case. Doing some more research I found a lot of people needed to get a bootloader unlock from HTCdev.
Is this what I need to do now to continue?
What about this "s-on state" how can I turn it off?
Will unlocking the bootloader wipe my device?
Could I just use the "root" button in the Kingo root main app?
Can anyone verify my theoretical steps and give quick notes on how I should be doing them properly?
Any help is greatly appreciated
dont worry i will help you
Download all in one Android toolkit for your PC...
https://www.google.com/url?sa=t&sou...FjAAegQIBRAB&usg=AOvVaw0sohDTlAE3UaLSgUihYhS3
and connect your phone to PC and allow USB debugging after that
go to Android all in one toolkit and select unlock bootloader....on the screen of your phone it would ask you if you want to unlock bootloader press volume up for yes
volume down for no
Select yes...but
Note:It would reset everything on your phone so back up your necessary files
Make sure you download the right twrp image for your phone (Google search)
Move the Twrp.img to your PC local directory folder and rename it to TWRP.img ....next step is to:-
next step is to go to windows command prompt on your PC and type the following commands:-
Adb devices
Adb reboot bootloader
Fastboot devices
Fastboot flash recovery TWRP.img
Note:make sure you reboot your phone to recovery before normal reboot so that it would replace your previous stock rom
Go to twrp and install the latest version of super su
https://download.chainfire.eu/696/supersu/
This steps worked for me it can work for almost all types of phone
my name is Iduh Winner
I was a root struggler like you...all thanks to God ....I love you all for more info contact me on the following social media
facebook:Iduh Winner
YouTube:Iduh Winner

Categories

Resources