FORUMS
Remove All Ads from XDA

[KERNEL] [CLARK] [LOS 7.1.2] HandBag Kernel - v2.3.3

92 posts
Thanks Meter: 323
 
By XDleader555, Member on 15th May 2017, 11:52 AM
Post Reply Email Thread
HandBag Kernel
"Every single feature"

Development for the Moto X Style/Pure seems a little quiet, so I decided to patch together my own kernel. I think this is the perfect chance to learn git and the build system for android. Feature requests are welcome!

Disclaimer
Please note that this is my first kernel and that stability and battery life are not guaranteed. Actually, nothing is guaranteed. I am not responsible for bricked devices or lost data. Flash at your own risk.
You will most definitely have to adjust the default settings. Expect lags and fun stuff.

Also note that this kernel is meant for LineageOS based roms. Tested and running daily on XT1575.

Features
  • Based on Lineage OS source
  • Additional CPU Governors (Alucard, ElementalX, Despair, Chill, IntelliActive, Lionheart, BioShock, BluActive, Wheatley, ZZMove, Impulse, Relaxed)
  • Additional I/O Schedulers (Deadline, NOOP, Maple, Row FIOPS, SIO, SIOPlus, TripNDroid, VR, Zen)
  • Additional Hotplug Drivers (Alucard Hotplug, Autosmp, Bricked Hotplug, MSM Hotplug, Lazyplug) Causes laggy wakeup
  • Additional TCP congestion algorithms (Default westwood)
  • KSM/uKSM
  • Overclock/Underclock
  • Voltage control
  • Wake Gestures by flar2
  • Fsync, Inputboost, Touchboost, and Wakelock Toggles
  • Kexec Not needed yet
  • Ofast Actually Os for now (Kernel gets too big and there's no decompression for aarch64)
  • UBER Toolchain 6.0 Linero Toolchain 6.3.1
  • Dynamic Fsync
  • Adreno Idler/Boost
  • AnyKernel2 Installer
  • Backlight Dimmer
  • Color control (KCal)

To-Do
  • I dunno, you tell me.

Installation
  1. Flash in recovery
Note: AnyKernel2 will use your existing ramdisk. It's recommended to flash over the kernel that came with your rom or a previous version of my kernel. Refer to AnyKernel2 for restoring after a bad flash.

Downloads
See Downloads Tab under thread title: https://forum.xda-developers.com/dev...0678#downloads
There are two branches:
msm - Uses the stock msm_core_ctl to handle hotplugging
hotplugs - Uses custom hotplugging solutions (Currently only bricked_hotplug)

Special Thanks and Credits
flar2
franciscofranco
nathanchance
frap129
dirtyhank
showp1984
engstk
faux123
neobuddy89
ZaneZam
yank555-lu
HashBang173
varunchitre15
Cl3Kener (UBERTC)
osm0sis (AnyKernel2)
trashy111 (For build server hardware)
... and various other helpful developers!
If I missed someone who should be on here,
please feel free to let me know.

XDA:DevDB Information
HandBag Kernel, Kernel for the Moto X Style (Pure)

Contributors
XDleader555
Source Code: https://github.com/XDleader555/HandBag-Kernel-Clark

Kernel Special Features:

Version Information
Status: Testing

Created 2017-05-15
Last Updated 2017-07-31
The Following 36 Users Say Thank You to XDleader555 For This Useful Post: [ View ] Gift XDleader555 Ad-Free
 
 
15th May 2017, 11:52 AM |#2  
XDleader555's Avatar
OP Member
Thanks Meter: 323
 
More
Changelog
07/31/17 - v2.3.3
handbag-msm:
  • Forgot to re-enable msm_core_ctl hotplug (oops)

Older Changelogs:

07/30/17 - v2.3.2
  • Add voltage control

07/28/17 - 4:59PM - msm branch - v2.3.1
  • Bring back alucard governor
  • Bring back power efficient workqueue
  • Bring back Dynamic fsync
  • Bring back uKSM and patches
  • Add LCD Notifier
  • Disable trace_printk
  • Disable sched_hrtick

07/28/17 - 12:39AM - msm branch - v2.3
  • Re-enable msm_performance (Default Kernel Hotplugging)
  • Update Zen Tune from 4.5 to 4.10
  • Enable Partial Resume
  • Revert Stack Protection from Strong to Normal
  • Add Software CRC toggle
  • Revert Alucard, Autosmp, bricked, msm_hotplug, lazyplug Hotplugs
  • Revert Dynamic fsync
  • Revert powersuspend and state_notifier
  • Temporarily Revert power efficient work queues
  • Revert KEXEC patches until someone complains
  • Temporarily Revert uKSM
  • A lot of other various cherry picks reverted

06/23/17 - 3:23PM - v2.2
  • Add Alucard Hotplug and Autosmp Hotplug
  • Add Alucard CPU Governor
  • Set some cpu defaults on boot from frap129's electron kernel
  • Cherry-pick f2fs patch to avoid syncing kernel panics
  • Increase thermal threshold from 46C to 60C. Light load happens around 55C, so we're always throttling
  • Disable thermal core control (You can re-enable it if you like)
  • Dynamic Fsync
  • Add CIFS support
  • REVERT: wrong vibe control commit

06/15/17 - 11:41PM - v2.1
  • REVERT: Merge F2FS changes up to May 20th 2016
  • REVERT: Small updates to msm mdss
  • REVERT: Switched to bricked_hotplug as default
  • REVERT: Show cpu voltages (Not actually useful)
  • REVERT: Update linux from 3.10.102 -> 3.10.105
  • REVERT: zRam, zSwap, zMalloc Updates
  • REVERT: linux/random backport from linux 4.1.40
  • REVERT: Those various "optimizations"
  • REVERT: Anything relating to state_notifier and system_wq
  • Bring back PowerSuspend. Why fix what ain't broke.
  • Add patch to avoid f2fs kernel panic/bootloop when downgrading/upgrading (sidegrading?) to v2.1

05/31/17 - 12:50AM - v2.0
  • Merge F2FS changes up to May 20th 2016
  • Small updates to msm mdss
  • Switched to bricked_hotplug as default
  • This should really be 1.9.1, but I already made it 2.0. Too lazy to fix ¯\_(ツ)_/¯

05/30/17 - 1:37AM - v1.9
  • Switch toolchains from UberTC 6.0 to Linero 6.3.1
  • Add relaxed cpu governor
  • Show cpu voltages (No editing unfortunately)
  • Slimbus overclock
  • UNREVERT: zSwap, zMalloc Updates
  • Removed powersuspend (not needed)
  • linux/random backport from linux 4.1.40
  • Various optimizations I probably missed

05/26/17 - 3:38AM - v1.8
  • UNREVERT: Update linux from 3.10.102 -> 3.10.105
  • UNREVERT: zRam updates
  • disabled zSwap (I don't think anyone uses this, correct me if I'm wrong)
  • converted msm_hotplug to use state_notifier
  • converted bricked_hotplug to use state_notifier

05/25/17 - 8:14PM - v1.7.1
  • Fixed overclock frequency not showing
  • Fixed enabling/disabling of state_notifier in tuning apps (turns off hotplug suspend)
  • converted msm_hotplug to use state_notifier I need to touch up on C

05/24/17 - 10:16PM - v1.7
  • Cleaned source code tree
  • REVERT: Update linux from 3.10.102 -> 3.10.105
  • REVERT: Moved msm_hotplug to system_wq
  • REVERT: Interactive CPU governor pulled from Pixel source
  • REVERT: zRam, zSwap, zMalloc Updates
  • REVERT: Overclocking/Underclocking (Just temporary, ran out of time)

05/24/17 - 3:16AM - v1.6
  • Update linux from 3.10.102 -> 3.10.105
  • Added Lazyplug
  • Moved msm_hotplug to system_wq
  • Avoided boot issue caused by msm_hotplug by setting Lazyplug as default. (msm_hotplug still works if set by user)

05/22/17 - 2:37AM - v1.5
  • Wake Gestures: Fixed touchscreen not responding when enabling gestures with the screen off
  • Wake Gestures: Fixed touchscreen not responding in ambient display
  • Wake Gestures: Phone call detection
  • Set msm_hotplug as default
  • Tweaked msm_hotplug defaults slightly
  • Increased default idle frequency for bricked_hotplug to 600mhz

05/21/17 - 7:38AM - v1.4
  • Added Wake Gestures by flar2 (DT2W, S2W, S2S)
  • Added uKSM
  • Interactive CPU governor pulled from Pixel source (Seems to have fixed our crashing issue)
  • Added Despair and Chill CPU governors
  • Power efficient work queue mode (wq_power_saving)
  • KEXEC
  • Updated zmalloc and zram
  • Adreno Boost
  • Overclocking/Underclocking

05/17/17 - 7:50PM - v1.3
  • Removed msm_core_ctl to prevent conflicts with bricked hotplug
  • Renamed bricked_hotplug to prevent confusion
  • Added msm_hotplug v2.4
  • Fixed touchboost for those who actually like that
  • Added color calibration (KCAL)

05/17/17 - 5:57AM - v1.2
  • Added Governors (IntelliActive, Lionheart, BioShock, BluActive, Wheatley, ZZMove, Impulse)
  • Added Adreno Idler
  • Small optimizations
  • Disabled Touchboost by default
  • Added Kernel PowerSuspend

05/16/17 - 12:33PM
  • Fixed backlight dimmer
  • Removed userspace governor

05/15/17 - 3:29AM
  • Initial Release
  • It's highly recommended that you apply your own settings with a kernel manager until I add bootup scripts
The Following 6 Users Say Thank You to XDleader555 For This Useful Post: [ View ] Gift XDleader555 Ad-Free
15th May 2017, 11:52 AM |#3  
XDleader555's Avatar
OP Member
Thanks Meter: 323
 
More
Frequently Asked Questions
Q: How do I logcat?
A: You'll need adb or root
Through adb:
Code:
adb logcat -b all -d > %userprofile%/Desktop/logcat.txt
Through your phone:
Download a terminal app
Code:
su
logcat -b all -d > /sdcard/logcat.txt
It'll take about 10 seconds for the command to work. Preferably catch the log as soon as you boot.
Upload the logcat found at the output directory as an attachment.

Q: Where is hybrid mode for powersuspend?
A: https://forum.xda-developers.com/sho...2&postcount=92

Q: Which Roms work with this kernel? Does it work on CAF Roms?
A: Lineage OS. No guarantees for other Roms, but users have reported that it works on:
  • Mokee OS
  • Resurrection Remix
  • Dirty Unicorns (CAF?)
  • AICP
  • CrDroid

Q: What app should I use to tune this kernel?
A: I prefer EX Kernel Manager, but Kernel Adiutor works well too.

Q: Can we get X feature?
A: Working on it.
The Following User Says Thank You to XDleader555 For This Useful Post: [ View ] Gift XDleader555 Ad-Free
15th May 2017, 01:24 PM |#4  
Senior Member
Thanks Meter: 265
 
More
Nice
Will give it a try!
15th May 2017, 01:39 PM |#5  
Sagar_1401's Avatar
Senior Member
Flag Navi Mumbai India
Thanks Meter: 109
 
More
Great work

---------- Post added at 12:39 PM ---------- Previous post was at 12:38 PM ----------

Quote:
Originally Posted by aakashverma0007

Nice
Will give it a try!

Waiting for your new video on this kernal's reviews
The Following User Says Thank You to Sagar_1401 For This Useful Post: [ View ] Gift Sagar_1401 Ad-Free
15th May 2017, 02:22 PM |#6  
Senior Member
Thanks Meter: 114
 
More
Nice work! I was gonna do something similar but I never had time. If I do I might do it for caf-aosp roms. I will flash this kernel with resurrection remix and give some feedback! Very nice job
15th May 2017, 03:30 PM |#7  
Senior Member
Thanks Meter: 67
 
More
confirmed working on Mokee OS nightly for 20170514
The Following User Says Thank You to ismithx For This Useful Post: [ View ] Gift ismithx Ad-Free
15th May 2017, 03:58 PM |#8  
Senior Member
Flag New York
Thanks Meter: 88
 
More
This won't work with something like CypherOS which is AOSP based right?
15th May 2017, 04:19 PM |#9  
Senior Member
Thanks Meter: 67
 
More
you can try... backup your boot.img in recovery, if anything goes wrong you can always recover from that
15th May 2017, 04:46 PM |#10  
Senior Member
Thanks Meter: 114
 
More
Confirmed working on Resurrection remix latest weekly.
15th May 2017, 04:58 PM |#11  
Senior Member
Thanks Meter: 17
 
More
Bro please include KCAL support if possible. The piece I have does not render good colors. It would be awesome then. Thanks for your efforts.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes