Recovery can't read or write to cache - Galaxy Tab 4 Q&A, Help & Troubleshooting

Good morning Folks. Having trouble finding a custom recovery that will read and write to storage. I have a T530 NU. TWRP won't clear the cache and Philz won't write either. Is there a workaround or fix. I did take the lollipop update before rooting. Thanks again.

tt1106 said:
Good morning Folks. Having trouble finding a custom recovery that will read and write to storage. I have a T530 NU. TWRP won't clear the cache and Philz won't write either. Is there a workaround or fix. I did take the lollipop update before rooting. Thanks again.
Click to expand...
Click to collapse
I am pretty sure i'm going to regret asking,
why are you trying to write to cache?
If you are need recovery to execute a script, that script must be run copied to and run from /temp, not cache
i built the philz for sm-t530nu AND have updated to lollipop firmware and as ever , have no issues.
That being said, you are either attempting to perform an action/experiment incorrectly or
you have done some sort of damage somewhere.
philz build clears cache by rm -fr, not by secure wipe, i'm not sure how twrp is set up.
Cache is NOT storage.
m

moonbutt74 said:
I am pretty sure i'm going to regret asking,
why are you trying to write to cache?
If you are need recovery to execute a script, that script must be run copied to and run from /temp, not cache
i built the philz for sm-t530nu AND have updated to lollipop firmware and as ever , have no issues.
That being said, you are either attempting to perform an action/experiment incorrectly or
you have done some sort of damage somewhere.
philz build clears cache by rm -fr, not by secure wipe, i'm not sure how twrp is set up.
Cache is NOT storage.
m
Click to expand...
Click to collapse
Thanks M. Turns out it was a formatting issue. I guess I should have said it won't mount /cache. It's fixed now though. Thanks.

tt1106 said:
Thanks M. Turns out it was a formatting issue. I guess I should have said it won't mount /cache. It's fixed now though. Thanks.
Click to expand...
Click to collapse
okay, thanks, that's still odd though,
does cache mount now ?

Yes. Everything is perfect.

Related

[Q] Format system,data, boot, Wipe cache, dalvic!!! Please help clarify

I am going from Autonootered 1.1 to the latest nightly CM7 with Dalgrins Kernel using CWM
Please advise
1. Before installing CM7 what all should I wipe / format
2. After installing CM7 and kernel what all should I wipe/format
Also when I update to a newer nightly later
1. Before installing the newer nightly what all should I wipe / format
2. After installing newer nightly what all should I wipe/format
3. When updating to a newer nightly do I nned to install Dalgrins kernel again
Thanks very much
Anyone ? would appreciate some help
Whenever I try to install a new nightly I have to wipe everything. If I don't all the apps when I try to open them just flash real quick then close. I have titanium backup so its not very hard restoring sense I can just restore all apps + data which makes it a very painless process.
In the Nook General forum user eyeballer has an excellent step-by-step guide for installing CM7. Follow his directions and you will be fine. In general, you do not need to do a complete wipe of everything to install CM7 or to update between versions of CM7.
Guys I tried searching and only found this thread
which didn't help me at all
Can someone please explain when to do each of the following?
Reformat
Wipe Data
Wipe Cache
Wipe Dalvik
I want to have the cleanest install, so do I do all?
Thanks
I will give thanks to all that help me clarify when to use what in what combination
eyecon82 said:
Guys I tried searching and only found this thread
which didn't help me at all
Can someone please explain when to do each of the following?
Reformat
Wipe Data
Wipe Cache
Wipe Dalvik
I want to have the cleanest install, so do I do all?
Thanks
I will give thanks to all that help me clarify when to use what in what combination
Click to expand...
Click to collapse
If you look in my tips thread linked in my signature, I explain what you need to wipe in what situation. But I will explain just a little here.
Ordinarily if you are moving from just one nightly to another nightly of the same rom, just wipe dalvik cache.
If you are moving from one type of rom to another, it is best to do just a factory reset. A factory reset wipes /data, /cache and clears any apps you installed to SD. (And a factory reset automatically wipes dalvik cache since it is located in /data and /cache.)
Never wipe /boot and the new rom automatically wipes /system so you should not have to ordinarily wipe that.
But I have found if you are moving from a CM rom back to stock you need to do a full format with my format zip in my tips thread. It formats /system, /data and /cache completely where using CWM does not.
leapinlar said:
1.Ordinarily if you are moving from just one nightly to another nightly of the same rom, just wipe dalvik cache.
2. If you are moving. from one type of rom to another, it is best to do just a factory reset.
3. A factory reset wipes /data, /cache and clears any apps you installed to SD. (And a factory reset automatically wipes dalvik cache since it is located in /data and /cache.)
4. Never wipe /boot and the new rom automatically wipes /system so you should not have to ordinarily wipe that.
5. But I have found if you are moving from a CM rom back to stock you need to do a full format with my format zip in my tips thread. It formats /system, /data and /cache completely where using CWM does not.
Click to expand...
Click to collapse
Thanks so much, I left you a thanks as well
can you explain 2 & 3 again? I have CWM. Is a factory reset same as wiping data? Thanks
Edit: Darn, only limited to 8 thanks per day, I'll get you back tomorrow
eyecon82 said:
Thanks so much, I left you a thanks as well
can you explain 2 & 3 again? I have CWM. Is a factory reset same as wiping data? Thanks
Edit: Darn, only limited to 8 thanks per day, I'll get you back tomorrow
Click to expand...
Click to collapse
Wipe is the same as formatting.
Factory reset is listed in CWM as 'factory reset/wipe data'. And it is shown on the main menu. It does what I said earlier, it wipes /data, /cache and clears apps installed to SD.
Wipe dalvik is shown in CWM in the 'advanced' menu.
Those wipes or formats that are shown in CWM under 'mounts and storage' should rarely be used.
Sent from my Nook Color running CM10 and Tapatalk.
leapinlar said:
Wipe is the same as formatting.
Factory reset is listed in CWM as 'factory reset/wipe data'. And it is shown on the main menu. It does what I said earlier, it wipes /data, /cache and clears apps installed to SD.
Wipe dalvik is shown in CWM in the 'advanced' menu.
Those wipes or formats that are shown in CWM under 'mounts and storage' should rarely be used.
Sent from my Nook Color running CM10 and Tapatalk.
Click to expand...
Click to collapse
wow, thank you so much! you have been a great help
Quick off-topic question:
I have the rooted STOCK ROM and I deleted/edited some system files. Should I revert back to a nandroid back up with the system files in tact, or should I be ok to flash the new official rooted JB ROM (when it comes out) with some system files missing and/or renamed? thanks =)
eyecon82 said:
Quick off-topic question:
I have the rooted STOCK ROM and I deleted/edited some system files. Should I revert back to a nandroid back up with the system files in tact, or should I be ok to flash the new official rooted JB ROM (when it comes out) with some system files missing and/or renamed? thanks =)
Click to expand...
Click to collapse
If you are going to flash the new JB ROM over the top of stock, you do not have to do anything to the stock ROM first. It will be wiped entirely by the new JB ROM as it is installed. But I would do a factory reset/wipe data first as I said in my earlier post.
leapinlar said:
If you are going to flash the new JB ROM over the top of stock, you do not have to do anything to the stock ROM first. It will be wiped entirely by the new JB ROM as it is installed. But I would do a factory reset/wipe data first as I said in my earlier post.
Click to expand...
Click to collapse
Oh ok, thanks! So, just to re-affirm, I don't have to revert back to a STOCK ROM with system files unedited in order to flash JB?
Before flashing JB rom, I will absolutely wipe data, cache, and dalvik prior to flashing! Thanks! :cyclops:
eyecon82 said:
Oh ok, thanks! So, just to re-affirm, I don't have to revert back to a STOCK ROM with system files unedited in order to flash JB?
Before flashing JB rom, I will absolutely wipe data, cache, and dalvik prior to flashing! Thanks! :cyclops:
Click to expand...
Click to collapse
No, no, no. Are you not reading my posts? You do not wipe data, cache, and dalvik when you install a new ROM. Just do a 'factory reset/wipe data'. That wipes everything for you. The other wipes are redundant!
And to re-iterate, you have to do NOTHING to stock before flashing the JB ROM. Leave it exactly as is.
Sent from my Nook Color running CM10 and Tapatalk.
leapinlar said:
No, no, no. Are you not reading my posts? You do not wipe data, cache, and dalvik when you install a new ROM. Just do a 'factory reset/wipe data'. That wipes everything for you. The other wipes are redundant!
And to re-iterate, you have to do NOTHING to stock before flashing the JB ROM. Leave it exactly as is.
Sent from my Nook Color running CM10 and Tapatalk.
Click to expand...
Click to collapse
Thanks. I got you now. I was just in a habit of doing that before. Even if it was redundant
leapinlar said:
If you look in my tips thread linked in my signature, I explain what you need to wipe in what situation. But I will explain just a little here.
Ordinarily if you are moving from just one nightly to another nightly of the same rom, just wipe dalvik cache.
If you are moving from one type of rom to another, it is best to do just a factory reset. A factory reset wipes /data, /cache and clears any apps you installed to SD. (And a factory reset automatically wipes dalvik cache since it is located in /data and /cache.)
Never wipe /boot and the new rom automatically wipes /system so you should not have to ordinarily wipe that.
But I have found if you are moving from a CM rom back to stock you need to do a full format with my format zip in my tips thread. It formats /system, /data and /cache completely where using CWM does not.
Click to expand...
Click to collapse
Can I pick your brain a little bit?
I had an odd thing happen to me......I rooted and went all delete-happy and deleted a bunch of stuff from system/app without making a nandroid backup...of course stuff stopped working properly, so I downloaded the stock rom rooted and flashed that (with wiping data, cache, and dalvik---even though wiping cache and davlik is unncessary as you explained), but those files I deleted were still missing
The only way I got them back was to do what is listed here (http://forum.xda-developers.com/show....php?t=1904099) and start all over from a non rooted state
Any idea why? If I would have flashed the rooted stock ROM, wouldn't it have wiped my /system too?
PS: I'm reading your tips thread now....just got off work
eyecon82 said:
Can I pick your brain a little bit?
I had an odd thing happen to me......I rooted and went all delete-happy and deleted a bunch of stuff from system/app without making a nandroid backup...of course stuff stopped working properly, so I downloaded the stock rom rooted and flashed that (with wiping data, cache, and dalvik---even though wiping cache and davlik is unncessary as you explained), but those files I deleted were still missing
The only way I got them back was to do what is listed here (http://forum.xda-developers.com/show....php?t=1904099) and start all over from a non rooted state
Any idea why? If I would have flashed the rooted stock ROM, wouldn't it have wiped my /system too?
PS: I'm reading your tips thread now....just got off work
Click to expand...
Click to collapse
You said you downloaded the 'stock rom rooted'. Where did you get that? Also as I explained in my tips thread, sometimes CWM does not wipe things as cleanly as it should. I cannot explain why. In those circumstances I flash my format zip from my tips thread. I suspect that that rom you said you downloaded that you said was rooted was not set up to format the /system.
Also that link you quoted does not work so I can't look at that page.
leapinlar said:
You said you downloaded the 'stock rom rooted'. Where did you get that? Also as I explained in my tips thread, sometimes CWM does not wipe things as cleanly as it should. I cannot explain why. In those circumstances I flash my format zip from my tips thread. I suspect that that rom you said you downloaded that you said was rooted was not set up to format the /system.
Also that link you quoted does not work so I can't look at that page.
Click to expand...
Click to collapse
I flashed this rooted STOCK ROM, the first link in the OP http://forum.xda-developers.com/showthread.php?t=1743923)?
but that didn't work, so I started all over using this http://forum.xda-developers.com/showthread.php?t=1904099
I hope the links work for you now
EDIT: MY THANKS WORK NOW, SO I THANKED YOU FOR ALL THE POSTS =)
eyecon82 said:
I flashed this rooted STOCK ROM, the first link in the OP http://forum.xda-developers.com/showthread.php?t=1743923)?
but that didn't work, so I started all over using this http://forum.xda-developers.com/showthread.php?t=1904099
I hope the links work for you now
EDIT: MY THANKS WORK NOW, SO I THANKED YOU FOR ALL THE POSTS =)
Click to expand...
Click to collapse
You flashed Samsung roms to your Nook Color? This is a Nook Color forum. All the stuff I have been telling you applies to the Nook Color and the CWM built for the Nook Color. Are you on another device?
leapinlar said:
You flashed Samsung roms to your Nook Color? This is a Nook Color forum. All the stuff I have been telling you applies to the Nook Color and the CWM built for the Nook Color. Are you on another device?
Click to expand...
Click to collapse
crap! lol...I mean to post for SGSIII...sorry for hijacking this thread
I truly am sorry, I just did a search, which landed me to this, but I ended up hijacking it
eyecon82 said:
crap! lol...I mean to post for SGSIII...sorry for hijacking this thread
I truly am sorry, I just did a search, which landed me to this, but I ended up hijacking it
Click to expand...
Click to collapse
LOL, well I learned something here. If users start asking questions that do not quite jib with having a Nook Color, I had better ask more questions before I start spouting stuff. I am really glad I added assert statements to my zips to make sure the user is on a Nook Color before the flash will attempt to install. It could have been a real disaster for you if you had tried to flash my format partitions zip on your SGIII and it was allowed to install. I am going to make sure I have that assert statement in every zip I make, just to protect users.
But most of what I told you about CWM should apply to the SGIII version of CWM.
leapinlar said:
Wipe is the same as formatting.
Factory reset is listed in CWM as 'factory reset/wipe data'. And it is shown on the main menu. It does what I said earlier, it wipes /data, /cache and clears apps installed to SD.
Wipe dalvik is shown in CWM in the 'advanced' menu.
Those wipes or formats that are shown in CWM under 'mounts and storage' should rarely be used.
Sent from my Nook Color running CM10 and Tapatalk.
Click to expand...
Click to collapse
So wipe and format are the same?
Why do they have them listed separately in the first place in CWM if they do the same thing?
Thanks.
Sent from my SPH-L710 using xda app-developers app
---------- Post added at 09:43 AM ---------- Previous post was at 09:42 AM ----------
leapinlar said:
LOL, well I learned something here. If users start asking questions that do not quite jib with having a Nook Color, I had better ask more questions before I start spouting stuff. I am really glad I added assert statements to my zips to make sure the user is on a Nook Color before the flash will attempt to install. It could have been a real disaster for you if you had tried to flash my format partitions zip on your SGIII and it was allowed to install. I am going to make sure I have that assert statement in every zip I make, just to protect users.
But most of what I told you about CWM should apply to the SGIII version of CWM.
Click to expand...
Click to collapse
True. Even though I got off topic for the sgsiii thing most of my questions are universal to all devices
Sent from my SPH-L710 using xda app-developers app

Tried doing Lollipop update, broken filesystem.

Hello. I tried doing the 5.0 update to my tablet using the factory images. It failed on sending /system and now the whole tablet isn't working. I loaded Philz, to wipe the whole tablet, and it errors mounting /data and /system when attempting to wipe. I have tried wiping everything in every way, and nothing. I cannot get anything to flash on the tablet. Any help?
Yoyodude1124 said:
Hello. I tried doing the 5.0 update to my tablet using the factory images. It failed on sending /system and now the whole tablet isn't working. I loaded Philz, to wipe the whole tablet, and it errors mounting /data and /system when attempting to wipe. I have tried wiping everything in every way, and nothing. I cannot get anything to flash on the tablet. Any help?
Click to expand...
Click to collapse
Ya man, its the same with me . Hope someone, reply's with a solution for it.
Maybe try with latrst version of twrp instead of Philz.
Flash TWRP
Wipe
Advanced wipe
Select system
Repair or change file system
Repair
Let it do its thing, then flash your ROM.
Send your thanks to @Paramesh96. He gave me this advice on my thread. Still haven't been able to flash factory images. But I can get my tablet up & running again with this guide
I could do this, but I have no way of moving a zip file to the tablet.
Yoyodude1124 said:
I could do this, but I have no way of moving a zip file to the tablet.
Click to expand...
Click to collapse
I flashed TWRP, went through the process, rebooted to bootloader, reflashed TWRP, reboot to recovery & mtp was enabled to access the sdcard

Encryption that can't be formated

Hi,
I set up TWRP 2.8.7.0 and cm-13.0-20160129 on my Samsung Galaxy S4 LTE-A (GT-I9506), and run into an odd problem where it would work after install, but would not work after a reboot (booting screen would just roll for ever). Installing CM again, would work, and than the problem would still be there. Mindlessly I decided to play a little anyway and set up encryption. The phone ended up rebooting, and not loading, so I'm here without a password (default_password doesent work) and with an encrypted /data that TWRP cant wipe or format
Unable to mount storage.
Unable to decrypt data
Unable to wipe '/data' -- unknown file system 'auto'
Unable to format to remove encryption
Click to expand...
Click to collapse
I've attempted to use ADB to format it, but it seems parted isnt installed. With that phone being a less popular variant I'm kind of afraid to just flash whatever there, but I guess I need a recovery with a least parted, or possibly one that would be able to format the drive itself. Any pointers?
Have you tried flashing a stock ROM via Odin? Is this your phone: http://www.sammobile.com/firmwares/database/GT-I9506/ ?
not yet; I don't have windows, and didn't see any point in changing the soft used for flashing, will try but cant download the polish rom at the moment o0 (ends up with a dead link or a server down?)
I know of no other way to flash a stock ROM from sammobile.com other than Odin.
Did you create a free account on sammobile.com to enable the regular download?
harce said:
not yet; I don't have windows, and didn't see any point in changing the soft used for flashing, will try but cant download the polish rom at the moment o0 (ends up with a dead link or a server down?)
Click to expand...
Click to collapse
You can also flash it with Heimdall. It's the open source variant of Odin.
aaaand I'm back, managed to download, got some windows, flashed to stock using odin, and it's still encrypted. is running 'repartition' from odin safe? I've noticed some warnings against it but without any explanations.
edit; running the same operation with repartition failed. this bloody encryption might be able to survive nuclear war.
After flashing back to stock via Odin, did you perform a factory wipe before booting the rom for the first time?
I assume you have a pit file for the phone since you repartitioned?
audit13 said:
After flashing back to stock via Odin, did you perform a factory wipe before booting the rom for the first time?
Click to expand...
Click to collapse
just now, seamed to go thorough properly (no error messages) and worked!
audit13 said:
I assume you have a pit file for the phone since you repartitioned?
Click to expand...
Click to collapse
never managed to do that. I wonder what advantage does the wipe from factory ROM have over custom recoveries... anyways thanks to all who helped, the issue is solved. also it seems that the problems with non-rebooting CM were my mistake of not wiping the cache/dalvik after install
I find that a wipe using a custom recovery is not always as through as a stock recovery. Can't say how or why, it's just based on my experience with Samsung and Nexus phones.
harce said:
just now, seamed to go thorough properly (no error messages) and worked!
never managed to do that. I wonder what advantage does the wipe from factory ROM have over custom recoveries... anyways thanks to all who helped, the issue is solved. also it seems that the problems with non-rebooting CM were my mistake of not wiping the cache/dalvik after install
Click to expand...
Click to collapse
audit13 said:
I find that a wipe using a custom recovery is not always as through as a stock recovery. Can't say how or why, it's just based on my experience with Samsung and Nexus phones.
Click to expand...
Click to collapse
I think the difference is that a custom recovery only wipes /data partition so that the internal sdcard will not be wiped. The stock recovery formats /data partition. When you want to lose encryption you need to format /data partition.
You can also format the /data partition with a custom recovery, but that option is hidden for good reason. Because it will also format your internal sdcard and that's not something we want to do when changing roms.

Can't do anything with TWRP. Cannot mount /data and unable to find crypto footer.

Hey, so I rooted my Galaxy S7 edge exynos, and everything was great. However, when I boot into recovery, TWRP can't do anything. It can't backup, install images, nothing. It says my memory is 0mb, and if I try to backup it says "cannot mount /data and unable to find crypto footer". I can restart my phone to system and everything works perfectly. Is there a way to fix this? I'm using latest version of TWRP (3.0.2)
Thanks guys!
Byyz said:
Hey, so I rooted my Galaxy S7 edge exynos, and everything was great. However, when I boot into recovery, TWRP can't do anything. It can't backup, install images, nothing. It says my memory is 0mb, and if I try to backup it says "cannot mount /data and unable to find crypto footer". I can restart my phone to system and everything works perfectly. Is there a way to fix this? I'm using latest version of TWRP (3.0.2)
Thanks guys!
Click to expand...
Click to collapse
FORMAT DATA, it's explicitly stated in the instructions. You must format data to wipe encryption.
Sent from my Pebble Time
Brava27 said:
FORMAT DATA, it's explicitly stated in the instructions. You must format data to wipe encryption.
Sent from my Pebble Time
Click to expand...
Click to collapse
Is there no way around this at all? It's really a hassle having to reset my phone every time.
Is there at least a way to install xposed without formatting?
Thanks!
Byyz said:
Is there no way around this at all? It's really a hassle having to reset my phone every time.
Is there at least a way to install xposed without formatting?
Thanks!
Click to expand...
Click to collapse
You only do this once, use flashfire or titanium backup to backup your stuff.
did you flash this after TWRP?
"If you only want a bootable system partition or writable data in TWRP:
Download dm-verity and force encryption disabler.
Without exiting TWRP, transfer no-verity-opt-encrypt.zip to your device over MTP* and flash it using [Install] in TWRP."
https://idlekernel.com/fun-stuff-trust-me/no-verity-opt-encrypt.zip
same here !:<
Same problem a few days ago. Caused by secure startup or encrypt device obviously lol. Only fix for read/write on data/internal storage is factory reset in stock recovery. Unfortunately this was the only fix for my fussy G935F.
TWRP couldn't mount data to wipe anyway I tried and the only way to flash was through selecting extSD.
i dont have escription enabled though ._.
jgalvez21 said:
i dont have escription enabled though ._.
Click to expand...
Click to collapse
I find a solution, just go in wipe and format data , it will removes encryption on internal storage. if not works try a factory reset in stock recovery them try again, S7 is encrypted out of the box and Twrp can't read or mount data. Works for me in G935F.
how long does it take to format? i chose exfat and it's taking ages... am i doing something wrong?
Brava27 said:
FORMAT DATA, it's explicitly stated in the instructions. You must format data to wipe encryption.
Sent from my Pebble Time
Click to expand...
Click to collapse
i unlocked a nexus 5 and got the same problem, formatted data, all seems good now
is there a way to save my data? my phone is oneplusone
if you use twrp to flash xposed, it'll still work. But your data is still encrypted.
Should I do anything else after the Formating data (install TWRP again, root again...)?
I remember that I did format data in my last phone and it completely deleted everything including OS, so now im little afraid.
Currently I can't do nothing in TWRP, not wipe and not backup...
Nitzans said:
Should I do anything else after the Formating data (install TWRP again, root again...)?
I remember that I did format data in my last phone and it completely deleted everything including OS, so now im little afraid.
Currently I can't do nothing in TWRP, not wipe and not backup...
Click to expand...
Click to collapse
Just format data and you will be able to use twrp.
fureedx said:
Just format data and you will be able to use twrp.
Click to expand...
Click to collapse
Thanks, it worked! Too bad that the only way to get this is by loosing all the data .
Hi all,
I followed instruction on installing TWRP and also have root. I also installed the no-verity-opt-encrypt.zip file, but I still can't access internal SD. It says 0mb. Also after installing the zip it similar stated 'unable to mount'.
When I try to format data it can't mount it.
am i missing a step??
ideas?
Thanks in advance...
PS: not sure if this is relevant, but it keep coming up with the same flash screen message: "keep system read only?"
I tick the box says don't display this, and swipe to allow modifications, but get this message every time.
The_Hammer said:
Hi all,
I followed instruction on installing TWRP and also have root. I also installed the no-verity-opt-encrypt.zip file, but I still can't access internal SD. It says 0mb. Also after installing the zip it similar stated 'unable to mount'.
When I try to format data it can't mount it.
am i missing a step??
ideas?
Thanks in advance...
PS: not sure if this is relevant, but it keep coming up with the same flash screen message: "keep system read only?"
I tick the box says don't display this, and swipe to allow modifications, but get this message every time.
Click to expand...
Click to collapse
You have to format the data after you installed twrp. And then you can flash supersu and no verity opt thingie.
Thanks for the reply... It wont let me format it. 'says can not mount'
I'm having the same issue here. Although I can root, I cannot wipe data, so no way to install a custom ROM

Can't create a backup through TWRP.

I tried creating a system backup through TWRP just now for the first time ever. Throughout the process, it gave me multiple messages saying "unable to mount data" and the same for some other folders, and when the backup supposedly finished, it just said failed.
Is there anything I can try without actually wiping either of the partitions? This obviously because I'm trying to create a backup so I can wipe afterwards.
cyborgium said:
I tried creating a system backup through TWRP just now for the first time ever. Throughout the process, it gave me multiple messages saying "unable to mount data" and the same for some other folders, and when the backup supposedly finished, it just said failed.
Is there anything I can try without actually wiping either of the partitions? This obviously because I'm trying to create a backup so I can wipe afterwards.
Click to expand...
Click to collapse
In twrp main menu screen select ' Mount ' menu and make sure mount data is ticked then go back and try backing up again.
spawnlives said:
In twrp main menu screen select ' Mount ' menu and make sure mount data is ticked then go back and try backing up again.
Click to expand...
Click to collapse
Thanks for your reply, it doesn't actually let me tick that box. Nothing happens when I tick it. It also says that the data partition is 0mb. Any idea what that might mean?
cyborgium said:
Thanks for your reply, it doesn't actually let me tick that box. Nothing happens when I tick it. It also says that the data partition is 0mb. Any idea what that might mean?
Click to expand...
Click to collapse
Which version of twrp are you using
Latest is 3.2.3.0 which should fix the data issue ( it"s a known issue).
spawnlives said:
Which version of twrp are you using
Latest is 3.2.3.0 which should fix the data issue ( it"s a known issue).
Click to expand...
Click to collapse
That's the TWRP version that I've got installed.
I just reinstalled both stock firmware and reflashed TWRP but the exact same issue persists. At first I was able to mount data though, I could flash zips such as Magisk etc. But after having set everything up again on my phone, I couldn't mount data anymore.
cyborgium said:
That's the TWRP version that I've got installed.
I just reinstalled both stock firmware and reflashed TWRP but the exact same issue persists. At first I was able to mount data though, I could flash zips such as Magisk etc. But after having set everything up again on my phone, I couldn't mount data anymore.
Click to expand...
Click to collapse
Not sure on your steps to install twrp
Have you tried going into twrp in wipe menu and format data
spawnlives said:
Not sure on your steps to install twrp
Have you tried going into twrp in wipe menu and format data
Click to expand...
Click to collapse
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.
cyborgium said:
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.
Click to expand...
Click to collapse
Sounds like your device is still encrypted
Did you flash the no Verity encrypt zip file
Also I said to format data not wipe.
In the mount menu these are the options I have enabled.
spawnlives said:
Sounds like your device is still encrypted
Did you flash the no Verity encrypt zip file
Also I said to format data not wipe.
In the mount menu these are the options I have enabled.
Click to expand...
Click to collapse
You're right, I formatted data, not wipe.
I did flash the no verity zip, does the order in which I flash Magisk, no-verity and RMM state unlock matter?
cyborgium said:
You're right, I formatted data, not wipe.
I did flash the no verity zip, does the order in which I flash Magisk, no-verity and RMM state unlock matter?
Click to expand...
Click to collapse
The instructions I followed to install twrp
Flash twrp (which you have done)
Format data
When finished reboot back into twrp(use twrp reboot menu option)
Flash no-verity zip via twrp ( have to make sure you have it on internal storage or SD card)
Then flash everything else
Not sure if you need RMM state unlock if your bootloader(OEM) is already unlocked in developer options though.
spawnlives said:
The instructions I followed to install twrp
Flash twrp (which you have done)
Format data
When finished reboot back into twrp(use twrp reboot menu option)
Flash no-verity zip via twrp ( have to make sure you have it on internal storage or SD card)
Then flash everything else
Not sure if you need RMM state unlock if your bootloader(OEM) is already unlocked in developer options though.
Click to expand...
Click to collapse
I've just done everything you stated above, still the same issue, can't mount /data.
Really don't understand what it is that im doing wrong or if I'm even doing anything wrong..
Thanks for your help anyway though, appreciate it.
cyborgium said:
I've just done everything you stated above, still the same issue, can't mount /data.
Really don't understand what it is that im doing wrong or if I'm even doing anything wrong..
Thanks for your help anyway though, appreciate it.
Click to expand...
Click to collapse
Just as matter of curiosity I use FX file explorer (root) in the menu filesystem it should tell you what format your data partition is mine or ext4. I have read that some people through twrp have changed it to something like ext3 and then back to ext4
Also this is the thread I used to install my twrp
https://forum.xda-developers.com/ga...pment/recovery-twrp-galaxy-s8-exynos-t3595102
This thread may also help you out
https://forum.xda-developers.com/ga...ment/fix-data-mount-fix-s8-twrp-oreo-t3769254
spawnlives said:
Just as matter of curiosity I use FX file explorer (root) in the menu filesystem it should tell you what format your data partition is mine or ext4. I have read that some people through twrp have changed it to something like ext3 and then back to ext4
Also this is the thread I used to install my twrp
https://forum.xda-developers.com/ga...pment/recovery-twrp-galaxy-s8-exynos-t3595102
This thread may also help you out
https://forum.xda-developers.com/ga...ment/fix-data-mount-fix-s8-twrp-oreo-t3769254
Click to expand...
Click to collapse
I think that second thread you linked may have done the trick.
At first it didn't seem to help, but when I tried it again after reflashing everything, I am now able to mount /data.
I'm still in the dark as to why this happened and hasn't happened to anyone else other than the person who created that file, but either way, thank you very much for your help.
cyborgium said:
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.
Click to expand...
Click to collapse
Try the modded twrp from nx thread

Categories

Resources