Guide to unbricking HTC Desire 626s - Desire 626 Q&A, Help & Troubleshooting

Hello there!
This process only works if your phone is on android 5.1
I ran into this issue; after rooting and removing some htc apps I was stuck in a bootloop and I had neglected to make a backup prior to removing apps.
I'm assuming your device's bootloader is unlocked, and you have a custom recovery, if not go here
After that is done, move this to your external sd card and flash this. This is basically this debloated sprint rom with a few modifications: I removed the assert meaning if your device is not a HTC DESIRE 626S do not flash or you will brick your phone for sure! and I removed the pesky sprint hands-free activation that made it impossible to get past the first boot.
However, this does cause a problem which can be remedied: since I removed the HTC Setup Wizard as well, the device's home button and quick settings toggle will not work. However you can easily fix this, just sideload a root explorer app on there, go to /system/app/Setupwizard.apk and rename "Setupwizard.apk" to "setupwizard.bak" and reboot, and once the phone has rebooted, go back to /system/app/Setupwizard.apk and rename it back to "setupwizard.apk" again and reboot it. This tricks the phone into thinking the setup wizard has run and thus prevents the gui from being "locked". It's a simple fix.
This was done on a phone that does not have a RUU associated with it, it's from a carrier in Canada so I assume this will work on any HTC Desire 626s phone regardless of the carrier.
If you want to make this work for the android 6.0, just remove the assert prompt from the folder in the sprint debloated ROM, and then remove the HTCOMAD_OCPS (something like that) folders, there will be two, and remove the setupwizard folder as well. And it should work, in theory. I hold no responsibility if it does not.
I know this is an older phone, but hopefully this might help someone down the road.

Related

[Q] Bloatware Apps keep reappearing after crash

Hey guys,
I have been trying to uninstall all the bloatware from my HTC Butterfly S after unlocking the bootloader and rooting it. However, sometimes randomly while uninstalling the bloatware (like the Korean keyboard) with titanium backup, the device will crash and restart itself, and previously uninstalled apps would appear back again.
For example, i uninstalled 7digital, Google Korean Keyboard, HTC Sense Wechat (in that order) then the device would crash while uninstalling HTC Sense Wechat. After it booted up again, i found that my default keyboard would change back to HTC's own keyboard and that 7digital, Google Korean Keyboard and Wechat would all be found installed again.
Anyone else experiencing the same problems?
Edit : okay so restarting the phone without it crashing does the same things too..all the bloat apps came back :/
Edit2 : oh ya im using stock rom by the way.
I also tried to uninstall HTC Sense Webchat and had the same issues. I think this program is somehow connected either with Blinkfeed or integrated in the system, so you can't delete it from rom.
I unninstaled all the bloatware from my HTC One X once I rooted it. But then, I could not install OTA updates anymore. I had to get an old backup from my Nandroid, restore all the bloat just to be able to install the update. Was really annoying.
Now, I moved to one Butterfly S. This time, I plan to root and freeze all the bloat with Titanium Backup. Once and update is released, I can just go there and undo the freeze.
Did you tried freezing the apps you don´t want? Maybe it can prevent the crashing.
fanghan said:
I have been trying to uninstall all the bloatware from my HTC Butterfly S after unlocking the bootloader and rooting it. However, sometimes randomly while uninstalling the bloatware (like the Korean keyboard) with titanium backup, the device will crash and restart itself, and previously uninstalled apps would appear back again.
[...]
Edit : okay so restarting the phone without it crashing does the same things too..all the bloat apps came back :/
Click to expand...
Click to collapse
The system partition seems to be write-protected somehow. Any changes you make from within a running system are lost on reboot, even though you remount /system as read-write. In order to circumvent this, you can write down a list of APKs you want to remove, reboot into recovery and do it from there – in that case the changes are permanent.
Warell said:
I unninstaled all the bloatware from my HTC One X once I rooted it. But then, I could not install OTA updates anymore. I had to get an old backup from my Nandroid, restore all the bloat just to be able to install the update. Was really annoying.
Now, I moved to one Butterfly S. This time, I plan to root and freeze all the bloat with Titanium Backup. Once and update is released, I can just go there and undo the freeze.
Click to expand...
Click to collapse
I have certain doubts as to whether an OTA will work on any rooted Butterfly S if one gets released eventually. Butterfly S suffers from the same problem as One, i.e. certain apps come preinstalled in /data (see this thread for a list of those that were in /data/preload on mine) and the OTA update script checks their integrity as well, but they are wiped in the process of unlocking the bootloader.
Now, obviously, I made a backup of those apps, but that may not be enough, it's perfectly possible there were other things in /data as well and there's not really a way to find out unless HTC releases a RUU, in which case we can look into its contents.
koniiiik said:
The system partition seems to be write-protected somehow. Any changes you make from within a running system are lost on reboot, even though you remount /system as read-write. In order to circumvent this, you can write down a list of APKs you want to remove, reboot into recovery and do it from there – in that case the changes are permanent.
I have certain doubts as to whether an OTA will work on any rooted Butterfly S if one gets released eventually. Butterfly S suffers from the same problem as One, i.e. certain apps come preinstalled in /data (see this thread for a list of those that were in /data/preload on mine) and the OTA update script checks their integrity as well, but they are wiped in the process of unlocking the bootloader.
Now, obviously, I made a backup of those apps, but that may not be enough, it's perfectly possible there were other things in /data as well and there's not really a way to find out unless HTC releases a RUU, in which case we can look into its contents.
Click to expand...
Click to collapse
So basically your saying that we should not unlock the bootloader and I don't think it make sense to unlock it because there is no s off
Sent from my HTC Butterfly using XDA Premium 4 mobile app
daorderdillon said:
So basically your saying that we should not unlock the bootloader and I don't think it make sense to unlock it because there is no s off
Click to expand...
Click to collapse
No, that's most certainly not what I'm saying. All I'm saying is that if you unlock your bootloader, any OTA upgrades might not work because some files from the original ROM are lost in the process. This is just unfounded speculation based on the fact that this was true for the One and the Butterfly S shows the same symptoms. Nevertheless, we have yet to see whether this is true or not since HTC haven't released any OTAs for the Butterfly S yet.
If you don't need root or custom recovery, feel free not to unlock your bootloader and stick to the vanilla stock ROM. Some of us need root, which means we did unlock our bootloader and are willing to bear the consequences.
I don't see any reason why not having a S-OFF exploit would mean that it's not worth unlocking. Just unlocking the bootloader via HTCdev is perfectly sufficient to install a custom recovery or ROM, from what I gather around the interwebs, custom kernels should be all right as well. If you want to argue that you need a custom splash screen then I'm willing to argue that you don't.
Anyway, this entire discussion is way off-topic already so I'll stop here.
This is an interesting discussion, although i'm away from my turf, as i got an HTC One - on second thought, it isn't so different from the Butterfly S. I was looking for a way to get rid of the bloatware and keep stock Sense UI. The problem, as has been discussed in the replies above - there is a "bug" when unlocking the bootloader from htcdev that causes some data to be wiped out. From what i've read all several similar cases, you will not be able to update via OTA. Basically, if you want to go back to stock with OTA support, you'll need to download a stock rom matching your device's region and restore that onto your device. I personally don't think it's worth it, as HTC will be releasing 4.3 soon (by the end of this month, according to leaks).
However, i was hoping to find an app (much like what already exists for the Galaxy S4) that would easily disable or block bloatware apps, without uninstalling them (that wouldn't be possible without rooting anyway). I'm really hoping that such an app exists for the One or Butterfly S, as i've been able to manually disable apps running in memory through Settings > Apps > All and i've noticed significant improvements, especially in the AnTuTu benchmarks. An automated way of doing that would have been really awesome.

[Q] Disable Hands Free Activation

I've seen several discussions about this around the web, but none of the solutions I've read have helped me.
I have the Sprint HTC One M8 with custom ROM (ViperOneM8). The phone is activated and works fully, yet on reboot I always get the 'Hands Free Activation' wizard. If I hit Activate and then Done it goes away and I can use my phone normally, but every reboot brings it back up again.
Ideas?
I'll add that I have custom recovery (TWRP), rooted, custom ROM, and S-Off.
Htc m8 and sprint
aprwx said:
I've seen several discussions about this around the web, but none of the solutions I've read have helped me.
I have the Sprint HTC One M8 with custom ROM (ViperOneM8). The phone is activated and works fully, yet on reboot I always get the 'Hands Free Activation' wizard. If I hit Activate and then Done it goes away and I can use my phone normally, but every reboot brings it back up again.
Ideas?
Click to expand...
Click to collapse
Sorry I have the same issue with mine and finally ive called htc for a swap out phone to see if its a software defect. htc said that if it still occures it may bee an issue with sprint...
Are you running stock, or did you install a custom rom?
Sent from my Sprint HTC One M8
... I ask because when I first bought the phone it activated fine (with delay because it was the same day that the Galaxy S5 was released and Sprint had a delay activating phones that day)....but then I installed a custom ROM and am having this problem now with the custom ROM.
Thought I'd post here to help others who stumble on this thread....
This removed Hands Free Activation for me on Sprint's HTC One M8:
j to the 4n said:
Re: Hands Free Activation ... http://forum.xda-developers.com/showpost.php?p=50392144&postcount=2287
Click to expand...
Click to collapse
This worked for me, but a couple notes:
- I wasn't able to do the command line or Root Explorer. Both methods gave me errors, seemingly that I didn't have permissions to rename or delete the file. Why would that be? I went into TWRP and 'Fixed Permissions' but that didn't help. -- found it interesting that boot up is a LOT slower now that I fixed permissions.
- I ended up going into TWRP, mounting system and then going into TWRP's file manager to rename the file. Now Hands Free Activation no longer comes up (Thank you!), but I also note that neither PRL Update or Update Profile do anything now. Not a huge deal because before they just errored out anyway, but I would think it would be important to be able to do PRL/Profile updates.
aprwx said:
Thought I'd post here to help others who stumble on this thread....
This removed Hands Free Activation for me on Sprint's HTC One M8:
This worked for me, but a couple notes:
- I wasn't able to do the command line or Root Explorer. Both methods gave me errors, seemingly that I didn't have permissions to rename or delete the file. Why would that be? I went into TWRP and 'Fixed Permissions' but that didn't help. -- found it interesting that boot up is a LOT slower now that I fixed permissions.
- I ended up going into TWRP, mounting system and then going into TWRP's file manager to rename the file. Now Hands Free Activation no longer comes up (Thank you!), but I also note that neither PRL Update or Update Profile do anything now. Not a huge deal because before they just errored out anyway, but I would think it would be important to be able to do PRL/Profile updates.
Click to expand...
Click to collapse
Thanks for the heads up about this. I just changed the .apk to .bak with root explorer, noted the path and file name so I can change it back to update the pir and prl. Mine didn't usually error out.
aprwx said:
I've seen several discussions about this around the web, but none of the solutions I've read have helped me.
I have the Sprint HTC One M8 with custom ROM (ViperOneM8). The phone is activated and works fully, yet on reboot I always get the 'Hands Free Activation' wizard. If I hit Activate and then Done it goes away and I can use my phone normally, but every reboot brings it back up again.
Ideas?
Click to expand...
Click to collapse
I'd find another ROM.
I think you are always safest to stay with Sprint "Native" ROMs on a Sprint Phone. Mainly because the developer usually doesn't have a Sprint Phone to fully flesh it out on a regular day to day basis. There are subtle differences between all the carriers. You also end up with a Build of Android that exactly matches the corresponding build of Firmware.
Once you do get back on a native ROM you *MIGHT* have to do a ##72786# (full wipe) to get things back in order.
What I think are related issues lead me to a fix that was common to several problems I was having:
http://forum.xda-developers.com/sprint-htc-one-m8/general/fix-data-issues-t2819915
simply freeze vDM

[Q] rooting sprint m8

I wasn't going to root my phone but this "its on" app is killing half my battery now, so I guess its time. Can someone point in in the right direction for a tutorial that can root after the 4.4.4 update? also, does anyone know if there's a way to root without erasing the phone? I don't want to reinstall everything, I really just want to get rid of the its on app. Its unbelievable that sprint hasn't fixed this in over a month.
The method to root is the same as it is with previous Android versions on this device. Unlocking your bootloader factory resets the device, but you can connect your phone to your PC and backup whatever you need to beforehand. HTC backup also works great for backing up apps, ringtones, etc. I've used it in the past and it works quite well. As far as the ItsOn garbage, you'll need to flash a ROM that removes it from the device, as it's not simply an app that you can delete.

ROM Flash not working - multiple attempts, different ROMs

I soft bricked my Sprint HTC One M7 and can't get a new ROM working. I'll start by saying I am probably in over my head and never should have done this to begin with. On the bright side, this is a backup device essentially being used as a toy. I have spent hours trying different things and searching the forums without finding any threads with the same issue. My apologies in advance if there is a thread I could have read but I could not find one. So, on to what I have done and the current issues I am having.
I'm not sure all of this background is necessary but it can't hurt. I successfully unlocked the phone, loaded TWRP, and I thought, rooted the phone, all using the guide on htconeroot.com. I attempted to run a program that requires root access and it said "no root access". I then used fastboot to load SuperSU 2.46 and it all went south. After I loaded SuperSU 2.46, the phone hung on the HTC One load screen.
At this point, I decided I would just Flash a new ROM to the phone. After spending hours trying to get adb to recognize the phone (a whole different story), I finally managed to get adb sideload to work and flashed the most recent version of Android Revolution. I went through the entire install process and got a message saying the install was successful. However, when the phone rebooted, as it was loading it switched to say recovery at the top and loaded into TWRP. I noticed the message icon at the bottom, center of the screen and tapped it. It switched to a gray screen which said "updating partition details..." at the bottom. It just hangs on that screen. I wiped cache with no luck and had same result when I re-flashed.
I tried Viper ROM 8.0 and had the exact same issue as Revolution.
I attempted Bad Boyz 1.4 which got a little further but still wouldn't load. I tried Bad Boyz 1.2 to see if their ROM with Sense 5.0 would work. That version said install successful and rebooted. I got really excited when it showed updating Android and started counting through app updates. It got to the unlock screen with the time and HTC default background picture. When I pull up the lock to unlock the phone, I get error messages that messages stopped unexpectedly and HTC Sense stopped unexpectedly. It then sits on a white screen with the green HTC logo for ~10 seconds and then reboots. If I let it go without trying to unlock it, it still reboots after 20-30 seconds, caught in an unending boot loop.
I am at a loss at this point. Do I try a few other ROMs until I find one that works? Am I doing something wrong? I should add that the guide I used said nothing about a Nandroid backup so I don't have one ?, and I really don't want to go back to stock anyway.
Thanks in advance for any help.
Bucknut816 said:
I soft bricked my Sprint HTC One M7 and can't get a new ROM working. I'll start by saying I am probably in over my head and never should have done this to begin with. On the bright side, this is a backup device essentially being used as a toy. I have spent hours trying different things and searching the forums without finding any threads with the same issue. My apologies in advance if there is a thread I could have read but I could not find one. So, on to what I have done and the current issues I am having.
I'm not sure all of this background is necessary but it can't hurt. I successfully unlocked the phone, loaded TWRP, and I thought, rooted the phone, all using the guide on htconeroot.com. I attempted to run a program that requires root access and it said "no root access". I then used fastboot to load SuperSU 2.46 and it all went south. After I loaded SuperSU 2.46, the phone hung on the HTC One load screen.
At this point, I decided I would just Flash a new ROM to the phone. After spending hours trying to get adb to recognize the phone (a whole different story), I finally managed to get adb sideload to work and flashed the most recent version of Android Revolution. I went through the entire install process and got a message saying the install was successful. However, when the phone rebooted, as it was loading it switched to say recovery at the top and loaded into TWRP. I noticed the message icon at the bottom, center of the screen and tapped it. It switched to a gray screen which said "updating partition details..." at the bottom. It just hangs on that screen. I wiped cache with no luck and had same result when I re-flashed.
I tried Viper ROM 8.0 and had the exact same issue as Revolution.
I attempted Bad Boyz 1.4 which got a little further but still wouldn't load. I tried Bad Boyz 1.2 to see if their ROM with Sense 5.0 would work. That version said install successful and rebooted. I got really excited when it showed updating Android and started counting through app updates. It got to the unlock screen with the time and HTC default background picture. When I pull up the lock to unlock the phone, I get error messages that messages stopped unexpectedly and HTC Sense stopped unexpectedly. It then sits on a white screen with the green HTC logo for ~10 seconds and then reboots. If I let it go without trying to unlock it, it still reboots after 20-30 seconds, caught in an unending boot loop.
I am at a loss at this point. Do I try a few other ROMs until I find one that works? Am I doing something wrong? I should add that the guide I used said nothing about a Nandroid backup so I don't have one ?, and I really don't want to go back to stock anyway.
Thanks in advance for any help.
Click to expand...
Click to collapse
You have a CDMA Sprint htc one (M7WLS variant) ARHD is a rom for GSM htc one (M7_UL or M7_U variants). You can only flash custom recovery, custom roms, kernels ect that are made for the Sprint HTC One (M7WLS).
So you can flash twrp for sprint, then flash a sprint custom rom
or
return to your stock rom using a sprint RUU.
You can find the sprint roms in the "Sprint HTC One" section of xda. TWRP recovery for sprint can be found on their website, the filename should ends with "wls.img"
If your phone was running on android lollipop then using a lower version than supersu2.46 is what caused the bootloop. Thats why you shouldn't follow outdated guides from 2013 like the one at htconeroot.com
We can help you flashing the custom recovery/rom or the RUU, its up to you.
Thanks for the quick reply. I probably should have realized the CDMA vs GSM issue. I used to sell Sprint phones 20 years ago.
I would rather go with a custom ROM on the phone without all of the bloatware/sprint garbage.
I understand the issue with ARHD but what about Bad Boyz? I am using their Sprint ROM v 1.2 from the Sprint M7 section with no luck. It loads Android all the way to the lock screen with the time, status bar, and sense skyscraper wallpaper but then crashes. I tried 1.4 first and it got to the unlock screen but no status bar or sense background (skyscraper wallpaper).
You mention TWRP for Sprint. Is there a specific Sprint version and if I used a different version would it have gotten that far? Should I install a different version of TWRP and try flashing Bad Boyz again?
Bucknut816 said:
Thanks for the quick reply. I probably should have realized the CDMA vs GSM issue. I used to sell Sprint phones 20 years ago.
I would rather go with a custom ROM on the phone without all of the bloatware/sprint garbage.
I understand the issue with ARHD but what about Bad Boyz? I am using their Sprint ROM v 1.2 from the Sprint M7 section with no luck. It loads Android all the way to the lock screen with the time, status bar, and sense skyscraper wallpaper but then crashes. I tried 1.4 first and it got to the unlock screen but no status bar or sense background (skyscraper wallpaper).
You mention TWRP for Sprint. Is there a specific Sprint version and if I used a different version would it have gotten that far? Should I install a different version of TWRP and try flashing Bad Boyz again?
Click to expand...
Click to collapse
If there is a specific version of twrp mentioned in bad boyz thread, use that one. Otherwise any recent version should work but yes it must absolutely be a sprint twrp recovery.
Here are all the sprint version: https://dl.twrp.me/m7wls/
The M7_UL have different partition layout than the Sprint version (see both links below). The kernel (/boot partition), the OS (/system partition) and the radio (/radio) are not located at the same place on the memory. If flashing a M7_UL rom a Sprint phone you'll end up with the OS flashed on the Kernel partition, the Kernel flashed on the radio partition etc... This should be easily fixed by re-flashing a custom rom (if the rom does include its own kernel and radio to overwirte the bad flash). In the worst case, you'll have to flash a RUU to fix everything and then relfash sprint twrp and a sprint custom rom
http://forum.xda-developers.com/showthread.php?t=2317621
http://forum.xda-developers.com/showthread.php?t=2236254
Thanks for all the help. I was able to work on it again last night. I updated TWRP and was able to get viper ROM loaded and working...mostly. I had to delete HTCSetupwiz.apk to get out of the hands-free activation loop. The only problem is, the home key does not work. I get the haptic response from it but it doesn't do anything.
I tried Viper 8.0 and 9.0 and had same issue. I tried to switch to Bad Boyz and adb was hanging at ~7%. I am feeling much more comfortable with all of this and I think I can fix the loading issue with Bad Boyz. I just tired of fiddling with it last night. Before I do that, any idea how to get the home key working with Viper?
Would it be best to flash the ruu and start over just to make sure there are no lingering problems from screwing up the partitions?
Thanks again for all the help.
alray said:
If there is a specific version of twrp mentioned in bad boyz thread, use that one. Otherwise any recent version should work but yes it must absolutely be a sprint twrp recovery.
Here are all the sprint version: https://dl.twrp.me/m7wls/
Click to expand...
Click to collapse
Sorry to bug in... yeah I know, no need to tell me, people have been telling me plenty enough of their kind thoughts..., but the universal builds http://android.cmphys.com/twrp-m7/
should work on M7_U, M7_UL, M7_WLS, M7_WLV
they use "by-name" partitions, etc
maybe even the official builds, as mdmower is the maintainer, but unsure, since I haven't checked.
Obviously, still doesn't allow you flash a ROM not meant for your particular device, especially that many installer-scripts still use hardcoded mmcbkls, which would seriously break things
hmm, that reminds me.... have to check on something else too

HTC Desire 626s - Need to completely start over

Hopefully someone has some input on this.
My phone is a 626s, a32eul on T-Mobile. I've had this phone since it came out and really grew to liking it, but lately it's been nothing but a headache. I had it rooted with Kingroot (was the only root at the time that worked) since I got it, but never went any further because there wasn't any ROMs available at the time. Recently I started messing around again and decided to reset and try to upgrade to Marshmallow, but I seem to have caused more problems with it than I anticipated.
I've lost the stock recovery completely, currently have TWRP installed. I've tried to remove Kingroot but no matter what I try it won't go away. I followed a replacement procedure from Supersu, but Kingroot is still present. None of the uninstalls seem to work, tried deleting all related files that I could find with root explorer but it still comes back. Factory reset and wiped everything several times, still there . .
My main reason for all this is to load a de-bloated ROM ( I only have 8G of storage, less than 1G after all the useless BS apps update themselves ) I've turned off all the auto-update stuff on the phone and Google, but it still manages to loop back and download everything anyhow.
Would anybody have some input on this? I'd like to get it back to when I took it out of the box for the first time so I can start over, or at very least get rid of King for good so SU can take over? I've found a couple image files for the stock recovery, but all seem to be corrupted or not correct for this phone.
Thanks in advance for any help you can provide . .
And now I think I've done it. Was messing around in TWRP, I think I fat-fingered the system option when wiping, have no operating system now . . I think my frustration has gotten the better of me on this one.
I might have this thing finally figured out. Seems when I upgraded my laptop to Win10, I never re-installed C++ to keep the RUU file running. I must have sobered up enough because its downloading the file right now after 8 hours of smashing my face on 2 keyboards . .
Yes.
re flash with the original RUU then flash twrp recovery.
With twrp recovery install supersu.
Then you will be rooted.
Best way to flash the RUU.
#1 rename the RUU to 0PM9IMG.zip
#2 Copy it to the sd card.
#3 Put sd card in the phone.
#4 Boot to download mode.
Vol DWN plus Power.
#5 it should ask and say hit vol up to flash the ruu when you boot to download mode.
#6 Hit volume up.
No messing around with windows this way and it works alot better off the sd card.
Download one of the RUU's that we have uploaded to here.
If you need the RUU zip rile let me know.

Categories

Resources