yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Paget96:
Update your busybox ;)
[Android Software/Hacking General [Developers Only]] slimcyril:
[MENTION=4629194]hoholee12[/MENTION] I tried to flash the latest package in recovery but it was aborted with an error message stating "there is an error in the updater script"
[Android Software/Hacking General [Developers Only]] Dead-neM:
n00bs, READ OR GTFO!!

Which version the 1.0.8 right ? You download the last file of three in the last section of the first post

If the installation is not working just grab the system/xbin/sched_tuner file and place it in the same directory in your phone... chmod it to 0.2000 755.

You know the rest
[Android Software/Hacking General [Developers Only]] slimcyril:
Here's the error message I get in recovery
[Android Software/Hacking General [Developers Only]] slimcyril:
[MENTION=4629194]hoholee12[/MENTION] I think there's an error in the updater script
[Android Software/Hacking General [Developers Only]] Paget96:
Try now buddy :)
[Android Software/Hacking General [Developers Only]] slimcyril:
[MENTION=5514152]Paget96[/MENTION] thanks a bunch rectifying the error in the updater script & it was a clean install.
[Android Software/Hacking General [Developers Only]] slimcyril:
[MENTION=754512]page[/MENTION]96 I got this after I typed "su" & "sched_tuner", what does this imply? Is my device not supported?
[Android Software/Hacking General [Developers Only]] slimcyril:
[MENTION=5514152]Paget96[/MENTION] check this out & let me if I m doing something wrong?
[Android Software/Hacking General [Developers Only]] Paget96:
This is because your kernel doesn't support sched features :)
[Android Software/Hacking General [Developers Only]] slimcyril:
Ok bro. 10ks again!!!
[Android Software/Hacking General [Developers Only]] xNombre:
Hi, after installing rtmixman all LMK values are set to 100mb, could it be normal or just bugged?
[Android Software/Hacking General [Developers Only]] hoholee12:
I dont work on this mod anymore.

I dont have any modern android phone to test anything.

you can fork the source code, modify and republish yourself.

Its in the third post.
[Android Software/Hacking General [Developers Only]] milojoseph:
[MENTION=5514152]Paget96[/MENTION] maybe you can help and remodify it to work with LS

Sent from my SM-G900T powered by AllianceROM

and boosted by speedy kernel

Lollipop ?
[Android Software/Hacking General [Developers Only]] Paget96:
I am working hard on L Speed application at the moment :)

When I grab some time, i will rework it, if [MENTION=4629194]hoholee12[/MENTION] approving that ;) but I think that he will not make a problem :D
[Android Software/Hacking General [Developers Only]] ballerd:
[MENTION=5514152]Paget96[/MENTION] you da man your continued contributions and work makes you a truly irreplaceable developer and my credits and respect for [MENTION=4629194]hoholee12[/MENTION] for his work thanks to you both
[Android Software/Hacking General [Developers Only]] xNombre:
edit: Try to update you busybox
[Android Software/Hacking General [Developers Only]] pedrinalamech07:
Does it work on MM?

Im on CM13 Nightly, I do everything in instruction, but when I reboot my device, the MOD didnt work... I have to open it again in terminal..
[Android Software/Hacking General [Developers Only]] duck'man:
Is the value need % if i want change the percentage value?

Thanks :laugh:
[Android Software/Hacking General [Developers Only]] QkTreasures:
Delete
[Android Software/Hacking General [Developers Only]] hoholee12:
do this:

sched_tuner --verbose

and post the output.

run the script like this:

sched_tuner --bbpass

i already wrote this 'How to self-troubleshoot' in the first post though:sly:
[Android Software/Hacking General [Developers Only]] MrBrady:
Got it to run/install with --bbpass, but I am unable to get it to stick on reboot. Yes, init.d is enabled. Attached is a screenshot of the messaging after a reboot. I have sched_tuner in /system/xbin

I have to say, when this does run, it definitely makes the UI feel more fluid.

Device: D2LTE (D2VZW) Galaxy S3 w/ Mahdi 2.9 (4.4.4)
[Android Software/Hacking General [Developers Only]] hoholee12:
i believe this is a quick way to fix:

1.mount /system to rw

2.goto /system/etc/init.d(if you installed it in init.d), or /system/etc(if you installed it in init.rc)

3.open the 'sched_tuner_task' with a text editor

4.edit the line:

/system/xbin/sched_tuner -a

to

/system/xbin/sched_tuner --bbpass -a

5.set permission to:

check check check

check uncheck check

check uncheck check

6.save and reboot

or the terminal way...

su
mount -o remount,rw /system
sed -i 's/\/system\/xbin\/sched_tuner -a/\/system\/xbin\/sched_tuner --bbpass -a/' /system/etc/init.d/sched_tuner_task(if installed in init.d)
sed -i 's/\/system\/xbin\/sched_tuner -a/\/system\/xbin\/sched_tuner --bbpass -a/' /system/etc/sched_tuner_task(if installed in init.rc)
reboot

i'll fix this soon, for right now you can do this.
[Android Software/Hacking General [Developers Only]] MrBrady:
Editing the file to include --bbpass worked! Now it sticks on boot. Thanks!
[Android Software/Hacking General [Developers Only]] drumbeater79:
Mine says it was installed but did not run on boot. I already tried the bbpass workaround.

---------- Post added at 02:00 PM ---------- Previous post was at 01:45 PM ----------

scheduling features tuner v0.0.3

current scheduling features list: /system/bin/sched_tuner[776]: cat: /sys/kernel/debug/sched_features: No such file or directory

0 is ON.

looks like the mod is already installed, but it did not run on boot.
[Android Software/Hacking General [Developers Only]] hoholee12:
do this:

sched_tuner --verbose

and post the output please.
[Android Software/Hacking General [Developers Only]] churapa:
Here is my output, thanks!
[Android Software/Hacking General [Developers Only]] william72:
Type su, then sched_tuner
[Android Software/Hacking General [Developers Only]] churapa:
Already done that.

My device is rooted.

I have latest SuperSU.

I have latest busybox.

I have placed sched_tuner.sh in /system/bin/ with permission 755.

So, nothing in the log makes sense to me!
[Android Software/Hacking General [Developers Only]] hoholee12:
Type su, then sched_tuner --supass
[Android Software/Hacking General [Developers Only]] churapa:
Did that and get the following:
[Android Software/Hacking General [Developers Only]] hoholee12:
are you sure you enabled your terminal to run as root?

It doesnt seem like it.
[Android Software/Hacking General [Developers Only]] churapa:
Well, I don't know what's going on.
[Android Software/Hacking General [Developers Only]] hoholee12:
When did you download it & can you redownload the file?
[Android Software/Hacking General [Developers Only]] churapa:
Downloaded like 3 hours ago and re downloaded 5 minutes ago and it's the same.

Edit: Thanks for helping me out, I really appreciate that!

Edit 2: 감사합니다
[Android Software/Hacking General [Developers Only]] drumbeater79:
How to uninstall this mod? Done everything but it doesn't stick on boot.
[Android Software/Hacking General [Developers Only]] hoholee12:
new version of v0.0.3 released!

-revamped alot of code

-lots of bugfixes
[Android Software/Hacking General [Developers Only]] Jimmy Mossiba Floyd:
here's what I got (for trying the version before the one you posted today!! sorry ;) )
[Android Software/Hacking General [Developers Only]] hoholee12:
looks like your kernel is not supported for this mod....

though, you can still install additional tweaks, if you want.
[Android Software/Hacking General [Developers Only]] drumbeater79:
Mine too, it says my kernel is not supported.
[Android Software/Hacking General [Developers Only]] Xpid3r:
V 0.0.3 is the same Attachment in OP..??

Using Galaxy S4 5.0.1 Lolipop
[Android Software/Hacking General [Developers Only]] MrBrady:
What are the other vm tuning mods that you list in the OP?
[Android Software/Hacking General [Developers Only]] hoholee12:
Yes.

You can install any vm tuning mods that suits you best. These were just an example.
[Android Software/Hacking General [Developers Only]] ctrlaltdel:
I got this error when run in the terminal "Required applet 'chrt' not embeded in busybox! .... And also does not exist"

Is that mean i need to upgrade busybox?
[Android Software/Hacking General [Developers Only]] DiamondBond:
A.) Cool username :D

B.) Yes either reinstall bb or run the script with --bbpass

:)

Sent from my Moto G 2014
[Android Software/Hacking General [Developers Only]] ctrlaltdel:
Thanks! :D

I managed to add the required applet chrt and then i got this error about file not find ... Do i need to create it? Or the kernel i am using is not support?

current scheduling features list: /system/xbin/sched_tuner[776]: cat: /sys/kernel/debug/sched_features: No such file or directory
[Android Software/Hacking General [Developers Only]] hoholee12:
download the script again.
[Android Software/Hacking General [Developers Only]] hoholee12:
op updated with more infos.
[Android Software/Hacking General [Developers Only]] MajorD.:
delete
[Android Software/Hacking General [Developers Only]] Jimmy Mossiba Floyd:
no news = bad news!! :( my kernels aren't supported, waiting for an update that takes care of the unsupported kernels :(
[Android Software/Hacking General [Developers Only]] hoholee12:
new version (v0.0.4) released!

-future-proof bugfixes added!

NOTE: get a kernel that embeds debugfs function, otherwise this mod wont work.
[Android Software/Hacking General [Developers Only]] Vollspacken:
Works very good on LG G2 D802 with liquidsmooth milestone and renderkernel r26, even the startup on boot works properly. Thank you for your work! :)
[Android Software/Hacking General [Developers Only]] CikiPiki:
l jsut wana ask if this wil be any good on HTC One M8? and if will conflict with Flag Tuner mod?
[Android Software/Hacking General [Developers Only]] chipis:
I just cant make it worked, i rename it to extention .sh, moved to xbin where is busyboy. And i put rw r r for permission iam do in it right ?
[Android Software/Hacking General [Developers Only]] hoholee12:
read the 'how to self-troubleshoot' guide on op.
[Android Software/Hacking General [Developers Only]] hoholee12:
new version released!

TIP: works great with http://xdaforums.com/android/software-hacking/script-flag-tuner-1-0-t3039223

-released a new flashable_zip for those who dont know how to read.
[Android Software/Hacking General [Developers Only]] navazsayani:
Works well on my S5 G900H.. thanks for the efforts bro :)
[Android Software/Hacking General [Developers Only]] MajorD.:
Shouldn't it work with this Kernel ?..:

http://xdaforums.com/showthread.php?p=57858491
[Android Software/Hacking General [Developers Only]] hoholee12:
idk. try it.
[Android Software/Hacking General [Developers Only]] berryman13:
This is an interesting idea... How does it work exactly? Cheers
[Android Software/Hacking General [Developers Only]] hoholee12:
new version released! with MPEngine13

sched_tuner.pdf --> new one with mpengine

sched_tuner_old.pdf --> v0.0.5 with no mpengine

sched_tuner.zip --> v0.0.5 with no mpengine

poll added!
[Android Software/Hacking General [Developers Only]] navazsayani:
whats the difference between the old and the new version? what does mpengine do?
[Android Software/Hacking General [Developers Only]] bofiana:
Has anyone tried newest 1.6 version and gotten MPEngine to successfully run? I choose option 3 to activate it and status always shows as not started in red type color. All other tweaks are green and running just fine.
[Android Software/Hacking General [Developers Only]] Xpid3r:
+1 same here

Using Galaxy S4 5.0.1 Lolipop
[Android Software/Hacking General [Developers Only]] hoholee12:
mpengine is a tweak i made several years ago.

I embedded it for stability.(and a bit more performance)

