[Android Software/Hacking General [Developers Only]] Saerayne:
system performance enhancer for android v0.0.7

mpengine status: not running

audiofix status: not running

current scheduling features list:

GENTLE_FAIR_SLEEPERS is ON.

START_DEBIT is ON.

AFFINE_WAKEUPS is ON.

system performance enhancer for android v0.0.7

mpengine status: not running

audiofix status: not running

current scheduling features list:

GENTLE_FAIR_SLEEPERS is OFF.

START_DEBIT is OFF.

AFFINE_WAKEUPS is OFF.

NEXT_BUDDY is OFF.

LAST_BUDDY is OFF.

system performance enhancer for android v0.0.7

mpengine status: not running

audiofix status: not running

current scheduling features list:

GENTLE_FAIR_SLEEPERS is OFF.

system performance enhancer for android v0.0.7

mpengine status: not running

audiofix status: not running

current scheduling features list:

GENTLE_FAIR_SLEEPERS is OFF.

START_DEBIT is OFF.

AFFINE_WAKEUPS is OFF.

NEXT_BUDDY is OFF. LAST_BUDDY is OFF.

CACHE_HOT_BUDDY is OFF. ARCH_POWER is OFF.

HRTICK is OFF.

DOUBLE_TICK is OFF.

LB_BIAS is OFF.

OWNER_SPIN is OFF.

NONTASK_POWER is OFF. TTWU_QUEUE is OFF.

FORCE_SD_OVERLAP is OFF. RT_RUNTIME_SHARE is OFF. LB_MIN is OFF.

looks like the mod is already installed.

--------------------------------------------------------------------select an option:

1)disable everything(speedhack!)

2)set the tweak on boot(init with few extra tweaks & mpengine)

3)run mpengine in the background 4)run audiofix in the background

5)restore list/uninstall

6)refresh list

q)exit

q

====================================================================check out 'flag_tuner' by Pizza_Dox@xda, highly recommended for perfect combination!:D

localhost / # sched_tuner --verbose

++ shift

++ [[ '' != --debug ]]

++ [[ '' != --verbose ]]

++ [[ '' != --supass ]]

++ [[ '' != --bbpass ]]

++ [[ '' != --urand ]]

++ [[ '' != --invrand ]]

++ [[ '' != --renice ]]

++ [[ '' != --install ]]

++ readonly version=0.0.7

++ version=0.0.7

+++ basename /system/bin/sched_tuner

++ readonly BASE_NAME=sched_tuner

++ BASE_NAME=sched_tuner

+++ sed 's/\..*//'

+++ echo sched_tuner

++ readonly NO_EXTENSION=sched_tuner

++ NO_EXTENSION=sched_tuner

++ readonly backup_PATH=/system/bin:/system/xbin

++ backup_PATH=/system/bin:/system/xbin

+++ sed 's/^\.//'

+++ dirname /system/bin/sched_tuner

++ readonly set_PATH=/system/bin

++ set_PATH=/system/bin

+++ pwd

++ readonly set_PATH2=/

++ set_PATH2=/

++ [[ -n /system/bin ]]

+++ ls /

++++ sed 's/\//\n/g'

++++ echo /system/bin

++++ head -n2

++++ sed ':a;N;s/\n//g;ba'

+++ grep system

++ [[ -n system ]]

++ export PATH=/system/bin:/system/bin:/system/xbin

++ PATH=/system/bin:/system/bin:/system/xbin

+++ which sched_tuner

++ reg_name=/system/bin/sched_tuner

++ [[ ! -n /system/bin/sched_tuner ]]

+++ dirname /system/bin/sched_tuner

+++ sed 's/^\.//'

++ readonly DIR_NAME=/system/bin

++ DIR_NAME=/system/bin

++ export PATH=/system/bin:/system/xbin

++ PATH=/system/bin:/system/xbin

+++ echo /system/bin/sched_tuner

++ readonly FULL_NAME=/system/bin/sched_tuner

++ FULL_NAME=/system/bin/sched_tuner

+++ print_PARTIAL_DIR_NAME 1

++++ echo /system/bin

++++ sed ':a;N;s/\n/\//g;ba'

++++ sed 's/\//\n/g'

++++ head -n2

+++ echo /system

++ readonly ROOT_DIR=/system

++ ROOT_DIR=/system

++ [[ 1 == 1 ]]

++ [[ ! -n /system/xbin/bash ]]

++ set +e

