yashsingh1/xdaforums huggingface dataset:
[Desire 626 Q&A, Help & Troubleshooting] marco84delmonaco:
This guy found a solution also for HTC Desire 626 / 626x

It works! :D

http://xdaforums.com/desire-626/help/step-step-root-procedure-htc-desire-t3264727#post64765753

The only thing that miss is Wipe Data/Factory Reset e Wipe Cache Partition before reboot your device!

:) So everyone whom owns a 626 / 626x should download that recovery mod image and follow that procedure.
[Desire 626 Q&A, Help & Troubleshooting] wonderwolff90:
help!!!!

I have unlocked my phone and am trying to flash the twrp recovery and the fastboot.exe and twrp recovey files are in the same directory but when i open the command prompt and type the commands in but they don't work
[Desire 626 Q&A, Help & Troubleshooting] ts_root78:
[MENTION=7203344]marco84delmonaco[/MENTION], can you provide details about what you mean by don't work please? I may be able to help.

---------- Post added at 07:05 AM ---------- Previous post was at 07:04 AM ----------

Err, disregard the last post being to the named individual. It should have been to [MENTION=7079348]wonderwolff90[/MENTION]
[Desire 626 Q&A, Help & Troubleshooting] jtrosky:
Sounds like you are not changing to the directory where the fastboot.exe and twrp files are before typing the commands... Make sure you "cd" to that directory first - then type the commands (just a guess based off of the limited info you provided).
[Desire 626 Q&A, Help & Troubleshooting] wonderwolff90:
I fixed the name of the files and then tried to did the command to flash but it said that it does not support the 16 bit application because it can only run 62 bit please help
[Desire 626 Q&A, Help & Troubleshooting] thefuryofZ3US:
When you type "fastboot devices", do you see your phone's serial# listed?
[Desire 626 Q&A, Help & Troubleshooting] wonderwolff90:
I did it!!!!
[Desire 626 Q&A, Help & Troubleshooting] Crutchie46:
Same problem for me. Twrp doesn't work for the boost variant for some reason and I believe it is from the OTA update back in December. Custom twrp hasn't worked for me and I did that update. I've only got cyanogen recovery to work to root it. And they just came out with a stock rooted rom and debloated Tom for sprint/boost/Virgin. But I can't backup so don't want to flash it yet as its a first build. I do know that the ruu sprint 626s from htcdev sight works on reverting boost back to stock boost rom. I have done it myself.
[Desire 626 Q&A, Help & Troubleshooting] pandabear5683:
Will there ever be a"app" to root this phone automatically?
[Desire 626 Q&A, Help & Troubleshooting] Jblunt31:
Rooting Issues

I'm relatively new to rooting and have not had as much issue with any other devices than I'm having with my MetroPCS HTC Desire 626s. I've followed the instructions exactly up to unlocking the boot loader. The directions say to boot into download mode which I have no trouble doing. Then it says to select boot loader while in download mode to proceed to the command prompt process, etc on the PC. However, I don't have that option. It says I can deselect fast boot in settings>battery, but I have not located that option anywhere in the settings. So I'm stuck unable to proceed. Has anyone else encountered this? Am I missing a step? Any help will be greatly appreciated.
[Desire 626 Q&A, Help & Troubleshooting] lowender62:
Question for you that I couldn't find searching the thread. I am giving this phone to my wife and would like to un root it and do a factory reset so she has a clean start...I am not allowed to mess with her phones with rooting and stuff, which is not a bad idea.

Can anyone help out a noob accomplish this?

Thanks

UPDATE-Got it figured out
[Desire 626 Q&A, Help & Troubleshooting] jtrosky:
Have you successfully unlocked the bootloader?

I have no idea what you mean by "It said I can deselect fast boot in settings>battery". The process in the OP never mentions anything about "Settings>Battery".

Have you enabled developer options and then selected the option to enable "OEM unlocking"?

I think you've mis-read some of the process steps. Please carefully review the process again and let us know exactly what step you are getting stuck at.
[Desire 626 Q&A, Help & Troubleshooting] Jblunt31:
Root issues

I have not successfully unlocked the boot loader. I apologize for being unclear. The steps to turn off fast boot is mentioned on the htcdev website. I literally can't pass step one or two (unsure at this exact second). It says to boot the desire 626s into download mode which I can do perfectly fine. Then I says I should select fastboot. Well that's where I get stuck. When I boot to download mode I only have these selections: system info, show barcode, reboot to bootloader, reboot to download mode, reboot and power down. So I'd know where I'm supposed to select fastboot in download mode ultimately. I'm trying to post the pic but that's pretty much my list of options. Also, developer mode is activated m, oem unlocking turned on and USB debugging selected as well.
[Desire 626 Q&A, Help & Troubleshooting] 1equals2:
I think fastboot was not an option to select but the name of the executable you run on the PC. I can no longer remember what the exact step you should be doing at that point is though, so I recommend you re-read those instructions on the HTC page to see what you are actually supposed to be doing at that step with fastboot instead of *selecting* it.
[Desire 626 Q&A, Help & Troubleshooting] pandabear5683:
There are no apk that can root this phone?
[Desire 626 Q&A, Help & Troubleshooting] jtrosky:
I am not aware of any apk to root this phone (or any other "toolbox"). You have to root it manually.

[MENTION=7222890]Jblunt31[/MENTION] - [MENTION=7148214]1equals2[/MENTION] is correct - the fastboot references are talking about the fastboot binary on your PC - which is used to unlock the bootloader on your phone.

Make sure to read the instructions on the HTCDev website closely - you are misunderstanding them somewhere.

Let us know if you have any specific questions about any of the steps on the HTCDev website.
[Desire 626 Q&A, Help & Troubleshooting] pandabear5683:
Will there ever be a root apk for it?
[Desire 626 Q&A, Help & Troubleshooting] Captain_Throwback:
As soon as you develop one ;).
[Desire 626 Q&A, Help & Troubleshooting] ts_root78:
Thanks for your help yesterday on the Inc channel, Captain_Throwback. I appreciate it.
[Desire 626 Q&A, Help & Troubleshooting] Jer9009:
Has anyone made a video for this? I've unlocked OEM and selected debugging but when I'm in download mode I can't go any further. Also the file from the HTC site seemed to be incomplete.
[Desire 626 Q&A, Help & Troubleshooting] mike2246:
I got my Unlockcode.bin but when i go to flash I get an error

"Can't flash this partition in an S-On State"
[Desire 626 Q&A, Help & Troubleshooting] jtrosky:
Check the "Notes" section at the bottom of the OP in this thread! It explains why you get that error and how to fix it.
[Desire 626 Q&A, Help & Troubleshooting] s0619212:
I was able to root and install custom ROM. In process of removing apps using Titanium i think i accidentally removed some HTC/Android app. My phone is hung at start screen ( where it shows HTC and Android logo). Even after holding power button for 2 mins phone didn't shutdown. I downloaded the recovery.zip file, i am thinking once my phone is completely dead, i will charge and try to put it back in recovery mode. Can i just use your recovery.zip and be able to get to stock image? Anyway i can rollback Titanium changes?

Thank you so much [MENTION=972963]jtrosky[/MENTION] for the instructions

---------- Post added at 06:30 PM ---------- Previous post was at 06:14 PM ----------

Follow instruction here http://xdaforums.com/desire-626/general/how-to-unlock-bootloader-htc-desire-t3193898 , at first i also downloaded the fastboot from HTC but didn't work.
[Desire 626 Q&A, Help & Troubleshooting] Surj138:
You should be able to shut it down completely by holding Volume Up and Power simultaneously for around 8 seconds. Then try rebooting into recovery and clearing cache/Dalvik.. That might help you boot up
[Desire 626 Q&A, Help & Troubleshooting] spongessuck:
Captain_Throwback, thanks for you work on this.

