yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] hoholee12:
Well, i have nothing.

thanks for feedbacks but looks like this 1.0.2 version is what i can do best right now.

for people who have compatibility problems just as same as above will still be able to apply sched features and rtmixman, because they are not related to this problem.

I currently only use sched features and rtmixman on my kitkat note2, and its all good for me.

older android versions prior to kitkat will be able to run rest of the settings just fine.

Sent from my SHV-E250K
[Android Software/Hacking General [Developers Only]] milojoseph:
Happy to help tho.

Sent from my SM-G900T powered by AllianceROM

and boosted by speedy kernel

Lollipop ?
[Android Software/Hacking General [Developers Only]] neves4:
[MENTION=4629194]hoholee12[/MENTION]

Hey dude, really liked your mod, my overall speed is increased :)

I have two questions:

1) does rtmixman drain battery? Is it noticeable?

2) I installed the way you said in the beginning, first the option 1, then 2, but boot tweaks are not being applied. How can I apply these tweaks?

Thanks in advance!

(I'm using a i9082 with cm12.1, L Speed mod, monster kernel, amplify, fermion gapps and schedule_tuner)
[Android Software/Hacking General [Developers Only]] LGtMgG2t:
Sheriff has been running but I'm having s9me hard lock ups and not sure how to track them down to see what's causing it. Yesterday I had a hard look in the middle of a phone call. This morning I've had several lock ups after waking the phone up. One happened even while trying to type this response. Lol

Is there a way to check the sheriff statistics to see if it's killing wakelocks as expected?
[Android Software/Hacking General [Developers Only]] hoholee12:
Sheriff was made to be very lightweight for realtime purposes, so there is no direct way to check whats going on behind the scenes, other than guessing...

This is how it works:

-when the screen turns off, it starts running.

-it checks for all processes to see which one uses more cpu resource than user assigned.(i.e. garbage disposer user limit defaults to 0%)

Now, when you get a phone call, phone application immediately starts using cpu(ofcourse it will go over 0% cpu usage)

therefore sheriff will detect and kill it instantly.

I will have to whitelist it in order to prevent that from happening:p

If you want to know sheriff is really killing all the wakelocks, you can look at battery graphs on system settings.

Look at the 'awake' and 'screen on'. If graph is similar, its working well.

But if 'awake' portion is larger, you should increase the sheriff sleep time.....

Sent from my SHV-E250K
[Android Software/Hacking General [Developers Only]] hoholee12:
1) no it doesnt drain battery.

2)if you have set it on boot, boot tweaks are applied automatically after reboot.

Sent from my SHV-E250K
[Android Software/Hacking General [Developers Only]] milojoseph:
It doesn't stick after reboot

Sent from my SM-G900T powered by AllianceROM

and boosted by speedy kernel

Lollipop ?
[Android Software/Hacking General [Developers Only]] neves4:
[MENTION=4629194]hoholee12[/MENTION]

I set it on boot, then soft rebooted, but no boot tweaks applied. So, I restored/uninstalled and set it on boot again and now rebooted completely, but still gave me the same image in the attachments.

Thanks again!
[Android Software/Hacking General [Developers Only]] hoholee12:
do this in terminal

busybox ps -o nice,comm

and post the output please.
[Android Software/Hacking General [Developers Only]] neves4:
Here it is. I'm using the latest busybox, which was installed by L Speed Mod. The -o argument gave me problems, so i removed it and used the code, but everything is there :)

Thanks!
[Android Software/Hacking General [Developers Only]] LGtMgG2t:
Thanks for the explanation and it makes perfect sense to me. I wonder if you could have a configuration file of sorts that we can white list apps in? I'm thinking SMS and email apps might need to be added. The phone process for sure. Lol
[Android Software/Hacking General [Developers Only]] Exit_Only:
[MENTION=4629194]hoholee12[/MENTION] great job on this! I'll be adding this as a compatible mod in my op with operation killjoy!
[Android Software/Hacking General [Developers Only]] hoholee12:
it gave syntax errors because you replaced comma with a dot.

do the above command again please.
[Android Software/Hacking General [Developers Only]] hoholee12:
thats a good idea.

i will try that in the next version. thanks:D
[Android Software/Hacking General [Developers Only]] neves4:
Oh yeah, I didn't had noticed this!!

So, I attached the right log. Thanks again :)
[Android Software/Hacking General [Developers Only]] hoholee12:
do you use any other mods?

looks like its conflicting with something.
[Android Software/Hacking General [Developers Only]] neves4:
I use L Speed mod and eXtremeBeats mod.

L Speed Mod gives me the option to disable Kernel sleepers and Kernel panic, and I disabled them. Maybe this is the problem?
[Android Software/Hacking General [Developers Only]] hoholee12:
sheriff with whitelist uploaded! test version

you can find the whitelist cfg file in sdcard/sched_tuner directory.

if you want to white list com.android.phone, you can just change this line:

:remote\|android

to

:remote\|android\|com.android.phone

the '\|' part is called a 'delimiter'.

feedbacks are welcome!

edit: reuploaded with more stuff..

this reupload will probably give out new error message before going into menu..

if you happen to have that error message, please acknowledge me. thanks:)
[Android Software/Hacking General [Developers Only]] usvimal:
I am having the same error as him. But I have another problem. In the current scheduling features list I get an error: cat: cant open /sys/kernel/debug/sched_features : no such file or directory

Not supported

Not supported
[Android Software/Hacking General [Developers Only]] hoholee12:
your device doesnt support debugfs, but you can still use my other mods....
[Android Software/Hacking General [Developers Only]] usvimal:
But I cannot make it run automatically at boot. I have to enable it manually.
[Android Software/Hacking General [Developers Only]] hoholee12:
do you have init.d support?
[Android Software/Hacking General [Developers Only]] Kitschki:
How does the sherif option conflict with stuff like powernap or greenify? And what about push messages?
[Android Software/Hacking General [Developers Only]] hoholee12:
it doesnt.
[Android Software/Hacking General [Developers Only]] usvimal:
My rom has it built in
[Android Software/Hacking General [Developers Only]] hoholee12:
Looks like your rom likes to load init.d at the very end.

If the init.d isnt loaded before zygote, it will not work.

Sent from my SHV-E250K
[Android Software/Hacking General [Developers Only]] Kitschki:
So what would I then use the Whitelist for? [emoji1]
[Android Software/Hacking General [Developers Only]] hoholee12:
to opt out apps that you dont want sheriff to kill.:rolleyes:
[Android Software/Hacking General [Developers Only]] usvimal:
So how do I fix my problem?
[Android Software/Hacking General [Developers Only]] Kitschki:
Also, I have experienced your mod to cause the apps I currently use like Tapatalk or Sync for reddit to just restart or close. I'm on TW 5.0.2 on an S 5, but had to uninstall your mod because of this :( any idea what could cause this?
[Android Software/Hacking General [Developers Only]] LGtMgG2t:
Did you whitelist your apps so they don't close?
[Android Software/Hacking General [Developers Only]] The Funky Pear:
Im sorry,sir,but, i cant understand. why i should whitelist apps?

Is there any flaw in script or something? :silly:
[Android Software/Hacking General [Developers Only]] mrrocketdog:
nope , no flaw. sheriff will kill 'em all if thats what you want.

"all i can really do , is stay out of my own way and let the will of heaven be done"
[Android Software/Hacking General [Developers Only]] The Funky Pear:
For gods sake, I cant make it work.i moved the file to xbin, I installed the zip file, and when I

Type sched_tuner it says something about applets on busybox+error 1.

I typed all the trouble shoot commands.nothing.

Plus, it says it cant make sched_tuner log because file system is read only. But I made it R/W on root explorer

.any ideas?
[Android Software/Hacking General [Developers Only]] LGtMgG2t:
Do you have bash installed?
[Android Software/Hacking General [Developers Only]] The Funky Pear:
I

What is bash?

Doesnt say anything about bash in OP
[Android Software/Hacking General [Developers Only]] mrrocketdog:
post #234/235. fixed me right up. running great.:cowboy:

"all i can really do , is stay out of my own way and let the will of heaven be done"
[Android Software/Hacking General [Developers Only]] The Funky Pear:
Shouldnt be in first page? How im supposed to know?

I mean, more guys will have that problem (but I hope not) and u are gonna tell them to look at page 235?
[Android Software/Hacking General [Developers Only]] mrrocketdog:
1) not my thread , so i dont know if should be in OP or not. my best guess is that it is "common computer knowledge". personally i am very noob with computers.

2) IF i ever answer another post with same issue ; yes i will tell them to check post #s 234/235 or will ask if they have bash installed. because , hey , i have learned something new !!

3) "how are you suppose to know?" ....... i couldnt say. guess youre like me and have to ask for help sometimes.

4) just trying to pass on a suggestion to an issue.

hope you got it sorted out.

[MENTION=4629194]hoholee12[/MENTION] , love your mod. thanks for sharing your build , time , and knowledge.:good:

"all i can really do , is stay out of my own way and let the will of heaven be done"
[Android Software/Hacking General [Developers Only]] drumbeater79:
I also cannot get this mod to work. It always say that "command not found" though I already installed bash.
[Android Software/Hacking General [Developers Only]] red_hanks:
is it my kernel or what?
[Android Software/Hacking General [Developers Only]] drumbeater79:
How can we add additional whitelist apps? The configuration states that only 1 line is permitted.
[Android Software/Hacking General [Developers Only]] abdhad96:
Hi

When I try to set on boot

.

It kept saying sh etc/ init.d/ sched_tuner_ task no file or directory fouNd.. So I manually created a file.. Then reboot.. But it still not set on boot

Please help me
[Android Software/Hacking General [Developers Only]] zh_eco:
I try many times ..

it says not fond not found not found every time ! even when I flash the zip.

I'm running CM12.1 , Android 5.1.1

help me ! :(
[Android Software/Hacking General [Developers Only]] mrrocketdog:
could use some guidance/advice here.

currently returned to viper KK. htc m8 , init.d supported. flashed sched_tuner.zip , and copied file to sbin , /system/bin and /system/xbin. bash is installed. whenever type in su , bash , sched_tuner get error message "not found".

was working great on same phone with slimrom KK.

any ideas ?

thank you

EDIT : resolved. forgot had flashed a custom kernel without init.d support.

back on stock kernel and all is well.

thank you again for this wonderful mod.:good:

"all i can really do , is stay out of my own way and let the will of heaven be done"
[Android Software/Hacking General [Developers Only]] BLiNKT:
Can anyone help i want use this on my Note 3 but in anway i can't make this to work i download sched_tuner.pdf and i rename from pdf to sh after that i copy sched_tuner.sh to system/xbin and than i run terminal and type SU with small letters afteri get su i type sched_tuner and press enter but nothings happen..What i do wrong?After that i remove sched_tuner.sh from system/xbin and download from here this

sched_tuner_updater.zip and flash via recovery and than i try same steps like before open terminal than enter su after that i type sched_tuner and press enter but i get this

tmp-mksh: sched_tuner: not found

How install this correct please help i need this
[Android Software/Hacking General [Developers Only]] zh_eco:
the same happens in my phone .
[Android Software/Hacking General [Developers Only]] mrrocketdog:
works for me renaming without the .sh. (sched_tuner). then copy to /system/xbin.

hope you get it working.

"all i can really do , is stay out of my own way and let the will of heaven be done"
[Android Software/Hacking General [Developers Only]] BLiNKT:
I try without sh on end and i put to system/xbin but anyway say not found or i get error 1 i try with command

sched_tuner --bbpass and sched_tuner --verbose but nothing help about error
[Android Software/Hacking General [Developers Only]] anguslaw:
Hi, could you take a look at my picture? Is the mid installed?

However, I just press y and enter y and enter, etc etc in the installation process. I don't know what value to input for the intervels. If I just enter and didn't input a value, am I good to go?
[Android Software/Hacking General [Developers Only]] BLiNKT:
Here is how look my terminal and i really do not know how correct install i try many ways but nothing help

Poslano z mojega SM-N9005 z uporabo Tapatalk
[Android Software/Hacking General [Developers Only]] anguslaw:
I think you have to input" su -c bash " instead of "su " only.
[Android Software/Hacking General [Developers Only]] BLiNKT:
I get this when type su -c bash

Poslano z mojega SM-N9005 z uporabo Tapatalk
[Android Software/Hacking General [Developers Only]] moonryder:
i tried everything to install this mod (flashing zip, copying sched_tuner to xbin, running sched_tuner.sh in terminal, but nothing worked.

i get the same error like [MENTION=4691230]BLiNKT[/MENTION]

after flashing the .zip again i searched the sched_tuner file with my file explorer, but didn´t find it. So what´s wrong ??? [MENTION=4629194]hoholee12[/MENTION]: i think the updater-script is wrong. i miss the line "run_program("/sbin/busybox", "mount", "/system");"

will edit the script and reply ...
[Android Software/Hacking General [Developers Only]] Exit_Only:
You need to install bash binary.
[Android Software/Hacking General [Developers Only]] moonryder:
[MENTION=4741717]Exit_Only[/MENTION] BIG THX, this was the problem ;)

flashed the bash binary and all works fine.

and after modifying the updater-script of the sched_tuner.zip the script is in /system/xbin after flashing ;)

i am now testing this script in combination with flag_tuner a few days and will report my experiences

Stay tuned
[Android Software/Hacking General [Developers Only]] Exit_Only:
To anyone using this mod in conjunction with Operation Killjoy, I'll be adding bash support so my users can use this with ease. I'm compiling bash for each version of android.

---------- Post added at 06:38 PM ---------- Previous post was at 06:28 PM ----------

Its every easy

Copy and paste the sched_tuner to your /system/xbin

Open Terminal and type

su

bash --help

If you get "not found" error you need to find a bash binary and move it to /system/xbin

Copy and paste bash using root explorer

Open Terminal and type

su

chmod 6755 /system/xbin/bash

chown 0.0 /system/xbin/bash

chmod 755 /system/xbin/sched_tuner

chown 0.2000 /system/xbin/sched_tuner

After thats done, then type

su

clear

sched_tuner

or type this

sh ./system/xbin/sched_tuner

Boom!!! follow the prompts
[Android Software/Hacking General [Developers Only]] mrrocketdog:
thank you. :thumbup:

"all i can really do , is stay out of my own way and let the will of heaven be done"
[Android Software/Hacking General [Developers Only]] hoholee12:
[MENTION=4741717]Exit_Only[/MENTION] thanks for help.

hello, im back from looong break

had a tough time fixing my broken laptop...

and thank god i uploaded all my code to github before i lose everything :3

im releasing v1.0.4 soon with updated instructions.. stay tuned:D
[Android Software/Hacking General [Developers Only]] hoholee12:
uploaded v1.0.4

uninstall everything and reinstall again to have the cfg file regenerated(i have put descriptions in there on how to whitelist stuff).

edit: reuploaded, i missed few stuff.
[Android Software/Hacking General [Developers Only]] BLiNKT:
Where get this bash binary?

Poslano z mojega SM-N9005 z uporabo Tapatalk

---------- Post added at 10:41 AM ---------- Previous post was at 10:09 AM ----------

I check now in system/xbin and there i have bash file

But when i type in terminal

su

sched_tuner

I get this error

"Cant execute permission denied"

Poslano z mojega SM-N9005 z uporabo Tapatalk

---------- Post added at 10:43 AM ---------- Previous post was at 10:41 AM ----------

There is screen of bash

Poslano z mojega SM-N9005 z uporabo Tapatalk
[Android Software/Hacking General [Developers Only]] Ph0z3:
Tried both install methods, and all 3 starting commands....

"sched_tuner not found"
[Android Software/Hacking General [Developers Only]] XDAMaxe:
is your phone rooted ?

what rom are you on ? init.d support ?

did you install bash from gplay ? did you tap on "install" within the bash app ? if yes what was the message output ?

did you copy sched_tuner into system/xbin ? is it really there (check with root explorer) ? correct permissions (755) ?

did you have smanager installed ? (i know this is only one terminal app but it's easy and works perfect for noobs like me)

within smanager browse to the copied sched_tuner file in system/xbin and open.

activate/tap on the SU-Button so that it will change its color from grey to green. Tap on the save-button.

Tap on start and here we go....

To easily run/check script you can install smwidgets to create a widget to place it on the home screen or elsewhere
[Android Software/Hacking General [Developers Only]] zh_eco:
why no one answer as !!!!!!!

sched_tuner not found !!!!!

this is the worst mod I have ever seen !!!!

no one help as , and the baby who made this Thread ignore every one.

EPIC FAIL !
[Android Software/Hacking General [Developers Only]] Ph0z3:
Here's what's happening....
[Android Software/Hacking General [Developers Only]] zh_eco:
yes , also this happen to me .
[Android Software/Hacking General [Developers Only]] XDAMaxe:
if you want to be helped you should answer the questions, I'm no social worker spoonfeeding crying babies. sorry but otherwise you might be a troll, aren't ya ?
[Android Software/Hacking General [Developers Only]] hoholee12:
Thats actually weird... it shouldnt do that

Do this:

bash sched_tuner.sh --verbose --install -s /system/xbin

And post the output please..

Sent from my SHV-E250K
[Android Software/Hacking General [Developers Only]] hoholee12:
Dude, im pretty sure im not the one whos a baby... :3

Sent from my SHV-E250K
[Android Software/Hacking General [Developers Only]] XDAMaxe:
[MENTION=4629194]hoholee12[/MENTION]

it's overdue to thank you for this extremely useful mod (at least for those who want a powersaving phone without loosing smoothness and speed like me).

Alright, it's true, for a noob like me it's a bit hard to understand at first glance. But this is life, he ?

No one was born with an einstein-brain - everything must be learned. step by step. Try and error, success and fail - call it whatever you want to.

But an all-time-good-advice is readreadread. No other skill is so fundamental like reading and then - in the end - understanding.

Once you are experienced you can multiply your knowledge to provide others by helping to understand - and not simply doing others work (aka spoonfeeding, lol).

Anyway, don't be disappointed if some (very less but loud imo) are not able to appreciate your work. I REALLY DO !
[Android Software/Hacking General [Developers Only]] ninjasinabag:
I need your method for stupid people since you're not bright enough to embed a proper link.

My filesystem is basically locked from 3rd party app access, the flashable would actually enable me to use your mod.
[Android Software/Hacking General [Developers Only]] hoholee12:
Im not really fond of flashable zips so i havent cared much..

But i will try to make it work properly when i have time. ;)

Sent from my SHV-E250K
[Android Software/Hacking General [Developers Only]] zh_eco:
it didn't work .

a lot of words and long text , and in the end .. the same bug

no such blablablabla :banghead:

why ?
[Android Software/Hacking General [Developers Only]] hoholee12:
Kinda looks like the bug bypassed all the doors and even breached into installer...

I wont be able to figure out properly if i dont have a log of full output goddammit.

its better to use copy & paste method if you have trouble with this.

just rename the damn script to sched_tuner and put it in /system/xbin folder yourself.
[Android Software/Hacking General [Developers Only]] zh_eco:
man .. everything is correct .

and I try more then 10 times ..

and I try everything and every way to make it work .. but suddenly , the same annoying bug !

no such blablablabla

suddenly ..
[Android Software/Hacking General [Developers Only]] zh_eco:
this is what happen now
[Android Software/Hacking General [Developers Only]] BLiNKT:
Ok guys after two days to make this mod work on my phone today i get it to work correct and here is how i do

1.Download BashX from Play Store and run it than install bash

2.Download MiXplorer for me is best one you can get it here on XDA

3.Download sched_tuner.pdf

4.Now in MiXplorer search for sched_tuner.pdf and rename it to sched_tuner.sh but be carefull after press rename in MiXplorer check where is say Show Full Name and than you will be see this sched_tuner.sh.pdf just delete .pdf on end and save

5.After that copy sched_tuner.sh to system/xbin and set permission to 755

6.Now open Android Terminal app and type this

su

than

sched_tuner.sh (remeber you must add .sh on end)

than confirm

WOHOO AND SCRIPT WORKING LIKE A CHARM ;)

After that i click 1 to disable all SPEED HACK and all is GREEN

***********************************************************************

For developers why when i press set number 2 (set mod to run on boot......) is in RED colorand its say boot tweaks status: not applied!
[Android Software/Hacking General [Developers Only]] zh_eco:
OK , now works but then not .

not supported .. what this is mean ?

can anybody answer ?
[Android Software/Hacking General [Developers Only]] moonryder:
[MENTION=4629194]hoholee12[/MENTION]

i installed bash binary from here

copied sched_tuner and flag_tuner to /system/xbin

run in terminal:

su
sched_tuner

and disable everything (same in flag_tuner).

so far so good, all works fine

BUT:

your script and flag_tuner disturbs the wlan automation (controlled by my lovely apk Llama)

this moring airplane mode did not turn off and trying to change some conditions, the apk force closes.

I really like both scripts, BUT i need Llama for controlling my WiFi.

Any solution?

p.s. you mentioned in the OP:

1. didn´t find the option to whitelist an apk (is this new?)

2.is this an option to get rid of the problem i mentioned before?

Thx

moonryder
[Android Software/Hacking General [Developers Only]] patalao:
Same thing here

Enviado do meu Optimus G através de Tapatalk
[Android Software/Hacking General [Developers Only]] BLiNKT:
Do you have busybox and init.d support
[Android Software/Hacking General [Developers Only]] bira792:
solution for those who have the problem rename the file erasing all estencao the ssim sched_tuner with root Xplore and give permicoes the system xbin folder.
[Android Software/Hacking General [Developers Only]] kubura2999:
first try and successfully instaled on my s4 mini custom TW rom.

Well i think is successfully :D

Thats why iam posting image to conmfirm did i do it right.

Iv restarted the phone to see the boot tweeks running, and they are running fine.

I was just wondering about the audiofix rtmixman , because iv pressed all default setings, and the sheriff iv put 2 minutes.

Is that all ok?
[Android Software/Hacking General [Developers Only]] Exit_Only:
Glad to help! My new stable release has built in bash support plus smart install. It installs the correct version of bash based on Android Software. Hope this helps fix user errors with this mod.
[Android Software/Hacking General [Developers Only]] hoholee12:
reuploaded with bugfixes!

please check out flashable zip also, and tell me if its working properly!