Unofficial Android 4.4 Lands on Three Mediatek Devices

For the last few years, devices with MTK systems-on-chip haven’t received much … more

MultiImagePicker Library for Multiple Image Selection

App developmentcan be done in more than a handful of ways. You can write every single … more

Shoot Troubles, Not Users w/ Alex Boag-Munroe – XDA:DevCon 2014

In presenting the various sessions from XDA:DevCon 2014, weve mainly … more

Oppo Releases ColorOS for the Find 5… Poorly

Almost every OEM has taken the liberty of creating its own incarnation of the Android OS. … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[TUTORIAL] How to write/copy/download to the external sd card

OP _eroz

28th August 2014, 11:17 PM   |  #11  
mapcom1's Avatar
Junior Member
Thanks Meter: 1
 
22 posts
Join Date:Joined: Jul 2007
The app didn't work for me, but this manual write up did it!
Thanks saved me from having to install a new rom.
29th August 2014, 12:25 AM   |  #12  
Junior Member
Thanks Meter: 1
 
9 posts
Join Date:Joined: Aug 2014
Thank you for this tutorial!!!

Sent from my SM-G900T using XDA Free mobile app
Last edited by theaznx; 29th August 2014 at 12:38 AM.
16th October 2014, 11:54 PM   |  #13  
Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Feb 2008
Quote:
Originally Posted by bgmikejr

Here you go http://goo.gl/nlXWRE

This link is not working already ;(
could anybody send me original or "patched" version of platform.xml? I didn't backuped mine and something went wrong. I always did backup and never have need them...
17th October 2014, 02:52 AM   |  #14  
bgmikejr's Avatar
Member
Flag Virginia Beach
Thanks Meter: 42
 
83 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Right click the link and choose save link as it should download as I did this and it worked for me.
17th October 2014, 11:05 AM   |  #15  
Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Feb 2008
Quote:
Originally Posted by bgmikejr

Right click the link and choose save link as it should download as I did this and it worked for me.

it's a kind of magic
still doesn't work. i will flash another rom
20th October 2014, 04:17 PM   |  #16  
_eroz's Avatar
OP Senior Member
Flag Brookfield, IL
Thanks Meter: 117
 
469 posts
Join Date:Joined: Oct 2011
More
Quote:
Originally Posted by damianssj661

it's a kind of magic
still doesn't work. i will flash another rom

That's weird. It's working for me. Hopefully this works for you. Just copy and paste into Notepad++ or equivalent and name it platform.xml I've also attached it, just remove the .txt extension.

Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project
     Copyright (C) 2013 Broadcom Corporation
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<!-- This file is used to define the mappings between lower-level system
     user and group IDs and the higher-level permission names managed
     by the platform.

     Be VERY careful when editing this file!  Mistakes made here can open
     big security holes.
-->
<permissions>

    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->

    <!-- The following tags are associating low-level group IDs with
         permission names.  By specifying such a mapping, you are saying
         that any application process granted the given permission will
         also be running with the given group ID attached to its process,
         so it can perform any filesystem (read, write, execute) operations
         allowed for that group. -->

    <permission name="android.permission.BLUETOOTH_ADMIN" >
        <group gid="net_bt_admin" />
    </permission>

    <permission name="android.permission.BLUETOOTH" >
        <group gid="net_bt" />
    </permission>

    <permission name="android.permission.BLUETOOTH_STACK" >
        <group gid="net_bt_stack" />
    </permission>

    <permission name="android.permission.NET_TUNNELING" >
        <group gid="vpn" />
    </permission>

    <permission name="android.permission.SYSTEM_GROUP_INTERNAL" >
        <group gid="system" />
    </permission>

    <permission name="android.permission.INTERNET" >
        <group gid="inet" />
    </permission>

    <permission name="com.sec.android.permission.CAMERA" >
        <group gid="camera" />
    </permission>

    <permission name="android.permission.READ_LOGS" >
        <group gid="log" />
    </permission>

    <permission name="android.permission.READ_EXTERNAL_STORAGE" >
        <group gid="sdcard_r" />
    </permission>

    <permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
        <group gid="sdcard_r" />
        <group gid="sdcard_rw" />
    </permission>

    <permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >
        <group gid="sdcard_r" />
        <group gid="sdcard_rw" />
        <group gid="sdcard_all" />
    </permission>

    <permission name="android.permission.WRITE_MEDIA_STORAGE" >
        <group gid="media_rw" />
    </permission>

    <permission name="android.permission.ACCESS_MTP" >
        <group gid="mtp" />
    </permission>

    <permission name="android.permission.NET_ADMIN" >
        <group gid="net_admin" />
    </permission>

    <!-- The group that /cache belongs to, linked to the permission
         set on the applications that can access /cache -->
    <permission name="android.permission.ACCESS_CACHE_FILESYSTEM" >
        <group gid="cache" />
    </permission>

    <!-- RW permissions to any system resources owned by group 'diag'.
         This is for carrier and manufacture diagnostics tools that must be
         installable from the framework. Be careful. -->
    <permission name="android.permission.DIAGNOSTIC" >
        <group gid="input" />
        <group gid="diag" />
    </permission>

    <!-- Group that can read detailed network usage statistics -->
    <permission name="android.permission.READ_NETWORK_USAGE_HISTORY">
        <group gid="net_bw_stats" />
    </permission>

    <!-- Group that can modify how network statistics are accounted -->
    <permission name="android.permission.MODIFY_NETWORK_ACCOUNTING">
        <group gid="net_bw_acct" />
    </permission>

    <permission name="android.permission.LOOP_RADIO" >
        <group gid="loop_radio" />
    </permission>

    <!-- The group that releated with VPN -->
    <permission name="android.permission.SAMSUNG_MODIFY_ROUTE" >
        <group gid="net_admin" />
    </permission>

    <permission name="android.permission.SAMSUNG_TUNTAP" >
        <group gid="vpn" />
    </permission>

    <permission name="android.permission.SAMSUNG_MODIFY_IPTABLES" >
        <group gid="net_raw" />
    </permission>

    <!-- The group that releated with VPN -->
    <permission name="com.sec.android.SAMSUNG_MODIFY_ROUTE" >
        <group gid="net_admin" />
    </permission>

    <permission name="com.sec.android.SAMSUNG_TUNTAP" >
        <group gid="vpn" />
    </permission>

    <permission name="com.sec.android.SAMSUNG_MODIFY_IPTABLES" >
        <group gid="net_raw" />
    </permission>

   <!-- The group that releated with URL -->
    <permission name="com.sec.android.SAMSUNG_GET_URL" >
        <group gid="secnetfilter" />
    </permission>
    
    <!-- Group that can use gscaler -->
    <permission name="com.sec.android.permission.USE_GSCALER" >
        <group gid="graphics" />
    </permission>

    <!-- Except for SysScope, DO NOT USE this permission. -->
    <permission name="com.sec.android.app.sysscope.permission.ACCESS_SYSTEM_INFO_SYSSCOPE_ONLY" >
        <group gid="radio" />
    </permission>

    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->

    <!-- The following tags are assigning high-level permissions to specific
         user IDs.  These are used to allow specific core system users to
         perform the given operations with the higher-level framework.  For
         example, we give a wide variety of permissions to the shell user
         since that is the user the adb shell runs under and developers and
         others should have a fairly open environment in which to
         interact with the system. -->

    <assign-permission name="android.permission.MODIFY_AUDIO_SETTINGS" uid="media" />
    <assign-permission name="android.permission.ACCESS_SURFACE_FLINGER" uid="media" />
    <assign-permission name="android.permission.WAKE_LOCK" uid="media" />
    <assign-permission name="android.permission.UPDATE_DEVICE_STATS" uid="media" />
    <assign-permission name="android.permission.UPDATE_APP_OPS_STATS" uid="media" />

    <assign-permission name="android.permission.ACCESS_SURFACE_FLINGER" uid="graphics" />

    <!-- This is a list of all the libraries available for application
         code to link against. -->

    <library name="android.test.runner"
            file="/system/framework/android.test.runner.jar" />
    <library name="javax.obex"
            file="/system/framework/javax.obex.jar"/>
<!--
    <library name="javax.btobex"
            file="/system/framework/javax.btobex.jar"/>
-->
</permissions>
Attached Files
File Type: txt platform.xml.txt - [Click for QR Code] (7.1 KB, 9 views)
Last edited by _eroz; 20th October 2014 at 04:19 PM. Reason: added platform.xml
23rd October 2014, 02:00 AM   |  #17  
Junior Member
Thanks Meter: 2
 
6 posts
Join Date:Joined: Dec 2011
Quote:
Originally Posted by _eroz

Of course that is always an option, there are actually a few apps on the market that do this. I just thought since it is xda, people might want to do it manually.

There's also an Xposed module for this too: http://forum.xda-developers.com/xpos...ccess-t2790992 . A "semi-manual" option, if you will. I did both the manual run-through and then tried the Xposed mod to confirm they both made the same edit and both worked.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes