[REF][GUIDE][11/03/2012] Unlocking the Bootloader - Nexus 4 General

-This guide is going to help you with step-by-step instructions that will get you an unlocked bootloader on your Nexus 4.
-Keep in mind that unlocking the bootloader will erase all the data on your phone (every single thing, including internal storage), hence it is preferable to unlock the bootloader when the phone is new, as then you don’t have to go through the hassle of re-installing everything.
Compatibility
This guide is applicable only for the LG Nexus 4. Do not try this on any other device.
Warning!
The methods and procedures discussed here are considered risky and you should not attempt anything if you don’t know completely what it is. If any damage occurs to your device, I won’t be held liable.
How to Unlock Bootloader on Nexus 4
1. Backup everything on your phone, including the data on the internal storage, as unlocking the bootloader will erase every single thing on the phone.
2. Download and install the Android SDK → from here. This will install the necessary drivers for the phone on your computer. ( The drivers for your phone can be installed manually by other methods too, they are mandatory ) For the fastboot driver to install (and for fastboot commands to work), your device must be booted in fastboot mode.
3. Download Fastboot, which will be used for unlocking the bootloader.
Download Fastboot here .
4. Extract the Fastboot.zip file on your computer to get a folder named Fastboot with four files inside it. To keep things easy, extract the Fastboot folder to your C: drive.
5. Turn off your Nexus 4. Then, boot into fastboot mode by holding down the Volume down and Power buttons together till the screen turns on and shows “Start” written in big green letters.
6. Then, connect your Nexus 4 to the computer with your USB cable, then wait for Windows to finish installing the drivers (drivers will be installed only the first time). For reliability, ensure that you use a USB port at the back if you are using a desktop computer, as the front panel ports can be loose and cause problems.
7. Click on Start menu » All Programs » Accessories » right-click on Command Prompt and click on Run as administrator. If you are using Windows 8, this can be done by right-clicking on the extreme bottom left corner of the taskbar, then selecting “Command Prompt (admin)”
8. Now, perform the following steps in the command prompt to unlock the bootloader (check the screenshot after step 8.3 for reference)
8.1. Navigate to the Fastboot folder which you obtained in step 4. For example, if the Fastboot folder is in drive C on your computer, enter cd C:\Fastboot in command prompt (and press Enter) to navigate to the folder.
8.2. Then, enter fastboot devices. If your Nexus 4 has been detected properly, you will see a device ID show up in command prompt. If nothing comes up, make sure you have installed the drivers (step 2).
8.3. Finally, to unlock the bootloader, enter fastboot oem unlock in command prompt. You will get a prompt on the phone asking whether you want to unlock the bootloader. Just select Yes. Remember that this will wipe all your data, so make sure you took a backup.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
9. The phone will then reboot, and once it starts up, you can set up your phone.
10. To re-lock the bootloader, simply follow the entire procedure again from step 5 to 8, but in step 8.3, enter fastboot oem lock. This will re-lock the bootloader.
The bootloader on your Nexus 4 is now unlocked, and you can start installing custom ROMs and make other modifications to the phone. Have fun!
SOURCE

. . .anticpating the release date for purchasing . .

TheDarkDefender said:
-This guide is going to help you with step-by-step instructions that will get you an unlocked bootloader on your Nexus 4.
-Keep in mind that unlocking the bootloader will erase all the data on your phone (every single thing, including internal storage), hence it is preferable to unlock the bootloader when the phone is new, as then you don’t have to go through the hassle of re-installing everything.
Compatibility
This guide is applicable only for the LG Nexus 4. Do not try this on any other device.
Warning!
The methods and procedures discussed here are considered risky and you should not attempt anything if you don’t know completely what it is. If any damage occurs to your device, I won’t be held liable.
How to Unlock Bootloader on Nexus 4
1.Backup everything on your phone, including the data on the internal storage, as unlocking the bootloader will erase every single thing on the phone.
2.Download and install the Android SDK → from here. This will install the necessary drivers for the phone on your computer.
3.Download Fastboot, which will be used for unlocking the bootloader.
Download Fastboot here
4.Extract the Fastboot.zip file on your computer to get a folder named Fastboot with four files inside it. To keep things easy, extract the Fastboot folder to your C: drive.
5.Turn off your Nexus 4. Then, boot into fastboot mode by holding down the Volume down and Power buttons together till the screen turns on and shows “Start” written in big green letters.
6.Then, connect your Nexus 4 to the computer with your USB cable, then wait for Windows to finish installing the drivers (drivers will be installed only the first time). For reliability, ensure that you use a USB port at the back if you are using a desktop computer, as the front panel ports can be loose and cause problems.
7.Click on Start menu » All Programs » Accessories » right-click on Command Prompt and click on Run as administrator. If you are using Windows 8, this can be done by right-clicking on the extreme bottom left corner of the taskbar, then selecting “Command Prompt (admin)”
8.Now, perform the following steps in the command prompt to unlock the bootloader (check the screenshot after step 8.3 for reference)
8.1.Navigate to the Fastboot folder which you obtained in step 4. For example, if the Fastboot folder is in drive C on your computer, enter cd C:\Fastboot in command prompt (and press Enter) to navigate to the folder.
8.2Then, enter fastboot devices. If your Nexus 4 has been detected properly, you will see a device ID show up in command prompt. If nothing comes up, make sure you have installed the drivers (step 2).
8.3Finally, to unlock the bootloader, enter fastboot oem unlock in command prompt. You will get a prompt on the phone asking whether you want to unlock the bootloader. Just select Yes. Remember that this will wipe all your data, so make sure you took a backup.
9.The phone will then reboot, and once it starts up, you can set up your phone.
10.To re-lock the bootloader, simply follow the entire procedure again from step 5 to 8, but in step 8.3, enter fastboot oem lock. This will re-lock the bootloader.
The bootloader on your Nexus 4 is now unlocked, and you can start installing custom ROMs and make other modifications to the phone. Have fun!
SOURCE
Click to expand...
Click to collapse
Exact same as Nexus S and GNex: Go to bootloader, run "fastboot oem unlock"

Waiting to get my hands on the new Nexus 4. I'll be back soon. \m/
Sent from my GT-N7000 using xda premium

Guides go in the "General" section

jacklebott said:
Guides go in the "General" section
Click to expand...
Click to collapse
what? this is development related. I did check a few other device forums before I posted here. Guides like rooting,unlocking,etc. always are in the dev section. Let the moderator decide that.

this is awesome, but any way for a mac version?
thanks

I'm going to be doing this as soon as I get my N4. Hopefully they get sold out so I can wait a few days and CM will be released so I won't have to worry about setting everything up coming from stock

killman2659 said:
I'm going to be doing this as soon as I get my N4. Hopefully they get sold out so I can wait a few days and CM will be released so I won't have to worry about setting everything up coming from stock
Click to expand...
Click to collapse
How can you be sure that the CM devs got their phones? I don't think they have special channels do they?
On a separate note,
Awesome. First thing to do when I get that thing delivered. (and hopefully don't brick it.)

Correct me if I'm wrong, but you can root without unlocking the bootloader, right? If so, why the need?

eep2378 said:
Correct me if I'm wrong, but you can root without unlocking the bootloader, right? If so, why the need?
Click to expand...
Click to collapse
Only if the security isn't good enough.

FISKER_Q said:
Only if the security isn't good enough.
Click to expand...
Click to collapse
An example being.....? I guess I'm just looking for clarification. Why not just root then flash custom roms, kernels, etc? I've never owned a Nexus device so never really needed to unlock bootloader.

eep2378 said:
An example being.....? I guess I'm just looking for clarification. Why not just root then flash custom roms, kernels, etc? I've never owned a Nexus device so never really needed to unlock bootloader.
Click to expand...
Click to collapse
To get root you need root access, this does not come standard with Android, therefor the only supported way to get root access is by unlocking the bootloader, flashing an insecure boot image and installing the superuser files manually. A locked bootloader should prevent flashing of the insecure boot image, and Linux should prevent unauthorized users from becoming root, in the case of Android that means everybody.
However that is of course far from the reality, there are various vulnerabilities in the Linux Kernel and Android that can allow elevation which in turn then allows installation of the superuser binaries and the superuser android app. That in turn will usually allow flashing of custom recoveries, but a properly locked/secure bootloader can actually prevent changes to those partitions regardless of root access, i believe there's been a few of such devices in the past.

That's what I figured. Thanks. My current device(s2) there was no need to unlock bootloader to gain root access.

This should be stickied.

Ajfink said:
This should be stickied.
Click to expand...
Click to collapse
I have requested the moderator. I haven't received a reply yet.

What do you suggest I backup with? I thought a full nandroid backup could only be done once rooted?
Sent from my Galaxy Nexus using xda premium

*** Please remove***

TheDarkDefender said:
well..for starters,you could use titanium backup. And you can take a nand backup after rooting,which doesn't require unlocking.
Click to expand...
Click to collapse
That post is confusing since you need to be unlocked to gain root.
Sent from my Galaxy Nexus using Tapatalk 2

*** Disregard ***

Related

Official bootloader unlock procedure from LG AND the one that works for everyone ;)

