yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Exit_Only:
Seems that your toolbox binary for your device either doesn't support "reboot" or it does and that applet somehow got deleted!
[Android Software/Hacking General [Developers Only]] hoholee12:
You should try the sysrq method for rebooting.
[Android Software/Hacking General [Developers Only]] marcran75:
I'm not as versed in these matters as most of you are. What could I do to fix it. Its not a big deal to reboot manually but I like things to work as they should. What else would this affect? I can reboot using ROM Toolbox so I would assume it would work for your script as well. I could be wrong.
[Android Software/Hacking General [Developers Only]] Exit_Only:
busybox killall -9 system_server works for rebooting as well.
[Android Software/Hacking General [Developers Only]] Exit_Only:
It uses the same command line to reboot. That won't help! Busybox use to have a reboot applet years ago but it doesn't seem to exist in the new busybox source code!
[Android Software/Hacking General [Developers Only]] Exit_Only:
In my next release I'm including a reboot binary and it will only install it if you don't already have it. Hopefully that helps the peeps who don't have it!
[Android Software/Hacking General [Developers Only]] hoholee12:
Ya but that wont be a complete reboot where init gets executed again..

If you want all the init to start over, fresh hard reboot == sysrq method:rolleyes:

after looking thru lots of source codes, some reboot program uses sysrq to reboot or poweroff.
[Android Software/Hacking General [Developers Only]] Exit_Only:
New Experimental is up
[Android Software/Hacking General [Developers Only]] Exit_Only:
[MENTION=4629194]hoholee12[/MENTION] are you referring to this

su
echo "1" >> /proc/sys/kernel/sysrq
echo "b" >> /process/sysrq-trigger
[Android Software/Hacking General [Developers Only]] hoholee12:
FTFY.

there is no such thing as '/process'

yup. did you include it?
[Android Software/Hacking General [Developers Only]] Exit_Only:
Spell check changes /proc to /process automatically. Lol. I'm including it in my next release!
[Android Software/Hacking General [Developers Only]] kvevand63:
Anyone else having a problem with MEDIA FIRE? Can't download latest update using Chrome or Dolphin.
[Android Software/Hacking General [Developers Only]] ArtfulDodger:
Use the AOSP stock browser, never have issues downloading with it on this end sans some images every now & then. Mediafire downloads work fine on it too.
[Android Software/Hacking General [Developers Only]] Titchener17:
try mozilla
[Android Software/Hacking General [Developers Only]] dingermtb:
No issues using lightning browser

Sent from my Heavy Metal ZombieSpider SGS 3 using Skyblue Tapatalk 2
[Android Software/Hacking General [Developers Only]] Exit_Only:
Its really been quite...lol. No issues for anyone on latest experimental?
[Android Software/Hacking General [Developers Only]] dingermtb:
Only issue is keeping my phone from flying away operation killjoy gives you wings

Sent from my Exodus Knotfest SGS3 using Skyblue Tapatalk 2
[Android Software/Hacking General [Developers Only]] Exit_Only:
Your telling me! My note 4 hasn't been rebooted in 2 days. No lag at all!
[Android Software/Hacking General [Developers Only]] ArtfulDodger:
I'm still on 8/8 experimental which has been fantastic. I figure why mess with a good thing.
[Android Software/Hacking General [Developers Only]] Exit_Only:
That's pretty much why I haven't touched anything or released anything new. I hit the sweet spot and I'm afraid of screwing it up. Lol!
[Android Software/Hacking General [Developers Only]] atomomega:
Has anyone flashed this with Flash Gordon?
[Android Software/Hacking General [Developers Only]] Exit_Only:
I didn't think Flash Gordon was ever out of PreAlpha status?
[Android Software/Hacking General [Developers Only]] bilgerryan:
Only thing I'm seeing is on Touchwiz is selinux doesn't survive a reboot (not a big deal), but is there anything I can do to get Zealot Configurations Activated?
[Android Software/Hacking General [Developers Only]] Exit_Only:
If you have init.d support it will survive a reboot. You got to wait 5 solid minutes to let all the script run and do their thing!
[Android Software/Hacking General [Developers Only]] bilgerryan:
Yes, I have init.d support and waited. There don't seem to be any problems as I'm getting monster battery life and performance, just wondering why Zealot Config says Deactivated.
[Android Software/Hacking General [Developers Only]] JoeBear1975:
Sounds gr8 :thumbup:

My Emotional Alliance N910P
[Android Software/Hacking General [Developers Only]] atomomega:
It didn't but I've been able to flash other mods just fine. My tablet doesn't have an unlocked bootloader, that's why I've been using it.
[Android Software/Hacking General [Developers Only]] VelidE.:
I'm a bit noob guys :/ Can you explain what is this mod and what will happening after installation, and what can I do with them?
[Android Software/Hacking General [Developers Only]] atomomega:
Ok, so I flashed with Flash Gordon successfully but the Terminal showed not found for every command. Still, apparently OKJ managed to create its folders and its build.prop. It also got rid of the Busybox I had (I believe it replaced with it's own). But seeing that I would not be able to tune it, I wanted to uninstall it but of course when I type su and then uninstall, I get the 'not found' message.

Is there a flashable uninstall zip?
[Android Software/Hacking General [Developers Only]] marcran75:
There should be one in sdcard/operationkilljoy.
[Android Software/Hacking General [Developers Only]] Exit_Only:
Which version are you on?
[Android Software/Hacking General [Developers Only]] bilgerryan:
8/14/15
[Android Software/Hacking General [Developers Only]] Exit_Only:
New experimental is up!!!
[Android Software/Hacking General [Developers Only]] Titchener17:
hey am able to reproduce will be awhile before can get a logcat but wanted to let you know in addition to these awesome updates, when i activate zealot it somehow kills my fast charging capability on lg g2 kitkat ls980 running dorimanx 9.9 (whatever latest is)

keep that good stuff rolling OKJ is the deal giving thanks !
[Android Software/Hacking General [Developers Only]] ArtfulDodger:
I did notice right after initial installation and activating scripts my battery took 3x the normal time to charge, but the next day charge time was normal. No issues with charging since. Maybe has something to do with battery calibration script?
[Android Software/Hacking General [Developers Only]] Exit_Only:
You got it ;)
[Android Software/Hacking General [Developers Only]] ArtfulDodger:
I was hoping it was that or else I might hear "read the thread I covered that already!". :-p
[Android Software/Hacking General [Developers Only]] Exit_Only:
You really like using the "Spoiler" button don't you! Lol. Its not zealot killing the fast charging, its the battery calibration script. Let it charge slowly all the way to 100%, then try again. If that doesnt work reflash the kernel after flashing killjoy. It very possible the his kernel uses some sort of init.d script to function correctly. Check the folder in the flashable zip for his kernel or give me a copy to look at.
[Android Software/Hacking General [Developers Only]] Exit_Only:
New experimental is up...
[Android Software/Hacking General [Developers Only]] Exit_Only:
New experimental is up! Lots of changes and updates!
[Android Software/Hacking General [Developers Only]] kzhkr:
hi.. just wanna enquire. i can only choose 'Available Governors' or i can pick any? im new to this.. haha. thanks!
[Android Software/Hacking General [Developers Only]] Exit_Only:
You can only pick what your available governors are!
[Android Software/Hacking General [Developers Only]] QuazIqbal:
Can you share your gem for Android x86 devices? Currently I am unable to flash your mod, it gives update binary error...

Sent from my YOGA Tablet 2-830LC
[Android Software/Hacking General [Developers Only]] Exit_Only:
I don't want to maintain 2 different zip files of each release. You guys need a x86 busybox and x86 updater-script which are not cross compatible with 32 bit devices.
[Android Software/Hacking General [Developers Only]] Exit_Only:
In the next experimental I added an x86 binary into the zip folder. It will take some user renaming and deleting in the META-INF folder.
[Android Software/Hacking General [Developers Only]] QuazIqbal:
Can you please guide what to delete or modify precisely?

I am able to flash L speed mod x86 version , and I would I like to cherish your mod also... Looking forward towards best optimization possible ?

Sent from my YOGA Tablet 2-830LC
[Android Software/Hacking General [Developers Only]] Exit_Only:
I am the original ;)
[Android Software/Hacking General [Developers Only]] kvevand63:
Thanks again for the update. Possible bug encountered on this update regarding dnsmasq/ad blocker. After installing the update, all was fine. About an hour or so later, found that ad blocking was not functioning. Checked the hosts file and dnsmasq.conf in /etc and found that both were empty at 0 bytes. Clean flashed my ROM, installed OKJ, activated dnsmasq, rebooted and checked /etc, found that hosts and dnsmasq.conf were OK. A short time later, same deal happened. I do not have any other adblocker such as Adaway installed. Never encountered this before with your mod. All else running great. E4GT/CM11 0816 nightly/Chrome Beta.
[Android Software/Hacking General [Developers Only]] Exit_Only:
Definitely not a OKJ issue. I don't know how to even address that weird issue.
[Android Software/Hacking General [Developers Only]] Exit_Only:
Brand new stable is up. In changelog it will show 08202015_Experimental. Its smooth as butter outside that. Unofficial Pre-Alpha x86 is supported now.

Go to /META-INF folder and open folders, find x86 folder and move it to update-binary. Rezip it! Then flash!

Users with x86 processors that want to use OKJ will have to do this manually each release. I do not want to maintain two separate zip files!
[Android Software/Hacking General [Developers Only]] klemen241:
how to activate gamer mode?
[Android Software/Hacking General [Developers Only]] Exit_Only:
su

game_on

To turn it off simply reboot your phone
[Android Software/Hacking General [Developers Only]] Exit_Only:
New experimental is up!!! I didn't test this release so flash at your own risk. ;)
[Android Software/Hacking General [Developers Only]] klemen241:
One more question, I turned on all tweaks you have on first post. Bit after reboot my Internet won't work. I am connected to wifi, but browser and games can't connect. Any idea?
[Android Software/Hacking General [Developers Only]] Exit_Only:
Turn off dnsmasq. That's still experimental
[Android Software/Hacking General [Developers Only]] bilgerryan:
I'm about to test yesterday's experimental, but I think you nailed it on 8/19/15... All the things I mentioned are fixed (even though I was the only one that mentioned them)... Just awesome. *Starts slow clap*
[Android Software/Hacking General [Developers Only]] Exit_Only:
0821 is great as well
[Android Software/Hacking General [Developers Only]] Exit_Only:
New HIGHLY EXPERIMENTAL is out! Massive changes to dnsmasq for HOPEFULLY better stability. I tested 5.1.* dnsmasq binary and its stable. All others are untested!
[Android Software/Hacking General [Developers Only]] IcyGlacial:
Can you just make an easy toggle to turning off/on the mod? I mean just like press 1 + enter instead of typing "dnsmasq_on" or something like that

It will be more easier and organized
[Android Software/Hacking General [Developers Only]] mrrocketdog:
[MENTION=4741717]Exit_Only[/MENTION] , can you just make it like...voice activated.: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]] Exit_Only:
After you type the name of the activation binary that's all you have to you is press 1 or 2 then enter!
[Android Software/Hacking General [Developers Only]] Exit_Only:
I'm only that was possible :)
[Android Software/Hacking General [Developers Only]] renzo090513:
This works with other mod or i need to clean init.d folder?

Enviado desde mi LG-D802 mediante Tapatalk
[Android Software/Hacking General [Developers Only]] bilgerryan:
OKJ creates a backup of your init.d folder and creates a new folder for this mod.
[Android Software/Hacking General [Developers Only]] Exit_Only:
My updater-script does it all for you. You don't need to remove anything!
[Android Software/Hacking General [Developers Only]] dingermtb:
So far you're highly experimental build is working phenomenally on my samsung galaxy s3 thanks for all your hard work

Sent from my Exodus Knotfest SGS3 using Skyblue Tapatalk 2
[Android Software/Hacking General [Developers Only]] kvevand63:
Highly experimental or not, this update is fantastic!
[Android Software/Hacking General [Developers Only]] bilgerryan:
Agreed, good enough to be the new stable for sure.
[Android Software/Hacking General [Developers Only]] Exit_Only:
Thanks, I only marked it that way because of dnsmasq binary is now based on which android version you are using so I could only test 5.1 binary. Its a solid update.
[Android Software/Hacking General [Developers Only]] rkuijpers:
Tried to enable dnsmasq, but this is what it says in terminal:

I looked into the folder that was mentioned in terminal and looked into the zip file, but I don't see anything wrong really?

Running Android 5.1.1, latest highly experimental version of Killjoy.

Any idea what's wrong in these pictures? [emoji16]
[Android Software/Hacking General [Developers Only]] bilgerryan:
Been running it all day on 5.0.1 Touchwiz with dnsmasq on, super solid. By the way my users LOVE the incorporation of OKJ into my ROM. All are saying it's like they have a new phone, I for one am so ecstatic you decided to start this back up... And it just keeps getting better.
[Android Software/Hacking General [Developers Only]] renzo090513:
This mod is for smothness or battery life?

Enviado desde mi LG-D802 mediante Tapatalk
[Android Software/Hacking General [Developers Only]] Exit_Only:
All in one
[Android Software/Hacking General [Developers Only]] Exit_Only:
You most likely don't have init.d support
[Android Software/Hacking General [Developers Only]] rkuijpers:
I'll look into that, but it wouldn't make sense to me though.

Every older version of your mod worked beautifully, dnsmasq included. It is one of the main reasons I'm using your mod [emoji6]

I'm using the CAF CM12.1 rom SultanXDA built for the OnePlus One, it should have built-in init.d support.

I'll find out if init.d is working like it should first. I'll be back! [emoji13]

Verstuurd vanaf mijn XT1039 met Tapatalk (my second Android phone)
[Android Software/Hacking General [Developers Only]] Exit_Only:
Type in terminal

su

initd

Follow the prompts
[Android Software/Hacking General [Developers Only]] rkuijpers:
I might be totally wrong here, (I'm sorry if so) but if I understand it right with my n00b code reading skills, something is not working due to an error in line 60:

Not meant to offend you, just trying to help and find out why it doesn't work for me. Obviously it works perfectly for plenty of others [emoji106]

Init.d seems to be working fine, all other scripts run as far as I can tell.
[Android Software/Hacking General [Developers Only]] rkuijpers:
We must have been typing at the same time, because I only saw your post after I posted my last message.

I did what you asked me to do, it said "activated" on both lines. I rebooted as asked, but nothing changed. Now what? [emoji1]
[Android Software/Hacking General [Developers Only]] rkuijpers:
The OnePlus One, running this rom: http://xdaforums.com/showthread.php?t=3120259 Tyr CAF 3.4.0 kernel and TWRP 2.8.6.0.

Does the error in line 60 give you any clue as to why it happens? I'm happy to try something else if needed?
[Android Software/Hacking General [Developers Only]] Kitschki:
How does this compare to L Speed? In the sense of what does this mod do different? Have been hearing good stuff about your mod so I was wondering whether I should switch
[Android Software/Hacking General [Developers Only]] miten_sheth:
Trying to download this but the links are down.. Any othr place I can download it?
[Android Software/Hacking General [Developers Only]] Exit_Only:
Operation Killjoy predates L Speed by over a year, L Speed is actually based on OKJ as most other tweaks on here are based on OKJ with developers adding their own twist to the base. Welcome to original :)
[Android Software/Hacking General [Developers Only]] Exit_Only:
Links are not down. Try using a different browser!
[Android Software/Hacking General [Developers Only]] Exit_Only:
No because non of my testers nor myself can pull that syntax error. I recommend updating to TWRP v2.8.7.0 and starting over from scratch.
[Android Software/Hacking General [Developers Only]] rkuijpers:
Tried that, made no difference. Still the same error in terminal like in my earlier post.

Can you tell me wat happens when dnsmasq_on is called in terminal, so I can try to put the file(s) in place manually?

Maybe I still can get dnsmasq running?

Don't care about the on/off switch in terminal, it's always turned on in my phone anyway.

Your help would be very much appreciated!
[Android Software/Hacking General [Developers Only]] Exit_Only:
Please try the 08242015 experimental. I believe I fixed the problem!

New experimental is also posted. Read changelog for full details!
[Android Software/Hacking General [Developers Only]] kzhkr:
Hi.. I just installed in on a Note 2 w/ stock rom (4.4.2) + custom kernel. The settings in OKJ don't stick (cputuner). I'm not too sure about entro if it's working.

Any solution as I did reinstall before and same things happened.

TIA!
[Android Software/Hacking General [Developers Only]] rkuijpers:
You Sir, deserve a medal! It works! Thanks for looking into this, even though I was the only one having problems! [emoji1] [emoji106]

Just me being curious, what was the culprit?
[Android Software/Hacking General [Developers Only]] bilgerryan:
Well if you type "entro" you can see the entropy levels... As for cputuner, how do you know the settings aren't "sticking"? It kinda sounds like you don't know what you're doing. Might want to reread the OP.
[Android Software/Hacking General [Developers Only]] kzhkr:
i have trickster mod installed so i could see the settings. governor wasn't set as per cputuner. i/o scheduler and memory buffer too.

so what is it that i don't know what i'm doing? please enlighten.. thanks!
[Android Software/Hacking General [Developers Only]] Exit_Only:
You really need to read my op top to bottom.
[Android Software/Hacking General [Developers Only]] kzhkr:
Yup, done that too upon reading the thread but it's still the same.

Trickster mod kernel setting wasn't activated as I only used it to check on the settings.
[Android Software/Hacking General [Developers Only]] Exit_Only:
When I added support for 2.3 I forgot a syntax which through the error!
[Android Software/Hacking General [Developers Only]] bilgerryan:
Also might want to make sure you are choosing settings in cputuner that are available for your kernel. For example if you choose Smartass governor and your kernel doesn't support it then it won't set it because it isn't available (there is a list of available governors at the bottom)... I was referring to checking entropy levels, that's right in the OP. If it's not setting it and you have Trickster and that does work, then why not just use Trickster? I don't know, that's just my two cents. I just set mine to interactive and deadline and loaded up RTB and it says they changed.
[Android Software/Hacking General [Developers Only]] Exit_Only:
He's most likely choosing a governor, scheduler, etc etc his kernel doesn't support. That's the only reason cputuner would not work is using something the kernel doesn't support.
[Android Software/Hacking General [Developers Only]] kzhkr:
Ehh.. I chose under "available governors" coz I asked you before. Haha! Shall meddle a little bit more if not will just flash another rom on it.

Thanks anyway!
[Android Software/Hacking General [Developers Only]] hansonchen:
I think your problem is related to the custom kernel. The custom kernel is overwriting your settings in cputuner whenever you reboot your mobile. Try setting the same (cpu, gpu, zram, etc.) in your custom kernel whatever you set in cputuner
[Android Software/Hacking General [Developers Only]] Exit_Only:
No that's not the problem, cputuner values once activated will survive reboots if the user is NOT using a CPU/kernel application, or does NOT have init.d support. If you are using an app to set your CPU values then leave cputuner alone.
[Android Software/Hacking General [Developers Only]] Exit_Only:
You need to delete trickster app! I'll be adding a check list script when I get time to see if users have these applications installed and if they do it will kick them out of CPU tuner!
[Android Software/Hacking General [Developers Only]] hansonchen:
True. A custom kernel mostly have or need an app to configure those values of cpu, gpu, sound, charging amp, etc. In my case, I'm using boeffla, arter97 or agni's custom kernel on my s3 roms, all of them have their own apps to configure. Some are thru scripts in init.d (agni), special folders /system/addon.d/kernel.sh (arter97), etc.

Depending on the delayed timing after reboot, it will apply the values set, these apps will overwrite cputuner's settings if it runs after cputuner. Users either need to uninstall or freeze these customs apps or don't use cputuner.

That's my experience using custom kernels & okj
[Android Software/Hacking General [Developers Only]] Exit_Only:
You got it ;) cputuner is Linux based so it doesn't continually run in the background like apps do. Much more resource and RAM friendly!
[Android Software/Hacking General [Developers Only]] rkuijpers:
Ummm...

Although dnsmasq is running and working perfectly now on my 5.1.1 rom, dnsmasq is very high in CPU, between 20-40% all the time, even when phone is not in use and/or screen off. It seems to be having something to do with selinux not granting enough permissions to dnsmasq? I recently updated to 5.1.1 and didn't have this problem on 4.4.4.

I have selinux on permissive, but that doesn't help.

I did some googling looking for a simple solution, and found out others are having the same troubles with dnsmasq in combination with selinux. Didn't find a simple solution though.

Any ideas?

Man, lollipop does bring some troubles I didn't expect [emoji21]
[Android Software/Hacking General [Developers Only]] Exit_Only:
Did you flash the pie patch?
[Android Software/Hacking General [Developers Only]] ArtfulDodger:
I was way behind on what CPU Tuner script does now. I was thinking you still had to have the old CPU Tuner app to run with the script like when OKJ started. I just ran it & rebooted. The minimum didn't stick but the max did, and so did the scheduler. The lowest setting I can have is 96 so I selected 100, but 384 is the minimum showing in CM performance settings (nothing set on boot there either). Yes I did freeze Trickster also. No biggie as long as things run smoothly and I save a little RAM, it's all good.

Also wanted to mention on the previous version of OKJ I was using (8/8), Zealot was not cleaning system partitions daily like I had set it. Now in the latest stable (8/20) version it is, system apps optimize each day when I power on my phone. I really like how with this script, you can actually not only tell a difference but see it in action also. How many times do people get fooled by placebo?
[Android Software/Hacking General [Developers Only]] rkuijpers:
Yep, not before, but now I did. Doesn't help, dnsmasq stays in the 20-40 cpu range.

I guess it has something to do with 5.1.1 in particular, as no-one reported it yet.

Anyone else having massive cpu use from dnsmasq? What can I do to help you figure this out Exit_Only? I can give you all the logs you need. Thanks for your help, greatly appreciated!
[Android Software/Hacking General [Developers Only]] Exit_Only:
I'm not having that issue. Running CM12.1 Nightly 08232015.