Team OS : Your Only Destination To Custom OS !!

Welcome to TeamOS Community, Register or Login to the Community to Download Torrents, Get Access to Shoutbox, Post Replies, Use Search Engine and many more features. Register Today!

Tutorials Unlock External Sd Card Writing For All Apps In Android 4.4 Kitkat

PasMater

⚡OS Master
Uploader
Windows Modifier
Retired Veterans
Member
Downloaded
0 bytes
Uploaded
871.7 GB
Ratio
-
Seedbonus
45,990
Upload Count
29 (70)
Member for 10 years
Unlock external SD Card writing for all apps in Android 4.4 KitKat
As you might be knowing, in the recent version of Android 4.4, 'KitKat', Google has slightly modified the default permissions for the external SD Card. Now it is accessible for writing only by a special user group of members called media_rw. In this article, I would like to share a trick which will allow to enable write access to all the lucky owners of rooted devices with Android 4.4.

When some process needs to write to external media, it requests the appropriate permission. This was the usual behavior in earlier versions of Android. However, third-party apps in KitKat have no access to that permission! So, there is no way for them to obtain write access to the external SD Card. You might face various issues with the new access rules in Android 4.4, i.e. your favorite File manager can stop working. Here's how to give these apps the correct permission.

  1. Launch your favorite file manager with root access rights. You can use any app you prefer which can run elevated on your device. For example, the 'Root Explorer' app or 'File Manager' from CyanogenMod will do.
  2. Navigate to the following file:
    /system/etc/permissions/platform.xml
  3. Find android.permission.WRITE_EXTERNAL_STORAGE and android.permission.WRITE_MEDIA_STORAGE lines. These are XML sections. You need to make them look exactly like the strings below:
    <permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
    <group gid="sdcard_r" />
    <group gid="sdcard_rw" />
    <group gid="media_rw" />
    </permission>
    <permission name="android.permission.WRITE_MEDIA_STORAGE" >
    <group gid="sdcard_rw" />
    <group gid="media_rw" />
    </permission>
Save the platform.xml file. It’s necessary to set the file permissions to 644 (rw-/r–/r–) before mobile restarting. Now reboot your Android device. You are done.

Unfortunately, there is no known solution to me which could be suitable for non-rooted devices.



ENJOY!!
 

Crash_King

✅ Verified Member
Member
Downloaded
53.2 GB
Uploaded
75.5 GB
Ratio
1.42
Seedbonus
2,347
Upload Count
4 (4)
Member for 9 years
thanks
 

TecknoFreak

Member
Downloaded
12.1 GB
Uploaded
117.4 GB
Ratio
9.73
Seedbonus
3,206
Upload Count
0 (0)
Member for 9 years
Thanks for sharing
I did this when kitkat first came out on xda developers and submitted it to cyanogen git which they aproved it. [emoji13] [emoji23]

Sent from my LG-H811 using Tapatalk
 

Faur Ionutz

Member
Downloaded
121.7 MB
Uploaded
5 GB
Ratio
42.09
Seedbonus
0
Upload Count
0 (0)
Member for 8 years
Good solution
 
Top