++ cmd1=dirname

++ cmd2=basename

++ cmd3=ls

++ cmd4=grep

++ cmd5=head

++ cmd6=awk

++ cmd7=cat

++ cmd8=pgrep

++ cmd9=ps

++ cmd10=cp

++ cmd11=cut

++ cmd=

++ silent_mode=

++ bb_check=

++ su_check=

++ Roll_Down

++ local return

++ [[ 1 == 1 ]]

++ bb_apg_2

++ [[ '' == -f ]]

++ [[ '' == -g ]]

++ [[ '' == 1 ]]

++ [[ '' == 1 ]]

++ bb_check=0

++ local n i busyboxloc busyboxenv fail

++ [[ '' == 1 ]]

++ [[ '' == 1 ]]

++ return=0

++ [[ 0 -ne 0 ]]

++ [[ 1 == 1 ]]

++ as_root

++ bb_apg_2 -f id grep sed

++ [[ -f == -f ]]

++ shift

++ used_fopt=1

++ [[ 1 == 1 ]]

++ silent_mode=1

++ [[ -n 224 ]]

++ [[ 224 -lt 0 ]]

+++ seq -s ' $cmd' 0 224

+++ sed 's/^0//'

++ for i in '$(seq -s '\'' $cmd'\'' 0 $cmd | sed '\''s/^0//'\'')'

+++ eval echo '$cmd1'

++++ echo dirname

++ v=dirname

+++ echo '$cmd1'

+++ sed 's/^\$//'

++ x=cmd1

++ export cmd1=dirname

++ cmd1=dirname

++ [[ -n dirname ]]

++ unset cmd1

++ for i in '$(seq -s '\'' $cmd'\'' 0 $cmd | sed '\''s/^0//'\'')'

+++ eval echo '$cmd2'

++++ echo basename

++ v=basename

+++ echo '$cmd2'

+++ sed 's/^\$//'

++ x=cmd2

++ export cmd2=basename

++ cmd2=basename

++ [[ -n basename ]]

++ unset cmd2

++ for i in '$(seq -s '\'' $cmd'\'' 0 $cmd | sed '\''s/^0//'\'')'

+++ eval echo '$cmd3'

++++ echo ls

++ v=ls

+++ echo '$cmd3'

+++ sed 's/^\$//'

++ x=cmd3

++ export cmd3=ls

++ cmd3=ls

++ [[ -n ls ]]

++ unset cmd3

++ for i in '$(seq -s '\'' $cmd'\'' 0 $cmd | sed '\''s/^0//'\'')'

+++ eval echo '$cmd4'

++++ echo grep

++ v=grep

+++ echo '$cmd4'

+++ sed 's/^\$//'

++ x=cmd4

++ export cmd4=grep

++ cmd4=grep

++ [[ -n grep ]]

++ unset cmd4

++ for i in '$(seq -s '\'' $cmd'\'' 0 $cmd | sed '\''s/^0//'\'')'

+++ eval echo '$cmd5'

++++ echo head

++ v=head

+++ echo '$cmd5'

+++ sed 's/^\$//'

++ x=cmd5

++ export cmd5=head

++ cmd5=head

++ [[ -n head ]]

++ unset cmd5

++ for i in '$(seq -s '\'' $cmd'\'' 0 $cmd | sed '\''s/^0//'\'')'

+++ eval echo '$cmd6'

++++ echo awk

++ v=awk

+++ sed 's/^\$//'

+++ echo '$cmd6'

++ x=cmd6

++ export cmd6=awk

++ cmd6=awk

++ [[ -n awk ]]

++ unset cmd6

++ for i in '$(seq -s '\'' $cmd'\'' 0 $cmd | sed '\''s/^0//'\'')'

+++ eval echo '$cmd7'

++++ echo cat

++ v=cat

+++ echo '$cmd7'

+++ sed 's/^\$//'

++ x=cmd7

++ export cmd7=cat

++ cmd7=cat

++ [[ -n cat ]]

++ unset cmd7

++ for i in '$(seq -s '\'' $cmd'\'' 0 $cmd | sed '\''s/^0//'\'')'

+++ eval echo '$cmd8'

++++ echo pgrep

++ v=pgrep

+++ echo '$cmd8'

+++ sed 's/^\$//'

++ x=cmd8

++ export cmd8=pgrep

++ cmd8=pgrep

++ [[ -n pgrep ]]

++ unset cmd8

++ for i in '$(seq -s '\'' $cmd'\'' 0 $cmd | sed '\''s/^0//'\'')'

+++ eval echo '$cmd9'

++++ echo ps

++ v=ps

+++ echo '$cmd9'

+++ sed 's/^\$//'

++ x=cmd9

++ export cmd9=ps

++ cmd9=ps

++ [[ -n ps ]]

++ unset cmd9

++ for i in '$(seq -s '\'' $cmd'\'' 0 $cmd | sed '\''s/^0//'\'')'

+++ eval echo '$cmd10'

++++ echo cp

++ v=cp

+++ echo '$cmd10'

+++ sed 's/^\$//'

++ x=cmd10

++ export cmd10=cp

++ cmd10=cp

++ [[ -n cp ]]

++ unset cmd10

++ for i in '$(seq -s '\'' $cmd'\'' 0 $cmd | sed '\''s/^0//'\'')'

+++ eval echo '$cmd11'

++++ echo cut

++ v=cut

+++ echo '$cmd11'

+++ sed 's/^\$//'

++ x=cmd11

++ export cmd11=cut

++ cmd11=cut

++ [[ -n cut ]]

++ unset cmd11

++ for i in '$(seq -s '\'' $cmd'\'' 0 $cmd | sed '\''s/^0//'\'')'

+++ eval echo '$cmd12'

++++ echo

++ v=

+++ echo '$cmd12'

+++ sed 's/^\$//'

++ x=cmd12

++ export cmd12=

++ cmd12=

++ [[ -n '' ]]

++ break

+++ seq 1 224

++ for j in '$(seq 1 $cmd)'

++ [[ ! -n id ]]

++ export cmd1=id

++ cmd1=id

++ shift

++ for j in '$(seq 1 $cmd)'

++ [[ ! -n grep ]]

++ export cmd2=grep

++ cmd2=grep

++ shift

++ for j in '$(seq 1 $cmd)'

++ [[ ! -n sed ]]

++ export cmd3=sed

++ cmd3=sed

++ shift

++ for j in '$(seq 1 $cmd)'

++ [[ ! -n '' ]]

++ break

++ export cmd=4

++ cmd=4

++ bb_check=0

++ local n i busyboxloc busyboxenv fail

++ [[ '' == 1 ]]

++ [[ '' == 1 ]]

++ [[ 0 == 1 ]]

++ su_check=0

+++ id

+++ sed 's/ /\n/g'

+++ sed 's/(/ /g'

+++ grep uid

+++ sed s/uid=//g

++ [[ 0 != 0 ]]

++ return=0

++ [[ 0 -ne 0 ]]

++ [[ 0 == 1 ]]

++ [[ 0 == 1 ]]

++ CUSTOM_DIR=/data/log

++ [[ ! -f /sys/kernel/debug/sched_features ]]

++ mount -o remount,rw rootfs

++ mount -o remount,rw /system

+++ cat /sys/kernel/debug/sched_features

++ detect_feature NO_GENTLE_FAIR_SLEEPERS NO_START_DEBIT NO_AFFINE_WAKEUPS NO_NEXT_BUDDY NO_LAST_BUDDY NO_CACHE_HOT_BUDDY NO_ARCH_POWER NO_HRTICK NO_DOUBLE_TICK NO_LB_BIAS NO_OWNER_SPIN NO_NONTASK_POWER NO_TTWU_QUEUE NO_FORCE_SD_OVERLAP NO_RT_RUNTIME_SHARE NO_LB_MIN

++ [[ '' == 1 ]]

++ n_cycle=0

++ for i in '$@'

++ n_cycle=1

++ export mslot1=NO_GENTLE_FAIR_SLEEPERS

++ mslot1=NO_GENTLE_FAIR_SLEEPERS

++ for i in '$@'

++ n_cycle=2

++ export mslot2=NO_START_DEBIT

++ mslot2=NO_START_DEBIT

++ for i in '$@'

++ n_cycle=3

++ export mslot3=NO_AFFINE_WAKEUPS

++ mslot3=NO_AFFINE_WAKEUPS

++ for i in '$@'

++ n_cycle=4

++ export mslot4=NO_NEXT_BUDDY

++ mslot4=NO_NEXT_BUDDY

++ for i in '$@'

++ n_cycle=5

++ export mslot5=NO_LAST_BUDDY

++ mslot5=NO_LAST_BUDDY

++ for i in '$@'

++ n_cycle=6

++ export mslot6=NO_CACHE_HOT_BUDDY

++ mslot6=NO_CACHE_HOT_BUDDY

++ for i in '$@'

++ n_cycle=7

++ export mslot7=NO_ARCH_POWER

++ mslot7=NO_ARCH_POWER

++ for i in '$@'

++ n_cycle=8

++ export mslot8=NO_HRTICK

++ mslot8=NO_HRTICK

++ for i in '$@'

++ n_cycle=9

++ export mslot9=NO_DOUBLE_TICK

++ mslot9=NO_DOUBLE_TICK

++ for i in '$@'

++ n_cycle=10

++ export mslot10=NO_LB_BIAS

++ mslot10=NO_LB_BIAS

++ for i in '$@'

++ unset notapplied

++ echo 'system performance enhancer for android v0.0.7

'

system performance enhancer for android v0.0.7

++ backup_feature

++ [[ -n /storage/emulated/legacy ]]

++ [[ ! -f /storage/emulated/legacy/sched_tuner/init.bak ]]

++ external=/storage/emulated/legacy/sched_tuner

++ [[ ! -f /storage/emulated/legacy/sched_tuner/mpengine_pid ]]

++ [[ ! -f /storage/emulated/legacy/sched_tuner/singlecorefix_pid ]]++ [[ 0 != 0 ]]

+++ ps

+++ grep '{sched_tuner_tas}'

+++ grep -v grep

+++ awk '{print $1}'

++ appliedonboot=

++ [[ -n '' ]]

+++ cat /storage/emulated/legacy/sched_tuner/mpengine_pid

++ [[ 22961 != null ]]

+++ ps

+++ grep -v grep

++++ cat /storage/emulated/legacy/sched_tuner/mpengine_pid

+++ grep 22961

++ [[ -n '' ]]

++ echo -e 'mpengine status: \e[1;31mnot running\e[0m'

mpengine status: not running

+++ cat /storage/emulated/legacy/sched_tuner/singlecorefix_pid

++ [[ null != null ]]

++ echo -e 'audiofix status: \e[1;31mnot running\e[0m'

audiofix status: not running

++ echo current scheduling features list:

current scheduling features list:

+++ cat /sys/kernel/debug/sched_features

++ detect_feature NO_GENTLE_FAIR_SLEEPERS NO_START_DEBIT NO_AFFINE_WAKEUPS NO_NEXT_BUDDY NO_LAST_BUDDY NO_CACHE_HOT_BUDDY NO_ARCH_POWER NO_HRTICK NO_DOUBLE_TICK NO_LB_BIAS NO_OWNER_SPIN NO_NONTASK_POWER NO_TTWU_QUEUE NO_FORCE_SD_OVERLAP NO_RT_RUNTIME_SHARE NO_LB_MIN

++ [[ '' == 1 ]]

++ n_cycle=0

++ for i in '$@'

++ n_cycle=1

++ export mslot1=NO_GENTLE_FAIR_SLEEPERS

++ mslot1=NO_GENTLE_FAIR_SLEEPERS

++ for i in '$@'

++ n_cycle=2

++ export mslot2=NO_START_DEBIT

++ mslot2=NO_START_DEBIT

++ for i in '$@'

++ n_cycle=3

++ export mslot3=NO_AFFINE_WAKEUPS

++ mslot3=NO_AFFINE_WAKEUPS

++ for i in '$@'

++ n_cycle=4

++ export mslot4=NO_NEXT_BUDDY

++ mslot4=NO_NEXT_BUDDY

++ for i in '$@'

++ n_cycle=5

++ export mslot5=NO_LAST_BUDDY

++ mslot5=NO_LAST_BUDDY

++ for i in '$@'

++ n_cycle=6

++ export mslot6=NO_CACHE_HOT_BUDDY

++ mslot6=NO_CACHE_HOT_BUDDY

++ for i in '$@'

++ n_cycle=7

++ export mslot7=NO_ARCH_POWER

++ mslot7=NO_ARCH_POWER

++ for i in '$@'

++ n_cycle=8

++ export mslot8=NO_HRTICK

++ mslot8=NO_HRTICK

++ for i in '$@'

++ n_cycle=9

++ export mslot9=NO_DOUBLE_TICK

++ mslot9=NO_DOUBLE_TICK

++ for i in '$@'

++ n_cycle=10

++ export mslot10=NO_LB_BIAS

++ mslot10=NO_LB_BIAS

++ for i in '$@'

++ n_cycle=11

++ export mslot11=NO_OWNER_SPIN

++ mslot11=NO_OWNER_SPIN

++ for i in '$@'

++ n_cycle=12

++ export mslot12=NO_NONTASK_POWER

++ mslot12=NO_NONTASK_POWER

++ for i in '$@'

++ n_cycle=13

++ export mslot13=NO_TTWU_QUEUE

++ mslot13=NO_TTWU_QUEUE

++ for i in '$@'

++ n_cycle=14

++ export mslot14=NO_FORCE_SD_OVERLAP

++ mslot14=NO_FORCE_SD_OVERLAP

++ for i in '$@'

++ n_cycle=15

++ export mslot15=NO_RT_RUNTIME_SHARE

++ mslot15=NO_RT_RUNTIME_SHARE

++ for i in '$@'

++ n_cycle=16

++ export mslot16=NO_LB_MIN

++ mslot16=NO_LB_MIN

++ list_feature

++ [[ '' == 1 ]]

+++ seq -s ' $mslot' 0 16

+++ sed 's/^0 //'

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot1'

++++ echo NO_GENTLE_FAIR_SLEEPERS

++ v=NO_GENTLE_FAIR_SLEEPERS

++ echo -n 'NO_GENTLE_FAIR_SLEEPERS '

++ sed 's/^NO_//'

GENTLE_FAIR_SLEEPERS +++ echo NO_GENTLE_FAIR_SLEEPERS

+++ grep '^NO_'

++ [[ ! -n NO_GENTLE_FAIR_SLEEPERS ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot2'

++++ echo NO_START_DEBIT

++ v=NO_START_DEBIT

++ echo -n 'NO_START_DEBIT '

++ sed 's/^NO_//'

START_DEBIT +++ echo NO_START_DEBIT

+++ grep '^NO_'

++ [[ ! -n NO_START_DEBIT ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot3'

++++ echo NO_AFFINE_WAKEUPS

++ v=NO_AFFINE_WAKEUPS

++ echo -n 'NO_AFFINE_WAKEUPS '

++ sed 's/^NO_//'

AFFINE_WAKEUPS +++ echo NO_AFFINE_WAKEUPS

+++ grep '^NO_'

++ [[ ! -n NO_AFFINE_WAKEUPS ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot4'

++++ echo NO_NEXT_BUDDY

++ v=NO_NEXT_BUDDY

++ echo -n 'NO_NEXT_BUDDY '

++ sed 's/^NO_//'

NEXT_BUDDY +++ echo NO_NEXT_BUDDY

+++ grep '^NO_'

++ [[ ! -n NO_NEXT_BUDDY ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot5'

++++ echo NO_LAST_BUDDY

++ v=NO_LAST_BUDDY

++ echo -n 'NO_LAST_BUDDY '

++ sed 's/^NO_//'

LAST_BUDDY +++ echo NO_LAST_BUDDY

+++ grep '^NO_'

++ [[ ! -n NO_LAST_BUDDY ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot6'

++++ echo NO_CACHE_HOT_BUDDY

++ v=NO_CACHE_HOT_BUDDY

++ echo -n 'NO_CACHE_HOT_BUDDY '

++ sed 's/^NO_//'

CACHE_HOT_BUDDY +++ echo NO_CACHE_HOT_BUDDY

+++ grep '^NO_'

++ [[ ! -n NO_CACHE_HOT_BUDDY ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot7'

++++ echo NO_ARCH_POWER

++ v=NO_ARCH_POWER

++ sed 's/^NO_//'

++ echo -n 'NO_ARCH_POWER '

ARCH_POWER +++ echo NO_ARCH_POWER

+++ grep '^NO_'

++ [[ ! -n NO_ARCH_POWER ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot8'

++++ echo NO_HRTICK

++ v=NO_HRTICK

++ echo -n 'NO_HRTICK '

++ sed 's/^NO_//'

HRTICK +++ echo NO_HRTICK

+++ grep '^NO_'

++ [[ ! -n NO_HRTICK ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot9'

++++ echo NO_DOUBLE_TICK

++ v=NO_DOUBLE_TICK

++ echo -n 'NO_DOUBLE_TICK '

++ sed 's/^NO_//'

DOUBLE_TICK +++ echo NO_DOUBLE_TICK

+++ grep '^NO_'

++ [[ ! -n NO_DOUBLE_TICK ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot10'

++++ echo NO_LB_BIAS

++ v=NO_LB_BIAS

++ sed 's/^NO_//'

++ echo -n 'NO_LB_BIAS '

LB_BIAS +++ echo NO_LB_BIAS

+++ grep '^NO_'

++ [[ ! -n NO_LB_BIAS ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot11'

++++ echo NO_OWNER_SPIN

++ v=NO_OWNER_SPIN

++ echo -n 'NO_OWNER_SPIN '

++ sed 's/^NO_//'

OWNER_SPIN +++ echo NO_OWNER_SPIN

+++ grep '^NO_'

++ [[ ! -n NO_OWNER_SPIN ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot12'

++++ echo NO_NONTASK_POWER

++ v=NO_NONTASK_POWER

++ echo -n 'NO_NONTASK_POWER '

++ sed 's/^NO_//'

NONTASK_POWER +++ echo NO_NONTASK_POWER

+++ grep '^NO_'

++ [[ ! -n NO_NONTASK_POWER ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot13'

++++ echo NO_TTWU_QUEUE

++ v=NO_TTWU_QUEUE

++ echo -n 'NO_TTWU_QUEUE '

++ sed 's/^NO_//'

TTWU_QUEUE +++ echo NO_TTWU_QUEUE

+++ grep '^NO_'

++ [[ ! -n NO_TTWU_QUEUE ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot14'

++++ echo NO_FORCE_SD_OVERLAP

++ v=NO_FORCE_SD_OVERLAP

++ echo -n 'NO_FORCE_SD_OVERLAP '

++ sed 's/^NO_//'

FORCE_SD_OVERLAP +++ echo NO_FORCE_SD_OVERLAP

+++ grep '^NO_'

++ [[ ! -n NO_FORCE_SD_OVERLAP ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot15'

++++ echo NO_RT_RUNTIME_SHARE

++ v=NO_RT_RUNTIME_SHARE

++ echo -n 'NO_RT_RUNTIME_SHARE '

++ sed 's/^NO_//'

RT_RUNTIME_SHARE +++ echo NO_RT_RUNTIME_SHARE

+++ grep '^NO_'

++ [[ ! -n NO_RT_RUNTIME_SHARE ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ for j in '$(seq -s '\'' $mslot'\'' 0 $n_cycle | sed '\''s/^0 //'\'')'

+++ eval echo '$mslot16'

++++ echo NO_LB_MIN

++ v=NO_LB_MIN

++ echo -n 'NO_LB_MIN '

++ sed 's/^NO_//'

LB_MIN +++ echo NO_LB_MIN

+++ grep '^NO_'

++ [[ ! -n NO_LB_MIN ]]

++ echo -e '\e[1;32mis OFF.\e[0m'

is OFF.

++ [[ -f /system/etc/sched_tuner_task ]]

++ [[ -f /system/etc/init.d/sched_tuner_task ]]

++ echo -n -e '\e[1;33mlooks like the mod is already installed\e[0m'looks like the mod is already installed++ [[ -n '' ]]

++ echo -e '\e[1;33m.\e[0m'

.

++ long_line 1

++++ stty size

++++ awk '{print $2}'

+++ seq 1 68

++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ for i in '$(seq 1 $(stty size | awk '\''{print $2}'\'' 2>/dev/null))'

++ [[ 1 -le 1 ]]

++ echo -n -

-++ [[ 68 == 1 ]]

++ echo

++ echo 'select an option:

1)disable everything(speedhack!)

2)set the tweak on boot(init with few extra tweaks & mpengine)'

select an option:

1)disable everything(speedhack!)

2)set the tweak on boot(init with few extra tweaks & mpengine)

+++ cat /storage/emulated/legacy/sched_tuner/mpengine_pid

++ [[ 22961 != null ]]

+++ ps

+++ grep -v grep

++++ cat /storage/emulated/legacy/sched_tuner/mpengine_pid

+++ grep 22961

++ [[ -n '' ]]

++ echo '3)run mpengine in the background'

3)run mpengine in the background

+++ cat /storage/emulated/legacy/sched_tuner/singlecorefix_pid

++ [[ null != null ]]

++ echo '4)run audiofix in the background'

4)run audiofix in the background

++ echo '5)restore list/uninstall

6)refresh list

q)exit'

5)restore list/uninstall

6)refresh list

q)exit

++ stty cbreak -echo

+++ dd bs=1 count=1