FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

Titanium Backup cannot backup to micro sd

282 posts
Thanks Meter: 89
 
By fincan, Senior Member on 16th December 2013, 04:31 PM
Post Reply Email Thread
Hi all,

For the past month or so, Titanium Backup cannot backup anything to my external sd any more and reports "Insufficient storage space". When I look at the folder location under TiBu preferences, it says "folder is not writable", however when I check the permissions with Root Explorer, it says it is writable, and everything else can really write to it anyway (e.g. google music can write there just fine).

If I switch the backup location to internal storage, it works fine but that defeats the purpose, I want to use my external microsd.

I've already tried uninstalling/re-installing, updating my SuperSU, rebooting the phone etc.

Any ideas?
The Following 4 Users Say Thank You to fincan For This Useful Post: [ View ] Gift fincan Ad-Free
 
 
16th December 2013, 05:37 PM |#2  
AnaMajhol's Avatar
Senior Member
YOUR BACKYARD
Thanks Meter: 58
 
More
Hi. . Your can try "Helium" as even the free version supports backup and restore from sd card.. here's the link:
https://play.google.com/store/apps/d...ikdutta.backup
Good luck

Sent from my GT-I9505 using Tapatalk
The Following User Says Thank You to AnaMajhol For This Useful Post: [ View ] Gift AnaMajhol Ad-Free
16th December 2013, 06:24 PM |#3  
Senior Member
Thanks Meter: 234
 
More
Quote:
Originally Posted by fincan

Hi all,

For the past month or so, Titanium Backup cannot backup anything to my external sd any more and reports "Insufficient storage space". When I look at the folder location under TiBu preferences, it says "folder is not writable", however when I check the permissions with Root Explorer, it says it is writable, and everything else can really write to it anyway (e.g. google music can write there just fine).

If I switch the backup location to internal storage, it works fine but that defeats the purpose, I want to use my external microsd.

I've already tried uninstalling/re-installing, updating my SuperSU, rebooting the phone etc.

Any ideas?

Could be related to the update to 4.3 which changed permissions for writing to the external SD Card.

Check this thread out.

http://forum.xda-developers.com/show....php?t=2436494
The Following 2 Users Say Thank You to dratsablive For This Useful Post: [ View ] Gift dratsablive Ad-Free
16th December 2013, 08:29 PM |#4  
fincan's Avatar
OP Senior Member
around VA
Thanks Meter: 89
 
More
Quote:
Originally Posted by dratsablive

Could be related to the update to 4.3 which changed permissions for writing to the external SD Card.

Check this thread out.

http://forum.xda-developers.com/show....php?t=2436494

You are right. I rolled back my platform.xml thinking that the sd card issue has been fixed in 4.4, changing it back did the trick. Thanks
The Following User Says Thank You to fincan For This Useful Post: [ View ] Gift fincan Ad-Free
16th December 2013, 09:38 PM |#5  
Senior Member
Thanks Meter: 234
 
More
Quote:
Originally Posted by fincan

You are right. I rolled back my platform.xml thinking that the sd card issue has been fixed in 4.4, changing it back did the trick. Thanks

Your welcome!
The Following User Says Thank You to dratsablive For This Useful Post: [ View ] Gift dratsablive Ad-Free
5th March 2014, 05:20 PM |#6  
Alpine-'s Avatar
Senior Member
Thanks Meter: 353
 
More
Quote:
Originally Posted by fincan

You are right. I rolled back my platform.xml thinking that the sd card issue has been fixed in 4.4, changing it back did the trick. Thanks

I updated to Kitkat 4.4 and am rooted. Im having the exact same issue with Titanium. It tells me the target dir is full and that it cant write/access the SD card. I changed permission of the SD Card with Root explorer but it doesnt stay.

How do I "roll back" platform.xml? I have no idea how to fix this. Never had any issue like this before in all my years of swapping roms and upgrading android builds.
The Following User Says Thank You to Alpine- For This Useful Post: [ View ] Gift Alpine- Ad-Free
5th March 2014, 05:31 PM |#7  
fincan's Avatar
OP Senior Member
around VA
Thanks Meter: 89
 
More
Quote:
Originally Posted by Alpine-

I updated to Kitkat 4.4 and am rooted. Im having the exact same issue with Titanium. It tells me the target dir is full and that it cant write/access the SD card. I changed permission of the SD Card with Root explorer but it doesnt stay.

How do I "roll back" platform.xml? I have no idea how to fix this. Never had any issue like this before in all my years of swapping roms and upgrading android builds.

You have to edit yoour platform.xml file so Titanium Backup works again. Since you are already rooted, you can refer to this post for what to edit, where the file is etc.:
http://forum.xda-developers.com/show...php?p=44370296
The Following 13 Users Say Thank You to fincan For This Useful Post: [ View ] Gift fincan Ad-Free
5th March 2014, 05:51 PM |#8  
Alpine-'s Avatar
Senior Member
Thanks Meter: 353
 
More
Quote:
Originally Posted by fincan

You have to edit yoour platform.xml file so Titanium Backup works again. Since you are already rooted, you can refer to this post for what to edit, where the file is etc.:
http://forum.xda-developers.com/show...php?p=44370296

Thanks, I found an identicle How-To here: http://www.androidauthority.com/gala...rd-fix-254960/

They are the same, both work. This one is a little easier to follow. I'm shocked this bug mad it over from 4.3 and into 4.4.2 official builds. All is well now though.
The Following 6 Users Say Thank You to Alpine- For This Useful Post: [ View ] Gift Alpine- Ad-Free
23rd March 2014, 11:26 AM |#9  
Senior Member
Thanks Meter: 143
 
More
Info 2 Titanium Backup with insuffiecient storage space - 1 problem , 3 solutions
To summarize, I have come across three solutions to this problem. In fact, it´s four solutions now, since one additional method was pointed out by Vandevandel (see number two below).

1.
Change the backup-location to /storage/emulated/legacy/TitaniumBackup
Just open Titanium and go to Settings/Preferences/Backup folder location
Change to: /storage/emulated/legacy/TitaniumBackup

2.
There is an elegant way of giving TitaniumBackup write access to the external sdcard, without having to forfeit security (as in method 3 below).
Since the time of Android 4.3, Google uses a very clean security-solution by giving apps that request write access to external SD, permission only to their own folder - not to the entire card!
In order to get TitaniumBackup to work without compromising security, you can simply 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 tothe preferences of TitaniumBackup, choose "Backup folder location" and choose the above specified folder.
Finish.

Very clean and safe.

3.
There is a solution for gaining write access to the external sdcard (/mnt/sdcard2). The sdcard is mounted r/w, but the owning group is media_rw which is linked to the WRITE_MEDIA_STORAGE permission. This permission was not required for access to the external sdcard prior to Android 3.2, but for security reasons this is the case now.

If you're rooted and want to make the ext. sdcard writable to all apps, please try the following:
1. Using a root-enabled file manager, navigate to /system/etc/permissions and make sure you have mounted the file system r/w.
2. Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
3. Add an additional group definition for this permission...<group gid="media_rw" />
4. Save the changes to the file.
5. Restart your tablet.

Original:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
</permission>

New:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>

Done.

After this change, any apps that request the WRITE_EXTERNAL_STORAGE permission (which includes almost anything that accesses either of the sdcards) will gain group membership in both sdcard_rw AND media_rw, giving them r/w access to both sdcard filesystems.

This may also fix problems with other apps that have issues writing to the ext. sdcard, but please be aware that in terms of security, solution two (see above) is preferable.

4.
If you had Titanium Backup installed on a previous ROM, doing a non-wipe install could stop the process of Titanium Backup. You might receive a pop-up notification that Titanium Backup has stopped working. Reinstalling the app might lead to an insufficient storage space error — when an app is uninstalled or modified, it leaves a .odex residue file which causes the error. So all you have to do is delete the .odex file of Titanium Backup.

Here’s how:
Using any file explorer like Root Explorer or ES File Explorer, go to /data/app , find and delete ”com.kermidas.TitaniumBackup-1.odex“. Now you can install Titanium Backup again!
If there is no such file in your folder, that´s OK. But please don´t delete any .apk file!

Good luck!

--------------------------------------------------------------------------------
If you find this post useful, pls feel free to click "Thanks".
Have a nice day
The Following 113 Users Say Thank You to Parinibbana For This Useful Post: [ View ] Gift Parinibbana Ad-Free
11th April 2014, 06:57 PM |#10  
idrak3's Avatar
Member
Thanks Meter: 8
 
More
Quote:
Originally Posted by Parinibbana

To summarize, I have come across three solutions to this problem.

1.
Change the backup-location to /storage...
Open Titanium and go to Settings/Preferences/Backup folder location
Change to: /storage/emulated/legacy/TitaniumBackup

2.
If you had Titanium Backup installed on a previous ROM, doing a non-wipe install could stop the process of Titanium Backup. You might receive a pop-up notification that Titanium Backup has stopped working. Reinstalling the app might lead to an insufficient storage space error — when an app is uninstalled or modified, it leaves a .odex residue file which causes the error. So all you have to do is delete the .odex file of Titanium Backup.

Here’s how:
Using any file explorer like Root Explorer or ES File Explorer, go to /data/app , find and delete ”com.kermidas.TitaniumBackup-1.odex“. Now you can install Titanium Backup again!
If there is no such file in your folder, that´s OK. But please don´t delete any .apk file!

3.
I've found a simple solution for gaining write access to the external sdcard (/mnt/sdcard2) on Android 3.2. The sdcard is mounted r/w, but the owning group is media_rw which is linked to the WRITE_MEDIA_STORAGE permission. Unfortunately, this permission was not required for access to the external sdcard prior to 3.2 so most file management utilities do not request it when they run...meaning they only have read access to the card.

The simple solution, if you're rooted, is as follows:
1. Using a root-enabled file manager, navigate to /system/etc/permissions and make sure you have mounted the file system r/w.
2. Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
3. Add an additional group definition for this permission...<group gid="media_rw" />
4. Save the changes to the file.
5. Restart your tablet.

Original:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
</permission>

New:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>

Done.

After this change, any apps that request the WRITE_EXTERNAL_STORAGE permission (which includes almost anything that accesses either of the sdcards) will gain group membership in both sdcard_rw AND media_rw, giving them r/w access to both sdcard filesystems.

This may also fix other apps that have issues writing to the card.

--------------------------------------------------------------------------------
If you find this post useful, pls feel free to click on "Thanks".
Have a nice day

thanks
The Following 4 Users Say Thank You to idrak3 For This Useful Post: [ View ] Gift idrak3 Ad-Free
16th April 2014, 12:28 PM |#11  
Senior Member
Thanks Meter: 143
 
More
Quote:
Originally Posted by idrak3

thanks

You're welcome.
The Following User Says Thank You to Parinibbana For This Useful Post: [ View ] Gift Parinibbana Ad-Free
Post Reply Subscribe to Thread

Tags
insufficient storage space, tibu, titanium backup

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes