yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] hoholee12:
uninstall flag_tuner and see what happens.

for whitelisting apps,

read end of the manual in the 7th option, and follow the instructions.

it means now you're good to go?

yup everythings working nicely, just ignore those 'not supported' lines

this is basically a hit or miss MOD because not all tweaks here is compatible with various devices.

if it misses you are just out of luck.

if it hits, you get MASSIVE performance boost, for free.

also, 2 mins is 120 seconds...

Make sure you have typed 120, because 2 seconds will drain battery hella bad XDDD

thanks m8 :D
[Android Software/Hacking General [Developers Only]] LGtMgG2t:
lol Are you serious with that kind of tone? How old are you? I was going to offer help but I can't make myself with you acting like a moron and being so rude. Be patient and courteous and you will find that you get further in life.
[Android Software/Hacking General [Developers Only]] moonryder:
[MENTION=4629194]hoholee12[/MENTION]

the latest sched_tuner_updater.zip is false zipped. Inside the zip there is a folder called sched_tuner_updater and inside this folder there are the files needed for flashing.

So everybody has first unpack the zip and repack only the folders "META-INF, system and tools" to a new sched_tuner_updater.zip
[Android Software/Hacking General [Developers Only]] hoholee12:
whoops :p

reuploaded!
[Android Software/Hacking General [Developers Only]] zh_eco:
OK .. now everything is fine .. but

you can see in the pic , speedhack! is not working , again not supported ... why ?
[Android Software/Hacking General [Developers Only]] derkleinebroicher:
Check, if you have sys/kernel/sched_features. If not, speedhack won't work. Not all kernels support this feature.
[Android Software/Hacking General [Developers Only]] moonryder:
[MENTION=4629194]hoholee12[/MENTION]

i did it and it seems that was the problem - will run sched_tuner for a while and see...

another question:

i applied 2) set the MOD to run on boot in terminal

BUT it always says: boot tweak status: not applied!

all other tweaks ar running / been OFF
[Android Software/Hacking General [Developers Only]] hoholee12:
reboot and see what happens...
[Android Software/Hacking General [Developers Only]] derkleinebroicher:
I guess, I have to correct myself. As to be seen in the terminal output, the correct path should be sys/kernel/debug/sched_features.

Gesendet von meinem One S mit Tapatalk
[Android Software/Hacking General [Developers Only]] CikiPiki:
l have the same problem. When you reboot you need to active all mods again...
[Android Software/Hacking General [Developers Only]] moonryder:
after reboot all mods are running, but boot tweak status still "not applied"
[Android Software/Hacking General [Developers Only]] tskjoe:
Can i use this mod on xperia z2 d6503 existenz y rom 2.6.0?
[Android Software/Hacking General [Developers Only]] hoholee12:
okay.. v1.0.5 released with new feature called 'thread booster':D

but you will have to choose between two:

if you dont apply thread booster, you will instead be using the default boot tweaks

but if you apply the thread booster, you will not be able to use boot tweaks.

they both conflict.

just like boot tweaks, thread booster cannot be launched directly!

you have to enable it when installing the mod to run on boot!
[Android Software/Hacking General [Developers Only]] moonryder:
i installed v1.0.5 and selected 2) set the MOD to run on boot & install boot tweaks

rebooted the device - but nothing

boot tweaks can´t be enabled

and btw i can´t enable thread booster (no choice in the list)
[Android Software/Hacking General [Developers Only]] hoholee12:
Well youre not supposed to see it in the list because its not supposed to run directly....

You should see thread booster when 2)set the mod on boot....

Sent from my SHV-E250K
[Android Software/Hacking General [Developers Only]] rone112:
hi hoholee12,

thanks so much for the mod ! im loving it , i have one issue though i cant get the mod to stick at boot , is there anything is specific i need to do ? i dont choose threadbooster but upon reboot , this is the screen i receive when checking if it was applied

[IMG="screenshot"]http://s24.postimg.org/7rbbzcdf9/Screenshot_2015_08_27_15_17_16.png[/IMG]

please help if you can ?
[Android Software/Hacking General [Developers Only]] hoholee12:
nothing actually ran at all...

looks like you're missing init.d support, are you using stock rom?
[Android Software/Hacking General [Developers Only]] moonryder:
...but i did NOT...
[Android Software/Hacking General [Developers Only]] LGtMgG2t:
All working fine so far here. Great job!

Sheriff doesn't seem to be causing any adverse side effects either. Hoping to see how it does in the next day or two for my battery.
[Android Software/Hacking General [Developers Only]] moonryder:
ok sir i saw it in the script and gave sched_tuner another shot.

But at this time i selected 2) set..... at first and now booster tweaks are running :good:

just another question: sometimes apps suddenly get force close, reopen the app then no more fc...

does the script "learn" which apk is started once and then set it to a "whitelist" or what is the reason???

I will run flag_tuner AND sched_tuner for a while and see if it happens further or not.
[Android Software/Hacking General [Developers Only]] hoholee12:
i have uploaded a new fix. please redownload.

and if it still doesnt work, try:

sched_tuner --verbose

and post the output
[Android Software/Hacking General [Developers Only]] william72:
New script installed correct, Thank You!
[Android Software/Hacking General [Developers Only]] BLiNKT:
how change extension of file on windows 7?can anyone help?and where get latest version of this mod?
[Android Software/Hacking General [Developers Only]] hoholee12:
you can search windows 7 forum for that.

the one uploaded to the op attachment is the latest one.
[Android Software/Hacking General [Developers Only]] DiamondBond:
Awesome stuff! :D

Sent from my Moto G 2014
[Android Software/Hacking General [Developers Only]] drumbeater79:
Can we install this mod together with L_Speed Reborn Mod?

Reference for L_Speed Mod can be found here: http://xdaforums.com/android/software-hacking/tweak-l-speed-v1-0-02-02-2015-t3020138
[Android Software/Hacking General [Developers Only]] Xpid3r:
Can't set on boot

See screenshot

Using Galaxy S4 5.0.1 Lolipop
[Android Software/Hacking General [Developers Only]] rwallach:
If all these scheduling features are so evil, why do the manufacturers and independent devs include them in the first place? Or in other words: what are we loosing here when using your mod (or any of the schedulers mods out there...)?

Under an historical perspective, there is no such thing as a free lunch...

thanks!
[Android Software/Hacking General [Developers Only]] hoholee12:
these are default linux kernel scheduler features and it has nothing to do with manufacturers.

i believe these schedulers were originally introduced when pentiums were getting popular around, soooo....

and my device actually performs better when i just disable everything soooo.....

get the idea?
[Android Software/Hacking General [Developers Only]] rwallach:
Doesn't make much sense. OEMs and independent devs usually tailor kernels to improve experience on particular devices or softwares. In addition, advanced schedulers were introduced to improve multi tasking performance, with great results on branch 2.6 and above. Linus Torvalds himself was a great sponsor of it.

So what you are saying is that all these guys are wrong? All manufacturers and development teams don't know what they're doing?

I still don't get the point...
[Android Software/Hacking General [Developers Only]] hoholee12:
well i made this because it works??:rolleyes:

well, then you shouldnt use this mod if you think your device is optimized so well that you dont need it. Easy.

This mod is for people like me who owns a device that has bad scheduler settings and is better to leave everything off instead.

why are you asking me a subjective question?
[Android Software/Hacking General [Developers Only]] BLiNKT:
Where i must put this file?i use Phoenix rom.Please help
[Android Software/Hacking General [Developers Only]] BLiNKT:
Ok i copy to system/bin and system/xbin in both folder now i run terminal and make speedhack now is all OFF and with green colour but when i press 2 for make mod work on boot i get error like on picture
[Android Software/Hacking General [Developers Only]] drmodify:
Will you need a kernel supporting init.d? Or will this work with a script manager?
[Android Software/Hacking General [Developers Only]] DiamondBond:
For option 2 yes, option 1 no

Sent from my Moto G 2014
[Android Software/Hacking General [Developers Only]] rwallach:
It is not subjective. Actually what I would like to know are a few more technical explanations on why these schedulers are not good.

Thank you, in advance.
[Android Software/Hacking General [Developers Only]] hoholee12:
yes it is a subjective question.:what:

also, i didnt say all of them are bad, only few(froyo era) legacy old android versions. which i happen to have.

i do agree manufacturers are getting better and better at optimizing nowdays.;)

what i know is that this scheduler features only controls basic stuff like context switching timing and stuff. 'cpu governor' 'that you know is not the same thing. i believe individual manufacturers make governors and linux developers are the ones making the scheduler. i do not believe their scheduler 'sucks' but rather unoptimized for early android devices.
[Android Software/Hacking General [Developers Only]] hoholee12:
another fix of v0.0.3 released!

this new fix allows you to choose which method to install: init.d or init.rc

also keep in mind that your original settings will be automatically backed up right after launching the program, so you dont have to press the 3rd option(backup list)

hopefully this will fix install problems on some users.

happy tweaking!:D
[Android Software/Hacking General [Developers Only]] Jimmy Mossiba Floyd:
not working for me :( seems like my kernel doesn't have those editable values :(

here's what I get when I run the script
[Android Software/Hacking General [Developers Only]] MrBrady:
When I try to install or run the script, I get the error:

required applet: 'chrt' not embedded in Busybox!...and also does not exist!
process terminated. "error code 1"

Does that mean by Busybox is too old?
[Android Software/Hacking General [Developers Only]] Asiier:
I have the same problem on my G2 (Running BlissPop 3.9 |5.1.1| and RenderKernel R3)

I thought it was the rtmixman option what was causing becasue it changes LMK but even with that deactivated I was getting FC all the time

Let's hope that for the next update this problem get fix because I had to uninstall the mod
[Android Software/Hacking General [Developers Only]] LGtMgG2t:
The only force close I've seen come up so far is random Google Play FCs. Have you tried adding the apps to the whitelist?

Anyone tried using this mod with Amplify or Greenify?
[Android Software/Hacking General [Developers Only]] Asiier:
All the apps force close in around 30 seconds or 1 minute and I have try Amplify and Greenify with the mod, not much, but i have.
[Android Software/Hacking General [Developers Only]] moonryder:
confirm, it happens with all apps even the app drawer (Nova Launcher).

I think this is caused by the time we have to set on installation, but don´t know which one...

Uninstalled sched_tuner until this uncomfortable bug has been fixed.
[Android Software/Hacking General [Developers Only]] Asiier:
Are you running Lollipop?

May be this bug just happens to be in Lollipop

Sent from my LG-D802
[Android Software/Hacking General [Developers Only]] LGtMgG2t:
I'm on a Nexus 6 running 4 different Lollipop ROMs using MultiROM and not seeing any of the FCs on this latest version. I'm also running Nova Prime as my launcher.

Maybe it's kernel or ROM related somehow?
[Android Software/Hacking General [Developers Only]] Asiier:
So I don't know then, I'll try to reinstall the Mod and take the LogCat but I cannot do that till tomorrow

Sent from my LG-D802
[Android Software/Hacking General [Developers Only]] ziky abdo:
help please ,

when i try to install, the terminal show to me :/system/bin/sh: bash: not found
[Android Software/Hacking General [Developers Only]] moonryder:
no look at my sig, i am on KK 4.4.4 stock rooted UB

so you think it maybe kernel related (i use a custom kernel, not stock, but i don´t want to change it cuz the kernel is just great)?
[Android Software/Hacking General [Developers Only]] Exit_Only:
You need to flash bash binary
[Android Software/Hacking General [Developers Only]] hoholee12:
When running sched tuner

Did you get the api missing error just before the menu comes out?

If so, you cannot use scaudiofix and wakelock sheriff as they will glitch out...

Sent from my SHV-E250K
[Android Software/Hacking General [Developers Only]] Ph0z3:
print("sched_tuner n00b spoonfeed installer");

[MENTION=4629194]hoholee12[/MENTION].... Wow... That's really rude.
[Android Software/Hacking General [Developers Only]] hoholee12:
Bad humor is kinda my thing xD

Sent from my SHV-E250K
[Android Software/Hacking General [Developers Only]] Ph0z3:
That's fine... Maybe tone it down a bit, yeah?

Anyways, thank you for your hard work on this mod.
[Android Software/Hacking General [Developers Only]] ziky abdo:
I don't know what is bash binary. Where i can found it ? Thanks for help.
[Android Software/Hacking General [Developers Only]] LGtMgG2t:
Thinks its in OP. Google Play has Bash, easy to install.
[Android Software/Hacking General [Developers Only]] moonryder:
i get absolutely no error message, just force closing apps.
[Android Software/Hacking General [Developers Only]] Asiier:
Okay so I reinstall sched_tuner on a clean ROM, just the ROM and this Mod not custom kernel just the one that came with the ROM (BlissPop 3.9)

I got the exact same problem, the apps suddenly close not even throwing the FC close window, they just close while I use them or when I let them for example downloading music (Spotify).

So here is my LogCat that by the way CatLog was also closed while it was recording the LogCat

Give it a look and maybe you can find the problem, if you need more LogCats or something just tell me I'm willing to help :p
[Android Software/Hacking General [Developers Only]] moonryder:
try sched_tuner WITHOUT wakelock sheriff and scaudiofix

Since i use sched_tuner without these two mods, all is fine now!

HTH
[Android Software/Hacking General [Developers Only]] Asiier:
Damn that works fine for me

I also share the log with WakelockSheriff/Scaudiofix and without, which actually fix the problem [MENTION=4629194]hoholee12[/MENTION] can check them
[Android Software/Hacking General [Developers Only]] moonryder:
no more further development (e.g running wakelock and scaudiofix without problems)?

p.s. are there known conflicts with CrossBreeder at all? (running CB a long time and don´t wanna miss it ...).

update:

1. works with CrossBreeder

2. running scaudiofix with no force closes, only mod turned off is wakelock sheriff ;)
[Android Software/Hacking General [Developers Only]] Asiier:
I'll try just to deactivate Wakelock Sheriff

And let's see [MENTION=4629194]hoholee12[/MENTION] If can pull something out from my LogCats because I didn't get the "Api missing" error as he suggested that could be the cause of this bug

I know this kind of out-topic but do you know CrossBreeder could work with L Speed ?
[Android Software/Hacking General [Developers Only]] The Funky Pear:
In menu of sched tuner i have enabled everything (i mean they are all green now) except boot tweaks.BUT sheriff is working and audio fix and i have a yellow line that says that boot tweaks seems to work.but boot tweaks is red in the same time.is it a glitch or something?
[Android Software/Hacking General [Developers Only]] moonryder:
AFAIK no, there will be conflicts cause of init.d

---------- Post added at 09:24 AM ---------- Previous post was at 09:19 AM ----------

look at hoholee12´s post here: http://xdaforums.com/showpost.php?p=62532926&postcount=372
[Android Software/Hacking General [Developers Only]] hoholee12:
Guys sorry for delayed post but there is nothing more to fix from my level....

Some devices with different drivers and kernels makes it impossible to fix scaudiofix and wakelock sheriff that uses it to determine whether the screen is on or off. Some of the newer devices even have those ones removed altogether.

Basically we have reached the very limit of a shell script...:eek: (not able to access high level stuff such as android api)

When i become more skilled than ever as a hacker, i might be able to fix it tho :p

Maybe in the near future, i might be able to rewrite this mod in a proper language and access everything i want...(hint: im now in college studying really hard as cs major :p)

But for now, this will probably be the last version for this mod.:o

As i mentioned in the OP, you can always use other mods that work for you in this script!

If you are a developer and would like to contribute to the code, you can visit my github source here:https://github.com/hoholee12/avcore/blob/master/sched_tuner.sh always welcome:D

Thanks for all the support! :)

Sent from my SHV-E250K
[Android Software/Hacking General [Developers Only]] hoholee12:
just a little bump to notify that OP was edited :3
[Android Software/Hacking General [Developers Only]] Ph0z3:
Flashed latest update... Phone never sleeps...

- disable everything (speedhack)

- wakelock sheriff

- thread booster

** nothing else
[Android Software/Hacking General [Developers Only]] hoholee12:
long time no see,

i come back with a specially tuned v1.0.5!

i specially tuned thread booster config file to get better performance.

well.. mainly its a bugfix for browser lags tho xDDD.

download is only available in this post attachment!

enjoy:D

take in mind that this was easily bugfixed just by editing config files...

if you have some bugs regarding similar lag issues, you should edit it your own and share it with community here if you got it working! :D

the config files should have a .cfg extension, and should be located inside /sdcard/sched_tuner folder with other critical engine files. DO NOT EDIT FILES THAT DOES NOT HAVE AN EXTENSION NAME!!
[Android Software/Hacking General [Developers Only]] phil_greg2001:
Really good mod on my old SGS i9000 :good:

Further I have this MOD:

http://xdaforums.com/android/apps-games/app-fly-mod-app-alpha1-feel-smoothness-t3171503

:cool:
[Android Software/Hacking General [Developers Only]] hoholee12:
nice, a fellow SGS owner xDD
[Android Software/Hacking General [Developers Only]] hoholee12:
Instead of uploading a whole script with small changes in config files, im just gunna write it down here so you guys can DIY xD

so let me share my settings...

i personally blacklisted(added) tapatalk and rootexplorer to thread_booster.cfg.

Emulators and games will run better but it dont seem to do well on average day apps xDD
[Android Software/Hacking General [Developers Only]] hoholee12:
i just found some few sneaky apps such as gmail that will boost along with the foreground process.(only foreground app must be boosted, or else it will interfere with it)

adding the word 'process' in thread_booster.cfg will blacklist them properly.
[Android Software/Hacking General [Developers Only]] hoholee12:
v1.0.6 released!

thread_booster_hell is an aggressive mode of thread booster.

it uses chrt to switch to SCHED_FIFO instead of SCHED_OTHER, SCHED_FIFO is a realtime scheduling mode.

basically a lot more aggressive than SCHED_OTHER with top priority(which older thread booster version was using).

i thought of this method long ago, but i thought it was useless so i left it out while i was making this mod...

i ve seen benefits on my galaxy s running despicable me game, so i decided to just throw it in now.

this also happens to crash my tapatalk app, so make good use of thread_booster.cfg if you encounter crashes like this xD

hope you enjoy! :D
[Android Software/Hacking General [Developers Only]] milojoseph:
So where do I find this .cfg and how do I add the names.

And thread Booster is NEVER applied even when I reboot

Sent from my SM-G900T powered by AllianceROM

and boosted by speedy kernel

Lollipop ?
[Android Software/Hacking General [Developers Only]] hoholee12:
v1.0.7 uploaded!

i figured how to solve app crashing problems when using thread_booster_hell. the formula is to delay on exec.

have fun xD

btw post the --verbose output if you encounter any problems running thread booster. thanks!
[Android Software/Hacking General [Developers Only]] hoholee12:
v1.0.8 is planned next weekend.

it wil make thread_booster_hell more reliable & bugfree.

im also thinking of rewriting a complete priority manager in compiled language for speed.

stay tuned:D
[Android Software/Hacking General [Developers Only]] eternal70:
Will it support marshmallow ?
[Android Software/Hacking General [Developers Only]] hoholee12:
im not sure. i dont have any phone that will have marshmellow update(i only have galaxy s now xDDDD)

its mostly based on the kernel & its scheduling system, so android version will have very small impact on compatibility.

heck, i never even knew what kitkat was, but it ran nice on my galaxy note 2 without any bugs ;)
[Android Software/Hacking General [Developers Only]] eternal70:
Well, that's a good news ! Waiting for the next update
[Android Software/Hacking General [Developers Only]] eternal70:
[MENTION=3239235]hohoo[/MENTION]le12 well, just tried v1.0.7 in marshmallow, but it doesn't display anything. After i type sched_tuner it's just hang in there. How to get logs ?
[Android Software/Hacking General [Developers Only]] hoholee12:
Can you post screenshot?
[Android Software/Hacking General [Developers Only]] eternal70:
It's just hanging there
[Android Software/Hacking General [Developers Only]] hoholee12:
Try sched_tuner --verbose and post the output.
[Android Software/Hacking General [Developers Only]] eternal70:
u0_a31@maguro:/ $ su

root@maguro:/ # su -c bash

bash-4.3# sched_tuner --verbose

++ shift

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

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

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

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

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

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

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

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

++ '[' '' '!=' --source ']'

++ version=

+++ basename /system/xbin/sched_tuner

++ BASE_NAME=sched_tuner

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

+++ echo sched_tuner

++ NO_EXTENSION=sched_tuner

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

+++ dirname /system/xbin/sched_tuner

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

++ set_PATH=/system/xbin

+++ pwd

++ set_PATH2=/

++ '[' /system/xbin ']'

+++ ls /

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

++++ head -n2

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

++++ echo /system/xbin

Here. Sorry for the late response
[Android Software/Hacking General [Developers Only]] hoholee12:
did it just hang there?

I cant figure out the problem. Did you post the whole output or just the top?
[Android Software/Hacking General [Developers Only]] eternal70:
Yea its just hang there. Its already the whole output
[Android Software/Hacking General [Developers Only]] hoholee12:
final version released.
[Android Software/Hacking General [Developers Only]] milojoseph:
Did you see any problems from what I posted

Sent from my SM-G900T powered by AllianceROM

and boosted by speedy kernel

Lollipop ?
[Android Software/Hacking General [Developers Only]] hoholee12:
yes i did. its basically an init.d problem.

i can't fix anything related to init.d boot order problem so

you should go seek help from your individual rom/kernel developers.

you can still force enable thread_booster manually.

first, to enter debug shell:

sched_tuner -d

next, type:

export external=/sdcard/sched_tuner

to set report status to work properly.

and then, type:

thread_booster y 50

to enable.
[Android Software/Hacking General [Developers Only]] milojoseph:
Can you lower the lmk in rxtim it cause Launcher redraw and kills my keyboard

Sent from my SM-G900T powered by AllianceROM

and boosted by speedy kernel

Lollipop ?
[Android Software/Hacking General [Developers Only]] milojoseph:
This is my result