Encrypting device gone wrong, android and recovery broken now, seems softbricked? - Moto G 2015 Q&A, Help & Troubleshooting

So, I made a big mistake.
I tried to encrypt my device, but it got stuck at 100%, so i rebooted it and now it's completely messed up.
When i boot it, it asks me for a password, when i enter it, it says decryption unsuccesful and my data is corrupt.
It gives me the option to reset the phone, which is fine, but it reboots the phone into recovery.
But i can't get into recovery, i can't read it properly but as far as i understand it fails to mount /data 5-ish times and then reboots again and tries to boot android again, bringing me to the password screen once again.
I don't care about data, i have backups, but i just want my phone working again.
TL : DR: phone boots, asks password, says data is corrupted, reset phone, goes into recovery, fails to mount partition, reboots, back to ask password.
If i have to do something in ADB let me know, i'm far from good with it but i can at least get it working...
Edit: RECOVERY WORKS! I got that one working again! Problem is that it still can't mount the /data partition so i can't seem to reset/wipe the phone properly.
Edit 2: Device is up and running again. I re-flashed the recovery via the bootloader and ADB, did a full wipe with the recovery because the re-flash fixed it and the wipe fixed the mount problem. After the /data partition could finally be mounted again i just flashed a ROM as usual with gapps and problem solved!
The microSD was broken too but after formatting that with a PC the phone could use it properly again. Did take a few tries tho, no idea why.

Related

decryption unsuccessful

today i tried to use my tablet and it completely locked up on the unlock screen, so i powered it off and upon powering it back on it said data unsuccessful and tried taking me into the recovery, which for me is twrp.. however, i cant seem to do anything here, it asks me for a password to decrypt the data, but i do not have such a password, im not sure if im able to reformat these partitions in any way, or reinstall a new ROM.. i dont have a microSD card, just a regular SD card i use on the dock
any ideas?
in trying to work out the problem ive managed to wipe almost all the data and attempted to install a new rom.. however, rom stops when it tries to format... from twrp, it wont let me format the data either... so theres something blocking me from formatting now, and this is stopping me from continuing, any ideas?
jason41987 said:
in trying to work out the problem ive managed to wipe almost all the data and attempted to install a new rom.. however, rom stops when it tries to format... from twrp, it wont let me format the data either... so theres something blocking me from formatting now, and this is stopping me from continuing, any ideas?
Click to expand...
Click to collapse
Did you ever encrypt it? What bootloader are you on? Have you recently updated TWRP?
If not I would try to reinstall TWRP 2.5.0.0. The only time I have ever seen this error is an incompatible TWRP and bootloader.

[Q] TWRP cannot read my sdcard (encrypted?)

So, my previous post was a bit too optimistic. I've managed to get TWRP onto my phone, but when I went to actually load a custom ROM into it, I found that it couldn't read anything from my sdcard.
I'm having what appears to be a common problem: when I boot into Recovery, TWRP asks for a password. When I cannot provide it (because I have no idea what it is), TWRP is unable to access the data partition. Apparently, the partition is encrypted and I have no way to de-crypt it.
I've found dozens of other posts by users having this problem and the solution everyone is giving is to fully wipe the data partition and start over. But I *can't* wipe the data partition, because TWRP can't access it and fails almost immediately. I have tried a multitude of options, including:
* Installing old versions of TWRP - same behavior; asks for a password, fails to wipe/format the data partition.
* Installing ClockWork's recovery - same thing; fails to format/wipe the data partition
* Flashing back to stock recovery, using that to format my data partition; this worked fine but as soon as I put TWRP back, the problem came back.
On my last attempt, I used the stock recovery to completely wipe the data partition, and made absolutely sure that it never booted into anything but Download or Recovery modes after that. I was hoping that would prevent the stock software from ever re-encrypting the data, but somehow, when I booted TWRP, it still can't read my partitions. Note that my phone itself is not "encrypted" as far as the Settings application is concerned, but apparently Android is doing something behind the scenes anyway. There doesn't seem to be any option in the stock settings to turn off this encryption.
Is there any hope for getting a custom ROM onto this phone?
Thanks for the help!
Any solution? I'm running into the same issue where TWRP is asking for a password.

Undo Format Data?

I am a relatively new android user but do enjoy flashing roms, kernels etc
My problems began when i was trying to flash a new rom on my Nexus 5
I was trying to flash this rom http://forum.xda-developers.com/showthread.php?t=2655722 but despite doing a factory reset and wiping the dalvik cache and cache it refused to boot in to the new rom
I tried to flash the rom multiple times but without success, eventually when trying to boot into recovery to try again i was greeted with an unthemed TWRP recovery asking for a password despite the fact that i had a custom theme and multirom installed I tried to proceed anyways but was greeted with E: unable to mount storage
In desperation i tried to solve this problem and found this
UsoftTech :: WwW.UsoftTech.CoM ::
TWRP asking for password
After unboxing my Nexus 5, here's what I did:
1. Booted into bootloader
2. fastboot oem unlock
3. Flashed TWRP v2.6.3.0
4. Booted to recovery
The screen that greeted me says "Please Enter Your Password".
I can hit the cancel button below this which takes me to the normal TWRP screen. I then pushed SuperSU to /sdcard, but when I flash it it fails because it's unable to mount /cache or storage.
When I reboot to the system, it takes an awfully long time (approximately 30s) to progress past the "Google" screen, and then it just seems to sit on the booting animation forever.
Any help?
EDIT: Solved my own problem.
Hit cancel at the password screen, then go into Wipe and then do a factory reset by swiping. Then go back into Wipe and press the 'Format data' button. You have to type 'Yes', and it will take a few seconds. After that everything should work normally.
TWRP asking for password
Click to expand...
Click to collapse
I now fear that i maybe without both a rom and all my files such as my music that was stored on my phone.
Is there any way for me to undo the damage i may have done to to my phone?
You can't recover the data. But you can push files over with ADB.
Sent from my Nexus 7 using Tapatalk
JoJostar said:
I am a relatively new android user but do enjoy flashing roms, kernels etc
My problems began when i was trying to flash a new rom on my Nexus 5
I was trying to flash this rom http://forum.xda-developers.com/showthread.php?t=2655722 but despite doing a factory reset and wiping the dalvik cache and cache it refused to boot in to the new rom
I tried to flash the rom multiple times but without success, eventually when trying to boot into recovery to try again i was greeted with an unthemed TWRP recovery asking for a password despite the fact that i had a custom theme and multirom installed I tried to proceed anyways but was greeted with E: unable to mount storage
In desperation i tried to solve this problem and found this
Wrong thread.
d
Click to expand...
Click to collapse

TF101G boot loop

Hi @all
my TF101g sudenly got into bootloop at Eee logo. I can get into TWRP, get ADB connection to PC, tried everything I could find here in forum (PERI etc), but nothing helped.
At trying to format Data partition with ext2, I get an error. It seems that my Data partition is corrupted in such way that it can't be formated.
Any ideas what could I try?
Can I flash a stock ROM somehow?
I can flash from TWRP, but it does not seems to work. Tried KatKiss 4.4.36 (this one was installed at the moment of sudden bricking) and Android Revolution - none goes passt the Asus logo.
P.S. forgot to say how it happened - it rebooted at connecting it to the power source and after reboot got into loop.
Maybe you can go to twrp wipes, advanced wipe and than only click on data, than on the right "repair or change file system" I dont know why you wanna format to ext2? All my stuff is ext4, but I dont know if I changed it in the past.
TWRP wipes didn't help, and now it is too late to do anything. I tried to flash stock ROM, and I've lost TWRP. Now I have just the boot loop and no ADB, nothing.
weird, can you try to repair it in apx mode? (Volume Up & Power when the tablet is off). Maybe to flash stock rom again, or install twrp.
In 2013 i had the same problem in my tf101g, not did have solution here in xda, and not have. I tried solve the problem with myself. I not remember more. But, you will have to format your partition for ext4, then ext3, then ext2. In adb. Put in recovery, and go to pc. I not remember the codes. I will try to remember.
Hi mendez,
I found that solution too here in the forum, but it didn't work. I always got an error at formating, something about value too large.

Unsuccessful decryption

Okay, I'm not sure if this entirely the right place. Have updated to Viper 2.1.0. Rebooted my phone, as I do each morning. It came up with needing to to enter a decryption key, ie; my password. Did said & it failed saying that data is corrupt. TWRP can no longer read the data portion either. Therefore can't wipe it in TWRP.
Is there a way to format or wipe the data partition through either fastboot or adb?
Factory reset but your data will be gone.
Random Pinenut Joy said:
Okay, I'm not sure if this entirely the right place. Have updated to Viper 2.1.0. Rebooted my phone, as I do each morning. It came up with needing to to enter a decryption key, ie; my password. Did said & it failed saying that data is corrupt. TWRP can no longer read the data portion either. Therefore can't wipe it in TWRP.
Is there a way to format or wipe the data partition through either fastboot or adb?
Click to expand...
Click to collapse
Try this, Venom helped with it a while ago and it worked, you will just have to re activate smart lock in google setting.
TWRP-Advanced-File Browser.
Navigate to /data/system and delete the locksettings.db.
I got my phone back from HTC after repair my phone screen and they wiped my custom rom and recovery but still have unlocked bootloader and restore oreo 8.0.
I managed to re-install twrp and tried to install a customed rom and experienced the same "decryption unsuccessful". But there is no lockingsettiings.db in the folder.
I will later try this method and report.... been a frustrating day....
=https://forum.xda-developers.com/showpost.php?p=59685278&postcount=3

Categories

Resources