TWRP Unable to mount Data HELP! - Samsung Galaxy A3, A5, A7 (2017) Questions & Answe

When i flashed Stock Rom 8.0 to my phone it boot normal. Then i flash TWRP made for my device. Downloaded supersu and going to flash it but then in the end it says Unable to unmount or mount i forgot sorry!I see that my internal storage is 0MB in TWRP but its not! So it seems like TWRP didnt encrypt my data or what? I flashed stock again cuz i got bootloop after that! Than flashed TWRP again and Internal storage is 0MB! HELP!

You have to format (not wipe) /data in TWRP then it will work, although you will lose all data. TWRP can't mount Samsung encrypted partitions.

makeyourself said:
You have to format (not wipe) /data in TWRP then it will work, although you will lose all data. TWRP can't mount Samsung encrypted partitions.
Click to expand...
Click to collapse
Lol It working Thanks you! one more issue! I flashed super su and no verity no encrypt and when reboot i have Super Su installed! Okay so now if i want to flash something again i need to format again ? Cuz now i get same errors! Anyway thanks you so much i have rooted samsung galaxy a5 2017 8.0 Now!

gogo9211 said:
When i flashed Stock Rom 8.0 to my phone it boot normal. Then i flash TWRP made for my device. Downloaded supersu and going to flash it but then in the end it says Unable to unmount or mount i forgot sorry!I see that my internal storage is 0MB in TWRP but its not! So it seems like TWRP didnt encrypt my data or what? I flashed stock again cuz i got bootloop after that! Than flashed TWRP again and Internal storage is 0MB! HELP!
Click to expand...
Click to collapse
until twrp 3.2.1-0 I think I did not have full support for samsung 8.0, I used twrp 3.2.2-0, and the /data is getting decrypted even after reboot.

caiquess95 said:
until twrp 3.2.1-0 I think I did not have full support for samsung 8.0, I used twrp 3.2.2-0, and the /data is getting decrypted even after reboot.
Click to expand...
Click to collapse
Really? Your internal doesn't show 0MB and you can backup data partition with TWRP? I didn't think it was TWRP related... that would be awesome.
What did you do? Only format data or did you flash anything?

gogo9211 said:
Lol It working Thanks you! one more issue! I flashed super su and no verity no encrypt and when reboot i have Super Su installed! Okay so now if i want to flash something again i need to format again ? Cuz now i get same errors! Anyway thanks you so much i have rooted samsung galaxy a5 2017 8.0 Now!
Click to expand...
Click to collapse
I think you had same issue as mine
Check this out
https://forum.xda-developers.com/samsung-a-series-2017/help/root-issues-oreo-t3800852

makeyourself said:
You have to format (not wipe) /data in TWRP then it will work, although you will lose all data. TWRP can't mount Samsung encrypted partitions.
Click to expand...
Click to collapse
I've tried this "solution" several times and the error come back ever...
How to fix this DEFINITIVELY???

[TOOL][SCRIPT][A520X|A720X] Repartition tool for treble support
UPDATE repartitioner v1.2: Google Drive | Androidfilehost (Will resize your partitions and patch recovery) RecoveryPatcher: Google Drive | Androidfilehost (Will ONLY patch your recovery for treble support) Changelog Removed TWRP version check...
forum.xda-developers.com
If you have a5/a7 2017 you can edit this script to reformatting your data partition! (if you don't know how edit it can be very dangerous to your phone)

Related

TWRP can't mount sdcard or /data

So I flahed the new MDB08M image and since it uses the "I" boot image I went ahead and flashed the modified boot.img and flashed TWRP and used it to root as I didn't have SuperSU zip on the device yet. After flashing the new system I didn't do any factory reset.
Now TWRP says that internal storage is 0mb and it can't mount /data. Every time I boot into it, it comes up with the screen asking me if I want to modify /system or leave it read only. I check the box to not show it again and swipe to modify.
I've tried using adb again to flash recovery but it didn't help. Any suggestions?
Edit: bootloader also sais I'm secure, and in security it sais I'm encrypted..
TWRP can't decrypt /data on the N5X yet. You can format from TWRP, but you'll lose the contents, of course.
PhoenixTank said:
TWRP can't decrypt /data on the N5X yet. You can format from TWRP, but you'll lose the contents, of course.
Click to expand...
Click to collapse
I thought by flashing the modified boot image that would decrypt? It did on MDB08I..
The modified boot just changes flag to encrytable instead of force encryption. It doesn't actually decrypt the drive contents. Once you wipe it then you can mount data in TWRP.
eqjunkie829 said:
The modified boot just changes flag to encrytable instead of force encryption. It doesn't actually decrypt the drive contents. Once you wipe it then you can mount data in TWRP.
Click to expand...
Click to collapse
so just factory reset in TWRP?
Edit: reflashed firmware, flashed modified boot and did a factory reset in stock recovery. reflashed TWRP and all is good. thank you

TWRP failed to mount /system (invalid argument)

I've recently updated my htc 10 to Android 7.0 using the 2.38.617.6 firmware and added twrp to use for backup purposes. I have attempted to root the device with chainfire's supersu, but failed due to data being in the wrong format.
First off, I managed to find out the the system partition is ridiculously large (17,592,186,044,365 MB) leading me to believe that the system partition has been corrupted.
I've checked the format type for each partition (data, system and cache) they check out to be ext4.
As the title of the post states, I've also ran into that problem before the system partition size issue.
Also, when trying to reboot the system through twrp, I get the message, "No OS Installed! Are you sure you..." but the phone boots up just fine.
Any help is appreciated.
ensure you flashed the latest unoffical twrp from the xda twrp thread. not the official one.
j to the 4n said:
ensure you flashed the latest unoffical twrp from the xda twrp thread. not the official one.
Click to expand...
Click to collapse
I have fixed the issue. I had to find and flash the latest ruu because I had restore the /data partition from when I had the phone rooted and downloaded xposed. I ran through the same process after the flash without restoring the data partition and now it work.
Only downside is that I can't restore my data until xposed has a compatible framework. Thanks for replying.
I got a clean backup of the twrp formatted the sd card with external memory I mounted the backup in the external sd and restored the system .... With that I was successful:dedos cruzados::dedos cruzados:

TWRP crashing on startup with blue led and buzzing

Well, I accidentally formatted my phone a few days ago, connected to pc and flashed los 14.1 and gapps.
Now it turns out whenever I hold down the power and volume buttons it takes me to the TWRP teamwin project screen, then freezes with a blue led and a buzzing noise without taking me to the installation screen
Any help/suggestions on what I should do as I still want to download a oreo custom rom later?
Thanks,
B50Corei5
I had that problem, fixed it by flashing the stock kernel (boot.IMG) through fastboot.
I had that problem, also reflashed full stock ROM via fastboot (systemchunk + boot + recovery + cache + userdata even preload in a second time)
Now I can't flash cust recovery, but I can boot in it.
I can flash, via recovery, a custom ROM but can't boot in it.
Any idea?
Same problem
I am having the same problem...I am on lineage os latest unofficial by wonder wicked witch...and whenever I clear data and cache by twrp their is a buzzing sound and blue led...pls help me
sidsob said:
I am having the same problem...I am on lineage os latest unofficial by wonder wicked witch...and whenever I clear data and cache by twrp their is a buzzing sound and blue led...pls help me
Click to expand...
Click to collapse
Take complete backup of your internal storage using file manager present in recovery mode. "Format data" or change" format system partition" of data partition. try couple of times to format if first time format not working.
Isn't there any other method by changing recovery? By flashing it again
Pls tell some other method
sidsob said:
Pls tell some other method
Click to expand...
Click to collapse
For internal storage backup:
Recovery - File manager method did not work?
Change system partition format of data partition to some other format and revert it to original. It works perfectly.
nothing is happening
Wonder Wicked Witch said:
For internal storage backup:
Recovery - File manager method did not work?
Change system partition format of data partition to some other format and revert it to original. It works perfectly.
Click to expand...
Click to collapse
pls help me ....i have formatted but it says encyption unsuccsessful and it only boots into linage os boot animation...i dont know what to do ...pls i beg u pls help me somehow
sidsob said:
pls help me ....i have formatted but it says encyption unsuccsessful and it only boots into linage os boot animation...i dont know what to do ...pls i beg u pls help me somehow
Click to expand...
Click to collapse
I formatted data partition by using wipe->format data. U need to type "yes" to confirm, because entire internal sdcard will be deleted. So make sure u have rom and other zip files saved on external sdcard.
Then i used advanced wipe->repair/change filesystem and changed it to ext4 and then back to f2fs.
2nd time i installed los, i made sure not to set up a pin after 1st boot during rom setup, then tried to reboot into recovery, but ended up with black screnn + blue led. I tried to reinstall twrp via fastboot - no success. Then i formatted data partition via fastboot, which made me boot into recovery again.
I still dont get why and when blue led happens or encryption fails although ive never seen a "encryption failed" message. Only the blue led...
Thanks guys for the help, got it sorted by flashing stock ROM in fast boot ?
sidsob said:
pls help me ....i have formatted but it says encyption unsuccsessful and it only boots into linage os boot animation...i dont know what to do ...pls i beg u pls help me somehow
Click to expand...
Click to collapse
Fixed it?
Wonder Wicked Witch said:
Fixed it?
Click to expand...
Click to collapse
Maybe change data path to exe4?
Data partition
b50corei5 said:
Maybe change data path to exe4?
Click to expand...
Click to collapse
In order to fix this, you have to do a data wipe via fastboot and then flash twrp again. If you are coming from stock rom, you need to change data partition to ext4 (by default it;s f2fs) and it should work fine. I think that f2fs has its advantages, but twrp does not seem to support it. Maybe on a future update

[SOLVED] Help! "encryption unsuccessful" message!

I was running oos based nougat custom rom with blu spark recovery. Then flashed official ob1, didnt like it, wiped cache/data/system and reinstalled my old oos nougat rom (audax 4.7.6). Now i get the above mentioned message..
Things i tried:
- addionally wipe internal storage and media (installed rom via adb sideload then)
- reformat system/cache/date with ext4
I googled the error and for most people (threads werent particularly concerning the op5t however) it seems that just wiping data and reinstalling the rom did the trick. Not for me though..
What can i do now?
Solution: reformating the data partition with ext4 is not enough. I had to format to FAT and right after that again to ext4, reboot to system and boom, it worked!
PS: i wonder what data is on the internal storage partition that i deleted? I didnt have any data on the phone, i just wonder.. It isnt somehow crucial to the phone?!
I think the decryption key is somehow embedded into the internal storage as wiping /data does not delete the PIN/pattern. Might be a hidden partition or something similar that is not wiped when wiping /data as long as it is ext4.
Your data is gone. It failed to completely encrypt and now there's nothing that can be done. Format /data as ext4 and let it try encrypting again
I have the same problem exactly. Can you explain in steps you have installed then format or how?
I have the same problem exactly. Can you explain in steps you have installed then format or how?
Click to expand...
Click to collapse
I had the exact same problem. But it is an easy fix but does require wiping your internal storage.
So the save way of doing this would be:
1. Backup all your data by going to TWRP or your ROM if that still works. Plug in an USB cable and use MTP or the adb pull command to backup your data
2. Reflash OB1 with no root (like Magisk of SuperSU) if you have TWRP. This will cause you to have the stock recovery again. I also recommend to do a clean flash (Wiping system and data before flashing the rom).
3. Download the rollback build from Oneplus [HERE] and copy this to the internal storage.
4. Boot into the stock recovery flash the rollback build. THIS STEP WILL WIPE YOUR INTERNAL STORAGE.
5. Now you have OxygenOS 4.7.5. Download OxygenOS 4.7.6 Incremental Update [HERE]
6. Go back to the Stock recovery and flash the incremental 4.7.6 zip.
7. You have the latest version now. So boot to fastboot reflash TWRP and flash SuperSU or Magisk in TWRP to regain root
Guys I did a fail, i had OB3 installed, and I wanted to try RR so I wiped system and when I tried to install I have seen error 7 saying its for dumpling not for oenplus5t.
So I restored.... But instead restoring OB3 I have restored stock Nougat rom -.- I have even stock recovery now, what is the best way to fix it?
Can i change to FAT and stay and dont go back to ex4 again?
Hi i don't know if u r reading this but if you are please help me cause I'm so lost and confused over this since yesterday...
so 2 days ago my phone started lagging and hanging and freezing until i realized i have got this issue with data encryption
i have a rooted sony z2 with TWRP Custom recovery
first i didn't know it was with data encryption failure so i literally factory reset and installed all my apps and data again and again!!! after every time my phone started to lag !!
after one whole day of trying everything i finally realized its actually with the data encryption and i should change my ex4 to something else... so here again i wiped the phone and changed to ex3 and installed and all my data and apps all over again
but after a couple hours...same problem again.....
im literally so tired of not knowing what to do ! my head hurts so much due this ugh....
i havent changed to FAT from ex3 so im wondering if it will finally solve my problem permanently if i change to FAT ??
And if it did can i just keep it on FAT forever ?
Please guide me thanks ...!
Lasersdude said:
I was running oos based nougat custom rom with blu spark recovery. Then flashed official ob1, didnt like it, wiped cache/data/system and reinstalled my old oos nougat rom (audax 4.7.6). Now i get the above mentioned message..
Things i tried:
- addionally wipe internal storage and media (installed rom via adb sideload then)
- reformat system/cache/date with ext4
I googled the error and for most people (threads werent particularly concerning the op5t however) it seems that just wiping data and reinstalling the rom did the trick. Not for me though..
What can i do now?
Solution: reformating the data partition with ext4 is not enough. I had to format to FAT and right after that again to ext4, reboot to system and boom, it worked!
PS: i wonder what data is on the internal storage partition that i deleted? I didnt have any data on the phone, i just wonder.. It isnt somehow crucial to the phone?!
Click to expand...
Click to collapse
Finally. Thank you so much!

Can't install any Customs Roms - Error 255 in TWRP

Any ideas? I've tried TWRP 3.1.1.0 and 3.2.1.0 but it just reports back "updater process ended with error 255" and terminates?
Please help.
junglebungle said:
Any ideas? I've tried TWRP 3.1.1.0 and 3.2.1.0 but it just reports back "updater process ended with error 255" and terminates?
Please help.
Click to expand...
Click to collapse
You are using the 32bit twrp to try and install a 64bit rom
My official twrp does not support 64bit roms - if you read the faqs in my twrp thread you would know this
Read the instructions in the 64bit rom thread & use the unofficial 64bit twrp
https://androidfilehost.com/?w=files&flid=236353
Note - I do not support the unofficial 64bit twrp as I did not build it
TheFixItMan said:
You are using the 32bit twrp to try and install a 64bit rom
My official twrp does not support 64bit roms - if you read the faqs in my twrp thread you would know this
Read the instructions in the 64bit rom thread & use the unofficial 64bit twrp
https://androidfilehost.com/?w=files&flid=236353
Note - I do not support the unofficial 64bit twrp as I did not build it
Click to expand...
Click to collapse
Yeah I fixed it now, thanks anyway.
Hi all,
when i use the 64 bit version i cant see any folders other than root folders. So i cant find the zips to flash. Any thoughts please?
grwalker said:
Hi all,
when i use the 64 bit version i cant see any folders other than root folders. So i cant find the zips to flash. Any thoughts please?
Click to expand...
Click to collapse
Select internal storage and it will show all folders in internal memory.
Thanks.
I did that. I see the root folders but nothing in internal storage. And the size of internal storage shows as 0MB
See attachement
Thanks
grwalker said:
Thanks.
I did that. I see the root folders but nothing in internal storage. And the size of internal storage shows as 0MB
See attachement
Thanks
Click to expand...
Click to collapse
Scroll down
Select storage folder
Select something like emulated then 0
If you don't see emulated than 0 or the folder is empty then internal storage isn't mounted - check the mount section of twrp or try using a different twrp
To check external storage it's the same as above but you select emulated then the folder with the sdcard hex value as its name which is different with every sdcard
TheFixItMan said:
Scroll down
Select storage folder
Select something like emulated then 0
If you don't see emulated than 0 or the folder is empty then internal storage isn't mounted - check the mount section of twrp or try using a different twrp
To check external storage it's the same as above but you select emulated then the folder with the sdcard hex value as its name which is different with every sdcard
Click to expand...
Click to collapse
Thanks for the post.
Unfortunately no luck. I cant see anything in the storage folder.
I have tried to mount internal storage also with no luck. Internal storage shows as 0MB
I have tried all 64 bit versions of twrp from the link in this post (https://androidfilehost.com/?w=files&flid=236353)
See attached
grwalker said:
Thanks for the post.
Unfortunately no luck. I cant see anything in the storage folder.
I have tried to mount internal storage also with no luck. Internal storage shows as 0MB
I have tried all 64 bit versions of twrp from the link in this post (https://androidfilehost.com/?w=files&flid=236353)
See attached
Click to expand...
Click to collapse
Looking at your phone it doesn't look like a moto g5
It looks more like a g5 plus or g5s
What is your device xt name eg xt1676 - if it's not a moto g5 codename cedric you are in the wrong device forum and using the wrong twrp
TheFixItMan said:
Looking at your phone it doesn't look like a moto g5
It looks more like a g5 plus or g5s
What is your device xt name eg xt1676 - if it's not a moto g5 codename cedric you are in the wrong device forum and using the wrong twrp
Click to expand...
Click to collapse
Yes it is a G5. Here's a photo from bootloader
FYI... when i flash 32bit TWRP i can see internal storage. But, of course, i cant flash custom roms from there because they are 64bit. Tried with lineage and Res remix. Error255 results
grwalker said:
Yes it is a G5. Here's a photo from bootloader
FYI... when i flash 32bit TWRP i can see internal storage. But, of course, i cant flash custom roms from there because they are 64bit. Tried with lineage and Res remix. Error255 results
Click to expand...
Click to collapse
Try this twrp
https://drive.google.com/open?id=1MLlljM7BzMj9Da57LeyBHyg81cHdW1cB
If you can't mount internal storage your only option might be to format it
This will delete everything in the internal user data - pictures music documents etc - backup first!
Wipe - format data (option on the right)
Restart back to recovery
If it's not mountable wipe advanced wipe data and internal storage
Note if you didn't decrypt data (if asked) when launching twrp you need to format data anyway to remove encryption in order to be able to mount it
Also some 64bit twrp don't support encryption so it might not even ask for decrypt - the one I posted above should support encryption but you still need to format data if flashing a new rom
TheFixItMan said:
Try this twrp
https://drive.google.com/open?id=1MLlljM7BzMj9Da57LeyBHyg81cHdW1cB
If you can't mount internal storage your only option might be to format it
This will delete everything in the internal user data - pictures music documents etc - backup first!
Wipe - format data (option on the right)
Restart back to recovery
If it's not mountable wipe advanced wipe data and internal storage
Note if you didn't decrypt data (if asked) when launching twrp you need to format data anyway to remove encryption in order to be able to mount it
Also some 64bit twrp don't support encryption so it might not even ask for decrypt - the one I posted above should support encryption but you still need to format data if flashing a new rom
Click to expand...
Click to collapse
Thanks, those steps worked.
Interesting on first install i didnt get a question about decrypting.
After reformat the only folder i saw in /sdcard was TWRP. So i dropped the rom and gapps zips in there. No problem flashing from there
Thanks for the help
grwalker said:
Thanks, those steps worked.
Interesting on first install i didnt get a question about decrypting.
After reformat the only folder i saw in /sdcard was TWRP. So i dropped the rom and gapps zips in there. No problem flashing from there
Thanks for the help
Click to expand...
Click to collapse
Unless you set a lock screen pin and enabled encryption you won't
64bit twrp has encryption issues - I think the one I provided allows you to decrypt data on 64bit roms if you do encrypt it (depending on rom)
I don't have this device anymore so I only built the 32bit official twrp when I had it
Also you won't have any other files/folder in internal storage until you boot android for the first time which is why you only had the twrp folder there
grwalker said:
Thanks for the post.
Unfortunately no luck. I cant see anything in the storage folder.
I have tried to mount internal storage also with no luck. Internal storage shows as 0MB
I have tried all 64 bit versions of twrp from the link in this post (https://androidfilehost.com/?w=files&flid=236353)
See attached
Click to expand...
Click to collapse
You device is encrypted, so you need to format the device to gain access to the internal storage, so format the device.
Format<format<yes.
Take a back up of internal storage, so you don't lose Data.
Hello.
After reading, I did a hard reset to bootloader (buttons) and then just plugged USB and flashed your twrp-64 with fastboot; clean install and
Thanks a lot, sir.
trefix said:
Hello.
After reading, I did a hard reset to bootloader (buttons) and then just plugged USB and flashed your twrp-64 with fastboot; clean install and
Thanks a lot, sir.
Click to expand...
Click to collapse
Official twrp now supports 64bit roms
You need version twrp-3.4.0-1-cedric.img
https://dl.twrp.me/cedric/
TheFixItMan said:
You are using the 32bit twrp to try and install a 64bit rom
My official twrp does not support 64bit roms - if you read the faqs in my twrp thread you would know this
Read the instructions in the 64bit rom thread & use the unofficial 64bit twrp
https://androidfilehost.com/?w=files&flid=236353
Note - I do not support the unofficial 64bit twrp as I did not build it
Click to expand...
Click to collapse
how can i install twrp 64bit if I am stuck because of error 255?
Neorex111 said:
how can i install twrp 64bit if I am stuck because of error 255?
Click to expand...
Click to collapse
Flash the latest official twrp via fastboot
[Official] [5th April 2021] TWRP 3.5.2_9-0 Moto G5 [Cedric] [32/64bit Roms]
Official TWRP For Moto G5 Cedric Post 1 - Instructions Post 2 - FAQs For full details and notes see Official TWRP for Cedric Site For TWRP news change logs etc see TWRP Official Site Instructions For non rooted and rooted phones...
forum.xda-developers.com
i have the same issue, but i don't know how to install twrp-64 since my OS is wiped with ni backup (a small child got ahold of the phone in twrp recovery mode). how do i do this? install a 32-bit os and then download the twrp-64?
SumoNoob said:
i have the same issue, but i don't know how to install twrp-64 since my OS is wiped with ni backup (a small child got ahold of the phone in twrp recovery mode). how do i do this? install a 32-bit os and then download the twrp-64?
Click to expand...
Click to collapse
Read the instructions on the official twrp thread on how to flash twrp
Just enter bootloader/fastboot mode and flash the latest official twrp
[Official] [5th April 2021] TWRP 3.5.2_9-0 Moto G5 [Cedric] [32/64bit Roms]
Official TWRP For Moto G5 Cedric Post 1 - Instructions Post 2 - FAQs For full details and notes see Official TWRP for Cedric Site For TWRP news change logs etc see TWRP Official Site Instructions For non rooted and rooted phones...
forum.xda-developers.com

Categories

Resources