Does rooting/unlocking affect data on /sdcard - One (M7) Q&A, Help & Troubleshooting

Title says it all really.
I previously had rooted my old HTC Wildfire S and that had a removable SD Card but with the HTC One M7, if I unlock the bootloader through HTCDev and flash a recovery etc, does this affect data on the /sdcard partition?
Will it get wiped? Cheers

CALI1198 said:
Title says it all really.
I previously had rooted my old HTC Wildfire S and that had a removable SD Card but with the HTC One M7, if I unlock the bootloader through HTCDev and flash a recovery etc, does this affect data on the /sdcard partition?
Will it get wiped? Cheers
Click to expand...
Click to collapse
Unlocking the bootloader will wipe your device, after that though you can flash recoveries, rom's, kernels whatever without wiping your sd card.
So if your going to unlock backup your internal storage to your pc first. After you've unlocked you can copy it back. Then you can flash a rom or or whatever without losing it :good:

Danny201281 said:
Unlocking the bootloader will wipe your device, after that though you can flash recoveries, rom's, kernels whatever without wiping your sd card.
So if your going to unlock backup your internal storage to your pc first. After you've unlocked you can copy it back. Then you can flash a rom or or whatever without losing it :good:
Click to expand...
Click to collapse
Cheers, was just curious if I had to go through the looooong backup process. MTP sucks aha.
Thanks tho

CALI1198 said:
Title says it all really.
I previously had rooted my old HTC Wildfire S and that had a removable SD Card but with the HTC One M7, if I unlock the bootloader through HTCDev and flash a recovery etc, does this affect data on the /sdcard partition?
Will it get wiped? Cheers
Click to expand...
Click to collapse
like already said, /data is wiped during the bootloader unlocking process so yes /sdcard will be wiped because /sdcard is a simlink to /data/media/0.
And don't forget about /data/preload (preloaded HTC apps and weather animations) which will also be wiped thus preventing the installation of future ota updates and obviously, you won't have HTC apps anymore (flashlight, calculator...) on your phone nor weather animations in the weather app. (unless that folder is restored after the bootloader unlock).

Related

[Q] relocking bootloader?

I am on stock just unlocked bootloader and rooted.Will simply relocking bootloader and unrooting help to get updates?or I need to reflash stock Rom?
I am not sure about this, but the only reason you can't do OTA's with the bootloader unlocked is because the unlocking procedure deletes some of the built-in apps in HTC Sense. The phone will check for these apps when it tries to update and fail if they are not present. There is a thread somewhere in XDA which tries to solve this issue of apps being deleted when unlocking the bootloader.
You have to flash stock Rom, stock recovery, then relock to receive OTAs. At least that has been the case in all other HTC phones. The HTC one might be different since a couple of apps that come with the phone are not in the system partition and get wiped when you unlock the bootloader.
Sent from my EVO using Tapatalk 2
OT: The removed apps can be reinstalled here.
eg1122 said:
You have to flash stock Rom, stock recovery, then relock to receive OTAs. At least that has been the case in all other HTC phones. The HTC one might be different since a couple of apps that come with the phone are not in the system partition and get wiped when you unlock the bootloader.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Well I havent flashed any other Rom. Just wondering if after unlocking bootloader some apps disappear, does that mean I need to reflash stock Rom. Don't think that simply relocking bootloader will bring them apps back. Hope someone can confirm that
When you unlock the data partition is wiped. Some of the apps that the ota looks for are in that partition. So you either have to flash a stock Rom or restore those missing apps before you relock.
Sent from my EVO using Tapatalk 2
eg1122 said:
You have to flash stock Rom, stock recovery, then relock to receive OTAs. At least that has been the case in all other HTC phones. The HTC one might be different since a couple of apps that come with the phone are not in the system partition and get wiped when you unlock the bootloader.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Granted, I'm basing this on the HTC Droid Incredible, nearly a three year old phone, but with us you just have to have the standard HTC apps that it checks for, and the stock recovery to flash it. You could keep the bootloader unlocked, since the unlocked bootloader can take the same commands as the locked one, it just doesn't check for signatures. Again, this is based on a different device, so it may or may not work.

[Q] Deleted my sd card folder, is there any way I can recover my data? (without root)

