Unlock HTC One (M8) bootloader without data loss - One (M8) Q&A, Help & Troubleshooting

I was wondering if it's possible to unlock the bootloader of my HTC One M8 without losing data. I've read HTCDev's route but that wipes the phone. I've gotten upto a point. I just need to unlock it. I've done all the identifier token stuff so I just need to unlock. If anyone has a method (free method) to unlock the bootloader without data loss, please tell me.

Can't be done.

Backup your data, then restore it after the bootloader unlock.
There are a variety of methods to backup data (Gmail to backup contacts, Helium app, copy to computer or SD, lots more), so there really is no excuse to be running around without your personal data backed up (if that is the case).
Data loss can happen anytime (not just unlocking the bootloader). And waiting for a disaster then asking "how do I recover my data" is not the right way to go about things.

Um, if you are willing to shell out $25 and go S-off, you can. In fact, Sunshine leaves your bootloader unlocked as part of the process.
Of course, this isn't free (you have to use Sunshine), and for some variants of the phone King Root is required (and a pain the backside) However, there is a way to do what you are asking.
However, I can't disagree with the idea that you should be making backups anyway, and since you already have a token, it's not like you are saving much at this point by not just unlocking the traditional way and restoring your backups.

redpoint73 said:
Backup your data, then restore it after the bootloader unlock.
There are a variety of methods to backup data (Gmail to backup contacts, Helium app, copy to computer or SD, lots more), so there really is no excuse to be running around without your personal data backed up (if that is the case).
Data loss can happen anytime (not just unlocking the bootloader). And waiting for a disaster then asking "how do I recover my data" is not the right way to go about things.
Click to expand...
Click to collapse
I backed up my stuff and unlocked without problem. Problem now is HTC Sync doesn't want to talk to my phone. It gives me a popup saying "This device needs a newer verison of HTC Sync". Im on the latest version but nothing works. I also made an ADB Backup and am slowly resolving the apps it gets stuck on like Fitbit and "com.google.quicksearchbox"

Some posts on this page may help you:
http://forums.androidcentral.com/t-htc-one/366764-trouble-syncing-phone-htc-sync-manager.html
Sent from my HTC One M8 using XDA Free mobile app

c5satellite2 said:
Some posts on this page may help you:
http://forums.androidcentral.com/t-htc-one/366764-trouble-syncing-phone-htc-sync-manager.html
Sent from my HTC One M8 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks for the help but after I posted this I unlocked, installed TWRP and installed CM12.1.

redpoint73 said:
Backup your data, then restore it after the bootloader unlock.
There are a variety of methods to backup data (Gmail to backup contacts, Helium app, copy to computer or SD, lots more), so there really is no excuse to be running around without your personal data backed up (if that is the case).
Data loss can happen anytime (not just unlocking the bootloader). And waiting for a disaster then asking "how do I recover my data" is not the right way to go about things.
Click to expand...
Click to collapse
About what you said, I made a backup and then had to restore my HTC M8 running Android 5. Of course I had recover my apps but not my pictures, they are in Google Photos now but not on my phone.

chapita said:
About what you said, I made a backup and then had to restore my HTC M8 running Android 5. Of course I had recover my apps but not my pictures, they are in Google Photos now but not on my phone.
Click to expand...
Click to collapse
Not sure of the point of this post. Is there a question here? Or just sharing your personal experience?

redpoint73 said:
Not sure of the point of this post. Is there a question here? Or just sharing your personal experience?
Click to expand...
Click to collapse
The point is that despite making a backup using the Google account I wasn't able to recover my pictures from the memory card. Clearly I misunderstood the "backup concept" here.
Saying that you have two choices here: one of them is to tell me that there is a way (if there is) to recover my pictures from the phone which will become my post a question and myself a happy man. The other one is to leave the post as it is. In that case, it will be just a personal experience.

chapita said:
The point is that despite making a backup using the Google account I wasn't able to recover my pictures from the memory card. Clearly I misunderstood the "backup concept" here.
Click to expand...
Click to collapse
Yes, you misunderstood. Backing up using Google isn't going to save or allow you to recovery anything from the "memory card".
chapita said:
tell me that there is a way (if there is) to recover my pictures from the phone which will become my post a question and myself a happy man.
Click to expand...
Click to collapse
What do you mean by "memory card"? Do you mean internal memory, or the removable SD?

Related

[Q] Recover rom from non-root Desire

Title says it all.
I am new to the android world and the information you get from a google search is convoluted at best.
I have a desire that I rooted using UnRevoked3. I was however misled by all the research I did that I could make a backup of my system and data before the generic rom was flashed. I now have a rooted phone without any backup to revert back to.
My phone is Ntelos CDMA HTC Desire android 2.1
I do however have access to a non-rooted (same phone and network) phone if it is at all possible to recover the recovery and system partitions without rooting the phone my cousin will let me do so.
Can this be done? if so a detailed explanation of how to do it would be helpful.
waynestir said:
Title says it all.
I am new to the android world and the information you get from a google search is convoluted at best.
I have a desire that I rooted using UnRevoked3. I was however misled by all the research I did that I could make a backup of my system and data before the generic rom was flashed. I now have a rooted phone without any backup to revert back to.
My phone is Ntelos CDMA HTC Desire android 2.1
I do however have access to a non-rooted (same phone and network) phone if it is at all possible to recover the recovery and system partitions without rooting the phone my cousin will let me do so.
Can this be done? if so a detailed explanation of how to do it would be helpful.
Click to expand...
Click to collapse
If I understand correctly you want to "unroot" you phone. This is done by installing htc Sync and running the appropriate RUU from this thread: http://forum.xda-developers.com/showthread.php?t=695667.
Thre is no reason, besides the fact that you want to return your phone for warranty purposes and/or that you want to have stock system, for you to revert to stock.
Copying and pasting backups seems like a very bad idea since there might be subtle differences between phones which thus might generate more problems than it solves.
I'm not saying that it's not possible, it's not recommended. There are a bunch of other safer alternatives.
Yes I want to revert to stock rom which I no longer have. I just wanted to experiment a little. I never would have done in the first place had I known there would be no going back.
There are no stock roms availibe for my phone. I need a RUU from Ntelos not verison or USCC.
No need to, you can't backup a unrooted rom. Since you are already rooted just make a nandroid of that rom to revert to. Only when things go really wrong you need to use the ruu.
Sent from my HTC Desire using XDA Premium App
TheGhost1233 said:
No need to, you can't backup a unrooted rom. Since you are already rooted just make a nandroid of that rom to revert to. Only when things go really wrong you need to use the ruu.
Sent from my HTC Desire using XDA Premium App
Click to expand...
Click to collapse
No its just that nobody has sorted out how. I ran the US Cellular update on my phone and got a stock USSC non-root phone working on Ntelos network. I then ran root again to get my data back of course.
Their app runs on windows pc and doesn't require special access such as root. All the capability is there I'm sure. just under lock and key.
waynestir said:
No its just that nobody has sorted out how. I ran the US Cellular update on my phone and got a stock USSC non-root phone working on Ntelos network. I then ran root again to get my data back of course.
Their app runs on windows pc and doesn't require special access such as root. All the capability is there I'm sure. just under lock and key.
Click to expand...
Click to collapse
What do you mean by getting your data back ? All your data is lost (contacts, apps, messages, etc) when you flash a new ROM. The only things that stay intact are those which you have saved on your SD.
There are plenty of ways to backup stuff from unrooted devices. However non of them provide any useful safety backup regarding rooting or flashing.
Sent from my HTC Desire using XDA Premium App
paul.c said:
What do you mean by getting your data back ? All your data is lost (contacts, apps, messages, etc) when you flash a new ROM. The only things that stay intact are those which you have saved on your SD.
Click to expand...
Click to collapse
from a backup that I had made prior to flash.
TheGhost1233 said:
There are plenty of ways to backup stuff from unrooted devices. However non of them provide any useful safety backup regarding rooting or flashing.
Sent from my HTC Desire using XDA Premium App
Click to expand...
Click to collapse
If there are ways then that is what I am looking for. I have no memory of Unix/Linux command line. I'm sure I have a text laying around somewhere and could refresh my memory. However I elect to ask those in the know to guide me.
I simply want to get a stock system rom from the same make and model phone on the same network without voiding the warranty on that phone. My service provider had very little bloat ware and didn't remove apps that I found missing in the verizon/US Cell stock roms. My phone being root or not is not the question. For that I don't care accept if I ever need warranty work done. And that is just my luck sometimes so.. better safe than sorry.

[Q] root

hello,
My wife has a WFS and has a lot of apps preinstalled on her phone.
i looked a time ago to root it to remove them, but in that time, i didn't found a solution.
Now i see that there are a lot of apps an methots to root it, putting it S-off, ...
but i'm not sure which one to use.
What do i want?
I want to be able to remove all preinstalled apps, without loosing all the data/other apps/... there are on at this moment.
What is a good methot doing so?
tx!
I am definitely not an expert, but I've been playing a lot with my WFS. To clear those pre installed apps, you need admin privileges, ie root access. The most simple solution I used was a dedicated tool, unlockroot http://www.unlockroot.com. But, as a prerequisite, phone must be S-on. Otherwise, you will have to S-On it first.
Sent from my HTC Wildfire S A510e using xda app-developers app
koenh78 said:
hello,
My wife has a WFS and has a lot of apps preinstalled on her phone.
i looked a time ago to root it to remove them, but in that time, i didn't found a solution.
Now i see that there are a lot of apps an methots to root it, putting it S-off, ...
but i'm not sure which one to use.
What do i want?
I want to be able to remove all preinstalled apps, without loosing all the data/other apps/... there are on at this moment.
What is a good methot doing so?
tx!
Click to expand...
Click to collapse
here you go...
these are the tutorial links...
1) to unlock bootloader http://forum.xda-developers.com/showthread.php?t=1432199
2) to root ur device http://forum.xda-developers.com/showthread.php?t=1195275
*************************************************************** Hit Thanks if I helped You *****************************************************************
Tx!
What is see in the tutorials is that
1) you need an unlocked bootloader to step 2.
2) You loose all data in step 1.
They advice to do a full phone backup, but how can i do this?
Isn't there another way of rooting, without loosing all data?
gr
koenh78 said:
Tx!
What is see in the tutorials is that
1) you need an unlocked bootloader to step 2.
2) You loose all data in step 1.
They advice to do a full phone backup, but how can i do this?
Isn't there another way of rooting, without loosing all data?
gr
Click to expand...
Click to collapse
im not sure about that.... take all apk backup...(using some market software like android assistant) but you have to lose your preferences and settings..... this is what i done....
************************************************** ************* Hit Thanks if I helped You ************************************************** ***************
koenh78 said:
Tx!
What is see in the tutorials is that
1) you need an unlocked bootloader to step 2.
2) You loose all data in step 1.
They advice to do a full phone backup, but how can i do this?
Isn't there another way of rooting, without loosing all data?
gr
Click to expand...
Click to collapse
If your phone has already an unlocked bootloader (ie S-off) and then you just want to root it, without loosing anything and without having to backup any single piece of data, unlockroot is the simple way to go. I gave the link in my previous post.
But if you need to S-off it first, then you definitely need to backup some data. As far as I know, you may have to backup call logs, sms. Exports your contacts lists as vCard on your sDcard (or synchronized them with an online account, as you like).
You may also want to backup some user applications. You can use ApkManagerPlus (search it on the Google store), it can export user apps as apk files on the sdCard. Or just use Airdroid (available on the Google Store, too), which is awesome at that, too.
All of them are freely available apps.
If you have access to a stock based recovery, perform a nandroid backup too.
Then connect the phone as a mass storage and copy the whole contents on your PC.
That should be enough precautions before trying to unlock the bootloader.

M8 dual sim - MM - Root

Hi,
With so much information around, I think I'm just a little lost.
I have the HTC M8 DualSim (international version) and recently got the Marshmallow update via OTA.
I really need to get rid of the bloatware and hence require Root access.
Problem -> everywhere I read, it says 1st unlock the boot loader , which will wipe all data.
I need to keep all the data as-is and my paranoia won't let me backup everything to HTC's backup
any solutions please?
(the phone is very much stock, no changes made to anything)
Thanks!
There are numerous ways to backup your personal data. You should never rely on it being solely on the phone, if that data is important to you. Even without unlocking the bootloader, there is always a chance of random device failure or other causes of partial or complete data loss.
redpoint73 said:
There are numerous ways to backup your personal data. You should never rely on it being solely on the phone, if that data is important to you. Even without unlocking the bootloader, there is always a chance of random device failure or other causes of partial or complete data loss.
Click to expand...
Click to collapse
Thank you @redpoint73
I do backup my all my data to the pc quite often.
Just wondering if there was a way to root without data loss.
Would be great if you could point me in the right direction please
aliyawar said:
Just wondering if there was a way to root without data loss.
Click to expand...
Click to collapse
I don't think there is a current way to do that. Unless kingroot works on MM.

[Solved]Full Device Backup - Non-Root

Hey! So I'm facing a unique situation with my wife's HTC One M8--
She wants to join the rooted world with me, but has a ton of App data on games and the sort that she doesn't want to lose. I can of course back up all settings, contacts, pictures, videos, etc without an issue, but I have never been able to successfully back up in-game / app settings on a non-rooted phone. Titanium Backup has been my go-to for this feature
My question is-- is there a way to do this on a completely non-rooted Sprint HTC One M8? I'd love to be able to help her along with this, as it's exciting to me that she wants to dabble in something as geektastic as rooting / custom roms /etc. I've seen a lot of potential methods via searching myself, but a lot of these options seem unable to actually back up specific app data. This is on Marshmallow, completely stock, locked bootloader.
Thank you for any help!
Try to link your games to facebook or having an online log in, but most most games I played won't work from my experience. Unlocking your boot loader will wipe your internal storage as well. Try Helium for backing up your app and data (for non-rooted phones) but they have a limit in terms of the size of the backup data and I couldn't use my SD card to back up for some reason
Sent from my HTC One_M8 using xda premium
gtfour88 said:
Try to link your games to facebook or having an online log in, but most most games I played won't work from my experience. Unlocking your boot loader will wipe your internal storage as well. Try Helium for backing up your app and data (for non-rooted phones) but they have a limit in terms of the size of the backup data and I couldn't use my SD card to back up for some reason
Sent from my HTC One_M8 using xda premium
Click to expand...
Click to collapse
Aye, you've unfortunately hit the nail on the head for why I'm having trouble doing this
A lot of these games have some kind of online access and information keeping, but often will not track unlocks not purchased with real currency, in-game currency, and the sort. Never had any luck with Helium aside from backing up a couple of tiny apps that really didn't need it to begin with
Pushing up-- bumping, if this is allowed. Hopefully somebody knows a bit more
Do it with ADB
adb backup -apk -shared -all -f C:\Users\NAME\backup.ab to backup (replace "NAME" with your windows user name)
adb restore C:\Users\NAME\backup.ab to restore (replacing "NAME" again, of course)
xunholyx said:
Do it with ADB
adb backup -apk -shared -all -f C:\Users\NAME\backup.ab to backup (replace "NAME" with your windows user name)
adb restore C:\Users\NAME\backup.ab to restore (replacing "NAME" again, of course)
Click to expand...
Click to collapse
Glorious! Does this back up app progress and the sort? I had heard of an adb method but had no idea what to look for
Anonaru said:
Glorious! Does this back up app progress and the sort? I had heard of an adb method but had no idea what to look for
Click to expand...
Click to collapse
It should, yes.
xunholyx said:
Do it with ADB
adb backup -apk -shared -all -f C:\Users\NAME\backup.ab to backup (replace "NAME" with your windows user name)
adb restore C:\Users\NAME\backup.ab to restore (replacing "NAME" again, of course)
Click to expand...
Click to collapse
xunholyx said:
It should, yes.
Click to expand...
Click to collapse
You're a saint, thanks a million!
You could also use SunShine and S-OFF your device. Then you can do backups via TWRP (Recovery) or with Titanium Backup (root needed).
Lupus77 said:
You could also use SunShine and S-OFF your device. Then you can do backups via TWRP (Recovery) or with Titanium Backup (root needed).
Click to expand...
Click to collapse
Thanks incoming
I thought about Sunshine, but I'm not positive I want to deal with what might happen if I give my fully amateur wife an s-off M8 to tinker with :laugh:
If nothing else, I'll give this a shot as well-- at least temporary for backup purposes
If you just want a one time backup, you could relock your device afterwards. But I wouldn't suggest this, as this can prevent you from running SunShine again.
But as a small precaution, you could leave the original recovery, so she can't tinker with booting to recovery and do stuff she shouldn't. You on the other hand, can easily boot directly from the recovery image with fastboot, without flashing the recovery. Just type fastboot boot recovery.img and it will boot into recovery without overwriting the original recovery.
My wife has an S-OFF HTC One m7 and so far nothing happened.
Lupus77 said:
If you just want a one time backup, you could relock your device afterwards. But I wouldn't suggest this, as this can prevent you from running SunShine again.
But as a small precaution, you could leave the original recovery, so she can't tinker with booting to recovery and do stuff she shouldn't. You on the other hand, can easily boot directly from the recovery image with fastboot, without flashing the recovery. Just type fastboot boot recovery.img and it will boot into recovery without overwriting the original recovery.
My wife has an S-OFF HTC One m7 and so far nothing happened.
Click to expand...
Click to collapse
Yes, but Sunshine cost $25. Quite a lot for a one time thing. And S-Off is unnecessary for installing TWRP. You just need to unlock your bootloader via htcdev.com for free.
Unlock via htcdev wipes your device. That's the thing the thread starter tries to avoid. The only options are SunShine or the adb method, the latter is painfully slow. Or try Helium ( https://play.google.com/store/apps/details?id=com.koushikdutta.backup ) which also uses adb backup.
xunholyx said:
Yes, but Sunshine cost $25. Quite a lot for a one time thing. And S-Off is unnecessary for installing TWRP. You just need to unlock your bootloader via htcdev.com for free.
Click to expand...
Click to collapse
With the knowledge that re-locking can possibly break Sunshine, I definitely won't be taking this route. At least until I'm positive that she's not going to brick it
Got everything I need here, so thanks again lads! :good:

Root without wipe?

Time to retire my TMO G8, but I've been using it unrooted for years, because it wasnt available when i first got the phone. Ive been out of the scene since the G6, so im not sure what a lot of the common tools are, TWRP i know, but whats a firehose? Basically, I want to be able to take a full backup of my app data, ideally using titanium backup, but ill take what i can get, as long as it dosent involve a device wipe. do i have any options?
ZeikHunter said:
Time to retire my TMO G8, but I've been using it unrooted for years, because it wasnt available when i first got the phone. Ive been out of the scene since the G6, so im not sure what a lot of the common tools are, TWRP i know, but whats a firehose? Basically, I want to be able to take a full backup of my app data, ideally using titanium backup, but ill take what i can get, as long as it dosent involve a device wipe. do i have any options?
Click to expand...
Click to collapse
So, look at this thread for discussion re backup non root device. It's in the Sammy forums but much of it is relevant to any non root device.
I'd ask though, what did you plan on using root for? You need Magisk to get root, and normally when it's installed data has to be wiped and you flash dm-verity to now have unencrypted data partition. If you don't do that, data will remain encrypted and inaccessible (except by the device of course).
a 'firehose' file is used by qfil to access the low level / partitions of the device. It's a signed file specific for an individual device. It's a somewhat rare thing to have, as it gives you pretty much full access to the device, without root.
but using qfil to backup your user data partition, would result in a huge file, maybe like 80 gig or so, and, it's encrypted, so it basically doesn't have any value to do that?

Categories

Resources