yashsingh1/xdaforums huggingface dataset:
[Desire 626 General] gingrbred:
How To Unbrick/Return To Stock

WARNING: THE FOLLOWING METHOD WILL WIPE ALL DATA

Using the appropriate RUU from above you can return to complete stock to unbrick or unroot multiple variants of the Desire 626.

1) Boot device into download mode using VolumeDown and power while the device is off.

2) Open the folder you have Fastboot installed in and open a command prompt.(shift+right click=>open command prompt)

3) Type "Fastboot oem rebootRUU"

3a) Type "Fastboot oem lock" if your bootloader is unlocked.

4) Open the RUU and follow on-screen instructions.

5) The RUU process can take upwards of 10 minutes, so be patient. The first boot of your phone can take 1-5 minutes, again be patient.

6) If the RUU process fails or phone fails to boot up be sure to reply with an error code and a specific description of what happened.

This will put all partitions, including the recovery partition, to stock values. Effectively returning your device to complete stock
[Desire 626 General] jcase:
fyi added 626s support to sunshine
[Desire 626 General] gingrbred:
That's amazing thank you
[Desire 626 General] jtrosky:
Ok, I'll bite - what is "sunshine"?
[Desire 626 General] jcase:
A commercial tool that sets devices s-off
[Desire 626 General] gingrbred:
its a tool to s-off your device which will allow you to alter protected partitions such as the bootloader
[Desire 626 General] 20twins10:
Has this been Compared to different carriers? I'm on Verizon and don't even have the same system settings as other carriers do. I have no oem unlock function.
[Desire 626 General] gingrbred:
well i would pm [MENTION=2376614]jcase[/MENTION] seeing as its a $25 license. But I don't think it will work because verizon generally locks things down pretty hard
[Desire 626 General] jcase:
I would need to get my hands one one to see what i can do
[Desire 626 General] Emerl:
Sunshine for firmware 1.23.1550.3?
[Desire 626 General] czarsuperstar@gmail.com:
who wants to help me build for this device?
[Desire 626 General] gingrbred:
What do you need?
[Desire 626 General] czarsuperstar@gmail.com:
I'm trying to build a device Tree. I have cm 1 2.1 sources downloaded and the source code for the device. I want to build cm for our phone.
[Desire 626 General] anarchem69:
Once u have the rom built I'll be glad to test it I got all my stuff on backup thanks to twrp :)
[Desire 626 General] sgirard1991:
Will this root process work on the Desire 626s for Boost Mobile (Model OPM92) with Android 5.1 ?
[Desire 626 General] kdayyy:
After going back to stockRUU will this delete TWRP recovery and delete root?
[Desire 626 General] jtrosky:
Yes - you'll need to re-install TWRP and re-root.
[Desire 626 General] kdayyy:
TWRP Breaks ROOT

After restoring nandroid, it will not let me uninstall system apps or modify build prop.
[Desire 626 General] f1tzg3r4ld:
I am tryign to return my device back to stock after a twrp mishap leaving my device with only twrp recovery. The problem i am having is my device is not recognized by my pc in bootloader mode or download mode. The only time adb devices shows my device is when im in twrp recovery. This is what happened.

C:\HTC626s>adb devices

List of devices attached

adb server is out of date. killing...

* daemon started successfully *

FA5AVB000544 recovery

C:\HTC626s>fastboot oem rebootRUU

< waiting for device >

...

OKAY [ 0.007s]

finished. total time: 0.007s

C:\HTC626s>adb devices

List of devices attached

adb server is out of date. killing...

* daemon started successfully *

C:\HTC626s>adb devices

List of devices attached

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

C:\HTC626s>adb devices

List of devices attached

C:\HTC626s>adb reboot

error: device '(null)' not found

C:\HTC626s>adb reboot-bootloader

error: device '(null)' not found

C:\HTC626s>adb devices

List of devices attached

adb server is out of date. killing...

* daemon started successfully *

FA5AVB000544 recovery

C:\HTC626s>fastboot oem lock

< waiting for device >
[Desire 626 General] f1tzg3r4ld:
Not sure if this is neccessary but you might consider adding this to the main post for those having trouble getting the RUU to run. The RUU would just shut down after accepting the user agreement. This solved that problem.

Microsoft Visual C++ 2008 Redistributable Package (x86)
[Desire 626 General] xdathekilljoy:
EDIT: I found this just in case. It is the RUU for the AT&T just 626 version. So far for me it worked. I can't test data and service, but all else seems fine. It failed a couple times but seemed to pick back up where it left off and eventually finished.

http://www.modifyandroid.com/stock-roms/htc/how-to-flash-stock-rom-for-htc-desire-626-att/

In the OP it says version of the 626. So will that include just the 626 version? The USA/ATT one. The one that there seems to be no stock/brick fixes for. Except I think I saw somewhere the T-Mobile one might work.

I found one site that had a download but on every device and browser it would fail at the end. I'm trying to find it again because somehow I did not bookmark it...Yay.

I rooted and tried to install xposed.....OOPS. Then reread that it was a bad idea. Now I can get to recovery and all and be recognized in fastboot and such...I cannot transfer to or from the device though when I try it acts as if it does through adb commands.
[Desire 626 General] kdayyy:
You're in the wrong thread buddy. And the OP alrdy shows how to unbrick and run RUU for 626s variant devices.
[Desire 626 General] xdathekilljoy:
From the op "multiple variants of the Desire 626" And it says that in mine as well

As well as mine that I found was for the 626 which was not said whether it was covered or not....which is why i asked since it said "multiple variants"

Reading before replying helps from inserting your foot into your mouth
[Desire 626 General] kdayyy:
Yea you should read too. OP #1 posted the actual RUU download link from HTC themselves, so why on earth would u come and post a generic website like "modifyandroid." You also don't need to be s-off. So please take my advice you're in the wrong thread and your post was useless.
[Desire 626 General] xdathekilljoy:
And it still went over your head. And now you are just acting out for being called out.

Have fun with your hurt because I have no more use of replying to your type.
[Desire 626 General] kdayyy:
I'm acting out because I told u that you're post isn't needed, because the OP has everything that's needed to unbrick? That makes no sense7 at all. Plz stop you're making a fool out yourself. Go ahead and "have fun with your hurt" Not sure what kind of English you're speaking there but, okay. Have fun with your hurt
[Desire 626 General] Thehomieobama:
So I tried to go back to stock but while doing the ruu process some error came up. It's telling me to check my screen for exclamation points but there is none and it says if the progress bar is moving it is updating, but it's not moving it's just there blank.

---------- Post added at 09:19 PM ---------- Previous post was at 09:05 PM ----------

Darn I'm scared I just lost my htc D:

---------- Post added at 09:33 PM ---------- Previous post was at 09:19 PM ----------

Someone please help :crying::crying:
[Desire 626 General] kdayyy:
Gotta be patient with the RUU process. Make sure all your drivers are updated and you have the correct RUU for your carrier firmware. And follow the OP steps and you'll be back to stock in a matter of 30mins. Main process will be download mode, adb, and running RUU.exe on your PC
[Desire 626 General] gingrbred:
Please quite arguing in my thread. This thread is meant for help and knowledge, not toxicity and bickering. And if you do continue to argue at least do it well without any ad hominem
[Desire 626 General] xdathekilljoy:
As can be seen I said I was done with them and never replied to them again
[Desire 626 General] DeltaHit:
You should add this!

Captain_Throwback built a flashable ROM for the MetroPCS version!

I think it's a good tool if you're stuck in a soft brick, because I used it myself!

https://basketbuild.com/devs/Captain_Throwback/Desire 626s/ROM/1.23.1550.3
[Desire 626 General] Assunta_Maggio74:
can this stuff also work on htc 626g+
[Desire 626 General] ne_stew:
Looking at the 626 and not sure why... Want to root simply a low-cost Android. Looks like the 626 is more involved than the LG Escape2's One-Click Root. Going AT&T, am I missing something with the 626? Would you recommend it?
[Desire 626 General] xdathekilljoy:
For low cost is not bad, has lollipop, runs well, and is fairly easy to root. No xposed sadly though. If you are going att the tmobile root method works. If you have the att and need a good restore the one i shared works well since the op and nobody else confirmed if this one does or not.

Whats low cost to you? You know you can get a Note 2 between 50-120 on ebay depending on luck, carrier, and condition. And it's still beastly and has lots of support.
[Desire 626 General] ne_stew:
"If you have the att and need a good restore", guess your referring to the 626 and where is the root you shared?

"low cost"? around $100 or even better a throw-away if I brick it. AT&T is actually promoting the ASUS Zenphone now for $29.99. I need to prove out the AT&T service in my area first before throwing some money towards a better phone.
[Desire 626 General] xdathekilljoy:
Yes. Just the straight 626 varriant for At&t. I shared the restore link a few posts up and made a thread of it. The root method is for the tmobile varriant is just in another thread here for the 626. I think the 626s?
[Desire 626 General] Msziccal:
I have htc desire 626g and when I get into recovery it says no command ,can't do anything

