Good morning XDA fellows,
I am encountering a slight issue: I have encrypted my i9505 two days ago and I went blindly into installing the latest 5.0.2 CM 12 build. I have done a wipe and went into installing from zip which booted the CM setup but stopped at the Encryption Unsuccessful message. If I reboot, it starts the CM setup and stops at the same message.
If I try to mount the sdcard ( the phone's main memory ) it gives me an error and therefore I've put all the files on an external sd ( sdcard1 ).
What is the safest thing I should do in order to avoid a hard brick? Would you recommend me to flash a stock firmware with odin via download mode? Would the encrypted volume mess with odin ?
Yours sincerely,
Hello,
if you point to use CM don't encrypt your device, at least for now. You don't need to flash with Odin now, just go in recovery and format internal memory (/data and /data/media), then flash CM zip
AntaresOne said:
Hello,
if you point to use CM don't encrypt your device, at least for now. You don't need to flash with Odin now, just go in recovery and format internal memory (/data and /data/media), then flash CM zip
Click to expand...
Click to collapse
Hi Antares, I receive an error when I try to format anything that has to do with the internal memory: E: Error mounting /data E: Error formatting /data . The same thing applies when I want to install any zip from the internal memoryE: Can't mount /sdcard. I suspect it has something to do with the encryption. I am not interested in recovering anything because I have already backed up before copying the setup files on both the internal and the external sd ( before it crashed ).
Thank you in advance,
EDIT: I have tried to flash it with jodin3 on a Macbook Pro and it didn't end up successfully. I have flashed using Odin 3.10 and the system booted up so that I could remove the encryption. Once done, I have flashed AntaresOne's CM12 build and everything works flawlessly. Thank you for your support!
chypp said:
Hi Antares, I receive an error when I try to format anything that has to do with the internal memory: E: Error mounting /data E: Error formatting /data . The same thing applies when I want to install any zip from the internal memoryE: Can't mount /sdcard. I suspect it has something to do with the encryption. I am not interested in recovering anything because I have already backed up before copying the setup files on both the internal and the external sd ( before it crashed ).
Thank you in advance,
EDIT: I have tried to flash it with jodin3 on a Macbook Pro and it didn't end up successfully. I have flashed using Odin 3.10 and the system booted up so that I could remove the encryption. Once done, I have flashed AntaresOne's CM12 build and everything works flawlessly. Thank you for your support!
Click to expand...
Click to collapse
Glad to know you solved.
In case of issues with my ROM write in its thread (Q&A one)
Inviato dal mio GT-I9505
Related
Hey guys,
I recently encrypted my phone for my work e-mails (the Exchange server required it). I made a complete Nandroid backup and also entire Titanium backup before encrypting, just in case something went wrong. But the encryption went beautifully.
However, I've noticed that I cannot mount /sdcard or flash anything from recovery. I can't update my Franco kernel or CM nightlies... It's a bit annoying because I want to keep flashing! lol.
My phone asks for my password everytime I reboot (in order to decrypt sdmount and mount the ROM), so I'm assuming this is the reason I can't mount it in CWM recovery.
Anyone know of a bypass or fix for this?
I don't really feel like restoring nandroid backup or doing a factory reset everytime I want to flash a new nightly, it just doesn't make any sense (besides I haven't even tried to see if I can restore from nandroid or factory resetting, they might not even work because it can't mount /sdcard?...)
I've searched around the forums for some complex solutions such as using ADB or Odin but I'm not interested in that.
Thank you!
UPDATED:
Ok guys so basically restoring from nandroid did not work because of the sdcard mount error.
I did a factory reset, erased all data and format system. But I couldn't format sdcard or even user data as it didn't have access... Basically the phone got bricked from then on and I had to completely restore back to stock bootloader/recovery/stock rom with adb/fastboot. Instructions are found here:
http://forums.androidcentral.com/nex...e-restore.html
Hopefully this will come to use to someone else. I've heard that TWRP does not have this sdcard mount problem with encryption as does CWM, so that's what I installed this second time around.
Why don't you just transfer the files regularly without entering recovery mode?
The recovery doesn't allow mounting to the PC. It just doesn't work.
Sent from my Nexus 4 using Tapatalk 2
scream4cheese said:
Why don't you just transfer the files regularly without entering recovery mode?
The recovery doesn't allow mounting to the PC. It just doesn't work.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
I've never mounted to PC in recovery. My files are backed up on my computer and nandroid as well.
My issue here is that I can't regularly flash new nightlies (and thus mount internal /sdcard to do so) following the phone encryption.
Since my internal /sdcard path is encrypted with a password, CWM recovery can't bypass this and it gives me the error "cannot mount /sdcard".
bump?
Any help would be highly appreciated!
Is this a lacking feature in CWM Recovery? Have the developers looked in it? Or is there already a fix for this without doing an entire factory reset?
Daily bump.
Anyone there? (echo...)
Ok guys so basically restoring from nandroid did not work because of the sdcard mount error.
I did a factory reset, erased all data and format system. But I couldn't format sdcard or even user data as it didn't have access... Basically the phone got bricked from then on and I had to restore back to stock using this:
http://forums.androidcentral.com/ne...3923-guide-nexus-4-factory-image-restore.html
Hopefully this will come to use to someone else. I've heard that TWRP does not have this sdcard mount problem with encryption as does CWM, so that's what I installed this second time around.
If you want to recover the data from SD card, you do not use the SD card.
You can try to recover the data from the card with some specific software.
I will try to fin one I used before.
It will take few minutes... do not use the card.
cyrus_e said:
Basically the phone got bricked from then on and I had to completely restore back to stock bootloader/recovery/stock rom with adb/fastboot. Instructions are found here: ...
Click to expand...
Click to collapse
Many thanks, this link helped me restoring my Nexus 4. I enabled "encrypted storage" and wanted to root the phone and almost bricked it.
It's also possible to flash the stock recovery with odin, then do a real factory data reset and be able to install a custom rom, after (or before) which you can reinstall a custom recovery.
Hello Guys am facing a problem in twrp since 3 days.. I flashed twrp-3.0.2-4-hero2lte.img.tar using odin and everything was ok when I booted to recovery it asked me to allow modification (everytime I boot to recovery)then flashed supersu and got an error cannot mount data Then I tried to wipe data I got error cannot mount /data
I changed Data partition type to FAT ,wipe data was ok it worked but when I flash the rom and start the phone I get an error Encryption failed reset device needed .
Any Help
I flashed stock firmware 4 times and nothing changed
Need Help
mrad4tech said:
Hello Guys am facing a problem in twrp since 3 days.. I flashed twrp-3.0.2-4-hero2lte.img.tar using odin and everything was ok when I booted to recovery it asked me to allow modification (everytime I boot to recovery)then flashed supersu and got an error cannot mount data Then I tried to wipe data I got error cannot mount /data
I changed Data partition type to FAT ,wipe data was ok it worked but when I flash the rom and start the phone I get an error Encryption failed reset device needed .
Any Help
I flashed stock firmware 4 times and nothing changed
Need Help
Click to expand...
Click to collapse
Flash hydra rom and done
umijani010 said:
Flash hydra rom and done
Click to expand...
Click to collapse
Really man??what makes this rom solve the problem I heard many things about this hydra rom
mrad4tech said:
Hello Guys am facing a problem in twrp since 3 days.. I flashed twrp-3.0.2-4-hero2lte.img.tar using odin and everything was ok when I booted to recovery it asked me to allow modification (everytime I boot to recovery)then flashed supersu and got an error cannot mount data Then I tried to wipe data I got error cannot mount /data
I changed Data partition type to FAT ,wipe data was ok it worked but when I flash the rom and start the phone I get an error Encryption failed reset device needed .
Any Help
I flashed stock firmware 4 times and nothing changed
Need Help
Click to expand...
Click to collapse
You need to wipe the data partition in TWRP in order to decrypt it.
wipe/format data/type YES
TWRP doesn't yet support samsungs encryption.
wiping data will obviously remove everything, so backup first.
immediately after wiping data, flash an updated supersu, or dm-verity disable
Flashing a rom over an encrypted data partition will do nothing to solve it unfortunately.
Hi all,
Yesterday I managed to root my phone all fine with TWRP and SuperSU. Then after incorrectly uninstalling the security log agent and getting a million errors I foolishly deleted the stock OS.
I have download the correct version for my phone and location but now TWRP fails to launch.
I get the follows errors when booting to the recovery.
Failed to mount /data (invalid argument)
Unable to recreate /data/media folder
Unable to mount storage
Unable to mount /data/media/TWRP/.twrps
I have googled a millions things and am still stuck.
Interestingly tho, If i install the Indian version of the OS, it loads and roots no problems (I'm from New Zealand).
Any help greatly appreciated.
VacantLot said:
Hi all,
Yesterday I managed to root my phone all fine with TWRP and SuperSU. Then after incorrectly uninstalling the security log agent and getting a million errors I foolishly deleted the stock OS.
I have download the correct version for my phone and location but now TWRP fails to launch.
I get the follows errors when booting to the recovery.
Failed to mount /data (invalid argument)
Unable to recreate /data/media folder
Unable to mount storage
Unable to mount /data/media/TWRP/.twrps
I have googled a millions things and am still stuck.
Interestingly tho, If i install the Indian version of the OS, it loads and roots no problems (I'm from New Zealand).
Any help greatly appreciated.
Click to expand...
Click to collapse
Hi
Your internal memory now corrupt you have to format it.
Use twrp wipe option select internal memory then format to fat32 after that again do same thing. This time choose its original format type.
drparvez said:
Hi
Your internal memory now corrupt you have to format it.
Use twrp wipe option select internal memory then format to fat32 after that again do same thing. This time choose its original format type.
Click to expand...
Click to collapse
Hi, thanks for the fast reply.
Iv'e tried this option, I installed the Indian OS which works with TWRP, formatted the Data drive to FAT (Fat32 isn't an option) and then back to EXT4. I then used Odin to Install the carrier firmware I want to run and the same errors occurred. Could it be a problem with the actual OS?
Edit** When I install the Carrier firmware I can't get TWRP to open, these errors occur as soon as it opens, and then it crashes and reboots
VacantLot said:
Hi, thanks for the fast reply.
Iv'e tried this option, I installed the Indian OS which works with TWRP, formatted the Data drive to FAT (Fat32 isn't an option) and then back to EXT4. I then used Odin to Install the carrier firmware I want to run and the same errors occurred. Could it be a problem with the actual OS?
Edit** When I install the Carrier firmware I can't get TWRP to open, these errors occur as soon as it opens, and then it crashes and reboots
Click to expand...
Click to collapse
Try reflashing twrp
Acoustichayes said:
Try reflashing twrp
Click to expand...
Click to collapse
Hi hi, tried that several times. Would still like to find out what is causing the issue but have now installed Nemisis and all is working perfrctly which makes me think it's the OS as opposed to my file system, considering I have installed multiple other versions and ran TWRP no problems.
Got same problem here. Installed TWRP to flash a custom rom, TWRP can't mount /data.
Google doesn't give me any solutions
This fixed it for me:
- download stock firmware from sammobile & flash with Odin
- go into stock recovery
- wipe data and cache partitions
- flash twrp using odin
After that, TWRP was able to mount /data and function normally again
Hello guys,
i've just received the Android 8.0.0 and as soon as i got it, i root-ed it. Now everything is fine but the only problem i have is that i cannot backup the whole system as it is right now with TWRP.
When i open TWRP in boot and i go to backup all files it gives me the following error : "unable to mount //data". How can i solve this problem without formatting it again ?
Thank you.
P.S : i added a photo as an attachment with the error.
Format both to fat and back to ext4. I would like to know if there is another way. You can backup needed apps with titanium and restore later.
Extreemator said:
Format both to fat and back to ext4. I would like to know if there is another way. You can backup needed apps with titanium and restore later.
Click to expand...
Click to collapse
When you say both, you mean "data" and what else ?
LE: I did it for "data" and now it seems to work but will try when i have the whole rom ready.
Thanks.
Update : for that time being, it seemed to work. After that i installed all the apps and did all the settings and now when i go to backup it gives me the same error. This is a part of the recovery.log after the failed backup. By the way, it failed at almoast 95% .
".....................
Digest Created.
Iartition Backup time: 659
Failed to mount '/data' (No such process)
I:Actual block device: '/dev/block/sda24', current file system: 'ext4'
Backup Failed"
Cleaning Backup Folder"
Can anybody help me ?
ownage16 said:
Update : for that time being, it seemed to work. After that i installed all the apps and did all the settings and now when i go to backup it gives me the same error. This is a part of the recovery.log after the failed backup. By the way, it failed at almoast 95% .
".....................
Digest Created.
Iartition Backup time: 659
Failed to mount '/data' (No such process)
I:Actual block device: '/dev/block/sda24', current file system: 'ext4'
Backup Failed"
Cleaning Backup Folder"
Can anybody help me ?
Click to expand...
Click to collapse
Did you first format data to fat and back to ext4 and it got fixed?; was it showing free space in /data/media, not like on screenshot where is 0mb and it's broken? after you tried to backup it broke in the process? Try to wipe, install custom rom and back up it. Try external sd
https://forum.xda-developers.com/showpost.php?p=75360965&postcount=22
Extreemator said:
Did you first format data to fat and back to ext4 and it got fixed?; was it showing free space in /data/media, not like on screenshot where is 0mb and it's broken? after you tried to backup it broke in the process? Try to wipe, install custom rom and back up it. Try external sd
Click to expand...
Click to collapse
After the first format it got fixed, yes. And i did make a back-up.
After that, i booted, i installed apps and so on and when i came back to twrp the error reappeared and /data got corrupted again.
ownage16 said:
After the first format it got fixed, yes. And i did make a back-up.
After that, i booted, i installed apps and so on and when i came back to twrp the error reappeared and /data got corrupted again.
Click to expand...
Click to collapse
Read the link I post earlier.
master64nl said:
https://forum.xda-developers.com/showpost.php?p=75360965&postcount=22
Click to expand...
Click to collapse
I never got blocked out for 7 days even though i installed at least 20 times different roms in the past days.
When i rooted i installed the RMM .zip . Are you sure it's from there ?
Yes, I had the same problem. I am back on Android 7 until there is a good discribtion in the right order to get it right. No one can tell me the right solution. They are all diferent. So I wait for now.
Verstuurd vanaf mijn SM-G950F met Tapatalk
I've tried using a twrp for oneplus 5 because they seem to have had the same problem. The good news is that is seemed to work as the /data remained ok. The bad news is that the phone would enter a loop.
https://forum.xda-developers.com/showpost.php?p=76010250&postcount=1567
master64nl said:
Yes, I had the same problem. I am back on Android 7 until there is a good discribtion in the right order to get it right. No one can tell me the right solution. They are all diferent. So I wait for now.
Verstuurd vanaf mijn SM-G950F met Tapatalk
Click to expand...
Click to collapse
I found the fix !!
dr.ketan helped me make the right files to flash. Now i have made the first FULL backup and i am amazed it works. In recovery /data appears mounted. I went there 3 times to make sure :fingers-crossed:
If you want to I will ask dr. ketan if i can upload the files.
Thanks for the help and have an easy day!
OKé, is he on the forum, dr ketan? Perhaps you can tell us now because you have the solution.
master64nl said:
OKé, is he on the forum, dr ketan? Perhaps you can tell us now because you have the solution.
Click to expand...
Click to collapse
Wait
I am posting here with details in an hour
Edit : It's here
https://forum.xda-developers.com/galaxy-s8/how-to/fix-data-mount-fix-s8-twrp-oreo-t3769254
dr.ketan said:
Wait
I am posting here with details in an hour
Edit : It's here
https://forum.xda-developers.com/galaxy-s8/how-to/fix-data-mount-fix-s8-twrp-oreo-t3769254
Click to expand...
Click to collapse
What is the right order for installing everything?
I will start first with installing the original stock rom for my S8. How to go on from the stock oreo?
master64nl said:
What is the right order for installing everything?
I will start first with installing the original stock rom for my S8. How to go on from the stock oreo?
Click to expand...
Click to collapse
After having the Oreo stock firmware follow these steps :
https://www.youtube.com/watch?v=XNznlTJJesc
Btw: i also used the files the youtube guy provided and they are OK
After you have completed the video follow what @dr.ketan posted
ownage16 said:
After having the Oreo stock firmware follow these steps :
https://www.youtube.com/watch?v=XNznlTJJesc
Btw: i also used the files the youtube guy provided and they are OK
After you have completed the video follow what @dr.ketan posted
Click to expand...
Click to collapse
That seems to be double to me. If you follow the video you are okay but you can also do dr. ketan way and you are okay. Am I right?
master64nl said:
That seems to be double to me. If you follow the video you are okay but you can also do dr. ketan way and you are okay. Am I right?
Click to expand...
Click to collapse
if you follow the video you have the "/data" problem and after that you solve it with the solution from dr. Ketan.
I don't know if you can flash directly the zip from dr. ketan, haven't tried it. In theory it should work but i can only confirm what worked for me.
Keep me updated on what you did.
Best step if one is on oreo stock and just want twrp +root
1.flash twrp with format data (will wipe Int storage)
2.flash magisk (from ext SD)
3.flash data mount fix(from ext SD)
All three to be flashed without reboot in between
Then must have to reboot to system
Now next time when reboot to recovery, data will available in twrp
Who already have oreo rom +twrp then simply flash data mount
Who are on nougat custom and want oreo custom rom
1.factory reset (no need to format data)
2.flash oreo custom rom
3.flash magisk if rom doesn't included
4.flash data mount fix
Reboot to system once
Done
dr.ketan said:
Best step if one is on oreo stock and just want twrp +root
1.flash twrp with format data (will wipe Int storage)
2.flash magisk (from ext SD)
3.flash data mount fix(from ext SD)
All three to be flashed without reboot in between
Then must have to reboot to system
Now next time when reboot to recovery, data will available in twrp
Who already have oreo rom +twrp then simply flash data mount
Who are on nougat custom and want oreo custom rom
1.factory reset (no need to format data)
2.flash oreo custom rom
3.flash magisk if rom doesn't included
4.flash data mount fix
Reboot to system once
Done
Click to expand...
Click to collapse
This sequence is no needed anymore???
1.flash twrp
2.format data say yes
3.go in recovery
4.flash dm-verity and force encryption disabler (from ext SD)
5.flash magisk (from ext SD)
6.flash data mount fix(from ext SD)
All four to be flashed without reboot in between
Then must have to reboot to system
Now next time when reboot to recovery, data will available in twrp
Hi,
so i've tried to root my phone and then to install a custom rom. the root went without any problem. After the root, i tried to install lineage OS 16.0 and followed this guide:
https://forum.xda-developers.com/redmi-note-7/development/rom-lineageos-16-0-t3923203
i downloaded the rom and gapps, put them on my root directory of my phone and then i wiped System,Cache ,Data, Internal Storage and Format Data. After wiping, the roms were gone, so i rebooted and transfered them again into the root directory. Then, i went onto installing (just like i did with magisk) but an error occurred saying:
E: String resource 'zip_compatible_err' not found. Using default value.
Zip Treble compatibility error!
Invalid zip file format!
Error installing zip file '....'
Updating partition details...
...done
Ok. So then, i tried to install another Custom Rom so i went for Oxygen OS, it actually did install but then i couldn't boot into it because it was telling me there was an 'Android System Error'. Ok, back in TWRP, i wiped everything and then i tried to install the Original ROM but i got the same error as above.
For now i tried to download the miFlasher tool but it only wants to download some driver and it literally takes forever.
Hope you can help me...
Download Fastboot ROM for your device and do this Fastboot Method
marcopast said:
Hi,
so i've tried to root my phone and then to install a custom rom. the root went without any problem. After the root, i tried to install lineage OS 16.0 and followed this guide:
https://forum.xda-developers.com/redmi-note-7/development/rom-lineageos-16-0-t3923203
i downloaded the rom and gapps, put them on my root directory of my phone and then i wiped System,Cache ,Data, Internal Storage and Format Data. After wiping, the roms were gone, so i rebooted and transfered them again into the root directory. Then, i went onto installing (just like i did with magisk) but an error occurred saying:
E: String resource 'zip_compatible_err' not found. Using default value.
Zip Treble compatibility error!
Invalid zip file format!
Error installing zip file '....'
Updating partition details...
...done
Ok. So then, i tried to install another Custom Rom so i went for Oxygen OS, it actually did install but then i couldn't boot into it because it was telling me there was an 'Android System Error'. Ok, back in TWRP, i wiped everything and then i tried to install the Original ROM but i got the same error as above.
For now i tried to download the miFlasher tool but it only wants to download some driver and it literally takes forever.
Hope you can help me...
Click to expand...
Click to collapse
Those recoveries are old.. Use orange fox recovery 10.0-2 it will work and format data then install rom.
title?
@BlackGarnett
Thanks, that help me on a quick one!
@loseyourself
Also thank you for this advice, i'm new to rooting smartphones and install cfw since i was using iPhone for the past few years.
But now i got another new question: if i use orange fox recovery and i run a backup with it (i think there will be an option to do a backup), then i format all data and internal storage, can i still recover from the backup or will it be deleted?
thanks again!
marcopast said:
@BlackGarnett
Thanks, that help me on a quick one!
@loseyourself
Also thank you for this advice, i'm new to rooting smartphones and install cfw since i was using iPhone for the past few years.
But now i got another new question: if i use orange fox recovery and i run a backup with it (i think there will be an option to do a backup), then i format all data and internal storage, can i still recover from the backup or will it be deleted?
thanks again!
Click to expand...
Click to collapse
When u make a backup to internal all is lost after format it. Orangefox put files on the internal sd. After format reboot recovery in the option section and flash again Orangefox.
Help me ,i need efs backup for unbrick my decices please