please read the How to self-troubleshoot guide on op.
[Android Software/Hacking General [Developers Only]] berryman13:
Is this worth flashing on an otherwise working lillipop device?
[Android Software/Hacking General [Developers Only]] hoholee12:
Idk. Try it and let me know.
[Android Software/Hacking General [Developers Only]] berryman13:
I looked at the script, gonna check the OP to see what exactly does what and let you know soon
[Android Software/Hacking General [Developers Only]] bofiana:
Ya, I did. Unfortunately, there's nothing in the op that explains how to troubleshoot mpengine not working. It only talks about some error code 1, which I'm not getting. Like I said, everything is green for me except mpengine. Any other help u can provide except just telling me to read op? Here's what I'm getting after I choose option 3.
[Android Software/Hacking General [Developers Only]] hoholee12:
sched_tuner --verbose and post the output
[Android Software/Hacking General [Developers Only]] berryman13:
Yeah, engine was never working.

Got everything else working, but my busbox needs to be modified for synapse controls so I can't use this in addition
[Android Software/Hacking General [Developers Only]] hoholee12:
I need to see the --verbose output to debug, else i cant see whats going on your end. There is no such thing as synapse control BS.
[Android Software/Hacking General [Developers Only]] Yenkazu:
[MENTION=4629194]hoholee12[/MENTION]
[Android Software/Hacking General [Developers Only]] hoholee12:
2>/dev/null

+ 2>/dev/null

+ 2>/dev/null

+ 2>/dev/null

+ 2>/dev/null

+ 2>/dev/null

+ 2>/dev/null

+ 2>/dev/null

+ 2>/dev/null

+ 2>/dev/null

+ 2>/dev/null

+ 2>/dev/null

+ 2>/dev/null

This tells me that you must have alot of weird script mods installed.

Or, lots of undetected mpengine threads simulatneously running in the background(im not sure)

+ grep 19481

bingo. It means its already working but the installer cannot detect it.(ignore it.)

Will bugfix when i have some time.
[Android Software/Hacking General [Developers Only]] Yenkazu:
[MENTION=4629194]hoholee12[/MENTION]

I dunno for + 2>dev>null

xD

But I'm using enable init.d (for stock ROM), V6 Supercharger and Kickass Kernel, it's should be compatible (or maybe I'm wrong) or maybe because Xposed too.

Hmm, it's actually running, but first I'm using Script Manager and second Terminal Emulator, to test the result.

Script Manager> mpengine installed and running

Terminal Emulator> mpengine doesn't installed

But, for second run for both app, it's say mpengine doesn't installed

Your script also cannot write to /data, it's failed to make a directory for sched_tuner.log
[Android Software/Hacking General [Developers Only]] hoholee12:
Give me the output of:

busybox ps | grep '.*'
[Android Software/Hacking General [Developers Only]] Yenkazu:
[MENTION=4629194]hoholee12[/MENTION]

Also, today result

I don't know what happen, it's just work as it should xD

But, at first some others tweak beside mpengine doesn't work, so I just reapplied it in Terminal Emulator
[Android Software/Hacking General [Developers Only]] hoholee12:
one more.

i need an output for this:

pgrep -l
[Android Software/Hacking General [Developers Only]] core7x:
Love this. Thanks
[Android Software/Hacking General [Developers Only]] hoholee12:
oops sorry, do this:

pgrep -l ''

edit: i attached a fix. hope this works.
[Android Software/Hacking General [Developers Only]] Yenkazu:
Will try the fix later xD
[Android Software/Hacking General [Developers Only]] DiamondBond:
Haha bro thanks for the shutout at the end of your script, you rock? ;) I'll add the same in my script when I update it :) BTW latest script is mint!

Sent from my Moto G 2014
[Android Software/Hacking General [Developers Only]] Yenkazu:
[MENTION=4629194]hoholee12[/MENTION]

latest fix

Bugs:

1. Still can't create any directory at /data

2. mpengine works, if I created /data/log manually

3. option 2 show invalid arguments, when I'm entered wrong input

At least, this version works better

PS: for log, just put it at /data
[Android Software/Hacking General [Developers Only]] hoholee12:
just few more questions:

-does it not work if it cant create any directory at /data?

-for the option 2 showing invalid arguments, please do:

sched_tuner --verbose

and then type '2' so i can see whats going on.

thanks for feedbacks:)
[Android Software/Hacking General [Developers Only]] Yenkazu:
As you say from previous post, it's actually working (for mpengine tweaks), but since your script cannot create directory it's also cannot detect any log, your script will "thinking" mpengine tweak cannot be running, because it's can't see the log.

For best result, just put the log under /data, no need create any directory.

As you expected, it's show running (mpengine) if I create directory manually, since it will fullfill your script request xD

For option 2 error, as usual, please see the attachments xD
[Android Software/Hacking General [Developers Only]] hoholee12:
thanks. Will fix it later.

The installer says to press 'y' for init.d and 'n' for init.rc, and you pressed '1'. Wut??:rolleyes:
[Android Software/Hacking General [Developers Only]] Yenkazu:
it's should return to the option again, right ?

it's only recognize "y" and "n" but not others input
[Android Software/Hacking General [Developers Only]] hoholee12:
As long as the actual mods work, fixing it isnt necessary.

edit: i fixed the error log not working correctly.
[Android Software/Hacking General [Developers Only]] hoholee12:
No more complaints... Does that mean its all fixed now??
[Android Software/Hacking General [Developers Only]] Yenkazu:
Ah, you attached a fix again xD

Will try the fix :)

[MENTION=4629194]hoholee12[/MENTION]

Latest bug fix:

1. mpengine, doesn't work again, even the log is there, I don't know what happening, I will try to look more deep again

EDIT: mpengine working since it's show pid in verbose, you should fix your script for detecting storage

EDIT2: your script seems detect any storage well, it's up to you then xD

2. Option 2 error for "n" options
[Android Software/Hacking General [Developers Only]] hoholee12:
looks like your busybox does not support some of the syntax.

will look into possible workarounds soon;)
[Android Software/Hacking General [Developers Only]] Yenkazu:
Hmm, maybe

At least, your tweak beside mpengine working fine, it's enough for me xD

Thanks for your time and hard work =)
[Android Software/Hacking General [Developers Only]] berryman13:
Giving this a second look.
[Android Software/Hacking General [Developers Only]] hoholee12:
1)file integrity check bugfix!

2)sched_tuner_task wait timing bugfix!

i have 2 major new engines fully tested and waiting to be embedded on to this script(or the other one "task.sh" or "skeleton.sh") but embedding them right away is useless until these basic things are fully bugfixed.

[MENTION=3849535]Yenkazu[/MENTION], i think these fixes should work on your device.
[Android Software/Hacking General [Developers Only]] momojuro:
I have a question please. I have a Galaxy Young (stock ROM) with Supercharger V6 (and KAK) installed, will this scirpt work normally ? Because the last time I tried, I got a bootloop. :/

Thanks in advance !
[Android Software/Hacking General [Developers Only]] hoholee12:
this mod does not have any elements that will cause bootloop, maybe you will have to wait longer to boot because of the boot tweaks.

but just in case if something goes wrong, i included another fix that will probably be helpful or not.
[Android Software/Hacking General [Developers Only]] Yenkazu:
Okay =)
[Android Software/Hacking General [Developers Only]] momojuro:
Thanks a lot, it's worked like a charm :D
[Android Software/Hacking General [Developers Only]] MrBrady:
Can anybody who has used this for more than a few day chime in on battery life?

I tried v.4 a week or two ago and swore it drained my battery faster. The UI was definitely smoother though!

Verizon Galaxy S3 w. PacMan ROM (4.4.4).
[Android Software/Hacking General [Developers Only]] hoholee12:
new update!

scAudiofix basically calculates how much cpu thrust is needed and then controls your clockspeed on the fly.

very useful for avoiding audio stutters.

as its in a very first stage, it may not work well for devices with multiple cores.

you must disable them manually through install menu every boot.

p.s. this version may also fix battery problems for Mr.Brady....hopefully.
[Android Software/Hacking General [Developers Only]] killoid:
[MENTION=4629194]hoholee12[/MENTION] in my device i've moved it to system/xbin, removed the extensions & setted permission to 777. flag tuner installed perfectly. but this one shows this. any solutions plz?
[Android Software/Hacking General [Developers Only]] hoholee12:
i cant see your screenshot. its broken.
[Android Software/Hacking General [Developers Only]] hoholee12:
Do this:

sched_tuner --supass
[Android Software/Hacking General [Developers Only]] killoid:
i did this & it worked with some errors. ss attached. but after applying tweaks & setting apply to boot option didn't work after reboot. also audiofix doesn't get applied. ss attached.

Edit: i attached some logs too.
[Android Software/Hacking General [Developers Only]] God Terrible:
start up when boot don't work
[Android Software/Hacking General [Developers Only]] hoholee12:
new update!

edit: uploaded again.

this will fix all API problems caused by missing commands in other devices.(namely 'print_RANDOM_BYTE' and 'as_root')

edit: fixed not applying on boot.
[Android Software/Hacking General [Developers Only]] olinojephanko:
Any hint?

COLUMNS=60;LINES=46;export COLUMNS LINES;

u0_a27@w7n:/ $ su

COLUMNS=60;LINES=28;export COLUMNS LINES;

root@w7n:/ # sched_tuner --verbose

+ shift

+ readonly version=0.0.7

+ basename /system/bin/sched_tuner

+ readonly BASE_NAME=sched_tuner

+ sed s/\..*//

+ echo sched_tuner

+ readonly NO_EXTENSION=sched_tuner

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

+ sed s/^\.//

+ dirname /system/bin/sched_tuner

+ readonly set_PATH=/system/bin

+ pwd

+ readonly set_PATH2=/

+ ls /

+ sed s/^\///

+ echo /system/bin

+ sed s/\/$//

+ head -n2

+ tr -s / \n

+ tr -s \n /

+ grep system

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

+ which sched_tuner

+ 2>/dev/null

+ reg_name=/system/bin/sched_tuner

+ sed s/^\.//

+ dirname /system/bin/sched_tuner

+ readonly DIR_NAME=/system/bin

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

+ echo /system/bin/sched_tuner

+ readonly FULL_NAME=/system/bin/sched_tuner

+ print_PARTIAL_DIR_NAME 1

+ tr -s \n /

+ head -n2

+ echo /system/bin

+ tr -s / \n

+ sed s/\/$//

+ echo /system

+ readonly ROOT_DIR=/system

+ error Please re-run this program with BASH. "error code 1"+ message=Please re-run this program with BASH. "error code 1"

+ grep "

+ echo Please re-run this program with BASH. "error code 1"

+ echo -n Please re-run this program with BASH. "error code 1"

+ sed s/".*//

Please re-run this program with BASH. + cut -d" -f2

+ echo Please re-run this program with BASH. "error code 1"

+ errmsg=error code 1

+ echo -e \e[1;31m"error code 1"\e[0m

"error code 1"

+ sed s/\/$//

+ echo

+ CUSTOM_DIR=

+ cd /

+ echo

+ sed s/\//\n/g

+ date +date: %m/%d/%y%ttime: %H:%M:%S ->Please re-run this program with BASH. "error code 1"

+ >>/system/bin/sched_tuner.log

+ exit 1

1|root@w7n:/ #

I was able to install flag_tuner
[Android Software/Hacking General [Developers Only]] hoholee12:
run it with BASH.

just type 'su -c bash' first before moving onto running that program.
[Android Software/Hacking General [Developers Only]] milojoseph:
Doesn't work for me

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android Software/Hacking General [Developers Only]] eternal70:
Type "su -c bash" fisrt, then type "sched_tuner" in localhost
[Android Software/Hacking General [Developers Only]] milojoseph:
It reminds me that bash us not found

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android Software/Hacking General [Developers Only]] berryman13:
Sounds like you're missing busybox. Install Sterricson 1.23.1
[Android Software/Hacking General [Developers Only]] God Terrible:
apply from boost is not working for me
[Android Software/Hacking General [Developers Only]] milojoseph:
I have busy box installed

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel