Giving explorers RW access to SD on Lollipop without root - Android Q&A, Help & Troubleshooting

Hi! Lately my unrooted tablet Samsung Galaxy Tab 4 (SM-T533) is not allowing full RW access to X-Plorer, Es Explorer or even My Files, so I can't move around, delete files properly. It prompts me to provide access to the app , instructing me to select the SD root folder from an "open from" menu that pops up. However, when I select it, it takes me back to the same menu again and again. No luck changing to different apps. The SD seems to work otherwise, I can read te content. I have seen solutions related to changing the framework.xml files, but I need to root and I don't want to. Also, I read also that my "documents" app could be disabled, which is not. The tablet is using Touchwiz stock 5.1.1.
Any other solutions that avoids rooting of formatting? Thank you very much in advance! I hope I posted it on the right forum!
Regards

Related

How to use external Sd Card

Hi
I have just bought the samsing galaxy s 2 and bought also a 32gb external micro sd card - i mounted it and formatted it.
Yet for some reason when i chose to store apps or anything on memory card they are stored on the phone internal memory.
In fact when i use a file manager - the memory card is listed as the phone internal memory (i.e.16GB (11GB)), and the external sd card - is listed as a folder called external_sd.
My query is this - did i buy a 32gb card for nothing. Is there a way to make use of this card on this phone - can i install apps in it - can i store emails from maildroid in it?
Any advice would be welcome - anyone not having this issue?
Ken
Same question
I have the very same question.
Jose
This is just how these things are handled. The question is, what do you intend to use the large space for? In my case, it's music and videos, which it's easy to copy into the external_sd folder. I'd prefer that apps + data stayed in the 16Gb (or 11Gb) internal memory, because that's still more than enough space and I never have to worry about what happens if I eject the SD card.
Many apps have a setting to specify where their data is stored - if you really want it on the SD card, just point them to external_sd.
What usage scenarios do you see this causing problems with?
For instance Spotify does not have a setting for the location of the offline music and all the cached music goes to the internal memory (USB memory) at /sdcard/Android/data/com.spotify.mobile.android.ui.
If it were possible to make symbolic links or something like that there would be no problem. If not the sd will not serve for too many purposes.
Jose
How can you point apps to the external sd card?
Ken
beleta said:
For instance Spotify does not have a setting for the location of the offline music and all the cached music goes to the internal memory (USB memory) at /sdcard/Android/data/com.spotify.mobile.android.ui.
Jose
Click to expand...
Click to collapse
it does
This build adds the ability to select the storage location for Spotify on your phone from the Menu button when you’re on the login screen.
Thanks a lot. I'd have never found it for myself. It is in the login screen (that you see only once in your life) and you have to press the menu button. A clever way to hide things.
Jose
Settings Applications Application press > Move to SD card .
jje
FIX!!!
beleta said:
For instance Spotify does not have a setting for the location of the offline music and all the cached music goes to the internal memory (USB memory) at /sdcard/Android/data/com.spotify.mobile.android.ui.
If it were possible to make symbolic links or something like that there would be no problem. If not the sd will not serve for too many purposes.
Jose
Click to expand...
Click to collapse
This will work to change your music location.
It can be adjusted to bind folder locations for other files. just type another line in your script adjusting the command for the folders you want to bind.
the first location in the command is the place you want to save the data
the second is the current save location
make sure you remove all data from the second location before running your bind scrpit or the data will still be on your internal sdcard but inaccessible...
here it is..
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.
FuzzyMeep Two said:
This will work to change your music location.
It can be adjusted to bind folder locations for other files. just type another line in your script adjusting the command for the folders you want to bind.
the first location in the command is the place you want to save the data
the second is the current save location
make sure you remove all data from the second location before running your bind scrpit or the data will still be on your internal sdcard but inaccessible...
here it is..
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
Check out: http://forum.xda-developers.com/showthread.php?t=1410262
So I would have to do this script for every freaking program? What a pain in the butt. I don't want any of my program data saved on internal, because if the phone goes, then so does all my data. I would like to just load up the internal with mp3s from my computer that I would never want to delete.
What ROM are you using?
Sent from my GT-I9100 using Tapatalk
shiboby said:
So I would have to do this script for every freaking program? What a pain in the butt. I don't want any of my program data saved on internal, because if the phone goes, then so does all my data. I would like to just load up the internal with mp3s from my computer that I would never want to delete.
Click to expand...
Click to collapse
Try this. OPEN up vold.fstab. Where it says sdcard0 change to sdcard1.
And where it says sdcard1, change to sdcard0. then reboot. Now basically the phone thinks the sdcards are switched.
Sent from my Galaxy SII
Helpful
FuzzyMeep Two said:
This will work to change your music location.
It can be adjusted to bind folder locations for other files. just type another line in your script adjusting the command for the folders you want to bind.
the first location in the command is the place you want to save the data
the second is the current save location
make sure you remove all data from the second location before running your bind scrpit or the data will still be on your internal sdcard but inaccessible...
here it is..
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
Very helpful. Will give this a try. I am assuming this will work on other devices as well? And does it depend on the ROM you are using. I am aware that if you are running Stock, the mount for the external SD is sometimes different. This one I am assuming it is CyanogenMod 10.1 based since you have
"sdcard2" and that is typically how CyanogenMod mounts the external SD on most devices.
==
I'm an experienced noob. (I know what I am doing when it comes to phones, I have rooted many, I just don't know scripting very well and I have delt with old phones mostly.) if my information is incorrect, correct me.

[Q] root access with ES File Explorer?

Will someone please help me get root access with ES File Explorer?
I was looking for a good file explorer utility with a root explorer feature. I already had ES File Explorer installed and saw that it supposedly has a root explorer feature. Well, I've searched all through it and I must be missing something because I can't find any way to explore anything on my NT except for the sd card.
I've went into the settings, down to the Root settings and checked Root Explorer and Mount File System but this hasn't seemed to help. I see no way to "get to" the root directory. If I try using the up arrow to move up a level in the directory tree, I can't get up any further than the sd card. It just say press again to close.
What am I missing?
Thanks to anyone that may be able to help get to where I want to be.
- Byron
In settings, and you need to set home directory as "/". Then you'll have access to the entire file system.
What tgraves said as I have complete access to my nook with Es File explorer.
duh! That was so easy. Now I really feel like an idiot.
I think my wife is right. Sometimes I can make even the simplest things seem soooo hard...
Thanks for your help guys.
- Byron
Not a problem
I wanted to say thanks as well as I was wondering the same thing today, didn't think it would be so simple as just changing the home
ES File Explorer Root
Good tip.
Thanks
don't worry... this was a great thread to start because i just found it with google and was looking for this answer also!
whoot!
Tell your wife she's always right
Trust me...
If you don't want to change your home directory to '/', you hit favorites and hit the icon that looks like a phone. That should take you to '/'. I think that's what the icon looked like. Anyways it's in the favorites menu.
tgraves said:
In settings, and you need to set home directory as "/". Then you'll have access to the entire file system.
Click to expand...
Click to collapse
I had been looking for the exact same thing. Thanks for your help.
I have the little phone icon so I assume I'm in the root directory. Next question - since this is where the additional 12 GB of space is, is there a "best place" to put my files that I don't want to tote around on my sd card? We're talking music, docs, etc.
Also - Is there a method so I can see "/" when connected to my laptop? Would rather move files directly to the root directory than have to copy to sd card then copy/paste to "/"
I find root explorer to be better.
Sent from my BNTV250 using xda premium
in the setting, tick all the boxes for "root settings" then from the "/" directory, you will be able to access the internal storage and others ( sd, 1gb space allowance)
What I meant was, is there any specific folder under "/" that I should put my own stuff in, or maybe create a new one?
B&N put all the reserved free space in '/data'. See this thread for workarounds. Accessing it via USB is another story, so you'll probably need to copy files to the 1gb partition then move it. Another option would be to use Wifi File Manager. Depending on the speeds you get via USB it may not be a bad alternative.
When using ES File Explorer to move music files from /data to /data/media it says "invalid path." When I tried moving it to a new folder I created under /data, it also failed.
Questions:
1. Is every folder under /data locked away from access thru ES File Explorer?
2. Is my only option to store content directly under /data?
Root the Access.
hi..
I have ES File Explorer installed and i want to install other font(.ttf). but when try to copy from sdcard and paste in '/system/font' folder, it shows an error : copy failed.
In Setting --> Root Setting, only first two options are enabled 1) Root Explorer and 2) Up to Root. other two 3) Mount File System and 4) Backup System Apps are disabled.
Also, when I try to check 1st one Root Explorer, it shows an error:
When 'SU Request' dialog popup, please select 'always allow'
can any one help me to install font in my android device?
Thanks<script type=
i cannot erase any file with any root explorer
sasuke512 said:
i cannot erase any file with any root explorer
Click to expand...
Click to collapse
Have you enabled Root Explorer's "Mount R/W"?

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

A mod to allow 3rd party apps to write to SD has screwed up my tablet, please help!!

Hi, I have a Digiland DL1010Q tablet with kitkat 4.4.2
Apologies in advance if this post is a little long, but I wanted to be thorough in my explanations in order to better my chances of getting the problem solved.
Kitkat 4.4.2 apparently doesn't allow 3rd party programs to write on an external SD card and since I wanted that functionality back (and I have root access), I decided to do the "Sdfix" modification. It has an app for it in the play store but I decided to do it the manual way as described in many threads online.
The modification is basically to edit the /system/etc/permissions/platform.xml file and add in the WRITE_EXTERNAL_STORAGE category the line "<group gid="media_rw" />". This is supposed to give back write permission on sd card to 3rd party apps.
Now the issue is that the particular instructions I was looking at didnt mention reeditting this file's permission after making the edit so the permissions might have not been at 644 (rw- r-- r--) after I made this edit...
Once I rebooted the tablet it booted up fine but once on the desktop, I started getting a bunch of messages that apps were crashing in the background. The tablet came from factory with 2 partitions, one for the OS and the main part of the user apps, and a secondary partition called "INTERNAL STORAGE" with the extra install files for the largest user apps and some settings, etc... The issue seems to be that this secondary partition now cannot be accessed unless i use es file explorer with root access and navigate to the mnt/media_rw/sdcard0 folder (the internal storage has always been referred as sdcard0 before, so the name isnt new). So basically without root, the apps cant access that data partition and load their settings,etc and load properly. At least thats what I think is happening but I could be wrong.
The weird part is that even with root, I can only access the content of the internal storage through es file explorer if I go through the mnt/media_rw/ folder, if I go through other folders, I can't seem to access the content. Without root explorer access, es file explorer can't even access the content of the mnt/media _rw folder. If I go through the "sd card analyst" tool in es file explorer, it would normally display the content of the internal storage, but it now fails and say that it doesnt have the right permission (even if es file explorer has root explorer access).
I have since edited the platform.xml file permissions to make sure they were at 644, reboot, no luck.
I then reverted the changes to platform.xml and made it identical to what it was at the beginning, permissions 644, reboot, no luck and es file explorer navigation was identical.
Through my many googling attempts I found a few other people who had this issue and one user's recommended fix involved deleting the file /data/system/packages.xml (which he said gets modified when platform.xml changes), clearing the cache and delvik cache, then rebooting. I actually tried this and the delvik cache got repopulated normally during bootup but the issue persisted. (the packages.xml file reappeared but I am not sure how identical it is to the one I deleted)
Does anyone have any suggestion on how I could fix my issue without doing a facory reset? I would greatly appreciate any help in solving this short of a full wipe.
Have you tried wiping the userdata?
What is the userdata? You mean all my apps, settings, etc? Like a factory reset? If so, no, I'm trying to avoid having to resort to that.
Or you mean some sort of cache? I manually deleted the content of the delvik cache folder, and I have used the "clear cache" option in the recovery menu I can access at bootup if i hold power and volume up.
Or do you mean something else entirely?
bump

Can't Enable Write Access to SD Card for Applications - No File Manager

I'm afraid this is a problem I've created for myself.
Rooted, LineageOS 15.1, TWRP.
After installing ES File Explorer, I decided to uninstall some of the duplicate applications that I was using third party replacements for, including the factory File Manager. Unfortunately, I put in a new SD card after this and now when trying to delete image galleries from programs like QuickPic (or do similar things in other apps) I'm not able to grant permissions to the SD card as the default behavior is for the programs to use the File Manager to access the root path and grant permissions.
I tried "Root Explorer" on ES File, and went to "Mount R/W", however my SD card path /mnt/media_rw/6630-6630 indicates that it is already mounted RW, despite the applications not being able to utilize this.
Is there any command line method I could use to enable R/W access from all apps to the SD card? Or a way I could re install the factory file manager? Any insight or help would be appreciated.
Trying this method also did not help. Unless someone has an idea, I may just have to reinstall LineageOS and not make this same mistake again:
https://www.thedroidway.com/fix-external-sd-card-write-permission-in-kitkat-lollipop/
This also did not seem to help.
https://forum.xda-developers.com/apps/magisk/module-exsdcard-write-access-enabler-t3670428
Can't format my phone until I'm done dealing with a customer at the moment, so unless someone comes up with something before then I guess that's what I'll do. Blegh.
Edit: Reinstalled LineageOS, will make more of an effort this time to just disable rather than outright uninstalling factory apps. The "System Removal Tool" or whatever the name was I got from the play store to clean up with last time lacked the option to simply disable.

Categories

Resources