If you UNLOCK your bootloader, you WILL lose all data in your Internal Storage ! - POCO M2 Pro Guides, News, & Discussion

If you UNLOCK your bootloader, you WILL lose all data in your Internal Storage !
You will get the setup screen and you have setup your screen from scratch !
I learned this the hard way. So passing the information.

It is already stated in the MI Unlock application. Be careful and always read instructions.
Most important of all, "ALWAYS BACKUP BEFORE TRYING ANYTHING CRAZY"

Mde1 said:
If you UNLOCK your bootloader, you WILL lose all data in your Internal Storage !
You will get the setup screen and you have setup your screen from scratch !
I learned this the hard way. So passing the information.
Click to expand...
Click to collapse
well that's known... what did you think?

yes you will lose .
recomended to take backup before unlocking bootloader

Related

Questions....

Is this phone supposed to wipe everything once OEM unlock is achieved?
Why would it wipe?
Why would it wipe the SD Card partition?
Asides from the /System & /Data partitions, has anyone had USB issues?
The reason this is in the development section is because it all has to do with modifications made to the stock android OS.
Wrong section.
Anderdroid said:
Wrong section.
Click to expand...
Click to collapse
How do you figure? You have to be connected via fastboot to make these alterations, so this could be an issue for some diving into modding/developing on this device.
Egh. I guess it's okay here. Didn't realize there wasn't a Questions & Answers section in Nexus S section like the Vibrant one has. So I guess it's fine for now
It just wipes for security issues. It tells you before it wipes, and it gives a reason but I forget what it says. Go try to do it and it'll warn you before it happens.
b16a2smith said:
Is this phone supposed to wipe everything once OEM unlock is achieved?
Why would it wipe?
Why would it wipe the SD Card partition?
Asides from the /System & /Data partitions, has anyone had USB issues?
The reason this is in the development section is because it all has to do with modifications made to the stock android OS.
Click to expand...
Click to collapse
It's to protect your data from theft. If unlock didn't wipe data, somebody who obtained possession of your phone could unlock it, the kernel or system image with something that allowed them to copy anything off of your phone. They also could install pretty much anything without you easily noticing that the phone was tampered with.
USB PROBLEMS. My phone now after unlocking and rooting it will NOT enter mass storage mode. I plug it in and the android pops up,I hit "enter mass.." and it appears to connect but it then just closes that screen. Every 3rd time or so trying it blue screens my computer and forces my PC to restart. I've have the galaxy and n1 and have never experienced problems such as these. Any ideas? Reinstall drivers? Master reset of my phone?
swetland said:
It's to protect your data from theft. If unlock didn't wipe data, somebody who obtained possession of your phone could unlock it, the kernel or system image with something that allowed them to copy anything off of your phone. They also could install pretty much anything without you easily noticing that the phone was tampered with.
Click to expand...
Click to collapse
Some protection that don't exist at all with Samsung & Odin.
With a Galaxy S you can basically flash anything as long as you have physical access, and steal all the data you want.
This wipe is an inconvenience for unaware end-user using fastboot, but it's also necessary for the security model to worth something
Good choice!
seriouslyjeff said:
USB PROBLEMS. My phone now after unlocking and rooting it will NOT enter mass storage mode. I plug it in and the android pops up,I hit "enter mass.." and it appears to connect but it then just closes that screen. Every 3rd time or so trying it blue screens my computer and forces my PC to restart. I've have the galaxy and n1 and have never experienced problems such as these. Any ideas? Reinstall drivers? Master reset of my phone?
Click to expand...
Click to collapse
Bro you might need to replace the device, on twitter me (@b16a2smith) and (@gbhil) had loose usb ports on the devices, it might be a bad batch, just letting you know.

Help locked out of recovery

I was literally flashing something ten minutes before and then I tried going back to recovery and there were no directory so I then rebooted it says I need a password... But I never one made a password, I didn't even know there was passwords for recovery
Sent from my Nexus 5 using xda app-developers app
Never mind... Just kept rebooting then eventually the problem was gone... How can I set a password for bootloader and recovery... Just wondering if it's even possible
Sent from my Nexus 5 using xda app-developers app
You can't set a password for either (well, not to my knowledge!)
Even with a password we can fastboot flash new images.
Team Win explains this on their website.
Primokorn said:
Even with a password we can fastboot flash new images.
Team Win explains this on their website.
Click to expand...
Click to collapse
Yes and no.. Actually we can lock the bootloader so fastboot flash wont work.... All we need is for the recovery password to block the following to secure your data (on the nexus 5):
Mount of external (OTG) media
adb access
file manager capabilities
This would mean you can still boot into recovery and flash / backup (although not to removable media) until you went into a security menu to "unlock recovery". This would even mean that your automated jobs can still occur without having to face a "boot password". The password could be stored on /sdcard in clear test and there could be an option to delete the password incase you forgot it in this same recovery menu, which also wipes the device.
recovery is the only weak point of my device.
Sure, Samsung's Odin will get round this password on their devices as the BL is not locked but any device with a locked bootloader (locakbale bootloader) will benefit.
Another caveat is that this is not to prevent the device being wiped.... unlocking the bootloader will wipe the device, and this is what I want. I don't care about getting the phone back as much as I would care about securing my data. Its all backed up. Nothing is lost. I just might not want someone else getting access to it.
Although this is beyond the extent of my knowledge to achieve, I don't think it would be hard for anyone who knows what they're doing with code.
rootSU said:
Yes and no.. Actually we can lock the bootloader so fastboot flash wont work.... All we need is for the recovery password to block the following to secure your data (on the nexus 5):
Mount of external (OTG) media
adb access
file manager capabilities
This would mean you can still boot into recovery and flash / backup (although not to removable media) until you went into a security menu to "unlock recovery". This would even mean that your automated jobs can still occur without having to face a "boot password". The password could be stored on /sdcard in clear test and there could be an option to delete the password incase you forgot it in this same recovery menu, which also wipes the device.
recovery is the only weak point of my device.
Sure, Samsung's Odin will get round this password on their devices as the BL is not locked but any device with a locked bootloader (locakbale bootloader) will benefit.
Another caveat is that this is not to prevent the device being wiped.... unlocking the bootloader will wipe the device, and this is what I want. I don't care about getting the phone back as much as I would care about securing my data. Its all backed up. Nothing is lost. I just might not want someone else getting access to it.
Although this is beyond the extent of my knowledge to achieve, I don't think it would be hard for anyone who knows what they're doing with code.
Click to expand...
Click to collapse
Do u mean that you always have a locked BL?
Thanks for your feedback but one thing remains the same IMHO. Of course we can lock the BL but a thief can unlock it then flash factory images. No more custom recovery, passwords...
I'm not talking about the user data but to be able for a thieft to use a device even with locked stuff.
Primokorn said:
Do u mean that you always have a locked BL?
Thanks for your feedback but one thing remains the same IMHO. Of course we can lock the BL but a thief can unlock it then flash factory images. No more custom recovery, passwords...
I'm not talking about the user data but to be able for a thieft to use a device even with locked stuff.
Click to expand...
Click to collapse
I'm just talking about data security. That is my only concern. Devices are replaceable. Unlock bootloader, data wiped. fine!
Oh thanks everyone, I just wouldn't want a theif to use a phone they don't deserve, pretty much the only security on my phone to not go to bootloader is for no power menu on my lockscreen but you could probably use adb to get through
Sent from my Nexus 5 using xda app-developers app
That's what imei blocking is for
Sent from my Nexus 5 using Tapatalk

Cons of unlocking bootloader

Hi
Couldn't find any thread about it. So posting it
I red on official website that I might loose some functionalities "You may lose some key functions like telephone, radio, and audio playback.".
Can anyone put some light on what I might loose as per this? (I know data will be lost and etc but what about this line pls?
Nothing , they are just pretending . only ur warranty voids
Sent from my Moto G using Tapatalk
Sorry for posting thread in wrong section.
As far as I know you still get OTA updates as well, correct? Assuming unlocked bootloader and stock operating system.
jitin02 said:
Hi
Couldn't find any thread about it. So posting it
I red on official website that I might loose some functionalities "You may lose some key functions like telephone, radio, and audio playback.".
Can anyone put some light on what I might loose as per this? (I know data will be lost and etc but what about this line pls?
Click to expand...
Click to collapse
No data is lost for unlocking bootloader.... Believe me i have unloacked it and flashed CM rom and its working better than before..
shashidhar941997 said:
No data is lost for unlocking bootloader.... Believe me i have unloacked it and flashed CM rom and its working better than before..
Click to expand...
Click to collapse
Of course data is lost... everything on the phone is wiped clean, it is impossible at present to unlock the G3 without wiping out all user data.
To the OP, you do not lose any functionality by unlocking alone, everything will work EXACTLY as before as long as the only thing you do is unlock... that being said, if you change anything, such as adding root access, flashing Xposed, installing a custom recovery, that changes the device so it could potentially cause an issue outside of Motorola's control or outside of their supported practices. For example, you will not be able to receive OTA updates if you have modified the /system partition, the OTA system will see that that the partition has been mounted R/W and will not offer further OTA's, but you can still sideload them manually. If you install a custom recovery and nothing else, you may be offered an OTA, but it will fail since it requires stock recovery.
Basically, if you are careful and willing to do a little research and go beyond the "stock" experience, you will have to do a few things manually, and unlocking is the beginning of that process. Unlocking just for the sake of doing it and not continuing is a waste of time.
acejavelin said:
Of course data is lost... everything on the phone is wiped clean, it is impossible at present to unlock the G3 without wiping out all user data.
To the OP, you do not lose any functionality by unlocking alone, everything will work EXACTLY as before as long as the only thing you do is unlock... that being said, if you change anything, such as adding root access, flashing Xposed, installing a custom recovery, that changes the device so it could potentially cause an issue outside of Motorola's control or outside of their supported practices. For example, you will not be able to receive OTA updates if you have modified the /system partition, the OTA system will see that that the partition has been mounted R/W and will not offer further OTA's, but you can still sideload them manually. If you install a custom recovery and nothing else, you may be offered an OTA, but it will fail since it requires stock recovery.
Basically, if you are careful and willing to do a little research and go beyond the "stock" experience, you will have to do a few things manually, and unlocking is the beginning of that process. Unlocking just for the sake of doing it and not continuing is a waste of time.
Click to expand...
Click to collapse
So basically it's like my oneplus one... The ota thing. Who cares .
And yes I was thinking of rooting, xposedify, twrp .......
Tks fr info ..... But another of my worry is locking bl. Acc. To what I red is you can't lock it properly. As my devic is 1 month old (not even 1) I don't want to risk it
jitin02 said:
So basically it's like my oneplus one... The ota thing. Who cares .
And yes I was thinking of rooting, xposedify, twrp .......
Tks fr info ..... But another of my worry is locking bl. Acc. To what I red is you can't lock it properly. As my devic is 1 month old (not even 1) I don't want to risk it
Click to expand...
Click to collapse
The bootloader cannot be relocked... there is a procedure to appear locked, but it you can never actually undo the unlock procedure... One thing to keep in mind is that when you unlock you lose your warranty, but it is not based on whether your device shows it's locked or not, the minute you accept the T&C on Motorola's site and get the unlock token, your warranty is gone, it doesn't even matter if you actually unlock the device or not.
acejavelin said:
The bootloader cannot be relocked... there is a procedure to appear locked, but it you can never actually undo the unlock procedure... One thing to keep in mind is that when you unlock you lose your warranty, but it is not based on whether your device shows it's locked or not, the minute you accept the T&C on Motorola's site and get the unlock token, your warranty is gone, it doesn't even matter if you actually unlock the device or not.
Click to expand...
Click to collapse
Them I m not unlocking. Lol
shashidhar941997 said:
No data is lost for unlocking bootloader.... Believe me i have unloacked it and flashed CM rom and its working better than before..
Click to expand...
Click to collapse
better than before means do u notice quick battery darning i also unlocked nd CM 12.1 excluding battery it better than before
acejavelin said:
Of course data is lost... everything on the phone is wiped clean, it is impossible at present to unlock the G3 without wiping out all user data.
Click to expand...
Click to collapse
Is the SD Card safe or should that be removed prior to unlocking bootloader?
MrTooPhone said:
Is the SD Card safe or should that be removed prior to unlocking bootloader?
Click to expand...
Click to collapse
I would remove it if you want to keep it setup as is... It does a factory reset which will wipe the SD card.
Sent from my MotoG3 using Tapatalk
---------- Post added at 07:44 AM ---------- Previous post was at 07:43 AM ----------
MrTooPhone said:
Is the SD Card safe or should that be removed prior to unlocking bootloader?
Click to expand...
Click to collapse
It will wipe SD card.
Sent from my MotoG3 using Tapatalk
acejavelin said:
I would remove it if you want to keep it setup as is... It does a factory reset which will wipe the SD card.
Sent from my MotoG3 using Tapatalk
---------- Post added at 07:44 AM ---------- Previous post was at 07:43 AM ----------
It will wipe SD card.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
It did not wipe mine. It only formats the internal partitions. Most phones you have to specify if you want the SD formatted as well.
quakeaz said:
It did not wipe mine. It only formats the internal partitions. Most phones you have to specify if you want the SD formatted as well.
Click to expand...
Click to collapse
Unlocking the bootloader should wipe all user partitions, including SD card, the bootloader unlock factory reset is a complete wipe, unless something has changed. You don't get an option of what to erase when unlocking the bootloader.
Sent from my MotoG3 using Tapatalk
acejavelin said:
Unlocking the bootloader should wipe all user partitions, including SD card, the bootloader unlock factory reset is a complete wipe, unless something has changed. You don't get an option of what to erase when unlocking the bootloader.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
I know there's no option. I've just never seen a phone that wipes SD by default, including this one. Usually wiping user data consists of the /data partition. But if you're more comfortable pulling the SD out, better safe than sorry...
Sent from my MotoG3 using Tapatalk
quakeaz said:
I know there's no option. I've just never seen a phone that wipes SD by default, including this one.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
Hmm... For a normal factory reset I would agree, for bootloader unlock reset it should wipe it. What's the point of the security feature of wiping the device when bootloader unlock occurs if it leaves a major security hole by not wiping the SD card?
I can't speak from experience on this, I removed mine as a precautionary measure because back in the older HTC days of Gingerbread/Jellybean, there were a few cases where the SD card would be trashed when unlocking the bootloader.
Sent from my MotoG3 using Tapatalk
Neither unlocking the bootloader nor a factory reset do ANYTHING LIKE wiping your phone. Neither would either make any sense at all.
You are not supposed be able to unlock the bootloader so what sort of software do you think could be included to detect or stop it happening? Samsung KNOX comes to mind but that ain't Moto.
Factory resets remove apps, call logs, contacts, and anything else on the internal SD. Stuff that is on the external SD is not affected, only the Data and the Cache partitions.
I unlocked my bootloader but that didn't prevent me from receiving the MM Ota update two days ago. So, unlocking void only your warranty, nothing else. It will for sure wipe your phone's data.
There are a number of reasons for unlocking Bootloader. Especially for those that cannot or do not want to return phone to manufacturer.
(1) Android can become corrupt at any time. It can happen randomly. Without an unlocked Bootloader, you may no longer be able to load Android or access your files. With a custom recovery - you still have ADB and root access to your files. Also in the event that factory firmware images do not work, you now have the option of flashing a custom ROM.
(2) Lost / accidentally deleted photos. Without an unlocked Bootloader and root access, your options are very limited. If you have root access, there are apps that can recover deleted photos. You also have the possibility of making a backup image of internal storage and transferring that to PC for use with Data recovery software.
(3) You need an unlocked Bootloader to flash a custom Kernel / ROM. These can provide better performance, improved battery-life, a greater range of features and in some cases, improved app compatibility.
(4) This one may be less of an issue, but worth considering. Having an unlocked Bootloader can get you out of a situation where phone is locked due to 'Device Protection.'
Related: http://www.androidpolice.com/2015/0...ne-you-might-trip-a-72-hour-security-lockout/​
lost101 said:
(4) This one may be less of an issue, but worth considering. Having an unlocked Bootloader can get you out of a situation where phone is locked due to 'Device Protection.'
Click to expand...
Click to collapse
Though you also have to consider the other side of that medal.
With a locked bootloader and device protection active, the phone is useless to everyone except yourself.
If the phone is lost this *might* increase the chance that it's being returned to you.
And if it's stolen you at least have the satisfaction that the thief can only use it as a paperweight.
If the bootloader is unlocked, whoever found or stole the phone can overcome the device protection and can use or sell the phone...

How to Backup Data,debugging not enabled, no custom recovery installed. One plus one.

Hello,
I have Oneplus One 64 gb variant, yesterday my nephew somehow changed my phone's lock pattern and now my phone is locked. USB debugging was disabled at that time. I am not able to get into my phone through any means. I have lot of important data in my phone and don't want to hard reset my device. Also I don't have any custom recovery installed on my phone. I don't know how to get a backup of my data. Any help will be appreciated. Please help me get my precious data back.
Thanks in advance.
Dush123 said:
Hello,
I have Oneplus One 64 gb variant, yesterday my nephew somehow changed my phone's lock pattern and now my phone is locked. USB debugging was disabled at that time. I am not able to get into my phone through any means. I have lot of important data in my phone and don't want to hard reset my device. Also I don't have any custom recovery installed on my phone. I don't know how to get a backup of my data. Any help will be appreciated. Please help me get my precious data back.
Thanks in advance.
Click to expand...
Click to collapse
If you still have internet access on the device, you can try entering the pattern over and over incorrectly until the "forgot password" button appears. You'll then be able to sign in to your gmail account and reset the password without losing any data.
Freewander10 said:
If you still have internet access on the device, you can try entering the pattern over and over incorrectly until the "forgot password" button appears. You'll then be able to sign in to your gmail account and reset the password without losing any data.
Click to expand...
Click to collapse
In Cm13s this "forgot pattern" option has been disabled for god knows what reasons. I have attempted to unlock 85 times and still counting but still no option has presented itself.
Dush123 said:
In Cm13s this "forgot pattern" option has been disabled for god knows what reasons. I have attempted to unlock 85 times and still counting but still no option has presented itself.
Click to expand...
Click to collapse
How are you using CM 13 without a custom recovery?
Freewander10 said:
How are you using CM 13 without a custom recovery?
Click to expand...
Click to collapse
Its not cm13 , I mis spoke . it's android 6.0 but still there is no forgot pattern option.
Dush123 said:
Its not cm13 , I mis spoke . it's android 6.0 but still there is no forgot pattern option.
Click to expand...
Click to collapse
Oh.
Some custom recoveries give you the option to backup your data to the SD card. You could check if that's available in yours.
I'm not sure if its gonna backup everything (similar to a nandroid backup) or just your apps+their data.
If its the latter then you can backup->wipe device->restore. If its the former though, then there's not much point as the password would've gotten backed up as well.
Freewander10 said:
Oh.
Some custom recoveries give you the option to backup your data to the SD card. You could check if that's available in yours.
I'm not sure if its gonna backup everything (similar to a nandroid backup) or just your apps+their data.
If its the latter then you can backup->wipe device->restore. If its the former though, then there's not much point as the password would've gotten backed up as well.
Click to expand...
Click to collapse
Was unable to backup anything through recovery as well. Had to hard reset my device.
Thanks anyways

[HELP] Lost my rooted phone can it be decrypted by the thief?

Hey fellas,
Someone stole my One plus 7 Pro.
It was rooted and had TWRP and Magisk 19.x ( latest subversion before 20.x dropped). I had a passcode and fingerprint set up on my phone. It was stolen at a technical convention for students. Assuming the thief has knowledge about Android can my phone's encryption be broken to give access to my files?
Any input is appreciated.
TLDR;
>Phone got stolen at a technical convention
>Thief might have knowledge of Android
>Running Stable Android 9 latest firmware before Stable 10.0.1
>Running Magisk 19.x (Latest before 20.x dropped)
>Running TWRP 3.3.1.x
My concern, Can it be hacked/cracked to give access to the storage inside?
Thanks in advance
this is the problem of unlocked boot loader.
sathara said:
this is the problem of unlocked boot loader.
Click to expand...
Click to collapse
Thanks for the reply.
What are you implying?
Is it easy to crack through it to get the files? TWRP requires the pin to be able to boot.
Please give in more input if possible
_Rushaan_ said:
Thanks for the reply.
What are you implying?
Is it easy to crack through it to get the files? TWRP requires the pin to be able to boot.
Please give in more input if possible
Click to expand...
Click to collapse
Unless your passcode is simple and easy to guess, they won't be able to decrypt the data using any publicly known ways.
Of course, having the bootloader locked would offer a bit more protection against the thief wiping and using the phone themselves, but even in that case there is no practical way to access your data before it gets wiped.
You should be somewhat safe...
sathara said:
this is the problem of unlocked boot loader.
Click to expand...
Click to collapse
jisoo said:
Unless your passcode is simple and easy to guess, they won't be able to decrypt the data using any publicly known ways.
Of course, having the bootloader locked would offer a bit more protection against the thief wiping and using the phone themselves, but even in that case there is no practical way to access your data before it gets wiped.
Click to expand...
Click to collapse
My passcode is fairly complex. Thanks for the reassurance.:good:
jisoo said:
Unless your passcode is simple and easy to guess, they won't be able to decrypt the data using any publicly known ways.
Of course, having the bootloader locked would offer a bit more protection against the thief wiping and using the phone themselves, but even in that case there is no practical way to access your data before it gets wiped.
Click to expand...
Click to collapse
He/she still wouldn't be able to use it after a wipe because of FRP, though, right?
rickysidhu_ said:
He/she still wouldn't be able to use it after a wipe because of FRP, though, right?
Click to expand...
Click to collapse
there;s ways to bypass that, I saw a few videos of some people doing that
If you had your data encrypted as you state, I don't think anyone would even take the trouble that comes with brute forcing such encryption. He will probably just wipe it.
They may just wipe it and use it, u can black list it through you carrier
Check android device manager and see if you can locate it and remote wipe it

Categories

Resources