TWRP nandroid backup - Moto G5 Plus Questions & Answers

Two problems -
1. Whenever I try to make a system backup and wanna write it to the sd card via TWRP, it always fails. I get the error 'backup failed. Cleaning backup folder'. Just this and no error code. However if I back it up to the internal storage, it works just fine. Also I'm rooted btw.
2. After backing up, I cannot move/access the TWRP folder created in the internal storage. As you can see in the screenshot, whenever I tap on the TWRP icon, I get that error popup. And I've granted superuser permissions to es file explorer.

guys please help!! this is the error im getting on TWRP

Related

[Q] Internal storage issue after restoring backup

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.

[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?

Apps can't write to SD card; nandroid restore doesn't work!

I flashed the Liquidsmooth 4.4.4 ROM (I did a nandrood backup before that though) and it was a bit buggy so I restored my nandroid.
However, after booting, I kept getting application crashes and some apps are unable to write to SD. for eg, I can't take pictures with Google Camera because the pictures are no longer saved to Gallery, and when I open quickpic, it says something about read/write error. I reinstalled quickpic and now it throws: unknown error (code 14) could not open database.
Considering that I've already nandroid restored, how do I fix this?
Edit: the external SD is fine, it's the internal one that I can't write/delete. I can rename though. I tested using ES file explorer.
http://forum.xda-developers.com/showthread.php?t=2684384?

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.

Titanium Backup Pro adn TWRP won't recognize backup on SD card

As the title says neither TB nor TWRP will recognize my SD card, the backup on it respectively. I made a Nandroid-backup with TWRP 3.0.2 on my Z3C, put the SD card into my XC and tried to restore from said Nandroid-backup but TB doesn't even recognize the SD card. Says there is no TWRP folder/backup on it. But there definitely is. I can see it in the browser. I also copied it to my internal storage and from there I could access it without problems.
Weirdly enough TWRP also doesn't recognize the backup folder. When I select to restore and select my SD card there is no backup to choose from. I'm using TWRP 3.1.1 on my XC.
Phone is rooted and running the latest fw 34.3.A.0.217 with Genesis kernel 1.05-nondrm
Is the backup faulty or could it be because of some incompatibilities with the kernel?
Backup a file so TB makes a new folder then copy your the contents of your backup into it and try again and you need to select your SD card in TWRP.
I backed everything up with TWRP to my SD card. The folder is there, as are the files.
TB just doesn't recognize my SD card at all. It only recognizes my internal storage, but not my SD card.
When I copy the TWRP backup from the SD card to the TWRP folder on my internal storage I can restore from Nandroid backup.
But I think that the backup is faulty too, because after restoring contacts and messages to test it the apps crash. When I open the telephone app it crashes and says "android.process.acore" has been closed. It says the same when I open the messaging and contacts app but the messaging app doesn't crash.
razzledazzle83 said:
I backed everything up with TWRP to my SD card. The folder is there, as are the files.
Click to expand...
Click to collapse
I was talking about TB and what I've done in the past after restoring my Phone to get TB to recognize my files. Browse through a few pages of the TWRP threads, I'm sure I've seen similar issues reported about the SD.
razzledazzle83 said:
But I think that the backup is faulty too, because after restoring contacts and messages to test it the apps crash. When I open the telephone app it crashes and says "android.process.acore" has been closed. It says the same when I open the messaging and contacts app but the messaging app doesn't crash.
Click to expand...
Click to collapse
A common solution to this problem is to 'Clear Cache' of affected apps in their App Info / Storage dialog.
ypnos42 said:
A common solution to this problem is to 'Clear Cache' of affected apps in their App Info / Storage dialog.
Click to expand...
Click to collapse
Yes, I have restored data+cache. Maybe that's what caused the errors. Weird thing is, no messages were restored except the drafts I didn't send but saved.
XperienceD said:
I was talking about TB and what I've done in the past after restoring my Phone to get TB to recognize my files. Browse through a few pages of the TWRP threads, I'm sure I've seen similar issues reported about the SD.
Click to expand...
Click to collapse
I've read somewhere that since 4.4.4 TB cannot read/write a partition it wasn't installed on. Did you mean that? To create a TB folder on the SD card so TB will have access to the SD card?
Edit: ok, so I tried this method
Code:
create a folder on the external sdcard,using the following folder-structure:
/storage/extSdCard/Android/data/com.keramidas.TitaniumBackup/
If you already have existing backups, move them with a file-explorer from their current place to:
/storage/extSdCard/Android/data/com.keramidas.TitaniumBackup/
Lastly, go to the preferences of TitaniumBackup, choose “Backup folder location” and choose the above specified folder.
Finish.
And it does kinda work. I do now have access to my SD card via TB. But it still says there is no TWRP folder on it. I even copied the TB backup to the TWRP folder and the TWRP folder to the TB folder. No luck.
Also TWRP doesn't recognize the TWRP backup I created on the SD card even though it recognizes the card itself.
If you copied files to computer:
It adds .zip extension to tar.gz files
And .txt extension to properties files
That's why program cannot recognize them.
U should delete that extra additions from file names

Categories

Resources