[Q] How do I re-encrypt my Moto X with Lollipop? - X 2014 Q&A, Help & Troubleshooting

It's my goal to wipe a second hand android device I received.
You used to be able to do this via the encryption option.
Though now that I am on Lollipop when I enable encryption the phone (2014 Moto x) restarts and doesn't do the full wipe like android used to. Though does come up with encryption enabled.
I assume this has to do with Lolipop having encryption enabled by default.
Before I get all answers telling me to do a factory reset. No a factory reset doesn't wipe a system it just repartitions it and gives new encryption keys.
Tried in safemode too. Nothing
Just getting a new encreyption key via a factory reset doesn't do what I want. That key could be recovered and the data still exists. That's why tools like truecrypt ot luks if you have experience take so long to encrypt.

At least for the pure edition I believe that you can get factory images from Motorola. By flashing a factory images it should format all the partitions and be like new fresh of the box.

Related

[Q] Factory reset - freezing and failing?

I'm trying to do a factory reset on my 8GB Nexus 7. It was rooted and unlocked on stock 4.2.1 with stock bootloader/recovery. When I boot into recovery, hold power and tap volume up, I get the menu and pick factory data reset, then select Yes to start the wipe. It then starts to show Formatting /data... and does nothing. I've let it sit for an hour; no change. I've tried temporarily booting TWRP and wiping data that way...same thing - say's it's wiping, but left it for over an hour and it appears to make no progress.
Next Steps? I've tried doing the fastboot flash commands to restore stock but still run into the reason for the factory reset - I'm getting the "enter your password to decrypt" message but none of my passwords are working; apparently factory reset is only way to fix.
go to the main device settings, backup and reset, then press factory data reset.
Wipeout said:
I'm trying to do a factory reset on my 8GB Nexus 7. It was rooted and unlocked on stock 4.2.1 with stock bootloader/recovery. When I boot into recovery, hold power and tap volume up, I get the menu and pick factory data reset, then select Yes to start the wipe. It then starts to show Formatting /data... and does nothing. I've let it sit for an hour; no change. I've tried temporarily booting TWRP and wiping data that way...same thing - say's it's wiping, but left it for over an hour and it appears to make no progress.
Next Steps? I've tried doing the fastboot flash commands to restore stock but still run into the reason for the factory reset - I'm getting the "enter your password to decrypt" message but none of my passwords are working; apparently factory reset is only way to fix.
Click to expand...
Click to collapse
Try using a tool to wipe your tablet.
Sent from my Nexus 7 using xda premium
simms22 said:
go to the main device settings, backup and reset, then press factory data reset.
Click to expand...
Click to collapse
Can't get into the device settings, hence the attempt to wipe data in recovery.
SUDroid said:
Try using a tool to wipe your tablet.
Click to expand...
Click to collapse
Have a tool suggestion? Whether I follow the fastboot guide to restoring to stock or use a tool, I still receive the "Enter password to decrypt storage" message; only way around that is to do a factory reset. I haven't seen any tools that allow me to do a factory reset.
Pull your battery
Sent from my Nexus 7 using XDA Premium HD app

Reset through settings or recovery?

This is probably going to sound like a dumb question... But now that I am unlocked and rooted on my GSM Unlocked Moto X, I'm going to do a reset and start setting it up for real. Is this better to do through settings or through the recovery? If recovery, what all options should I use?
Thanks.
Settings creates a command for recovery to run to do the factory reset (format /data). So, it doesn't matter which you use, recovery is doing to resetting in the end anyway.

X2 Black screen