Obviously a very stupid move as I was trying to clear up my HTC One's memory.
Does anyone know if there is a way to recover my data without rooting? Theoretically, my music/videos/photos should still be there right? Any help would be appreciated.
Thank you!
kooshnedo said:
Obviously a very stupid move as I was trying to clear up my HTC One's memory.
Does anyone know if there is a way to recover my data without rooting? Theoretically, my music/videos/photos should still be there right? Any help would be appreciated.
Thank you!
Click to expand...
Click to collapse
If you cleared your sd card, that is it. That is the internal memory of the phone. Sorry
kooshnedo said:
Obviously a very stupid move as I was trying to clear up my HTC One's memory.
Does anyone know if there is a way to recover my data without rooting? Theoretically, my music/videos/photos should still be there right? Any help would be appreciated.
Thank you!
Click to expand...
Click to collapse
I need to know some things first. is your bootloader unlocked? Are you S-off? What edition of the phone do you have (dev, int., carrier branded, etc)? Can you get into bootloader and recovery on the phone?
kibmikey1 said:
I need to know some things first. is your bootloader unlocked? Are you S-off? What edition of the phone do you have (dev, int., carrier branded, etc)? Can you get into bootloader and recovery on the phone?
Click to expand...
Click to collapse
My bootloader is NOT unlocked. I have a Sprint HTC One. I am S-On and I can get into bootloader/recovery on my phone.
Software version: 1.29.651.10
Android version 4.1.2
HTC Sense 5.0
Upon further research, I feel like if I tried to use some sort of recovery program I need S-Off/Root Access. I would NEED to have to wipe my phone in order to attain this.
-If I do a complete wipe, can I use a recovery program to possibly (slim chance I'm sure) recover the data?
-Is there a way I can somehow take a raw image of my current internal storage and possibly work with it? I feel like this would probably require root as well...
Ktan188 said:
If you cleared your sd card, that is it. That is the internal memory of the phone. Sorry
Click to expand...
Click to collapse
I see, but I would still like to see what kibmikey1 has to say!
It is approx ... impossible to recover your internal sd...

No data after flashing firmware

Dears,
Is it the case that after flashing a firmware and (locking then unlocking bootloader) everything is deleted from the phone even the SDcard data?
Sent from my HTC One using xda app-developers app
Why did you lock the bootloader in the first place? I guess the unlocking process wiped everything, though, it should not wipe the sd card.
Gesendet von meinem HTC One mit Tapatalk
unlocking does wipe the data. or my second guess will be the firmware
usually firmware flash tend not to wipe sd data but some firmwares do wipe the whole thing
Marc199 said:
Why did you lock the bootloader in the first place? I guess the unlocking process wiped everything, though, it should not wipe the sd card.
Click to expand...
Click to collapse
Without s-off it is necessary to lock/unlock device to flash firmware zip. That usually wipes it, supposedly for "safety" reasons.
In the future, you may want to s-off so lock/unlock is not necessary. Also, most firmware uploads on XDA say whether or not they will wipe data/sdcard.

Wipe internal storage? Sell phone

Is there a way to wipe internal storage and flash stock while retaining an unlocked bootloader. If anyone is interested let me know. My phone is in immaculate condition and unlocked via sunshine. I want to wipe all my data, pics, etc. And return to stock but still unlocked to sell. Thanks in advance.
audiophizile said:
Is there a way to wipe internal storage and flash stock while retaining an unlocked bootloader. If anyone is interested let me know. My phone is in immaculate condition and unlocked via sunshine. I want to wipe all my data, pics, etc. And return to stock but still unlocked to sell. Thanks in advance.
Click to expand...
Click to collapse
After you flash the stock rom, go into twrp and wipe Internal Storage. That's if you use a stock zip, anyway.
Sent from my DROID Turbo using Tapatalk

Question How to lock bootloader without factory reset?

I've an unlocked bootloader on stock MIUI. I know how to lock the bootloader but this does a factory reset. Is there a workaround so I don't lose all data?
I've seen some older posts for unlocking without losing data, by NOT clicking reboot but turning phone off and on.
Anyone? Thanks heaps.
boland said:
I've an unlocked bootloader on stock MIUI. I know how to lock the bootloader but this does a factory reset. Is there a workaround so I don't lose all data?
I've seen some older posts for unlocking without losing data, by NOT clicking reboot but turning phone off and on.
Click to expand...
Click to collapse
AFAIK you really can't relock bootloader without format data. Either lock it and face format data or keep it unlocked and move to a custom ROM. There are many ways to backup your data but the best method for me is backing up through PC or SD card. If you're worried that having bootloader unlock can prevent you from using certain apps then you can always root and (somewhat) hide that.
BigChungus321 said:
AFAIK you really can't relock bootloader without format data. Either lock it and face format data or keep it unlocked and move to a custom ROM. There are many ways to backup your data but the best method for me is backing up through PC or SD card. If you're worried that having bootloader unlock can prevent you from using certain apps then you can always root and (somewhat) hide that.
Click to expand...
Click to collapse
Thanks. I've moved away from custom ROMs as it's just too time consuming for me.
Google Pay doesn't work when the bootloader is unlocked. Yes, I can install Magisk and Magisk Hide, but with Magisk installed OTA are no longer possible.
boland said:
Thanks. I've moved away from custom ROMs as it's just too time consuming for me.
Google Pay doesn't work when the bootloader is unlocked. Yes, I can install Magisk and Magisk Hide, but with Magisk installed OTA are no longer possible.
Click to expand...
Click to collapse
Still possible but the method is now manually flashing instead of just download and reboot.

Categories

Resources