What sholud I do to unlock phone , I was upgrading software then internet connection dissapear and that showed up
[Desire 626 General] Msziccal:
Don't need answer guys , I did it successfully today...
[Desire 626 General] 20twins10:
it all depends on your carrier. I just moved to california from the midwest and T-Mobile service sucked here so I switched to Verizon. the Verizon 626 hasn't been rooted yet and doesnt even have the same unlock options. for me personally, my situation, I wouldn't do it again..
[Desire 626 General] xdathekilljoy:
Yeah. I got a Note 5 finally and I have straight talk. I was using a verizon phone before and the service was amazing. But to have the Note 5 and have root i had to get a sprint one and use att towers......and the service is only a hair above sprint in my appartment.
[Desire 626 General] 20twins10:
I'm looking into a lg g3.. trying to find one on eBay. its one of the few Verizon phones that has any decent amount of development on it. wish I would have checked it out before I bought it but I just assumed the devs would support this device.. my own fault.. lesson learned.
[Desire 626 General] xdathekilljoy:
Yeah, made same mistake with the vzw note 4.
[Desire 626 General] xBeastyboyx:
Tutorial

Can I please get a step by step guide on how to flash TWRP? I currently have Cyanogen Recovery.
[Desire 626 General] bylgary:
Thank you the tool worked perfect, now my htc 626s is indeed s-off.

However I still have trouble installing the rom of my carrier (at&t). It pops up an error [155].

the phone came with the sprint/virgin rom installed and that is the only one that you can flash it with no errors.

Boot loader is unlocked.

S-off.

Phone is rooted, with the TWRP custom recovery installed and the superuser.

The rom version I want to install is HTC Desire 626	1.24.502.5 the at&t

but the only one that works is: HTC Desire 626s	1.24.651.2 the sprint/virgin.

What is the final step that I am missing?

Thank you in advance for the help.
[Desire 626 General] ralexi76:
good idea

that would be magnificent , because if you need a custom rom .
[Desire 626 General] basith171:
Will any one help me out!!!

Hello Guys, I am using HTC Desire 626G+,rooted (kingroot) the system and attempted to update the rom, forgetting OTA conflicts.Now I am stucked at NO COMMAND error and then i found a solution from

http://xdaforums.com/desire-626/help/fix-htc-desire-626g-update-command-t3243510

While using SP Flash Tools my mobile is not dected in SP Flash Tools due to I turned off usb debugging..

So is there is any way to enable usb debugging??
[Desire 626 General] redgoddess:
unlocking bootloader to root??

I was following another guide, but I am unable to get the required "token" to unlock the bootloader. I was wondering if anyone on here knows of another way to unlock the bootloader, please let me know. I really want to root my phone. Also, I can't use any paid services (like sunshine, for example), since I don't use plastic.

I tried using the flashing_unlock_critical command, which temporarily unlocks the bootloader partition, but the phone doesn't recognize it as unlocked. Is there a way to flash supersu from my computer using this command? Sorry if this is a dumb question.
[Desire 626 General] jbeenemd:
Don't have to have "plastic" to purchase Sunshine. Can use PayPal. Why not go and buy a one time use card that is prefilled with enough money to buy Sunshine.
[Desire 626 General] redgoddess:
Paying $25 for something that doesn't work is ridiculous. I am not going to pay $25 + the card activation fee to get a PayPal account. The program is very likely to fail, is for a single use, and besides that, if they were able to create a program to do this, there must be a way to do it without their app.
[Desire 626 General] jbeenemd:
I never paid anything to open my PayPal account. I have used Sunshine to unlock my Turbo. It does work for the phones that are listed. I haven't used it for the 626s. If you have the time, experience, and energy to either find or write your own program, then have at it.

Sent from my Moto Turbo
[Desire 626 General] redgoddess:
Thanks for not actually answering my question. I am not paying. Period. $25 is way too much to a single use ANYTHING. I'm a student, and I don't have extra money to spend.

All prepaid cards charge a fee to activate, and you cannot guarantee that sunshine will work.

I just want to root this phone. :( :(
[Desire 626 General] jbeenemd:
You are a student. First thing that they tell you is to read. I am not about to go look up the links and spoon-feed you. Yes I am using a Droid Turbo. I read bow to root it, then later bow to unlock the bootloader. Now using this Verizon phone on MetroPCS. When I signed up for MetroPCS I got the 626s and have rooted it using the instructions on this forum. You can too.

Sent from my Moto Turbo
[Desire 626 General] Surj138:
Just out of curiosity, what carrier/variant do you have?

If you've got a Verizon variant, I don't think it can be unlocked. I'm not 100% sure though
[Desire 626 General] redgoddess:
I have a metropcs version.

After working on it, I finally figured out how to use the command I mentioned earlier to flash supersu to the root directory (if that's the right term, it's basically behaving as though it had come installed with my phone). And by figured out, I mean randomly, by mistake, lol.

Anyway, didn't mean to sound snooty.It's really hard to convey tone with text.
[Desire 626 General] manawik:
hey

after doing all that step by step

and opening the ruu

and following on screen instructions it give me an error 132 signature error

what to do??
[Desire 626 General] cbc0201:
Make sure it's the correct ruu. Signature error generally means you have the wrong one
[Desire 626 General] manawik:
how to know what ruu should i download?? the phone won't turn on it is bricked after a root failed i can only go to recovery mode and fastboot
[Desire 626 General] deadgods1:
same problem

did you get your phone unbricked? I have the same problem. no ! in the corners and the bar is blank.

---------- Post added at 05:59 PM ---------- Previous post was at 05:34 PM ----------

my phone has been sitting in ruu for over 10 min with no bar movement and no !! in the corners. how long should i let it sit before I click the "next" button to start the recovery process? I have bootloader unlocked and TWRP installed. I accidently wiped the operating system off the phone and it will only boot to recovery or bootloader. any help would be lovely.
[Desire 626 General] cbc0201:
First you have to relock your boot loader and ruu should give you an error message. Your should be okay to reboot your phone into bootloader mode now. Then relaunch run, but don't be surprised if you have to run ruu a few times after u relock your boot loader.
[Desire 626 General] manawik:
can ayone tell me how to know which ruu should i download

i have :

A32_UL PVT SHIP S-ON

HBOOT-3.19.0.0000

RADIO-1.0.U20402.1@50313

OS-1.10.709.2

Emmc-boot 1024MB
[Desire 626 General] cbc0201:
Carrier?
[Desire 626 General] manawik:
i don't know the carrier of it :(

the phone won't turn on it is bricked i can only go to fastboot
[Desire 626 General] cbc0201:
Take out the sim card on the left side of the phone. Carrier stamped on it
[Desire 626 General] manawik:
is a lebanese carrier...but i think there no ruu for lebanon
[Desire 626 General] cbc0201:
Try this one.. http://www.htc.com/us/support/htc-desire-626-att/news/
[Desire 626 General] manawik:
the same error :S

132 signature error

it's relocked and when i follow all the step on screen procedure it retain that error

what's the problem :(
[Desire 626 General] cbc0201:
132 Signature error means it's the wrong RUU.

---------- Post added at 04:50 PM ---------- Previous post was at 04:32 PM ----------
[Desire 626 General] manawik:
i can get into fastboot bootloader mode

i can't get into recovery after the lock
[Desire 626 General] cbc0201:
"Can't get into recovery after lock"?

1. Put ur phone in bootloader mode and verify it's unlocked.

2. Via bootloader mode u will see an option for booting into download mode.

3. Flash twrp recovery

4. Reboot recovery
[Desire 626 General] picsles:
Hey what do you mean no xposed? Are u using cwm or twrp? For some reason only cwm worked for me. Is S-On the reason for no xposed?

---------- Post added at 01:58 PM ---------- Previous post was at 01:51 PM ----------

@gingrbred and to all those involved... Thank you.. this was my first root. Was able to accomplish with cwm. Not twrp for some reason. Either way I'm definitely rooted. Now I just need to learn about rooting. Was an iPhone user for a long time and switched to Android. For the price I paid for the t-mobile 626s ($110 on sale at BB) and have tested multiple of their prepaid phones ... This one is the best value I think. One question: When is S-Off important? (Being I was able to root with it on)
[Desire 626 General] manawik:
i send some photos before unlocking the bootloader and after the unlock
[Desire 626 General] picsles:
Fixed this another way

[MENTION=7306136]manawik[/MENTION] Thank you very much for trying. That didnt work but I ended up fixing the issue by simply connecting to pc. Ran fastboot command to erase cache. I then fastbooted stock recovery, reboot the phone and installed cwm via fastboot. Then it worked!

I read online about wiping the dalvik cache and that being an important part of this process.
[Desire 626 General] manawik:
can you tell me the detailed steps plz and thank you very much
[Desire 626 General] ivantha:
Bro Wil this work on htc d626p
[Desire 626 General] picsles:
This is what I did though im not sure all steps are necessary.

fastboot erase cache

fastboot flash recovery Stock_Recovery.img

Turn off phone

Boot to bootloader, boot to recovery. (you should still still unlocked status btw)

See if normal recovery mode works.

Wipe cache in normal rec mode.

Shut down phone.

Boot into download mode

fastboot flash recovery (cyanogen mode recovery).img

You should be all good.
[Desire 626 General] manawik:
anyone can give me the Stock_Recovery.img and the recovery (cyanogen mode recovery).img for it plz??

---------- Post added at 06:51 AM ---------- Previous post was at 06:50 AM ----------

anyone can give me the Stock_Recovery.img and the recovery (cyanogen mode recovery).img site or anything can i download from it
[Desire 626 General] picsles:
Go to the original post on this thread.
[Desire 626 General] manawik:
i erase cache but when i want to flash stock recovery it says:

target reported max download size of 16777216 bytes

invalid sparse file format at header magi

sending sparse 'recovery' <10940 KB>...

OKAY [ 1.373s]

writing 'recovery' ...

FAILED <remote: image error! <BootMagic check fail>>

finished. total time: 1.388s
[Desire 626 General] picsles:
have you tried just giving it a nice shiny RUUing?
[Desire 626 General] manawik:
noo how to do that
[Desire 626 General] picsles:
[MENTION=7306136]manawik[/MENTION] While I know you are a self proclaimed noob at this, there is a great deal of energy and time people spend to contribute to this forum. I'm not saying this to be rude.. I'm more of a "teach a man to fish" kind of person. I've only really been involved in this community for a very short period of time myself.. This is the first HTC device i've rooted. I still feel lost sometimes.. But if you don't know about re-ruuing your device then it's clear you haven't read through these threads. On the very first link on this thread there is a step by step tutorial about rooting.. The first comment on that thread is the answer to your question. Again, I am saying this from a kind place and believe in empowering people with information. But that is what forums are all about. I don't know about android dev and unlocking and rooting etc as well.. And I have many questions. As a matter of fact I still cannot flash twrp. But I start at the beginning.. I read left to right and I follow the instructions. I know that sounds rude but I urge you to really take the time and read through these threads. Your question is in itself proof that you need to start at the beginning. If you still need help after you have properly giving the time to read what these awesome mounds have posted, by all means ask. When it comes to technically challenging things or coding etc, it's important that you really get into a problem solving mindset and not an "ask siri" mindset.

Read through and if you're still lost please ask.
[Desire 626 General] xdathekilljoy:
Its something with the root or the way xposed plays with it. I don't remember. Basically if you install xposed you will be back here looking for a restore.
[Desire 626 General] manawik:
i haven't understand what rerunning but my device is bricked and no software is detected on it i want to unbrick it if anyone can help
[Desire 626 General] picsles:
Ruu
[Desire 626 General] CruzWootten:
excuse me for pointing out this classic example of 1337 ownage
[Desire 626 General] bakerd62:
Hotspot? APN editing?

Has anyone been able to get Wi-Fi tether working? Or able to edit the apn on vm version of the 626s?? Just wondering
[Desire 626 General] bakerd62:
Working hotspot!

So I decided to use my old apk file I backed up about 4 months ago now of wifi tether router 6.0.4, I used method 3 and changed my password and ssid name to my fit, I didn't change anything else and then boom, works like a charm!! I'm on the virgin mobile version of the HTC desire 626s. I hope this helps I'll try my best to help. Root is needed, I changed DEVICE_PROVISIONED from 1 to 0 in build prop editor, they may have contributed to the success IDK, I'm just guessing. Let me know how it goes for everyone else. If it's successful I'll start a thread on about it.
[Desire 626 General] alamony34:
Does anyone have insecure boot.img for the 626s for virgin mobile?
[Desire 626 General] stonedgodz:
May I participate please? I have an extra AT&T HTC DESIRE 626 to use for experimenting
[Desire 626 General] rchir:
I can confirm that the latest wifi tether router app (version 6.1.4 ) works with my Sprint prepaid rooted Desire 626s. The only setting I changed is "Method" to 3.

Thanks

https://play.google.com/store/apps/d...errouter&hl=en
[Desire 626 General] nkhlkn8:
i have the same phone any one can please help me ...

if any one know the correct ruu please give me the link. i already download htc sight rom but an error coming signature verification failed error 132. an ill try bootloader unlock and relocked those option showing same error. plaes give me the correct rru ... :crying::crying::crying::crying: