好友
阅读权限10
听众
最后登录1970-1-1
|
伴无言
发表于 2020-3-14 19:54
C:\Users\wgx00\Desktop>adb shell sh /storage/emulated/0/Android/data/com.web1n.permissiondog/files/starter.sh
Maxwell
Info: Maxwell Daemon 5 With SDK 28, OPPO/PADM00/PADM00:9/PPR1.180610.011/1582104383:user/release-keys.
Info: Package: com.web1n.permissiondog
Info: uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc),3011(uhid) context=u:r:shell:s0
Info: Try To Start Daemon Process...
::::::::::::::::::::::::::::::::::::>> ok
Info: Daemon Process Started.
Info: --- logcat start ---
03-14 19:46:41.015 9591 9591 I MaxWellDaemon: find app daemon class: com.web1n.appops2.app_process.Maxwell
03-14 19:46:41.044 9591 9591 I MaxWellDaemon: exec shell: [id]
03-14 19:46:41.073 9591 9591 I MaxWellDaemon: uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc),3011(uhid) context=u:r:shell:s0
03-14 19:46:41.078 9591 9591 I MaxWellDaemon: success to register app changed listener.
03-14 19:46:41.092 9336 9349 I MaxWellDaemon: received maxwell binder, version: 5
Info: --- logcat end ---
Info: if daemon exit unexpectedly, please copy logcat and report.
C:\Users\wgx00\Desktop>adb shell pm grant com.web1n.permissiondog android.permission.GET_APP_OPS_STATS
Security exception: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.
java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.
at android.app.ContextImpl.enforce(ContextImpl.java:1888)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1916)
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:1510)
at com.android.server.pm.permission.PermissionManagerService.access$900(PermissionManagerService.java:110)
at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.grantRuntimePermission(PermissionManagerService.java:2440)
at com.android.server.pm.PackageManagerService.grantRuntimePermission(PackageManagerService.java:6784)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:1785)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:221)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:25594)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:3254)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4954)
at android.os.Binder.execTransact(Binder.java:731)
这一步弄完后一直不起作用 oppo手机 |
|