├── .gitmodules
├── README.md
├── README.zh-CN.md
└── docs
├── dependencies.md
├── metadata.json
├── privacy.md
└── screenshots
├── appops.png
└── record.png
/.gitmodules:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ikas-mc/px-app/bac21254668f7fbc6292875a0535146aa6c63eee/.gitmodules
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Invalid App
2 |
3 | For Android 10+, Manage App/App Component(IFW)/Permission/AppOps
4 |
5 | https://github.com/ikas-mc/px-app/wiki
6 |
7 |
8 |
9 |
10 | ## Download
11 | https://github.com/ikas-mc/fdroid-repo
12 |
13 | Note
14 | This app is a personal research app
15 | This app may cause damage to your system or application, Please bear the consequences
16 |
17 | This app requires root or Sui/Shizuku
18 | Root mode does not support running in background, if you need background, Please use Sui/Shizuku
19 | Sui/Shizuku : https://github.com/RikkaApps/Sui
20 |
21 |
22 | ## Rule Repo
23 |
24 | ### Public git repo
25 |
26 | https://github.com/ikas-mc/px-repo
27 | Common rules and templates
28 |
29 | ### Private git repo
30 |
31 | Custom rules, the same structure as the public library
32 | You need create a private repo by yourself
33 |
34 | Private repo uses ssh protocol, add Deploy keys in the github project settings, and then upload the key on the app settings page
35 | https://docs.github.com/v3/guides/managing-deploy-keys/#deploy-keys
36 |
37 |
38 | ## AppOps patch
39 | Android 10+ may modify/synchronize/reset AppOps by default
40 | If you want to independently set the appops, you must prevent this modification behavior of the system
41 |
42 | Ref wiki:https://github.com/ikas-mc/px-app/wiki/AppOps
43 | Note: Only support vanilla system, third-party system have their own modifications
44 |
45 | #### Hook AppOps
46 | Choose one of the following 2 options
47 |
48 | 1. Magisk module
49 | Modify the system service.jar, and then make magisk module
50 | https://github.com/ikas-mc/Prevent-Op-Sync-Patcher
51 |
52 | 2. Xposed module
53 | https://repo.xposed.info/module/ikas.android.projectx.hook.prevent
54 |
55 | #### Config
56 | Open app and go to mode page then check appOps option
57 |
58 | ## ifw
59 |
60 | Note:
61 | Disable some components may cause the system to restart indefinitely and enter recovery mode
62 |
63 | Temporary solution:
64 | https://github.com/ikas-mc/px-app/issues/1
65 |
66 | ## source
67 | Not open source yet
68 | The plug-in source code can refer to:
69 | https://github.com/ikas-mc/Prevent-Op-Sync-Patcher
70 |
--------------------------------------------------------------------------------
/README.zh-CN.md:
--------------------------------------------------------------------------------
1 | # Invalid App
2 |
3 | 安卓10以上,实现op/app/组件管理
4 | https://github.com/ikas-mc/px-app/wiki
5 |
6 |
7 |
8 |
9 | ## 下载
10 | https://github.com/ikas-mc/fdroid-repo
11 |
12 | 注意
13 | 本应用为个人研究性app,不建议普通用户使用
14 | 本应用可能对系统或者应用造成损坏,请自行承担相应后果
15 |
16 | 本应用需要root或者Sui或者Shizuku(adb模式功能受限)
17 | root模式不支持后台运行,如果需要后台运行,请使用Sui/Shizuku
18 | https://github.com/RikkaApps/Sui
19 |
20 |
21 | ## 规则库
22 |
23 | ### 公共库
24 | https://github.com/ikas-mc/px-repo
25 | 通用的规则与模板
26 |
27 | ### 私有库
28 | 自定义规则,与公共库一样的结构,需要自行创建private库
29 | 私有库使用ssh协议,在github项目设置中添加Deploy keys,然后在app设置页面上传key
30 | https://docs.github.com/v3/guides/managing-deploy-keys/#deploy-keys
31 |
32 |
33 | ## AppOps补丁
34 | 安卓10+默认可能会对AppOps进行修改/同步/重置,如果独立控制权限与Appops,必须阻止系统这种默认行为
35 | 具体可以参考wiki:https://github.com/ikas-mc/px-app/wiki/AppOps
36 | 注意:仅针对类原生系统,第三方系统基本都有自己的修改
37 |
38 | #### 拦截所有对AppOps同步与修改(已实现)
39 | 通过magisk module制作补丁或者使用xposed模块
40 |
41 | 1. 通过修改系统service.jar,然后制作magisk module
42 | https://github.com/ikas-mc/Prevent-Op-Sync-Patcher
43 |
44 | 2. xposed模块 (已废弃)
45 | https://repo.xposed.info/module/ikas.android.projectx.hook.prevent
46 |
47 |
48 | #### ~~拦截AppOps的检查方法,采用内置规则(已废弃)~~
49 | 1. ~~xposed模块~~
50 |
51 | #### 替换系统默认的权限控制器,修改内置的同步策略(未实现)
52 |
53 | > 权限控制器
54 | >
55 | > https://source.android.google.cn/devices/architecture/modular-system/permissioncontroller
56 |
57 | ## ifw功能
58 | 禁用某些组件可能导致系统无限重启并进入recovery模式
59 | 临时解决方法:
60 | https://github.com/ikas-mc/px-app/issues/1
61 |
62 | ## 源码
63 | 暂不开源
64 | 插件源码可以参考:
65 | https://github.com/ikas-mc/Prevent-Op-Sync-Patcher
66 |
--------------------------------------------------------------------------------
/docs/dependencies.md:
--------------------------------------------------------------------------------
1 | Fluentui Icons
2 | https://github.com/microsoft/fluentui-system-icons
3 |
4 | Insetter
5 | https://github.com/chrisbanes/insetter/
6 |
7 | Libsu
8 | https://github.com/topjohnwu/libsu
9 |
10 | Librootjava
11 | https://github.com/Chainfire/librootjava
12 |
13 | Glide
14 | https://github.com/bumptech/glide
15 |
16 | Shizuku
17 | https://github.com/RikkaApps/Shizuku-API
18 |
19 | HOCON
20 | https://github.com/lightbend/config
21 |
22 | jgit
23 | https://www.eclipse.org/jgit/
24 |
25 | AppCenter
26 | https://github.com/Microsoft/appcenter
27 |
28 | Pebble Template
29 | https://github.com/PebbleTemplates/pebble
30 |
31 | Material
32 | https://material.io/develop/android
33 |
34 | Jetpack
35 | https://developer.android.com/jetpack
36 |
37 | Android
38 | https://cs.android.com/android/platform/superproject/
39 |
40 | LineageOS
41 | https://github.com/LineageOS
42 |
43 | TinyPinyin
44 | https://github.com/biezhi/TinyPinyin
45 | https://github.com/promeG/TinyPinyin
46 |
47 | okhttp
48 | https://github.com/square/okhttp
49 |
50 | MPAndroidChart
51 | https://github.com/PhilJay/MPAndroidChart
52 |
53 | dependency-management-plugin
54 | https://github.com/spring-gradle-plugins/dependency-management-plugin
--------------------------------------------------------------------------------
/docs/metadata.json:
--------------------------------------------------------------------------------
1 | {
2 | "applicationId": "ikas.android.projectx.application",
3 | "variantName": "release",
4 | "versionCode": 20221003,
5 | "versionName": "2022.10.3",
6 | "outputFile": "InvalidAPP-2022.10.3-release.apk"
7 | }
8 |
--------------------------------------------------------------------------------
/docs/privacy.md:
--------------------------------------------------------------------------------
1 | # Privacy
2 |
3 | ## analytics upload enabled (defalut disabled)
4 |
5 | collect information about your use of the app
6 |
7 | ## crash upload enabled (defalut disabled)
8 |
9 | collect information about crash data of app
10 |
11 | ## analytics and crash upload disabled
12 |
13 | collect nothing
--------------------------------------------------------------------------------
/docs/screenshots/appops.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ikas-mc/px-app/bac21254668f7fbc6292875a0535146aa6c63eee/docs/screenshots/appops.png
--------------------------------------------------------------------------------
/docs/screenshots/record.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ikas-mc/px-app/bac21254668f7fbc6292875a0535146aa6c63eee/docs/screenshots/record.png
--------------------------------------------------------------------------------