Dear friends i found new scripts mod by @Exit_Only ...
http://forum.xda-developers.com/showthread.php?t=2411161
I'm Using this mod for many weeks and still no problem exists..
Wifi tether and direct also works under this mod..
Default Scripts | 10/03/2013 | Team Kernelizers | Operation Killjoy™ | RC7 | Insanity
OPERATION KILLJOY™
TEAM KERNELIZERS PRESENTS...
Operation Killjoy™ This tweak package takes your android device to a whole new level of awesomeness. Big thanks to all the developers involved.
THIS TWEAK PACKAGE IS 100% UNIVERSAL ON ALL DEVICES RUNNING ANDROID 4.0 OR HIGHER!!!
CREDITS:
Thanks to all my testers
First and foremost I want to thank team kernelizers for taking me inas a member of there team
@malybru (for the awesome banner)
@Ryuinferno(For the entro binary)
@LENAROX(For all your recommendations)
@Koush(For being an awesome coder)
@CyanogenMod(Do I need to say why)
@mw86(Being an amazing tester and debugger)
@idcrisis(For haveged binary for entropy)
@thomas.raines(Just a general thanks)
@jrummy16(Being an awesome coder)
@kejar31
@kobridge(Awesome scripter)
@zeppelinrox(Awesome scripter, most scripts on xda is because of your genius)
@Chainfire(Touchscreen script)
@ImbaWind(ICS ram flush boost script)
@GideonX(Awesome kernel dev
@RErick(Team k)
@decialman(Team k)
@castle_bravo(Team k)
@dsexton(Remount and readahead original dev)
@Juwe11(Original Minfree script)
@noobnl(GS3 maintainer for CM)
Any one else? If I forgot you please pm me and it will be fixed ASAP!!!
ATTENTION DEVELOPERS: I REALLY DO NOT WANT ANY DEVELOPER USING MY TWEAKS FOR ANYTHING. DUE TO UNFORTUNATE INCIDENTS ON XDA I RESPECTFULLY ASK NO DEVELOPER USE KILLJOY IN THERE PROJECT, TWEAK, MOD, KERNEL, ROM OR ANY OTHER TYPE PROJECT. PLEASE ADD A LINK TO YOUR OP BUT DO NOT INCLUDE IT IN YOUR ZIP FILE.
My Donations: https://www.paypal.com/cgi-bin/websc...=V6B74D49LB3SW
CURRENT DONATIONS RECEIVED:
Melanie (Unknown XDA Screen name) - $10.00 @azuma37 (XDA) - $5.00
Unknown name / Unknown XDA Username - $5.00 @iamsmallpang - $5.00 @RErick - $75.00 @jakereeves - $20.00 @Samurai - $5.00
Updated on 8/19/2013 @ 6:55am P.D.T
General Q & A Section:
Q.)How can I tell if this is actually working or not?
A.)Open Terminal Emulator and type this command...
Code:
su
killjoy
Q.)Help!!! Why is my phone bootlooping?
A.)I need more detailed information like what device you have, what version of android are you on, what recovery are you using? Better yet please get me a adb boot logcat as well.
Q.)Build.prop tweaks did not inject!!! Why?
A.)You don't have init.d support!!!
Q.)But my kernel supports init.d so why is my buildprop not getting injected?
A.)Well obviously you don't have init.d support cause if you did the build.prop would have been injected.
Q.)How can I test to see if I have init.d support?
A.)Flash this - http://www.mediafire.com/?97q4sh1wwcesois
Once you flash it then go into /data folder and look to see if you have a file called "okj_test.log", no log means no init.d support. END OF STORY!!!
Standard Disclaimer: Flash at your own risk. Myself nor XDA is responsible for any damage this thing may cause you. If your phone blows up after flashing this and you point the finger at me or team kernelizers I will laugh at you!!!
GENERAL WARNING: Do NOT I repeat DO NOT use ANY other tweaks with this package. If you choose to do so after reading this you do so AT YOUR OWN RISK. If you ask bout other tweaks in my thread YOU WILL BE IGNORED.
WHAT IS NEEDED:
1.) Root access (su binary required)
2.) Need to be on 4.0 ICS or higher
3.) Terminal Emulator app
4.) Enough space in your /system partition (10 mb available minimum)
If you do not meet these requirements then DO NOT USE IT!!!
5.) A kernel that has init.d support built into it or another init.d support method.
If you don't meet all these requirement DO NOT use this package!!!
1.) Make sure you meet the requirements above
2.) Download the latest version of Operation Killjoy™
3.) Boot into recovery (CWM recovery)
4.) Make a nandroid backup
5.) Flash inside CWM recovery
6.) Reboot...
7.) Profit...????
ABOUT THE TWEAKS:
1.) 2 init.d script
2.) Entropy Generator
Turn on entropy...
Code:
su
entro_on
Turn off entropy...
Code:
su
entro_off
Check available entropy levels type (YOU MUST HAVE ACTIVATED ENTROPY RESTORE BEFORE ATTEMPTING THIS)
Code:
su
entro
3.) Ext4 Tweaks
4.) Zero UI Lag
5.) Maxed out speed & Performance
6.) Disables most logging activities
7.) Lots of kernel tweaks (Disabled most kernel sleeps and Adjusted Linux values)
8.) Multiple VM & Net tweaks
9.) RAM booster binary (Recover lost ram on the go without rebooting)
Choose between moderate and aggressive ram boost...
Code:
su
boost
10.) Killjoy™ Binary (Exit_Only Exclusive)
Code:
su
killjoy
11.) Very light weight and fast
12.) CpuControl script that is 100% user tweaked via root explorer
If you are running ANY overclock apps then cputuner IS NOT for you!!! Cputuner will check to see if your running an OC app and will kick you out of cputuner if it detects said app!!!
I'll add more as I remember it :thumbup::beer:
08-18-13: First Release
08-19-13: Fixed All Derps
08-26-13: Completely Revamped CPU Tuner
Read ahead adjusted from 3072 to 2048 kb
Added new cat logging feature from tkmod (MERGED)
Added GPU Rendering from tkmod (MERGED)
Added buildprop script modified from tkmod (MERGED)
Redid entire init.d script from ground up and added samsung touchscreen mod (NOT APPICIBLE ON ALL SAMSUNG MODELS)
Numerous adjustments to code overall
08-29-13_test: Removed GPU render script
Removed build prop injector
Adjusted some values for better stability
09-02-13_official: Removed all test scripts
Fixed licensing errors
Fixed all errors
Removed cputuner to kill developer conflicts
Stable release
09-03-12_official: Fixed multiple bugs
No new features added
09-05-13_official: Made buildprop script busybox dependent
Fixed random rebooting
Fixed laginess
Fixed buildprop tweaks not installing on TWRP
Much better battery life and stability
09-08-13_RC2: Fixed bootloops happening because of read ahead scripts
Added testinitd script that will tell you whether you have init.d support, look in /data/killjoy/*
Adjusted a lot of stuff for better stability and battery life
Fixed logging issue from RC1
Official Release Canidiate v2
09-10-13_RC3: No more support for gingerbread devices
Must be running android 4.0 or higher or script will abort
Fixed lag issues
Killed logcating again
Adjusted build.prop script
Removed all test scripts
10-02-13_RC7: Added intellidemand governor to cputuner
Removed unstable commented out code
Updated to newest busybox
Fixed killjoy binary
Updated version number
OFFICIAL RELEASES
09-05-2013_official: http://www.mediafire.com/?41gw8d3tude71q3
OFFICIAL RELEASE CANIDIATES
10-02-2013_RC7: http://www.mediafire.com/?861h11n1767gu15
TEST RELEASES
No test releases yet!!!
WARNING: THESE ARE EXPERIMENTAL BUILDS ONLY. FLASH AT YOUR OWN RISK!!! Some of these builds will be super stable and others may not be stable at all. Keep in mind I do test every release so it will be at least semi stable.
KNOWN ISSUES & BUGS:
1.) Bootloops have happened on a few devices using TWRP Recoveries, Current workaround is use CWM Recovery.
2.) Build.prop injection tool not working on TWRP v2.6.0.0+ on multiple devices. Current workaround is use CWM Recovery.
XDA Script & Code Developer
Check out my github: http://github.com/ExitOnly
In support of Android Open Source Project (AOSP)
Current Device:
Samsung Galaxy S III (d2spr)
Current Setup:
CM10.1.1 Nightly w/ RNGD Entropy generator
Direct Injection Turbo Custom Tweaks
0-60 in less then 2 seconds
How to uninstall killjoy!!!
1.) Open terminal emulator
2.) Type these commands
Code:
su
uninstall
3.) Reboot your device
4.) Killjoy is gone
hello. would like to know how to make this script run on every boot?
zamurai x said:
hello. would like to know how to make this script run on every boot?
Click to expand...
Click to collapse
this script run over every boot automatically..
Related
For use with Streak Gingerbread Roms
Edit 12-7-11
This is the marked end of Gkernels project,
Gkernels 1.5 FINAL
but the marked beginning of Gxkernels!
Changes to 1.5 include:
Bumped the Dell source to 2.6.35.14 -Stable
Removed QoS in networking for reasons clear to my mind
Flashable zip here: http://db.tt/JuCSscC8
Developer tar.gz here: http://db.tt/pNkHIPRQ
Special thanks to you, the user of Gkernels!
-G
Edit 12-4-11
Gkernels1.4.3.1 now a flashable zip from your recovery, for easy installs!
lex parsimoniae
Special thanks going to _n0p_ for this method!
Download link here:http://db.tt/XrDJQ6Jv
to install:
copy the zip to sdcard, launch recovery in your streak, flash the zip file
for future releases, I will include the standard Gkernels tar.gz for rom developers, and also the flashable zip file, as two separate links for the community.
-Greg
Edit 12-3-11
GKERNELS1.4.3.1
Built with an older toolchain arm-eabi-4.3.1
Changes from 1.4.0.1 include:
<*> General filesystem local caching manager
<*> Filesystem caching on files
Wifi-
<*> Common routines for IEEE802.11 drivers
--- Bluetooth subsystem support
[*] L2CAP Extended Features support (EXPERIMENTAL)
networking options-
[*] IP: multicasting
[*] IP: ARP daemon support
Qos service changed-
<*> Hierarchical Fair Service Curve (HFSC)
---removed from 1.4.0.1 version---
adjust priority to speedup resume thread, (seems to help with wifi issue, special thanks DSC-Team)
Again, no overclocking;
Download Link here: http://db.tt/0vlfvlaI
Edit 11-27-11
1.4.0.1
changes since 1.3.3:
Suspend sleep mode (Power collapse suspend)
Control the low power modes of memory
Default Memory Low Power Mode during Idle (Memory in retention)
Default Memory Low Power Mode during Suspend (Memory in deep power down)
Enable standalone power collapse
Android RAM Console Enable error correction
Virtual Contiguous Memory (VCM) Layer
Download link: http://db.tt/ZnaqJ9qH
I am fairly certain wifi freeze issue is resolved. Further testing is needed to prove this;
Enjoy!
-Greg
Gkernels 1.3.3 still attached below
Gkernels 1.3.3
changes from Gkernels1.0
Enable WiFi control function abstraction
Preallocate memory for WiFi buffers
Enable KSM for page merging
Use kernel mem{cpy,set}() for {copy_to,clear}_user() (EXPERIMENTAL)
I've got some under-volting going on with static voltage regulator
kernel switched to low resolution timer
Cross-Compiled using arm-eabi-4.4.3 from Dell 4.05 source, thanks given to Dj Steve for his tip with wifi practices. Thanks going out to kernel cross-compiling sources and books; thanks to all the rom chefs;
To me, Streak kernel work is more of an art than a science. Include Gkernels in your rom; do what you feel with it, all is permitted.
Installation Instructions
Method 1:Assumption is on a linux distro,
obtain a prebuilt fastboot and adb binary, and get them into your /bin folder, to use the commands from anywhere within your system
download Gkernels1.3 and extract, if you have not already done so.
attach streak to computer with usb cable;
from the extracted archive directory run this command in terminal:
sudo adb reboot bootloader
the streak will then boot into the fastboot mode
Then:
fastboot -i 0x413c flash boot boot.img
Then:
fastboot -i 0x413c reboot
then from same directory, run this command as phone is rebooting:
sudo adb push dhd.ko /system/lib/modules
I then recommend rebooting one more time.
Method 2: Any system
Re-substitute the boot.img and dhd.ko in the archive, by replacing same files, in your chosen rom's update zip;
transfer to the device
then flash as you would, the rom using your prior flashed recovery.
Thanks to Delirium77!
Method 3: Bypass for adb with root explorer/total commander app from the market
flash the boot.img with fastboot per method 1-
copy the dhd.ko file to your sd card, unplug your device, and using root explorer/total commander, navigate to the file on the sdcard, then move it to:
/system/lib/modules
ensure the dhd.ko file has correct permissions, then your wifi will function after a reboot.
-Greg
Thanks for your work!
can you build for your kernel few modules?
cifs.ko, slow-work.ko
for slow-work there is some kind of manual editing and preparing.
or if you give me your .config i will try this myself?
EDIT:
also you can statically compile CIFS filesystem into kernel
mind if i ask what advantage/s does this kernel have over Steve's gingerstreak kernel?
I can provide a .config file, sometime this evening, as I am away-
Gkernels is a project based on the 4.05 Dell source;
It is not better than another kernel in that regard, I am trying to get all I can out of it, without overclock. Changes to my knowledge, that differ from the Steve kernel, are listed above;
Thanks to _n0p_ 's tip 1.3.3 solves the RTC issue- Thanks _n0p_
I believe this was done by changing to the low resolution timer.
-Greg
.config
Sorry for the delay, I was detained-
attached is the .config for 1.3.3
Working with an attempt to solve the wifi issues-
one environment seemed to work during my testing, yet at a great sacrifice to battery life, by enabling:
control the low power modes of memory -->
Default Memory Low Power Mode during Idle (Memory active)
Default Memory Low Power Mode during Suspend (Memory active)
I am still uncertain-
before I release a 1.4, I will trial more of these modes
-Greg
Can this modes be switched by detecting if external power supplied?
--
I've also recieved some requests, saying that power (and maybe other) buttons sometimes "flickers". Is there any way to filter key events a little?
--
Thank you for your devotion,
Sergei
I will look into this.
Hi, there seems to be some screen tearing , I suspect that it has something to do with vsync. Could this be fixed with a new kernel update or is this ROM related?
Sharptv-
This may be kernel, rom or both related;
you may try and experiment with different roms and kernels-
This could also be screen density related, on my device there is minimal tearing on default density
I had some screen tearing on power rom but none on DSC....
Good work on the kernal
May bishnu grant you many donkeys and wives
@Roy
are u indian
Hi GSpecial!
I'd like to ask you to join forces with ltrifonov.
You both are advanced system builders, i think Streakers community would really benefit from your teamwork!
That's an awesome job you are doing. Never was able to crack more than 1500 upload until now!
Sent from the SuperStreak!
borijess said:
That's an awesome job you are doing. Never was able to crack more than 1500 upload until now!
Sent from the SuperStreak!
Click to expand...
Click to collapse
Is this considered a good score?? I just did the test and got 10ping, 15162kbps down and 8912kbps up
Sent from my Dell Streak using xda premium
Greg, your new kernel 1.4.0.1 (can say after a day of tests), is absolutely fantastic.
Fast, responsive even with conservative governor waking from 128Mhz - and WiFi is simply excellent!
Thank you!
Nop can you make a flashable zip plz???
You might pay attention to Downloads section for DSC ROM (not ad )
greekunit690 said:
Is this considered a good score?? I just did the test and got 10ping, 15162kbps down and 8912kbps up
Sent from my Dell Streak using xda premium
Click to expand...
Click to collapse
I guess compared to u rs no but normally I was getting around 1000 up. So its 3 times as fast now for me.
Sent from the SuperStreak!
Apologies if this has already been linked.
This is a great tool that "should" remove bloatware on our devices, i say "should" because it was originally developed for the Play. The Dev has said it should work on but does depend on the bloatware app names.
This is not my work. Credit to fma965.
The original thread is here
[AROMA|MOD][18th August][V0.3] Speed Up Your Rom! (Bloatware Remover)
fma965 said:
SuperSpeed (Bloat Remover) 0.3
Hey guys i created a small customizable update.zip which is currently able to remove the bloatware you select.
No screenshots as i haven't got SDK set up and its the only way to ScreenShot Recovery now i have the SDK set up but DDMS still doens't work in recovery so still no screeshots
Its using AROMA to allow for customizations and a lot more features will be coming soon.
Features!
Code:
Remove BloatWare
Remove Certain Apps
Enable ZRAM
ZipAlign at boot (not tested)
Switch WiFi Modules
More to come.
How to use!
Code:
Just download the attached zip file
copy it to your sdcard
load recovery
install my zip
choose the options you like.
ScreenShots! (Click Images To Enlarge, Sorry about the quality was using a samsung i5700 to take them)
[URL=http://i.imgur.com/QfbnZ.jpg]
[/URL]
Changelog!
Code:
V0.3
- Fixed the broken code with zram and zipalign (It didn't work before)
- Fixed the 2 Bloatware Sections
- Fixed Typos
V0.2
- Added ZRAM Enabler
- Added ZipAlign At Boot (Not Tested)
V0.1
- Initial Release
DONT REPLY SAYING "THANKS" INSTEAD CLICK THE "THANKS" BUTTON (only if you want to!)
Click to expand...
Click to collapse
wil try it the next days.
Note : I'm just sharing the work of the XDA Member DorianX.This mod was tested on stock deodexed and it was working fine.I'm not sure that it'll work on CM7 or not.Please test and report here.
:: Introduction ::..
XTweaks is a script pack something like others availables on XDA BUT with some of the logic from
SuperCharger V6 by zeppelinrox
(automatically set some values based on your total available RAM).
I've been using this scripts in my custom roms and it worked fine, so I decided to release it to public.
Click to expand...
Click to collapse
:: In the pack ::..
/data/tmp/* (This is a temporary folder that contain libncurses.so and sqlite3, from android 2.3.x to 4.4.x,
these files are required to run some scripts correctly).
/system/bin:
uninstall (This is an uninstaller, in case that you don't like the mod just go to terminal emulator and type:
su [enter], uninstall [enter] then XTweaks will get uninstalled and your phone will reboot by itself).
uninstallboot (This is an uninstaller for bootanimation only just go to terminal emulator and type:
su [enter], uninstallboot [enter]).
/system/etc/init.d:
00Buildprop (This script will add some values to build.prop on first boot then will be deleted by itself).
00SQlite (This add libncurses.so to /system/lib, sqlite3 to /system/xbin, then will be deleted by itself).
01Ksm (This enable "Kernel SamePage Merging" (KSM))
02Ram_Anim (Better memory management).
03Gov_Sched_Tweaks (This contain some Governor & I/O Scheduler tweaks).
04System_Tweaks (Another memory tweaks and kernel tweaks for better battery life).
05SDCard_Tweaks (This script change the read_ahead_kb value to 2048, faster speeds on SD card).
06NetSpeed_Security (You will get faster conections on WiFi/Mobile Network).
07Cleaner (This clear some unnecessary data and disables logcat) (if you need to get a logcat delete this script).
08Fix_Emissions (This script made it by zeppelinrox fix permissions to your apps and folders every boot preventing force closes).
09Detailing (This script optimize the database for your apps every boot also made it by zeppelinrox).
10Flush-O-Matic (This script clear the cached apps every hour so will get more true free RAM also made it by zeppelinrox).
/system/media:
bootanimation.zip (Customized bootanimation based on Nexus 7's 4.4).
/system/xbin:
busybox (Is the latest busybox by Stericson (1.21.1) needed to run all the scripts, root, etc.).
/tools:
backup.sh (This is a temporary script that makes a backup of your ini.d folder and your current bootanimation (if your ROM have a regular /system/media/bootanimation.zip)).
busybox (This is a temporary busybox to get run the installer).
Click to expand...
Click to collapse
..:: Requirements ::..
- Rooted phone.
- Android 2.3+.
- Kernel/ROM with init.d support.
- 10mb free in system.
- Custom recovery.
Click to expand...
Click to collapse
..:: Installation ::..
- Download the latest version of this mod.
- Copy it on your sd card.
- Go to recovery mode.
- Flash it.
- Reboot.
- Enjoy!
..:: F.A.Q. ::..
Q. How can I uninstall this mod?
A.Go to terminal and type this :
su
uninstall
Q. How can I uninstall the integrated bootanimation?
A.Go to terminal and type this :
su
uninstallboot
Q. Is this mod compatible with other mods?
A. Maybe with Crossbreeder but you need to test it, first install this mod then install the one you want to try.
Click to expand...
Click to collapse
..:: Downloads ::.. : http://www.mediafire.com/download/a3i6wxh3rnhgng6/XTweaks-1.0.1.zip
Original Thread : http://forum.xda-developers.com/showthread.php?t=2574443
Credits :
DorianX
Click to expand...
Click to collapse
No one pressed the Thanks button!!
[SIZE="4']Note : I'm just sharing the work of the XDA Member Android-Fany.This is the updated mod of Smart Fluid and it has been tested on CM7 based roms.Here's a little introduction by him :[/B][/U][/SIZE]
[QUOTE="Android-fany, post: 50756696, member: 4949642"]±SmartFluid±
Hello everyone,
this is a another contribution by me. This time it's a SCRIPT. I took some code from another scripts, modified them a little bit and added some own code. I tried it myself and saw more speed. Well, don't have much to talk about, so let's start...
I don't guarantee that it will work. Be sure you have a available backup.
Features
• Disable/Enable logger with terminal commands (Disable for more performance)
• R/W tweaks
• Network tweaks
• Better Remount
• Replaces /dev/random with /dev/urandom for more performance (maybe placebo)
• Disables syncookies
• Disable Journaling (only effective if you have EXT4 filesystem)
• Set Renice to make phone more effective
• FPS Stabilizer
• Some Important Build.prop tweaks
• And much more... Test it yourself
To do things, write following in terminal:
Code:
su
smartfluid
Installation
1. Flash into your recovery
2. Mount /system AND /data
3. Flash the script
4. Enjoy!
If you want to uninstall this script, download the Uninstaller from the attachment and follow the above instructions.
Credits
pikachu01
ImBaWind
Pizza_Dox
tazlooney89
Me
And with some help from:
@devloz
@Sniper Killer
@El_Dark
If you have any question or suggestion, don't hesitate writing to me.
The latest attachment is the newest version.[/QUOTE]
Download the script from original thread.
Original Thread - http://forum.xda-developers.com/showthread.php?t=2667611
Introduction:
This modification / custom kernel configuration for Pixel and Pixel XL is optimized and made with the focus on bringing several, carefully tuned behind-the-scenes enhancements & adjustments that improves overall critically needed performance, system responsivness and battery life to the highest possible level. The seed to this project can by the way be found here, for anyone that is interested of its origins.
Note: This script is not recommended to be modified or customized by the user.
The latest release can be found here.
Disclaimer:
This is presented as "what if". If this modification screws up or breaks anything for you, I am not the one to be held responsible. It's a free will to try out this kind of changes/modifications/addons/tweaks, just don't blame the inventors for eventual bad results and/or screw-ups.
Features:
Reduced battery consumption
Device specific enhancements for best possible balance between battery life & performance
Enabled, and fully configured, Boeffla generic kernel wakelock blocker
[
Disabled a lot of useless stuff at kernel level (Improves battery life as well as performance)
CPUSet improvements & optimizations
Schedtune tweaks (Improves responsivness)
Power efficiency enhancements
Wide IO block tuning (Reduces the possibility of hiccups, lags and overhead)
Possibly other miscellaneous things I've forgotten to write down here, both big and small.
Requirements/what you need for getting this script fully working:
An unlocked bootloader
Your own specific choice of kernel
Latest Magisk
Busybox for Android NDK Magisk Module by @osm0sis
Patience
Installation/How-To use & abuse:
1) Download the attached ZIP
2) Extract the script
3) Move the script to the following location;
/data/adb/service.d and give the script the following permissions (0755)
4) Reboot your phone, let Android boot to the launcher and let Magisk boot service do its crucial magic (takes a few seconds before the scripts is fully up and running around behind the scenes)
5) Enjoy!
Note: If you still are unsure how to do for making my kernel configuration / modification work & be up and running behind the scenes, then please read @Phalanx7621 phenomenal guide here or check out @Phalanx7621 in-depth video here. The installation method is the same for both the first generation as well as the second generation of Pixels!
Credits:
@nathanchance for his contributions with his Flash Kernel
@franciscofranco for all the information on which kernel wakelocks that is safe to block
@Phalanx7621 for his phenomenal how-to guide
@Lord Boeffla for his awesome generic kernel wakelock blocker
@pkgnex for inspiring me walking into this partially unknown territory from the beginning
@flar2 for his excellent EXKM application and ElementalX Kernel
@osm0sis for his Magisk Busybox module
Everyone that I've forgotten to mention here
Telegram:
If you want to try out betas / previews of my script before they are officially released, or just hangout and chat a little, then join the official Telegram group here
To-Do list:
Optimize and properly tune things even further for best possible balance between battery life, system responsivness and performance
Contributors:
@xFirefly93
Created: 2018-10-08
Last updated: 2019-01-04
Been following your thread over in the Pixel 2 XL forum, nice to have you here
Edit: sorry for stealing the first post btw hehe
EDIT: My changelog dedicated post have exceeded 30000 characters, so I have decided that the changelog will only be included in the respective update posts from now on!
So you all know how the situation is.
shagbag913 said:
Been following your thread over in the Pixel 2 XL forum, nice to have you here
Click to expand...
Click to collapse
I'll do whatever I can on the first generation Pixels for giving you guys & girls the same awesome experience.
And thanks btw.
:highfive:
Update!
v1.1 (Minor release)
- Made a few more (hopefully) battery conserving adjustments to the Sched governor.
Enjoy!
There is no .core folder inside /sbin, do we have to create it ? Edit: reboot solved. Couldn't see it.
Got it installed and I'm thinking it's working. Does the script turn off Core Control ? Just noticed it's off in Ex Kernel Manager , is this by design ?
Core control screenshot
Phalanx7621 said:
There is no .core folder inside /sbin, do we have to create it ? Edit: reboot solved. Couldn't see it.
Got it installed and I'm thinking it's working. Does the script turn off Core Control ? Just noticed it's off in Ex Kernel Manager , is this by design ?
Click to expand...
Click to collapse
Hm, I have not touched the specific tunable that is controlling Core Control.. Maybe it is disabled because of my Sched CPU governor tweak.
Phalanx7621 said:
Core control screenshot
Click to expand...
Click to collapse
xFirefly93 said:
Hm, I have not touched the specific tunable that is controlling Core Control.. Maybe it is disabled because of my Sched CPU governor tweak.
Click to expand...
Click to collapse
I can confirm that the same happens to me.
Thanks for the work!
Phalanx7621 said:
Core control screenshot
Click to expand...
Click to collapse
Old Man Dave said:
I can confirm that the same happens to me.
Thanks for the work!
Click to expand...
Click to collapse
I'll take a look into it later today.
EDIT: Oh snap, I forgot that I have disabled the Core Control tunable in my script. My bad, sorry.
Do you guys want to have it enabled or disabled btw?
xFirefly93 said:
I'll take a look into it later today.
EDIT: Oh snap, I forgot that I have disabled the Core Control tunable in my script. My bad, sorry.
Do you guys want to have it enabled or disabled btw?
Click to expand...
Click to collapse
I mean I'm only concerned with battery life. If you get better battery life with it off, I'm down with that for sure.
Phalanx7621 said:
I mean I'm only concerned with battery life. If you get better battery life with it off, I'm down with that for sure.
Click to expand...
Click to collapse
I will compare how my Marlin / Pixel XL performs with it disabled respectively enabled and see which "solution" that is giving best battery life with less performance tradeoffs, and then I will include the best overall compromise in v1.2 of my kernel configuration / script.
For anyone else interested in this, this is how I went about it:
1) Downloaded Flash Kernel from his thread over here https://forum.xda-developers.com/pixel-xl/development/marlin-flash-kernel-1-00-t3788300
2) Downloaded the latest version of this mod
3) Downloaded the Magisk module required, which you can find by searching Magisk for "busybox" and choosing the "Busybox for android NDK" version
4) Flash that Magisk module, reboot into recovery, flash the Flash kernel (no need to reflash magisk, it's automatic), reboot back into system.
5) Check to make sure Magisk is functioning properly, for me I had to reboot due to an error in the application but that may have been on my end.
6) So now you have Flash kernel and the Magisk module required to be able to properly run this script. Extract the script from the .zip file you downloaded to a folder.
7) Ok so these next steps if you aren't familiar with this stuff could be tricky, but it's actually simple it just sounds tricky. I use Mixplorer for this, I highly suggest using it, it's free and it's on XDA Labs here. https://labs.xda-developers.com/store/app/com.mixplorer But any file explorer w/ root access will do. Inside the folder you extracted the script into there are two versions, choose the Public Release version and copy that file. Navigate to root ( / ) and go to /data/media/0 and paste the file there. The reason for this is you have to change the permissions to allow it to be an executable script and this folder allows that. (there are other ways to do this, FYI but this works just fine for me) You want the permissions to be 755, so it would look like this: (see attachment) To change permissions in Mixplorer, just long press the file and hit the little i (for information) in the upper right. Then click on the permissions you want to change.
8) Now all you have to do is copy that file you just changed the permissions to and paste it into: /sbin/.core/img/.core/service.d | | Now you won't be able to SEE .core unless you have hidden files on, in Magisk it's in the upper right hand corner 3 dot menu. Click Show Hidden. After you paste the file there, reboot and congratulations, you have achieved greatness.
Phalanx7621 said:
.. FYI..
Click to expand...
Click to collapse
Thanks a lot for the in-depth guide! I added your guide to the OP both in this thread and over at my Pixel 2 (XL) thread!
:highfive:
xFirefly93 said:
Thanks a lot for the in-depth guide! I added your guide to the OP both in this thread and over at my Pixel 2 (XL) thread!
:highfive:
Click to expand...
Click to collapse
Oh ok cool, just wanted anybody else to be able to use this awesome mod too, it works wonderfully!
I miss this path on my pixel: /sbin/.core/img/.core/service.d
i'm on last LOS 16.0
moyses said:
I miss this path on my pixel: /sbin/.core/img/.core/service.d
i'm on last LOS 16.0
Click to expand...
Click to collapse
It's there.... I'm on the same rom. You need to start at root and not device storage, as well as show hidden folders
moyses said:
I miss this path on my pixel: /sbin/.core/img/.core/service.d
i'm on last LOS 16.0
Click to expand...
Click to collapse
Use X-plore file manager adn give Root permissions and in settings Show hidden files or folders something.
Update!
v1.2 (Minor release)
- Optimized Sched governor for best balance between performance & battery life
- Reverted pm_freeze_timeout to stock settings
- Raised dirty_ratio to 30
- Some minor script based clean-ups here and there
Enjoy!
xFirefly93 said:
Update!
v1.2 (Minor release)
- Optimized Sched governor for best balance between performance & battery life
- Reverted pm_freeze_timeout to stock settings
- Raised dirty_ratio to 30
- Some minor script based clean-ups here and there
Enjoy!
Click to expand...
Click to collapse
Hi, which release from Public and Maintenance we have to use. Thank you for your hard work.