Hi guys,
I am on latest LOS for Nexus 5x (bullhead) and everything was good. I kept the phone up to date with official download from the settings. This morning I tried to flash a new kernel but just before a created a backup with TWRP (never know). I flashed the kernel -> faild. The phone was not able to boot. No problem as I created a backup...
During the restoring process -> error. There is un issue with the system partition.
I tried to flash the latest LOS updated stored in \data. No error during the install but the phone is still not able to boot, stuck on Google Logo.
Now, if I tried to boot in recovery mode and when I enter my password it tells me the password is wrong !
I flashed the latest twrp img but same issue. Not able to decrypt.
How can I access to my data ? I want at least to save what is on my sdcard..
I don't care about apps.
Thank you a lot.
Related
Hi there,
Today I received my Xperia Tablet Z and sure enough, the first thing I did was flash a custom Rom
But my device wouldn't boot up anymore...
Basically I unlocked the bootloader via Sony's key, flashed a boot.img via fastboot and then flashed the Rom via the recovery.
All I got was a bootloop - regardless of which custom Rom I used (AOKP, Cyanogen stable, Cyanogen nightly, Cyanogen unofficial, ...)
I tried doing a factory reset but to no avail.
I manually checked for each delete / wipe option in the recovery, but the device simply would not boot further than the boot animation.
However, after some time I stumbled across a Rom that contained the TWRP recovery instead of CWM.
And this one asked me for a password when I booted.
"A password? What for?!"
Well, simply cancelling the request works.
But it seems that my whole problem had to do with that password request
As it turns out, the data partition was encrypted would not let me access it.
For some reason unknown to me, it was not wiped in CWM (some error popped up when trying to format /data).
TWRP allows for doing a format on this one ("full wipe" if my memory does not fool me) and voila - the tablet would boot!
So to sum it up:
After unlocking the tablet, there might still be an encrypted /data that can't be accessed by any custom Rom.
Wiping this /data solves the problem - and can be done via TWRP.
I just banged my head on that issue for 5 straight hours - downloading new custom roms, looking for similar bootloops, ...
Maybe this information will help someone
FrozenLord said:
Hi there,
Today I received my Xperia Tablet Z and sure enough, the first thing I did was flash a custom Rom
But my device wouldn't boot up anymore...
Basically I unlocked the bootloader via Sony's key, flashed a boot.img via fastboot and then flashed the Rom via the recovery.
All I got was a bootloop - regardless of which custom Rom I used (AOKP, Cyanogen stable, Cyanogen nightly, Cyanogen unofficial, ...)
I tried doing a factory reset but to no avail.
I manually checked for each delete / wipe option in the recovery, but the device simply would not boot further than the boot animation.
However, after some time I stumbled across a Rom that contained the TWRP recovery instead of CWM.
And this one asked me for a password when I booted.
"A password? What for?!"
Well, simply cancelling the request works.
But it seems that my whole problem had to do with that password request
As it turns out, the data partition was encrypted would not let me access it.
For some reason unknown to me, it was not wiped in CWM (some error popped up when trying to format /data).
TWRP allows for doing a format on this one ("full wipe" if my memory does not fool me) and voila - the tablet would boot!
So to sum it up:
After unlocking the tablet, there might still be an encrypted /data that can't be accessed by any custom Rom.
Wiping this /data solves the problem - and can be done via TWRP.
I just banged my head on that issue for 5 straight hours - downloading new custom roms, looking for similar bootloops, ...
Maybe this information will help someone
Click to expand...
Click to collapse
I usually just hit the thanks tab but feel I have to than you personally for this post. After hours of messing about I found this post, flashed the TWRP recovery, wiped data and was able to flash and boot my xperia..
Thank you for sharing this info..
For others searching you can get the twrp recovery in this rom http://forum.xda-developers.com/showthread.php?t=2383800
I own the Nexus 9 (Wi-fi model) and am running Android 6.0 MRA58N, rooted with the TWRP recovery. I wanted to to update to android 6.0.1 so downloaded the latest factory image (MMB29R) from Google's website. I rebooted to TWRP so I could flash the new image. When I realized that you cannot flash system.img through TWRP I had already flashed the boot.img. I attempted to reboot only to get stuck in a bootloop. "Luckily me" I had taken a backup through TWRP previously (boot, data and system). So I went again in TWRP, factory reset and restored (successfully as per the message) the backup. Now every time I boot I see Google's logo, then the "Your device is corrupt" message, that I'm seeing since I installed TWRP (it doesn't seem to affect anything) and then a blank screen that goes on forever.
I had this backup moved to my hard drive and the moved it back to my device. Tried the "fix permissions" option in TWRP as well. No go.
Any suggestions?
I managed to fix it by installing the system, cache, boot and vendor partitions from the new build and the data partition from my nandroid backup.
same happen to me yesterday..what i did is,reboot into fastboot.and then flash vendor, system, boot, cache and also recovery..i have twrp install,but it show 0mb on internal storage.flash stock recovery fix that problem..and after that i flash twrp,supersu and elementalx again..it fix my problem
Sent from my Nexus 9 using Tapatalk
I wanted to do an update from xiaomi.eu MIUI 9.5.X ROM to MIUI 10 on my wife's Mi Note 3. Unfortunately, I run into encryption troubles. Here are the steps I did:
1. Booted to preinstalled TWRP (I think it was 3.0.2) and did a full backup. Unfortunatelly I only saved to internal phone storage :crying:
2. Wiped Dalvik+Cache
3. Tried to install MIUI 10 Stable but got some errors in TWRP (remember it saying Error 7). Tried to wipe System as well but didn't help.
4. I updated TWRP to 3.1.1. and then managed to successfully install MIUI 10 version. First boot went OK.
Because I wiped System in TWRP I lost all app settings. My idea was to proceed with a restore from a full 9.5.X backup and then repeat the update to MIUI 10 without wiping in order to keep all applications etc.
5. So I booted again to TWRP 3.1.1 and did a restore from a backup.
After the reboot following message appeared: ''Encryption was interrupted and can't complete. As a result, the data on your phone is no longer accessible. To resume using your phone you need to perform a factory reset....''. In TWRP I can't access any files on internal storage - it shows 0 MB.
Can you please explain to me why this happened? Is it somehow related to TWRP update after performing a backup? I know that the solution is to format data in TWRP but I would like to avoid it. Is there any way of saving phone's data?? Does it make sense to try flashing MIUI 10 ROM via USB-OTG?
Any help would be highly appreciated. We really don't want to lose photos of our little baby from last holidays.
Thank you.
Dear readers,
I flashed TWRP 3.3.1, booted into it, wiped data, did factory reset, and installed decrypt for latest pie.
i rebooted into twrp to verify the decryption and indeed I was not asked for a password.
Then I booted into Pie and went through the account setup and while I was doing that some updates got installed by android.
To my horor when I booted back into TWRP it again asked for password, meaning android pie somehow encrypts the data again.
(Second time I did this whole process again I installed magisk.zip, so at least I have root.)
My question is:
How can I stop Android from encrypting again during the account setup process?
Greetings,
Mike
This happens to me too, the only real workaround I've found so far is to flash your zips (ie. magisk) before booting the first time.
I did flash stock image, flash twrp, boot into twrp, format data, flash decrypt.zip, flash Magisk.zip, and reboot. First thing it does is encrypt it again.
Then I tried same process but with no-dm-verity-encrypt.zip or something like that, and it said success, but still Pie decrypts again.
Then I tried previous firmware, (. 48 instead of 51), but same result. It is driving me nuts.
And no help from here so far.
Maybe I should go back to oreo, that worked OK with decrypt.
Greetings
Same problem wait solutions.
Alas, still no fix for this major problem.
What is the point of creating TWRP and other custom recoveries for X01AD when they can not be used for making backups, due to decryption problem?
So please someone with the skills to create a force decryption that actually works, help us out.
Thanks in advance,
Mike
Hello!
Yesterday, I updated my phone from A10 to A12 with full OTA and applied magisk on inactive slot.
After rebooting, all seems to work, no bootloop, android was optimizing apps... so far so good, I reached the point where my patter was asked. There was no problem with it.
The problem appeared when trying to open any APP and the android answer was (for any app) "Failed to read the app data. Cannot start the app"
Okay, I tried to go to settings and was unable to do so. After putting phone in airplane mode, settings worked but clearing apps cache or data did not help.
Trying to fastboot boot twrp.img did not work until I found https://github.com/rabilgic/twrp_device_oneplus_hotdogb/tree/Android-12.1 by another xda user.
Even being another device it worked (afaik they were unified twrp so they should work for both). However, once booted, the first problem appears. Inserting my patter did not decrypt the data in twrp... Booting into system removing pattern and try TWRP again and nothing changed...
Checking in twrp the data/data lead see all folders and files encrypted there... So this is probably why any app is working...
After reading, I saw that fbev2 was applied to A12 so this might be the problem. My guess was that flashing a A11 rom might save my data since the encryption should be the same older one v1. However, I am unable to flash ROMS with TWRP... Tried with OTG or sideload, but both failed. I would like to know if there is a way to flash an older rom (A10 whcih was my original one or A11) to decrypt the data or make the A12 decryption work to recover all my apps and data.
I do not know if flashing any further (of if I had already) lost the decryption keys or what is going on.
I had extracted the .img from a full A10 OTA (OOS) and I am hesitant of flashing all 32 images to the phone or if that will wipe data partition.
How can I proceed if possible without losing data with a flash, or how can I decrypt the data to make it work with A12?