manager: Add module UI

This commit is contained in:
tiann
2023-01-01 16:51:14 +08:00
parent 00b4025325
commit d6dabf7b24
15 changed files with 375 additions and 23 deletions

View File

@@ -1,2 +0,0 @@
/obj
/libs

View File

@@ -1,7 +0,0 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := su
LOCAL_SRC_FILES := su.c
include $(BUILD_EXECUTABLE)

View File

@@ -1,3 +0,0 @@
APP_ABI := arm64-v8a x86_64
APP_PLATFORM := android-24
APP_STL := none

View File

@@ -1,10 +0,0 @@
#include <unistd.h>
#include <stdlib.h>
#include <sys/prctl.h>
int main(){
int32_t result = 0;
prctl(0xdeadbeef, 0, 0, 0, &result);
system("/system/bin/sh");
return 0;
}