Problem Resolved. Here is what I did to fix it, FINALLY...
Install Xposed, Download Wanam Xposed, activate the module, open and go to security hacks and check the box for SDcard RW permission, then reboot.
I just did this to mine and it fixed my problem. Hope it works for anyone having this issue.
Well first of all I an on OK3 5.1.1 build if that even matters or not. I did the Dev unlock and all went well. I then flashed TWRP 2.8.5 through Odin and it boots into TWRP just fine. I then flashed Super Su (UPDATE-SuperSU-v2.65) and wiped both caches and rebooted and now cant get past the red Verizon screen. I know this is more than likely a kernel panic, so I then downloaded and placed the Emotion kernel (Emotion-TW-5.1.1-nightly-r21-RC1-SM-N910P) on my ext sd card put it in the phone booted into TWRP only to find that Apparently TWRP is not reading the ext sd cards. Another fellow member was nice enough to let me know that I may have to sideload it. Well I tried doing it using sideload command and it tells me "cant read file" , so I tried to push and it says "no file or directory". Also tried push and sideload other files with the same outcome. I even tried 2 other sd cards from my GS5 and my Tab S and same thing, when I go to ext sd it doesn't show any files at all. I am at a loss here and any help here would be greatly appreciated. Thank you in advance.
EDIT: I finally just went ahead and restored back to factory and reunlocked and flashed Jasmine ROM. All is good here now except I am still having a problem with the ext sd card not being read in TWRP. I have had ver 2.8.5 / 2.8.7 / 3.0.2 of TWRP and none of them will read the card. I have tried formatting the card with my Note4, GS 5, Tab S, and my PC using SD Card Formatter. Still getting the same result.
New 5.1.1 and 6.0+ firmwares require system(less) root (SuperSU v2.67 or newer) with a patched or permissive kernel. You may flash MultiSystem kernel for TouchWiz 5.1.1.
Copy the files to you internal memory. Flash the kernel and that SuperSU from TWRP recovery.
Regarding your SD card: format it using this: https://www.sdcard.org/downloads/formatter_4/
Sizzlechest said:
New 5.1.1 and 6.0+ firmwares require system(less) root (SuperSU v2.67 or newer) with a patched or permissive kernel. You may flash MultiSystem kernel for TouchWiz 5.1.1.
Copy the files to you internal memory. Flash the kernel and that SuperSU from TWRP recovery.
Regarding your SD card: format it using this: https://www.sdcard.org/downloads/formatter_4/
Click to expand...
Click to collapse
Thanks, but I couldn't flash the kernel at the time I posted this because I could not access my files on my ext sd card. All is good now except the ext card problem.
Does TWRP 3.2 not work with Nougat ROMs? I'm trying to do a clean install of a my own custom build of Lineage 14.1 and when I do a full wipe in the latest version of TWRP, I can no longer access internal storage with MTP (the phone shows up on my PC, but when I click into it, the internal storage doesn't show any space available and I can't transfer anything to it). To bypass this, I installed the last Nougat factory image and did a partial wipe, but then none of my Nougat ROMs will install (error code 7, or just an error with no code at all).
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
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)
Helllo,
I tried to root my Samsung A5 2017 and also too change to LineageOS. I installed TWRP. In TWRP I selected my Lineage-Zip and OpenGApps-Zip. TWRP finished the installation succesfully. When I startet the phone, Lineage said, that it isn`t working. Now i flashed the StockROM with Odin and Android worked again. I flashed TWRP a second time and tried to wipe the Phone. This doesen´t works. Log says: "Unable to mount storage" "Failed to mount ´/data´(Invalide argument)". Then I tried to install Lineage without wiping, but the Log brought the same result.
Thank you for any help.
First of all, I think your thread belongs to the Q&A section.
To answer your question, or try at least, I'm guessing that the storage is encrypted by the Samsung stock ROM. This encryption sadly can't be removed in any other way than completely formatting the data partition.
You can do this in TWRP in the "Wipe" section with "Format data". This will also wipe your internal storage, so you should have all the important zips for installation on a microSD card or your PC, so you can install them after the wipe (I'm guessing you already did that, since you installed without having access to /data).
If you want to keep the data partition unencrypted in the future but still use the stock ROM, you can flash Magisk after removing the encryption.
Hope I could help.