I just checked my emails and saw a reply from LG, containing the official unlocking procedure
alright, so here you go:
Requirements
- Linux: no drivers, only adb and fastboot (Linux is preferable, because drivers can't mess something up I've used Xubuntu 12.10 BTW)
- Windows: all drivers (including fastboot drivers) installed and functioning
- a working and updated ADB (for installing ADB, search for tuts here on xda )
- a unlockable firmware which is flashed several hours before trying to unlock the bootloader (and also being connected to the network)
- be willing to recycle all your warranty papers
- and most important: a brain with the ability to read
The Steps
1) charge your phone to 100% (not mentioned by LG, but it helped for me)
2) connect your phone in LG software mode (every mode with an activated adb should work, too)
3) if you have the path to your adb defined, then goto 3a). if not, then goto 3b)
3a) open a terminal and type
Code:
adb reboot oem-unlock
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3b) open a terminal and type
Code:
cd ~/android-sdk/platform-tools
in Linux or
Code:
cd C:\...
on windows (if you've installed the android-sdk in your home directory under "android-sdk". if not, change it to the directory you've installed it)
then type
Code:
adb reboot oem-unlock
4) now you should see this on your phone:
do i wanna unlock it? of course i do so press the vol + button ATTENTION: there is no further warning, your whole /data/ partition will be formatted!!!
5) now you should see this, and your BL is unlocked and your /data/ partition is wiped
6) now pull out your usb cable and your battery, too
7) put your battery back in and boot
8) set up your system
9) now go to the hidden menu and check your BL status (dialer: 3845#*880# --> Bootloader Unlock Check --> Bootloader Unlock Check --> Unlock)
Some people still think that
Code:
adb reboot bootloader
fastboot oem unlock
is the right command, but guess what: it isn't so please don't use it
Please follow below directions to unlock bootloader.
1. Turn on the phone with SIM card, and wait for connection to the real network.
2. Wait for couple of hours.
3. Connect your handset to local PC with USB cable.
4. Enter "adb reboot oem-unlock" in DOS command window.
5. Reboot handset and you can see the bootloader unlock guide on your phone.
6-1. If you press volume up key, handset is bootloader unlock status.
You can download custom image using fastboot command.
6-2 If you press power on key, user doesnot accept unlock bootlaoder and handset normally power on.
Click to expand...
Click to collapse
so this was the official way now we're gonna take a look into the way, that can unlock every bootloader (at least we've heard nothing opposite )
download this attatched BL_unlock file and extract it
execute the BL-unlock.bat
your bootloader is now unlocked
so what it does:
it copys the calue of the fuse "odm_reserved" to a temporary folder in /data/local
changes the value to an "unlocked" one
and it pushes the changed value back to the fuse
Be aware, that whatever you do, you do it on your own responsibility. I am not responsible for any damage that might occur.
Also keep in mind, that there is no way to relock it. So think before doing anything.
No matter which version?
I asked for the official unlock method, and lg said that only euro-open would be unlockable. But i guess it will work on some other firmwares too.
Sent from my LG-P880 using xda premium
Ask about uk too? Since you got a response and I didn't. Or make a modded kdz that always flashes to eur-xxx since you have mad skills lol
Sent from my rooted P880
@non4 said:
Ask about uk too? Since you got a response and I didn't. Or make a modded kdz that always flashes to eur-xxx since you have mad skills lol
Sent from my rooted P880
Click to expand...
Click to collapse
It is not kdz that should be moded it is the kdz flash program...
There must be something which controls the device ID or IMEI, because it is no longer possible to unlock. Allways stack on [LGE_SECURITY] Unlock permission denied. I did tried already all possibility including drivers, differen adb versions, downgrading, updating e.g.
It is done on Optimus G...maybe someone could contact developer of that app.
https://play.google.com/store/apps/details?id=edu.shell.freegee&hl=hr
Also XDA dev.
http://forum.xda-developers.com/showthread.php?t=2094696
Doesn't work on 234. Security error.
On 232.14 - Unlock Permission Denied.
So with a branding you cannot unlock your boot loader. Maybe someone can find a workaround.
i have tried it on kubuntu with ADB.
nedooo said:
It is not kdz that should be moded it is the kdz flash program...
Click to expand...
Click to collapse
Yeah I'm thinking that, maybe we can spoof the region to lg flashtool or something, if its just flags in the kdz that are read by the flashtool it shouldn't be too hard to patch. Hopefully someone can :thumbup:
Sent from my rooted P880
@non4 said:
Yeah I'm thinking that, maybe we can spoof the region to lg flashtool or something, if its just flags in the kdz that are read by the flashtool it shouldn't be too hard to patch. Hopefully someone can :thumbup:
Sent from my rooted P880
Click to expand...
Click to collapse
German, Euro Open and Czech fw have same size and I don't think so, that they released difeffrent versions for several countries. But what I think is somewhere some specific RIL's region list what BL check before unlocking process.
In cmd.exe when i enter 'adb reboot oem-unlock' it returns 'adb' is not a valid command.
Sorry for being a noob
mastershefis said:
German, Euro Open and Czech fw have same size and I don't think so, that they released difeffrent versions for several countries. But what I think is somewhere some specific RIL's region list what BL check before unlocking process.
Click to expand...
Click to collapse
that's what i'm thinking too. i guess there's the same BL on every firmware version. when trying to unlock the phone, the bootloader checks a file and "decides" then if it's unlockable or not...
Emin3ms said:
In cmd.exe when i enter 'adb reboot oem-unlock' it returns 'adb' is not a valid command.
Sorry for being a noob
Click to expand...
Click to collapse
you need to execute the command in a folder, where your adb is
Emin3ms said:
In cmd.exe when i enter 'adb reboot oem-unlock' it returns 'adb' is not a valid command.
Sorry for being a noob
Click to expand...
Click to collapse
Sounds like you havent installed it to CMD. Instead you can type cd C:/(name of adb directory) and hit enter, now adb commands should work. If you don't know what adb is do some research before messing with it
Sent from my rooted P880
I think that I need a little help with this process. I've entered the "Bootloader unlock mode" where I can see the warranty disclaimer etc, pressed "Vol Up" key to accept the terms and to continue with the process...after that, a red text appeared - "Download mode !!!". What should I do now, enter some commands in adb or...?
teddyxfire said:
I think that I need a little help with this process. I've entered the "Bootloader unlock mode" where I can see the warranty disclaimer etc, pressed "Vol Up" key to accept the terms and to continue with the process...after that, a red text appeared - "Download mode !!!". What should I do now, enter some commands in adb or...?
Click to expand...
Click to collapse
just do nothing the phone is making a factory reset and will reboot when it's done.
if it doesn't reboot itself, but says that it's done, just pull the battery and boot it manually
Ok I got 'unlock permission denied' si I cannot unlock or what i'm supposed to do?
laufersteppenwolf said:
just do nothing the phone is making a factory reset and will reboot when it's done.
if it doesn't reboot itself, but says that it's done, just pull the battery and boot it manually
Click to expand...
Click to collapse
Is it normal that this process takes a long time to complete? I think that it's been running for about 15 minutes now...
teddyxfire said:
Is it normal that this process takes a long time to complete? I think that it's been running for about 15 minutes now...
Click to expand...
Click to collapse
it was done in about 15 sec for me... try pulling the battery and boot it up. if it's unlocked, be happy, if not, try it again
Hello strange i have unlock denied message but i am on the Eur-xxx software non branded , ( polish software ) is there an option to open it ?:

[How to] root

After doing it my self, ive made a simple and easy (with pictures) guide
http://argue4android.blogspot.com/2013/12/how-to-root-htc-first_11.html
did you solve your problem yet ? they have a method of rooting around these threads, ill see if i can find it for you
step 1: did you unlock your bootloader through htcdev ? htcdev has a step by step thing to show you how to unlock your bootloader, oh and when you choose which device just click the last option which should be something like "all supported" or whatever.
step 2: flash a custom recovery like TWRP , heres a link: http://forum.xda-developers.com/showthread.php?t=2241782 , once you're in twrp when you attempt to leave it should give in option to flash supersu (or whatever its called) *ALSO TWRP IS KINDA BUGGY JUST LEAVE THE PHONE ALONE FOR LIKE 15 SECONDS SO IT TIMES OUT, IT WILL FIX ANY GRAPHICAL GLITCHES*
step 3: at this point you should have supersu (or whatever its called) but you can't make system changes due to the phone being S-ON so you wanna get S-OFF next.... *WORK IN PROGRESS* (im not home at the moment but i started this so you atleast can get somewhere)
SneakyGuyDavid said:
did you solve your problem yet ? they have a method of rooting around these threads, ill see if i can find it for you
step 1: did you unlock your bootloader through htcdev ? htcdev has a step by step thing to show you how to unlock your bootloader, oh and when you choose which device just click the last option which should be something like "all supported" or whatever.
step 2: flash a custom recovery like TWRP , heres a link: http://forum.xda-developers.com/showthread.php?t=2241782 , once you're in twrp when you attempt to leave it should give in option to flash supersu (or whatever its called) *ALSO TWRP IS KINDA BUGGY JUST LEAVE THE PHONE ALONE FOR LIKE 15 SECONDS SO IT TIMES OUT, IT WILL FIX ANY GRAPHICAL GLITCHES*
step 3: at this point you should have supersu (or whatever its called) but you can't make system changes due to the phone being S-ON so you wanna get S-OFF next.... *WORK IN PROGRESS* (im not home at the moment but i started this so you atleast can get somewhere)
Click to expand...
Click to collapse
um no i dont quite get it...i understand the boot loader thing, but what happens in the process? any precautions needed?
then...recovery...how does TWRP work? same as CWM? Which one should i use? Which one is the safest?
what is S-ON and S-OFF ?
Screenshots would be great
its so much simpler on my old lg...just hook up to pc, hit root, then download cwm app, install recovery through that, then flash. HERE its so complicated...time to learn some new stuff eh?
the unlock bootloader thing is pretty safe its just a command you run while your phone is in bootloader just make sure you have adb and fastboot ill see if i can get you some pictues and screenshots in the meantime
by the way most htc phones go through this process haha, so yeah i guess it is time to learn
---------- Post added at 06:03 PM ---------- Previous post was at 05:37 PM ----------
unlocking bootloader instructions:
1) Make sure to have adb and fastboot, oh and the htc drivers
here are some standalone adb and fastboot if you need it: http://forum.xda-developers.com/showthread.php?p=42407269
here are the htc drivers: http://forum.xda-developers.com/showthread.php?t=2217396
2) Head to the htcdev website, sign in or register and somewhere on the homepage it should show an option to "Unlock Bootloader"
heres some screenshots and such:
HTCDev Homescreen:http://i.imgur.com/dXHfiPF.png
After clicking unlock bootloader option: http://i.imgur.com/G753Ou7.jpg
Make sure to pick this under which device: http://i.imgur.com/f8kiOBf.png
i just realized this is alot of work to make a guide so heres a link if i lose you in my lazy guide below :good: http://technosamigos.com/unlock-bootloaders-htc-first-facebook-home-phone/
Quick Lazy Guide
do as above , then htc will send you an email to the email you registered with attached with a file called "unlock.bin" put that file into the folder that you have the adb and fastboot, at that point you can then turn your htc first off and then enter bootloader by holding down power button and volume down while the phone is off and you can keep holding both buttons intill you reach the white bootloader screen, once in bootloader plug it into the computer then press the power button on the fastboot option, it should show fastboot in red and be detected since you should have installed the htc drivers by now, then hold SHIFT while right clicking somewhere in the folder and click the option in the context menu to "open a command promt here" at that point you're gonna run the command: fastboot flash unlocktoken Unlock_code.bin .... then after that you should see THIS: http://i.imgur.com/G5FxYSZ.png , press volume up till you highlight yes and press the power button , BOOM YOU HAVE UNLOCKED BOOTLOADER WOOOOOOOOO PARTY PARTY PARTY
BOOTLOADER LOOKS LIKE THIS: http://i.imgur.com/rJ3Vn5w.jpg
---------- Post added at 06:17 PM ---------- Previous post was at 06:03 PM ----------
Now the recovery
now that the bootloader is unlocked you can then restart the phone and then go back into bootloader to flash a recovery, you can do either but i prefer twrp since it allows you to flash supersu before you restart your phone.
here are links to:
TWRP: http://forum.xda-developers.com/showthread.php?t=2241782 GIVES AN OPTION TO FLASH SUPERSU BEFORE YOU RESTART PHONE
please remember that twrp has graphical issues that can be fixed once the screen times out in however many seconds
CWM: http://forum.xda-developers.com/showthread.php?t=2241777 THE CWM THREAD SHOWS HOW TO GET ROOT BY FLASHING SUPERSU ZIP
---------- Post added at 06:21 PM ---------- Previous post was at 06:17 PM ----------
Now to get S-OFF
there are two methods, Moonshine and RumRunner. both have already good guides which are the websites, try moonshine but if it doesn't work try rumrunner.
Moonshine: http://moonshine.io/
Rumrunner: http://rumrunner.us/
like i said try moonshine, but for me moonshine didnt work so i had to use rumrunner, and after i used rumrunner i had S-off but my phone kept bootlooping, MY SOLUTION (saying this because there are many and i cannot promise that it will work for you) was to RE-LOCK the bootloader (by running the command fastboot oem lock or something like that i will find out later)after obtaining S-OFF (you can verify if you have S-ON or S-OFF through the bootloader should say it somewhere near the top, so it sounds crazy but you can still do all functions after the bootloader is locked you can still flash roms and access custom recovery and everything, the stock rom just responds bad to having S-OFF and unlocked bootloaders for some including me.
---------- Post added at 06:32 PM ---------- Previous post was at 06:24 PM ----------
I am an extremely lazy person if you haven't noticed, you should feel honored to have me make you a half-assed personal guide with few photos here and there lol i kid i kid.
wow...that makes alot...and i mean hell of alot more sense now! nice job with the explanation...
i figured out the bootloader portion...and heading on to recovery...but usualy i do this one day at a time...like let it run in its "new state" for a while before doing anything...dont want to overload a brand spankn new device eh?
now questions...specificaly
1. what is "standalone adb and fastboot" in step number one?
2. how do you navigate in the boot loader? and etc?
3. i still dont quite get how to do recovery - HOW do i do these...i understand i need to do all that below VVV but HOW
3a. Boot into HBOOT then Fastboot
3b. Erase cache from fastboot before flashing recovery. Use command "fastboot erase cache"
3c. From fastboot. Use command "fastboot flash recovery recovery.img"
4. what is S OFF??????
5. and finaly...how do i flash everything that needs to be flashed, since i dont have a recovery, in fastboot or what ever?
as you noticed...i think HTC has over done the whole security ****...the phones should just come pre rooted.
russian392 said:
wow...that makes alot...and i mean hell of alot more sense now! nice job with the explanation...
i figured out the bootloader portion...and heading on to recovery...but usualy i do this one day at a time...like let it run in its "new state" for a while before doing anything...dont want to overload a brand spankn new device eh?
now questions...specificaly
1. what is "standalone adb and fastboot" in step number one?
2. how do you navigate in the boot loader? and etc?
3. i still dont quite get how to do recovery - HOW do i do these...i understand i need to do all that below VVV but HOW
3a. Boot into HBOOT then Fastboot
3b. Erase cache from fastboot before flashing recovery. Use command "fastboot erase cache"
3c. From fastboot. Use command "fastboot flash recovery recovery.img"
4. what is S OFF??????
5. and finaly...how do i flash everything that needs to be flashed, since i dont have a recovery, in fastboot or what ever?
as you noticed...i think HTC has over done the whole security ****...the phones should just come pre rooted.
Click to expand...
Click to collapse
1. adb and fast boot are the programs you need before you root so your computer will detect your phone. So in simpler terms before you even try to root you should have android sdk manager installed on your computer and everything up to date.
Here's are the fastboot and adb files.
https://www.dropbox.com/s/jqdt4mq0t1ai251/fastboot adb.rar
Once you download those, you're gonna make a folder called Android in your C: drive or whatever your main drive is and place those files in there.
The folder should look like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The android-sdk-windows folder is where you should put all of your SDK/sdk manager files.
Once you're done with that, you'll have to make a folder called fastboot on the C: drive also but to make your life easier I'll just upload mines, so you just have to place it on the C drive.
fastboot:
https://www.dropbox.com/s/j2zsnjbeitiy3du/fastboot.rar
Here's how your drive should look when done.
Now back to your questions, to enter boot loader mode, you hold down the power key with the volume down rocker until you enter the white screen with all the options.
And then to fast boot you just make sure the option is high lighted and press the power button.
The volume buttons are used to navigate and the power button is used to select btw.
And to do recovery is simple, once you are in fast boot it should say fastboot usb on the screen some where from there you open up CMD and type the command
cd c:\fastboot
and then press enter and then you enter the command
fastboot flash recovery recovery.img
If you're using the files I uploaded everything should go smoothly I already put TWRP recovery in the folder.
Once the recovery is down flashing you go back to the boot loader screen jusy by pressing it and then go down to recovery and wala you're rooted, TWRP automatically installs supersu for you.
I'm to lazy to explain S-OFF but basically it allows you to change system files permanently, normal once you reset your device whatever changes you made to the /system would disappear unless you have S-OFF.
russian392 said:
wow...that makes alot...and i mean hell of alot more sense now! nice job with the explanation...
i figured out the bootloader portion...and heading on to recovery...but usualy i do this one day at a time...like let it run in its "new state" for a while before doing anything...dont want to overload a brand spankn new device eh?
now questions...specificaly
1. what is "standalone adb and fastboot" in step number one?
2. how do you navigate in the boot loader? and etc?
3. i still dont quite get how to do recovery - HOW do i do these...i understand i need to do all that below VVV but HOW
3a. Boot into HBOOT then Fastboot
3b. Erase cache from fastboot before flashing recovery. Use command "fastboot erase cache"
3c. From fastboot. Use command "fastboot flash recovery recovery.img"
4. what is S OFF??????
5. and finaly...how do i flash everything that needs to be flashed, since i dont have a recovery, in fastboot or what ever?
as you noticed...i think HTC has over done the whole security ****...the phones should just come pre rooted.
Click to expand...
Click to collapse
1) the fast boot and adb is standalone because the full thing is the android SDK, which is a lot lot lot lot larger to download, so the standalone is basically the essentials
2) you navigate using the volume rocker and you click options by using the power button
3) hboot IS the bootloader. So like I said while the device is completely off hold Volume Down + Power Button intill it boots into bootloader/hboot , then you press the power button to select fastboot. And you would run "fastboot erase cache" through the command prompt that you open when you hold shift and right click in the folder where you have adb and fastboot. And you would place the recovery you download in the folder with adb and fastboot And run the command so for example "fastboot flash recovery nameofrecovery.img"
4) first let's start with S-ON, basically S-ON protects the system from any changes or tampering you might do, if you try to modify system files your phone will restart and any changes would be reverted, or as soon as you restart your phone manually all changes are gone. Therefore when you turn S-off it allows you to tamper with the files and make changes.
5) and you can't flash anything without a recovery really, unless its a update from HTC directly or something
Sent from my HTC first
Thanks guys you have been a great help. Finaly i sort of understand how this works...never thought that the Genius of android devices aka HTC would make something so complicated. on my lg, it was just hit a button and ur rooted.
thanks thanks thanks thanks and again...thanks:good:
now i can just go over to rasheds house and let him use my phone :laugh: so he could port CM and test it!!!
EDIT
so...all i do is
1. Unlock Boot Loader...by following instructions on HTC Dev website
2. Go into H boot by holding power and volume down. Selecting Fast Boot (while phone is plugged into pc) on pc command prompt type in command to flash recovery.
Thats it? did i miss anything?
Yeah that's it and to S-OFF just follow the instructions in the other thread.
Kendosis said:
Yeah that's it and to S-OFF just follow the instructions in the other thread.
Click to expand...
Click to collapse
oh ya...forgot.
The other thread tells me what to do, but doesn't explain how to do it
Sent from my LG-P506 using xda app-developers app
So let me get this straight.
I must go to the HTC Dev website, and folow all instructions their to unlock the boot loader. Once i have unlocked the bootloader i must put the recovery and superuser files onto the root of my sd card/phone storage, boot into HBoot, select Fast Boot, hook up the phone to pc, and on my pc, in comand prompt type the folowing comands:
> c:\fastboot
> fastboot flash recovery recovery.img
(if those codes are incorrect, please let me know)
After that, i simply wait for the recovery to flash (idk how long, or what do i look for to know that it is completed?????).
Once it is flashed, i tell it in recovery to flash supersu, or superuser. which ever one it does.
Once that is done, reboot, put moonshine/rumrunner on to the root of my sdcard/phone storage, reboot into recovery, and flash it. that will turn Security (s) off.
if any of that is incorrect, please tell me. cause this is so confusing. Like details i need is
1. when where do i plug in the phone to the computer
2. do i boot into hboot first, then plug in the phone, or do i plug in first, then reboot into hboot
3. do i need to run any ddms.bat or fastboot.bat files beforehand?
4. i flash moonshine in recovery, or comand it from pc?
see...i need DETAILS, not like: flash recovery. I understand that i need to flash the recovery... HOW and WHEN is what i need to know...does that make more sense of what my problem is?
EDIT
BTW, FXXX it, im not rooting this thing till 1 of 2 things happens. 1, i get a normal explanation, that will walk me through step by step on how to do this. i dont need screenshots nesicarily, just a detailed explanation...this isnt just for me, but for tons of other people who have the HTC First. or 2. someone makes a noob proof program that you simply hook up your phone to ur pc and hit root.
russian392 said:
So let me get this straight.
I must go to the HTC Dev website, and folow all instructions their to unlock the boot loader. Once i have unlocked the bootloader i must put the recovery and superuser files onto the root of my sd card/phone storage, boot into HBoot, select Fast Boot, hook up the phone to pc, and on my pc, in comand prompt type the folowing comands:
> c:\fastboot
> fastboot flash recovery recovery.img
(if those codes are incorrect, please let me know)
After that, i simply wait for the recovery to flash (idk how long, or what do i look for to know that it is completed?????).
Once it is flashed, i tell it in recovery to flash supersu, or superuser. which ever one it does.
Once that is done, reboot, put moonshine/rumrunner on to the root of my sdcard/phone storage, reboot into recovery, and flash it. that will turn Security (s) off.
if any of that is incorrect, please tell me. cause this is so confusing. Like details i need is
1. when where do i plug in the phone to the computer
2. do i boot into hboot first, then plug in the phone, or do i plug in first, then reboot into hboot
3. do i need to run any ddms.bat or fastboot.bat files beforehand?
4. i flash moonshine in recovery, or comand it from pc?
see...i need DETAILS, not like: flash recovery. I understand that i need to flash the recovery... HOW and WHEN is what i need to know...does that make more sense of what my problem is?
EDIT
BTW, FXXX it, im not rooting this thing till 1 of 2 things happens. 1, i get a normal explanation, that will walk me through step by step on how to do this. i dont need screenshots nesicarily, just a detailed explanation...this isnt just for me, but for tons of other people who have the HTC First. or 2. someone makes a noob proof program that you simply hook up your phone to ur pc and hit root.
Click to expand...
Click to collapse
You flash recovery from a file on your computer. With your current setup, put recovery.img where fastboot.exe is and run that command. It should only take a couple seconds, if it hangs press Ctrl+C to terminate, type "adb devices" to check if the device is detected, if not type "adb kill-server" and try again.
You don't need superuser to moonshine, that's for getting you root when you're done and booted up.
1. Before doing anything that involves the phone and the computer communicating via USB. -.-
2. Doesn't matter, the phone doesn't need to be unplugged for any part of this so it doesn't hurt to leave it plugged in.
3. What? Don't just run stuff without knowing what it does.
4. Run moonshine from your computer.
Let's go over the basics a little:
To boot into recovery once it's installed, turn off the phone and then hold down power and volume down until the softkeys flash. Release the power button before releasing the volume button. That will bring you to HBOOT. Use the volume keys to scroll to, and power to select, "BOOTLOADER", then "RECOVERY". The alternative less painful method is to type "adb reboot recovery" from your computer.
All you need to root this phone is to install Superuser via a recovery such as ClockworkMod or TWRP. You do that by putting Superuser.zip in the phone's storage, installing recovery as above, then boot into recovery and choose "Install zip" and find the zip on /sdcard0.
S-OFF is not required to run apps with root permissions, but it is required to make permanent changes to system files such as any mods, and to flash ROMs.
A quirk with moonshine is that if you relock the bootloader after S-OFF, you will be unable to reunlock until you RUU (return to factory image) the phone.
killall-q said:
You flash recovery from a file on your computer. With your current setup, put recovery.img where fastboot.exe is and run that command. It should only take a couple seconds, if it hangs press Ctrl+C to terminate, type "adb devices" to check if the device is detected, if not type "adb kill-server" and try again.
You don't need superuser to moonshine, that's for getting you root when you're done and booted up.
1. Before doing anything that involves the phone and the computer communicating via USB. -.-
2. Doesn't matter, the phone doesn't need to be unplugged for any part of this so it doesn't hurt to leave it plugged in.
3. What? Don't just run stuff without knowing what it does.
4. Run moonshine from your computer.
Let's go over the basics a little:
To boot into recovery once it's installed, turn off the phone and then hold down power and volume down until the softkeys flash. Release the power button before releasing the volume button. That will bring you to HBOOT. Use the volume keys to scroll to, and power to select, "BOOTLOADER", then "RECOVERY". The alternative less painful method is to type "adb reboot recovery" from your computer.
All you need to root this phone is to install Superuser via a recovery such as ClockworkMod or TWRP. You do that by putting Superuser.zip in the phone's storage, installing recovery as above, then boot into recovery and choose "Install zip" and find the zip on /sdcard0.
S-OFF is not required to run apps with root permissions, but it is required to make permanent changes to system files such as any mods, and to flash ROMs.
A quirk with moonshine is that if you re-lock the bootloader after S-OFF, you will be unable to reunlock until you RUU (return to factory image) the phone.
Click to expand...
Click to collapse
wow thanks man.
Um.
1. how do i RUU and what does it stand for?
2. yes. i see the recovery and boot files within my fastboot folder on my c drive. the recovery is TWRP, what is the boot file?
3. can anyone show some screenshots of the actual code typing. like show me command prompt with the codes typed it and ran?
4. if anyone can, make a video walk through of the basics, not necessarily rooting, but simply so i could see the darn stuff in action?
5. should i relock the bootloader after s-off? what happens if i do/do not relock?
THANKS SO MUCH GUYS
this is not only a help to me, but a help to anyone else who buys this device. thanks alot, i am now piecing together the pieces and see a vague picture!
I'll reset my device later and reroot it and try to screen shot the process.
russian392 said:
wow thanks man.
Um.
1. how do i RUU and what does it stand for? (It restores your phone to stock.)
2. yes. i see the recovery and boot files within my fastboot folder on my c drive. the recovery is TWRP, what is the boot file? (Don't worry about the boot file, I prepared everything already.)
3. can anyone show some screenshots of the actual code typing. like show me command prompt with the codes typed it and ran?
4. if anyone can, make a video walk through of the basics, not necessarily rooting, but simply so i could see the darn stuff in action?
5. should i relock the bootloader after s-off? what happens if i do/do not relock? (No don't relock your bootloader, nothing will happen if you do but it's just a waste of time just leave it unlocked lol.)
THANKS SO MUCH GUYS
this is not only a help to me, but a help to anyone else who buys this device. thanks alot, i am now piecing together the pieces and see a vague picture!
Click to expand...
Click to collapse
Here I made a pic collage, if you still don't understand I can't help you lol. The process is way too simple.
https://dl-web.dropbox.com/get/root.png?w=AABSeC4zKARtvN1n-dOpFNUdwULfuq5Jc9pNX1-fLbe95A
And here's the link for the ruu program.
http://www.androidruu.com/?developer=Myst
At the end after you click recovery your device will reboot just enter hboot mode again but holder the power button and volume down rocker and go back to recovery.
http://www.hasoon2000.info/?developer=First
That's a tool kit for the first put it on the root of c:/ drive
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Alright I think I got this down.
This really isn't simple, on my lg, I plugged it up to PC, hit a button, rooted. Downloaded cwm app, hit install recovery, done.
Sent from my LG-P506 using xda app-developers app
Thanks for the guide in this thread.. I am trying to root my First as well but, and I have the Unlock_code.bin file. I am trying to push that back to the device, but the process seems to freeze when I do the "fastboot flash unlocktoken Unlock_code.bin" I have let it sit there for several minutes. Any ideas? I am on a fresh install of Win7.
Thanks again for this guide.
atstein said:
Thanks for the guide in this thread.. I am trying to root my First as well but, and I have the Unlock_code.bin file. I am trying to push that back to the device, but the process seems to freeze when I do the "fastboot flash unlocktoken Unlock_code.bin" I have let it sit there for several minutes. Any ideas? I am on a fresh install of Win7.
Thanks again for this guide.
Click to expand...
Click to collapse
I don't think its a windows problem. Is android debug on? Is your phone found by the android SDK ddms? Did you install HTC drivers?
Sent from my LG-P506 using xda app-developers app

[GUIDE] How to Unlock, install Recovery, and get Rooted

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
YOU NEED TO KNOW
IF YOU'RE 32BIT OR 64BIT
( How to find out if your device is 32bit or 64bit )
( Briefly: US = 32bit, EU/AUS = 64bit )
BEFORE CONTINUING, MAKE BACKUPS OF
ANYTHING ON YOUR DEVICE THAT YOU WISH TO KEEP!
ALL COMMANDS ARE IMPORTANT AND NEED TO BE FOLLOWED STRENUOUSLY!
BY FOLLOWING THIS GUIDE YOU ARE VOIDING YOUR WARRANTY
AND I DO NOT ASSUME ANY RESPONSIBILITY IF YOUR PHONE BLOWS UP
BACKUP YOUR STUFF!!!
MAKE A BACKUP OF STOCK WITH RECOVERY ASAP!!!!
For a GUI based method, try WinDroid
Please give Thanks to these people
for making this process possible:
@beaups, @Dees_Troy, @jmz,
@wolfaas12345, @CurbThePain,
@rbheromax, and @greeneyes2910​
Prerequisites
ADB & Fastboot (Also, add ADB to PATH)
HTC Drivers
An account with HTCdev (if you're not registered, you can do that here)
Enable Developer Options
If 32bit - TWRP image
If 32bit - SuperSU binary
If 64bit - PhilzTouch_Recovery image (You'll need to extract the recovery.img from the .zip)
If 64bit - @rbheromax's 64bit Rooted Kernel
Let's get to work.Unlocking the bootloader (This process is the same for 32bit and 64bit devices)
Power down the device
Hold the down volume and power buttons at the same time. This will boot you into hboot
Using the volume rocker select FASTBOOT and press the power button
Connect the device to your computer
Open cmd and ensure that your device is recognized by typing: fastboot devices
You should get something similar to the following: FA4AJxxxxxxx fastboot
Now type, fastboot oem get_identifier_token , this is your token you'll need for HTCdev
Minimize cmd and go to: htcdev.com/bootloader/ and select the HTC Desire from the dropdown
Skip to Step 5 and in cmd right click and select Mark, select the token starting at the top <<<< and ending at the bottom >>>>> (everything in the red square, see image), paste this into the textbox at the bottom of the page and submit
Go to the email address you used to register with HTCdev and there will be an email with an attachment named Unlock_code.bin, download the attachment
In cmd, cd to the folder you've downloaded Unlock_code.bin to
Now type, fastboot flash unlocktoken Unlock_code.bin
As I said above, this will erase everything on your phone (pictures, sms, videos, apps, etc) and restore it to stock, so I hope you made backups
Your device will now have a screen that asks if you want to unlock the bootloader, use the volume rocker to select and the power button to enter
Once it's done your phone will reboot, power back down (or remove the battery and reinsert) and boot to hboot, your device should now say **** UNLOCKED **** at the top
STOP!
LET'S BE CAUTIOUS AND MAKE A BACKUP OF STOCK BEFORE WE DO ANYTHING ELSE!​​
If your device is connected, disconnect it
Power down the device
Hold the down volume and power buttons at the same time to boot into hboot
Using the volume rocker select FASTBOOT and press the power button
Connect the device to your computer
If you closed cmd, reopen it and cd to the folder that you downloaded openrecovery-twrp-2.8.5.0-a11.img or extracted recovery.img to
32bit - Now type: fastboot boot openrecovery-twrp-2.8.5.0-a11.img
64bit - Now type: fastboot boot recovery.img
Tap Backup
Change the name of the backup to something like "Pure Stock"
Swipe to Back Up
Installing TWRP/PhilzTouch
If your device is connected, disconnect it
Power down the device (if you're still in TWRP from making a backup, back out to the main menu and tap Reboot, then tap Power Off)
Hold the down volume and power buttons at the same time to boot into hboot
Using the volume rocker select FASTBOOT and press the power button
Connect the device to your computer
If you closed cmd, reopen it and cd to the folder that you downloaded openrecovery-twrp-2.8.5.0-a11.img or extracted recovery.img to
32bit - Now type: fastboot flash recovery openrecovery-twrp-2.8.5.0-a11.img
64bit - Now type: fastboot flash recovery recovery.img
Let it do it's thing and now you have TWRP or PhilzTouch installed on your device
Getting Rooted (32bit)
Power down your device if it is booted (or by taking the battery out and reinserting it)
Hold the down volume and power buttons at the same time to boot into hboot
Using the volume rocker select RECOVERY and press the power button
This will boot you into TWRP
Open cmd and cd to the folder that you downloaded UPDATE-SuperSU-v2.40.zip
Now type: adb push UPDATE-SuperSU-v2.40.zip /sdcard/UPDATE-SuperSU-v2.40.zip
In TWRP tap install and in the file browser tap sdcard and then tap UPDATE-SuperSU-v2.40.zip
Flash UPDATE-SuperSU-v2.40.zip
Getting Rooted (64bit)
Power down your device if it is booted (or by taking the battery out and reinserting it)
Hold the down volume and power buttons at the same time to boot into hboot
Using the volume rocker select FASTBOOT and press the power button
Open cmd and cd to the folder that you downloaded HTC-Desire-510-64-Bit-Root.img
Type: fastboot flash boot HTC-Desire-510-64-Bit-Root.img
Then: fastboot reboot
Congrats, we're done!
So... what do I do now?
Check out the stuff going on over in the development sections of course!
Android Development - Original Android Development​
​
Great guide. That process worked for me, except SuperSU 2.16 is an old version and when the Play Store updated the front end I had a hard time updating the binaries. Maybe update the link to the newest 2.40 SuperSU or is there a reason I should use the old one?
Plus for anyone who is cautious (I believe there are different versions of the hardware) they can use the command "fastboot boot openrecovery-twrp-2.8.1.0-a11.img" to test and boot to the TWRP. If anyone doesn't want to change their recovery because they don't have a backup yet, then from the booted recovery. Backup the system to and SD and then install the SuperSU zip and it will be rooted. Then use flashify to backup the original recovery and kernels.
protectivedad said:
Great guide. That process worked for me, except SuperSU 2.16 is an old version and when the Play Store updated the front end I had a hard time updating the binaries. Maybe update the link to the newest 2.40 SuperSU or is there a reason I should use the old one?
Plus for anyone who is cautious (I believe there are different versions of the hardware) they can use the command "fastboot boot openrecovery-twrp-2.8.1.0-a11.img" to test and boot to the TWRP. If anyone doesn't want to change their recovery because they don't have a backup yet, then from the booted recovery. Backup the system to and SD and then install the SuperSU zip and it will be rooted. Then use flashify to backup the original recovery and kernels.
Click to expand...
Click to collapse
Thanks, I've updated the links so it's 2.40.
Does this also give you S-off?
Burtrum57 said:
Does this also give you S-off?
Click to expand...
Click to collapse
No, but flashing a kernel with write protection removed will allow you to manipulate system files, so you can remove bloatware and customize your device.
Sent from my HTC Desire 510
I guess you do this via fastboot?
You can flash and back up boot.img's via a free app from the Play Store called Flashify
Sent from my HTC Desire 510
Boost Mobile Desire 510
I have the Boost Mobile variant of the Desire 510, model number OPCV1. Before I follow through with this I am wondering if I have the 32 bit or 64 bit processor? I cannot seem to find a straight answer online anywhere. I have seen some apps that you can download and run to find the info but I do not have enough space to download them with all this crap that comes preloaded, hence my reason for wanting root. Any help is appreciated and thanks in advance!
jdelong90 said:
I have the Boost Mobile variant of the Desire 510, model number OPCV1. Before I follow through with this I am wondering if I have the 32 bit or 64 bit processor? I cannot seem to find a straight answer online anywhere. I have seen some apps that you can download and run to find the info but I do not have enough space to download them with all this crap that comes preloaded, hence my reason for wanting root. Any help is appreciated and thanks in advance!
Click to expand...
Click to collapse
Boost only sells the 32-bit variant.
hi
thanks for this topic
I have one HTC desire 510 can't turn it ON is stoping in HTC logo
I can get the Bootloader menu
could you help me to flash it please
thanks
So my htc desire 510 for virgin mobile has a 64-bit processor?
iversonwings said:
So my htc desire 510 for virgin mobile has a 64-bit processor?
Click to expand...
Click to collapse
Use this app to find out your processor: https://play.google.com/store/apps/details?id=com.cpuid.cpu_z&hl=en
And this will help you determine: http://forum.xda-developers.com/showpost.php?p=57900390&postcount=12
What a guy
Dude
you are the man,,!!
After my GF and I kinda got swindled into this phone by believing
in my long time friend HTC and Boost ,, I thought we were stuck with a dud
but thanks to you explaining in detail that boost only sells 32 bit versions etc and your simple to follow directions I AM ROOTED AND SO IS SHE now I think I can make this phone work thx
JD:highfive:
kidputer said:
Dude
you are the man,,!!
After my GF and I kinda got swindled into this phone by believing
in my long time friend HTC and Boost ,, I thought we were stuck with a dud
but thanks to you explaining in detail that boost only sells 32 bit versions etc and your simple to follow directions I AM ROOTED AND SO IS SHE now I think I can make this phone work thx
JD:highfive:
Click to expand...
Click to collapse
No problem. Thanks for the thanks. You should also go and thank these people if you've got the time:
dipspit said:
Please give Thanks to these people
for making this process possible:
@beaups, @Dees_Troy, @jmz,
@wolfaas12345, and @CurbThePain​
Click to expand...
Click to collapse
how to sim-unlock
my sprint HTC desire 510's bootloader is unlocked, TWRP is installed, and rooted.
how can i use it in CHINA with CDMA?
when i put i sim card in,it display unkown card
tianchaodiaosi said:
my sprint HTC desire 510's bootloader is unlocked, TWRP is installed, and rooted.
how can i use it in CHINA with CDMA?
when i put i sim card in,it display unkown card
Click to expand...
Click to collapse
Use the search function. We don't have a sim unlock developed yet. Try searching around in the other HTC forums for a CDMA unlock yourself or wait until someone confirms a method.
Recovery
Hi, first of all thanks for your tutorial !
I did all of the instruction but after installing custom recovery, it's impossible to get into it.
When i choose recovery, it reboot on normal mod.
What can i do to flash su binary ?
Thanks again !
Edit: After long research i finally understood there are 2 kind of 510... 32 & 64bits & i have this last one so i probably can't access to my recovery beacause of that... A bit disappointed, i had only 4gb free space right now on my phone & can't use an apps to link my sd.
I just successfully rooted my Virgin Mobile (VM) HTC desire 510 with this guide, thanks so much! I verified this with root checker basic. I came upon some hiccups, but that was because I had to follow every single step. I'm hoping the bloatware won't come back, I'll keep you guys updated. Is there a list of safe bloatware that I can remove?
iversonwings said:
I just successfully rooted my Virgin Mobile (VM) HTC desire 510 with this guide, thanks so much! I verified this with root checker basic. I came upon some hiccups, but that was because I had to follow every single step. I'm hoping the bloatware won't come back, I'll keep you guys updated. Is there a list of safe bloatware that I can remove?
Click to expand...
Click to collapse
In my opinion all carrier bloatware on the phone you can just remove. Same with most of the Google apps and most of the HTC apps. There's this thread.
when i try to run fastboot,keep getting message adbwinapi.dll is missing from computer! can anyone help with problem?

motorola nexus 6 cant unlock boot loader please help

hello guys
i have moto nexus 6 xt1100 int i think its 6.0
i cant unlock boot loader i tried with SkipSoft ToolKit and with nexus root toolkit and with fastboot but not work
any help
thanx
:silly:
Questions that say effectively "I have a problem" but don't say what exactly you've done to resolve it have no chance of being answered.
Start with fastboot. What did you do?
dahawthorne said:
Questions that say effectively "I have a problem" but don't say what exactly you've done to resolve it have no chance of being answered.
Start with fastboot. What did you do?
Click to expand...
Click to collapse
hello sir
thanx to replay
i do
fastboot oem unlock
C:\Users\pc\Desktop\platform-tools>fastboot flashing unlock
...
FAILED (remote: Unknown command)
finished. total time: 0.002s
C:\Users\pc\Desktop\platform-tools>fastboot oem unlock
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.006s
C:\Users\pc\Desktop\platform-tools>
The answer is in the output. You must go into Settings > Developer Options and select "Enable OEM Unlock" before you can unlock the bootloader.
i cant go to setting to open oem lock becuase pbone after upgrade ota 60 now cant open still hung google nexus screen plz hlp plz
any one help me plz
Can't you get into twrp and do a restore of made backup? Then after booting go to Developer Options and select "Enable OEM Unlock" then unlock the bootloader and leave it unlocked and leave the OEM Unlock setting in Developer options enabled.
TMG1961 said:
Can't you get into twrp and do a restore of made backup? Then after booting go to Developer Options and select "Enable OEM Unlock" then unlock the bootloader and leave it unlocked and leave the OEM Unlock setting in Developer options enabled.
Click to expand...
Click to collapse
im sorry to late phone is locked plz be fix and not open just google screen not work even after wip frm recvry
Do you have TWRP installed? If so, move a custom rom zip to the phone and flash it in TWRP. After that you can boot the phone and enable OEM unlock and proceed to unlock your phone (and then flash stock or whatever you would like to use). Your phone will be wiped (no way to save your data anyway, unless you have a previous backup), but it'll work.
If you only have stock recovery, you are out of luck and have a nice new desk ornament.
Didgeridoohan said:
Do you have TWRP installed? If so, move a custom rom zip to the phone and flash it in TWRP. After that you can boot the phone and enable OEM unlock and proceed to unlock your phone (and then flash stock or whatever you would like to use). Your phone will be wiped (no way to save your data anyway, unless you have a previous backup), but it'll work.
If you only have stock recovery, you are out of luck and have a nice new desk ornament.
Click to expand...
Click to collapse
No, if he's on stock he can sideloade the N preview one OTA through ADB in stock recovery. Doesn't need fastboot for the OTA zip. The links somewhere here. After that he can enroll in the N preview program and then select the option to either unenroll or roll back I can't remember what it is. It will then push an OTA for the latest 6.0.1.
Harry44 said:
No, if he's on stock he can sideloade the N preview one OTA through ADB in stock recovery. Doesn't need fastboot for the OTA zip. The links somewhere here. After that he can enroll in the N preview program and then select the option to either unenroll or roll back I can't remember what it is. It will then push an OTA for the latest 6.0.1.
Click to expand...
Click to collapse
True... Didn't think of that. That's a good workaround until N is released.
Harry44 said:
No, if he's on stock he can sideloade the N preview one OTA through ADB in stock recovery. Doesn't need fastboot for the OTA zip. The links somewhere here. After that he can enroll in the N preview program and then select the option to either unenroll or roll back I can't remember what it is. It will then push an OTA for the latest 6.0.1.
Click to expand...
Click to collapse
hello sir
again so sorry to late and thanx to replay
i think no bady undrstand my prob my brop is after update ota 60 phone was like photo under long time all day just like this photo oky i do wip data factory reset from recovery not work
and i tried to flash other fimrware from all toolkit nexus but need unlock boot but cant unlock
please can u help me
im here wating every bady
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
please brothers help me
------------------------------------------------------------------------------------
Follow the Instructions on the devices screen to Unlock your BootLoader.
Enable the developer options screen by going to the settings, about screen and
clicking on build number at the bottom 7 times. Then go to developer options and
tick USB debugging so the procedure to continue.
If you get stuck on 'Waiting for USB debugging to be enabled' and have already
enabled USB debugging then just unplug/replug the usb cable and it should proceed.
IF NOTHING HAPPENS TRY PULLING DOWN THE NOTIFICATION SCREEN AT THE TOP LEFT WITH
THE DEVICE CONNECTED, THEN CLICK ON 'CONNECTED AS' AND CHANGE TO PTP MODE.
On Android 4.2 or later when you replug the usb cable after enabling usb debugging
for the first time you will get a popup asking you to authenticate your pc.
Tick 'Always allow' then click 'ok' and everything should carry on as normal.
LASTLY BEFORE STARTING, LOOK IN DEVELOPER OPTIONS IF YOU NEED TO CHECK THE
'ENABLE/ALLOW OEM UNLOCKING' OPTION TO ALLOW THE DEVICE TO BE BOOTLOADER UNLOCKED.
------------------------------------------------------------------------------------
Are you ready to start? Type y[yes] or n[no]:y
Device detected in FASTBOOT MODE
Device Serial Number is: ZX1G4244LL
When prompted, Press the 'Volume up' button to highlight Yes on the screen, then
press the 'Power' button to select it and Unlock your Bootloader. If you are
already unlocked then this will just be skipped and your device will not be wiped.
ERROR: The device cannot be bootloader unlocked in its present state
You need to enable OEM Unlock in developer options in Developer options..
Once the device has rebooted to Android do this and the Unlock routine should work
any help
Ok... You need to stop trying to unlock your bootloader. You can't.
You have a couple of options:
1 - If you have TWRP recovery installed, flash a custom rom and you'll be good to go.
2 - If you do not have a custom recovery, try flashing the N OTA from here: http://developer.android.com/preview/download-ota.html. After that, go here https://www.google.com/android/beta and enroll and then unenroll your device. Soon after (up to a day, probably) you'll get an OTA for Marshmallow.
You might want to unlock your bootloader while you're in the N preview, so you won't have to go through this again...
Edit: Reading your post again I realised you probably don't have TWRP installed, since you wouldn't have gotten that far with an OTA in that case.
C:\android>adb sideload <ota-package>
The syntax of the command is incorrect.
C:\android>
thanx to replay
but not work with me cannot read update zip:crying:
I'm assuming you know the basics here, so I'm not going to go into much detail.
Before starting, make sure you have the ADB drivers installed and have ADB in a directory on the PC.
Rename the OTA file to something simple, e.g. n6ota.zip.
Go here and follow the steps, including the Option 2 instructions here to factory reset the device.
After the factory reset, enter recovery once again and make sure the recovery is set to adb sideload mode. If you don't have it set to this mode the OTA will not install.
Open a command prompt in the directory where ADB is located and type "adb sideload [filename.zip]", replacing filename.zip with the name of the OTA file. For example, using the name I gave above for the OTA file, the command would be "adb sideload n6ota.zip".
Strephon Alkhalikoi said:
I'm assuming you know the basics here, so I'm not going to go into much detail.
Before starting, make sure you have the ADB drivers installed and have ADB in a directory on the PC.
Rename the OTA file to something simple, e.g. n6ota.zip.
Go here and follow the steps, including the Option 2 instructions here to factory reset the device.
After the factory reset, enter recovery once again and make sure the recovery is set to adb sideload mode. If you don't have it set to this mode the OTA will not install.
Open a command prompt in the directory where ADB is located and type "adb sideload [filename.zip]", replacing filename.zip with the name of the OTA file. For example, using the name I gave above for the OTA file, the command would be "adb sideload n6ota.zip".
Click to expand...
Click to collapse
apply update from ADB
not work

Huawei Honor Note 8 - Unlock Bootloader, TWRP, Xposed Framework

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is my first walkthrough so I will do my best to do this properly. The Honor Note 8 does not have a forum yet, and this is the third thread for this phone. Hopefully we can get a forum up soon.
PLEASE NOTE THAT UNLOCKING BOOTLOADER WILL WIPE YOUR DEVICE AND POSSIBLY VOID YOUR WARRENTY!!!
I'M NOT RESPONSIBLE IF SOMETHING DOESN'T WORK.
Unlock Bootloader
Follow the steps here to begin the Bootloader Unlock process:
https://www.dc-unlocker.com/how-to-read-huawei-bootloader-unlock-code
1. a) Install the application
1. b) Follow the steps on the above page to put phone into "Manufacture Mode"
1. c) Under "Select Manufacturer", choose "Huawei Phones" and under "Select Model", choose the model of your phone
1. d) Click on "Buy Credits". You should end up being emailed a username and password, return to the Unlocker Client, and input those two
1. e) The Unlocker Client should return the bootloader unlock code
2. a) Enable Developer Options by clicking on the build number multiple times
2. b) Turn on USB Debugging
3. Prepare TWRP custom recovery before preceeding further. You can get it from here: https://drive.google.com/open?id=0B4xzs81XsmURVTRnUDJHdl9CQlE
3. Prepare and install ADB and Fastboot tools. I used this one http://forum.xda-developers.com/showthread.php?t=2588979
4. Go into the folder with your recovery and open a CMD (if you used system-wide ADB as linked above, otherwise place recovery in your ADB folder)
5. Put the phone into Bootloader mode with:
Code:
adb reboot bootloader
. This will take you to the bootloader mode (white screen with some small text)
6. Now type:
Code:
fastboot oem unlock <UNLOCK_CODE>
where
Code:
<UNLOCK_CODE>
is the bootloader code that the Unlocker Client gave you
Loading TWRP Custom Recovery
7. Your phone may reboot when the process is complete. We want to go back into Bootloader mode, so follow Step 5 again to go back to bootloader mode
8. Now type:
Code:
fastboot flash recovery <NAME_OF_YOUR_RECOVERY.img>
The recovery will flash over to your device. We want to reboot into the recovery mode.
9. Now type:
Code:
fastboot reboot
but just before you hit ENTER on that command, start holding VOLup and VOLdown at the same time (as explained below)
This phone has two recoveries on it, which is great since it makes it really hard to brick. In order to access custom recovery, you need to hold down both VOL buttons during boot process (from the very beginning) in order to access the custom recovery.
Once you have entered TWRP, you will most likely notice that it is in CHINESE. If you don't read chinese, follow the steps below to change to English UI in TWRP:
Change to English UI in TWRP
10. TWRP has two columns of 4 buttons, 8 buttons total. I have labeled the buttons as per their position as below:
1 2
3 4
5 6
7 8
11. Click button 6 to go to the Settings, then click on the "Globe" icon, then switch to english and click the button in the bottom right corner.
BACKUP!!
12. I highly recommend you now do a TWRP backup and place the backup on an External SD card (not the internal memory). This will save your ass if you mess anything up or it doesn't work for you. Do a full backup (select ALL of the options).
Installing Xposed
Grab the Installer APK here: http://forum.xda-developers.com/showthread.php?t=3034811
and the Framework zip here: http://dl-xda.xposed.info/framework/sdk23/arm64/
Put both files onto your SD card.
13. Boot into your rom, install the APK file (you may need to enable "unknown sources")
14. Then boot back into TWRP. Do this by restarting the phone, and just as the screen goes black, hold down both VOL buttons until you see text on the screen.
15. Install the framework, wipe cache/dalvik and reboot the phone
ROMs
There are several roms, all of which can be found here: http://forum.xda-developers.com/general/general/huawei-honor-note-8-roms-t3487575
I will try to update this post with instructions on how to install them once I have the process down properly.
Thanks to:
@benmeroff for his posting of all of those ROMs and his work on the original thread.
The link to the xposed installer is dead
jdantow said:
Installing Xposed
Grab the Installer APK here: http://forum.xda-developers.com/show....php?t=3034811
Click to expand...
Click to collapse
Just another small reminder this Xposed apk link is broken. Could I just download any Xposed apk or was this link for a specific version for the Note 8?
Thanks
remix435 said:
The link to the xposed installer is dead
Click to expand...
Click to collapse
Thank you! I updated the link, can you confirm it is working now from your end? Thanks so much!
The thread ID is 3034811 so if you take
Code:
http://forum.xda-developers.com/showthread.php
and add
Code:
?t=3034811
it should work for you
jlomein said:
Just another small reminder this Xposed apk link is broken. Could I just download any Xposed apk or was this link for a specific version for the Note 8?
Thanks
Click to expand...
Click to collapse
Thank you! I updated the link, can you confirm it is working now from your end? Thanks so much!
The thread ID is 3034811 so if you take
Code:
http://forum.xda-developers.com/showthread.php
and add
Code:
?t=3034811
it should work for you
Hopefully either a camera port or a camera hack can come about from developing. Anybody know about possible camera hack thats the only thing (IMO) this phone needs
jdantow said:
Thank you! I updated the link, can you confirm it is working now from your end? Thanks so much!
Click to expand...
Click to collapse
Thanks, downloaded Xposed 3.1.1 apk from that link now.
Cheers
hi
after i flashed trwp and did back up i stuck in bootloop
tried to flash kingvip rom - no luck. tried to recover from back up but stil in boot loop.
can anyone help me, please
Anyone happen to have the img for the modem? I believe mine may be corrupted.
hi i will my boodloader unlock my Note 8. The phone will not unlock. I have the ulock key. I hvae the Build Nummber B027.
Hi guys, a question...
The is no way I can install this drivers that are required... if I click the setup icons nothing happens at all, and if i try manually all i get is 4x "Android device" in the device manager, and locating drivers in the designated folders does not help, it still says "windows did not find the driver for your device...."
Anyone maybe had a similar problem/solution?
Thanksss
Bubreg said:
Hi guys, a question...
The is no way I can install this drivers that are required... if I click the setup icons nothing happens at all, and if i try manually all i get is 4x "Android device" in the device manager, and locating drivers in the designated folders does not help, it still says "windows did not find the driver for your device...."
Anyone maybe had a similar problem/solution?
Thanksss
Click to expand...
Click to collapse
Just google huawei drivers.... I had the same question but when i installed HiSuite the drivers was inside - it work fine, but it will always pop up when you connecting phone...
falc1 said:
Just google huawei drivers.... I had the same question but when i installed HiSuite the drivers was inside - it work fine, but it will always pop up when you connecting phone...
Click to expand...
Click to collapse
Thank you man, worked like a charm! I got the bootloader code... but since it's gonna wipe everything if I unlock it, I'm gonna wait until the next weekend most probably, too busy these days.
Hi guys,
i was able to unlock the bootloader but i can't flash the recovery and every time i try it display "remote: command not allowed".
Good morning.
I hope for Christmas to be a holder of Honor Note 8.
To unlock the bootloader you need to pay 4 euro through dc-unlocker.com program?
Thank you
m3sari0 said:
Hi guys,
i was able to unlock the bootloader but i can't flash the recovery and every time i try it display "remote: command not allowed".
Click to expand...
Click to collapse
Same thing happend to me
I relocked the bootloader then unlock it again and it works
player1990 said:
Same thing happend to me
I relocked the bootloader then unlock it again and it works
Click to expand...
Click to collapse
thanks man it worked.
TWRP - changing language
OP - thank you for this thread. Was able to follow the steps and get most of the things accomplished.
One thing that i am having trouble with is - changing the TWRP language from Chinese to English. In button #6, the globe icon is not even clickable. All others are, but that one is not. Any ideas? Thanks!
EDIT: I got it to work. It seems some icons in the corners of the screen can be a little hard or slow to respond... if you (a future reader) are having the same issue - try kind of mini swiping in circles over that icon and it will eventually respond.
Hi,
I requested the unlock code on the Huawei site but I get this error:
The Huawei ID used to apply for the unlock code has not been used on the device for more than 14 days.
How can I do?
Some might apply to me
MarkAndroid said:
Hi,
I requested the unlock code on the Huawei site but I get this error:
The Huawei ID used to apply for the unlock code has not been used on the device for more than 14 days.
How can I do?
Some might apply to me
Click to expand...
Click to collapse
You have to wait 14 days or pay for the credits on DC-unlocker app

Categories

Resources