Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
430 commits
Select commit Hold shift + click to select a range
eaa57dc
fix: 修复一例6.1以上内核会出的bug
Jul 5, 2025
d13d6c1
feat: 性能优化,移除无用指令
Jul 9, 2025
dbf7e34
fix: 修复编译错误、兼容Pro版结构
Jul 10, 2025
1560502
fix: 消除警告
Jul 10, 2025
6c1c61d
fix: 去除抛异常
Jul 10, 2025
e1fe23c
fix: 补充兼容Pro版
Jul 11, 2025
b7e68bf
fix: 兼容Pro版本
Jul 11, 2025
7d1da7a
fix: 兼容Pro版
Jul 11, 2025
f230e00
fix: 兼容Pro版本
Jul 13, 2025
80848e8
fix: 编译错误
Jul 17, 2025
458693a
fix: 编译错误
Jul 17, 2025
1b894e7
fix: 修复部分5.x内核无法修补问题
Jul 17, 2025
318a2aa
fix: 修复一些编译问题
Jul 17, 2025
e2d3f46
fix: 修复部分内核无法解析的问题
Jul 17, 2025
1be7048
fix: 结构兼容Pro版本
Jul 24, 2025
c5d246e
fix: 修复内核4.x会死机的问题
Jul 28, 2025
24a8478
Update
Jul 28, 2025
4ca3546
fix: 修复内核4.x会死机的问题
Jul 28, 2025
02cec43
fix: 修复内核4.x会死机的问题
Jul 28, 2025
cf13835
fix: 华为4.x内核无法获取root的问题
Jul 28, 2025
3e257d1
fix: 华为4.x内核无法获取root的问题
Jul 28, 2025
c46bc9f
fix: typo
Jul 29, 2025
7906c06
fix: typo
Jul 30, 2025
486ead2
fix: 减少冗余代码
Aug 3, 2025
bb97328
fix: 写法优化
Aug 4, 2025
9729f79
feat: 仅调整目录结构
Aug 7, 2025
83233eb
feat: 仅调整目录结构
Aug 7, 2025
47f787f
Update 待发布说明.txt
abcz316 Aug 7, 2025
205e67a
feat: 仅调整目录结构
Aug 7, 2025
4aaa34d
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Aug 7, 2025
de9acae
fix: 代码优化,结构调整兼容Pro版本
Aug 8, 2025
a58ba1b
fix: 补充说明
Aug 8, 2025
245164a
fix:修复Linux4.x内核无法解析
Aug 16, 2025
b12c8b3
fix: 更新文档
Aug 17, 2025
a98440a
fix: 代码结构调整,兼容Pro版本
Aug 20, 2025
0a5ba64
fix: 代码结构调整,兼容Pro版本
Aug 20, 2025
bf9e50e
feat: 代码结构调整,兼容Pro版本
Aug 20, 2025
1f92521
feat: 代码结构调整,兼容Pro版本
Aug 20, 2025
f678f51
feat: 代码结构调整,兼容Pro版本
Aug 20, 2025
9e7f323
fix: 代码结构调整,兼容Pro版本
Aug 21, 2025
2dc3ca1
fix: 代码结构调整,兼容Pro版本
Aug 22, 2025
85b322d
feat: 代码结构调整,兼容Pro版本
Aug 22, 2025
852386d
feat: 代码结构调整,兼容Pro版本
Aug 22, 2025
ac4a1c3
feat: 代码结构调整,兼容Pro版本
Aug 22, 2025
2693d2c
feat: 添加解释
Aug 22, 2025
16d16cc
feat: 代码结构调整,兼容Pro版本
Aug 23, 2025
0a3dc3d
feat: 代码结构调整,兼容Pro版本
Aug 23, 2025
e73c633
feat: 代码结构调整,兼容Pro版本
Aug 24, 2025
f2d1efe
feat: 代码结构调整,兼容Pro版本
Sep 17, 2025
e78c124
fix: 修改编译方式,为发布Pro做准备
Sep 23, 2025
940d9a4
Update: README
Sep 23, 2025
d239cfb
fix: 修复crash
Sep 29, 2025
c4bb60c
fix: 修复Linux4.4解析失败的问题
Sep 29, 2025
c54c0fd
feat: 2025年10月1号,累计更新
Oct 1, 2025
cc65160
Update README.md
abcz316 Oct 1, 2025
5543f63
feat: 2025年10月1号,累计更新
Oct 1, 2025
23b2326
Update README.md
abcz316 Oct 1, 2025
f56e287
fix: 修复细节bug
Oct 4, 2025
9a74522
fix: 修复部分内核解析SELinux出错
Oct 11, 2025
6af475a
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Oct 11, 2025
0f0ef67
fix: 修复部分内核解析SELinux出错
Oct 11, 2025
9698a0f
feat: 累计更新2025年11月6号
Nov 7, 2025
1266a39
feat: 累计更新2025年11月6号
Nov 7, 2025
f1176c4
feat: 适配Linux6.12
Nov 10, 2025
b422ec8
feat: 适配Linux6.12
Nov 10, 2025
c2bf6b5
feat: 修复Pro版本Linux4.x机型兼容性
Nov 12, 2025
a2c7a82
feat: 优化功能,去除冗余代码
Nov 13, 2025
81bd13c
feat: 调整目录解释文本
Nov 13, 2025
9282e71
fix: 修复Linux 4.19.81存在的bug
Nov 14, 2025
7b5155a
feat: 更新Pro版本1.0.2
Nov 15, 2025
e8e16b5
feat: 更新Pro版本1.0.3,修复大量bug。
Nov 17, 2025
5fa93c0
feat: 更新Pro版本1.0.3
Nov 17, 2025
db9be7e
feat: 添加Pro版本1.0.3注释
Nov 17, 2025
ac815cc
feat: 更新Pro版本1.0.3
Nov 17, 2025
ce52651
Update SKRoot(Pro)功能介绍.txt
abcz316 Nov 17, 2025
00a1251
feat: 更新1.0.3版本注释
Nov 17, 2025
828a9f4
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Nov 17, 2025
892ae5f
feat: 更新Pro版本1.0.3注释
Nov 17, 2025
83441e1
feat: 更新Lite版本,优化写法
Nov 21, 2025
afd05e3
feat: 更新Pro版本2.0.0,修复安全性问题
Nov 21, 2025
2fe60e5
Update README.md
abcz316 Nov 21, 2025
9eb8626
Update README.md
abcz316 Nov 21, 2025
475c826
Update README.md
abcz316 Nov 21, 2025
d474fb0
feat: 更新Lite版本文案
Nov 21, 2025
c8364f3
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Nov 21, 2025
cd6b39b
feat: 更新Pro版本3.0.3
Nov 25, 2025
bd77feb
feat: Pro版本更新3.0.6,解決大部分死机问题
Nov 28, 2025
b4cfdc1
feat: 修复bug、支持Linux跨平台编译
Dec 8, 2025
bb3d4cd
feat: 修复bug、支持Linux跨平台编译
Dec 9, 2025
b8f1184
feat: Pro更新4.0.7版本,修复大量问题
Dec 9, 2025
6530bca
feat: Pro更新4.1.0,集成TS模块、修复大量bug
Dec 14, 2025
572c4da
feat: Pro版本更新4.1.3,修复部分接口死机
Dec 15, 2025
f122547
feat: Pro版本更新4.1.3,修复部分接口死机
Dec 15, 2025
982e374
fix: Lite版本,修复su部分命令无法执行的问题。
Dec 15, 2025
ed5169f
fix: Lite版本,修复su部分命令无法执行的问题。
Dec 15, 2025
ef7a408
feat: 优化写法
Dec 22, 2025
98f1e2f
feat: 优化代码结构
Dec 25, 2025
fe25930
feat: Pro版本更新4.1.6,修复大量问题
Dec 25, 2025
6944bb4
feat: Pro版本更新4.1.7,修复审计日志残留痕迹
Dec 26, 2025
b07e699
feat: Pro版本更新4.1.8,修复大量问题。
Dec 29, 2025
b9d8da4
feat: Pro版本更新4.2.0,修复大量问题。
Dec 29, 2025
eb00377
feat: Pro版本更新4.2.0,修复大量问题。
Dec 29, 2025
b633d80
Update README.md
abcz316 Dec 29, 2025
f99a227
feat: Pro版本更新4.2.0,修复大量问题。
Dec 29, 2025
312d090
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Dec 29, 2025
33445b9
feat: Pro版本更新4.2.0,修复大量问题。
Dec 30, 2025
f2b8658
fix: 修复审计日志残留痕迹
Jan 6, 2026
dc8f358
Update README.md
abcz316 Jan 6, 2026
08510b6
fix: 修复审计日志残留痕迹
Jan 6, 2026
0c54149
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Jan 6, 2026
5b21d47
Update README.md
abcz316 Jan 6, 2026
bdffd3a
Update README.md
abcz316 Jan 10, 2026
e78011e
Update README.md
abcz316 Jan 10, 2026
79329d1
Update README.md
abcz316 Jan 10, 2026
fbc44d0
Update README.md
abcz316 Jan 10, 2026
7de3921
Update README.md
abcz316 Jan 10, 2026
5f06467
feat: Pro版本更新4.2.2,新增大量功能
Jan 20, 2026
454dc07
feat: Pro版本更新4.2.2,新增大量功能
Jan 20, 2026
3ac53fd
feat: Pro版本更新4.2.3,新增大量功能
Jan 20, 2026
d1deab4
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Jan 20, 2026
5c1e798
feat: Pro版本更新4.2.3,新增大量功能
Jan 20, 2026
62aafc2
Update README.md
abcz316 Jan 28, 2026
558950c
fix: 优化代码结构
Jan 29, 2026
c9b1d39
feat: 添加说明
Jan 29, 2026
2a8636e
feat: 更名
Jan 29, 2026
3993ef5
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Jan 29, 2026
17c6ebe
feat: 更名
Jan 30, 2026
9b79684
feat: 更名
Jan 30, 2026
bd26bae
feat: 更新Pro版本4.2.5 新增大量功能
Feb 12, 2026
870d166
feat: 更新Pro版本4.2.5 新增大量功能
Feb 12, 2026
ca51773
Update README.md
abcz316 Feb 12, 2026
b2f41df
Update README.md
abcz316 Feb 12, 2026
0c089d0
feat: 更新Pro版本4.2.5 新增大量功能
Feb 15, 2026
d6060b1
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Feb 15, 2026
1816a04
feat: 更新Pro版本4.2.5 新增大量功能
Feb 16, 2026
ded56d5
feat: 更新Pro版本4.2.5 新增大量功能
Feb 16, 2026
7e7b872
feat: 更新Pro版本4.2.5 新增大量功能
Feb 16, 2026
9e52036
feat: 更新Pro版本4.2.6 新增大量功能
Feb 19, 2026
e303e33
feat: 更新Pro版本4.2.6 新增大量功能
Feb 20, 2026
18a8ee8
feat: 更新Pro版本4.2.6 新增大量功能
Feb 20, 2026
d565112
feat: 修复su无法独立后台运行的问题
Feb 25, 2026
fadceb2
fix: 修复su无法独立后台运行的问题
Feb 25, 2026
65a66e9
Update README.md
abcz316 Feb 27, 2026
bc3712a
Update README.md
abcz316 Feb 27, 2026
f5d1d02
feat: 更新Pro版本4.2.6 新增大量功能
Feb 28, 2026
b9daaad
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Feb 28, 2026
683360b
Update README.md
abcz316 Mar 1, 2026
0a9b332
feat: 更新Pro版本4.2.7,修复bug
Mar 3, 2026
c5e2b52
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Mar 3, 2026
b37982a
Update README.md
abcz316 Mar 3, 2026
3fb62ee
Update README.md
abcz316 Mar 3, 2026
f8952c2
feat: 更新Pro版本4.2.7,修复bug
Mar 3, 2026
5dc3196
Update README.md
abcz316 Mar 3, 2026
be7968b
Update README.md
abcz316 Mar 3, 2026
d072225
Update README.md
abcz316 Mar 3, 2026
57ff13a
Update README.md
abcz316 Mar 3, 2026
104d19a
Update README.md
abcz316 Mar 3, 2026
c866669
Update README.md
abcz316 Mar 3, 2026
637d24b
Update README.md
abcz316 Mar 3, 2026
e5f911d
Update README.md
abcz316 Mar 3, 2026
8713a96
Update README.md
abcz316 Mar 3, 2026
151fb85
Update README.md
abcz316 Mar 3, 2026
0e1102e
feat: 更新Pro版本4.2.7,修复bug
Mar 3, 2026
9f05322
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Mar 3, 2026
60a15dc
feat: 更新Pro版本4.2.7,修复bug
Mar 3, 2026
8baca49
Update README.md
abcz316 Mar 4, 2026
76a5b3f
Update README.md
abcz316 Mar 4, 2026
e4f39db
Update README.md
abcz316 Mar 4, 2026
5e6d3c2
Update README.md
abcz316 Mar 4, 2026
a15d5fa
Update README.md
abcz316 Mar 4, 2026
9c72e95
Update README.md
abcz316 Mar 4, 2026
19e1cc1
fix: 累计更新2026-03
Mar 8, 2026
6678a4e
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Mar 8, 2026
cf0c623
fix: 累计更新2026-03
Mar 8, 2026
dc93a0a
feat: 更新Pro版本4.2.7,修复bug
Mar 8, 2026
9360473
Update README.md
abcz316 Mar 8, 2026
4144024
fix: 修复Linux6.12解析失败的问题
Mar 10, 2026
e18770a
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Mar 10, 2026
93dcf42
Update README.md
abcz316 Mar 10, 2026
14fb6db
fix: 修复Linux6.12解析失败的问题
Mar 10, 2026
e5781e5
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Mar 10, 2026
35f2801
fix: 修复Linux6.x无法解析的问题
Mar 11, 2026
a9bbc99
Update README.md
abcz316 Mar 11, 2026
bf9a2cb
Update README.md
abcz316 Mar 11, 2026
b3b292a
feat: clear history
Mar 20, 2026
1204023
fix: 修复部分Linux4.x内核会死机的问题
Mar 20, 2026
e396100
feat: 更新Pro版本4.2.7,修复bug
Mar 20, 2026
045c11e
Update README.md
abcz316 Mar 20, 2026
997f7a5
Update README.md
abcz316 Mar 20, 2026
70143ef
Update README.md
abcz316 Mar 20, 2026
508f1b0
Update README.md
abcz316 Mar 20, 2026
632ec44
fix: 修复部分Linux4.x内核会死机的问题
Mar 20, 2026
b18fb1d
Update README.md
abcz316 Mar 20, 2026
3f734a0
Update README.md
abcz316 Mar 20, 2026
0ea44ef
fix: 修复部分Linux4.x内核会死机的问题
Mar 20, 2026
00c9c24
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Mar 20, 2026
12f10f6
fix: 修复部分Linux4.x内核会死机的问题
Mar 20, 2026
7c3c78e
Update README.md
abcz316 Mar 20, 2026
2f82bc4
Update README.md
abcz316 Mar 21, 2026
69ba999
feat: Pro版本更新4.2.9,新增热启动模式,一加可解决momo调试环境
Mar 24, 2026
433ad90
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Mar 24, 2026
45185e2
feat: Pro版本更新4.3.0,新增越狱免解支持,一加可解决momo调试环境
Mar 25, 2026
8010d83
feat: Pro版本更新4.3.0,新增越狱免解支持,一加可解决momo调试环境
Mar 25, 2026
d07b179
feat: Pro版本更新4.3.0,支持越狱,一加可解决momo调试环境
Mar 26, 2026
6cf4aca
fix: 优化写法
Mar 26, 2026
4f8db3d
Update README.md
abcz316 Mar 30, 2026
c78c8fb
Update README.md
abcz316 Mar 30, 2026
1a3ac30
Update README.md
abcz316 Mar 30, 2026
ddce618
Update README.md
abcz316 Mar 30, 2026
9229b9b
Update README.md
abcz316 Mar 30, 2026
3e7f212
Update README.md
abcz316 Mar 30, 2026
956550a
Update README.md
abcz316 Mar 30, 2026
ba767aa
Update README.md
abcz316 Mar 30, 2026
3c5a97b
Update README.md
abcz316 Mar 30, 2026
c4d3f60
Update README.md
abcz316 Mar 30, 2026
878740b
fix: 修复Linux4.x内核反馈的bug
Mar 31, 2026
c3aaefa
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Mar 31, 2026
9eb9782
Update README.md
abcz316 Mar 31, 2026
734c473
Update README.md
abcz316 Mar 31, 2026
87ad37b
Update README.md
abcz316 Mar 31, 2026
3089183
Update README.md
abcz316 Mar 31, 2026
cd40fcb
Update README.md
abcz316 Mar 31, 2026
111dc90
feat: Pro版本更新4.3.1,修复一些痕迹安全问题
Apr 2, 2026
1a4e3ee
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Apr 2, 2026
8ed7456
fix: 修复一些特殊情况下会死机的问题。
Apr 2, 2026
2e1578e
Update README.md
abcz316 Apr 3, 2026
d6b34fb
Update README.md
abcz316 Apr 3, 2026
495736e
Update README.md
abcz316 Apr 3, 2026
ffccf36
Update README.md
abcz316 Apr 4, 2026
6020903
Update README.md
abcz316 Apr 4, 2026
38722f5
Update README.md
abcz316 Apr 4, 2026
e6ef365
Update README.md
abcz316 Apr 4, 2026
d88334f
Update README.md
abcz316 Apr 4, 2026
c7e8ba3
Update README.md
abcz316 Apr 4, 2026
acd9753
feat: Pro版本更新4.3.2,升级【隐蔽的终端】模块
Apr 6, 2026
00d6db7
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Apr 6, 2026
3c01088
feat: Pro版本更新4.3.2,升级【隐蔽的终端】模块
Apr 6, 2026
07e5bd3
feat: Pro版本更新4.3.2,升级【隐蔽的终端】模块
Apr 6, 2026
d96c440
feat: Pro版本更新4.3.3,修复/data/data不能浏览的问题
Apr 7, 2026
95a3663
feat: Pro版本更新4.3.3,修复/data/data不能浏览的问题
Apr 8, 2026
3132017
fix: 累计修复bug版本2026-4-8
Apr 8, 2026
853185a
Update README.md
abcz316 Apr 8, 2026
9f067be
feat: Pro版本更新4.3.3,升级模块
Apr 10, 2026
e0493af
Merge branch 'master' of https://github.com/abcz316/SKRoot-linuxKerne…
Apr 10, 2026
c5be1ed
feat: Pro版本更新4.3.3,升级模块
Apr 10, 2026
35fe01f
feat: Pro版本更新4.3.3,升级模块
Apr 10, 2026
63356a8
feat: Pro版本更新4.3.3,升级模块
Apr 10, 2026
70d86a1
Update README.md
abcz316 Apr 11, 2026
a385267
Update README.md
abcz316 Apr 11, 2026
c315e4f
Update README.md
abcz316 Apr 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added Lite_version/SKRoot_Lite(2026-4-8).apk
Binary file not shown.
Binary file added Lite_version/patch_kernel_root(2026-4-8).exe
Binary file not shown.
16 changes: 16 additions & 0 deletions Lite_version/src/PermissionManager/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
*.iml
.idea
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
1 change: 1 addition & 0 deletions Lite_version/src/PermissionManager/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
53 changes: 53 additions & 0 deletions Lite_version/src/PermissionManager/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
plugins {
id 'com.android.application'
}

android {
compileSdk 31

defaultConfig {
applicationId "com.linux.permissionmanager"
minSdk 26
targetSdk 31
versionCode 1
versionName "2026-4-8"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
externalNativeBuild {
cmake {
cppFlags '-std=c++20'
abiFilters "arm64-v8a"
}
}
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
externalNativeBuild {
cmake {
path file('src/main/cpp/CMakeLists.txt')
version '3.18.1'
}
}
buildFeatures {
viewBinding true
}
}

dependencies {

implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}
21 changes: 21 additions & 0 deletions Lite_version/src/PermissionManager/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package com.linux.permissionmanager;

import android.content.Context;

import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.linux.permissionmanager", appContext.getPackageName());
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.linux.permissionmanager">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.PermissionManager">
<activity
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.GET_INSTALLED_APPS"/>
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
</manifest>
59 changes: 59 additions & 0 deletions Lite_version/src/PermissionManager/app/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# For more information about using CMake with Android Studio, read the
# documentation: https://d.android.com/studio/projects/add-native-code.html

# Sets the minimum version of CMake required to build the native library.

cmake_minimum_required(VERSION 3.18.1)

# Declares and names the project.

project("permissionmanager")

set(OTHER_SRC
"${CMAKE_CURRENT_SOURCE_DIR}/cJSON.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/native-lib.cpp"
)
# Creates and names a library, sets it as either STATIC
# or SHARED, and provides the relative paths to its source code.
# You can define multiple libraries, and CMake builds them for you.
# Gradle automatically packages shared libraries with your APK.

add_library( # Sets the name of the library.
permissionmanager

# Sets the library as a shared library.
SHARED

# Provides a relative path to your source file(s).
${OTHER_SRC})

# Searches for a specified prebuilt library and stores the path as a
# variable. Because CMake includes system libraries in the search path by
# default, you only need to specify the name of the public NDK library
# you want to add. CMake verifies that the library exists before
# completing its build.

find_library( # Sets the name of the path variable.
log-lib

# Specifies the name of the NDK library that
# you want CMake to locate.
log)

# Specifies libraries CMake should link to your target library. You
# can link multiple libraries, such as libraries you define in this
# build script, prebuilt third-party libraries, or system libraries.

target_include_directories(
permissionmanager
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/../../../../../testRoot/
)

target_link_libraries( # Specifies the target library.
permissionmanager

# Links the target library to the log library
# included in the NDK.
${CMAKE_CURRENT_SOURCE_DIR}/../../../../../testRoot/kernel_root_kit/lib/libkernel_root_kit_static.a
${log-lib})
Loading