I have installed application as a user mode and not rooted. Hence some of the android.permissions like write permission are ignored and not set. was able to identify from packages.xml and also from the command "adb shell dumpsys package "
I want to set write permission to the application that I installed to the device. I have access to android OS code, Is there a way to grant the permission? either by sepolicy change??
Note : device is not UI(user interface)
Please help!!
AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package=<package-name>
xmlns:tools="http://schemas.android.com/tools"
android:versionCode="1"
android:versionName="1.0">
<uses-permission android:name="android.permission.WRITE_SETTINGS" tools:ignore="ProtectedPermissions" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:ignore="ProtectedPermissions" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<application android:label="@string/app_name" >
<service android:name=<service-name>
<intent-filter >
---
</intent-filter>
</service>
</application>
</manifest>