- Jul 7, 2022
- 3
- 0
- 0
Hey Guys,
i have a rooted phone with Android 12 image, i would like to call an system API from an application, how would i go about it ?
things i have done so far without success
1. built the apk with aosp build
2. copied the application in /system/priv-app folder
3. created permission.xml in /etc/permissions/ folder
4. ofcourse have asked the permission in the manifest file
inspite of all these i still get the error "this user nor the process have the permission for MAINELINE_NETWORK_STACK
any help would be appreciated
i have a rooted phone with Android 12 image, i would like to call an system API from an application, how would i go about it ?
things i have done so far without success
1. built the apk with aosp build
2. copied the application in /system/priv-app folder
3. created permission.xml in /etc/permissions/ folder
4. ofcourse have asked the permission in the manifest file
inspite of all these i still get the error "this user nor the process have the permission for MAINELINE_NETWORK_STACK
any help would be appreciated