Bootloader unlocking, flashing, and data loss - One (M7) Q&A, Help & Troubleshooting

I posted this in general but it occurs to me that was the wrong forum. I apologize for the double-post.
Hey everyone, I'm kinda a newb in the android scene (long-time iphone user), and I just got an unlocked HTC One 32gb. I'm thinking about unlocking the bootloader and installing one of the custom roms available here, and I had a few questions.
First, if I unlock the bootloader, will it delete all my data and apps? I've seen that it does delete some of the pre-installed HTC apps (that can be reinstalled using a flashable package I also saw here), but what about my apps, homescreen settings, text messages, pictures, etc? Will all of that get deleted?
If it does, is there a good way to back it up so it gets put back exactly the way I set it up (in particular, the home screens?)
Finally, when flashing one of the tweaked ROMs, will that process delete the data I described above?

Gabik123 said:
I posted this in general but it occurs to me that was the wrong forum. I apologize for the double-post.
Hey everyone, I'm kinda a newb in the android scene (long-time iphone user), and I just got an unlocked HTC One 32gb. I'm thinking about unlocking the bootloader and installing one of the custom roms available here, and I had a few questions.
First, if I unlock the bootloader, will it delete all my data and apps? I've seen that it does delete some of the pre-installed HTC apps (that can be reinstalled using a flashable package I also saw here), but what about my apps, homescreen settings, text messages, pictures, etc? Will all of that get deleted?
If it does, is there a good way to back it up so it gets put back exactly the way I set it up (in particular, the home screens?)
Finally, when flashing one of the tweaked ROMs, will that process delete the data I described above?
Click to expand...
Click to collapse
Unlocking your bootloader will wipe all data from your phone including your Virtual SD Card, you can download Carbon from here to backup all your apps.
It won't save your home screens, SMS Backup and Restore (also from Play Store) can backup your SMS. Just copy any pictures etc off your device before you start.
Flashing a new custom ROM for the first time will require you to wipe everything, so do this straight after you've unlocked your bootloader and flashed custom recovery.
Then restore Apps / SMS etc..

Related

[Q] Step by Step Guide to installing a Custom ROM

Hello,
I'm new to Android and would like to install the Android Revolution HD ROM on my HTC one.
Is there a step by step guide on how to install this while taking a backup incase I want to go back to the original state?
Thanks in advance
I don't think You will find a step by step guide. But You should find quite a nice one in the ARHD thread. Just read carefully first post.
First of all You need to unlock on htcdev.com. There is a perfect guide there.
Then You need to install custom recovery (CWM, TWRP) and You're free to install whatever ROM You want.
Also from recovery You can make a backup.
You will find guide for installing recovery in corresponding thread (it will probably be through fastboot).
But I actually never had problems using guides in Mike's threads and I'm using his ROMs for quite a long time.
Thanks,
I read some online guides but am still a bit confused. What I want to do is:
1) Unlock the Bootloader (figured this out on the htcdev site)
2) Is unlocking the bootloader the same as rooting or do I have to do something else for that?
3) Do a nandroid backup
4) Install the Custom ROM
In the process, how do I get back my apps, settings, and data such as sms', call records, etc?
Would really appreciate it if someone can tell me exactly how to do this.
There is two guide for unlock and flash rom:
1) Guide by Mike1986.
2) Guide by Torxx
Edit: nevermind, guich already posted the two links you need.
But I will add a couple points:
For non-titanium (ie non-root) backup of personal data check out HTC's own backup service (hat tip to
http://forum.xda-developers.com/showthread.php?t=2311969 )
Note you don't have to really worry about backing up apps if you downloaded them all from the play store, those will sync up fine when you config your new ROM with the same google account.
Sent from my HTC One using xda app-developers app
Thank you both for the links and information. I will attempt it later today.
I can't find HTC Backup in my app drawer / play store although it shows up in my app list. Weird!
Also, can I still receive OTA updates from HTC on the phone once I have installed Android Revolution HD?
No, you can't get OTA updates unless you're totally stock - unlocking your bootloader stops you being able to receive OTA updates, as some system apps are stored in the data partition, and are nuked when you unlock the bootloader. There may now be a solution, but other than having the correct RUU, I don't believe it's currently possible.
msb111 said:
Thank you both for the links and information. I will attempt it later today.
I can't find HTC Backup in my app drawer / play store although it shows up in my app list. Weird!
Also, can I still receive OTA updates from HTC on the phone once I have installed Android Revolution HD?
Click to expand...
Click to collapse

[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] Accidentally wiped data while unlocking bootloader

Hi guys, I made kind of a boo boo while unlocking the bootloader for my M7. So here's what happened, I received an update notification OTA so I had to relock my bootloader and install a stock recovery. No problems so far, here's where I make my fatal mistake.. I used titanium backup to backup my data and stuff but completely forgot that unlocking the bootloader does a complete wipe, I thought it was only a minor wipe where it keeps the internal storage data. So I update OTA, unlock the bootloader, flash custom recovery and root it and BAM! all my stuff is gone, nothing in my internal storage! I'm so mad with myself cause I had saved messages, game saves, pics etc but it's all disappeared.. I did a nandroid backup beforehand but it's no use. If I had known it does a complete factory reset I would of simply copied everything to my computer, and it's my fault for not reading on that before..
My question. Is there a possible way to recover the lost data like software cause it took me a long time to progress with my games and have a couple of years of saved messages from my old phone to the M7 and it's all wiped, pictures I don't care about too much. I'd really appreciate if someone could help me out. Cheers
Stevo001457 said:
Hi guys, I made kind of a boo boo while unlocking the bootloader for my M7. So here's what happened, I received an update notification OTA so I had to relock my bootloader and install a stock recovery. No problems so far, here's where I make my fatal mistake.. I used titanium backup to backup my data and stuff but completely forgot that unlocking the bootloader does a complete wipe, I thought it was only a minor wipe where it keeps the internal storage data. So I update OTA, unlock the bootloader, flash custom recovery and root it and BAM! all my stuff is gone, nothing in my internal storage! I'm so mad with myself cause I had saved messages, game saves, pics etc but it's all disappeared.. I did a nandroid backup beforehand but it's no use. If I had known it does a complete factory reset I would of simply copied everything to my computer, and it's my fault for not reading on that before..
My question. Is there a possible way to recover the lost data like software cause it took me a long time to progress with my games and have a couple of years of saved messages from my old phone to the M7 and it's all wiped, pictures I don't care about too much. I'd really appreciate if someone could help me out. Cheers
Click to expand...
Click to collapse
Unfortunately I think it's all lost, Most Android games have a cloud backup system, Real Raceing 3 for example allows you to restore your game progress from the in game settings see attached screen shots. Most other games will restore your progress on login if you selected "Backup My Device With my Google account" when you setup your rom.
Messages, Pics, Music and so on are probably irrecoverable. It's possible a Recovery software may help but will most likely be expensive. So unless somebody has some jewel of info to post here I think it's safe to say it's lost.
For the record you don't need to relock your bootloader to install OTA updates. As long as you have a Complete stock rom with stock recovery OTA's will install fine while Unlocked with either s-on or s-off. Relocking is only required for manually updating firmware with a device that's s-on. :good:
Right thanks Danny, I'll take that into account next time. The forum said it was optional so I unlocked it to be safe but didn't realise it would be so detrimental to my files. On the bright side I did make a nandroid which included my old messages by good fortune. Pretty darn happy to retrieve those, got some of my data back and had a duplicate of my music on the laptop. Lost some of my important game states which I'm trying to salvage, but if I can't then meh.

[Q] Q, Rooted Exhibit, whats next. & help

First Root Ive ever done.
I have a few questions.
I'm done rooting my phone with cwm, and root-stock, I'm confused what to exactly do next,
I am using Titanium backup, and I've frozen several apps including the ones that were running w/o my say so, I haven't removed anything as of yet, but I feel as if I'm still missing a few steps somewhere, and that's why I haven't moved forward as of yet.
I wondering is there anything else I need to before removing the bloatware?
Is there a program available to debug, partition, or make adjustments to it while connected to a computer?
+
Is there a way to see what is sending loads of data out, I am using avast to block most of the apps from using my network data, exception of the ones I use on a regular basis.
+
And what settings should everything be on, in the *#197328640# menu, I may have buggered a few things up in it. *a few days prior to root.
Any and all help will be great, thank you
*I used the info from this site, found a few broken kinks, searched some more, and found the files for the root.

Question Regarding Changing ROM

Hello everyone. I asked this in another thread for a specific ROM, but I figured it'd be better to have my own thread about this. I have not had a custom ROM in many years. This is mostly due to living in the U.S. and having a locked bootloader since (I believe) the Samsung Galaxy S6. I finally purchased an Exynos device and have the true root with TWRP that I have been missing for so long. There used to be no way to keep apps and app data when changing ROMs. If I were to use this ROM is there a way to keep existing apps and the app-data associated with them? Or is a clean install followed by re-downloading everything and then setting it all back up again the only option when changing ROMs still?
P.S. I like the idea of a full wipe still. That just gets rid of everything, and I like the clean start for the most part. I just didn't know with the way these backups work now (it used to be just a single backup of the entire ROM, but now it is broken into sections) if possibly one could restore apps and app data after the full wipe and loading the new ROM. Then everything would be a clean install (fresh start) with the exception of the apps.

Categories

Resources