[Motorola Atrix HD] cramtebreg:
I tried 2 different modification on the platform.

and to refer to the beginning my Butterfly S is rooted, Tampered and S-on.

concerning the Kitkat ... brand new reactivated

so the 2 platform.xml:

origin modified as you were saying;

<?xml version="1.0" encoding="utf-8"?>

<!-- Copyright (C) 2008 The Android Open Source Project

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.INTERNET" >

<group gid="inet" />

<group gid="clockd" />

</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" />

<group gid="media_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>

<!-- [U11] Begin, add permission for Cisco AnyConnect, freya.hj_lin, 20130730 -->

<permission name="com.htc.framework.permission.VPN">

<group gid="vpn" />

</permission>

<permission name="com.htc.framework.permission.NET_ADMIN" >

<group gid="net_admin" />

</permission>

<permission name="com.htc.framework.permission.NET_RAW">

<group gid="net_raw" />

</permission>

<!-- [U11] End, freya.hj_lin, 20130730 -->

<!-- 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>

<!-- Group that can read write customization wizard folder /data/data/cw and /data/data/cwtemp -->

<permission name="com.htc.framework.permission.ACCESS_CW_FOLDER">

<group gid="cw_access" />

</permission>

<!-- Group that can read write recovery folder /data/data/recovery -->

<permission name="com.htc.framework.permission.ACCESS_RECOVERY_FOLDER">

<group gid="recvy_access" />

</permission>

<!-- Group that can read write file node with drmrpc group -->

<permission name="com.htc.permission.android.ACCESS_DRMRPC">

<group gid="drmrpc" />

</permission>

<!-- Group that can read write customization wizard folder usb file node for autobot -->

<permission name="com.htc.framework.permission.ACCESS_AUTOBOT_FILENODE">

<group gid="autobot_access" />

</permission>

<!-- Group that can read write serial port for sync job -->

<permission name="com.htc.permission.USB_SERIAL">

<group gid="usb" />

</permission>

<!-- Group that can read write carrier partition folder for do customization -->

<permission name="com.htc.permission.framework.ACCESS_CARRIER_PARTITION">

<group gid="carrier" />

</permission>

<!-- Group that can access clockd for offmode alarm setting -->

<permission name="com.android.alarm.permission.SET_ALARM">

<group gid="clockd" />

</permission>

<permission name="android.permission.LOOP_RADIO" >

<group gid="loop_radio" />

</permission>

<!-- [U11] Being, add permission for Fingerprint, Jason Chang, 20130805 -->

<permission name="com.htc.permission.FINGERPRINT">

<group gid="val_fp" />

</permission>

<!-- [U11] End, add permission for Fingerprint, Jason Chang, 20130805 -->

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

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

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

<!-- 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" />

<!-- [U58] add permission for Watch DxDrm Playready DRM //-->

<assign-permission name="com.discretix.playready.ACCESS_DRM" uid="media" />

<!-- [U58] add permission for Watch DxDrm Playready DRM //-->

<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"/>

</permissions>

the second was use on a custom rom by maximus:

<?xml version="1.0" encoding="utf-8"?>

<!-- Copyright (C) 2008 The Android Open Source Project

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.INTERNET" >

<group gid="inet" />

<group gid="clockd" />

</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" />

<group gid="media_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="sdcard_rw" />

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

<!-- [U11] Begin, add permission for Cisco AnyConnect, freya.hj_lin, 20130730 -->

<permission name="com.htc.framework.permission.VPN">

<group gid="vpn" />

</permission>

<permission name="com.htc.framework.permission.NET_ADMIN" >

<group gid="net_admin" />

</permission>

<permission name="com.htc.framework.permission.NET_RAW">

<group gid="net_raw" />

</permission>

<!-- [U11] End, freya.hj_lin, 20130730 -->

<!-- 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>

<!-- Group that can read write customization wizard folder /data/data/cw and /data/data/cwtemp -->

<permission name="com.htc.framework.permission.ACCESS_CW_FOLDER">

<group gid="cw_access" />

</permission>

<!-- Group that can read write recovery folder /data/data/recovery -->

<permission name="com.htc.framework.permission.ACCESS_RECOVERY_FOLDER">

<group gid="recvy_access" />

</permission>

<!-- Group that can read write file node with drmrpc group -->

<permission name="com.htc.permission.android.ACCESS_DRMRPC">

<group gid="drmrpc" />

</permission>

<!-- Group that can read write customization wizard folder usb file node for autobot -->

<permission name="com.htc.framework.permission.ACCESS_AUTOBOT_FILENODE">

<group gid="autobot_access" />

</permission>

<!-- Group that can read write serial port for sync job -->

<permission name="com.htc.permission.USB_SERIAL">

<group gid="usb" />

</permission>

<!-- Group that can read write carrier partition folder for do customization -->

<permission name="com.htc.permission.framework.ACCESS_CARRIER_PARTITION">

<group gid="carrier" />

</permission>

<!-- Group that can access clockd for offmode alarm setting -->

<permission name="com.android.alarm.permission.SET_ALARM">

<group gid="clockd" />

</permission>

<permission name="android.permission.LOOP_RADIO" >

<group gid="loop_radio" />

</permission>

<!-- [U11] Being, add permission for Fingerprint, Jason Chang, 20130805 -->

<permission name="com.htc.permission.FINGERPRINT">

<group gid="val_fp" />

</permission>

<!-- [U11] End, add permission for Fingerprint, Jason Chang, 20130805 -->

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

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

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

<!-- 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" />

<!-- [U58] add permission for Watch DxDrm Playready DRM //-->

<assign-permission name="com.discretix.playready.ACCESS_DRM" uid="media" />

<!-- [U58] add permission for Watch DxDrm Playready DRM //-->

<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"/>

</permissions>

But no effect on the full accessibility On the external Sd:

a simple example:

I have a word document already stored on the ext micro Sd , but I try to modified it and want to stored again the modification ... it 's impossible to do it at the same address place ... the only possibility offered by the Bs is to create a new one on cloud email storage or the mobile memory.

second sample:

"Polaris" does not allow me to store any new document on my external Sd.

I hope you are understanding my problem and my English is not so poor :o

actually I just swap back on jelly bean but really the battery consumption is really heavier than on kitkat

waiting for your invention on that case :fingers-crossed:

regards