Hello,
I did a reboot and now I can't use my phone anymore. I see the Boot animation but after the Boot up, the screen just turns black. I receive notifications and active display is working, also I can start my camera with the twist but I can't take picture because the touchscreen does not respond. On active display or the power off pop up, the touchscreen is working. So I did a cache partition wipe but this hasn't fixed my problem. The strange thing is that after a couple of frustrated reboots, the Boot animation changed to the old animation with the spinning world. I want to reset the phone via recovery but first I need to backup my data. I have very important Data on my phone like whatsapp log or Photos and videos.. I can't connect my phone to the computer because I have a pin... How I can Backup my data and what caused the black screen?
If your bootloader is unlocked you can flash TWRP. TWRP has the ability to decrypt userdata if you have the password. I don't know if it can decrypt the moto x or not, because TWRP only officially support ASOP type encryption, if motorola uses a different technique for encryption it will say the password is wrong. If it works you can browse and backup files from TWRP recovery.
If it says the password is wrong or you don't have the bootloader unlocked, then you are SOL and have lost everything.
In either case doing a factory reset will hopefully fix your issue.
Sent from my XT1095
So I did a factory reset now. But I stuck in Bootloop, i just see the M logo. How I can fix it? And no, my Moto X is stock like out of the Box.
rupro327 said:
So I did a factory reset now. But I stuck in Bootloop, i just see the M logo. How I can fix it? And no, my Moto X is stock like out of the Box.
Click to expand...
Click to collapse
After the factory reset bootup takes longer than normal, how long did you wait?
If that is not the case, what model moto x do you have? For example mine is xt1095. Also what version of android do you have? 5.0, 4.4.4, 5.0.2, 5.1, etc?
Sent from my XT1095
same issue today
also have the same issue, black screen after reboot. moto voice, active display/notifications are responsive, camera too when twisting the phone. moto voice says "unlock your phone to continue" but i currently don't have any screen locks or anything, just swipe. i have a pure edition running on 5.1. Skeptical about a reset since the phone is still responsive.. tried looking for other fixes, but looks like this issue is just coming up today...
This exact same thing happened to me. Updated to 5.1 about a week ago via the OTA. Wiping cache did nothing. Diagnosing it as a software issue, I attempted to sideload the official 5.1 OTA that's posted elsewhere in the forums. It came back as installation aborted, so I gave up on any hope of keeping my data and did a factory reset. Now all it does is bootloop, sometimes settling on the prone android no command screen for a little while. I can boot into recovery and the bootloader, but thats it. Really hoping someone can come up with a solution. XT1096.
AGISCI said:
After the factory reset bootup takes longer than normal, how long did you wait?
If that is not the case, what model moto x do you have? For example mine is xt1095. Also what version of android do you have? 5.0, 4.4.4, 5.0.2, 5.1, etc?
Sent from my XT1095
Click to expand...
Click to collapse
I've waited about 30 minutes, in this time my phone just bootet into the recovery by his self. I've contacted Motorola and I'll send my device to repair.
It's a xt1092 with 5.1 RETDE.
I personally think that this issue is caused by the Boot animation update.
swankylaxplayer said:
This exact same thing happened to me. Updated to 5.1 about a week ago via the OTA. Wiping cache did nothing. Diagnosing it as a software issue, I attempted to sideload the official 5.1 OTA that's posted elsewhere in the forums. It came back as installation aborted, so I gave up on any hope of keeping my data and did a factory reset. Now all it does is bootloop, sometimes settling on the prone android no command screen for a little while. I can boot into recovery and the bootloader, but thats it. Really hoping someone can come up with a solution. XT1096.
Click to expand...
Click to collapse
Flash the stock 5.1 logo, kernel, system, modem, baseband and recovery for the XT1096 - the full image files are available.
JulesJam said:
Flash the stock 5.1 logo, kernel, system, modem, baseband and recovery for the XT1096 - the full image files are available.
Click to expand...
Click to collapse
Thank you! I don't know how I missed that! Back in business now.
nrsmsn said:
also have the same issue, black screen after reboot. moto voice, active display/notifications are responsive, camera too when twisting the phone. moto voice says "unlock your phone to continue" but i currently don't have any screen locks or anything, just swipe. i have a pure edition running on 5.1. Skeptical about a reset since the phone is still responsive.. tried looking for other fixes, but looks like this issue is just coming up today...
Click to expand...
Click to collapse
I have the exact same problem. Any fix?
Edit: Can't get adb to recognize phone. Phone is rooted.
kunal_07 said:
I have the exact same problem. Any fix?
Edit: Can't get adb to recognize phone. Phone is rooted.
Click to expand...
Click to collapse
Have you tried reflashing the system image from the bootloader?
is that possible without adb? If so, can you tell me how?
kunal_07 said:
is that possible without adb? If so, can you tell me how?
Click to expand...
Click to collapse
You still do everything through terminal. You have to cd to your folder that has adb and fastboot enclosed, usually platform-tools. Instead of starting each command with "adb", you'll start with "fastboot" and you'll be flashing these while your phone is at the fastboot screen.
The full image files are in the forums, and all the commands you'll need, in order, are posted in this thread earlier
I have found that some time the fastboot from Moto wouldn't recognize the phone. I, then, use the mfastboot-v2 found somewhere around this forum works great.
Me too faced this problem few days back. Only option left to do was factory reset.
Read below just to go through of what i faced:
( I had gone through bunch of articles for restoring my data but i had a pin lock because of which while connecting to pc it couldnt detect phone.
Other things i tried includes flashing lockscreen bypass zip via stock recovery. There i faced signature verification failed error because i had done it through stock recovery where it doent let u toggle signature verification on/off as in CWM. )
And for those who wants their data back , i found many articles of data recovery after factory reset. But it needed your device to be rooted. All you have to do is after factory reset dont make use of phone and after rooting you can recover your phone by software as EASEUS android recovey, Dr fone android recovery. Thats all .
I am too facing this issue as of last night,, I have the verizon version (complete stock, no root, locked bootloader) and I am not sure how to go about fixing this without losing all my data.. I tried wiping cache but it did nothing.. Can anyone provide some kind of troubleshoot guide please? It would be much appreciated.
A friend of mine is also having the same issue.
I tried the 5.0 image and it won't flash.
I'm locked and without root. Is it even possible to flash even the factory images? (And yes, I've tried to go to the Customer Portal for the Moto X and that isn't giving me anything)
Edit: Finally got it to flash the stock image. Didn't help. Factory reset fixed things.
Note: I had this problem and was able to fix it through a factory reset, but I had to do it through minimal adb and fastboot. The bootloader factory reset option didn't work.
I am having the exact same issue. Has anybody had a luck resolving it short of a factory reset?
My phone battery died last night. I plugged my phone in, let it get about 15% charge, then tried to turn it back on. The phone boots like normal, but after the boot animation goes away, the screen is black. Active notifications still seem to work, and I can hold the power button to get the Power Down option. I can boot into the bootloader & access recovery just fine. However, my phone is fully stock (no root, no bootloader unlock, no anything). I can't seem to access ADB when the phone is powered normally (ie, when I'm at this mysterious black screen), but it's possible that USB debugging isn't even enabled.
So far, I've found a bunch people who've said a full factory reset will fix the problem, but I'm looking for another solution, or at least a way to grab my data before I reset. Since my bootloader's still locked, I can't seem to use fastboot boot to boot into TWRP, and I can't find any other way to access my data to copy it off the phone. I've tried wiping the cache using the stock recovery to no avail. Any suggestions?

Trying To Recover Data After XT1096 5.1 Black Screen Bug

Trying to recover data after XT1096 5.1 black screen bug
So I encountered this bug about 2 days ago. It's basically a bug that results in an un-responsive black screen for no apparent reason. I tried all the standard support protocols to save my data (i.e. copy files to pc via USB, and using Cellebrite to pull them off) but without MTP or USB Debugging enabled none of these options worked. Both Verizon and Motorolla tech support advised me to factory reset my phone. However being that a reset will wipe all my data, I've refused to go down that path (yet). So after doing some of my own research I came up with the following ideas, which so far have not been successful.
Idea 1 - use adb to sideload an OTA update with a fresh image that will hopefully resolve the black screen bug but not wipe my data. I followed this thread with partial luck. I got about 47% through the sideload process before it crashed complaining about an invalid full image check
Idea 2 - use fastboot to flash all the images except user data (again with the hopes of resolving the black screen bug without losing data) - But I can't seem to find a compatible set of stock images that will play nicely with my unrooted and locked bootloader phone.
Idea 3 - root my phone, load a custom rom (with no black screen bug) and preserve my user data - unfortunately mofo doesn't support an XT1096 root since I've already accepted the 5.1 OTA.
So my question are:
1 - Are there a set of verizon stock digitally signed images anywhere out there that will work with my XT1096 with 5.1 already installed?
if not
2 - Is there any way to root my phone or unlock the bootloader so that I can accept non-factory images without the use of Mofo?
Any help with this is greatly appreciated.
rushramia said:
So I encountered this bug about 2 days ago. It's basically a bug that results in an un-responsive black screen for no apparent reason. I tried all the standard support protocols to save my data (i.e. copy files to pc via USB, and using Cellebrite to pull them off) but without MTP or USB Debugging enabled none of these options worked. Both Verizon and Motorolla tech support advised me to factory reset my phone. However being that a reset will wipe all my data, I've refused to go down that path (yet). So after doing some of my own research I came up with the following ideas, which so far have not been successful.
Idea 1 - use adb to sideload an OTA update with a fresh image that will hopefully resolve the black screen bug but not wipe my data. I followed this thread with partial luck. I got about 47% through the sideload process before it crashed complaining about an invalid full image check
Idea 2 - use fastboot to flash all the images except user data (again with the hopes of resolving the black screen bug without losing data) - But I can't seem to find a compatible set of stock images that will play nicely with my unrooted and locked bootloader phone.
Idea 3 - root my phone, load a custom rom (with no black screen bug) and preserve my user data - unfortunately mofo doesn't support an XT1096 root since I've already accepted the 5.1 OTA.
So my question are:
1 - Are there a set of verizon stock digitally signed images anywhere out there that will work with my XT1096 with 5.1 already installed?
if not
2 - Is there any way to root my phone or unlock the bootloader so that I can accept non-factory images without the use of Mofo?
Any help with this is greatly appreciated.
Click to expand...
Click to collapse
1) Yes there are stock signed images for the xt1096. They won't fix your problem. The problem is the data partition is corrupt. Flashing a stock image does not change nor fix the data partition, so it won't help.
2) No, there is no other way.
I am sorry to say, but there is only one solution, which is factory reset. The reason factory reset works is because it will erase the corrupted data partition. Sorry, but you will lose your data, there is no way to recover now. Since you have 5.1 installed, it is also impossible to use mofo and sunshine, so no root and no bootloader unlock neither.
I'm in the same boat except I'm on vacation with out my computer. Can I factory reset from fastboot?
Yes you can. Once you are in fastboot select recovery. Once you are in recovery and see the dead android press power and volume down to open the menu, then select factory reset.
Sent from my XT1095 using Tapatalk
AGISCI said:
1) Yes there are stock signed images for the xt1096. They won't fix your problem. The problem is the data partition is corrupt. Flashing a stock image does not change nor fix the data partition, so it won't help.
2) No, there is no other way.
I am sorry to say, but there is only one solution, which is factory reset. The reason factory reset works is because it will erase the corrupted data partition. Sorry, but you will lose your data, there is no way to recover now. Since you have 5.1 installed, it is also impossible to use mofo and sunshine, so no root and no bootloader unlock neither.
Click to expand...
Click to collapse
Thanks Chris,
I appreciate the response. Do you know where I might find the stock signed images for xt1096? I've somehow hosed my system img so now I can't even get into recovery to do a factory reset (keeps complaining 'failed to validate system image'). I'm hoping to re-flash the stock system.img to fix this problem. Let me know.
Thanks!
Sure here it is:
download
Sent from my XT1095 using Tapatalk
AGISCI said:
Sure here it is:
Click to expand...
Click to collapse
Thanks!
That got me back to where I started. System is no longer 'invalid' and my phone boots up to a black screen. The notifications still work and I can boot into fastboot or recovery modes. I guess my only option now is to bite the bullet and factory reset now (and loose my data). :crying:
Thanks again for all your help!
AGISCI said:
Yes you can. Once you are in fastboot select recovery. Once you are in recovery and see the dead android press power and volume down to open the menu, then select factory reset.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
weird. I go into fastboot and got the options: normal boot, recovery, factory and some others and i can cycle through with vol down. vol up is select but no matter what i select it just boots normally (still have black screen)
do i need to unlock something?
I need some more info. Are you on stock rom? What version(4.4.4, 5.0, or 5.1)? Have you unlocked your bootloader with sunshine? Have you rooted woth mofo or kingroot?
Sent from my XT1095 using Tapatalk

XT1068 stock fw fde trouble

Hi,
I've got XT1068, updated to 6.0 Marshmallow. In the past, I got it FDE (full disk encrypted).
Few days ago I unlocked my bootloader to gain root access on my phone using http://forum.xda-developers.com/moto-g-2014/general/simplified-modifying-boot-img-t3317605
everything went as expected, but by unlocking it wiped all userdata, so I wanted to re-encrypt the phone (and the external SD especially). But now, encryption fails, telling me "encryption fails, you have to reset your phone" each time I start the encryption, ending in a userdata-wipe.
So I thought about going back to stock fw.
After locking the bootloader and applying stock 6.0 FW, I tried again to encrypt the phone, but I am still unable to do so.
Can someone help me giving some suggestions, how I can fix that behavior and (mainly) how to get some errors/debug shown?
When selecting "encrypt now", the green android symbol with black background is shown for 5seconds, then the phone reboots, shows the bootscreen with the M, then it restarts again (after ~30minute) and shows after another 20seconds the message that something went wrong encrypting.
Ok it seems that I found out the problem in my case by myself.
Instead of using mfastboot.exe -w to delete the data and cache partition, I used recovery mode to delete userdata. I did it twice, since the first run, returns some errors.
After reset, I started the phone and got the fresh-install screen. I skipped mobile and wifi networking and did not entered google account details. Then I restarted the phone and waited for ~5minutes and tried to encrypt - everything works. Everytime I started encryption without waiting for some time it failed.
I hope I can save someone else some time, since factory reset takes ~15minutes each time you do it.

Categories

Resources