GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 完美竣工 · harry1080/linuxKernelRoot@5cd3963

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • PermissionManager
    • .gitignore
    • .idea
      • .gitignore
      • compiler.xml
      • gradle.xml
      • misc.xml
    • app
      • build.gradle
      • proguard-rules.pro
      • src
        • androidTest/java/com/linux/permissionmanager
          • ExampleInstrumentedTest.java
        • main
          • AndroidManifest.xml
          • cpp
            • CMakeLists.txt
            • root.cpp
          • java/com/linux/permissionmanager
            • MainActivity.java
            • Model
              • SelectAppRecyclerItem.java
            • Utils
              • ScreenInfoUtils.java
              • UsbDebugSwitchHelper.java
          • res
            • drawable-v24
              • ic_launcher_foreground.xml
            • drawable
              • ic_launcher_background.xml
            • layout
              • activity_main.xml
            • mipmap-anydpi-v26
              • ic_launcher.xml
              • ic_launcher_round.xml
            • mipmap-hdpi
              • ic_launcher.png
              • ic_launcher.webp
              • ic_launcher_round.png
              • ic_launcher_round.webp
            • mipmap-mdpi
              • ic_launcher.png
              • ic_launcher.webp
              • ic_launcher_round.png
              • ic_launcher_round.webp
            • mipmap-xhdpi
              • ic_launcher.png
              • ic_launcher.webp
              • ic_launcher_round.png
              • ic_launcher_round.webp
            • mipmap-xxhdpi
              • ic_launcher.png
              • ic_launcher.webp
              • ic_launcher_round.png
              • ic_launcher_round.webp
            • mipmap-xxxhdpi
              • ic_launcher.png
              • ic_launcher.webp
              • ic_launcher_round.png
              • ic_launcher_round.webp
            • values-night
              • themes.xml
            • values
              • colors.xml
              • strings.xml
              • themes.xml
        • test/java/com/linux/permissionmanager
          • ExampleUnitTest.java
    • build.gradle
    • gradle.properties
    • gradlew.bat
    • gradlew
    • gradle/wrapper
      • gradle-wrapper.jar
      • gradle-wrapper.properties
    • settings.gradle
  • README.md
  • ScreenCap
    • 0.png
    • 1.png
    • 2.png
    • 3.png
    • 4.png
    • 5.png
    • 6.png
    • 7.png
    • 8.png
  • ida_patch_cmd_creator
    • 3rdparty
      • aarch64-linux-android-as.exe
      • arm-linux-androideabi-as.exe
    • ArmAsmHelper.h
    • IDAPythonScripHelper.h
  • patch_kernel_root
    • empty
  • su
    • adb_su.cpp
    • jni
      • Android.mk
      • simple_su
        • Android.mk
    • log.h
    • root_key_helper.h
    • simple_su.cpp
    • su.cpp
    • su.h
    • su.vcxproj.filters
    • su.vcxproj
  • testRoot
    • README.md
    • adb64_helper.cpp
    • adb64_helper.h
    • init64_helper.h
    • jni
      • Android.mk
    • kernel_root_key.h
    • maps_helper.h
    • myself_path_utils.h
    • process64_inject.cpp
    • process64_inject.h
    • ptrace_arm64_utils.cpp
    • ptrace_arm64_utils.h
    • so_symbol_parser.h
    • su_install_helper.cpp
    • su_install_helper.h
    • testRoot.cpp
    • testRoot.h
    • testRoot.vcxproj.filters
    • testRoot.vcxproj.user
    • testRoot.vcxproj

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎PermissionManager/.gitignore‎

Copy file name to clipboard
+15-15Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
*.iml
2-
.gradle
3-
/local.properties
4-
/.idea/caches
5-
/.idea/libraries
6-
/.idea/modules.xml
7-
/.idea/workspace.xml
8-
/.idea/navEditor.xml
9-
/.idea/assetWizardSettings.xml
10-
.DS_Store
11-
/build
12-
/captures
13-
.externalNativeBuild
14-
.cxx
15-
local.properties
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/caches
5+
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
8+
/.idea/navEditor.xml
9+
/.idea/assetWizardSettings.xml
10+
.DS_Store
11+
/build
12+
/captures
13+
.externalNativeBuild
14+
.cxx
15+
local.properties
Collapse file

‎PermissionManager/.idea/.gitignore‎

Copy file name to clipboardExpand all lines: PermissionManager/.idea/.gitignore
+3Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎PermissionManager/.idea/compiler.xml‎

Copy file name to clipboardExpand all lines: PermissionManager/.idea/compiler.xml
+6Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎PermissionManager/.idea/gradle.xml‎

Copy file name to clipboardExpand all lines: PermissionManager/.idea/gradle.xml
+20Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎PermissionManager/.idea/misc.xml‎

Copy file name to clipboardExpand all lines: PermissionManager/.idea/misc.xml
+21Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎PermissionManager/app/build.gradle‎

Copy file name to clipboard
+52-50Lines changed: 52 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,53 @@
1-
plugins {
2-
id 'com.android.application'
3-
}
4-
5-
android {
6-
compileSdkVersion 29
7-
buildToolsVersion "29.0.3"
8-
9-
defaultConfig {
10-
applicationId "com.linux.permissionmanager"
11-
minSdkVersion 26
12-
targetSdkVersion 29
13-
versionCode 1
14-
versionName "1.0"
15-
16-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
17-
externalNativeBuild {
18-
cmake {
19-
cppFlags "-std=c++17"
20-
abiFilters "arm64-v8a" //需要什么构架的so,就在这边添加即
21-
}
22-
}
23-
}
24-
25-
buildTypes {
26-
release {
27-
minifyEnabled false
28-
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
29-
}
30-
}
31-
externalNativeBuild {
32-
cmake {
33-
path "src/main/cpp/CMakeLists.txt"
34-
version "3.10.2"
35-
}
36-
}
37-
compileOptions {
38-
sourceCompatibility JavaVersion.VERSION_1_8
39-
targetCompatibility JavaVersion.VERSION_1_8
40-
}
41-
}
42-
43-
dependencies {
44-
45-
implementation 'androidx.appcompat:appcompat:1.2.0'
46-
implementation 'com.google.android.material:material:1.3.0'
47-
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
48-
testImplementation 'junit:junit:4.+'
49-
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
50-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
1+
plugins {
2+
id 'com.android.application'
3+
}
4+
5+
android {
6+
compileSdk 31
7+
8+
defaultConfig {
9+
applicationId "com.linux.permissionmanager"
10+
minSdk 23
11+
targetSdk 31
12+
versionCode 1
13+
versionName "1.0"
14+
15+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16+
externalNativeBuild {
17+
cmake {
18+
cppFlags '-std=c++17'
19+
abiFilters "arm64-v8a" //需要什么构架的so,就在这边添加即
20+
}
21+
}
22+
}
23+
24+
buildTypes {
25+
release {
26+
minifyEnabled false
27+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
28+
}
29+
}
30+
compileOptions {
31+
sourceCompatibility JavaVersion.VERSION_1_8
32+
targetCompatibility JavaVersion.VERSION_1_8
33+
}
34+
externalNativeBuild {
35+
cmake {
36+
path file('src/main/cpp/CMakeLists.txt')
37+
version '3.18.1'
38+
}
39+
}
40+
buildFeatures {
41+
viewBinding true
42+
}
43+
}
44+
45+
dependencies {
46+
47+
implementation 'androidx.appcompat:appcompat:1.4.1'
48+
implementation 'com.google.android.material:material:1.5.0'
49+
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
50+
testImplementation 'junit:junit:4.13.2'
51+
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
52+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
5153
}
Collapse file

‎PermissionManager/app/proguard-rules.pro‎

Copy file name to clipboard
+20-20Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# Add project specific ProGuard rules here.
2-
# You can control the set of applied configuration files using the
3-
# proguardFiles setting in build.gradle.
4-
#
5-
# For more details, see
6-
# http://developer.android.com/guide/developing/tools/proguard.html
7-
8-
# If your project uses WebView with JS, uncomment the following
9-
# and specify the fully qualified class name to the JavaScript interface
10-
# class:
11-
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12-
# public *;
13-
#}
14-
15-
# Uncomment this to preserve the line number information for
16-
# debugging stack traces.
17-
#-keepattributes SourceFile,LineNumberTable
18-
19-
# If you keep the line number information, uncomment this to
20-
# hide the original source file name.
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
2121
#-renamesourcefileattribute SourceFile
Collapse file

‎PermissionManager/app/src/androidTest/java/com/linux/permissionmanager/ExampleInstrumentedTest.java‎

Copy file name to clipboard
+25-25Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
package com.linux.permissionmanager;
2-
3-
import android.content.Context;
4-
5-
import androidx.test.platform.app.InstrumentationRegistry;
6-
import androidx.test.ext.junit.runners.AndroidJUnit4;
7-
8-
import org.junit.Test;
9-
import org.junit.runner.RunWith;
10-
11-
import static org.junit.Assert.*;
12-
13-
/**
14-
* Instrumented test, which will execute on an Android device.
15-
*
16-
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
17-
*/
18-
@RunWith(AndroidJUnit4.class)
19-
public class ExampleInstrumentedTest {
20-
@Test
21-
public void useAppContext() {
22-
// Context of the app under test.
23-
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
24-
assertEquals("com.linux.permissionmanager", appContext.getPackageName());
25-
}
1+
package com.linux.permissionmanager;
2+
3+
import android.content.Context;
4+
5+
import androidx.test.platform.app.InstrumentationRegistry;
6+
import androidx.test.ext.junit.runners.AndroidJUnit4;
7+
8+
import org.junit.Test;
9+
import org.junit.runner.RunWith;
10+
11+
import static org.junit.Assert.*;
12+
13+
/**
14+
* Instrumented test, which will execute on an Android device.
15+
*
16+
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
17+
*/
18+
@RunWith(AndroidJUnit4.class)
19+
public class ExampleInstrumentedTest {
20+
@Test
21+
public void useAppContext() {
22+
// Context of the app under test.
23+
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
24+
assertEquals("com.linux.permissionmanager", appContext.getPackageName());
25+
}
2626
}
Collapse file

‎PermissionManager/app/src/main/AndroidManifest.xml‎

Copy file name to clipboardExpand all lines: PermissionManager/app/src/main/AndroidManifest.xml
+9-2Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,20 @@
99
android:roundIcon="@mipmap/ic_launcher_round"
1010
android:supportsRtl="true"
1111
android:theme="@style/Theme.PermissionManager">
12-
<activity android:name="com.linux.permissionmanager.MainActivity">
12+
<activity
13+
android:name=".MainActivity"
14+
android:exported="true">
1315
<intent-filter>
1416
<action android:name="android.intent.action.MAIN" />
1517

1618
<category android:name="android.intent.category.LAUNCHER" />
1719
</intent-filter>
1820
</activity>
1921
</application>
20-
22+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
23+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
24+
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
25+
<uses-permission android:name="android.permission.GET_INSTALLED_APPS"/>
26+
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>
27+
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
2128
</manifest>

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.