I accidentally deleted 200 photos from my Mate 9, as I know, to recover these photos, I need to "root" my Mate 9 (B213) first, and before that, I need to get an unlock code from Huawei.
I'v already got the unlock code.
The unlock procedure prompts that all data will be deleted with a factory reset. I am not sure if this step will permanently erase all data on the storage.
Anyone has similar experience?
Thanks a lot!
I would expect the unlock to permanently erase all data, yes (or rather, it will permanently wipe the key used for file-based encryption, which amounts to the same thing). If it doesn't, it's a major security flaw.
Related
I recently unlocked my bootloader and it cleared my internal memory (HTC One), I went thought the process of getting all my data back This tutorial, but only to find that the data is not there. Does anybody know the extent of the formatting when it clears your data when unlocking the bootloader? I wouldn't think it would do a complete format but, the data is not there.
Unlocking the bootloader on your HTC Phone wipes your /data partition. It was a complete Data format. You CANNOT get your data back
It deletes the user data for "privacy reasons" and "security concerns".
Sorry , but you can't get your data back.
I unluckly discovered that with the may security update, both unlocking and locking the bootloader will result in a complete wipe of all user data.
Is this intended? Will this be the standard for all the next updates? It's really a shame that unlocking ther bootloader is now a relatively pricey and hard thing to do.
Or did I just do something wrong? Lost data... twice in a day
What about GCam and root if the bootloader can't be altered without clearing all user data? Does this mean I'll have to dump my data every time I update my system (and so root again)?
Hope someone knows better than me :crying:
_MrAlpha_ said:
I unluckly discovered that with the may security update, both unlocking and locking the bootloader will result in a complete wipe of all user data.
Is this intended? Will this be the standard for all the next updates? It's really a shame that unlocking ther bootloader is now a relatively pricey and hard thing to do.
Or did I just do something wrong? Lost data... twice in a day
What about GCam and root if the bootloader can't be altered without clearing all user data? Does this mean I'll have to dump my data every time I update my system (and so root again)?
Hope someone knows better than me :crying:
Click to expand...
Click to collapse
Yes, from now it's "normal"
On all devices you lose all data for locking/unlocking BL, our Mi A1 was lucky.
Its upgrading security
Wiping FRP was a piece of cake
Hi, is there any way to OEM update my Huawei P20 with an unlocked Bootloader? I don't want to reset my phone and lose all my apps and stuff. Now that EMUI 9 is coming soon, I need to know this. Plesse help me guys. I know there's some methods but they require factory reset. Thanks in advance!
Nvm hurupdater works fine and doesnt erase storage
Hi,
I would like to move an app (GPS spoof) to system/app on my OnePlus 6 (with latest updates). But I can't seem to find a viable solution. I don't want to unlock my bootloader since it will erase all my data and I don't want to have to put back all of them and my settings .. Mock location is not an option since Pokémon Go doesn't allow me to play when it's enabled.
Is there a way to add a system app without rooting the device or unlokcing the bootloader ? Like I saw for other device booting TWRP from the computer.
Thank you !
No there is no way.
No. The whole point of locking the bootloader is to create a secure area for system apps to run.
Hum that's what I expected ! Thank you.
Is there a way to save the whole phone, unlock the bootloader, and restore everything ? I don't want to put back everything one by one ! And when I move the app to system, can I relock the bootloader and unroot ?
Thanks you for your help.
Robokashi said:
Is there a way to save the whole phone, unlock the bootloader, and restore everything ? I don't want to put back everything one by one ! And when I move the app to system, can I relock the bootloader and unroot ?
Click to expand...
Click to collapse
I do not know exactly what the security protocols on this phone are, but typically you cannot lock the bootloader if the system partition has been modified, as it will fail the security checks on boot. Either the relock command will fail, it will lock but not boot, or you may just get a brick.
Hi,
While going around this forum, i saw a lot that people where claiming that an unlocked phone had it's data fully secure if it was encrypted. Is it actually the case ?
From what i understand, a phone isn't encrypted with your pin code / password. It first generates keys, encrypts the phone with them, and then cyphers these keys using your code. The keys are then stored in a special partition of the phone's memory.
(And thus, if the phone needs be wiped, either remotely or because of too many failed attempts, it just deletes this partition)
Normally, it would be impossible to brute force a lock screen, since the phone will prevent more than ~ 15 attempts. However, with an unlocked device, couldn't an attacker with sufficient knowledge of the hardware be able to use the ability to flash custom boot images / roms to access these keys, and brute force them, bypassing the lock screen ? A sufficiently powerful computer could be able to brute force a 4, 6 or even 10 digits AES key in hours, if not minutes.
So :
1) Is this correct, and how the android encryption works ?
2) if it is, is there any device specific protections to prevent that ?
3) is there any ways to counterbalance that threat with an unlocked device, other than setting a 10 characters password ?
Thank you.
Short answer:
If phone's bootloader is unlocked, someone could take your phone, flash a malicious ROM that contains keystroke loggers or something, and then return the phone to you and wait for you to type your PIN or decryption password. It'd be better to keep the bootloader locked whenever you don't actually need to flash things via Fastboot.
xXx yYy said:
It'd be better to keep the bootloader locked whenever you don't actually need to flash things via Fastboot.
Click to expand...
Click to collapse
I guess this wanders into device specificness, but, at least for my device, pixel 6a, i read that you should never re-lock a bootloader without a completely stock firmware / boot image. So, how can you protect your bootloader while keeping your phone rooted ?
What has a device's bootloader to do with device's Android OS ? Nothing!
xXx yYy said:
What has a device's bootloader to do with device's Android OS ? Nothing!
Click to expand...
Click to collapse
The lockability of the bootloader depends on the signing of the OS!?
you are right. do not lock bootloader on pixel devices. imagine device is fully stock and locked, now some OTA brick device and recovery mode not able to unbrick by sideloading full OTA image - this is nightmare. google's solution is to RMA device, they do not provide any flash tool other than fastboot or WebUSB flash tool (via adb lol)
on the other hand, encryption is secured against bruteforce by gatekeeper (in TEE). as long as your device is powered off your data remains encrypted, unless you decrypt with credentials (we won't talk about the .dismiss() bug on decrypted devices)