I need a version of your TWRP with the crypto flag turned on. I got the source and I found where to set the flag, but I'm not sure how to build it to get a flashable image.

What should the make command look like?
[Desire 626 Q&A, Help & Troubleshooting] s0619212:
I was able to boot up, clearing cache/Dalvik didn't help in getting me back. Some system files are deleted , i am able to boot but i get all these messages saying files are missing. I really just need to be able to use my phone, any help is appreciated.
[Desire 626 Q&A, Help & Troubleshooting] 20twins10:
its amazing too me how much people **** up their phones from not being patient or reading... then when its broke "oh help me I need My phone so bad".

maybe next time you'll think a little bit first before you just go ape**** deleting apps without a restore able backup..
[Desire 626 Q&A, Help & Troubleshooting] s0619212:
If you can't help don't give your ****ing advice. Things happen.
[Desire 626 Q&A, Help & Troubleshooting] Captain_Throwback:
Just turning the crypto flag on won't do anything. What is it you're trying to do?

And the command to build recovery in a proper build environment is make recoveryimage.
[Desire 626 Q&A, Help & Troubleshooting] spongessuck:
I just want to make a backup.

My data partition is encrypted and I can't make a backup using your TWRP build. It doesn't ask for a passcode (pattern in my case) when I start the backup and it just says 'Cannot mount /data', etc. It then looks like it's doing something but ends up with a failure message. When I try to decrypt the partition using terminal+ADB I get a 'E:No crypto support was compiled into this build.'
[Desire 626 Q&A, Help & Troubleshooting] Captain_Throwback:
Like I said, just enabling crypto won't make your device able to decrypt anything. TWRP can't decrypt HTC's encryption because it uses proprietary libs and is non-standard. The only thing adding crypto to the build will do is give a password prompt that still won't work to decrypt your device.

So, like I said, there's no point.
[Desire 626 Q&A, Help & Troubleshooting] spongessuck:
Hmm, OK. Guess I'm SOL then?

Thanks for the help, anyway.
[Desire 626 Q&A, Help & Troubleshooting] Captain_Throwback:
You can remove encryption by using the "Format Data" option (then typing "yes" when prompted) in TWRP. That's the only option to be able to access your data while in recovery.
[Desire 626 Q&A, Help & Troubleshooting] spongessuck:
Formatting won't delete everything?
[Desire 626 Q&A, Help & Troubleshooting] Captain_Throwback:
Of course formatting will delete everything. But that's the only way to remove encryption. You can back up your data (to external SD or other external media) while in Android.
[Desire 626 Q&A, Help & Troubleshooting] spongessuck:
I gotcha- having an unencrypted partition is the only way to access the data in recovery. I knew a wipe was the only way to remove encryption.

Well, I should survive with app backups and a stock rom image if I mess things up.
[Desire 626 Q&A, Help & Troubleshooting] s0619212:
After accidentally installing some files, i was able to successfully restore using these two links: this is assuming you have TWRP installed.

i) http://xdaforums.com/showthread.php?t=2208833

ii) http://xdaforums.com/desire-626/dev...12-12-1-htc-626s-t3261367/page19#post65069328
[Desire 626 Q&A, Help & Troubleshooting] jtrosky:
You probably could have also just downloaded the RUU from the HTC website and restored back to stock that way (and then re-rooted). An RUU is always able to get you back to a working stock phone.

Kind of late in this case, but just an FYI if anyone else gets into this kind of situation.
[Desire 626 Q&A, Help & Troubleshooting] s0619212:
I did try thag but then i got some connection errror, had you have any issues with using RUU?
[Desire 626 Q&A, Help & Troubleshooting] canering:
I can confirm this worked on my device: AT&T, HTC Desire 626, Lollipop 5.1, 1.24.502.5, htc_a32eulatt_cingular_us. At first, I was unable to root with the TWRP recovery image, so I switched to the CyanogenMod recovery and I was able to root just fine.

