[Android Software/Hacking General [Developers Only]] Saerayne:
Thank you for the fix, however it doesn't enable mpengine. I attached the script verbose after choosing option 3 again to help.

++ 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

++ [[ 5744 != null ]]

+++ ps

+++ grep -v grep

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

+++ grep 5744

++ [[ -n '' ]]

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

3)run mpengine in the background

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

++ [[ 1324 != null ]]

+++ ps

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

+++ grep -v grep

+++ grep 1324

++ [[ -n '' ]]

++ 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

++ f=3

++ stty -cbreak echo

++ echo 3

3

++ long_line 2

++++ stty size

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

+++ seq 1 68

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

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

++ [[ 2 -le 1 ]]

++ echo -n =

=++ [[ 68 == 1 ]]

++ echo

++ case $f in

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

++ [[ 5744 != null ]]

+++ ps

+++ grep -v grep

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

++ 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}'

+++ awk '{print $1}'

+++ grep -v grep

++ appliedonboot=

++ [[ -n '' ]]

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

++ [[ 6987 != null ]]

+++ ps

+++ grep -v grep

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

+++ grep 6987

++ [[ -n '' ]]

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

mpengine status: not running

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

++ [[ 1324 != null ]]

+++ ps

+++ grep -v grep

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

+++ grep 1324

++ [[ -n '' ]]

++ 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

++ sed 's/^NO_//'

++ echo -n 'NO_GENTLE_FAIR_SLEEPERS '

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

++ sed 's/^NO_//'

++ echo -n 'NO_START_DEBIT '

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 +++ grep '^NO_'

+++ echo NO_AFFINE_WAKEUPS

++ [[ ! -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

++ echo -n 'NO_ARCH_POWER '

++ sed 's/^NO_//'

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

++ echo -n 'NO_LB_BIAS '

++ sed 's/^NO_//'

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

++ sed 's/^NO_//'

++ echo -n 'NO_NONTASK_POWER '

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

++ [[ 6987 != null ]]

+++ ps

+++ grep -v grep

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

+++ grep 6987

++ [[ -n '' ]]

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

3)run mpengine in the background

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

++ [[ 1324 != null ]]

+++ ps

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

+++ grep -v grep

+++ grep 1324

++ [[ -n '' ]]

++ 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