Today I started experiencing an issue where TiBu could not perform any backups because of "insufficient storage". Upon further research I found that this issue is related to the "no write permission" for the SD card. I've tried multiple fixes so far:
Adding the media read/write permission by manually editting platform.xml
Downloading SDfix patches from the playstore for 4.4.4
Flashing a zip that contained a modified platform.xml
Note, this issue started today after I restored to a nandroid backup after flashing the Google Play Edition ROM (4.4.4). I was originally on 4.4.2 and the GE rom was 4.4.4
I'm extremely frustrated because I can't seem to get TiBu to accept the fix. When I view my platform.xml through a root explorer it says the permission is there for writing to the external storage.
tcdos said:
Today I started experiencing an issue where TiBu could not perform any backups because of "insufficient storage". Upon further research I found that this issue is related to the "no write permission" for the SD card. I've tried multiple fixes so far:
Adding the media read/write permission by manually editting platform.xml
Downloading SDfix patches from the playstore for 4.4.4
Flashing a zip that contained a modified platform.xml
Note, this issue started today after I restored to a nandroid backup after flashing the Google Play Edition ROM (4.4.4). I was originally on 4.4.2 and the GE rom was 4.4.4
I'm extremely frustrated because I can't seem to get TiBu to accept the fix. When I view my platform.xml through a root explorer it says the permission is there for writing to the external storage.
Click to expand...
Click to collapse
I had a similar problem this past weekend. It seems that something changed the way that TiBu sees the folders on the External SD Card.
Go to Settings/Preferences/Backup Folder Location
Then use the Detect button. It will find the old backup files, but you will see a different folder path to get there.
After you tell it to use the detected folder, get back to main Settings, and then select Reload Application.
It should work again. At least it did for me.
Rob
rlichtefeld said:
I had a similar problem this past weekend. It seems that something changed the way that TiBu sees the folders on the External SD Card.
Go to Settings/Preferences/Backup Folder Location
Then use the Detect button. It will find the old backup files, but you will see a different folder path to get there.
After you tell it to use the detected folder, get back to main Settings, and then select Reload Application.
It should work again. At least it did for me.
Rob
Click to expand...
Click to collapse
Thanks for the suggestion Rob, but unfortunately that did not work. It folder location remained the same. As of now, the backup location is "storage/emulated/legacy/TitaniumBackup". Should I move the backup folder from my internal storage to my SD card and then try to detect the folder?
tcdos said:
Thanks for the suggestion Rob, but unfortunately that did not work. It folder location remained the same. As of now, the backup location is "storage/emulated/legacy/TitaniumBackup". Should I move the backup folder from my internal storage to my SD card and then try to detect the folder?
Click to expand...
Click to collapse
The Detect only looks for existing backups. I use by External SD card for two reasons: 1) it frees up some space on the internal, since some apps can't use the external, 2) if the phone dies, it should be possible to take the SD card to a new phone and use it to restore.
You could set the Backup folder location to your External SD card and see if it works when you attempt to backup.
Rob
rlichtefeld said:
The Detect only looks for existing backups. I use by External SD card for two reasons: 1) it frees up some space on the internal, since some apps can't use the external, 2) if the phone dies, it should be possible to take the SD card to a new phone and use it to restore.
You could set the Backup folder location to your External SD card and see if it works when you attempt to backup.
Rob
Click to expand...
Click to collapse
It works now! Anyways, do you have any idea why apps like Instagram and Snapchat dont work after an app/data restore from a TiBu update when flashing a new ROM? I can open the apps successfully but pictures arent being displayed. It's almost like the data is corrupt or something. Thanks again.
Related
Thanks in advance for your time and help.
I'm trying to transfer system settings, apps, and data from one Galaxy Note 2 to another using Titanium Backup Pro with SuperUser installed. Both phones are rooted and are identical and run the exact same version of the same Android OS.
After backing up the contents and system data of the old phone, I upload the 1.7 GB backup files up to DropBox via the "Sync to DropBox" function. All 1.7 GB appears on DropBox.
I remove the SIM card and SD card from the old phone and put it into the new phone. On the new phone, I install the pro version of Titanium, and the superuser apps, plus BusyBox.
To download the backup files from DropBox to my new phone, I tap on "Sync to DropBox" on the new phone. Instead of downloading the backup files from DropBox to my new phone, this deletes all the DropBox files stored there. This happens probably because by tapping Sync on the new phone within Titanium, it sees that the backup folder is empty and therefore cleans out what was previously uploaded from the old phone.
The same SD card that was used on the old phone is now in the new phone and should technically contain the backup files, but Titanium installed on the new phone says there are zero backups on it.
1) How can I make Titanium download 1.7GB of the backup files instead of deleting it?
2) After being able to successfully download the backup files, I suppose what I need to do after that is to restore apps + system data? Thanks so much for your help!
Weird, that's not how it's supposed to work. You could attempt to either restore the android id or create a new one from tb options.
Regarding your second question, yes, but when restoring system data, I prefer to simply tick the apps and xmls that I want to avoid conflicts.
Sent from my GT-N7100 using Tapatalk 2
Why you not changing location of TB to Ext SD card and select Auto Sync TB setting
After this reload application and just move same SD card to new device, install TB and everything will be fine.
-To restore
I recommend
-Restore missing app + Data
then only data from
Contact storage - green
Messeging-yellow
setting-green
setting storage-green
Sec Home Launcher - Red
I think this should be enough.
Thanks
Thanks for your helpful suggestions, guys.
What I figured out is this: Titanium Backup defaults to syncing the external SD card TI folder with the DropBox folder. If the folder is empty or isn't present on the external SD card (the one that is removable), it will delete the files that are on the cloud on DropBox but not on the external SD card.
The workaround is to specify where Titanium Backup should look for the backup files. If I connect my new phone to a computer and manually move the TI Backup files to the internal SD card (internal phone memory) and later specify for TI Backup to look at the phone's memory, not the external SD card for the TI Backup folder, the backup will work just fine (except for the usual app installation glitches because the Android ID doesn't match).
When I clicked "Sync to DropBox" on my new phone, hoping that the DropBox backup files would be downloaded to the new phone, I didn't realize that the external SD card was full and so TI Backup defaulted to Sync it with the internal SD storage on the new phone which was of course empty.
When I realized this, what I did was to manually move the entire TI Backup folder from DropBox to the new phone.
Thanks very much for your help and time taken to advise me. I really appreciate your responses.
After several tries, I finally successfully installed Cyanogenmod 10.2 on my Rogers Samsung Galaxy S3 for the first time. Unfortunately, Titanium Backup can't find the files to restore app+data. I've gone to Preferences > Backup folder location to detect where the backup is...and it says it's empty.
The weird thing is, when I'm in Clockwork Recovery mode and browse through the folders, the folder structure is identical to before I installed the ROM. Like I see the folder I stored the .zip files in, my photo folders, and a lot of other folders. But when I browse through the File Manager on the phone or when it's plugged into the computer, that stuff doesn't exist.
I'm not really too knowledgeable in this sorta thing, but I've rooted/installed new ROMs on my old Galaxy S before and successfully restored apps+data using Titanium Backup. I'm not too sure what's happening here
Did wiping data during the installation delete the backup too? My photos are gone as well (this didn't happen on the Galaxy S...), I don't mind though since I already backed it all up on my computer, but it's still surprising.
Any help to restore my apps and data is much appreciated!!
[PS: During the setup, Google can also restore apps that it backed up for me...but I've tried this and it only restores the apps and not the data...so I'm really hoping Titanium Backup will do that for me]
If I recall, CM changes the sdcard locations. So say before CM you had sdcard (internal) then extsdcard (external). I believe CM creates an sdcard 0 and 1. Try looking in both places. Good luck.
pre4speed said:
If I recall, CM changes the sdcard locations. So say before CM you had sdcard (internal) then extsdcard (external). I believe CM creates an sdcard 0 and 1. Try looking in both places. Good luck.
Click to expand...
Click to collapse
Ya I couldn't find the backup in sdcard0. I should also mention that I made the mistake of storing it in internal, rather than external (sdcard1). The folders within sdcard0 is what it would look like on a new phone...
Anyways, I'm determined to find out how to recover it because it's in the phone SOMEWHERE because the folder structure still exists when I'm in Clockwork Recovery.
poutineroutine said:
Ya I couldn't find the backup in sdcard0. I should also mention that I made the mistake of storing it in internal, rather than external (sdcard1). The folders within sdcard0 is what it would look like on a new phone...
Anyways, I determined to find out how to recover it because it's in the phone SOMEWHERE because the folder structure still exists when I'm in Clockwork Recovery.
Click to expand...
Click to collapse
Menu, preferences, backup folder location, search whole device it will find then use current folder it will then restart and you're set
louvass said:
Menu, preferences, backup folder location, search whole device it will find then use current folder it will then restart and you're set
Click to expand...
Click to collapse
I did that many times already. It says 'No backup location was found'...
poutineroutine said:
I did that many times already. It says 'No backup location was found'...
Click to expand...
Click to collapse
I'm having the exact same problem. Has this problem been solved?
Some help desperately needed here! Thanks!
This could all depend on if you backed everything up on your device or SD card? If internal then I want to say the AOSP rom will not recognize anything from stock. However if you stored all those files on the external SD card and all lose your data, then there is an issue.
Suggestion: flash stock and see if it all comes back. If so then move all data to external SD card. Flash AOSP rom then it will all be there. Let me know how it works out
Searched and found some info on the above in regards to other phones, but the solutions did not work for this phone (or maybe just for me):silly:
Rooted with Towelroot, and Chainfire for the Superuser last week. Installed TiB, and checked in one of its menus to use the external SD card for automatic backups (I believe).
So, I perform a full backup of all apps and data, but I had been having issues with a bad install of Go Launcher so I decide to do a phone reset (to KK 4.4.2) and restore with a fresh OS.
Upon reboot, the phone automatically Dl'ed all of my Google info and apps, contacts, and everything, all by itself. When the phone rebooted, I was surprised to see that I still had root, but without SU. Did another restore just to be sure and reinstalled Towelroot manually. There must have been an update to it since last week as the SU was automatically installed this time and I had SU without needing to install Chainfire. I reinstalled TiB and attempted to do a TiB restore, but learned that all of my backup info had been stored on the INTERNAL SD card and it was all wiped with the phone restore.
So, I go back into TiB settings and try to redirect the storage location to the EXTERNAL SD card by hitting the back button when looking at the file structure, but when I get to the external card, TiB says it's not writable. Some other phone threads mentioned to use the MNT directory but that didn't work either.
So, after all the above, can anyone either talk me through how to get TiB to store externally, or possibly would you provide a link if you know of a thread that allows it to work with our phones (E980 on AT&T). I've tried a few things mentioned on different threads but none of it seems to work!
Strange, I always use the TB for my backups and I have 3 automatic settings and does everything on the SD card without problem. I do not think there is a tutorial for that friend, you already have a backup folder? to copy to the SD memory and let that TB to detect it automatically. Sorry for my poor english
Have you tried manually editing the platform.xml as indicated in this post?
http://forum.xda-developers.com/showthread.php?t=2617921
mad_g said:
Strange, I always use the TB for my backups and I have 3 automatic settings and does everything on the SD card without problem. I do not think there is a tutorial for that friend, you already have a backup folder? to copy to the SD memory and let that TB to detect it automatically. Sorry for my poor english
Click to expand...
Click to collapse
nugundam said:
Have you tried manually editing the platform.xml as indicated in this post?
http://forum.xda-developers.com/showthread.php?t=2617921
Click to expand...
Click to collapse
Thanks for the info. I followed the link and tried to modify the platform.xml file but the 3 file editors I used would not save the changes. I kept getting errors. Then I saw a link to an app in the app store, tried it and it worked perfectly!!! It modified the platform.xml (and saved the changes, which I was unable to do). The only thing I then had to do was go back into TiB and manually create a "Titanium Backup" folder in "/storage/external_SD".
I ran a backup and checked the SD card and the backup is there where I had hoped it would be.:good:
https://play.google.com/store/apps/details?id=nextapp.sdfix
I had the exact opposite experience. The app didn't work for me so I just manually edited the file with Root Explorer. Glad your issue is resolved.
I have succesfully rooted my device, busybox installed and changed platform.xml to add media RW.
After that titanium backup was able to find my backup folder on the external SD and i tried to restore apps but none would restore
it always is stuck at 0% and cant even restore the first app, even if i just select one app...
Any help?
Snake-Plissken said:
I have succesfully rooted my device, busybox installed and changed platform.xml to add media RW.
After that titanium backup was able to find my backup folder on the external SD and i tried to restore apps but none would restore
it always is stuck at 0% and cant even restore the first app, even if i just select one app...
Any help?
Click to expand...
Click to collapse
Sorry I hadn't seen earlier. You might have solved your problem in the meantime. First thing I would try is uninstall and then reinstalling Titanium Backup. 2nd, move your backup location to the phone instead of your external card. (Temp to test the program). Run a backup and try restoring a couple files to see if the restore is working from phone storage. That will tell you if its TB or a permissions problem. Once you've confirmed it's working, change your location back to your TB folder on the external drive (TB will find it when you ask it to). Reboot and try a new backup. Then try a restore from the new backup on the SD card.
If you are still having the same problem, your External card is either bad or you haven't fixed the permissions yet.
I had some problems with TB backing up. Kept dismounting the SD card and erroring out. Eventually, just bought a new Samsung card and stuck my Sandisk Pro back in a box. Good Luck.
USB debugging turned on? When off I get the same kind of handling. Turning it on gets it going right away.
Hi All,
Been trying to figure this out for the last 30 Hours straight & now I'm at the end of my rag with bloody knuckles & a hole in my desk... So I thought this would be a good a time as any to ask for some advice/help!
I have upgraded/flashed my HTC One M8 (2014) from LP (Android_Revolution_HD-One_M8_41.0_866186) to MM (ResurrectionRemix-M-v5.6.2-20160203-m8) (Based off CM13). I created a backup of all my Apps & Data using Titanium Backup & also made a full Nandroid backup using TWRP.
The problem is with restoring the data within the Nandroid backup, previously I have used the "Extract Data From Nandroid Backup" option in Titanium Backup to extract my SMS/MMS messages to my new Rom. However when I try to do that on MM I'm greeted with the message "Failed to locate your TWRP backups directory. Please verify that the "TWRP/BACKUPS" folder exists on your SD card."
To make thing worse, when I try to restore my Nandroid backup, it all goes well except my WiFi & Mobile Data no longer work... I can connect to my WiFi but it always says that there is no internet connection. So restoring is not an option as I can't do much without internet access.
Anyone have any ideas? I have tried to use a different SD Card & no joy, could it maybe be a permissions issue or something or am I just being a muppet & missing a simple solution.
Either way any advice would be much appreciated. Thanks.
Oh yeah, I Googled the message that Titanium brings up with quotation marks & there were only TWO results (both from the same thread on XDA)... I've never seen Google look so barren!
Hi - I'm having a similar issue. Upgraded from LP to MM and can't extract apps/data from Nandroid backup...
It says it's been successful but no apps are there...
NeoSonic said:
Hi All,
Been trying to figure this out for the last 30 Hours straight & now I'm at the end of my rag with bloody knuckles & a hole in my desk... So I thought this would be a good a time as any to ask for some advice/help!
I have upgraded/flashed my HTC One M8 (2014) from LP (Android_Revolution_HD-One_M8_41.0_866186) to MM (ResurrectionRemix-M-v5.6.2-20160203-m8) (Based off CM13). I created a backup of all my Apps & Data using Titanium Backup & also made a full Nandroid backup using TWRP.
The problem is with restoring the data within the Nandroid backup, previously I have used the "Extract Data From Nandroid Backup" option in Titanium Backup to extract my SMS/MMS messages to my new Rom. However when I try to do that on MM I'm greeted with the message "Failed to locate your TWRP backups directory. Please verify that the "TWRP/BACKUPS" folder exists on your SD card."
To make thing worse, when I try to restore my Nandroid backup, it all goes well except my WiFi & Mobile Data no longer work... I can connect to my WiFi but it always says that there is no internet connection. So restoring is not an option as I can't do much without internet access.
Anyone have any ideas? I have tried to use a different SD Card & no joy, could it maybe be a permissions issue or something or am I just being a muppet & missing a simple solution.
Either way any advice would be much appreciated. Thanks.
Oh yeah, I Googled the message that Titanium brings up with quotation marks & there were only TWO results (both from the same thread on XDA)... I've never seen Google look so barren!
Click to expand...
Click to collapse
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
topjohnwu said:
Q: **** app cannot access external SDcard!!
A: Look at this explanation:
Since Kitkat (2 years ago man), we don't have direct external storage write permission. Google consider it insecure, so they implemented this feature. The reason why you can access external SDcard easily before is because most roms on XDA already contains a hack in /system/etc/permissions/platform.xml. You should not rely on this hack forever, please take a look below.
In lollipop and after, Google provided a much secure and better way to grant external storage access to third party apps, first of all take a look at this article for details:
http://www.androidpolice.com/2014/1...s-automatic-mediastore-and-improves-security/
So instead of using the old platform.xml hack in the old Kitkat days, adopt yourself with this new behavior of Android!! If a certain app cannot access SDcard, ASK THE DEVELOPER to add support for this API!!
Many apps already have support for this API. I'll take Titanium Backup for example, as lots of you cannot find the way to use it on externals SD. In Menu>>Preferences>>Backup Location, you can choose Document Provider on top of the detect button.
In the provider, open the menu on the top right corner and select "Show SDcard", then you'll see External Storage in the left side. Select external SDcard in the document provider and press the button on the bottom, the app will then be granted access to the whole external storage. You can then create a new folder in TiBack and select it as your backup location.
Other apps also follows the instructions above, you just have to manually set up the folder where the app can access, in the case which most of us would love to give access to the whole SDcard, I set the location to the root of external storage. Each app has independent permission, so you have to manually grant each app you wish to access external storage.
Click to expand...
Click to collapse
-Duir- said:
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
Click to expand...
Click to collapse
'allo mate, I appreciate the reply but it has done nothing for me, just to clarify, I can see my backed up Apps & Data so I'm pretty sure it already has access to the SD card (correct me if I'm wrong) but it is still unable to see the Nandroid TWRP backup... bit of a Jar as I just paid for the premium version of Titanium Backup & Nandroid Manager. Nandroid Manager is able to see the files but hangs when trying to extract the Messages...
Any Ideas?
NeoSonic said:
'allo mate, I appreciate the reply but it has done nothing for me, just to clarify, I can see my backed up Apps & Data so I'm pretty sure it already has access to the SD card (correct me if I'm wrong) but it is still unable to see the Nandroid TWRP backup... bit of a Jar as I just paid for the premium version of Titanium Backup & Nandroid Manager. Nandroid Manager is able to see the files but hangs when trying to extract the Messages...
Any Ideas?
Click to expand...
Click to collapse
Copy or move the backup folder to internal storage and it will work. Not sure if it's a bug in TB or because of how MM handles the external sdcard but it doesn't check it. It finds the TWRP folder on internal, which if you don't backup on internal, only has your preferences (and theme if you use one). I never used it, so not sure if it was an issue before MM or not.
I did try and got an error about not finding a "clockworkmod/backup" folder or a "TWRP/Backups" folder so to see what happened I made a "Backups" folder in the TWRP directory on my internal storage and the error basically changed to say there were no backups in it.
-Duir- said:
Copy or move the backup folder to internal storage and it will work. Not sure if it's a bug in TB or because of how MM handles the external sdcard but it doesn't check it. It finds the TWRP folder on internal, which if you don't backup on internal, only has your preferences (and theme if you use one). I never used it, so not sure if it was an issue before MM or not.
I did try and got an error about not finding a "clockworkmod/backup" folder or a "TWRP/Backups" folder so to see what happened I made a "Backups" folder in the TWRP directory on my internal storage and the error basically changed to say there were no backups in it.
Click to expand...
Click to collapse
Cheers for that mate, seems to have done the trick. Unfortunately when I restore my Phone & Messaging data it completely destroys my phone... I get the message "com.android.phone" has stopped working & the entire system slows down to a crawl... I also get the Sim Card icon in the top right of the screen with a line through it... Is this because I'm moving between Sense to something else? I'm really at my wits end with this.
Any advice would be much appreciated.
NeoSonic said:
Cheers for that mate, seems to have done the trick. Unfortunately when I restore my Phone & Messaging data it completely destroys my phone... I get the message "com.android.phone" has stopped working & the entire system slows down to a crawl... I also get the Sim Card icon in the top right of the screen with a line through it... Is this because I'm moving between Sense to something else? I'm really at my wits end with this.
Any advice would be much appreciated.
Click to expand...
Click to collapse
I would say that's definitely it. Not only are you restoring app data for system apps from two different Android versions (LP -> MM) which can be buggy, but also for two completely different builds (Sense -> CM) which don't use the same apps. Sense will use HTC's own Phone and Messaging apps and CM if I remember uses stock Android versions). It's been too long since I tried CM but when I did it I had a third-party program for backing up contacts and installed something like GoSMS to backup messages, then installed the same apps on CM and restored the data from within those apps and the stock dialer/messaging apps had the data. But this was before HTC added backup/restore capability into their versions of the apps.
I'm having a similar issue, I google searched and it brought me here. I can see my backup from within TWRP, even on the PC I can see the TWRP folder and files. But when I boot and use titanium backup or nandroid manager, it says backup not found. Even in the root browser, the TWRP folder is empty and even on the PC I can't see the files anymore. Its kind of frustrating because there are two apps that I want restored but I don't want to completly restore using TWRP.
rapiollymega said:
I'm having a similar issue, I google searched and it brought me here. I can see my backup from within TWRP, even on the PC I can see the TWRP folder and files. But when I boot and use titanium backup or nandroid manager, it says backup not found. Even in the root browser, the TWRP folder is empty and even on the PC I can't see the files anymore. Its kind of frustrating because there are two apps that I want restored but I don't want to completly restore using TWRP.
Click to expand...
Click to collapse
Try going to Settings>Apps, find Titanium Backup, then select Permissions and see if Storage is toggled on.
I've got the same problem, storage permission is toggled on. Although I am using a LG G3
same here with my Galaxy S5 (AOKP 6.0.1)
The same problem on Xiaomi Mi Max (Android 6.0.1). External SD card permission is granted to TB (it can see full SD contents and select TWRP backup directories). But "extract from Nandroid backup" shows "folder not found" error.
I'm afraid CWM/TWRP directory locations are hardcoded as "/TWRP on SD card" while /sdcard is mapped to internal memory on modern phones.
I had copied data files of the backup (1.5 gigs, not a best choice) to internal memory (/sdcard) and TB immediately found them. Unfortunately, TB offers only apps and app data for restoration. I need to extract plain user data directories but TB offers no way for that.
Stock S5 6.0.1
same here...what a pain..
Had to copy nandroid backup from extsd to internal storage to restore app data
-Duir- said:
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
Click to expand...
Click to collapse
DAMN THANK YOU that solved it
Anyone knows how to extract the nandroidbackup from the TWRP folder on ExternalStorage? I cannot move the backup because its to large for my InternalStorage. I think it's an issue in TiBackup, creating a symbolic link also does not work since my ExternalStorage is formatted as exFAT.
Another fix I discovered is get your BACKUP ID
twrp save folder > TWRP>BACKUPS>BACKUPID>backup
if you have a backup without a backupid folder it will not work!
Having storage permission or not doesn't seem to help at all!
-Duir- said:
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
Click to expand...
Click to collapse
This helps Titanium Backup see its own backup folder, but doesn't help it see the /TWRP/BACKUPS folder
emuzychenko said:
I'm afraid CWM/TWRP directory locations are hardcoded as "/TWRP on SD card" while /sdcard is mapped to internal memory on modern phones.
Click to expand...
Click to collapse
Can a symlink be created from the location it's looking to the location it's actually at?