Hello All,
It's my first post and already I'm asking for help. I looked for people with similar problem but unfortunately I didn't find the answer to my problem.
Yesterday I rooted my Xperia SP and unlocked bootloader. I decided to flash latest Candy5 5.1.1 rom (candy5-release.v4.1-20151201-UNOFFICIAL-huashan.zip) and latest Gapps (open_gapps-arm-5.1-pico-20160123). Everything was ok until I decided to encrypt my phone.
I set the lockscreen pin and started encryption. After the encryption was completed the phone restarted, went through PIN request to start android and never got home screen. It got stucked on boot animation. I powered it down and entered recovery. I have a latest TWRP v2.8.7.0.
When entering recovery I was asked for PIN which was accepted but I noticed on red line in log. Below is the whole log
Updating partition details...
...done
E:Unable to mount storage.
Full SELinux support is present.
Running boot script...
Finished running boot script.
Data successfully decrypted, new block device: '/dev/block/dm-0'
Updating partition details...
...done
MTP Enabled
I thought that maybe I did something wrong so I wiped Dalvik Cache, System, Cache, data and Internal Storage plus I did Format Data. After data I flashed Candy5 and Gaaps again. This time I decided to encrypt the phone in the first place.
I started encryption. It was completed and the phone booted to SIM card unlock screen. I unlocked SIM card, went to Settings where it was written that phone is Encrypted. After that I went to setup the PIN to unlock the phone and the screen. I restarted the phone, Sony logo appeared, boot animation appreated, request to enter PIN appeared, I entered it and again boot animation appeared but again it was stuck on it. After reseting and going into recovery I'm again receiving information about 'Unable to mount storage'.
Questions to the community: Why I'm receiving information about 'Unable to mount storage' if the PIN used for encryption is correct? Is encrypting device with PIN possible to custom roms?
Any help will be appreciated. I would like to have the phone encrypted but if it's not possible than I will wipe everything and stick with lockscreen PIN only.
Related
I'll try to be brief...
Background: I bought a used Samsung Galaxy Tab knowing full well that there was something wrong with the internal 2GB memory. The previous owner had installed CM10.1 nightlies on the SD card and was booting the tablet from the external SD card, totally bypassing the internal memory.
The goal: to recover the internal memory
Steps I've taken:
1. Removed external SD card so it doesn't boot from SD card
2. Successfully used Heimdall to re-flash to stock (VZW 2.3.5 Stock Root) - after the flash the tablet attempted to reboot. It went to the VerizonWireless screen and I think went into a bootloop.
3. Turned off the tablet and booted into the stock recovery. From the recovery menu I tried to reboot the system, which gave me the following error:
"failed to mount data"
4. Turned off the tablet and booted into stock recovery. I wiped the cache partition. Then I tried to wipe data/factory reset and got the following error:
"E:failed to mount /data (Invalid Argument)
E:install_application_for_customer: Can't mount /data
your storage not prepared yet. please use UI menu for format and reboot actions"
5. Using Heimdall I successfully flashed ClockworkMOD recovery, and booted into CM recovery.
6. I attempted to reboot system now and the tablet just hangs at the Samsung logo, doesn't even go to the Verizon screen.
So obviously there seems to be a problem with the /data partition. I'm not sure exactly what to try at this point. How do I mount /data? Can this be done from within CM recovery?
Any advice or things to try would be greatly appreciated.
Hello and greetings from germany,
I have a problem with my Moto G 2014 XT1068. I'm coming from rooted stock KitKat (Xposed) with open bootloader and TWRP 2.8.6.0. Everything seemed fine until yesterday, when the phone just went off (0% battery) and stayed at boot animation.
I've tried a lot of things, but the phone seems to be hardbricked:
- I can access recovery, but restoring does "FAIL" (restoring boot partition works, though). Restoring "system" aborts at about 18%, "data" immediately.
- I can access the phone through fastboot, but cannot flash anything. Whatever I do, the phone isn't changed. Tried reverting to stock (getting error when flashing gpt.bin, everything else seemed to work without errors, but no changes), tested flashing other recoveries (partition size mismatch, but that seems to be normal, whatever I flash, it keeps being TWRP 2.8.6.0), or even upgrade the bootloader (no errors reported at all, but no changes made to the phone).
- I can access the phone by MTP from TWRP, but cannot write to or delete anything from the internal SD.
Do you have any further ideas or is it an hardbrick?
Thanks in advance
René
Seems like the internal SD card is damaged, or there's a faulty partition table. Have you tried repairing and formatting /system and /data partitions with TWRP? Does it read external sd cards? If yes you could try flashing CM11 (because lollipop roms need an updated bootloader) from an external sdcard and see what happens. Also your backup could be corrupted, that's why it doesn't let you restore it at all.
As for the recovery, try updating your twrp to the latest version available (3.0). You can update twrp from twrp itself, just to see if it's fastboot's fault.
Wiped /system and /data. Didn't help. Wiping /data/media led to an error.
Is there anything beyond "wipe" to repair and format those partitions?
Thanks for the hints, will try updating TWRP and installing 11 this weekend, as external SDs can be accessed.
Greetings from Germany
René
Hello there
I have problem with ONE M7, this is my friends phone, he did something wrong and now TWRP can't see internal memory and shows 0MB
Phone is unlocked, it only boots to TWRP and I can't install any new rom because it shows Internal storage 0MB.
Is there any way to fix this ? Thanks a lot for any help
This very same thing happened to me aswell last night. I was using my phone as usual, when it suddenly crashed and rebooted. I got to a "Android Encrypted" screen which accepted my Google Account's password, but told me my data was garbled. TWRP shows the same screen you've attached. Pretty much stuck and lost here now
miticogirl said:
Hello there
I have problem with ONE M7, this is my friends phone, he did something wrong and now TWRP can't see internal memory and shows 0MB
Phone is unlocked, it only boots to TWRP and I can't install any new rom because it shows Internal storage 0MB.
Is there any way to fix this ? Thanks a lot for any help
Click to expand...
Click to collapse
khals said:
This very same thing happened to me aswell last night. I was using my phone as usual, when it suddenly crashed and rebooted. I got to a "Android Encrypted" screen which accepted my Google Account's password, but told me my data was garbled. TWRP shows the same screen you've attached. Pretty much stuck and lost here now
Click to expand...
Click to collapse
Its usually caused by a corrupt /data partition. To fix it simply format your data partition (not wipe, format) using twrp recovery. Once the /data partition is formatted, reboot the recovery ("adb reboot recovery" or using twrp "reboot menu"). Once booted back in twrp you should now see your storage and be able to push a rom to your phone.
Hi, so i was trying to install:
http://forum.xda-developers.com/p9/development/rom-ncs-rom-v1-1-08-16-2016-t3440269
I have unlocked bootloader and i have latest TWRP, i have no idea what went wrong but everytime i try to boot now it says encryption was interrupted and can't continue, and everytime i try to flash image or wipe everything it keeps saying unable to mount /data and /storage. I really have no idea what to do, any help would be appreciated, please.
Did you try to go in the recovery and mount the system from there? Or just format the phone and install the rom through sd card
well i tried flash again the ROM and it worked now, but i had to install TWRP revision 3 guess it fixes some encryption stuff?
Hey,
I was trying to unroot my phone (8.0 + Magisk beta) to go back to stock 8.0. I flashed the stock recovery but it would not boot. So I decided to follow this method. https://forum.xda-developers.com/on...ota-update-t3519074/post74716080#post74716080
However, as I flashed back TWRP (bluspark) and formatted, the /data was unable to mount. Last time that happened, I change format to ext4 and then back to f2fs. It worked fine last time although that time i was on official TWRP and on nougat...
This time the format change from ext4 to f2f2s was failing so I tried exfat.
I am now stuck at the formatting screen (for more than 40 min). The console says
Updating partition details...
...done
Formatting Data using mkexfatfs...
Done.
The progress bar is still flashing/moving. There is no option to go back or reboot etc etc...
Should I wait it out until it completes? or can I turn off the phone. I do not want to risk bricking my device so did not turn it off yet. Was hoping it does it soon...
Any suggestions?
Force turn off the phone and then boot to TWRP again, should work fine. But format back to ext4
Why EXFAT out of all the widely more supported partitioning methods?
Reboot to TWRP and follow the same procedure, but format to EXT4.
If you want to unroot your device, just flash the Magisk uninstaller, or reinstall the ZIP. Don't flash Stock Recovery when you have Magisk or other add-ons installed.
If all fails, try the MSM tool and restore your device.