FORUMS
Remove All Ads from XDA

[KERNEL] [CLARK] [LOS 7.1.2] HandBag Kernel - v1.7 - May 24th

43 posts
Thanks Meter: 136
 
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 (ElementalX, Despair, Chill, IntelliActive, Lionheart, BioShock, BluActive, Wheatley, ZZMove, Impulse) If you are getting black screens, please switch from interactive to some other governor.
  • Additional I/O Schedulers (Deadline, NOOP, Maple, Row FIOPS, SIO, SIOPlus, TripNDroid, VR, Zen)
  • Additional Hotplug Drivers (Bricked Hotplug, MSM Hotplug, Lazyplug)
  • Additional TCP congestion algorithms (Default westwood)
  • KSM/uKSM
  • Overclock/Underclock
  • Wake Gestures by flar2
  • KEXEC
  • Ofast Actually Os for now (Kernel gets too big and there's no decompression for aarch64)
  • UBER Toolchain 6.0
  • Fsync Toggle
  • Inputboost Toggle
  • Touchboost Toggle
  • Wakelock Toggles
  • Adreno Idler
  • Adreno Boost
  • Kernel PowerSuspend
  • AnyKernel2 Installer
  • Backlight Dimmer (Bug? Can't enable this with Ex Kernel Manager, use Kernel Adiutor)
  • Color control (KCal)

To-Do
  • Fix interactive
  • Alucard Hotplug, mako Hotplug (Any others?)
  • init scripts to set defaults
  • Overclock, Underclock
  • Voltage Control
  • add DT2W, Swipe2Wake, Swipe2Sleep
  • Bring back msm_core_ctl as a selectable hotplug
  • Edit Backlight Dimmer location so it shows up correctly
  • Add options for Backlight Dimmer
  • Optimize defaults (If someone has some pretty good presets, please share and I can hardcode them for everyone)
  • 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
Mirror links coming soon...

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!

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

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

Kernel Special Features:

Version Information
Status: Testing

Created 2017-05-15
Last Updated 2017-05-25
The Following 25 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: 136
 
More
Changelog
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)

Older Changelogs:
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 4 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: 136
 
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: I'm getting a random black screen when my phone sleeps
A: It's a known issue, use one of the many other governors available (Fixed in v1.4)

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

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.
15th May 2017, 01:24 PM |#4  
Senior Member
Thanks Meter: 202
 
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: 90
 
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: 81
 
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: 66
 
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: 83
 
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: 66
 
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: 81
 
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