[Q] System Permissions seemed to be messed up - Galaxy S 5 Q&A, Help & Troubleshooting

Hey guys, I recently found out that my external SD card was not writable so I looked up how to fix this.
I found instructions to go into my platform.xml file in my system/etc/permissions folder
and added this line where instructed:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
I was doing this using ES File explorer and when I tried to save it, it said "Save Failed!". I closed the app and reopened the platform.xml file and my previous edit seemed to be still there.
This is where the issue begins:
After rebooting my phone, a bunch of popups start coming up on startup with the following "Unfortunately, [app] has stopped."
I figure that this might be a permissions screw up on my part. I am now unable to access many apps and when I open ES File Explorer again, it gives me the error: "Cannot Start Streaming Server" and it shows an empty folder for almost every directory.
Any suggestions or help would be appreciated. I have tried flashing CWM onto my phone as well but when I try to go into recovery mode, I get stuck on the screen where is displays Samsung Galaxy S5. As I was getting desperate, I was trying to factory reset but it doesn't seem like this is an option anymore seeing as I can't get into recovery mode. I am currently downloading the stock firmware and planning to flash that using Odin but I am hoping it doesn't come to that as well.
Model: S-G900H
EDIT: Just tried flashing stock firmware using odin and it is still no good. Desperate for any suggestions.
EDIT2: Factory Reset and its working now

Same problem with SGS4
Hello,
I faced the same problem with my Samsung Galaxy S4. Factory reset solved the problem. However, it would be better if this could be avoided/solved without doing a reset.

any other solution?
have anyone found any other solution to this?
I don't wanna factory reset cuz all my apps, data, settings in internal sd and now i can't back it up cuz can't read it from my phone

Related

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

Fix for Camera Failed (Solved) KitKat

Problem: Camera Failed Error
Solution: (only do this after all other method failed)
1. Browse to /system/etc/permissions
2. Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
3. Remove <group gid="media_rw" />
4. Save the changes to the file.
5. Restart.
Succesfully resolved camera failed in 4.4.2 UENE3
arinsms said:
Problem: Camera Failed Error
Solution: (only do this after all other method failed)
1. Browse to /system/etc/permissions
2. Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
3. Remove <group gid="media_rw" />
4. Save the changes to the file.
5. Restart.
Succesfully resolved camera failed in 4.4.2 UENE3
Click to expand...
Click to collapse
-hi sir i have a same problem check this.. Im losing hope.. http://forum.xda-developers.com/showthread.php?p=53748683#post53748683

[Q] KK4.4.4 External SDcard Fix. WTH?

In order to give permission to access my SDcard I followed the below instructions.
Using a root-enabled file manager navigate to, "/system/etc/permissions"
Edit "platform.xml" and find the "WRITE_EXTERNAL_STORAGE permission."
Add an additional group definition for this permission: <group gid=”media_rw” />
Save the changes to the file.
Restart the phone.
It worked. The problem I'm having now is my Bluetooth will not load. It starts dark green then goes gray.
To try and fix this I simply re-edited the platform.xml and deleted,
<group gid=”media_rw” /> and did a cold restart. Bluetooth still will not working. Any ideas as to
why this happened and how to fix without re-installing.

Everything is crashing after changing platform.xml

So I noticed my TB throws me an error when backing up to SD. I checked and you can't write to it. So I found a solution where you add <group gid=”media_rw” /> to “WRITE_EXTERNAL_STORAGE“ so from there **** started to hit the fan. After I rebooted all the apps started to crash. Now ES explorer can't even see the extCard where my backup is. I managed to copy the backup back to etc/permissions, then rebooted but nothing changed it is still crashing. So I tried NAND restore and tried copying it from there and putting it in my current version but that didn't work either. Then someone with a similar problem said reflash the ROM without wiping and now my phone is sitting in Download mode and I can't even get to recovery :/ HALP!

Categories

Resources