Skip to content

Commit

Permalink
Nuke BB & simplify things
Browse files Browse the repository at this point in the history
  • Loading branch information
feravolt committed Aug 24, 2021
1 parent 1b2284b commit 358545e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 22 deletions.
Binary file removed magisk/bin/busybox/busybox
Binary file not shown.
1 change: 1 addition & 0 deletions magisk/flags/fdeai
@@ -0,0 +1 @@
12
8 changes: 5 additions & 3 deletions magisk/initsvc_uperf.sh
Expand Up @@ -11,18 +11,20 @@ wait_until_login()
{
# in case of /data encryption is disabled
while [ "$(getprop sys.boot_completed)" != "1" ]; do
sleep 1
sleep 2
done

# we doesn't have the permission to rw "/sdcard" before the user unlocks the screen
local test_file="/sdcard/Android/.PERMISSION_TEST"
true > "$test_file"
while [ ! -f "$test_file" ]; do
true > "$test_file"
sleep 1
sleep 2
done
rm "$test_file"
}

wait_until_login
sh "$BASEDIR"/run_uperf.sh
sh "$BASEDIR"/script/prepare.sh
sh "$BASEDIR"/script/powercfg_once.sh
sh "$BASEDIR"/script/start_injector.sh
16 changes: 0 additions & 16 deletions magisk/run_uperf.sh

This file was deleted.

3 changes: 0 additions & 3 deletions magisk/script/pathinfo.sh
Expand Up @@ -11,7 +11,4 @@ LOG_FILE="$USER_PATH/log_uperf_initsvc.log"
FLAGS="$MODULE_PATH/flags"
SCRIPT_DIR="$MODULE_PATH/script"
BIN_DIR="$MODULE_PATH/bin"

# use private busybox
PATH="/sbin:/system/sbin:/system/xbin:/system/bin:/vendor/xbin:/vendor/bin"
PATH="$BIN_DIR/busybox:$PATH"

0 comments on commit 358545e

Please sign in to comment.