SD Card Permission Question - Honor 7 Q&A, Help & Troubleshooting

Hi, i have a 64 Gb exFat sd card that works very well but the problem is writing and editing in it. With MiXplorer i can see all the files in it but if i try to copy and paste something for example, it says that i need to grant permissions and then the stock file manager appears. Unfortunately there is not an option for granting permissions in it but i can just looking inside the sd card and edit it...Anyone else had a similar problem? Honestly i don't want to change file manager. I've already tried to search for permissions in MiXplorer but is different from ES File Manager which i had better permissions' control. Thanks for any suggestion :highfive:

Install NextApp SDFix apk, run and follow instructions.
That solved every problem with sdcard permissions (specially the one in Titanium Backup).
SDFix link
It states that this is for kitkat but works with lollipop, as did on my version 5.0.2 build 180
Remember to restart phone after done.

Related

[Q] XTRSense 5.01 Questions

This is a question for Zach, but as a new user I did not have access to his thread. First, congratulations on developing a great ROM. You do great work, I love XTRSense 5.01. However, I have come across two small glitches, both related to your GScript app.
After running the Apps2SD script, all of the other scripts disappear. There is a note to find them on the SD card, but I haven't been able to find any scripts there. I specifically want to install the battery life script. Is there a way to recover access to the scripts?
Second, I accidentally ran the script that deleted HTC Teeter. Is there any way to get it back short of reinstalling the ROM?
Thanks in advance ...
TexasBadger said:
This is a question for Zach, but as a new user I did not have access to his thread. First, congratulations on developing a great ROM. You do great work, I love XTRSense 5.01. However, I have come across two small glitches, both related to your GScript app.
After running the Apps2SD script, all of the other scripts disappear. There is a note to find them on the SD card, but I haven't been able to find any scripts there. I specifically want to install the battery life script. Is there a way to recover access to the scripts?
Second, I accidentally ran the script that deleted HTC Teeter. Is there any way to get it back short of reinstalling the ROM?
Thanks in advance ...
Click to expand...
Click to collapse
Hi! Just to note, I'm not currently running xtrSENSE or xtrROM, but I have quite a lot in the past and probably will again someday, so I thought I'd answer what I can.
1. I don't know what's going on with scripts disappearing, are you sure you actually added them to GScript's list of available scripts? When you load GScript, initially it's blank, and you have to tell it to load each script individually. Make sure the checkbox for run as root is checked for each one. Then the first time you run one from the main GScript screen, it'll prompt you for SU access. Sorry if I'm including info you already know, just making this answer friendly for anyone who happens to find this thread. There should be a folder called gscript on the SD card.
Note: Different folder listing programs list files and folders in different sorting orders. Linux is case sensitive so you can have both a folder named gscripts and one called GScripts (only the first should exist, I'm just using it as example). What I'm getting at is that some programs list all the files and folders with starting with the lower-case letters first, and then the upper-case ones after, so if you look for the folder gscript, make sure and search everywhere in the listing.
Also, if you must, you can open the ROM zip file on your computer and look in the sdcard folder in it and you'll see the gscript folder there with all the scripts inside. Just copy the gscript folder to your SD card if they got deleted somehow.
2. Same as the last suggestion, you can open the ROM zip file on your computer and in the system\app folder there you'll find "teeter.apk". You can use Root Explorer off the Android Market to put that back in system\app, or you could just install it from your file manager (Astro, File Manager...) for it to reside in normal user memory.
Partial Success
"Also, if you must, you can open the ROM zip file on your computer and look in the sdcard folder in it and you'll see the gscript folder there with all the scripts inside. Just copy the gscript folder to your SD card if they got deleted somehow."
This worked perfectly. The GScript folder on the SD card was empty. Not anymore, and the scripts work fine.
"Same as the last suggestion, you can open the ROM zip file on your computer and in the system\app folder there you'll find "teeter.apk". You can use Root Explorer off the Android Market to put that back in system\app, or you could just install it from your file manager (Astro, File Manager...) for it to reside in normal user memory."
I put teeter.apk on the SD card, but my attempts to intall it with ES File Manager failed. Maybe related to Apps2SD?
TexasBadger said:
"Also, if you must, you can open the ROM zip file on your computer and look in the sdcard folder in it and you'll see the gscript folder there with all the scripts inside. Just copy the gscript folder to your SD card if they got deleted somehow."
This worked perfectly. The GScript folder on the SD card was empty. Not anymore, and the scripts work fine.
"Same as the last suggestion, you can open the ROM zip file on your computer and in the system\app folder there you'll find "teeter.apk". You can use Root Explorer off the Android Market to put that back in system\app, or you could just install it from your file manager (Astro, File Manager...) for it to reside in normal user memory."
I put teeter.apk on the SD card, but my attempts to intall it with ES File Manager failed. Maybe related to Apps2SD?
Click to expand...
Click to collapse
You don't want it on the SD card. You need to navigate to /system/app in internal storage on the ROM. Apps2sd moves third party apps that you install from the market to the SD card, but does not move the internal apps in /system/app.
You may need to restart after you pop that .apk back in /system/app to get it back in your app drawer.

[Q] Finally Rooted, still cannot move to SD??

It took forever but i'm rooted, Supersu installed, Busybox installed, Root Checker verified. I still cannot move apps to sd, app2sd program still says external sd is emulated??? Please help, did all this for nothing, it seems!!
Georgiazen said:
It took forever but i'm rooted, Supersu installed, Busybox installed, Root Checker verified. I still cannot move apps to sd, app2sd program still says external sd is emulated??? Please help, did all this for nothing, it seems!!
Click to expand...
Click to collapse
Same here. Tried link2sd and it worked once until phone was rebooted, then it can't create script.
I found this at www link2sd info/faq:
In order to use Link2SD you need to do "S-OFF" to disable this NAND lock. (a.k.a. "NAND unlock" or "unlocking the bootloader")
So maybe the bootloader has to be unlocked to move apps to SD. ???
Georgiazen said:
It took forever but i'm rooted, Supersu installed, Busybox installed, Root Checker verified. I still cannot move apps to sd, app2sd program still says external sd is emulated??? Please help, did all this for nothing, it seems!!
Click to expand...
Click to collapse
Megado said:
Same here. Tried link2sd and it worked once until phone was rebooted, then it can't create script.
I found this at www link2sd info/faq:
In order to use Link2SD you need to do "S-OFF" to disable this NAND lock. (a.k.a. "NAND unlock" or "unlocking the bootloader")
So maybe the bootloader has to be unlocked to move apps to SD. ???
Click to expand...
Click to collapse
Hello Guys,
Hold ON!! Hold ON!!!
You no need to do all that stuff to increase your phone's internal memory. Using Link2SD on L9 for increasing memory is a HORRIBLE !dea.
If you have a Class 10 (at least Class 8) SD Card with good storage capacity then Just Follow Me:-
1. First Download This script file and Install SManager (free app) from the link below:-
Script
SManager
2. Now use a file manager with root access and copy above script file to /system/etc/ Folder of your device.
3. Run SManager, It will start with explorer. Tap on UP Arrow at top left until the first directory icon left only with "/".
4. Now tap on etc-> /system/etc, in list. It will take you directly to /system/etc/ Folder of your device.
5. Find extsd2internalsd-jellybean.sh file which you copied in 2. Step. Tap on it.
6. An open as ... dialog will appear. Tap on Script/Executable
7. Next dialog will appear with some icons and text with it.
8. Now tap on Su icon (Android with crossed bones).
9. Then tap on Boot icon (gear).
10. Now last one, just tap on RUN Button.
DONE
now go to setting=> storage and check the size of internal memory :silly::silly:
this tutorial will exchange your phone's internal storage with external storage.
and all this tutorial is not my work. All credits goes to Roker1, so thanks to him. Just explained it in a simple way that I am using my Self
gdjindal said:
Hello Guys,
Hold ON!! Hold ON!!!
You no need to do all that stuff to increase your phone's internal memory. Using Link2SD on L9 for increasing memory is a HORRIBLE !dea.
If you have a Class 10 (at least Class 8) SD Card with good storage capacity then Just Follow Me:-
1. First Download This script file and Install SManager (free app) from the link below:-
Script
SManager
2. Now use a file manager with root access and copy above script file to /system/etc/ Folder of your device.
3. Run SManager, It will start with explorer. Tap on UP Arrow at top left until the first directory icon left only with "/".
4. Now tap on etc-> /system/etc, in list. It will take you directly to /system/etc/ Folder of your device.
5. Find extsd2internalsd-jellybean.sh file which you copied in 2. Step. Tap on it.
6. An open as ... dialog will appear. Tap on Script/Executable
7. Next dialog will appear with some icons and text with it.
8. Now tap on Su icon (Android with crossed bones).
9. Then tap on Boot icon (gear).
10. Now last one, just tap on RUN Button.
DONE
now go to setting=> storage and check the size of internal memory :silly::silly:
this tutorial will exchange your phone's internal storage with external storage.
and all this tutorial is not my work. All credits goes to Roker1, so thanks to him. Just explained it in a simple way that I am using my Self
Click to expand...
Click to collapse
When you say "folder of your Device", is it the firmware folder, there are several?
Georgiazen said:
When you say "folder of your Device", is it the firmware folder, there are several?
Click to expand...
Click to collapse
Also this script link is a text file not a downloadable script file, how would i put it wherever it has to go? Copy/paste the text?? So confused....
I found the script but ES file explorer will not allow you to paste it into etc folder.....
Georgiazen said:
Also this script link is a text file not a downloadable script file, how would i put it wherever it has to go? Copy/paste the text?? So confused....
Click to expand...
Click to collapse
Okay Let me clear your confusions.
Before copying script to etc folder es explorer have to obtain root access.
To do so, open es file explorer, tap in a small icon with a globe behind mobile, located at top left of ES file Explorer.
A menu from left side will appear, tap on TOOLS option, it will get expanded.
Now scroll Down until you see ROOT Explorer option with on OFF button.
Tap on OFF button in front off Root Explorer. A message or dialog will appear asking to allow root access to es file explorer (if your l9 is rooted & super user is installed).
Tap on allow. Now the off button should change to ON. Thats it, ES file explorer has gained root access. Now try to copy that script file to etc folder and then follow rest of tutorial.
if still you are confused, let me know
gdjindal said:
Okay Let me clear your confusions.
After looking your above queries, it look's like you are not familiar to android development or to any other programming languages.
So help you more deeply am gonna update my above tutorial more deeply. Try to follow it again
Again if you got confused, you can ask again. For now follow my updated tutorial again.
Click to expand...
Click to collapse
First voff I appreciate all your help, I really do. Where do i put the script in the etc folder specifically?
I have root but i get permission denied when i try and paste into system/etc folder using es file explorer
Georgiazen said:
First voff I appreciate all your help, I really do. Where do i put the script in the etc folder specifically?
I have root but i get permission denied when i try and paste into system/etc folder using es file explorer
Click to expand...
Click to collapse
Root permission is getting denied because your es explorer is not allowed. to do so i have updated my last answer just chk it out.
http://www.facebook.com/gdjindal1
Thanks gdjindal! I have some questions.
Does the SD need two partitions? Does this move any system apps to SD? Does it automatically move EVERYTHING else to SD or just apps newly installed after setting this up? Can you control which apps to move and/or move things back to internal? What happens if your SD card fails? Can this setup be uninstalled and revert back to stock? Do apps operate much slower running from SD this way?
Thanks again!
Megado said:
Thanks gdjindal! I have some questions.
Does the SD need two partitions? Does this move any system apps to SD? Does it automatically move EVERYTHING else to SD or just apps newly installed after setting this up? Can you control which apps to move and/or move things back to internal? What happens if your SD card fails? Can this setup be uninstalled and revert back to stock? Do apps operate much slower running from SD this way?
Thanks again!
Click to expand...
Click to collapse
Read my post here, this will help you understand what this swap script is actually doing.
http://forum.xda-developers.com/showpost.php?p=45268460&postcount=61

FIXED I'm trying to rename files on card but root explorer is refusing to allow.

I searched and tried updating busy box yet re isn't letting me rename downloaded files. It won't let me if I try on internal memory or SD card. I got mp3 files that weren't named with similar conventions as other files. Legally downloaded but the files weren't named similarly. My OCD is pissing me off! If I have root and busy box installed, I "should" be able to do whatever the hell I want! I tried a different, forgot the name, file manager than root explorer. ES, just remembered. Still no go!
First download root checker from playstore, to insure root...Secondly what android version are you on kitkat or jellybean?..Thirdly open up superuser & on the apps tab click root explorer and select forget, then retry renaming files...Also make sure binaries are updated thru supersu and both root explorer and supersu are up to date...
Hope this helps...
I figured it out. Capitalization isn't seen as a filename change. If I add a letter to the name, then save, then rename to what I wanted, then it works. Yeah an extra step but it works. Say the file is named 01. intro.mp3. I want to capitalize the i. I change it to a01. intro.mp3. Next I rename it again to 01. Intro.mp3. It accepts the filename change then.

[Q] Reboot when altering system files

I have two separate issues which I believe are caused by the same thing.
1. When I try to alter platform.xml in the /system/etc/permissions folder via ES File Explorer to enable 3rd party apps to have write capability to the SD card, the edit is unsuccessful and my phone reboots. When I pull a copy of the file to my PC, alter it, and then try to push it via ADB, the same thing happens. I previously used the ADB pull/push method to edit my hosts file and had success with that after doing it while in Recovery, but this time around both ways (in recovery and with the device booted up) result in my device rebooting. For the SD card fix, I've also tried the app that does it for you and encounter the same issue.
2. When attempting to update the SuperSU binary, the update fails my device reboots. This happens with either update method - normal and recovery.
So both issues seem to have the same root cause... my phone will not allow any editing of system files. Anyone have any suggestions?
For reference I'm on a Galaxy Note 4 (model SM-N910T) on T-Mobile.
Baseband version N910TUVU1ANJ7
Android version 4.4.4 (stock ROM)
Kernel version 3.10.0-2796035
Build number KTU84P.N910TUVU1ANJ7
I'm also running Wanam Xposed - not sure if that has anything to do with anything but just fyi.
Thanks
bump... anyone have any ideas?
replace the altered xml with a original/stock one..
If u have a backup
abhinavp649 said:
replace the altered xml with a original/stock one..
If u have a backup
Click to expand...
Click to collapse
I have the stock .xml in there right now... my problem is that I want to replace it, but I can't because my phone reboots every time I try.
Gakuseinozen said:
I have the stock .xml in there right now... my problem is that I want to replace it, but I can't because my phone reboots every time I try.
Click to expand...
Click to collapse
Is your Phone is rooted? If yes:
place the altered .xml somewhere in your sd card.
1. Install an app called Total Commander.
2. Navigate to the location where your stock file is located.(delete it)
3. Now goto sd card where you placed your altered file.
4. Tap on Icon of the .xml file, You will see a green tick mark on it.
5. When your file is selected. Tap on Copy/Move to Icon.( u will see two files one on one with a blue arrow)
6. Now Click on '>>' button to browse the location where you have to Copy/Move the File.
7. Now Tap Copy if You want a backup placed in sd card of the file or move if you just want one file to be there.
(Through all the Process I am assuming that your phone is rooted and you Have Granted SuperUser permissions to Total Commander)
abhinavp649 said:
Is your Phone is rooted? If yes:
place the altered .xml somewhere in your sd card.
1. Install an app called Total Commander.
2. Navigate to the location where your stock file is located.(delete it)
3. Now goto sd card where you placed your altered file.
4. Tap on Icon of the .xml file, You will see a green tick mark on it.
5. When your file is selected. Tap on Copy/Move to Icon.( u will see two files one on one with a blue arrow)
6. Now Click on '>>' button to browse the location where you have to Copy/Move the File.
7. Now Tap Copy if You want a backup placed in sd card of the file or move if you just want one file to be there.
(Through all the Process I am assuming that your phone is rooted and you Have Granted SuperUser permissions to Total Commander)
Click to expand...
Click to collapse
I'm assuming this will end with the same result as when I try it through ES File Explorer. ES has the same capability and I have given it root access already. Something is causing all attempts to alter system files to fail, regardless of root access.
Gakuseinozen said:
I'm assuming this will end with the same result as when I try it through ES File Explorer. ES has the same capability and I have given it root access already. Something is causing all attempts to alter system files to fail, regardless of root access.
Click to expand...
Click to collapse
This was not successful. Anyone else have any ideas? I tried posting logs in the SuperSU update failure thread, with the logic that if I get that issue fixed my other issue will be resolved also, but Chainfire hasn't responded to any of the requests in a while.

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