I'm having a strange issue with my phone "losing" write permission to the external SD card. I've used a number of methods to fix the permission file, including Xposed modules, flashable zip files, and manual editing of the permission file. No matter which one I use, at some point the phone "loses" write permission. I put lose in quotations marks because if I look at the permission file, it still appears set to have write access. If I reboot my phone, I will again have write access, but then lose it again later on.
Has anyone encountered this before? Any suggestions on how to fix this?
I am currently running stock rooted 5.0, as found in the thread by @muniz_ri : https://forum.xda-developers.com/at...w-to-update-to-g900aof2-5-0-keeproot-t3149146
Running Xposed for Samsung by @arter97 : https://forum.xda-developers.com/xposed/unofficial-xposed-samsung-lollipop-t3113463
Thanks for any help. I am happy to post anything helpful.
Related
i'v rooted my phone, now trying to activate stagefright..i used blade buddy, but didn't seem to do the trick. i've tried writing in true with several different apps but it telling me can not write file : /sytem/ built.prop. cannot someone help??
Using blade buddy did you do a menu > save?
Sent from my Zio using XDA Premium App
yeah, but when i go back to the system folder build.prop it still says false.
Use Root Explorer or whatever file manager you use with R/W access and then manually edit the build.prop and reboot.
i've used antek file explorer and es file explorer and a couple other ones, but neither let it r/w. could it be because of the busybox version i'm using??
how do i know which version of busybox i need to be using. i'm still using the stock rom. havent flashed to openzio rom yet..afraid to brick my phone, being a noob and all lol.
Busybox is part of superuser permissions or root. Download the Busy Box Installer from Mr. Steine Ericcson(prolly messed up his name spelling). I'm using the latest "unstable" version with no problems. Busybox version isn't going to matter for R/W access. Are you sure you're rooted? You can't get R/W access without root.
i'm rooted using Z4root...using busybox installer from the market, v1.19. ive re-rooted to make sure i am. is there another way to root this phone??
i checked root access and it says "alternate su binary location: /sbin/su: permission denied". does that have something to do with it??
Yeah that may have something to do with it. I wrote the below before I saw the permission denied.
Sounds rooted to me. You need to get a file manager with R/W access. Then get it on R/W and manually edit the file. Everything I've ever used that changed stagefright was a shaky app at best. As more time goes by, manually editing it thru whatever means is always the best choice. Apps take up space and really don't save that much time. This includes any other settings you want to play with. Editing yourself and rebooting is always the most assured way of success.
This post belonged in the Stagefright Thread Stickied to the top of the forum, by the way. And if you would have read the Stagefright thread you would have seen everything I'm telling you now, there. Just for future reference. There was no reason for this thread.
I would unroot with z4 and try Universal Androot or Super One Click.
so i guess root explorer is the only way to go..cause the other apps ive used seem to have r/w properties but still dont work. well thanks for the help, i'll have to buy root explorer i guess..by the way, where to i find the busy box installer you mentioned??
i'm really new to this..sorry for wasting a thread. thanks for all the help anyway
Anything that has R/W access should work. If the R/W isn't working your root is messed up. So I would suggest unrooting it and rerooting it again with something else or even trying again. Let me see what Mattix or someone says about your error.
sweet..thanks. if nothing else, i'll just re-root with universal androot or super one-click. the phone seems to running pretty good, but when i play angry birds, it lags really bad..to the point that its almost unplayable. i get between 720-740 when i benchmark with Antutu.
so i re-rooted with universal androot, and still not getting permission to edit system files, namely stagefright. it either says you do not have permission to edit file..or cannot write system file build.prop what am i doing wrong or do i need something else to do this?? i'm using antek file explorer, could that be the problem??
Just install the latest OpenZio ROM release -- I have defaulted stagefright to "off" to address an issue with certain ringtones not showing up in tone selection.
Hello, I have a serious problem with my phone. I've been using official CM12 for some time and I haven't got any issues until after flashing one of the latest nightlies (16.02 I think)... I've noticed that none of my apps are able to write anything to my sdcard0... I can write anything only when I have root access. I can't take photos, I can't take screenshots, I can't delete anything from the sdcard and can't write anything to it. I've tried flashing newer nightlies but the problem persists. I don't have earlier nighlies so I can't check if it's the ROM problem.
I've checked my sdcard0 permissions in /mnt/media_rw/ and it says both that the user and group is media_rw and the permissions are rwxr-xr-x (755).
I've also noticed that I can write anything ONLY when I set the permissions to 777 (rwxrwxrwx). 775 does not work, shows that the sdcard is still write protected.
I've tried numerous solutions and none of them work f.e. I've tried setting the permissions with the terminal. It works but it's only a temporary solution because after the reboot the problem reappears.
The only solution (for now) is to set the permissions to 777 every damn time I reboot my phone...
Any ideas?
It's a ROM-related problem, on stock 4.3 everything is OK. Please delete!
Actually, it was related to the storage uid.. Default Sony ROMs require 2800, not 1023. Check my last comment in my CM12 thread for a fix.
Or simply flash my rom and get rid of those issues completely
Hello everyone,
I've just bought a Xperia Z3 Compact (2 days ago) and updated it to Android 5.0.2
I installed Hearthstone and moved it to my SD card, everything went ok, but when I try to initialize the game I get a message that I need to give permission to write into my SD.
So my questions are:
Is this supposed to happen?
Is it possible to give permissions without rooting my phone? I think that ES File Explorer asked for permissions the first time I opened it, but I can't find any configuration to do so...
This seems normal. I have fx file explorers and it requires explicit permission to write to the sd and i sometimes have to reset the permission. You should be able to give permission without rooting, but can only attest to my own experience. Have you tried granting permission yet?
Sent from my D5803 using Tapatalk
Yes and yes.
The app should request the root of your SD card (or a directory you want it to store its data in), and this will grant it SD write access in this directory and below. It isn't done on the system level, the app should do it.
Hmm I see..
So I reinstalled the application and moved it to the sd before I run it and everything worked out..
Now it seems that I got the permission ai needed
Thank you for your informations, was very helpful
Hi, I edited the /system/etc/permissions/platform.xml after an attempt to use ssh to copy files to my sdcard. I followed the instructions on arachnoid.com/android/SSHelper/ under External Storage Access. After rebooting unfortunately many apps began giving popups e.g.
Unfortunately Google Play Services has stopped working
Click to expand...
Click to collapse
in fact after looking around I think no apps dealing with the internet or having storage of some kind work (no files in the MyFiles manager). After reading another tutorial I believe the problem was that the permissions on the platform.xml file were incorrect so I used adb shell to
Code:
chmod 644 /system/etc/permissions/platform.xml
which set them correctly. After another reboot I the popups still remain and I still cannot see any files within the MyFiles file manager.
This is an at&t phone and I have heard there are extra security measures taken by their phones so perhaps that has something to do with it? Also in order to root this phone I needed to downgrade the firmware and then re-upgrade to lollipop 5.0.1.
Running a rooted at&t Galaxy S4 active SGH-i537 stock ROM
andykais said:
Hi, I edited the /system/etc/permissions/platform.xml after an attempt to use ssh to copy files to my sdcard. I followed the instructions on arachnoid.com/android/SSHelper/ under External Storage Access. After rebooting unfortunately many apps began giving popups e.g.
in fact after looking around I think no apps dealing with the internet or having storage of some kind work (no files in the MyFiles manager). After reading another tutorial I believe the problem was that the permissions on the platform.xml file were incorrect so I used adb shell to
Code:
chmod 644 /system/etc/permissions/platform.xml
which set them correctly. After another reboot I the popups still remain and I still cannot see any files within the MyFiles file manager.
This is an at&t phone and I have heard there are extra security measures taken by their phones so perhaps that has something to do with it? Also in order to root this phone I needed to downgrade the firmware and then re-upgrade to lollipop 5.0.1.
Running a rooted at&t Galaxy S4 active SGH-i537 stock ROM
Click to expand...
Click to collapse
Unfortunately the only suggestion I have would be to restore the original platform.xml. Other than that you're going to have to downgrade to 4.4.2 and then re-upgrade as you said above.
Devo7v said:
Unfortunately the only suggestion I have would be to restore the original platform.xml. Other than that you're going to have to downgrade to 4.4.2 and then re-upgrade as you said above.
Click to expand...
Click to collapse
That's what I was afraid of. Do you have any hints as to why this is happening though? The permissions on the actual files don't appear to have changed.
example on /sdcard
Code:
drwxrwx--- root sdcard_r 2016-08-05 12:36 DCIM
permissions on /system
Code:
drwxr-xr-x root root 2014-05-18 15:57 system
The <group gid="media_rw" /> element was only added to the
READ_EXTERNAL_STORAGE
WRITE_EXTERNAL_STORAGE
ACCESS_ALL_EXTERNAL_STORAGE
permission elements. I believe at least some of the apps malfunctioning arent touching the external sdcard (google play services for instance)
First of all, I found this guide under the S7 Edge section on XDA. I tried it and it worked on my rooted A70, so I wanted to share it here.
There are two methods. One of them needs root access, and the other doesn't. I didn't try the one which doesnt need root access.
METHOD 1 (NEEDS ROOT)
1- Install a file explorer which can access and edit system folders.
2-Find build.prop and copy it.
3-Paste it to your main storage.
4-Open it with a text editor and go to the end of the lines.
5-You will see a line which says "ro.config.tima=1". Turn it into "ro.config.tima=0".
6-Save and copy new edited build.prop.
7-Paste it to it's original place and overwrite it.
8-Reboot your phone and check Samsung Health.
Rootless method is not working but if you want to test it, test it:
METHOD 2 (DOESN'T NEED ROOT)
I DIDN'T TRY THIS AND I AM NOT SURE IF IT WORKS
1-Uninstall the Samsung Health App.
2-Install Samsung Health version 4 https://www.apkmirror.com/apk/samsung-electronics-co-ltd/s-health/s-health-4-5-1-0011-release/s-health-4-5-1-0011-android-apk-download/
3-Launch the app and follow the steps to complete setup.
4-Update it via Google Play.
Thanks to @CuBz90
The non root method doesn't seem to work. App not installing.
sreedevtali said:
The non root method doesn't seem to work. App not installing.
Click to expand...
Click to collapse
Thanks for testing, I wasn't already giving it chance. I will note that it is not working.
How did you edit the /system? I am having trouble mounting it with read write privileges. My phone is rooted. Unable to "adb root" or mount system r/w. My multiple file explorer apps have had root access granted by magisk but I am still not able to replace it. I tried deleting it to see if I would be able to. I was able to but unable to paste the updated build.prop back into system. Had to reflash ??
cealaska said:
How did you edit the /system? I am having trouble mounting it with read write privileges. My phone is rooted. Unable to "adb root" or mount system r/w. My multiple file explorer apps have had root access granted by magisk but I am still not able to replace it. I tried deleting it to see if I would be able to. I was able to but unable to paste the updated build.prop back into system. Had to reflash
Click to expand...
Click to collapse
I think you're having trouble with pasting (overwriting) the edited build.prop.
I am using FX File Manager with root addon. You can try it. And, do NOT forget to give read/write acces to fx. To do so, when you open /system section you will see a lock icon on somewhere (top right) as I remember. Click it and give permission. Then paste the edited build.prop onto the original one.
Write here if you have any other problem.
Samsung Health
It’s very strange - my old Lenovo tablet, A3300 a firmware ResurectionRemix, Android 7, calmly sees and sets Samsung health from the playmarket. WADW? (What am I doing wrong?):смех: