8enet / appopsx Goto Github PK
View Code? Open in Web Editor NEW:wrench:A front-end application for the Android AppOpsService.
Home Page: https://github.com/8enet/AppOpsX
License: MIT License
:wrench:A front-end application for the Android AppOpsService.
Home Page: https://github.com/8enet/AppOpsX
License: MIT License
感谢开发者!
Android 9.0 change the field name from mTime
to mTimes
of android.app.AppOpsManager.OpEntry
somewhere between Oreo and Pie. And the same as mRejectTime
(Source) Causing the package usage stats not being collected.
Error message from opsx.sh
:
java.lang.NoSuchFieldException: No field mRejectTime in class Landroid/app/AppOpsManager$OpEntry; (declaration of 'android.app.AppOpsManager$OpEntry' appears in /system/framework/framework.jar)
at java.lang.Class.getDeclaredField(Native Method)
at com.zzzmode.appopsx.common.ReflectUtils.getFieldValue(ReflectUtils.java:70)
at com.zzzmode.appopsx.common.ReflectUtils.getLongFieldValue(ReflectUtils.java:97)
at com.zzzmode.appopsx.common.ReflectUtils.opsConvert(ReflectUtils.java:42)
at com.zzzmode.appopsx.remote.AppOpsHandler.runGet(AppOpsHandler.java:99)
at com.zzzmode.appopsx.remote.AppOpsHandler.handleCommand(AppOpsHandler.java:74)
at com.zzzmode.appopsx.remote.AppOpsHandler.proxyInvoke(AppOpsHandler.java:58)
at java.lang.reflect.Method.invoke(Native Method)
at com.zzzmode.appopsx.common.MethodUtils.invokeExactMethod(MethodUtils.java:398)
at com.zzzmode.appopsx.server.RemoteHandler.callClass(RemoteHandler.java:310)
at com.zzzmode.appopsx.server.RemoteHandler.onMessage(RemoteHandler.java:151)
at com.zzzmode.appopsx.common.OpsDataTransfer.onRecvMsg(OpsDataTransfer.java:144)
at com.zzzmode.appopsx.common.OpsDataTransfer.handleRecv(OpsDataTransfer.java:137)
at com.zzzmode.appopsx.server.OpsXServer.run(OpsXServer.java:62)
at com.zzzmode.appopsx.server.RemoteHandler.start(RemoteHandler.java:84)
at com.zzzmode.appopsx.server.AppOpsMain.<init>(AppOpsMain.java:138)
at com.zzzmode.appopsx.server.AppOpsMain.<init>(AppOpsMain.java:19)
at com.zzzmode.appopsx.server.AppOpsMain$1.run(AppOpsMain.java:60)
at java.lang.Thread.run(Thread.java:784)
On EMUI 9, Android 9.0
In the logcat I noticed this
W BroadcastQueue: Background execution not allowed: receiving Intent { act=com.zzzmode.appopsx.action.SERVER_CONNECTED flg=0x10 (has extras) } to com.zzzmode.appopsx/.ServerStatusChangeReceiver
It seems AppopsX is using implicit broadcast to communicate between receiver and LifecycleAgent, but they are blocked for apps targeting Oreo, and AppopsX is indeed targeting Oreo.
To fix this, makeintent need to add explicit ComponentName.
是不是这个文件忘记打包了?
Great must-have utility for android! Thanks so much for your great effort!
Here'are a few request:
6.0.1系统
同类应用中有支持的:https://play.google.com/store/apps/details?id=rikka.appops
现在主流工作模式应用就 island 和 shelter
As per title: Why does this application request internet permission in manifest?
看到快两年没更新了,不知道能否支持android 10+
Android 6.0.1
Google Nexus 5
使用时发现,精确位置/允许使用基站的粗略位置/允许应用监听位置数据等几个权限无法关闭,关闭后再点进去,发现权限还是开启状态。
谢谢。
Excellent list of permissions, but many rights are re-enabled after a reboot.
Sample - wifi network & mobile network.
Fix please!
<:-((
弹Toast:
Comparison method violates its general contract!
今天刚出现的,以前没有。。
看不到权限。安装在雷电模拟器。已给ROOT权限。
试了一下APPOPS完全无问题。
adb执行:
adb shell sh /sdcard/Android/data/com.zzzmode.appopsx/opsx.sh
手机端点击任意应用后,adb输出:
get token f928b020671c90d1949fbe93837d2942
get classpath /storage/emulated/0/Android/data/com.zzzmode.appopsx/files/opsx/appopsx.jar
device arch arm64-v8a
get adbPort 52053
AppOpsX args: type:adb,path:52053,bgrun:1,token:f928b020671c90d1949fbe93837d2942
/sdcard/Android/data/com.zzzmode.appopsx/opsx.sh[43]: printf: not found
0
Use Ctrl+C to exit.
params --> {token=f928b020671c90d1949fbe93837d2942, bgrun=1, type=adb, path=52053}
AppOpsX server start successful, enjoy it! 馃槑
java.lang.SecurityException: uid 2000 does not have android.permission.GET_APP_OPS_STATS.
at android.os.Parcel.readException(Parcel.java:1549)
at android.os.Parcel.readException(Parcel.java:1502)
at com.android.internal.app.IAppOpsService$Stub$Proxy.getOpsForPackage(IAppOpsService.java:468)
at com.zzzmode.appopsx.server.AppOpsMain.runGet(AppOpsMain.java:210)
at com.zzzmode.appopsx.server.AppOpsMain.handleCommand(AppOpsMain.java:189)
at com.zzzmode.appopsx.server.AppOpsMain.onMessage(AppOpsMain.java:364)
at com.zzzmode.appopsx.common.OpsDataTransfer.onRecvMsg(OpsDataTransfer.java:139)
at com.zzzmode.appopsx.common.OpsDataTransfer.handleRecv(OpsDataTransfer.java:132)
at com.zzzmode.appopsx.server.OpsXServer.run(OpsXServer.java:54)
at com.zzzmode.appopsx.server.AppOpsMain.<init>(AppOpsMain.java:134)
at com.zzzmode.appopsx.server.AppOpsMain.main(AppOpsMain.java:58)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:249)
java.lang.SecurityException: uid 2000 does not have android.permission.GET_APP_OPS_STATS.
at android.os.Parcel.readException(Parcel.java:1549)
at android.os.Parcel.readException(Parcel.java:1502)
at com.android.internal.app.IAppOpsService$Stub$Proxy.getOpsForPackage(IAppOpsService.java:468)
at com.zzzmode.appopsx.server.AppOpsMain.runGet(AppOpsMain.java:210)
at com.zzzmode.appopsx.server.AppOpsMain.handleCommand(AppOpsMain.java:189)
at com.zzzmode.appopsx.server.AppOpsMain.onMessage(AppOpsMain.java:364)
at com.zzzmode.appopsx.common.OpsDataTransfer.onRecvMsg(OpsDataTransfer.java:139)
at com.zzzmode.appopsx.common.OpsDataTransfer.handleRecv(OpsDataTransfer.java:132)
at com.zzzmode.appopsx.server.OpsXServer.run(OpsXServer.java:54)
at com.zzzmode.appopsx.server.AppOpsMain.<init>(AppOpsMain.java:134)
at com.zzzmode.appopsx.server.AppOpsMain.main(AppOpsMain.java:58)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:249)
Please, can you add an adaptive icon for AppOpsX? This is quite simple btw.
You can see more details here
系统miui10,android 8.1
在adb模式下设置的自动关闭权限
但是在测试安装一个app后还是没有自动关闭“获取手机状态”等本已经设置为自动关闭的权限
怎样的权限才是默认权限
Hello author - just wanna know if there are any updates? For it cannot be being well in Android 10 or higher I suppose.
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:119)
at java.net.SocketInputStream.read(SocketInputStream.java:176)
at java.net.SocketInputStream.read(SocketInputStream.java:144)
at java.io.DataInputStream.readFully(DataInputStream.java:198)
at java.io.DataInputStream.readInt(DataInputStream.java:389)
at com.zzzmode.appopsx.common.OpsDataTransfer.readMsg(OpsDataTransfer.java:63)
at com.zzzmode.appopsx.common.OpsDataTransfer.sendMsgAndRecv(OpsDataTransfer.java:73)
at com.zzzmode.appopsx.LocalServerManager.execPre(LocalServerManager.java:136)
at com.zzzmode.appopsx.LocalServerManager.execNew(LocalServerManager.java:150)
at com.zzzmode.appopsx.OpsxManager.wrapOps(OpsxManager.java:95)
at com.zzzmode.appopsx.OpsxManager.getPackagesForOps(OpsxManager.java:107)
at com.zzzmode.appopsx.ui.core.Helper$20.subscribe(Helper.java:681)
at a.a.e.e.a.e.b(ObservableCreate.java:40)
at a.a.c.a(Observable.java:11040)
at a.a.e.e.a.o$a.a(ObservableRetryPredicate.java:111)
at a.a.e.e.a.o.b(ObservableRetryPredicate.java:41)
at a.a.c.a(Observable.java:11040)
at a.a.e.e.a.m.b(ObservableMap.java:33)
at a.a.c.a(Observable.java:11040)
at a.a.e.e.a.i.b(ObservableFlatMap.java:55)
at a.a.c.a(Observable.java:11040)
at a.a.e.e.a.i.b(ObservableFlatMap.java:55)
at a.a.c.a(Observable.java:11040)
at a.a.e.e.a.c.b(ObservableCollectSingle.java:49)
at a.a.i.a(Single.java:2846)
at a.a.e.e.b.d.b(SingleMap.java:34)
at a.a.i.a(Single.java:2846)
at a.a.e.e.b.d.b(SingleMap.java:34)
at a.a.i.a(Single.java:2846)
at a.a.e.e.b.f$a.run(SingleSubscribeOn.java:89)
at a.a.h$a.run(Scheduler.java:463)
at a.a.e.g.i.run(ScheduledRunnable.java:66)
at a.a.e.g.i.call(ScheduledRunnable.java:57)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
Device : Poco F1 (6gb/64gb)
ROM: Lineage 16
When using system vpn, the app can still access internet even the permissions for wifi and mobile network are turned off. Please fix.
自动关闭功能 失效。安装APP后不自动关闭了
现在如果仅仅运行“sh /sdcard/Android/data/com.zzzmode.appopsx/opsx.sh”, 还是不能启动,
需要进一步运行“adb tcpip 5555” 才可以。
现在想要把appOpsX和黑域一起使用飞智来启动, 希望能够用上面这么一个命令就启动,请问是否可行?
使用飞智同时启动appOpsx和黑域的教程如下:
https://cokebar.info/archives/2308
appopsx已经获得root,root方式是magisk,可以获得root提醒并授权,但打开具体软件调权限,获取失败,提示:
Attempt to invoke virtual method 'android.os.Parcelable android.os.Bundle.getParcelable(java.lang.String)' on a null object reference
系统是android8.0,LG V30
之前使用appops则正常,求解答,谢谢~
弄了半天无法成功,是不是漏做了什么步骤。。。
$ adb shell sh /sdcard/Android/data/com.zzzmode.appopsx/opsx.sh &
依然无效
对每个权限的操作目前就允许和忽略两种模式,建议添加拒绝模式,在一些情境中会用到。
现在只有允许和忽略,这样只有事先配置好,不太方便。增加“询问”选项,在使用权限时询问是否允许,这个功能个人觉得很实用,比如摄像头权限全体设置为询问。貌似系统appops是支持这个的。
Device: Samsung Galaxy Note 4 (SM-N910F)
OS: Lineage OS 16 unofficial by kevintm78, Build: lineage_trlte-userdebug 9 PQ2a.190305.002eng.kevint.20190312.063803 test-keys
Configuration: OS encrypted and rooted via su arm
AppOpsX version: 1.2.5
Upon attempting to see the permissions of any app, AppOpsX will show the following error message:
Attempt to invoke virtual method 'android.os.Parcelable android.os.Bundle.getParcelable(java.lang.String)' on a null object reference
Seeing app permissions and being able to toggle them on/off.
The problem puzzles me because I have used AppOpsX before and without problems, but at that time I hadn't encrypted the device. My prime suspect is the device encryption.
用的supersu,android 8, google pixel
开启app之后adb logcat显示如下信息:
09-26 16:43:15.688 1368 4771 I ActivityManager: START u0 {cmp=com.zzzmode.appopsx/.ui.permission.AppPermissionActivity (has extras)} from uid 10138
09-26 16:43:15.721 22774 22794 W System.err: java.io.IOException: Connection refused
09-26 16:43:15.721 22774 22794 W System.err: at android.net.LocalSocketImpl.connectLocal(Native Method)
09-26 16:43:15.721 22774 22794 W System.err: at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:292)
09-26 16:43:15.721 22774 22794 W System.err: at android.net.LocalSocket.connect(LocalSocket.java:145)
09-26 16:43:15.721 22774 22794 W System.err: at com.zzzmode.appopsx.LocalServerManager$SyncClient.connect(LocalServerManager.java:517)
09-26 16:43:15.721 22774 22794 W System.err: at com.zzzmode.appopsx.LocalServerManager$SyncClient.start(LocalServerManager.java:553)
09-26 16:43:15.721 22774 22794 W System.err: at com.zzzmode.appopsx.LocalServerManager.start(LocalServerManager.java:76)
09-26 16:43:15.721 22774 22794 W System.err: at com.zzzmode.appopsx.OpsxManager.checkConnect(OpsxManager.java:55)
09-26 16:43:15.721 22774 22794 W System.err: at com.zzzmode.appopsx.OpsxManager.getOpsForPackage(OpsxManager.java:59)
09-26 16:43:15.721 22774 22794 W System.err: at com.zzzmode.appopsx.ui.core.Helper$14.subscribe(Helper.java:567)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.e.e.a.e.b(ObservableCreate.java:40)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.c.a(Observable.java:10838)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.e.e.a.o$a.a(ObservableRetryPredicate.java:111)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.e.e.a.o.b(ObservableRetryPredicate.java:41)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.c.a(Observable.java:10838)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.e.e.a.q$b.run(ObservableSubscribeOn.java:96)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.h$a.run(Scheduler.java:452)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.e.g.i.run(ScheduledRunnable.java:61)
09-26 16:43:15.722 22774 22794 W System.err: at a.a.e.g.i.call(ScheduledRunnable.java:52)
09-26 16:43:15.722 22774 22794 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
09-26 16:43:15.722 22774 22794 W System.err: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
09-26 16:43:15.722 22774 22794 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
09-26 16:43:15.722 22774 22794 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
09-26 16:43:15.722 22774 22794 W System.err: at java.lang.Thread.run(Thread.java:764)
09-26 16:43:15.722 22774 22794 E LocalServerManager: useRootStartServer -->
09-26 16:43:15.775 1368 1416 I ActivityManager: Displayed com.zzzmode.appopsx/.ui.permission.AppPermissionActivity: +70ms
09-26 16:43:15.786 22774 22799 D OpenGLRenderer: endAllActiveAnimators on 0x7089278000 (RippleDrawable) with handle 0x7080b54760
09-26 16:43:16.918 22774 22794 E LocalServerManager: getCommonds --> type:root,path:appopsx_zzzmode_socket,token:6dc8892f1dea790dd0ff9746a224b6fa,bgrun:1 &
09-26 16:43:16.921 22774 22894 E LocalServerManager: log run --> start
09-26 16:43:16.935 22774 22894 E LocalServerManager: log run --> uid=0(root) gid=0(root) groups=0(root) context=u:r:supersu:s0
09-26 16:43:17.176 22896 22896 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
09-26 16:43:17.174 22896 22896 W app_process: type=1400 audit(0.0:445): avc: granted { open } for path="/dev/pmsg0" dev="tmpfs" ino=15505 scontext=u:r:supersu:s0 tcontext=u:object_r:pmsg_device:s0 tclass=chr_file
09-26 16:43:17.176 22896 22896 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
--------- beginning of crash
09-26 16:43:17.307 22898 22898 F libc : CANNOT LINK EXECUTABLE "/system/bin/dex2oat": "/system/lib64/libart.so" is 64-bit instead of 32-bit
09-26 16:43:17.307 22898 22898 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22898 (dex2oat)
09-26 16:43:17.331 22900 22900 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.331 22900 22900 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22900 (crash_dump32)
09-26 16:43:17.345 22902 22902 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.345 22902 22902 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22902 (crash_dump32)
09-26 16:43:17.360 22904 22904 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.360 22904 22904 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22904 (crash_dump32)
09-26 16:43:17.374 22906 22906 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.375 22906 22906 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22906 (crash_dump32)
09-26 16:43:17.385 22908 22908 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.385 22908 22908 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22908 (crash_dump32)
09-26 16:43:17.395 22910 22910 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.395 22910 22910 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22910 (crash_dump32)
09-26 16:43:17.403 22774 22779 I zygote64: Do partial code cache collection, code=30KB, data=23KB
09-26 16:43:17.404 22912 22912 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.404 22912 22912 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22912 (crash_dump32)
09-26 16:43:17.404 22774 22779 I zygote64: After code cache collection, code=30KB, data=23KB
09-26 16:43:17.404 22774 22779 I zygote64: Increasing code cache capacity to 128KB
09-26 16:43:17.413 22914 22914 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.413 22914 22914 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22914 (crash_dump32)
09-26 16:43:17.420 22916 22916 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.421 22916 22916 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22916 (crash_dump32)
09-26 16:43:17.428 22918 22918 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.429 22918 22918 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22918 (crash_dump32)
09-26 16:43:17.437 22920 22920 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.441 22920 22920 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22920 (crash_dump32)
09-26 16:43:17.448 22922 22922 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.449 22922 22922 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22922 (crash_dump32)
09-26 16:43:17.457 22924 22924 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.458 22924 22924 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22924 (crash_dump32)
09-26 16:43:17.463 22926 22926 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.464 22926 22926 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22926 (crash_dump32)
09-26 16:43:17.470 22928 22928 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.470 22928 22928 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22928 (crash_dump32)
09-26 16:43:17.482 22930 22930 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.482 22930 22930 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22930 (crash_dump32)
09-26 16:43:17.491 22932 22932 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.491 22932 22932 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22932 (crash_dump32)
09-26 16:43:17.496 22934 22934 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.497 22934 22934 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22934 (crash_dump32)
09-26 16:43:17.502 22936 22936 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.502 22936 22936 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22936 (crash_dump32)
之后系统会出现大量的crash dump进程,直到系统卡死
7153 root 20 0 1.6M 360K 204K S 0.0 0.0 0:00.00 crash_dump32 7151 7152
7151 root 20 0 1.6M 364K 204K S 0.0 0.0 0:00.00 crash_dump32 7149 7150
7149 root 20 0 1.6M 364K 204K S 0.0 0.0 0:00.00 crash_dump32 7147 7148
7147 root 20 0 1.6M 360K 204K S 0.0 0.0 0:00.00 crash_dump32 7145 7146
7145 root 20 0 1.6M 364K 204K S 0.0 0.0 0:00.00 crash_dump32 7143 7144
7143 root 20 0 1.6M 364K 204K S 0.0 0.0 0:00.00 crash_dump32 7141 7142
I'm not a android developer, but I try to build a new release my self for compatibility with Android P. However, exception occurs during the building:
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
Could not write standard input to Gradle build daemon.
java.io.IOException: Stream closed
at java.lang.ProcessBuilder$NullOutputStream.write(java.base@9-internal/ProcessBuilder.java:443)
at java.io.OutputStream.write(java.base@9-internal/OutputStream.java:116)
at java.io.BufferedOutputStream.flushBuffer(java.base@9-internal/BufferedOutputStream.java:81)
at java.io.BufferedOutputStream.flush(java.base@9-internal/BufferedOutputStream.java:142)
at org.gradle.process.internal.streams.ExecOutputHandleRunner.forwardContent(ExecOutputHandleRunner.java:66)
at org.gradle.process.internal.streams.ExecOutputHandleRunner.run(ExecOutputHandleRunner.java:51)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-internal/ThreadPoolExecutor.java:1158)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-internal/ThreadPoolExecutor.java:632)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(java.base@9-internal/Thread.java:804)
FAILURE: Build failed with an exception.
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.10.3/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Unrecognized option: --add-opens
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with
--scan to get full insights.
* Get more help at https://help.gradle.org
My java version is as follows on Ubuntu 18.04
openjdk version "9-internal"
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)
The list of my sdk packages is very long but they are installed via this link (currently last version of command line tools).
I have set AppOpsX to automatically revoke all permissions on installation of an application. If i install a new application it has all the permissions and can access gps as an example, although it should not have this permission.
If i select options in the "Close permission template automatically" i expect that a new app only gets the permissions deselected in this fragment. Is this assumption right?
I am running LineageOS 15.1 (Builddate: 2019.01.26) on an Samsung Galaxy S9 with Magisk v18.1
Reinstallation does not solve this issue.
关闭了appopsx联网权限就打不开应用的权限列表了。
系统8.1
opsxlib里面的build.gradle 第83行报错
paths.add(file.path.replaceFirst(ignorePrefix,""))
请问应该如何解决呢
比如支持island
I enabled adb tcpip 5555 and ran the script but it still won't recognize the adb. I'm not sure what else to do
APP安装后弹窗自动关闭关闭权限,但是每次关闭权限弹窗后都留在了最近任务,而且点击也不是进入AppOpsX主界面,有点强迫症。希望可以做到supersu类似的弹窗
AppOpsX 1.1.8
Oppo A37m
Android 5.1 (Color OS 3.0.0)
KingRoot
错误代码:
java.lang.SecurityException: uid 2000 does not have android.permission.GET_APP_OPS_STATS.
另外root模式不稳定,刚开始几次可以成功,后来根本打不开权限列表。卸载重装,root兼容模式都不能解决问题。重新root后解决了问题。不知道还能坚持多久。或许是kingroot的问题。
安装好应用,给root权限,安装为系统应用,重启手机之后,不管查看哪个应用的权限,都报这个错
uid 10235 does not have android.permission.GET_APP_OPS_STATS
手机是MIUI9,Android7.0
Because it would be popular on F-Droid. FOSS people are concerned with privacy. You would probably have to remove the umeng 3rd party library, though.
Shell.java new Thread(shellRunnable, "shell").start(); 显示的创建,如果批量执行可能会出现问题
如题,请修复,感谢开发者。
1), 建议自动关闭权限模版采用"勾选=允许(enable), 不选=禁止" 模式, 这样就与权限"开/关"逻辑保持一致. 所见即所设.
目前的模版, "自动关闭模板中选中的权限". 与系统常识相反.
2), 对于没有申请的权限, 建议默认全关闭, 目前是默认全许可.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.