How to: Enable OTG to work in Titanium Backup - Moto X General

If anyone has tried to use an OTG to back up with Titanium Backup you know that if you select a folder on your OTG drive Titanium Backup will say it's not writable even if you can write to it using other methods.
I was looking into this last night because I wanted to back up everything to my 64GB sd card using the meenova OTG adapter (http://www.meenova.com)
Anyway to be able to have TiBU write to it all you have to do is add a lne in an xml file.
YOU MUST BE ROOTED:
Go to /system/etc/permissions
open up platform.xml
look for the line
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
and add the line
Code:
<group gid="media_rw" />
So now it will look like this:
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
Save the file, reboot and then fire up TiBu and navigate to the folder on your OTG drive and it will now work and the message saying it's not writable will be gone.

Anyone tried this?

I'm always a bit wary of unaccredited websites that ask for my credit card details and address... Did not purchase... If there were a PayPal option, that'd be different.

Jade Eyed Wolf said:
I'm always a bit wary of unaccredited websites that ask for my credit card details and address... Did not purchase... If there were a PayPal option, that'd be different.
Click to expand...
Click to collapse
You don't have to buy it. This process will work with any otg. But they are reputable. They had a huge kickstarter campaign and was reported on by a few of the sites (that's how I first found out about it)
Sent from my Nexus 7 using Tapatalk 4

GoClifGo05 said:
Anyone tried this?
Click to expand...
Click to collapse
Yes, I did and it works perfectly. But hey if you don't feel like I'm creditable and need a 2nd opinion then be my guest.. I don't really have the reputation of posting nonsense
Sent from my Nexus 7 using Tapatalk 4

I'm not calling you out at all! Lol don't get defensive. I just got my x today, DE and just reading around. Please don't take offense.
Sent from my DE Moto X

GoClifGo05 said:
I'm not calling you out at all! Lol don't get defensive. I just got my x today, DE and just reading around. Please don't take offense.
Sent from my DE Moto X
Click to expand...
Click to collapse
I'm not offended. I'm just saying.. If it didn't work I wouldn't have posted it. On Nexus devices using stick mount you don't need to do this but with the native otg with the moto x Titanium backup will say the folder on the otg drive is not writable.
Sent from my Nexus 7 using Tapatalk 4

Have an N7, got you. Well.... thanks for the tip.
Sent from my DE Moto X

Jade Eyed Wolf said:
I'm always a bit wary of unaccredited websites that ask for my credit card details and address... Did not purchase... If there were a PayPal option, that'd be different.
Click to expand...
Click to collapse
Wouldn't take my money. Hitting add to cart didn't do nothing.
Sent from my XT897 using XDA Premium 4 mobile app

graffixnyc said:
If anyone has tried to use an OTG to back up with Titanium Backup you know that if you select a folder on your OTG drive Titanium Backup will say it's not writable even if you can write to it using other methods.
I was looking into this last night because I wanted to back up everything to my 64GB sd card using the meenova OTG adapter (http://www.meenova.com)
Anyway to be able to have TiBU write to it all you have to do is add a lne in an xml file.
YOU MUST BE ROOTED:
Go to /system/etc/permissions
open up platform.xml
look for the line
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
and add the line
Code:
<group gid="media_rw" />
So now it will look like this:
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
Save the file, reboot and then fire up TiBu and navigate to the folder on your OTG drive and it will now work and the message saying it's not writable will be gone.
Click to expand...
Click to collapse
If rooted and do like you described, then the apps like ES file manager can write file into SD card? Thanks.

Permission Denied
So I have root access and gave root permission to es file manager but whenever I try to save the file I'm unable to. What could be going on? What's going on?

Whenever I try this my whole system goes to hell. I end up having to reinstall system, not even deleting the line off the file and rebooting works.

On my Nexus 6 I have a Flash Drive connected via OTG, I am using StickMount to mount it in the file system, I can use it without any problem from TWRP, RootExplorer, Media Players, etc. The Flash drive is formatted using FAT32. When I try to configure Titanium Backup to use it as the destination folder for backup, I can get to the folder where the drive is mounted but the option "Use the current folder" is dimmed and I cannot press it to select the folder, please any help or guidance will be appreciated, thanks

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" > <group gid="sdcard_rw" /> <group gid="media_rw" /> </permission>
this line is unavailable but i found this one :
<permission name="android.permission.WRITE_MEDIA_STORAGE" > <group gid="sdcard_rw" /> <group gid="media_rw" /> </permission>
is it the same thing ???

falciatrice10 said:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" > <group gid="sdcard_rw" /> <group gid="media_rw" /> </permission>
this line is unavailable but i found this one :
<permission name="android.permission.WRITE_MEDIA_STORAGE" > <group gid="sdcard_rw" /> <group gid="media_rw" /> </permission>
is it the same thing ???
Click to expand...
Click to collapse
I have the same case. WRITE_MEDIA_STORAGE is in place as well as both permissions, and it doesn't solve the problem. Added WRITE_EXTERNAL_STORAGE tag, didn't help either.

I found a correct solution on ( SURPRIIISE! ) Titanium Backup Troubleshooting FAQ
31. External SD Card problems (This Folder is NOT Writeable)
Since Android 4.4 and above, the SDCard permissions have been changed on how it is granted to an application. A quick way to fix this is by using SDFix application.
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 to the preferences of TitaniumBackup, choose “Backup folder location” and choose the above specified folder.
Finish.
Click to expand...
Click to collapse
It works!

ShurV said:
I found a correct solution on ( SURPRIIISE! ) Titanium Backup Troubleshooting FAQ
It works!
Click to expand...
Click to collapse
Thank you! It works for me.:good:

Related

KitKat Loss of SD card write access

To anyone who has installed Kitkat XXUFNAD and lost write access to their SDcard, here is a solution.
I am not the original person who found this solution , I'm just putting it together here to help others.
You need root access to do this, of course.
1. Use something like root explorer to to go to the root folder
2. From there go to folder system/etc/permissions
3. Look for file called "platform.xml"
4. Edit this file ( your editor should open it in R/W mode )
5. Locate the following line :
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
6. Add this line " <group gid="media_rw" />", so you get
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
7. Save the file
8. Reboot
You should now have WRITE access back for your SDcard.
I have done this on my i9505 snapdragon without any issue.
All the usual caveats apply ie I not responsible etc etc
I can only assume that when Samsung release the official version, they will put this feature back.One of the fundamental reason I have bought and stayed with Samsung is because of the SDCARD possibility.
sohotha said:
To anyone who has installed Kitkat XXUFNAD and lost write access to their SDcard, here is a solution.
I am not the original person who found this solution , I'm just putting it together here to help others......
I can only assume that when Samsung release the official version, they will put this feature back.One of the fundamental reason I have bought and stayed with Samsung is because of the SDCARD possibility.
Click to expand...
Click to collapse
Good, good, I feel that the Force is strooong in you, young padawan. But, still the learning need you. It will be a day, when the force will allow you to be able with understanding to read, and to search.
But you are not patiently waiting until your abilities will grow I see. Into the dark side it will take you, I feel.
For the next time, instead to rediscover the America, please read the General section. Doing such, this old info you will find.
And now return to the Jedi practice with sword I recommend you to get stronger force control I ask you.
:laugh::laugh:
spamtrash said:
Good, good, I feel that the Force is strooong in you, young padawan. But, still the learning need you. It will be a day, when the force will allow you to be able with understanding to read, and to search.
But you are not patiently waiting until your abilities will grow I see. Into the dark side it will take you, I feel.
For the next time, instead to rediscover the America, please read the General section. Doing such, this old info you will find.
And now return to the Jedi practice with sword I recommend you to get stronger force control I ask you.
:laugh::laugh:
Click to expand...
Click to collapse
Yes .. yes.. I find myself too impatient to look for the ways of the power of the "SEARCH" on my path to enlightenment ...:crying:
sohotha said:
Yes .. yes.. I find myself too impatient to look for the ways of the power of the "SEARCH" on my path to enlightenment ...:crying:
Click to expand...
Click to collapse
:good:
Camera not working after this tweak

[SOLUTION] Titanium Backup not enough space 4.4.2 TW

Hi all!
I've updated from 4.3 to 4.4.2 Samsung Rom (tw). My case NB8.
Titanium Backup has stopped working. Shows the error "not enough space" when backing up to external sd card. Also, it shows that extsdcard is not writeable.
Here's the solution for i9505 to get it working, of course you need root to do that. It may work for other apps too and other phone models such i9500:
Edit file platform.xml in system/etc/permissions (make a backup first).
Search for this:
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
Add this:
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
[COLOR="Green"][B]<group gid="media_rw" />[/B][/COLOR]
</permission>
Save changes and reboot.
Regards.
cybdani said:
Hi all!
I've updated from 4.3 to 4.4.2 Samsung Rom (tw). My case NB8.
Titanium Backup has stopped working. Shows the error "not enough space" when backing up to external sd card. Also, it shows that extsdcard is not writeable.
Here's the solution for i9505 to get it working, of course you need root to do that. It may work for other apps too and other phone models such i9500:
Edit file platform.xml in system/etc/permissions (make a backup first).
Search for this:
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
Add this:
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
[COLOR="Green"][B]<group gid="media_rw" />[/B][/COLOR]
</permission>
Save changes and reboot.
Regards.
Click to expand...
Click to collapse
Lifesaver, cheers! Now if only there was a way for TB to restore all your apps without you having to click Install and Done on each one, this will take all day!
nrps1 said:
Lifesaver, cheers! Now if only there was a way for TB to restore all your apps without you having to click Install and Done on each one, this will take all day!
Click to expand...
Click to collapse
The pro version does not ask to install afaik. It installs all apps automaticly
Gesendet von meinem GT-I9505 mit Tapatalk
benni2903 said:
The pro version does not ask to install afaik. It installs all apps automaticly
Gesendet von meinem GT-I9505 mit Tapatalk
Click to expand...
Click to collapse
It looks to me like the ROM security itself, whenever I install anything it prompts for me to accept permissions etc, does this still apply?
If you are using the batch restore(?)(restore all backups + data) then it will not ask for every single app. TB just installs everything in the background
Gesendet von meinem GT-I9505 mit Tapatalk
benni2903 said:
If you are using the batch restore(?)(restore all backups + data) then it will not ask for every single app. TB just installs everything in the background
Gesendet von meinem GT-I9505 mit Tapatalk
Click to expand...
Click to collapse
Yes, you are right benni2903.
I hope that this thread can help to users that are upgrading to TW 4.4.2. I've spent over half an hour to find out where the problem was.
Regards
benni2903 said:
If you are using the batch restore(?)(restore all backups + data) then it will not ask for every single app. TB just installs everything in the background
Gesendet von meinem GT-I9505 mit Tapatalk
Click to expand...
Click to collapse
Strange, that is exactly what I chose and it was indeed asking for each one it needed to download (I assume). Oh well, I just flashed firmware and signed in on 1st boot and Google handled the rest instead!
nrps1 said:
Strange, that is exactly what I chose and it was indeed asking for each one it needed to download (I assume). Oh well, I just flashed firmware and signed in on 1st boot and Google handled the rest instead!
Click to expand...
Click to collapse
I don't configure my google account after a firm upgrade (if I deleted all data) until I've restored all apps using titanium. I install the free version from my external sd.
cybdani said:
Hi all!
I've updated from 4.3 to 4.4.2 Samsung Rom (tw). My case NB8.
Titanium Backup has stopped working. Shows the error "not enough space" when backing up to external sd card. Also, it shows that extsdcard is not writeable.
Here's the solution for i9505 to get it working, of course you need root to do that. It may work for other apps too and other phone models such i9500:
Edit file platform.xml in system/etc/permissions (make a backup first).
Search for this:
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
Add this:
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
[COLOR="Green"][B]<group gid="media_rw" />[/B][/COLOR]
</permission>
Save changes and reboot.
Regards.
Click to expand...
Click to collapse
Many many thanks for sharing this!
It really did the trick!
I was about to rip my hair off, didn't know whether to ask the kernel developer or the titanium support first.
Also TB doesn't need internet connection ob startup for license check. Now I can also use TB again offline with full functionality
You saved my day
P.S. I'll hit the thanks buttons tomorrow,i spend all my thanks today for @ktoonsez awesome kernel
thank you! this saved me from pulling my hair out when i flashed a new rom!
cybdani said:
Hi all!
I've updated from 4.3 to 4.4.2 Samsung Rom (tw). My case NB8.
Titanium Backup has stopped working. Shows the error "not enough space" when backing up to external sd card. Also, it shows that extsdcard is not writeable.
Here's the solution for i9505 to get it working, of course you need root to do that. It may work for other apps too and other phone models such i9500:
Edit file platform.xml in system/etc/permissions (make a backup first).
Search for this:
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
Add this:
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
[COLOR="Green"][B]<group gid="media_rw" />[/B][/COLOR]
</permission>
Save changes and reboot.
Regards.
Click to expand...
Click to collapse
Hi there - tried doing this fix using ES File Explorer - initially it wouldn't save so I coped the file out of original file path to internal SD to test and was able to save - tried pasting new file in and got error that the file system was read only (which was likely my original problem as suspected). How to I get around this, or change the file path location to writeable to simply save the original platform.xml?
Thanks,
~snowin
Disregard - I failed to see the little button where I could change permissions on the permissions folder Thanks for looking
---------- Post added at 06:08 PM ---------- Previous post was at 05:22 PM ----------
OK - so after re-booting my internal SD card seems to be "lost". A bunch of apps FC including titanium. I can access my external SD card using ES @ /storage/extsdcard but the /sdcard/ & storage/emulated are all blanks. Can someone point me in the right direction? I'm running ezkat 2.0 ROM for Note ii
snowin said:
Hi there - tried doing this fix using ES File Explorer - initially it wouldn't save so I coped the file out of original file path to internal SD to test and was able to save - tried pasting new file in and got error that the file system was read only (which was likely my original problem as suspected). How to I get around this, or change the file path location to writeable to simply save the original platform.xml?
Thanks,
~snowin
Disregard - I failed to see the little button where I could change permissions on the permissions folder Thanks for looking
---------- Post added at 06:08 PM ---------- Previous post was at 05:22 PM ----------
OK - so after re-booting my internal SD card seems to be "lost". A bunch of apps FC including titanium. I can access my external SD card using ES @ /storage/extsdcard but the /sdcard/ & storage/emulated are all blanks. Can someone point me in the right direction? I'm running ezkat 2.0 ROM for Note ii
Click to expand...
Click to collapse
Before to edit file, you need to mount system as RW. Then you can edit and save file. Root Explorer is better than es file explorer.
cybdani said:
Hi all!
I've updated from 4.3 to 4.4.2 Samsung Rom (tw). My case NB8.
Titanium Backup has stopped working. Shows the error "not enough space" when backing up to external sd card. Also, it shows that extsdcard is not writeable.
Here's the solution for i9505 to get it working, of course you need root to do that. It may work for other apps too and other phone models such i9500:
Edit file platform.xml in system/etc/permissions (make a backup first).
Search for this:
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
Add this:
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
[COLOR="Green"][B]<group gid="media_rw" />[/B][/COLOR]
</permission>
Save changes and reboot.
Regards.
Click to expand...
Click to collapse
Hey thanks so much for the solution! Fixed my Umi Zero right up (now I can start tweaking , but I'm curious, how does this fix work? Thanks!

[Q] bluetooth problem after 4.4.2

hi
i updated my note 3 to 4.4.2 about a week ago and just found out that my bluetooth isn't working;;
can't turn it on.
is there anyway to fix this?
wow this 4.4.2 patch is really annoying cuz i couldn't write my sd card until fixing with sd card fix
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
does sd card fix can screw bluetooth?
is there any way to fix this?
thanks~
Try this. Turn on the headset and keep pressing 3 seconds after it turn on. This will put in pairing mode and your note 3 will detect it, see the video below.
http://youtu.be/KOKe0R-lSZ4
imdogdream said:
hi
i updated my note 3 to 4.4.2 about a week ago and just found out that my bluetooth isn't working;;
can't turn it on.
is there anyway to fix this?
wow this 4.4.2 patch is really annoying cuz i couldn't write my sd card until fixing with sd card fix
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
does sd card fix can screw bluetooth?
is there any way to fix this?
thanks~
Click to expand...
Click to collapse
State your device model.
I'm using a S5 and have the same issue.
Added:
<group gid="media_rw" />
to:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
Had a repeatative error message about Bluetooth share on reboot. Then found Bluetooth wouldn't turn on and so changed back the back up permissions file. Still unable to turn bluetooth on - the toggle momentarily tries to turn on the bluetooth and then fails.
Suggestions?
nicholaschum said:
State your device model.
Click to expand...
Click to collapse
Hi. Did the vidéo solve your problem. For it did.

[Q] Permissions broken

Hi!
I have S4 I9505 with KitKat 4.4.2
I tried to fix writing to external storage for all apps as described here:
http://forum.xda-developers.com/showthread.php?t=2687734
I modified the file, restarted phone.. and now I have no internet, no wireless, no bluetooh, I cannot see my storage (neither internal or sd card), mz pc wont recognize the storages... I cannot make any backup, because I cannot write to any storage..
And, no, I haven"t done any backup of that file...
I tried to reedit but no succes...
Maybe someone can upload the original file?
Or do you have any suggestions?
eltigre4jc said:
Hi!
I have S4 I9505 with KitKat 4.4.2
I tried to fix writing to external storage for all apps as described here:
http://forum.xda-developers.com/showthread.php?t=2687734
I modified the file, restarted phone.. and now I have no internet, no wireless, no bluetooh, I cannot see my storage (neither internal or sd card), mz pc wont recognize the storages... I cannot make any backup, because I cannot write to any storage..
And, no, I haven"t done any backup of that file...
I tried to reedit but no succes...
Maybe someone can upload the original file?
Or do you have any suggestions?
Click to expand...
Click to collapse
you need to set permission to rw-/r--/-r--
make sure you only edit
<permission
name="android.permission.WRITE_EXTERNAL_STORAGE"
>
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
add only <group gid="media_rw" /> as above and save
if you only done this edit to your platform.xml then proceed to set permission as below
1. open root explorer
2. goto system>etc>permisson and mount folder as R/W
3. long press on platform.xml click permission
4. check
owner read and write
group read
others read
and click ok and reboot your phone

Root and SD Card Access

Does applying root to an AT&T S5 allow you to use apps like es file Explorer to move files from the phone storage to an SD card without write errors? Thanks.
-NVE
U need to go to /system/etc/permissions, find platform.xml and add
<group gid="media_rw" />
to WRITE_EXTERNAL_STORAGE permission.
Then save and reboot.
Awesome! This is great news, thanks for the info.
-NVE
Sent from my SAMSUNG-SM-G900A using Tapatalk
ngl_ro said:
U need to go to /system/etc/permissions, find platform.xml and add
<group gid="media_rw" />
to WRITE_EXTERNAL_STORAGE permission.
Then save and reboot.
Click to expand...
Click to collapse
I tried to add the line you mentioned, but when I tried to save it and continue to reboot I got an error that the file couldn't be saved. I'm using ES File Explorer trying to edit the file. Any ideas?
-NVE
Sent from my SAMSUNG-SM-G900A using Tapatalk
You need to mount /system as read / write ( click on Root Explorer in the navigation drawer of Es Explorer ).
ngl_ro said:
U need to go to /system/etc/permissions, find platform.xml and add
<group gid="media_rw" />
to WRITE_EXTERNAL_STORAGE permission.
Then save and reboot.
Click to expand...
Click to collapse
Where do I put it exactly or does it not matter? This is what I see :
<permission name="android.permission.WRITE_EXTERNAL_STORAGE">
<group gid="sdcard_r"/>
<group gid="sdcard_rw"/>
<group gid="media_rw"/></permission>
thanks.

Categories

Resources