[Q&A] TWRP for A11_CHL and A11_UL 32-bit only - HTC Desire 510

Q&A for TWRP for A11_CHL and A11_UL 32-bit only
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for TWRP for A11_CHL and A11_UL 32-bit only. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!

I think I have ROOT now, installed Su via Recovery. Awesome, thanks!:laugh:

I Can't Seem To Download The Recovery
I can't seem to download the recovery. can anyone help me with that? all im getting is the androidfiles logo.

I think i may have messed up here. I was in that crowd that got there recovery messed up with the 816 recovery. So my bootloader got relocked (before the custom recovery today) actually its been relocked for a while with tampered above it. Does that mean I'm screwed for getting TWRP on this thing. It still boots (thankfully) but it when I try to flash it says "remote signature verify fail". I'm guessing thats because its relocked. What do I do if there is anything i can do. I'm also doing this on a mac.

Reflash your UNLOCK_BIN.
Then Reboot phone.
Then flash custom recovery IMG
Then let Custom recovery install SU or have an SU.ZIP on your SD card to install.
Then install busybox, again best from a zip done inside recovery.
Need files posted let me know..
---------- Post added at 07:12 AM ---------- Previous post was at 06:54 AM ----------
Files for 510_Desire:
h**ps://***.mediafire.com/?mhjc61kyba1kmcz
Hope that helps..

Doesn't part of the unlock process require the stock recovery?

Unlocking phone only requires access to FASTBOOT, if you haven't damaged that, then you should be OK. Try flashing your unlock_code.bin again and see what happens.. heck you already flashed a recovery that wasn't for this device, so why be scared now
Put HTC Desire 510 into FASTBOOT mode:
Hold POWER + VOL Down to boot into HBOOT
Use VOL button to move to FASTBOOT and PRESS Power to select.
On your computer:
Open a command prompt (CMD.EXE), navigate to your FASTBOOT folder, with TWRP_2.8.1.0_A11.IMG (RENAMED to recovery.img) in the same directory-- connect your phone via USB, and type the following:
fastboot flash recovery recovery.img
Once it's flashed I can confirm you get SU installed, and can get busybox installed. Apps2SD works as well, so far. When I used HTC's Unlocker bin file, it demolished my stock recovery. It would not boot into recovery for anything. And this flashed flawlessly.

mixelpixx said:
Unlocking phone only requires access to FASTBOOT, if you haven't damaged that, then you should be OK. Try flashing your unlock_code.bin again and see what happens.. heck you already flashed a recovery that wasn't for this device, so why be scared now
Put HTC Desire 510 into FASTBOOT mode:
Hold POWER + VOL Down to boot into HBOOT
Use VOL button to move to FASTBOOT and PRESS Power to select.
On your computer:
Open a command prompt (CMD.EXE), navigate to your FASTBOOT folder, with TWRP_2.8.1.0_A11.IMG (RENAMED to recovery.img) in the same directory-- connect your phone via USB, and type the following:
fastboot flash recovery recovery.img
Once it's flashed I can confirm you get SU installed, and can get busybox installed. Apps2SD works as well, so far. When I used HTC's Unlocker bin file, it demolished my stock recovery. It would not boot into recovery for anything. And this flashed flawlessly.
Click to expand...
Click to collapse
Not working. when i get to the unlock token screen in fastboot it wants to enter recovery. That's what makes me think it needs stock recovery to wipe the device to unlock it. That's where it freezes. It says "Entering Recovery... and at the bottom it say this build is for development purposes only" overlaying the fastboot unlock screen. if i press a button the screen gets all static. and Restarts in fastboot still locked. if i restart it without it plugged in, it boots up normally.

Did you try using the original unlock_code.bin they sent you? You shouldn't need a new token and go through all of that... I believe FASTBOOT is a separate entity from recovery, so it's function shouldn't be affected.

mixelpixx said:
Did you try using the original unlock_code.bin they sent you? You shouldn't need a new token and go through all of that... I believe FASTBOOT is a separate entity from recovery, so it's function shouldn't be affected.
Click to expand...
Click to collapse
1. My bootloader got relocked while having the 816 recovery from the how to that used to be in the 510 forum.
{
"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"
}
2. I put in the command like I did before, I still had the unlock file from HTCDev
3. After selecting yes and confirming I get this screen. and its froze there.
4. If i hit the power button on that screen it just vibrates, if i hit a volume key, i get static and then it reboots normally and its still locked.

mixelpixx said:
Unlocking phone only requires access to FASTBOOT, if you haven't damaged that, then you should be OK. Try flashing your unlock_code.bin again and see what happens.. heck you already flashed a recovery that wasn't for this device, so why be scared now
Put HTC Desire 510 into FASTBOOT mode:
Hold POWER + VOL Down to boot into HBOOT
Use VOL button to move to FASTBOOT and PRESS Power to select.
On your computer:
Open a command prompt (CMD.EXE), navigate to your FASTBOOT folder, with TWRP_2.8.1.0_A11.IMG (RENAMED to recovery.img) in the same directory-- connect your phone via USB, and type the following:
fastboot flash recovery recovery.img
Once it's flashed I can confirm you get SU installed, and can get busybox installed. Apps2SD works as well, so far. When I used HTC's Unlocker bin file, it demolished my stock recovery. It would not boot into recovery for anything. And this flashed flawlessly.
Click to expand...
Click to collapse
when you change the recovery.img , try dragging the recovery.img to cmd.exe. so it would go like this, fastboot flash recovery ( drag the recovery img. you just made) and you are good to go. dont forget to check your work when you are done pushing the recovery.

smiley45 said:
when you change the recovery.img , try dragging the recovery.img to cmd.exe. so it would go like this, fastboot flash recovery ( drag the recovery img. you just made) and you are good to go. dont forget to check your work when you are done pushing the recovery.
Click to expand...
Click to collapse
Thanks for the suggestion guys but its not going to work for me. I can't even get my bootloader unlocked. This has been the most frustrating, P.O.S. letdown of an Android I have ever purchased. I just want throw this phone.
I spend months waiting for root and recovery for this phone thinking it was 64 bit. I find a write up claiming that the 816 recovery works with the 510. Take it back to best buy when i find out that its not 64 bit. They try to wipe which subsequently relocks it. Now i can't even root when a working root arises.

Tethering ?
Does the kernel and Rom have to be created before I can tether the phone ? I ask this because I know that for my wifes S3 I found a zip to install with recovery that let me tether the phone. It's probably a stupid question to ask but the reason I won't activate my Desire is because we use it for the kids to watch movies and such. I know that her ROM is the original one rooted and with custom recovery but just the zip for tethering it. I'd appreciate any input in this area. Thank you.

Elithefly said:
Does the kernel and Rom have to be created before I can tether the phone ? I ask this because I know that for my wifes S3 I found a zip to install with recovery that let me tether the phone. It's probably a stupid question to ask but the reason I won't activate my Desire is because we use it for the kids to watch movies and such. I know that her ROM is the original one rooted and with custom recovery but just the zip for tethering it. I'd appreciate any input in this area. Thank you.
Click to expand...
Click to collapse
You can tether in Settings > More > Mobile network sharing. No root even required.

dipspit said:
You can tether in Settings > More > Mobile network sharing. No root even required.
Click to expand...
Click to collapse
Yeah, I got that but I don't have that plan with my carrier and don't really have too. My other phone is running Pac 4.4.4 or CROM depending on which one I have installed. That was the kind of situation I was looking for. Built in or a zip I could install .

I can make a zip to unlock tethering natively for cricket users.

Having trouble with the partitioning
Thanks a lot for the recovery image. I've got the phone rooted, and I'm in the process of partitioning my SD card so I can move apps over (this is also my first rodeo).
I used the partitioning tool in the recovery, but regardless of the size I tell it, I get the message saying it won't work because the swap and ext combined size is bigger than the card. It's a 16G card, and I'm setting swap to 0, and I've tried everywhere from 512 to 1024 for the ext size (based on a friend's recommendation).
Am I doing something wrong? I got my 510 from Virgin Mobile in the US.
Thanks for the help!
-jason

It's a bug in twrp. I use mini partitioning tool and stick my sd card in a reader.
Also you need to be s-off for this to work. Your links 2sd or your apps2sd will fail until s-off for this device is found.

any news on recovery for 64bit version?

HTC Desire 510
Anyone know if there is a recovery for 64 bit yet?

Related

stuck at fastboot

Hey i am stuck in fastboot (going for a week now) and i kinda think it's dead i did that full wipe script and now it won't boot into anything i can do bootloader (my bro told me it can be flashed by there but i don't even know also i can't get into hboot due to the camera button being stubborn) so might as well ask here since he's at my cousins house for now and also how can i flash zip files? like the kind that aren't .img? just for details every time i try to flash via fastboot it either says unknown partition or cannot load blah.img maybe it's something i did wrong? i got adb/fastboot setup with the sdk and stuff but that's as far as i can get .
also i can't use adb (should be obvious by now).
can you access recovery mode? holding home+power?
I can try but don't guarantee success in doing so because of something i did in fastboot by mistake in trying to fix it ( ) unless there's a way of re flashing ra's rom or something there's no way i can get recovery to work again.
edit why don't they have those windows to phone flasher just like the hd2's have them that way i would have had it fixed by now .
Probably you should read a bit in this post.
If you are in fastboot, you can do almost everything with your phone.
1.
Code:
fastboot erase system -w
fastboot erase boot
fastboot erase recovery
and your phone is clean.
2.
Code:
fastboot flash recovery <recovery.img>
and you have a working recovery.
3. you can decide how to continue ...
whenever i try to flash it(at last step at the instructions at top), it keeps saying error: cannot load 'Recovery.img' file ,weird , i am using ra's recovery has recovery.img , don't know why it's not letting me flash it
edit even has the original name it won't load
you need to have it in the same directory from where you are calling the fastboot command, i.e.
you are on c:\ -> recovery.img must be located on c:\
otherwise you need to give the full path to your recovery.img, i.e.
Code:
fastboot flash recovery c:\recovery.img
AndDiSa said:
you need to have it in the same directory from where you are calling the fastboot command, i.e.
you are on c:\ -> recovery.img must be located on c:\
otherwise you need to give the full path to your recovery.img, i.e.
Code:
fastboot flash recovery c:\recovery.img
Click to expand...
Click to collapse
Because a button is not good enough here you go
{
"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"
}
for showing me the way also i'v been like this since last week reason i didn't ask in the first place is because i thought it was already answered already and i searched but couldn't find the right answer
but thanks to a guru like you i fixed it .
Edit - testing phone , seems to be doing something at the g1 screen.
Edit 2 - i think it might be ... bricked , hold on.
Edit 3 - got it into recovery lets see from here.
**** it tomorrow i get a new phone anyways time to put this demon to sleep
ok i am not going anywhere can't get lift off .
i have amonra recovery in a zip file if you can flash it via fastboot?
I can try that but if i can get into fast boot (is it the little balltracker thingy and the power button? if so i think my fastboot is broken because it just shows a blue light with no signal of the screen on )
What i have try'ed is that wipe script ohsaka-super-wipe <- and i am trying to get SenseLX v3.1 to run but all my attempts just lead me back to the recovery screen for some weird reason
also don't know if this info will help at all but i got a 16gb sdcard and getting another one soon just hope it's better class
Hold on let me see something
also i flashed my hboot alot of times so maybe it's something with that.
well it's hboot mode but different... hboot is used to flash .img files.. fastboot is the same but diff button to power on and as long as you have fastboot drivers installed you can flash zip files via fastboot, power on device by holding back+power
here's a guide to install adb/fastboot driver on windows vista/7 if thats what you have...
http://forum.xda-developers.com/showthread.php?t=1124916
EDIT: o wait so you do have recovery? you said after trying to install rom it brings you back to recovery?
what radio/spl do you have? you need 2708/2825 & 0013d
here is guide to install radio and spl
http://forum.xda-developers.com/showthread.php?t=1098899
ldrifta said:
well it's hboot mode but different... hboot is used to flash .img files.. fastboot is the same but diff button to power on and as long as you have fastboot drivers installed you can flash zip files via fastboot, power on device by holding back+power
here's a guide to install adb/fastboot driver on windows vista/7 if thats what you have...
http://forum.xda-developers.com/showthread.php?t=1124916
EDIT: o wait so you do have recovery? you said after trying to install rom it brings you back to recovery?
what radio/spl do you have? you need 2708/2825 &1. 0013d
here is guide to install radio and spl
http://forum.xda-developers.com/showthread.php?t=1098899
Click to expand...
Click to collapse
yep i have it, also following guide gonna report back in a few minutes
Edit - i got both hboot0013d-signed.zip and radio-2_22_27_08-signed.zip in my sdcard meaning i might have flashed them already so i don't see why it should be taking me to recovery
edit 2 bad hboot / E:missing bitmap Progress_empty/fill code -1 2x didn't wanna risk the real brick so i didn't install it.
Edit 3 E: - blah blah blah failure at line 3
well its' back to the drawing board for me..
and well fastboot don't work (camera button + power button don't do anything)
Now would'ya look at that it started working to an htc screen doing something alright
it hates me i swear.
lol when you get to the hboot or fastboot screen what does your device say? can you find out what radio and spl you have?
ldrifta said:
lol when you get to the hboot or fastboot screen what does your device say? can you find out what radio and spl you have?
Click to expand...
Click to collapse
Fuucucuc my luck was supposed to get a new phone today
also
NO i can't find out what radio/spl i have i can flash but it will give me a E:/hboot error
well you find out by powering on device in hboot mode, holding camera+power or even try back+power
Dream100 PVT 32b
HSPL.10.95.3000
CPLD - 4
Radio -2.22.28.25
thank you for the info since the camera button was be stubborn
i see i didn't have hboot maybe that's why it's was giving me errors'
----
got it back to default
-----
goddam my luck sucks almost had another one in the hook today (samsung captivate)

[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?

Maybe hard bricked? Android won't start without PW after 3.1.3 update....never set pw

hello all....sooo..I have been attempting to bring my op3 to stock...so, I unrooted, applied the 3.1.3 update and UNCHECKED "OEM Unlocking" in dev options (i think that is where i screwed up) and went to the "all in one tool kit" and clicked on "lock bootloader"...it all went well, but when the phone rebooted, it is saying "To start android, enter password"..but I never even set a password..is there a default password or something I should be entering? also, I have tried to relock bootloader, format the phone..and obviously it is saying that "flashing not allowed" or "oem unlock is not allowed".......what in the world do I do to get this phone working again? Thanks a lot.
oh, also, I can't reboot back into TWRP, which seems obvious since the bootloader is now locked.
I can run fastboot commands of course, but nothing seems to stinking work here!
Device is not showing up when I run "adb devices"
I really appreciate any help! This is frustrating. I should have just kept the "oem unlocking" checked in dev options
update 1: hmm, well got an update....I just kept entering random passwords and it finally said "phone will be wiped after next failed attempt"..I was fine with that, so i typed something in...and the phone rebooted and it booted back up to a screen that says "decryption unsuccessful" the password you entered is correct, but unfortunatley your data is corrupt. To resume using your phone, you need to perform a factory reset...and it has a button at the bottom that says "reset"...so, i hit the "reset" button and the phone reboots and tried to go into recovery and the "one plus" boot logo flashes VERY quickly and then the phone just seems to shut down, screen goes black..I wait a bit and power the phone back on and it goes back to that same "decryption unsuccessful" screen...
I can NOT get into stock recovery (that was replaced with TWRP, anyway) or TWRP.....if i try to fastboot into recovery the phone will reboot and the "one plus logo" will flash very fast and then just go to a blank screen.....
update 2: I got adb to work...gonna play with that and see if I can do anything.
update 3: Here is a link to a video showing what I am talking about when I say the "oneplus logo" just flashes...
Video starts out with me just pushing the power button..then it looks like it is going to boot up..then hits that decryption unsuccessful screen..so, I tap reset, at this point, it will reboot and attempt to go into the recovery partition and wipe data...but, you can see that it just reboots and the one plus logo flashes, screen goes black and eventually the notification LED turns solid white.
so, next in the video..I power the device off and try to manually enter recovery mode (vol- + pwr) and same thing, oneplus logo flashes and blank screen. Anyway, here is the link to the video.
https://goo.gl/photos/EU2ZSkFw1JrdExeQ8
update 4: Level 2 OnePlus Support did NOT fix the issue. He didn't even give me a reason when I asked what the issue was, however, I did see that it failed out when he attempted to use the MSM tool. he escalated to the next level of support.
I wonder it it has the oneplus one bug to where if u relock ur bootloader u can't unlock it, also I don't think u need to relock if u r flash an OTA just unroot and refresh stock recovery (which no one has pulled yetyet, that has been tested), u may want to contact oneplus and see if they will give u that stock OS to fastboot files, also with the pw issues, all u had to do was boot into twrp and goto file manager and delete the pw key, it's somewhere in this forum that shows u how to do it, i think it's in one of the 3 trwp threads
cms062407 said:
hello all....sooo..I have been attempting to bring my op3 to stock...so, I unrooted, applied the 3.1.3 update and UNCHECKED "OEM Unlocking" in dev options (i think that is where i screwed up) and went to the "all in one tool kit" and clicked on "lock bootloader"...it all went well, but when the phone rebooted, it is saying "To start android, enter password"..but I never even set a password..is there a default password or something I should be entering? also, I have tried to relock bootloader, format the phone..and obviously it is saying that "flashing not allowed" or "oem unlock is not allowed".......what in the world do I do to get this phone working again? Thanks a lot.
oh, also, I can't reboot back into TWRP, which seems obvious since the bootloader is now locked.
I can run fastboot commands of course, but nothing seems to stinking work here!
Device is not showing up when I run "adb devices"
I really appreciate any help! This is frustrating. I should have just kept the "oem unlocking" checked in dev options
Click to expand...
Click to collapse
Can you try and install the file via normal, recovery?
Edu616 said:
Can you try and install the file via normal, recovery?
Click to expand...
Click to collapse
hmm, well got an update....I just kept entering random passwords and it finally said "phone will be wiped after next failed attempt"..I was fine with that, so i typed something in...and the phone rebooted and it booted back up to a screen that says "decryption unsuccessful" the password you entered is correct, but unfortunatley your data is corrupt. To resume using your phone, you need to perform a factory reset...and it has a button at the bottom that says "reset"...so, i hit the "reset" button and the phone reboots and tried to go into recovery and the "one plus" boot logo flashes VERY quickly and then the phone just seems to shut down, screen goes black..I wait a bit and power the phone back on and it goes back to that same "decryption unsuccessful" screen...
I can NOT get into stock recovery (that was replaced with TWRP, anyway) or TWRP.....if i try to fastboot into recovery the phone will reboot and the "one plus logo" will flash very fast and then just go to a blank screen.....
Bradl79 said:
I wonder it it has the oneplus one bug to where if u relock ur bootloader u can't unlock it, also I don't think u need to relock if u r flash an OTA just unroot and refresh stock recovery (which no one has pulled yetyet, that has been tested), u may want to contact oneplus and see if they will give u that stock OS to fastboot files, also with the pw issues, all u had to do was boot into twrp and goto file manager and delete the pw key, it's somewhere in this forum that shows u how to do it, i think it's in one of the 3 trwp threads
Click to expand...
Click to collapse
Unfortunately, I can not boot into TWRP to do anything
I am pretty sure the problem is it won't boot into TWRP because the bootloader is now locked, again and I do not have stock recovery of course, since I installed TWRP.
Is there no way that you know of to relock the bootloader without having to actually go into the dev options and select "OEM unlocking"? any sort of command I can run? I can't seem to find any
Thanks, sir.
cms062407 said:
Unfortunately, I can not boot into TWRP to do anything
I am pretty sure the problem is it won't boot into TWRP because the bootloader is now locked, again and I do not have stock recovery of course, since I installed TWRP.
Is there no way that you know of to relock the bootloader without having to actually go into the dev options and select "OEM unlocking"? any sort of command I can run? I can't seem to find any
Thanks, sir.
Click to expand...
Click to collapse
ok since ur recovery partition if f'd, u can be our guinea pig, download this "stock recovery" (download the recovery.emmc.win and rename to recovery.img and flash via fastboot (fastboot flash recovery recovery.img), this was the only stock recovery pulled via twrp, he did it as a twrp backup, can't do any more damage than u have now and let us know if it works so we can have a real stock recovery
if it does work and u get stock recovery u should be able to sideload the Oxygen OS 3.1.3 zip file and install and have a clean install, u may be able to unlockbootloader via dev options and fastboot
MAKE SURE U DOWNLOAD THE 1st FILE, NOT THE SECOND, ITS AN MD5 file and that wont work, the file should be about 64mb for the stock recovery
Bradl79 said:
ok since ur recovery partition if f'd, u can be our guinea pig, download this "stock recovery" (download the recovery.emmc.win and rename to recovery.img and flash via fastboot (fastboot flash recovery recovery.img), this was the only stock recovery pulled via twrp, he did it as a twrp backup, can't do any more damage than u have now and let us know if it works so we can have a real stock recovery
if it does work and u get stock recovery u should be able to sideload the Oxygen OS 3.1.3 zip file and install and have a clean install, u may be able to unlockbootloader via dev options and fastboot
MAKE SURE U DOWNLOAD THE 1st FILE, NOT THE SECOND, ITS AN MD5 file and that wont work, the file should be about 64mb for the stock recovery
Click to expand...
Click to collapse
going to try now! will update in a couple of minutes.
cms062407 said:
going to try now! will update in a couple of minutes.
Click to expand...
Click to collapse
best of luck, i hope it does work out for u
Bradl79 said:
ok since ur recovery partition if f'd, u can be our guinea pig, download this "stock recovery" (download the recovery.emmc.win and rename to recovery.img and flash via fastboot (fastboot flash recovery recovery.img), this was the only stock recovery pulled via twrp, he did it as a twrp backup, can't do any more damage than u have now and let us know if it works so we can have a real stock recovery
if it does work and u get stock recovery u should be able to sideload the Oxygen OS 3.1.3 zip file and install and have a clean install, u may be able to unlockbootloader via dev options and fastboot
MAKE SURE U DOWNLOAD THE 1st FILE, NOT THE SECOND, ITS AN MD5 file and that wont work, the file should be about 64mb for the stock recovery
Click to expand...
Click to collapse
well, didn't work...I feel as if something is up with the encryption of the phone here is a screenshot of what happens when I try to flash the recovery.img....it always says "partition flashing is not allowed" when i try to flash anything.
{
"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"
}
cms062407 said:
well, didn't work...I feel as if something is up with the encryption of the phone here is a screenshot of what happens when I try to flash the recovery.img....it always says "partition flashing is not allowed" when i try to flash anything.
Click to expand...
Click to collapse
what is the error u get when u try to unlock the bootloader via fastboot?
Bradl79 said:
what is the error u get when u try to unlock the bootloader via fastboot?
Click to expand...
Click to collapse
Here is the error...which, I think, is because I unchecked "OEM unlocking" in dev options..
cms062407 said:
Here is the error...which, I think, is because I unchecked "OEM unlocking" in dev options..
Click to expand...
Click to collapse
yeah i think u r right, so u have no recovery or no OS installed, correct, i wonder if someone who is smarter than me on here can show u how to flash OOS manually yet, i can try to pull the partitions and send them to u and see if u can flash via fastboot, it may take me a bit, but i will upload them and have u download 3.1.3 partitions, i don't think u can flash recovery with out BL unlocked but u may be able to other partitions.
Bradl79 said:
yeah i think u r right, so u have no recovery or no OS installed, correct, i wonder if someone who is smarter than me on here can show u how to flash OOS manually yet, i can try to pull the partitions and send them to u and see if u can flash via fastboot, it may take me a bit, but i will upload them and have u download 3.1.3 partitions, i don't think u can flash recovery with out BL unlocked but u may be able to other partitions.
Click to expand...
Click to collapse
sure, it wouldn't hurt to try to manually flash...but I bet we get the same error
cms062407 said:
Here is the error...which, I think, is because I unchecked "OEM unlocking" in dev options..
Click to expand...
Click to collapse
OEM unlock essentially opens up the system partitions to be writeable, so since your system is still locked, it makes sense that you can't flash anything. There are a number of OnePlus/Qualcomm unbricking tutorials that you can lookup, but you'll need the right files and I don't think anyone has made a full unbricking set of partitions with flash instructions for the OnePlus 3. I could be wrong though. I think there could be hope for your phone, just not quite right away.
thank u @tesherx that would make sense on why he can't, i'll still upload them anyway so if anyone needs them for whatever reason.
Bradl79 said:
thank u @tesherx that would make sense on why he can't, i'll still upload them anyway so if anyone needs them for whatever reason.
Click to expand...
Click to collapse
I think those partitions will be part of the final solution, but there has to be flash maps with them as well to correctly identify the sizes,locations, etc. Considering the OnePlus 3's level of developer support so far, I think a complete unbricking tutorial won't be far away.
@cms062407 - sorry that you're going through this, this is a little weird though, oneplus should have given priority to unlock bootloader even when the os doesnt work.. i mean what will people do if their phone soft bricks ? its a dead phone since you cant flash files, enter recovery or factory reset !! this is just stupid of oneplus.. but then again if this was the case anyone would steal a oneplus3 and use it as their own... damn this is messed up.
Thanks. But, there will be a fix, right?
Have you tried to just erase your userdata partition to remove encryption with the command
Code:
fastboot format userdata
Hope you'll get through.
cms062407 said:
Thanks. But, there will be a fix, right?
Click to expand...
Click to collapse
Even if bootloader is locked, there should be some recovery, OnePlus or twrp. Isn't it there?

[Superseded] Crossflash US Unlocked Pie to your Bootloader Unlocked V40

SUPERSEDED: Go Here​
Prerequisites:
V35 Engineering Bootloader flashed to your device (Stock bootloader will NOT work for this)
USB 2.0 (USB 3.x does not work well with ADB or Fastboot)
The V40 Pie Conversion Tool
Be in fastboot mode before attempting this
Patience
ADB and Fastboot DRIVERS. Platform tools are already included in the archive
Windows. The tool is not designed for Linux.
This will NOT sim unlock your phone[/CENTER]
Note: I'm not responsible for any bricks that come about from using this tool. Once you crossflash, there's NO going back unless you have backups of your partitions, or a KDZ specifically for your device. I'm going to say this again, DO NOT use USB 3.x while attempting this. You will run into errors. You won't see anything for a little bit when it gets to flashing system_a and vendor_a because it has to load those images into ram.
Download the tool: Google Drive
1. Download the archive and unzip the tool.
2. Navigate to the folder you unzipped the tool to.
3. Enter the folder and inside the folder you should find "V40PIECONVERSION.cmd". Ignore the one with the "Stock Boot" at the end. All it does is flash the stock boot image instead of the TWRP that is required to do this.
4. Execute the batch file and follow the instructions. When the batch file is done, Pie will be flashed, but it will not boot due to encryption. We're going to disable that.
5. Boot TWRP by performing a master reset. To perform a master reset: Press and hold Vol- and Power. When you see the "V40 ThinQ" logo release the power button and quickly press back down. Keep holding Vol- and Power until you see a factory reset screen. Finally, follow the prompts (yes) and you should be in TWRP.
TWRP Instructions​
Head over to the wipe menu and format data (to remove encryption).
Next, head over to mount and mount vendor. Mount ONLY vendor.
Now, open a command prompt, navigate to the folder where you extracted the tool, and open a command prompt inside the folder (Type "CMD" in File Explorer's Address Bar)
{
"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"
}
Execute the adb command:
Code:
adb pull /vendor/etc/fstab.judypn
Edit the file (fstab.judypn) in your favorite text editor and on the /data mountpoint change "forceencrypt" to "encryptable".
Save and Close the file and push the file back with the command:
Code:
adb push fstab.judypn /vendor/etc
Now that encryption is disabled, you NEED to flash back the ORIGINAL boot image that's included with the tool. In order to do that, we need to get back into fastboot.
To get back into fastboot, we need to: Make sure USB is still plugged into the phone. Press and hold VOL+ (Or vol up). Power off the phone (Via TWRP reboot menu) while still holding vol+. Keep holding VOL+ until you see download mode flash for a brief second and you should be in fastboot. The fastboot you see now isn't the V35 Engineering Bootloader. It's the stock pie bootloader. Wiping the laf_a partition allows access to fastboot on devices that are locked (Nearly all US Carriers).
Finally, run the commands:
Code:
fastboot flash boot_a boot_a.image
and
Code:
fastboot format userdata
You should run into an "encryption unsuccessful" screen. Just hit reset phone. You may have to reboot once or twice to get to the setup screen.
For those of you that want root, here's a patched Magisk boot image: Google Drive
You can flash it by running the command:
Code:
fastboot flash boot_a magisk_patched.img
Make sure you open a command prompt in the directory you downloaded the image in. If you don't have adb and fastboot in your environment path, just place it in the V40PIEConversion folder and flash it from there.
How do you get the v35 bootloader on stock Att ?
Evilmonstertruck said:
How do you get the v35 bootloader on stock Att ?
Click to expand...
Click to collapse
Contact @vbenkovskyy on Telegram. He is an awesome guy. Of course, it isn't free, but his prices are better.
Confirmed working - thanks Xsavi for an excellent guide!
Would this method work on the T-Mobile variant? Is there a fee [anywhere]?
---------- Post added at 04:16 PM ---------- Previous post was at 04:12 PM ----------
Can someone comment on this?
avaie said:
Would this method work on the T-Mobile variant? Is there a fee [anywhere]?
---------- Post added at 04:16 PM ---------- Previous post was at 04:12 PM ----------
Can someone comment on this?
://youtu.be/nSeqIfQeWi4
Click to expand...
Click to collapse
No T-Mobile is not supported
avaie said:
Would this method work on the T-Mobile variant? Is there a fee [anywhere]?
---------- Post added at 04:16 PM ---------- Previous post was at 04:12 PM ----------
Can someone comment on this?
://youtu.be/nSeqIfQeWi4
Click to expand...
Click to collapse
Ainz is right. You'll end up with a brick if anything.
Confirmed working on my att variant. ? Thanks again for the great guide ?
pp342261 said:
Confirmed working on my att variant. Thanks again for the great guide
Click to expand...
Click to collapse
You are very welcome! Feel free to contact me if you run into any issues.
On the plus side, your b-slot is untouched throughout all of this, so you can use that to re-root or flash backups should something go wrong, or update. Enjoy the pie.
Xsavi said:
You are very welcome! Feel free to contact me if you run into any issues.
On the plus side, your b-slot is untouched throughout all of this, so you can use that to re-root or flash backups should something go wrong, or update. Enjoy the pie.
Click to expand...
Click to collapse
Will this work on the LG V40 International?
rmgibbs1861 said:
Will this work on the LG V40 International?
Click to expand...
Click to collapse
Yes it will.
rmgibbs1861 said:
Will this work on the LG V40 International?
Click to expand...
Click to collapse
One more question, How will further updates be done after cross flashing? Thank you!
rmgibbs1861 said:
One more question, How will further updates be done after cross flashing? Thank you!
Click to expand...
Click to collapse
By flashing System, Vendor, and boot.
Very confusing. Which variants of V40 this is going to work for?
How to get the v35 engineering bootloader on the phone the only method ive heard about is through octoplus jtag?
twoxa said:
Very confusing. Which variants of V40 this is going to work for?
Click to expand...
Click to collapse
Well it worked for all US Carriers except for T-Mobile
had my sprint v40 bootloader unlocked from octoplus and tried this cause i hate sprint SW (activation screen).it flashed everything from batch file fine but when i went to boot into twrp it booted into normal recovery with the rainbow circle "erasing" then rebooted into os but it was all korean and the android version was 8.1. wtf lol? trying it again now, yes im using "V40PIECONVERSION" not the stock one.
jass65 said:
had my sprint v40 bootloader unlocked from octoplus and tried this cause i hate sprint SW (activation screen).it flashed everything from batch file fine but when i went to boot into twrp it booted into normal recovery with the rainbow circle "erasing" then rebooted into os but it was all korean and the android version was 8.1. wtf lol? trying it again now, yes im using "V40PIECONVERSION" not the stock one.
Click to expand...
Click to collapse
Did you check to make sure you are on Slot A and not B? Becuase i remember when i had everything flashed the first time i tried to boot TWRP in Slot A and somehow ended up switching to Slot B
Ainz_Ooal_Gown said:
Did you check to make sure you are on Slot A and not B? Becuase i remember when i had everything flashed the first time i tried to boot TWRP in Slot A and somehow ended up switching to Slot B
Click to expand...
Click to collapse
thats what it ended up being. xSavi helped me out :good:
Hi guys,
I have a Sprint V40 bought off of Taobao that was rooted, sim unlocked, and crossflashed to US Cellular 11d but after I installed Pix3lify trying to get gestures on 8.1 I lost root. I don't seem to be able to get into fastboot, either with Vol- + cable or via adb, but I have an unlocked bootloader and I can get to download mode. Factory reset just reboots. Any tips as to how can I get root back, or upgrade to Pie? Can anybody please explain how to switch from slot a to slot b and vice versa?
Jeff

Categories

Resources