Hey guys,
normally I don't cry, but now the time has come to do so, I think. I've updated the bootloader and installed the newest TWRP.
The problem is whenever I flash a rom, no matter which, it tells me that the encryption was unsuccessful. I've tried to reformat the DATA partition and SYSTEM and everything else. Made several wipes, but nothing seems to help.
I hope, that you have any hints for me. I'm afraid that I'm totally helpless right now.
Thanks in advance.
Daniel
CarthyMcDan said:
Hey guys,
normally I don't cry, but now the time has come to do so, I think. I've updated the bootloader and installed the newest TWRP.
The problem is whenever I flash a rom, no matter which, it tells me that the encryption was unsuccessful. I've tried to reformat the DATA partition and SYSTEM and everything else. Made several wipes, but nothing seems to help.
I hope, that you have any hints for me. I'm afraid that I'm totally helpless right now.
Thanks in advance.
Daniel
Click to expand...
Click to collapse
1. Execute "fastboot -w"
2. Start TWRP
3. Reformat your data as EXT4 and then format it again as F2FS
3. Reformat your cache as EXT4
4. Flash/Boot ROM you've chosen.
LuK1337 said:
1. Execute "fastboot -w"
2. Start TWRP
3. Reformat your data as EXT4 and then format it again as F2FS
3. Reformat your cache as EXT4
4. Flash/Boot ROM you've chosen.
Click to expand...
Click to collapse
What can I say. You're my hero. Thanks a lot, you're a good lad. :good:
Cheers
Related
Hey guys,
My work switched to Google Apps for their email so i wanted to test it out on my phone. Doing so required them to encrypt my phone. What this appears to have done is encrypt the data partition. So now when i go into (TWRP) recovery and try to do a backup / wipe / or anything else, it says it is "Unable to mount /sdcard" I'm unable to do a factory reset of any kind so i'm essentially stuck on this rom (ARHD) until i can figure out how to wipe data and get the /sdcard to be not encrypted. Does anyone have any ideas? I'm imagining that with the modified recovery not being able to access the data partition that i'm going to have to do some adb type stuff?
Please help! I want to keep flashing new roms!
Anyone??
I think you can't decrypt your data partition...
Did you try to wipe your data partition with the latest TWRP?
Guich said:
I think you can't decrypt your data partition...
Did you try to wipe your data partition with the latest TWRP?
Click to expand...
Click to collapse
That's the thing, the recovery can't mount /sdcard so wiping isn't an option from recovery
jrun said:
That's the thing, the recovery can't mount /sdcard so wiping isn't an option from recovery
Click to expand...
Click to collapse
Hi! Only TWRP recovery can solve your issue just do this...
Boot to TWRP recovery->Wipe
From there there are 2 options the left is the advance wipe and on the right is Format Data
Just select the format data button and it should reformat the whole data partition.
1st one would prompt so many errors and reformat then reformat it again 1 time and it should fully reformat your phone.
In theory it should reformat data partition even when encrypted but just in case it fails and I won't be able to go back to this thread just boot in bootloader and type
"fastboot erase userdata"
Well none of that works. TWRP doesn't support decryption yet for this device.
sevenalive said:
Well none of that works. TWRP doesn't support decryption yet for this device.
Click to expand...
Click to collapse
What I instructed basically doesn't decrypt the partition. It reformats it.
Riyal said:
What I instructed basically doesn't decrypt the partition. It reformats it.
Click to expand...
Click to collapse
I know what you instructed, it doesn't work. Only way I got it to work. Flash the stock recovery. Boot into system. Take off the encryption, phone reboots and removes the encryption, data is formatted. Then flash TWRP again.
I basically ran into this exact problem. I was hoping that I'd still be able to back up the encrypted device, but forget about it. What a pain in the ass.
Someone should make add something to the guides about how encrypting your device makes nandroid backups impossible.
So, I figured I'd set up the scenario first in hopes to help make this understood:
1. Got the device
2. Booted/Updated to 5.0
3. Rooted using CF Autoroot
4. Remained on Stock 5.0 + Root (Stock bootloader/recovery)
- 1st "OFFICIAL" ROM came out so like the gentle flash'aholic I am, I rushed and downloaded [ROM][Unofficial][5.0.2][alpha/wip] Resurrection Remix v5.2.6[victara]
1. I installed TWRP via the Google Play App, (I think i was on 2.8.3.0)
2. Rebooted into TWRP, and did a FULL BACKUP (saved locally)
3. Formatted Davlik, System, Data, Internal Storage, Cache
4. Rebooted into TWRP, pushed the ROM files ([ROM][Unofficial][5.0.2][alpha/wip] Resurrection Remix v5.2.6[victara])
5. Flashed the ROM, GAPPS, SuperSU, Rebooted.
After about a minute of booting into the new ROM (new red loading animation) I started to get "encryption unsuccessful", and the only option was to factory reset phone, after which nothing happened, my guess was because of the custom recovery.
What was my error, and how do I prevent this from happening again?
My thinking is that wiping the Cache/System/Data/Internal/Davlik partitions somehow messed up some function someplace?
To fix it I took steps in this thread (http://forum.xda-developers.com/moto-x-2014/help/lollipop-update-failing-how-troubleshoot-t2961633) - thanks @randyklein
-Download "Official 4.4.4 Full Restore Images" from http://www.graffixnyc.com/motox.php# and extract. Move recovery.img, boot.img, and system.img into adb folder
-Boot into fastboot, plug in USB
-Using mfastboot v2, run the following commands:
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img
How do I avoid this in the future if I decide to try a custom ROM/Recovery again?
Same problem...
Format data in twrp to fix encryption error
CWick4141 said:
Format data in twrp to fix encryption error
Click to expand...
Click to collapse
will i lose my twrp backup ?
marquesini said:
will i lose my twrp backup ?
Click to expand...
Click to collapse
Data partition just stores your apps (if not pre-loaded into system partition via ROM), and any data associated with them, so it leaves the Internal SD Card partition alone.
What concerns me is that I already wiped data, and I think I formatted the data partition as well, and still had the issue.
I'll have to try again soon.
I did a full wipe and then formated the data, then installed the ROM,gaaps,and supersu beta.
Got it working with root.
Shemploo said:
Data partition just stores your apps (if not pre-loaded into system partition via ROM), and any data associated with them, so it leaves the Internal SD Card partition alone.
What concerns me is that I already wiped data, and I think I formatted the data partition as well, and still had the issue.
I'll have to try again soon.
Click to expand...
Click to collapse
Formatting data in twrp is not the same as wiping data
CWick4141 said:
Formatting data in twrp is not the same as wiping data
Click to expand...
Click to collapse
True, that is why I said in above post that I think I formatted it as well, but being as I'm not certain I'll have to do it again to be sure.
Shemploo said:
True, that is why I said in above post that I think I formatted it as well, but being as I'm not certain I'll have to do it again to be sure.
Click to expand...
Click to collapse
You would know if you formatted data since it erases everything including internal storage
CWick4141 said:
You would know if you formatted data since it erases everything including internal storage
Click to expand...
Click to collapse
Alright, I booted TWRP, and clicked "Data" then "Repair/Change File System" it's currently showing f2fs, my format options are EXT2, EXT3, EXT4, FAT.
I think I want EXT4 right?
UPDATE: I tried EXT4 as every partition seems to use it, and from past experience, and It's working!.
Thank you for nudging me in the right direction.
edit: wrong thread
Does anyone have encountered this issue?? It's really damn annoying... Thanks for any help
I did have it and it is very annoying, I installed TWRP Blue Spark and it solved the issue. I will look for it and if I find it I will share it with you.
What version of TWRP are you using? 3.0.3-1, 3.0.4 and 3.0.4-1 have all been working well so far.
Anova's Origin said:
What version of TWRP are you using? 3.0.3-1, 3.0.4 and 3.0.4-1 have all been working well so far.
Click to expand...
Click to collapse
This happens if yu are f2fs formatted and swipe in allow for modifications when booting in §TWRP. If you don't swipe, you can still flash roms. Not sure what's changing anyway...I formatted ext4 and have no issues right now.
iam using f2fs with latest twrp (3.0.4.x) and no such issues.
but i was losing apps randomly after booting into recovery, on older TWRP versions.
Installed TWRP 3.0.4 and everything seems back to normal. Thanks for ur help guys.
Now my next problem is 4g reception in France..
Cheers thanks a lot
PS: how do I know if I'm using f2fs or ext4?
I believe there was an option somewhere in TWRP to view all your partitions and their file formats. By default, only the data partition is formatted in f2fs, everything else should be ext4 (and maybe fat?)
Edit: If you select Wipe in TWRP, then advanced wipe, and select the Data partition, you can click partition options to see what the file format is (don't swipe right if you don't want to wipe it). Aside from data, every other partition should be ext4 by default.
There's also apps like disk info that can tell you the file system used as well.
piffa_ said:
Installed TWRP 3.0.4 and everything seems back to normal. Thanks for ur help guys.
Now my next problem is 4g reception in France..
Cheers thanks a lot
PS: how do I know if I'm using f2fs or ext4?
Click to expand...
Click to collapse
there is a app on playstore disk info
and there is new twrp avaliable 3.0.4.1
I recently updated my TWRP to the latest and official version of 3.1.0, but now after updating it i am facing a new bug.
Whenever i wipe cache and dalvik cache it say's in the end "Unable to mount Storage"
Someone please help
You have some partitions encrypted.
Decrypt your phone and try again.
Some ROM have encryption activated, initially.
Testerofroms said:
You have some partitions encrypted.
Decrypt your phone and try again.
Some ROM have encryption activated, initially.
Click to expand...
Click to collapse
Could you please tell me how to decrypt? I am using RR rom 7.1.1 official
Prayas29 said:
Could you please tell me how to decrypt? I am using RR rom 7.1.1 official
Click to expand...
Click to collapse
Mmmh it seems, that you can not.
please go there and read:
http://forum.le.com/us/index.php?threads/issue-whit-leeco-update.2383/
In addition you should also google for "android encrypt" or perhaps for "android 7 encrypt" ?
This feature exists already since Android 5...
Testerofroms said:
Mmmh it seems, that you can not.
please go there and read:
http://forum.le.com/us/index.php?threads/issue-whit-leeco-update.2383/
In addition you should also google for "android encrypt" or perhaps for "android 7 encrypt" ?
This feature exists already since Android 5...
Click to expand...
Click to collapse
Even though it says unable to mount storage i am able to see all the files in my storage and access them
Prayas29 said:
Even though it says unable to mount storage i am able to see all the files in my storage and access them
Click to expand...
Click to collapse
Please read this thread:
Indian stock ROM LeMax2 EUI 5.8 15s
/data is encrypted with a factory password
-> no way to make it accessable for TWRP.
so you need to copy the content and after that, you need to wipe this partition
Testerofroms said:
Please read this thread:
Indian stock ROM LeMax2 EUI 5.8 15s
/data is encrypted with a factory password
-> no way to make it accessable for TWRP.
so you need to copy the content and after that, you need to wipe this partition
Click to expand...
Click to collapse
I had done that earlier when i flashed TWRP for the first time and after that nothing like this showed. I am seeing this again after updating it again to 3.1.0.
So i will have to factory reset it again to make itwork properly?
And do i have to do it every time i update my TWRP?
And also what all should i wipe?
Should i wipe my whole phone storage?
Prayas29 said:
And also what all should i wipe?
Should i wipe my whole phone storage?
Click to expand...
Click to collapse
wipe /date and /cache
---------- Post added at 17:49 ---------- Previous post was at 17:46 ----------
Prayas29 said:
I had done that earlier when i flashed TWRP for the first time and after that nothing like this showed. I am seeing this again after updating it again to 3.1.0.
So i will have to factory reset it again to make itwork properly?
And do i have to do it every time i update my TWRP?
Click to expand...
Click to collapse
the stock boot is always checking of /data is encrypted or not.
if /data is not encrypted, it will start encrypting while booting.
decrypt key is not known.
Testerofroms said:
wipe /date and /cache
---------- Post added at 17:49 ---------- Previous post was at 17:46 ----------
the stock boot is always checking of /data is encrypted or not.
if /data is not encrypted, it will start encrypting while booting.
decrypt key is not known.
Click to expand...
Click to collapse
Thanks for the help but one more question is that will this happen again if i dont update my TWRP? Or only while updating it encrypts the data?
Sorry for all the noob questions. I am not so techy guy so these things are new to me
Prayas29 said:
Thanks for the help but one more question is that will this happen again if i dont update my TWRP? Or only while updating it encrypts the data?
Sorry for all the noob questions. I am not so techy guy so these things are new to me
Click to expand...
Click to collapse
You will never have access to /data with TWRP,
if you can not provide the correct password.
This password is set by the manufacturer and not public yet.
If you boot the system you will have access to /data.
If you boot the TWRP you will not have access to /data.
This is not related to any update..
Testerofroms said:
You will never have access to /data with TWRP,
if you can not provide the correct password.
This password is set by the manufacturer and not public yet.
If you boot the system you will have access to /data.
If you boot the TWRP you will not have access to /data.
This is not related to any update..
Click to expand...
Click to collapse
But i used to wipe my cache and do flash ROMs earlier and it never said unable to mount storage. It started doing this recently
Prayas29 said:
But i used to wipe my cache and do flash ROMs earlier and it never said unable to mount storage. It started doing this recently
Click to expand...
Click to collapse
Believe me or read the other threads regarding default encrypting Android versions..
/cache is cache
/data is all your userdata and apps
/system is the os
/boot is bootloader
/recovery is the TWRP
there are more mountpoints, you can see them if you click on mount in TWRP.
I wrote /data encrypted and you wrote /cache wiping.
Testerofroms said:
Believe me or read the other threads regarding default encrypting Android versions..
/cache is cache
/data is all your userdata and apps
/system is the os
/boot is bootloader
/recovery is the TWRP
I wrote /data and you wrote /cache.
Click to expand...
Click to collapse
Dude i meant that how suddenly it happened on its own i used to wipe cache and other stuff but never it has shown the unable to mount storage error thats what i meant i believe you i just want answers
Prayas29 said:
Dude i meant that how suddenly it happened on its own i used to wipe cache and other stuff but never it has shown the unable to mount storage error thats what i meant i believe you i just want answers
Click to expand...
Click to collapse
Also it doesn't ask for any password or anything just says unable to mount storage at the end while wiping cache and dalvik cache. I havn't flashed anything since some time soo can't tell if flashing ROM will work or will it show some error.
But a few months ago NO error was displaying and everything was fine
Prayas29 said:
Also it doesn't ask for any password or anything just says unable to mount storage at the end while wiping cache and dalvik cache. I havn't flashed anything since some time soo can't tell if flashing ROM will work or will it show some error.
But a few months ago NO error was displaying and everything was fine
Click to expand...
Click to collapse
You think, it's perhaps related to TWRP version?
Well then you can boot the version before or another version w/o flashing...
Guide to start TWRP remotely
enable OEM unlocking in developer settings
boot into fastboot mode (power and Volume down)
fastboot boot twrp.img
TWRP chinese version
You need to switch the language away from chinese.
Other TWRP versions are listed here
http://www.hackleaks.in/2017/01/all-about-leeco-le-2-x522-x526-x527.html
Long story short, I've been trying to get into my internal storage via TWRP but its saying that there are 0MB in the internal storage and that there is nothing in the sdcard folder
I've tried formatting it, hasn't worked
I've tried changing the format to FAT and then back to EXT4
then after that didn't work i tried the same but with EXT2 , it showed the amount of storage but still didn't let me see what was inside of the sdcard folder, whenever i'd go in there its just completely empty
Can I please have some help with this, I've been stuck on this for a couple hours now
Ouch! Please don't say that you just formatted userdata (/data).
You've just killed all your data on your phone.
No, I'm not that experienced with TWRP and I don't know which versions under which circumstances it can mount userdata.
I use custom recoveries and just presume that I can't mount userdata in them.
In the normal system (which mounts and decrypts) I use normal tools to sync or backup.
Renate said:
Ouch! Please don't say that you just formatted userdata (/data).
You've just killed all your data on your phone.
No, I'm not that experienced with TWRP and I don't know which versions under which circumstances it can mount userdata.
I use custom recoveries and just presume that I can't mount userdata in them.
In the normal system (which mounts and decrypts) I use normal tools to sync or backup.
Click to expand...
Click to collapse
I didn't format data it self i meant that i factory reset it, sorry i should of been a lot more clear on that
Oh, ok.
Well, in any case, if it's encrypted you need to mount it not with a simple "mount" command but something fancier using dm.
They don't try to make it easy to do.
Unless you're destroyed your system and you're trying to recover your data, whatever you're trying to do is best done in the normal system.
never mind i found a fix for it
well not really a fix just a way around it
thanks for the help ^^
SoftieIsVibing said:
never mind i found a fix for it
well not really a fix just a way around it
thanks for the help ^^
Click to expand...
Click to collapse
I had the same issue so I flashed a raw firmware after taking full system backup. Now TWRP is working fine.