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
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
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
Hello,
As stated in the titled I have tried to root my OP 3T and it horribly wrong. First I got the error message telling me it couldn't mount my /system partition. I googled how to fix it and discovered that I had to wipe the partition as it might be corrupt. Just to be sure that it was indeed corrupt. The size was stated as 2913MB but the used space was stated as 1728265MB. I therefor wiped it and tried to boot. Now I couldn't boot into Oxygen OS...The only thing i can boot into was fastboot and recovery. I then tried to install the LineageOS and it worked. I can finally boot to a OS. However when going in the recovery again and wiping the cache I get a slew of errors. Almost all of them are "Error opening: '/data/local/nhsystem/kali-armhf/dev/xxxx' (Not a directory)". There is also one other error: "Unable to mount storage"
How do I fix this?
uptivuptiz said:
First I got the error message telling me it couldn't mount my /system partition.
I therefor wiped it and tried to boot. Now I couldn't boot into Oxygen OS...
Click to expand...
Click to collapse
System partition is the OS. So from that fact, it should now be obvious that wiping system (and therefore wiping the OS) will result in not being able to boot to OS.
Not being able to mount system is a little odd. What version TWRP? Current version is typically recommended (currently 3.2.3-1).
You can try in TWRP Wipe section, the "Format data" button. This will often fix corruption issues with data partition (format is not the same as wipe), although I'm not sure how the system partition was affected.
redpoint73 said:
System partition is the OS. So from that fact, it should now be obvious that wiping system (and therefore wiping the OS) will result in not being able to boot to OS.
Not being able to mount system is a little odd. What version TWRP? Current version is typically recommended (currently 3.2.3-1).
You can try in TWRP Wipe section, the "Format data" button. This will often fix corruption issues with data partition (format is not the same as wipe), although I'm not sure how the system partition was affected.
Click to expand...
Click to collapse
I'm using TWRP 3.2.3-1. I tried to format with the "Format data". It seems that I still can't install the OxygenOS. Also the error "Error opening: '/data/local/nhsystem/kali-armhf/dev/xxxx' (Not a directory)" still accurs.
I'm still able to install and run LineageOS.
uptivuptiz said:
I'm using TWRP 3.2.3-1. I tried to format with the "Format data". It seems that I still can't install the OxygenOS. Also the error "Error opening: '/data/local/nhsystem/kali-armhf/dev/xxxx' (Not a directory)" still accurs.
I'm still able to install and run LineageOS.
Click to expand...
Click to collapse
Formatting with 3.2.3-1 will remove the encryption footer. It's basically the only build of TWRP you DO NOT want to use! 3.2.3-10 is the latest but that won't reinstate your encryption footer. My advice is this. Flash TWRP 3.2.3-0, format at least /system, /data and /cache from the Wipe/Advanced screen and then Wipe everything for good measure.
Make sure you are in front of your PC when you do this. Back up everything to PC first as formatting will delete everything from Internal Storage. Make sure you have all your Install zips ready to go on your PC. Whn you're done formatting and wiping you can copy the install zips back to Internal Storage and flash OOS full Zip (or Custom ROM).
Dirk said:
Formatting with 3.2.3-1 will remove the encryption footer. It's basically the only build of TWRP you DO NOT want to use! 3.2.3-10 is the latest but that won't reinstate your encryption footer. My advice is this. Flash TWRP 3.2.3-0, format at least /system, /data and /cache from the Wipe/Advanced screen and then Wipe everything for good measure.
Make sure you are in front of your PC when you do this. Back up everything to PC first as formatting will delete everything from Internal Storage. Make sure you have all your Install zips ready to go on your PC. Whn you're done formatting and wiping you can copy the install zips back to Internal Storage and flash OOS full Zip (or Custom ROM).
Click to expand...
Click to collapse
Thanks! I will try that when i get time tomorrow. There will come an update.
uptivuptiz said:
Thanks! I will try that when i get time tomorrow. There will come an update.
Click to expand...
Click to collapse
Let me know.
Remember to reboot Recovery once you have 3.2.3-0 installed so that your format operations are carried out with that version.
Dirk said:
Let me know.
Remember to reboot Recovery once you have 3.2.3-0 installed so that your format operations are carried out with that version.
Click to expand...
Click to collapse
I have now downgraded TWRP to version 3.2.3-0 and wiped everything. I didn't backup as I don't have anything on there because it's not my main device. After wiping I tried installing OOS again and this time I get the same "Error opening: '/data/local/nhsystem/kali-armhf/dev/xxxx' (Not a directory)" error and now it cant mount the /system partiton again
uptivuptiz said:
I have now downgraded TWRP to version 3.2.3-0 and wiped everything. I didn't backup as I don't have anything on there because it's not my main device. After wiping I tried installing OOS again and this time I get the same "Error opening: '/data/local/nhsystem/kali-armhf/dev/xxxx' (Not a directory)" error and now it cant mount the /system partiton again
Click to expand...
Click to collapse
You're not just wiping, You're formatting. Select each of the partitions (Cache/Data/System) and format in each case. (I recommend EXT4 for Data)
Dirk said:
You're not just wiping, You're formatting. Select each of the partitions (Cache/Data/System) and format in each case. (I recommend EXT4 for Data)
Click to expand...
Click to collapse
Ok. I tried to format all the partitions with EXT4 and tried to install OOS again with a adb sideload. This didn't work and I got an error "adb sideload cannot read 'OnePlus3TOxygen.zip'". So I tried installing it with a OTG adapter and a USB inside TWRP and it worked. OOS is running and working! Thanks for the help
Now I'm just curios as to why I can't sideload...
uptivuptiz said:
Ok. I tried to format all the partitions with EXT4 and tried to install OOS again with a adb sideload. This didn't work and I got an error "adb sideload cannot read 'OnePlus3TOxygen.zip'". So I tried installing it with a OTG adapter and a USB inside TWRP and it worked. OOS is running and working! Thanks for the help
Now I'm just curios as to why I can't sideload...
Click to expand...
Click to collapse
A few possibilities:
1) OnePlus3TOxygen.zip of course isn't the name of the file as downloaded, so i assume you renamed it to something more sensible before trying to sideload? Do you have 'Hide Extensions of known filetypes' selected in Windows Explorer? Could it be that what you ended up with was 'OnePlus3TOxygen.zip.zip', which of course wouldn't work if you were trying to sideload 'OnePlus3TOxygen.zip'?
2) You didn't move your download to your platform-tools folder in adb?
3) You didn't open a CMD window in your platform-tools folder?
Anyway, good that you're back on your feet.
Dirk said:
A few possibilities:
1) OnePlus3TOxygen.zip of course isn't the name of the file as downloaded, so i assume you renamed it to something more sensible before trying to sideload? Do you have 'Hide Extensions of known filetypes' selected in Windows Explorer? Could it be that what you ended up with was 'OnePlus3TOxygen.zip.zip', which of course wouldn't work if you were trying to sideload 'OnePlus3TOxygen.zip'?
2) You didn't move your download to your platform-tools folder in adb?
3) You didn't open a CMD window in your platform-tools folder?
Anyway, good that you're back on your feet.
Click to expand...
Click to collapse
Here's what I did:
Moved the zip file to the platform-tools folder.
Kept the stock name of the zip file.
opened CMD window in platform-tools folder.
I still get the error.
uptivuptiz said:
Here's what I did:
Moved the zip file to the platform-tools folder.
Kept the stock name of the zip file.
opened CMD window in platform-tools folder.
I still get the error.
Click to expand...
Click to collapse
You wouldn't be the first. It's a common issue. You know you can just move the zip to Internal Storage and flash it with TWRP? The Recovery is MTP enabled. Useful to know for future reference. :good:
How to remove decryption in storage? I tried Andy Yans script but it doesn't work for me. It stays on the Android splash page but doesn't boot into system. I installed the script after I wiped data.
I would like to try custom kernals.
hanzzi said:
How to remove decryption in storage? I tried Andy Yans script but it doesn't work for me. It stays on the Android splash page but doesn't boot into system. I installed the script after I wiped data.
I would like to try custom kernals.
Click to expand...
Click to collapse
Format data, the one where u need to type yes(you lose all internal)
disable force encryption is used before first boot of a new vendor firmware to prevent encryption, it wont decrypt.
Mooatreides said:
Format data, the one where u need to type yes(you lose all internal)
disable force encryption is used before first boot of a new vendor firmware to prevent encryption, it wont decrypt.
Click to expand...
Click to collapse
Thanks for the reply but I'm still a little unsure. I can't seem to find format data where you have to type yes. In Twrp I go to advance wipe and just select data and I have to slide the bar to the right. Then I install the script. Is this wrong?
hanzzi said:
Thanks for the reply but I'm still a little unsure. I can't seem to find format data where you have to type yes. In Twrp I go to advance wipe and just select data and I have to slide the bar to the right. Then I install the script. Is this wrong?
Click to expand...
Click to collapse
Yeah it says advanced wipe, and format data, tap format data and type yes.