[Q] Internal storage issue after restoring backup - Galaxy S 4 Q&A, Help & Troubleshooting

Hi there. Today ive restored my device using twrp. After the restore i am unable to copy, paste, move, delete files in the internal storage using es file explorer. When attepmting this, i get a message 'access denied' . Strangely, the stock file manager works just fine. I tried to wipe cache, done the fix permissions option in twrp and still, nothing helped. Im running a stock rooted 4.4.2 rom.

Related

SD Card doesn't mount?

I'm having a very weird problem here. I decided to get USB OTG for my phone and flashed a zip that's has worked for me before. Everything worked fine, until I discovered that my SD card didn't mount. Root Explorer could find it fine, or at least the files from it in emulated/0 but ES File Explorer couldn't (both apps had Sdcard as a file in the root, with a toast appearing that told me it wasn't mounted when I tried clicking on it), nor could any app that needed internal storage for something (be it the camera, Play Store couldn't install apps and an emulator I have couldn't find the file/folder). I tried flashing the "recovery zip" from the thread (I will link to it) but that did nothing. TWRP could mount the SD card, unlike everything else though. In addition to that, all three file managers (Root Explorer, ES and TWRP's file manager) had conflicting stuff in the root directory. TWRP was able to mount SDcard, but couldn't find a folder named "storage" that the other two could. Root Explorer could also find the recovery zip that I moved to the root (since I wasn't able to download stuff, I had to use OTG to get it on the device), while the other two couldn't. Root explorer could also find the emulated/0 folder which contained all the files and folders from the SDcard. This is very strange and I haven't been able to find anything on this. Factory reset is my last resort, mainly because it takes so long for titanium backup to set up all the apps again .
Here's some info on my phone (before I flashed the USB OTG zip):
16GB Nexus 4
Beanstalk 4.4 ROM
Faux Kernel
Multi ROM Manager installed
TWRP as a custom recovery
Thread I keep talking about: http://forum.xda-developers.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820
If you need any more info just ask!
Any help would be greatly appreciated. Thanks in advance!
bump, please. I can't do a titanium backup, which means if I factory reset, I will lose everything. I have some good scores on some great game, might sound a little sad but I don't want to lose it, plus some other stuff that I've managed to accumulate that will piss me off if I lose it. Anyone?

[Q] /Storage Folder Empty?

Hi,
I've recently rooted my I9505 using Philz Touch recovery method, and I adjusted the platform.xml file to allow Titanium Backup to write direct to external SD. After rebooting, I get several "Unfortunately, xxx has stopped" for several apps. When I connect the phone via MTP the Card and Phone storage spaces both show remaining space, but are both empty, and if I open ES File Explorer and look in the /storage folder it's completely empty, which I assume is causing the problems with the apps as they can't find their stored files.
I've tried putting a backup copy of platform.xml back in /etc/permissions while in recovery, checked permissions on that file are set to 644, and even reflashed the same stock ROM back on the phone using Odin, but the errors continue.
Is there a way I can fix this without doing a wipe data/factory reset? I can get adb access as root in recovery if needed.
Thanks in advance!
B
Done a bit more testing this evening and if I do a factory reset and reflash to stock then everything works as normal. I then reflashed Philz Touch and did a custom nandroid restore of /data only, and the problem returned (the nandroid backup was taken after the issue started).
So the issue points to something in the /data rather than something in /system or elsewhere, if that helps anyone to diagnose?

TWRP write protect issue

I flashed my i9500 with TWRP 2.8.1.0 using Odin and it wrote an undeletable backup onto my internal memory. To get rid of that, I backed up the "BACKUPS" folder and formatted the internal storage only for it now to cause the entire internal storage to be write protected to my android apps. I can copy and delete stuff to it through PC but my apps wont work, those that require to download pics and videos or make backups to the internal storage, web browsers can't download anything to the internal storage yet I now have over 7GB free space.
It's clear TWRP is write protecting the internal storage selectively (first it wrote protected the storage to both the phone and pc, now to the phone only). How should I sort this problem out?
I have also just tried using root explorer to change permissions to the internal storage but it doesn't work. It's failing. Titanium backup shows its own backup folder is unwrittable. It cannot be changed by Root explorer
I just tried fixing permissions in twrp but to no avail. I uninstalled Clean master only to try and re-install it and it won't install now, it gives a failed install error. Kingsoft office continually shows "stopped working" and fails to work completely. All this started with flashing Twrp. I can't view pics in whats app or send them, neither can I edit documents. Any help to rid of this issue will be gladly appreciated.
People please please avoid twrp at all costs!, i have now lost all my data and apps are all failing. I deerly deerly regret why i ever flashed twrp recover in the first place!
I seem to have solved the issue after a very grueling experience.
TWRP has its flaws and it is quite notable here. Here is how I have gotten around the issue:-
Immediately after I installed TWRP I made a system backup of the entire phone as of its state at the time.
I copied it to my pc and tried to delete the backup that TWRP had made. It was completely write protected, nothing could delete it.
I then decided to use TWRP to format my internal storage after backing it up. Then restore the data back which I did successfully.
Little did I know what had happened. TWRP had assigned the internal storage attributes that even Root explorer (paid) could not undo.
The internal storage had become unusable to the system and user apps.
Slowly my apps began to collapse one after the other failing. From frustration I tried to salvage the data the apps held at the time so that I can factory reset and restore but Titanium backup could not access its own folder. That's where all the frustration begun.
I later flashed CWM and accidentally formatted all my data instead of the data partition.. this was now hell.
One last try which was about 5 hours later I returned TWRP recovery, wiped the data partition and got hold of my prior backup with TWRP, restored it and am 9 hrs back from total loss of data. So the internal storage now has its initial attributes prior to the predicament.
Am actually back exactly to where all this mayhem began when I decided to delete the "BACKUPS" folder and there was absolutely nothing else that was wrong, which now I will attempt to delete hoping that I won't experience deja vu.
This is a problem worth reporting to TWRP developers and I don't know how
TWRP recovery Fix Permissions
I couldn't delete back ups from the internal storage at all. I couldn't even copy saved back ups from my pc to my Note 3. I went into TWRP recovery, under Advanced select Fix Permissions
Now I can delete folders in the TWRP main folder with a ES file explorer or on my PC via usb cable.
Never had any problems like this with TWRP on my S4+. For me the backups taken and its folders can be handled just fine, copied, deleted, moved etc. Must be som compatibility issue with your setup.

Did a Nandroid restore. Internal memory path has now changed and can't be written to.

Hey all,
Did a Nandroid backup yesterday of stock 4.4 Touchwiz. Installed CM13, didn't like it, restored back to my backup from the day prior. It boots fine, all my apps are there, but if I open eStrongs File Explorer it opens to /storage/emulated/0 and it's completely empty. I also can't write to that location. This is causing issues for any app that needs to access the internal memory.
I know all my data is still there because if I plug the phone into my PC via USB I can navigate all my folders etc.
Anybody know what's gone wrong?
Side note - but I did the backup with TWRP v 2.7 or 2.8, then upgraded it to v3 at some point prior to the restore.

Internal memory suddenly read-only

Hi,
I suddenly have a very strange problem. My internal memory changed for some reason to read-only. The built-in file browser can't modify files anymore, nor can any app. With Root explorer (root access) I can still modify files. I could just use Root explorer, but some apps actually crash because they can't access the internal memory, so that's no solution.
Here's the situation:
I have the SM-N9005, on Android Kitkat (4.4.2). I was rooted with CF Auto Root. I wanted to try Magisk (not realising that you needed at least Android 5.0 for it). I uninstalled Busybox, Xposed, and then did a full unroot via the SU app. Then I installed TWRP recovery, tried installing Magisk. Of course that didn't work. So then, with Odin, I reinstalled CF Auto Root. After that I reactivated Busybox and Xposed. TWRP seemed to have disappeared, so installed that again as well. Everything was back to the way it was, except for that internal memory issue.
Does anyone has any idea how to fix this?
I made nandroid backup, so I could just revert to that backup but I'd prefer to find a solution and know why it happened.
Thanks!
After installing and running twrp, did it ask to make changes to internal storage?
audit13 said:
After installing and running twrp, did it ask to make changes to internal storage?
Click to expand...
Click to collapse
It did not. And I've just found out that everything on the SD card can't be opened via the built in file explorer. I can create new folders and such, I just cannot open any files.
I says: "Not able access to external SD card. Try again if SD card is successfully mounted"
It's been a while since I used twrp but I recall being asked if I want to allow modifications to the file system.
Maybe it's time to flash back to stock using Odin and then restore your backup?
audit13 said:
It's been a while since I used twrp but I recall being asked if I want to allow modifications to the file system.
Maybe it's time to flash back to stock using Odin and then restore your backup?
Click to expand...
Click to collapse
Weird, I don't think it asked.
Yeah I guess is if no one comes up with a solution I won't have another choice.

Categories

Resources