Xperia Tablet S - write to sdcard2 - Sony Tablet S

EDIT: This issue was supposedly fixed with the release4 update. I'm a little behind in the times, but thought this was good info for xperia tablet s users none the less.
This is not about installing and running apps from the sdcard2, although this might help. This is about writing files, move, copy, paste, etc....to the sdcard2 from file managers (astro, etc...), office apps, and any other app installed on the tablet that you want to move or write to the external sdcard2. I found this method elsewhere on xda-developers and other forums so this is not my work and credit goes to them, but I have done this mod and edit and it works great.
Must be Rooted tablet:
1. Using 'File Expert' file manager, navigate to /system/etc/permissions and make sure you have mounted the file system r/w.
2. Edit platform.xml in a text editor 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.
That's it. After this you will be able to write to the sdcard2 from any app that is able. As far as installing apps to the sdcard2 and running them from there, this may now be possible using some play store apps designed for such activities.
Hope this helps. It did for me.....
EDIT: This issue was supposedly fixed with the release4 update. I'm a little behind in the times, but thought this was good info for xperia tablet s users none the less.

Related

[Q] How to delete default files

I hate those default Pics, music etc ASUS or whoever have put them and now I can't delete them from Filemanager...
How to delete any of the files I want ?
use root explorer to delete them. don't go deleting system/stock apps or your future OTA updates will fail.
I tried but says on those 17 default pics, "delete failed"...
BTW, why in file manager there is so bunch of stuff listed there, not organized... and you have no idea what is for what...
I tried FileManager HD - much better look/organization, also reports same error, failed to delete. Now in this app you can see next to file this: -rw
Are those files protected or something? pics and mp3's by default which I can't delete have that.
Thanks!
PS - Android -ICS, has folders listed totally wrong, you have system files listed with normal other folders which confuses normal people what is what and finding what they need to find. They should put ALL system files under 1 folder and make a tree of folders there and not in root put all folders there and leave up to us to manage in that bush
is your device rooted? and did you put it in read/write mode? otherwise it wont be able to delete the files
Sent from my Transformer Prime TF201 using XDA Premium HD app
You must set your file explorer to mount system files in read/write mode, by default they are set to read only. See in preferences menu.

[Q] Google Music saved to external SD card solution?

Ok this is going to be a bit of thread necromancy, but another user, GMtom1 was helpful enought to find the thread, albeit for another phone, but this might be able to solve one of the problems people have been having with their phone and it not utilizing the external SD cards correctly. Or not, I'm hoping someone smarter than me can lend a hand.
And without further ado....
FuzzyMeep Two said:
This is a fix i figured out piecing together other peoples attempts.
Use this as a script
mount -o bind sdcard2/android/data/com.​google.android.music sdcard/android/data/com.​google.android.music
Alternately you can change the first location to the location of your choosing as long as it resides on the external as card.
Ex.
Mount - o bind sdcard2/music sdcard/Android/data/com.​google.Android.music
will bind:
sdcard/Android/data/com.​google.Android.music (google's forced save location)
to
sdcard2/music
Go to google music (play music now) settings and clear any music that is currently saved to your device.
this only applies to music made available offline. If you do not clear it before running the script the music will exist on your internal sdcard but not be accessible.
open script manager and find the script you made
Select it and make sure to click set on boot and superuser
Run Your script.
That is it now your default save location for google music is bound to the location on the external sdcard. the device will see the location as its default but really be saving to the external sdcard.
You can check this by going to google music. Selecting "make available offline" and look at the free space. It should shoe the space available on your external sdcard.
TLR Version (noob version)
I was getting a lot of questions about the preliminary steps here (i.e. rooting, writing script, etc) so i decided to attach the noob version in case anyone needs verification on how to accomplish these steps.
HOW DO I ROOT?
So, Rooting gives you full access and control over your phone. instructions for how to root are device specific. so i would start by searching XDA for "YOUR DEVICE one click root"
ex. samsung galaxy s2 one one click root
some devices are easier to root than others. i cannot provide steps for your particular device, but through XDA, and google you CAN find everything you need.
some devices have one click root tools, some do not, so the rooting process is more in depth for those devices.
rooting instructions are so device specific i could not find a generic set of instructions, and don't want to mislead anyone by linking them to a set of instructions not ​compatible with their device.
There is a risk of bricking your device (making it inoperable) while rooting, although the risk is minimal... almost non existent if you carefully follow instructions. I have rooted 5 seperate devices without bricking any, and, in most cases even if bricked the device can still be restored.
there are additional benefits to rooting, such as overclocking
for example my Galaxy S2 normally runs at 1.5 GHZ, i have increased the speed to 1.8GHZ
(NOTE** Without XDA DEVELOPERS i would have rooted 0 devices, and probably bricked at least one, so thank you to all of you out there who have helped me, I hope this method will help some of you in return.)
NOW THAT YOU ARE ROOTED...
INSTALL SCRIPT MANAGER..
First, to install script manager just go to google market (Play Store) and search for script manager
INSTALL ES FILE EXPLORER..
To make a script go to google market (Play Store) and find ES File Explorer
WRITE SCRIPT..
Open es file explorer when install completes.
in es file explorer click the menu button, and select "new"
when prompted select "File"
name your file something you'll remember
Ex.MusicScript
Click your new file
when prompted select "Text"
type this EXACTLY how you see it
Mount - o bind sdcard2/music sdcard/Android/data/com.​​google.Android.music
press back and when prompted to save click yes
MAKE DESTINATION FOLDER..
now on es file explorer click "Favorites" (the star)
a new menu will pop up, at the top you willsee a picture of a phone with "/" underneath it click the phone
this will take you to the root directory
click the folder Sdcard2
click the menu button, and select "new"
when prompted select "Folder"
Name the folder music
Your script and destination music location are created
EXECUTE SCRIPT..
now open script manager
find your script which should be located in the directory /mnt/sdcard and the file name you chose earlier
select the script
open as script/executable
make sure script is selected not executable
click the buttons for "Su" and "Boot"
click save
Go to google music (play music now) settings and clear any music that is currently saved to your device.
this only applies to music made available offline. If you do not clear it before running the script the music will exist on your internal Sdcard but not be accessible.
now reboot the script will run at boot a prompt will appear asking for superuser rights, click yes and remember this selection (it may say something different than remember this selection whichever option resembles remember needs to be selected.)
YOU'RE DONE!!!
your music should now save to sdcard2/music but the device will still think it is saving to the default sdcard/Android/data/​com.​google.Android.music
You can check this by going to google music. Selecting "make available offline" and look at the free space. It should shoe the space available on your external sdcard.
So try your hardest to figure out how to root using google, and if your not confident enough to attempt it this fix may not be for you.
if you have tried everything you can and are still stuck message me back, including what device you have, and i will see if i can find a link to the rooting instructions for your particular device.
I assume no responsibility if you damage your device... These steps do work, and if followed will fix your music issues as well as introducing you to a world of additional benefits of being a rooted user.
Click to expand...
Click to collapse
This seems like a workable solution to me but like I said, anyone smarter out there?
I think it would be a lot easier just to change the mounts:
SDCard = External
SDcard2 = internal
I have been searching on a way to do that but I cant find anything...
I know it's been awhile since anyone has posted on this, but I was having this issue on CM10 and found a solution.
I changed the script to say: mount -o bind /external_sd/GoogleMusic/ /sdcard/Android/data/com.google.Android.music/
The issue I was having was the naming convention for the internal & external storage. Depending on the file explorer I used, the name for the external SD card varied from "ext_sd", "external_sd", "sdcard1". The name for the internal storage also varied between "sdcard" & "sdcard0".
Also, some of the threads I found that were discussing this problem had the "/mnt/" in front of the "ext_sd". When I tried that, it didn't work for me.
YMMV, but I thought I would share the solution that worked for me.
omadhaun said:
I know it's been awhile since anyone has posted on this, but I was having this issue on CM10 and found a solution.
I changed the script to say: mount -o bind /external_sd/GoogleMusic/ /sdcard/Android/data/com.google.Android.music/
The issue I was having was the naming convention for the internal & external storage. Depending on the file explorer I used, the name for the external SD card varied from "ext_sd", "external_sd", "sdcard1". The name for the internal storage also varied between "sdcard" & "sdcard0".
Also, some of the threads I found that were discussing this problem had the "/mnt/" in front of the "ext_sd". When I tried that, it didn't work for me.
YMMV, but I thought I would share the solution that worked for me.
Click to expand...
Click to collapse
THANK YOU, I've been searching for something like this for weeks! I'm going to give this a shot tonight in hopes that I can free up my internal SD which is currently full! I hope this work and I'll keep you posted.

[N4 Conversion] Better SD support in apps

Hey guys,
Since I cant post in the Dev Forum, i thought I'd leave this here...
If you're running into issues with apps being able to write to the SD card when using the conversion, like I had with stuff like beyondPod and Rdio, this should help it out.
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. Reboot
saw this in the galaxy tab plus forums and it worked on my oG!

[HOWTO]Fixing SD Card Permissions on 4.4.x

I just rooted Note 3 NC4 rom and I'm able to use Titanium Backup again.
But when I tried to backup the system, I got the error message "batch backup interrupted: insufficient storage space" even though there are enough external storage space left. It seems like it's a bug of TB because External SD is blocked to media_rw group. By simply changing the planform.xml file and reboot, TB started working again.
All credit goes to levi_jm at http://forum.xda-developers.com/showthread.php?t=2391363&page=4
(I create this thread because the original thread is located in S4 section)
1. Using a root-enabled file manager like root explorer, navigate to /system/etc/permissions
2. Edit platform.xml file and find the WRITE_EXTERNAL_STORAGE permission.
3. Add this group definition: <group gid="media_rw" />
4. Save changes.
5. Reboot
Worked perfect. Thank you!!
Sent from my Note 3
You could also just download this https://play.google.com/store/apps/details?id=jrummy.sdfix
It fixes the 4.4 SD card access bug.
Changed title so people can better catch what the thread is about. Good info.
garwynn said:
Changed title so people can better catch what the thread is about. Good info.
Click to expand...
Click to collapse
Thanks Garwynn! Glad to see you in here!

Media Folders Creation

Hello,
I have a Asus ROG Phone 3 and have a few questions.
Anytime I reboot my phone and go to check my internal storage, Android is automatically creating the following folders ASUS, Movies, Music, TwinApps, and Subtitles folder.
I assume this is just the default Behavior but does anyone know of a way to disable that or just to keep those folders deleted forever?
My phone is rooted, and I'm tech savvy as hell but I can't figure it out.
Anyone have a clue if the service/app that is remaking these folders is Android itself or somerhing from Asus?
I also recently switched to Android 12 and I noticed something strange, anytime I try to edit or access /sdcard/Android/OBB folder I can't edit anything in it, I can't copy or paste anything into that folder if I can even view it.
Mind you this is with root and using a file manager I've been using for years that I know works. Did something change in the background of A12?
Lastly does anyone know if there is a way to change the default save location for screenshots and/or DCIM camera folder?
Thanks
[
https://imgur.com/RuRm9hr
1) most of the folders are created by android Media scanner but at least one is Asus specific. in theory any app can create own folders, if allowed in permissions.
2) you need file explorer that is updated to support scoped storage so it can view media files from other apps, for example SD Maid.
3) in camera app itself one can switch storage location to MicroSD card. not sure about screenshots, though.

Categories

Resources