Thank you for the detailed steps! I've been an Apple user for years, I just recently got this phone after I accidentally put my iPhone through a laundry cycle. I've been surprised at how much I love Android, but I've been trying to find a root for weeks to get rid of the bloatware. I was about to give up until I found this guide. Thanks for making it simple and accessible.
[Desire 626 Q&A, Help & Troubleshooting] _Sean_:
lmao i missed a step i forgot to put the superuser on the internal memory i thought the twrp was all i needed
[Desire 626 Q&A, Help & Troubleshooting] dzbez:
Installing Super SU Binaries

I got all the way up to "boot to recovery mode" in Step 3 but the phone reboots in to the regular android mode. There wasn't another menu with "apply update" or for me to install the binaries .zip file. I moved the entire .zip file to the internal storage on the phone. It seemed like the phone was flashed with cyanogen in Step 2 because the menu changed in "download mode" and told me it was flashed and to press the power button. Although after I flashed it, I realized I had the files unzipped so I deleted them and moved the entire .zip file over instead. Should I re-flash the phone again now that I have the .zip file on the phone?

Edit: I'm sorry. I didn't use the Cyanogen recovery, I used the TWRP recovery and I'm having issues.
[Desire 626 Q&A, Help & Troubleshooting] Fernandoirizarry:
Unlocking bootloader not working for me?

So I have done this a few times with the HTC 510 and great . I got the HTC desire 626s and I have tried it many times and get the same response. Failed remote location not allowed can someone tell me what am I doing wrong please. And my SD card unmounts every time phone starts please help
[Desire 626 Q&A, Help & Troubleshooting] Surj138:
What carrier/variant?

I've got the cricket variant 626s and it was almost the exact same thing as my cricket 510 on stock Kitkat
[Desire 626 Q&A, Help & Troubleshooting] s0619212:
Is there custom marshmallow for htc 626 s?
[Desire 626 Q&A, Help & Troubleshooting] Captain_Throwback:
Has anyone tried the latest official TWRP?

https://dl.twrp.me/a32e/
[Desire 626 Q&A, Help & Troubleshooting] Sherms24:
Alright, so if anyone can help me out it would be appreciated. I flashed over the recovery.img file and the process was successful. However, every time i try to boot into recovery mode now, it crashes the system and kicks me to a normal reboot. I did ONE search (go me) on this thread and it came back with notta. TIA
[Desire 626 Q&A, Help & Troubleshooting] s0619212:
After accidentally installing some files, i was able to successfully restore using these two links: this is assuming you have TWRP installed.

i) http://xdaforums.com

/showthread.php?t=2208833

ii) http://xdaforums.com/desire-626/dev...12-12-1-htc-626s-t3261367/page19#post65069328
[Desire 626 Q&A, Help & Troubleshooting] Sherms24:
So when I try to flash the TWRP recovery img, it flashes just fine on both the dos prompt and the phone itself. However, when i try to reboot to recovery, it never loads one and just loops me back to the regular boot. I want to unroot and start over since this stupid OTA update keeps popping up and now my wi-fi and speaker phone don't work at all. I can't flash the zip file to reset the RUU because i can't get to the recovery after successfully flashing the TWRP. Maybe ill try the original Cyo Recovery and see if that works.
[Desire 626 Q&A, Help & Troubleshooting] cbc0201:
Flash stock recovery using flashify
[Desire 626 Q&A, Help & Troubleshooting] Captain_Throwback:
FYI RE: TWRP - the 626s now has an official page!

https://twrp.me/devices/htcdesire626s.html

It still only supports whatever variants my previous build supported, though. If someone can find me more generic kernel source, it's possible additional variant support can be added, but I'm not really sure why the current one doesn't boot on all the variants, tbh.
[Desire 626 Q&A, Help & Troubleshooting] picsles:
I cannot get TWRP to work. Tried everything. Cyanogenmod works fine. Am I missing out on features from this?
[Desire 626 Q&A, Help & Troubleshooting] cbc0201:
Would having the boost mobile variant of the 626s in your hands be of any help determining why twrp won't boot?

If so, I have moved on to a Nexus & Project Fi. More than happy to donate this phone to the cause.
[Desire 626 Q&A, Help & Troubleshooting] Captain_Throwback:
Honestly, I think the bigger issue is lack of current kernel source from HTC. Does the current TWRP boot on the Boost Mobile variant? If not, then *maybe* having one in hand *might* be helpful, but I'm hesitant to accept a donated device in case it turns out I can't get TWRP working. In the end, it's up to you.
[Desire 626 Q&A, Help & Troubleshooting] cbc0201:
I will have no use for this phone after today nor will I be concerned about it. I just hope u can get twrp working and it's my small contribution to the development of this phone.
[Desire 626 Q&A, Help & Troubleshooting] jtrosky:
I personally don't have a Boost Mobile 626s (I have the MetroPCS version), but I for one really appreciate your willingness to help others by donating your phone. That is really cool of you!
[Desire 626 Q&A, Help & Troubleshooting] Alyse1952:
Can't get past RUU

can someone just notify me when kingroot finally works for htc desire 626s? The other way people are doing it i can't because I can not get past the RUU to unlock my bootloader. very frustrating. I have it's with virgin mobile. I can't continue to unlock the bootloader because when I click on the virgin mobile RUU download it says connection error after it "verifies phone pda" or some crap like that. My phone is plugged in to my computer, my pc acknowledges my phone, it was at 86% battery power. Don't understand why it's not working and i'm hoping there's another way to root or unlock the bootloader.
[Desire 626 Q&A, Help & Troubleshooting] Lucasjr:
I can't seem to get supersu to flash over from the PC to the phone help?
[Desire 626 Q&A, Help & Troubleshooting] evildread:
I'm fairly certain my phone is bricked now...

Went to reboot into recovery and the HTC logo flashed with some text at the bottom then the screen flickered and went black. Unresponsive now. Anyway to fix this?

Edit: Sorry, I was really worried there for a second; But I found that holding the Volume UP + Power will reset..

But I tried the "twrp-2.8.7.0_CPTB-B5-a32e.img" and the Cryogen img and none will let me properly reboot into recover; Assuming I flashed it right. I First flashed with TWRP then reflashed "fastboot flash recovery CyanogenRecovery626s.img".

Assuming that I reflashed correctly it won't boot into recovery. Using the Cricket 626s
[Desire 626 Q&A, Help & Troubleshooting] damiloveu:
The device was in bootloader mode and I could locate it by the command, fastboot devices. However, I got an error "unknown command" when I tried to use fastboot oem.
[Desire 626 Q&A, Help & Troubleshooting] arch111:
Why do you need RUU to unlock bootloader ? Did you follow instructions on the first page ?

Kingroot works on VM 626s after bootloader is unlocked.
[Desire 626 Q&A, Help & Troubleshooting] sfvjuicy00:
htcdev isnt working

hi im trying to unlock htc 626s phone all week but the htcdev.com site isnt working right, i keep getting error message sayoi ng im looged outr n to log back in so when i do it kicks me out all over again n so forth, please help me is there any other way?
[Desire 626 Q&A, Help & Troubleshooting] jtrosky:
Did you enable bootloader unlocking in Developer Options on the phone?

If you read the OP carefully and follow the steps exactly, you will be able to root your phone successfully.
[Desire 626 Q&A, Help & Troubleshooting] ry.bellastone:
It's been awhile since I rooted a phone. I believe my last was an S3.

If I were to root and s-off would I be able to install a new ROM or RUU from ATT on a Metro PCS phone and use an ATT SIM? Or is there an easier way to sim unlock a MetroPCS 626s to be used with ATT?

Is replacing the RUU and (possibly) baseband on a phone basically replacing the software just over (above? Idk) the OS so that a device could effectively change from one carrier to another and behave as such?
[Desire 626 Q&A, Help & Troubleshooting] monotune:
I don't know what's up with HTCDev, but I cannot register an account. Every time I hit "Submit" it just reloads the registration page. I figured it was just a simple error and tried logging in with my credentials, but to no avail.

I really enjoy this phone, but my lord is the dedicated memory abysmal. 6.5G of the 8 dedicated to the system? Bah! I need to root it :(
[Desire 626 Q&A, Help & Troubleshooting] ry.bellastone:
It was doing the same for me a few days ago. After a few times it went through. Good luck
[Desire 626 Q&A, Help & Troubleshooting] Captain_Throwback:
For all the people on the updated firmware where TWRP doesn't boot, please try this version:

twrp-3.0.0-2-a32e.img

And let me know if it works.
[Desire 626 Q&A, Help & Troubleshooting] zero01101:
GASP

trying right this second! believe me, i've tried everything just this side of actually compiling TWRP myself because i'm not quite that good at things yet :/ i tried following the guide here on XDA but ... yeah ...

i actually even made a raw dump nandroid using dd over adb... but i've no idea how to re-flash it :(

anyway... let's flash 3.0.0.2 :D thanks in advance!

...[time passes]...

E:\androidSDK\platform-tools>fastboot flash recovery twrp-3.0.0-2-a32e.img
target reported max download size of 725000000 bytes
sending 'recovery' (24028 KB)...
OKAY [ 3.228s]
writing 'recovery'...
(bootloader) HOSD CL#637541
(bootloader) start@1
(bootloader) recovery@100%
(bootloader) Update partition OK
(bootloader) end@Done
OKAY [ 6.272s]
finished. total time: 9.504s

...reboot to bootloader...

...all good so far, boot to recovery mode...

...this build is for OH MY GOD

ITS WORKING

OH MY GOD I COULD KISS YOU

"Unmodified System Partition

Keep System Read Only?"

...

dude seriously thank you

[edit]

i need more space on my sd card to backup :D :D :D
[Desire 626 Q&A, Help & Troubleshooting] Captain_Throwback:
Well you should really thank [MENTION=4641426]cbc0201[/MENTION] for donating a 626s so I could work on it. And also thank [MENTION=4878287]_that[/MENTION] and [MENTION=1915408]phhusson[/MENTION] for helping me patch the kernel, which was quite a task.

People working together is really what this community is supposed to be all about :).
[Desire 626 Q&A, Help & Troubleshooting] jtrosky:
Wow - [MENTION=4878287]_that[/MENTION]! I'm very familiar with him from the Asus Transformer devices! It's a small world. Very smart guy that knows his stuff.

Anyway, once again, thank you [MENTION=1162986]Captain_Throwback[/MENTION] (and folks that assisted you) - you've been a big help with these 626s devices!
[Desire 626 Q&A, Help & Troubleshooting] Captain_Throwback:
FYI - Official TWRP has been updated, so you don't have to use my version anymore (though they're essentially the same):

https://twrp.me/devices/htcdesire626s.html

EDIT: If there was a 626s-specific section, I might even open a thread, but since there isn't, I guess you'll have to add a link to the OP ;).
[Desire 626 Q&A, Help & Troubleshooting] mcat8334:
Works on cricket variant . I used T.W.R.P. 3 backing up now . now my search for custom roms thanks
[Desire 626 Q&A, Help & Troubleshooting] ry.bellastone:
Newest version of twrp works on metro pcs version.

Any suggestions for ROMs?

I'm also still SIM locked. Any fix for this yet?
[Desire 626 Q&A, Help & Troubleshooting] Captain_Throwback:
[MENTION=972963]jtrosky[/MENTION]

When you get a chance, if you could update the OP with the link to the official TWRP page for the 626s, I'd appreciate it. It seems to be confirmed to work on all the variants at this point. Thanks!

Since I have the device now, I'll add myself to the TWRP page as the official maintainer :).