[KERNEL] Furnace-1.0.5 for Nexus 4 [AOSP/CAF][8/9/2014][DT2W-PROFILE][S2D][LZ4] - Nexus 4 Original Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I will update this as long as I have time, introducing new features and fixes for any issues that may arise.
If you have any feature requests or ideas that haven't been seen before, don't hesitate to throw it out there, I love new things!
If you're concerned about benchmarks, go here.
Features:
Android: KK (aosp) / L-Preview (l-preview) / CAF (cm-11.0)
CC: Linaro 4.9.1 1406
Ver: 3.4.102
Kernel Compression: LZ4
Ramdisk Compression: LZ4
Min Freq: 94500
Max Freq: 1836000
TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD(default)
FS: exFAT/F2FS
IO: ROW/BFQ/SIO/FIOPS/ZEN/VR/NOOP/CFQ/DEADLINE(default) / (default readahead - 512)
GOV: intelliactive/ondemandplus/wheatley/ondemand(default)/userspace/powersave/performance/interactive
HotPlug: MPDecision/msm_hotplug(default)
Voltage Control
TouchWake
Semaphore DoubleTap2Wake
DoubleTap2Wake Profiles
DoubleTap2Wake Feather
Bidirectional Sweep2Sleep
Sweep2Dim
Gamma Control
Battery Life eXtender
Force Fast Charge
FSync system call control
Faux123's Sound Control
FRandom
VFP Hardfloat
CPU-Boost
Linaro's Power-Efficient Workqueue​
Click to expand...
Click to collapse
Sweep2Dim uses a modified version of the sweep2wake drivers in combination with LG's LCD KCAL driver to raise or lower RGB multipliers based on sweep gestures.
Right -> Left sweeps drop the kcal multipliers by 73 (or, 33% of the 220 avail)
Left -> Right sweeps raise the kcal mulitpliers by 73
If you sweep left continuously, or until your display goes "black", the driver will trigger a powerkey press and turn off the display.
Since KCAL does not alter your backlight's brightness, you Sweep2Dim can work parallel to auto-brightness, and you can even use it to dim the display lower than the brightness 'slider' allows for.
Sweep2Dim is enabled by default, if you want to disable it, just enable Sweep2Wake/Sleep.​
Click to expand...
Click to collapse
Main builds have a stock max frequency of 1512MHz
OC tagged builds enable max frequency up to 1836Mhz​
Click to expand...
Click to collapse
download / source / changes
Dev Resources:
You will need to get a hold of the latest unpackbootimg/mkbootimg/lz4demo/dtbToolCM binaries, here's a copy of my ~/bin
Boot partition is located here: /dev/block/platform/msm_sdcc.1/by-name/boot
To unpack:
Code:
mkdir output
./unpackbootimg -i boot.img -o output
To repack:
Code:
./mkbootimg --kernel output/boot.img-zImage --ramdisk output/boot.img-ramdisk.lz4 --cmdline "console=ttyHSL0,115200,n8 androidboot.hardware=mako lpj=67677 user_debug=31" --base 0x80200000 --pagesize 2048 --ramdisk_offset 0x02000000 --tags_offset 0x00000100 -o boot.img
note: this kernel requires ramdisk_offset 0x02300000
Unpacking/Repacking ramdisk as .lz4
Code:
lz4demo -d /path/to/ramdisk.lz4
mkbootfs /path/to/ramdisk_dir | lz4demo -c stdin ramdisk.lz4
Packing as .gz
Code:
mkbootfs /path/to/ramdisk_dir | gzip > ramdisk.gz
​

looks very interesting, thanks

second.. Will test.. Works with L port?

Rohit02 said:
second.. Will test.. Works with L port?
Click to expand...
Click to collapse
If it does, I don't support it. My branch is 4.4.4 but I might make a go at L.

@savoca : Fnally one of the top kernel of N5 to N4...
Great work...
Btw just 1 quick ques...implementation of dt2w, s2w etc have your own modification or standard implementation that most kernel use ?
Reason being 99% implementation have screen freeze issues especially in pocket...so asked...
Screen2dim looks classy

vampire36 said:
@savoca : Fnally one of the top kernel of N5 to N4...
Great work...
Btw just 1 quick ques...implementation of dt2w, s2w etc have your own modification or standard implementation that most kernel use ?
Reason being 99% implementation have screen freeze issues especially in pocket...so asked...
Screen2dim looks classy
Click to expand...
Click to collapse
I used showp's implementation if that helps, but you can see all my changes on github. The S2D video was after an early build on M8, so there's visible quirks there like a delayed setting (this has been fixed for this release)

savoca said:
I used showp's implementation if that helps, but you can see all my changes on github. The S2D video was after an early build on M8, so there's visible quirks there like a delayed setting (this has been fixed for this release)
Click to expand...
Click to collapse
Thanx a lot Checking out :good:

vampire36 said:
Thanx a lot Checking out :good:
---------- Post added at 08:20 AM ---------- Previous post was at 08:11 AM ----------
Am checking out S2D and just read your detailed explanation of it...am planning to use it in place of S2S and S2W...for that will need to set value to 255 for drop or increase...
My query is is S2D with 255 drop working differently than S2S/S2W...?
Click to expand...
Click to collapse
Well that would be a poor choice, in my opinion. S2D just manipulates RGB mulitpliers, so if you set them all to 0, you still have a backlight shining through a black screen, a major major drain. You could use it inplace of S2S only, however you would need to use DT2W for screen on (I can actually allow S2W aswell, I'll make some changes tomorrow).
To change the amount that is raised/dropped per gesture the sysfs is below.
Code:
echo "1/255" > /sys/module/sweep2wake/parameters/down_kcal
echo "1/255" > /sys/module/sweep2wake/parameters/up_kcal

savoca said:
Well that would be a poor choice, in my opinion. S2D just manipulates RGB mulitpliers, so if you set them all to 0, you still have a backlight shining through a black screen, a major major drain. You could use it inplace of S2S only, however you would need to use DT2W for screen on (I can actually allow S2W aswell, I'll make some changes tomorrow).
To change the amount that is raised/dropped per gesture the sysfs is below.
Code:
echo "1/255" > /sys/module/sweep2wake/parameters/down_kcal
echo "1/255" > /sys/module/sweep2wake/parameters/up_kcal
Click to expand...
Click to collapse
Yup get the point...Would be great if you could look at it from s2w point...s2s working good...s2w i don't know...almost all have given me screen unresponsive issue...will test furnace 2...if you could allow s2w with s2d i don't know if it will work together with s2s...but if it does hope gives a good solution for non power button use...
Btw are default setting optimal or need to modify any values ? Whats the config you use ?

vampire36 said:
Yup get the point...Would be great if you could look at it from s2w point...s2s working good...s2w i don't know...almost all have given me screen unresponsive issue...will test furnace 2...if you could allow s2w with s2d i don't know if it will work together with s2s...but if it does hope gives a good solution for non power button use...
Btw are default setting optimal or need to modify any values ? Whats the config you use ?
Click to expand...
Click to collapse
I'll definitely work in S2W+S2D no problem. The default settings are fine for me as well.
Sent from my Nexus 4 using XDA Premium 4 mobile app

Everything working fine so far. I report battery life and more impressions later.
Edit: maybe you take a look into semaphore dt2w implementation. For me it is better and I don't have the problem of unresponsive touchscreen after boot and not touch the screen in 30 sec.

Very happy to see you here!!
Been using your MotoG kernel from beginning and now for my N4 too

Nice something new to flash
Is there are reason for not implenting ROW?
Oh and any preferred kernel app ?

@savoca
time to jumping from Semaphore to this !

Let's try this out, always love when new kernels come for our device
N⁴

vampire36 said:
Yup get the point...Would be great if you could look at it from s2w point...s2s working good...s2w i don't know...almost all have given me screen unresponsive issue...will test furnace 2...if you could allow s2w with s2d i don't know if it will work together with s2s...but if it does hope gives a good solution for non power button use...
Btw are default setting optimal or need to modify any values ? Whats the config you use ?
Click to expand...
Click to collapse
kevinnol said:
Nice something new to flash
Is there are reason for not implenting ROW?
Oh and any preferred kernel app ?
Click to expand...
Click to collapse
Preferred kernel app is trickster, I make the sysfs with that app in mind (e.g. intelliplug 3.7 w/ eco_mode_active obj) and their dev team told me they added sweep2dim as a todo for next release.
Here's a boot.img that allows S2D to work with S2W, overriding S2W+S2S only if S2D is enabled, if that makes sense. I also added back all the original TCP/IO (reno,cubic,bic..noop,cfq) and added ROW, didn't catch that Google didn't include it by default. Lastly, I made S2W bidirectional, I guess I'll update this into the next version at the next linux kernel bump.

savoca said:
Preferred kernel app is trickster, I make the sysfs with that app in mind (e.g. intelliplug 3.7 w/ eco_mode_active obj) and their dev team told me they added sweep2dim as a todo for next release.
Here's a boot.img that allows S2D to work with S2W, overriding S2W+S2S only if S2D is enabled, if that makes sense. I also added back all the original TCP/IO (reno,cubic,bic..noop,cfq) and added ROW, didn't catch that Google didn't include it by default. Lastly, I made S2W bidirectional, I guess I'll update this into the next version at the next linux kernel bump.
Click to expand...
Click to collapse
i would like to make a request please: kindly add pocket mod in your kernel as there is one in elemental x kernel in HTC One M7... (my phone always wake in my pocket and starts tee toun tee taan... Emergency call pee poon paan... etc...

Mortal Eternity said:
i would like to make a request please: kindly add pocket mod in your kernel as there is one in elemental x kernel in HTC One M7... (my phone always wake in my pocket and starts tee toun tee taan... Emergency call pee poon paan... etc...
Click to expand...
Click to collapse
There's some major differences between the drivers on N4 and M7 so I'm not sure how hard that would be, but I do have this commit I can use to make dt2w more less (or more, it's configurable) as well, let me know what you think.

Nekator said:
Everything working fine so far. I report battery life and more impressions later.
Edit: maybe you take a look into semaphore dt2w implementation. For me it is better and I don't have the problem of unresponsive touchscreen after boot and not touch the screen in 30 sec.
Click to expand...
Click to collapse
+1 for semaphore dt2w. By far the most consistent/efficient for me.

savoca said:
There's some major differences between the drivers on N4 and M7 so I'm not sure how hard that would be, but I do have this commit I can use to make dt2w more less (or more, it's configurable) as well, let me know what you think.
Click to expand...
Click to collapse
I feel too configurable cool but you should look at Stratosk's implementation...Semaphore kernel...best and no screen unresponsive issue
Btw tried s2w with 5 min of stay in pocked got unresponsive screen Had to use power button using gravity screen on/off with furnace for now Btw changed governor to intellidemand...uv -75 rest default...working a treat Thanx again

Related

[Kernel][AOSP][2.02 | November 2nd] Plasma kernel

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I. Thanks!
.
Disclaimer: I take no responsibility for any damage that might occur to your device. You proceed strictly at your own risk. This is a work in progress.​Thank you for your interest in Plasma kernel, I hope you enjoy it. I've poured hundreds upon hundreds of hours of work into putting together a kernel that best showcases our hardware. Plasma kernel would not be possible without super-smart people like AndreiLux, DerTeufel, temasek, googyanas, faux123, and the regular contributors to the official cm kernel repositories. Please donate to them to support their hard work!​.
II. Features
CPU frequency range: 100MHz to 2.16GHz
ZZMoove, PegasusQ, performance (with support for multiple cores), and LulzactiveQ CPU governors
Zen, noop, deadline, row, cfq, sio, vr schedulers
Experimental Wolfson AND Voodoo Sound support (choose one or the other on the Audio tab of STweaks, then REBOOT!)
CPU voltage control
Linux 3.0.101
AndreiLux: Screen color calibration with mdnie-control
GPU over/underclock and over/undervolt
Control the frequency and voltage of all 5 GPU steps
Support for GPU clocks from 54MHz to beyond 800MHz
Control GPU governor sampling rate
Built with 4.8 toolchain
Built with -O3 and other optimizations
Extra panel brightness (<299)
Faux123: Dynamic fsync control (v1.2)
AndreiLux: Charging control
Support for STweaks
Control screen refresh rate (can be reduced to save battery)
AndreiLux: Memory/internal voltage control interface
AndreiLux: Adaptive Body Bias (ABB) control
AndreiLux: Digital brightness control/reduction (better than ScreenFilter)
LED control (with some color mixing adjustments by me)
Touchwake support, including touchkeys (enable in Screen tab of STweaks)
Multi-touch kernel-based gesture engine
Proportional Rate Reduction for TCP
Joe's RCU
Temasek: Frandom module (enable on the Memory/Internal tab of STweaks and REBOOT!)
S-Pen settings on the S-PEN tab of STweaks
zCache
Support for 4x parallel "Turbo ZRAM" (settings are on the "I/O / RAM" tab of STweaks)
UKSM
Enhanced Touchwake/Slide2Wake functionality
Arc-swipes to turn your phone on with one hand (Screen tab of STweaks)
Long-tap-off to turn your device off with one hand (Screen tab of STweaks)
Power off gesture: tap the top of the screen and a touchkey at the same time to trigger suspend
Change your power manager (PM) CPU lock frequency
Press the home button 4 times to toggle the screen negative
Press the home buttom 3 times as fast as you can to toggle the screen into nightmode (red)
exFAT support
For more, take a look at the commits
.
III. What's NewDon't forget to check out what was new in 2.0b7 and 2.0b12!​
[ZRAM Total Disk Size]: By default ZRAM is setup as four (4x) swaps operating in parallel at equal priorities. Set this to the TOTAL amount of RAM you wish to dedicate to ZRAM, and STweaks will automatically divide it evenly by four.
[UKSM Enable]: Enable the UKSM daemon that will continuously scan memory for duplicate data.
[UKSM Daemon Sampling Rate]: How often the daemon checks for duplicate data.
[UKSM CPU Usage Limit]: How much system load (CPU usage) the daemon will use.
[Long-tap-off Always On]: Found in its own section under the Touchwake section. When enabled Longtapoff will always work, regardless of how you woke your device. Takes effect immediately.
[Many ZZMoove settings]: Many ZZMoove settings on the newly created "ZZMoove Scaling" and "ZZMoove Hotplug" tabs. Descriptions coming soon.
.
IV. Download / Donate
Support the development of Plasma kernel by DONATING if you find it useful!
AOSP 4.3.x only!
Plasma kernel v2.02 for the international Note 2 (n7100)
Plasma kernel v2.02 for the international Note 2 4G/LTE (n7105)
Plasma Gesture Pack
Support the development of Plasma kernel by DONATING if you find it useful!
​.
V. Changelog
v2.02 (November 2nd, 2013)
Tracked audio/media skipping bug to disabled loggers (thanks pappschlumpf!) By default logging is now enabled. While you can still disable it, it will always be reset upon reboot.
Changes to write-back caching (thanks temasek)
Support for switching touchkey backlight driver from ROM/kernel (bottom of Screen tab in STweaks) (thanks Yank555-lu)
Some bug fixes for Slide2Wake
​.
VI. Archived Changelogs
2013-10-29 | v2.00 7100 / n7105 LTE
Linux 3.0.101 (thanks temasek)
Hopeful bugfixes for untouchable screen, and taps on top triggering suspend
Should you encounter a problem like that, cycling on and off (power button) should now reset any state variables
Fix FC issues. Works with more ROMs, including the latest AOSP nightlies
Allow pm_idx_freq to be set as high as 1600 MHz, theoretically could slightly speed up waking from deep sleep. Set on "Plasma Tuneables" tab of STweaks
Added several new tuneable ideas to zzmoove
Added "ZZMoove Scaling" and "ZZMoove Hotplug" tabs to STweaks. The descriptions are still a work in progress
Moved mDNIe controls to their own "Color" tab
Greatly enhanced the longpressoff feature's reliability and ease of use (by upgrading to scheduled_work)
Slide2Wake and arc swipes now trigger CPU and memory frequency locks to speed up waking
Slide2Wake and arc swipes no longer accidentally send input in the milliseconds after the screen comes on, but before you finished your gesture
Added option to Screen tab of STweaks to enable Longtapoff always, regardless of how the device woken
Expanded the trigger areas for slide2wake and arc swipes
ZRAM/swap is working and compatible with "Turbo ZRAM" (4x parallel ZRAM swaps for quad core devices) (thanks googyanas)
ZRAM settings in STweaks now allows you to set one total size of RAM that will be divided into 4x ZRAM swaps. Setting to 0 disables all swaps. Changes are applied instantly. No need for any other ZRAM/swap apps or init.d scripts.
UKSM (Ultra KSM (Kernel Samepage Merging)) enabled, with settings on the "I/O / RAM" tab of STweaks. Mostly just a novelty, but what it does is continuously checks RAM for duplicate pages to save space
zCache enabled and always running
Cleancache enabled
Frontswap enabled
Enabled LOWMEM_CHECK (thanks googyanas)
Enabled SPEEDUP_KEYRESUME as discussed in temasek's thread (Placebo effect? Maybe. Better ask Brian Molko. A cookie for you if you understand that reference) (thanks googyanas)
Added my own wake-speed ideas (2-second max-CPU-speed lock, and 2-second max-bus/RAM-speed lock on KEY_POWER press)
Permanently fixed (hopefully) the laggy, skippy, media bug
Toggle negative screen mode by taping the home button 4 times quickly (but NOT as fast as you can) (based on a commit by gokhanmoral)
Toggle nightmode (red) screen mode by pressing the home button 3 times VERY quickly (pretty much as fast as you can) This is purposely designed to be a dim red, as searing bright 255 red isn't particularly easy on your eyes in the dark. Fun fact: this (and the negative one described above) are functional even during boot...triple tap to see your bootscreen turn red
CPUFreq bug fixes/commits (thanks DerTeufel)
Permanent TRIM (thanks googyanas)
Added shell scripts to quickly and easily see statistics with as little typing as possible. Open a command prompt on your device, type "su" and press enter to ascend to root. Now you can type "szc" and press enter to see zCache statistics (szc = show zcache). Or type "ssw" to see swapfile/zRAM statistics (ssw = show swap). Note: Some statistics don't fully populate until a few minutes after boot
Experimental: Set ZZMoove governor for battery savings by obtaining a root shell as described above, then typing "zzb" and pressing enter (zzb = zzmove battery). Does not reapply after reboot.
Compiler optimizations
​
​.
VII. SourceSource for Plasma kernel can be found on my github.​
XDA:DevDB Information
Plasma kernel, a Kernel for the Samsung Galaxy Note II
Contributors
ffolkes
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 2.02
Stable Release Date: 2013-11-02
Created 2013-10-30
Last Updated 2013-11-02
Reserved
this looks killer!
can i use this kernel on n7100?thanks
Sent from my GT-N7100 using xda premium
Looks really nice. Either post a n7100 version or get this thread moved to n7105 forum.
Sent from my GT-N7100 using Tapatalk
LOL luckily I read through the OP. If not I would've flashed this on my N7100. Please make N7100 version
What? Why u post a n7105 kernel in n7100 thread?
Gesendet von meinem GT-N7100 mit Tapatalk
Yeah another kernel in our note 2. this is for n7100 or n7105? both?
Very nice, runs absolutely great on my 7105! I love the features and the stweaks support, that's what i've searched for! Please make a version for 7100, too, to make everybody happy!
Gesendet von meinem GT-N7105 mit Tapatalk
Work with latest 4.3 leaked?
adivorandroid said:
Work with latest 4.3 leaked?
Click to expand...
Click to collapse
Have a look to the threads title please. There you find AOSP, it's not for TW ROMS, like the 4.3 leak!
wow I was going to flash this on my N7100, Thank god that I didn't flash after reading the comments.
please make it available for the N7100.
It wouldn't have destroyed your device. I already flashed n7100 kernel to my N7105, but of course I don't advise doing so.
@ffolkes: nice to see you moved over here
Gesendet von meinem GT-N7105 mit Tapatalk 2
i just tried your kernel for a couple of hours, because i wanted to know about your gesture and s2w features.
after hiting the back button it now just rebooted. attached you can find last_kamsg, which hopefully helps you
mzahmed95 said:
wow I was going to flash this on my N7100, Thank god that I didn't flash after reading the comments.
please make it available for the N7100.
Click to expand...
Click to collapse
I didn't realize this was the n7100 subforum, although now I think it serves as both? So I have added the n7100 to this thread instead of making a new thread for it.
DerTeufel1980 said:
i just tried your kernel for a couple of hours, because i wanted to know about your gesture and s2w features.
after hiting the back button it now just rebooted. attached you can find last_kamsg, which hopefully helps you
Click to expand...
Click to collapse
I'm honored you would be interested in it. Sorry it crashed on you, and thank you for the bug report. Looks like the msleep() I'm calling might be interfering with the touchkey backlight - I never ran into that problem because I always have the backlight disabled. I'll have to look into it today.
For people using gestures, don't forget to set the modifier (touchkey) delay in STweaks, otherwise gestures that require a touchkey won't work properly. I default this to 0 purposely so people who don't use gestures (majority) aren't annoyed by the delay.
hope this can run on slim rom latest stable build 2
Been trying for a while now, overwhelmed by the numbers of options in STweaks. Pretty great so far. Thanks
pappschlumpf said:
Have a look to the threads title please. There you find AOSP, it's not for TW ROMS, like the 4.3 leak!
Click to expand...
Click to collapse
i dont undestand what is aosp just wanted to know on which rom it will run ? i am on slim rom 4.3
mor_1228 said:
i dont undestand what is aosp just wanted to know on which rom it will run ? i am on slim rom 4.3
Click to expand...
Click to collapse
Slim ROM is AOSP, if you've a N7105 (LTE Note 2) you could try it.
@dev:
For me MTP isn't working, Sound is only working sometimes. Tried it with and without Voodoo sound enabled. One minute I've sound, the next minute I've no sound, hmm. Please look into it.
anybody flash this in Pacman? so how is it? booted or just nandroid back up?

[Kernel] Lightning Zap Kernel... Update to Lollipop 5.0

Thomas.Raines presents
The Lightning Zap! kernel for the Nexus 4 Mako
ATTN:
I thomas.raines, nor it's affiliates claim responsibility for anything you do to damage, destroy, brick, explode, or otherwise mess up your device.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features:
Improved performance
Improved battery life
Improved network speeds
Improved boot times
Smoother scrolling
Better responsiveness
Cleaner file systems
Governor tweaks for amazing speed and performance without sacrificing battery life
Improved Memory and Ram tweaks
Improved Internet speed
kexec hack for dual booting with MultiRom.ak
Overclocked cpu
sweep2wake/doubletab2wake (disabled by default. must be enabled via script by uncommenting lines 7 and 8 in /etc/init.d/05s2w then reboot)
Amazing kernel tweaks, build.prop mods, init.d scripts and more!
Governors:
POWERSAVE
USERSPACE
ONDEMAND
INTERACTIVE
BADASSS
INTELLIDEMAND
LIONHEART
ONDEMANDX
SMARTASS2
GALLIMAUFRY
LAZY
io-schedulers
NOOP
DEADLINE
CFQ
SIO
See 2nd post for download links and changelogs
Instructions:
Make a backup
Download .zip to PC
Transfer .zip to your sdcard
Or just download it straight to your phone
Reboot to recovery
Flash
Reboot
Wait 10 minutes
Enjoy the Lightning Zap!
See 2nd post for download links and changelog
**The first boots usually takes the longest especially after a fresh install. If you pull a logcat during the first boot, you may see a few errors with the vacuum script. This is normal, and will be "fixed" after the phone has built the databases for the apps.
Please allow 24 hours after install and 1 full charge cycle before reporting results. Always provide me with a logcat with any issues you may experience.
Source Code:
mako-lz kernel
vendor_lz-kernel (LZ vendor files for ROM compiling)
Special thanks to:
jrummy16 for Root Browser Lite
show-p1984 for bricked kernel (used for rebase)
Download Links and Changelogs
Nexus-4-Mako-LightningZap_p5.1.2.zip
cpufreq adjustments
led driver adjustments
Import RB tree adjustments from Motorolla
Input packet management adjustments
EOL
https://github.com/LightningZap/and...mmit/9ee0e0e3f9cf2733c554f0da69724c79f71cb4d9
Nexus-4-Mako-LightningZap_p5.1.1.zip
Fixed voltages and frequencies
uv_bin overhaul
Fixed inconstancies in installer
Guys and gals with slow binned cpus, MAKE SURE YOU SET THE MIN VOLTAGE TO 700. Or you will get random reboots like crazy. On a side note. I would strongly suggest wiping dalvik (art) and cache before flashing. If not, your device may shutdown immediately after it is done booting. Nothing to really worry about, just simply hold the power button for a few seconds till the google screen appears, and you should be good.
Nexus-4-Mako-LightningZap_p5.1.0.zip (dl link unavailable)
Major upstream update (166 commits)
TCP tweaks
Added GCC optimizations
Updated linaro toolchains
If you are having random reboot issues or you get stuck on the Google screen, try raising your min voltage to 700MHz. If that still doesn't work, let me know here. Please try to attach a dmesg log and make sure you tag me in the post so I don't miss it (@thomas.raines)
Enjoy!
Nexus-4-Mako-LightningZap_p5.0.2.zip
Added intelli_plug to handle CPU hot swapping
Disbabled MSM_HOTPLUG
Bumped to 5.0.2
Set min CPUFREQ to 9450
Changed Aroma installer defaults to my recommendations.**NOTE** If overclocking, I recommend using higher voltage min...
Included a LightningZap! tailored init.mako.rc that sets vibrator amp to 100, disables all that unneeded cpu governor junk and more...
Nexus-4-Mako-LightningZap_p5.0.1.zip
Bump to 5.0.1
added 5.0 emmc support
speedup /proc/net/unix
network speed tweak
exec_hardboot:updated with more current patch.
Avoids bogus error messages for the suspend aborts.
Avoid using global variable total_cpus
added sound control Thanks @faux123
Nexus-4-Mako-LightningZap_p5.0.zip
Update kernel to Lollipop 5.0
Added script to fix wonky sdcard issue. (5.0 was changing it from /sdcard/<your files> to /sdcard/0/<your files>. Script prevents that from happening and all is well)
All the same greatness of Lightning Zap! 4.4.X with no issues
Enjoy folks!
Nexus-LightningZap_p4.4-3.3.zip
Added remaining uv options to table
Backlight dimmer options
USB Fast Charge
CPUFREQ:rework of all tables. New implementation of freq's using PVS.
cpufreq: properly sync current scaling governor across all cores
Slight boost in L2 cache. Corrected number of cpufreqs
enable max screen off freq on/off support
added RESTRICT_ROOTFS_SLAVE
Added fsync on/off support:Enabled by default
Added f2fs and exfat support
Inspired by elementalx's flashing format using Aroma Installer, I have revamped cpufreq and uv tables, as well as added a few options.
You can now set your default options with the installer. Just follow the prompts as you go thru.
The flashing instructions are the same; however, at the end of the flashing process, you will have an option to save the log. I would recommend doing so. But only share it with me if you have an issue.
The installer is not without it's little glitch. Occasionally, your screen might flash and appear to be going from screen to screen in recovery after the installation process has finished. Nothing to worry about. Just let it settle down and then reboot. I only had this issue in philz_touch.
With the L2 cache boost, and the lightningzap booster, those pesky random reboots due to L2 cache failing to sync are a thing of the past.
One thing to note, when selecting your cpufreq, this will set you MAXIMUM. Meaning, even with an app, you will not be able to go over the default you set. Select carefully. I would recommend setting core 1 to the highest you desire and then setting the other 3 cores lower in the case you need more. And just use trickstermod to adjust as necessary. Oddly enough, even if you set the cores individually and cores 2-3 lower than core 1, your max will be whatever core 1 was set on. But if you adjust them reverse to what I said, then you will be limited to whatever default core 1 is. Hopefully that makes sense.
I have also linked all cores. This means that when you use Trickstermod app to set your cpufreq, it applies it to ALL cores. I have notice some apps, like kernel tweaker, do not do this as they are not written correctly for multi-core processors. Most of the defaults like voltages, fsync, and sweep2* can still be controlled with trickstermod even if you disable them during install.
TBH the only thing you cannot change, is your max cpufreq (meaning, if you choose 1512(stock) as your max during install, the only way to raise it is to re-install the kernel. However, you can still fine tune it).
Another note, max freq is set to 1620; however, if you can still set it higher, will just have to use trickster mod to fine tune it...
Previous Changelogs and links
Nexus4-LightningZap_p4.4-3.2.zip
Dropped mpdecision
Added msm_hotplug (With updates)Reconfigured voltage table. Boots @ 700000uV on 94500mHz
Possible UV/OV is now 600000uV min 1450000uV max (Be careful with this as too low/high for your device could cause instability. Test your settings BEFORE setting it to set at boot. If you go below the thresholds, your device will become EXTREMELY unstable, reboot, say you should have listened and then blow up in your face...lol. Not really, but it will go into a kernel panic and reboot)
And FYI, the voltages are reported in uV not mV. If you don't know, 1000uV = 1mV; therefore, the kernel boots @ 700000 is 700mV...
Nexus4-LightningZap_p4.4-3-1.zip
Added sec_dvfs_dual. All CPU's handle hotplugging better now
Added lulzactive cpu gov
add row and fiops schedulers
set fiops as default scheduler
Working on getting smartassv2 to compile...
added LCD Gamma Hack from faux kernel
Nexus4-LightningZap_p4.4-3.zip
2 stage update on this one.
Stage 1
Dropped bricked base and went back to kk4.4 (AOSP & CAF) base
Revamped OC/UV. Still compatible with Trickster Mod app
(Because I dropped the bricked base and went back to original base, you won't have full control on thermald and mpdecision for now. Working on adding it, please be patient)
Stage 2 With results of the latest poll in mind:
Dropped the following governors:
Conservative
Gallimaufry
Ondemandx
Userspace
Made Intellidemand/deadline as default
Nexu4-LightingZap_p4.4-2.zip
Complete revamp of base. Used bricked kernel as base (thanks to show-p1984)
Created new branch for revamp (bricked-lz) Keeping kk4.4 branch for now.
Per user requests:
Moved RootBrowser to /data **Must remove it from /system/app prior to flashing
Removed voltage control app. No longer compatible with vc.
Fully compatible with TricksterMod app
Vote on the next poll for your favorite governor & io-scheduler (If I can get it setup right)
Nexu4-LightingZap_p4.4-1.2.zip
Reverted back to Linux Android Kernel version 3.4.0 due to instability
Bumped to p4.4-1.2
Revamped mako_defconfig in order to enable loadable modules
changed build cifs & tun as modules
Left WiFi modules as hard-coded drivers to avoid WiFi issues on other Roms (Sorry about this one guys and gals)
Nexus4-LightningZap_p4.4_1.1.zip
Bumped to latest stable kernel version 3.84.4 (LightningZap version p_4.4-1.1)
Added sweep2wake and doubletap2wake from bricked-kernel Mako (special thanks to show-p1984)
sweep2wake and doubletap2wake is disabled by default. To enable one or both, refer to this post
Nexus4-LightningZap_p4.4_1.zip
Initial release
Just a note, some combinations of governors and io-schedulers don't mix well and you could experience instability like freezes and reboots. Before posting an issue, change your governor and or io-scheduler. This will help me narrow down any issues. And by all means, please let me know which combination you experienced an issue with, and what exactly occurred.
Note that certain ROMs like Omni and Ubuntu Touch that use a modified initramfs or some other kernel modification, may not work with this kernel. I am working on it now.
thomas.raines said:
Hold up... getting the link now
Click to expand...
Click to collapse
Great seeing you here! My brother uses your kernel on his E4GT and he likes it a lot.
I hope you do good work for the N4 as well. :good::good::good::good:
thomas.raines said:
Hold up... getting the link now
Click to expand...
Click to collapse
The OP says it's for Blaze 4G You might want to edit it to avoid confusion Thanks for your work, sir. I had use yours in my Blaze 4G.
Maybe a bit explanation of governors? Like for lionheart and galli
Nexus 4 cihazımdan Tapatalk kullanılarak gönderildi
Wow I saw you in the Blaze fourms. Great to see you developing on the N4!
Sent from my Nexus 4 using xda app-developers app
Saw you in the et4g forums
Sent from my Nexus 4 using Tapatalk
I'm glad people say this is real looked like a hoax to zap my n4!
So who has flashed this?
sent from a toilet...
phone always fc's for me on 3 different AOSP roms
Thanks for the kernel......Testing-----------------:good:
CallMeAldy said:
phone always fc's for me on 3 different AOSP roms
Click to expand...
Click to collapse
Can you be more specific?
CallMeAldy said:
phone always fc's for me on 3 different AOSP roms
Click to expand...
Click to collapse
by chance you tried it in the rom Purity? by that I have not had problems with.:good:
Hello.
Thank you for you hard work.
I was wondering which governor and scheduler do you suggest.
Edit : Can you possibly add swipe to wake?
Yadro said:
Hello.
Thank you for you hard work.
I was wondering which governor and scheduler do you suggest.
Edit : Can you possibly add swipe to wake?
Click to expand...
Click to collapse
The governor and scheduler really varies from person to person and dependent upon their usage of the device. I think Lionheart with noop is a great combination for power and battery saving from the light user all the way up to the medium user which is why I made it default. Some have suggested that intellidemand is very good as well, but sacrifices a bit of battery saving yet adds a slight bit of performance.
I have considered adding sweep 2 wake on some of my other kernels, but haven't truly decided on it yet. I think I'm going to give it a try tonight though.
Update available
Read changelog for details
To enable sweep2wake and doubletab2wake:
use an app like kcontrol
in and adb shell or in terminal on the phone type:
Code:
echo 1 > /sys/android_touch/sweep2wake
echo 1 > /sys/android_touch/doubletap2wake
Or, I have made it even easier. In root browser, navigate to /system/etc/init.d. Open the script named 05s2w and remove the # from lines 7 and/or 8, then reboot. This will enable sweep2wake and/or doubletab2wake. You can enable both or just one of them.
thomas.raines said:
The governor and scheduler really varies from person to person and dependent upon their usage of the device. I think Lionheart with noop is a great combination for power and battery saving from the light user all the way up to the medium user which is why I made it default. Some have suggested that intellidemand is very good as well, but sacrifices a bit of battery saving yet adds a slight bit of performance.
I have considered adding sweep 2 wake on some of my other kernels, but haven't truly decided on it yet. I think I'm going to give it a try tonight though.
Click to expand...
Click to collapse
Thanks! So far i'm enjoying this kernel a lot! Working out for me on XenonHD.
---------- Post added at 08:49 AM ---------- Previous post was at 08:48 AM ----------
thomas.raines said:
Update available
Read changelog for details
To enable sweep2wake and doubletab2wake:
use an app like kcontrol
in and adb shell or in terminal on the phone type:
Code:
echo 1 > /sys/android_touch/sweep2wake
echo 1 > /sys/android_touch/doubletap2wake
Or, I have made it even easier. In root browser, navigate to /system/etc/init.d. Open the script named 05s2w and remove the # from lines 7 and/or 8, then reboot. This will enable sweep2wake and/or doubletab2wake. You can enable both or just one of them.
Click to expand...
Click to collapse
okay i'll try that now too.
---------- Post added at 09:00 AM ---------- Previous post was at 08:49 AM ----------
Why is the default read ahead on the scheduler 16xxx? Isn't that a bit much?
M3drvr said:
Why is the default read ahead on the scheduler 16xxx? Isn't that a bit much?
Click to expand...
Click to collapse
That's max, and yes it is very high, but nothing to worry about. But to be honest, the deice itself will never go that high.
On that note, if you look through my commits I never set that. That came from an upstream change quite some time ago. So far back that I can't find when it happened...lol
The reference is in block/partitions/ultrix.c on or about line 29. You can see that it can be as high as 16384 but 512 is actually the default.
I looked in my Linux kernel source and the file is the same. So this could have been the default from forever ago.
Again, nothing to worry about though...
thomas.raines said:
That's max, and yes it is very high, but nothing to worry about. But to be honest, the deice itself will never go that high.
On that note, if you look through my commits I never set that. That came from an upstream change quite some time ago. So far back that I can't find when it happened...lol
The reference is in block/partitions/ultrix.c on or about line 29. You can see that it can be as high as 16384 but 512 is actually the default.
I looked in my Linux kernel source and the file is the same. So this could have been the default from forever ago.
Again, nothing to worry about though...
Click to expand...
Click to collapse
I wasn't too worried. Just wondering. Thanks! So far the new kernel very good. The first 5 minutes of it being installed there were quite a few lags and glitches. But after that, its smooth as ever!
thomas.raines said:
That's max, and yes it is very high, but nothing to worry about. But to be honest, the deice itself will never go that high.
On that note, if you look through my commits I never set that. That came from an upstream change quite some time ago. So far back that I can't find when it happened...lol
The reference is in block/partitions/ultrix.c on or about line 29. You can see that it can be as high as 16384 but 512 is actually the default.
I looked in my Linux kernel source and the file is the same. So this could have been the default from forever ago.
Again, nothing to worry about though...
Click to expand...
Click to collapse
That's to be expected while the kernel settles in. Glad you're enjoying it!
Sent from my Nexus 4 using xda app-developers app
Should MPDecision be enabled if using the noop scheduler and Lionheart governor? Or whats your recomendation?

[Kernel] StarKissed [ATT, CAN, TMO, USC, VZW]

Welcome to the first custom kernel for the Samsung Galaxy Note 4.​Providing instability to the masses since October 21, 2014​
​
This kernel currently supports most North American carriers. Automatic selection is provided through the use of specialized recovery packages that will detect your device version and make appropriate adjustments.
Mereology (from the Greek μερος, ‘part’) is the theory of parthood relations: of the relations of part to whole and the relations of part to part within a whole. I do not take responsibility for anything these days, but I'll try to do my part and help.
Click to expand...
Click to collapse
Installing N910T ROMs on N910W8
Start with NJ3 stock firmware
Odin Flash CF-AutoRoot
Odin Flash TWRP
Make a full backup
Wipe system, data, cache, dalvik-cache
Install N910T Rom
Reboot System
Reboot Recovery
Install Stockish / Deported
Reboot System
Thank force70 for the guide
Known Issues:
DVFS set to ignore and secure storage disabled often resolve the lag. If you need either of these, stock / stockish are required.
Warning: I only have the T-Mobile version of the Galaxy Note 4
XDA:DevDB Information
StarKissed [ATT, CAN, TMO, USC, VZW], Kernel for the Samsung Galaxy Note 4
Contributors
twistedumbrella
Source Code: http://github.com/StarKissed/starkissed-kernel-trlte
Kernel Special Features:
Version Information
Status: Testing
Created 2014-11-07
Last Updated 2015-01-22
[Kernel] StarKissed [ATT, CAN, SPR, USC, TMO, VZW]
No mirrors please. Updates are posted 1 - 3 times per day.
Check the StarKissed website for compile info (not downloads)
Recovery Packages [Goo]
http://goo.im/devs/playground/galaxynote4/
Kernel source
http://github.com/StarKissed/starkissed-kernel-trlte
Retrieving a Kernel Log:
Code:
cat /proc/last_kmsg /sdcard/kernel_log.txt
SELinux Prerequisites:
The build.prop WILL override the kernel. It needs to be edited to match the desired settings.
Code:
(SELinux disable)
ro.build.selinux=0
(KNOX disable)
ro.config.tima=0
ro.config.knox=0
Potentially Inactive:
Potentially Unsafe:
pegasusQ
Features / Interfaces:
Linux 3.10.13 Linux 3.10.0
SELinux permissive
KNOX disabled
init.d support
Overclock to 2.8, Underclock to 268
Stereo call recording support
MNDIE Control
Motorola Memory Utils
Slimbus Overclock
Optimistic IPV6
intelli-plug (with arm64 updates)
Power Suspend
Simple GPU gov
HardLimit
intelli-thermal v1
Power Suspend Driver v1.5
Sweep2Sleep
Forced Fast Charge v1.2 (+ Wireless Charge Boost)
Advanced TCP avoidance
LZ4 compression
Dynamic FSync
add'l entropy: frandom, erandom (enabled via init.d)
add'l filesystems: NTFS, F2FS, CIFS
io: sio, fifo, zen, vr, bfq, fiops
gov: lionheart, dancedance, smartmax, pegasusQ, smartassV2, intellidemand, umbrella_core
CPU optimizations
Network optimizations
KNOX root and logging permissions
TIMA support, but disabled by default
S-View hack to use any cover​
Common Interfaces
^ Borrowed from faux123 since many interfaces are MSM universal
Code:
cpu governor: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
cpufreq: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
intelliplug: /sys/module/intelli_plug/parameters/intelli_plug_active
gpu governor: /sys/class/kgsl/kgsl-3d0/pwrscale/trustzone/governor
gpu freq: /sys/class/kgsl/kgsl-3d0/max_gpuclk
simple GPU gov:: /sys/module/msm_kgsl_core/parameters/simple_laziness
simple GPU gov: /sys/module/msm_kgsl_core/parameters/simple_ramp_threshold
io scheduler: /sys/block/mmcblk0/queue/scheduler
io scheduler readahead: /sys/block/mmcblk0/queue/read_ahead_kb
dynamic fsync: /sys/kernel/dyn_fsync/Dyn_fsync_active
usb fastcharge: /sys/kernel/fast_charge/force_fast_charge
intellithermal: /sys/module/msm_thermal/parameters/enabled
cpu voltage: /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
Power Suspend
Code:
/sys/kernel/power_suspend/power_suspend_state
/sys/kernel/power_suspend/power_suspend_mode (0 - auto, 1 - panel, 2 - userspace, 3- hybrid)
Hardlimit
Code:
/sys/kernel/cpufreq_hardlimit/scaling_max_freq_screen_on
/sys/kernel/cpufreq_hardlimit/scaling_max_freq_screen_off
/sys/kernel/cpufreq_hardlimit/scaling_min_freq_screen_on
/sys/kernel/cpufreq_hardlimit/scaling_min_freq_screen_off
/sys/kernel/cpufreq_hardlimit/wakeup_kick_freq
/sys/kernel/cpufreq_hardlimit/wakeup_kick_delay
/sys/kernel/cpufreq_hardlimit/touchboost_lo_freq
/sys/kernel/cpufreq_hardlimit/touchboost_hi_freq
/sys/kernel/cpufreq_hardlimit/userspace_dvfs_lock (0 - allow, 1 - ignore, 2 - refuse)
MNDIE Control
Code:
/sys/class/mdnie/mdnie/mode (0 - dynamic, 1 - control, 2 - natural, 3 - movie, 4 - auto)
/sys/class/mdnie/mdnie/...
hijack
curve
copy_mode
sharpen
red_red
red_green
red_blue
cyan_red
cyan_green
cyan_blue
green_red
green_green
green_blue
magenta_red
magenta_green
magenta_blue
blue_red
blue_green
blue_blue
yellow_red
yellow_green
yellow_blue
black, 0664
black_red
black_green
black_blue
white_red
white_green
white_blue
scenario
App & Donations:
StarKissed [SKU] on Google Play allows you to configure many of the options provided by this kernel. Issues or comments about the app can be posted at the XDA StarKissed app thread
Donations are not being collected through the forum. If you would like to donate, you may do so through StarKissed [SKU] on Google Play by using the donate options located in the top right (the green dollar bill guy).
Will be nice if you can provide two different build. One without all the fancy things that some people wont have use for, such as overclocking, close to stock as possible but still provide stability, smoothness, and better battery life.
Some kernel makers just slap everything they can onto a kernel and in the long wrong, it is simply instable or provide hicups (that they will never own up to lol)
Nice job twisted keep it coming...
mgbotoe said:
Will be nice if you can provide two different build. One without all the fancy things that some people wont have use for, such as overclocking, close to stock as possible but still provide stability, smoothness, and better battery life.
Some kernel makers just slap everything they can onto a kernel and in the long wrong, it is simply instable or provide hicups (that they will never own up to lol)
Click to expand...
Click to collapse
I don't provide anything I wouldn't run on my own device. If you want it to be stock, vote for stock. If that is what wins, that is what I will build. It is enough to provide a single kernel for a bunch of devices without trying to keep track of per-device versions. I slap everything I can onto a kernel, test it, then delete or fix the broken stuff. My github is always current and anything I changed is clearly published to point the finger at whoever it needs to be pointed at.
Lol just throwing it out there , that is my vote
I vote like mgbotoe! Thank you sir!
Sent from my SM-N910T using XDA Free mobile app
Only thing I am seeking is SE Linux Permissive. Thanks for all your work!
Tried flashing the files (that are highlighted) in picture attachment using odin 3.07, got a fail. What am I doing wrong? Anyone else flash yet? How'd ya do it and did it work out ok?
Thanks Ahead.
Glen
Hardlimit by yank555 I'd like to see, along with your hotplug of choice, I like intelliplug myself, some govs, I usually stick with interactive anyways, maybe some mdnie controls etc etc. Lol I'm just tossing out what I enjoy..but, you tell me, what do you normally build in your kernels.?
re: kernels
twistedumbrella said:
I don't provide anything I wouldn't run on my own device. If you want it to be stock, vote for stock. If that is what wins, that is what I will build. It is enough to provide a single kernel for a bunch of devices without trying to keep track of per-device versions. I slap everything I can onto a kernel, test it, then delete or fix the broken stuff. My github is always current and anything I changed is clearly published to point the finger at whoever it needs to be pointed at.
Click to expand...
Click to collapse
I just hope that you have already gotten some sort of windows pc so you
won't be having all those problems you were having for the past 3-4 days
due to using a mac computer.
Good luck with your kernels.
p.s. my vote is the same as mgbotoe's
glensta said:
Tried flashing the files (that are highlighted) in picture attachment using odin 3.07, got a fail. What am I doing wrong? Anyone else flash yet? How'd ya do it and did it work out ok?
Thanks Ahead.
Glen
Click to expand...
Click to collapse
I've heard Odin doesn't like the files. I use Heimdall but I'll be looking into that.
Misterjunky said:
I just hope that you have already gotten some sort of windows pc so you
won't be having all those problems you were having for the past 3-4 days
due to using a mac computer.
Good luck with your kernels.
p.s. my vote is the same as mgbotoe's
Click to expand...
Click to collapse
You're starting to sound like the Best Buy reps when Windows 8 came out. At least before they had to start telling everyone 8.1 was coming to fix how terrible it turned out being once people started using it.
You have to run cygwin or an Ubuntu VM inside windows to build Android. You can run windows AND Ubuntu as windowed applications on Mac. Seems unnecessary when the real issue is consistency in the cm repos. The instructions say to get the Linux compiler ports, while detection identifies the platform compilers.
And fast change it you can
Sent from my SM-N910T using XDA Premium 4 mobile app
---------- Post added at 08:56 PM ---------- Previous post was at 08:56 PM ----------
jpeps said:
And fast change if you can
Sent from my SM-N910T using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sent from my SM-N910T using XDA Premium 4 mobile app
How about color/gamma controls???
jpeps said:
And fast change it you can
Sent from my SM-N910T using XDA Premium 4 mobile app
---------- Post added at 08:56 PM ---------- Previous post was at 08:56 PM ----------
Sent from my SM-N910T using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't know how good of an idea messing with the adaptive charging would be, but I'll look into it. It depends if that functionality is tied into the USB port charging or not.
It is great that you have done this work and I (along with a bunch of others) are really grateful - it would be nice if we could flash this -
Doesn't work with Odin - not sure about the other option you mentioned, I personally have never used that method -
So - any instructions you can offer would be great - unless you feel it is not appropriate to flash this yet?
Your help - and input is greatly appreciated.
mocsab said:
It is great that you have done this work and I (along with a bunch of others) are really grateful - it would be nice if we could flash this -
Doesn't work with Odin - not sure about the other option you mentioned, I personally have never used that method -
So - any instructions you can offer would be great - unless you feel it is not appropriate to flash this yet?
Your help - and input is greatly appreciated.
Click to expand...
Click to collapse
Use flashify with the img file. Flash the boot option.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
mgbotoe said:
Will be nice if you can provide two different build. One without all the fancy things that some people wont have use for, such as overclocking, close to stock as possible but still provide stability, smoothness, and better battery life.
Some kernel makers just slap everything they can onto a kernel and in the long wrong, it is simply instable or provide hicups (that they will never own up to lol)
Click to expand...
Click to collapse
I agree with this wholeheartedly. I personally loved leanKernel on my Note 3 - all the latest fixes and improvements without 40000 things that only crazy experimenters and overclockers would use. I'd love a solid, lean, and mean daily-driver kernel.
twistedumbrella said:
https://goo.im/devs/playground/trltetmo/kernel/. So what should be included? You are welcome to cast your vote for how this kernel evolves.
Click to expand...
Click to collapse
If you could somehow throw in faux sound support that would be awesome .. I miss raising my volume just a bit for alarms...
Anyways Thanks a lot bro
siraltus said:
I agree with this wholeheartedly. I personally loved leanKernel on my Note 3 - all the latest fixes and improvements without 40000 things that only crazy experimenters and overclockers would use. I'd love a solid, lean, and mean daily-driver kernel.
Click to expand...
Click to collapse
Ironically, modifying imoseyon's kernels was how I first learned to build. I took his and added those one or two additional things I found somewhere else and wanted to use. Right now, I am working on getting intellidemand updated for this kernel, but I am only looking to get a few options that really work well so if there are better, let me know.
For the TCP congestion avoidance, it appears that enabling advanced options somehow broke selection. It appears to work just fine, but that troubles me. I don't want to force a setting for that, but if it comes down to it, I may have to limit the options.
Veno, from some documentation I've recently read, was the optimal option for mobile network performance. I believe it was reno that was best for wifi performance, but I have to go back and read up again.
I added some code for fast charge to be verified, but the layout is much different than most Samsung phones, so I won't know if it works until I attempt to blow up my phone.

[KERNEL] [Feb 19] [GPe] [SENSE] Quantum v1.25 [5.0.1][Multicarrier]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Welcome to Quantum, a kernel built around the idea of performance and battery life through smart optimizations. Those who have followed my work on the Galaxy S3 will know exactly what to expect. All feature requests will be considered, and all bug reports should be accompanied by a logcat and as much information as possible, this helps out everyone and gets your problem resolved as soon as humanly possible. For now this is only for Lollipop GPe, but I may branch out to Sense at some point in the future.
Downloads- GPe
1.25- 2/19/2015
v1.23- 2/11/2015
v1.15- 1/22/2015
v1.1- 1/8/2015
v1- 1/5/2015
Click to expand...
Click to collapse
Downloads- Sense
1.25- 2/19/2015
v1- 2/12/2015
Click to expand...
Click to collapse
Changelog:
1.25
Update optimization levels, spread them farther throughout the kernel
New LCD controls from savoca, use his app to adjust
Add CPU POWER driver, enhance battery life
Add native EXFAT driver for faster SD card reads using exfat FS
Fix touchscreen issues
Optimize deadline
Selinux bug fix
Hotplugging fix
Override TCP control
LZMA compression
v1.23
Intelliplug
Intelliactive
TONS of tweaks to increase overall speed and filesystem speed
Improved app-recents loading
Bit-sliced AES with NEON support
NEON accelerated block building
Hotplugging optimizations
Touchscreen power reduction
Back to stable base, rebase whole kernel on new "stable" branch
Reduce display turn on time
Disabled logging for certain features for less text dumping
NEW overclocking 268 MHz to 2.5 GHz
GPU clocking 27 Mhz to 600, included 100 clock for a further reduction of voltage needed
Simple GPU algorithm, expose to userspace configuration
Set Powersuspend to kernel mode by default, no input needed by users
Tweaked interactive for battery life
Enable KSM
Disable ZRAM
v1.15
Revert buggy code
More slimbus overclock
GPU overclock to 600 Mhz- EvolutionMod
Drop down some clocks for better battery life
Kernel mode NEON supported- faster calculations
New toolchain
All 1.1 commits rolled into a less buggy package
v1.1
HD Audio, fix HTC audio bug
New powersuspend driver, enabled by default
Removed flar2 topology and CPU power and replace with updated and specialized topology for krait
Clean up scheduler spikes
Updated to new MSM-8974 Memutils, 10-15% performance boost
GPU driver fixes for smoother perfomance
Fix issues with PE-Workqueues, expand to another queue
Fix SELinux bugs
Fully optimize with VFP4, modified 2 lines
Fix display turn-on lag
ARM updates for Cortex-A15
Tune ROW and SIO
Reduce kernel logging
Update Interactive governor
CPUfreq updates
Update LZ4 used on local PC, contains bugfix for GCC 4.9, replaced dtb img
v1
Ported features from Quantum from S3
Initial release, all features are located in main post for now
Click to expand...
Click to collapse
QuantumKernel Features
GCC 4.9.3
Multi-carrier support
User Voltage
MSM-DCVS and AVS
CPU overclock to 2.88 GHz
Switchable FSYNC
Simple GPU Governor
FRandom
FauxSound
Sweep2Sleep, D2TW- flar2
Disable magnet event
All TCP algorithms
LCD color control
Backlight dimmer options
Governors- stock for now
I/O: SIO, ZEN, SIO, 0 ms deadline, BFQ, FIOPS,
Extreme battery optimizations from Power Efficient Workqueues to ARM Topology, and numerous others
Universal screen off frequency for any governor- flar2
Increased Sound Quality through overclocking of hardware
Much, much, more...
Click to expand...
Click to collapse
Source
Thanks to-
flar2
faux123
lyapota
savoca
HolyAngel
aeppacher
imoseyon
ktoonsez
gideonx
XDA:DevDB Information
Quantum, Kernel for the HTC One (M8)
Contributors
PwnCakes193
Source Code: http://github.com/tommytarts/quantumkernelm8
Kernel Special Features:
Version Information
Status: Stable
Created 2015-01-05
Last Updated 2015-01-05
saving for future use
And again for possible branching in the future
RSVP
Thank for bringing your Dev to us and the hard work..
Edit: Was about to install CM12 and saw this. Looks like it will blend well with each other.
Edit: postpone I see it's only for the GPe variant. I'm not s-off. Smh
info[]box1 said:
RSVP
Thank for bringing your Dev to us and the hard work..
Click to expand...
Click to collapse
I see you used a BlackBerry Bold, which hybrids did you use?
Works on verizon, if anyone is wondering.
PwnCakes193 said:
I see you used a BlackBerry Bold, which hybrids did you use?
Click to expand...
Click to collapse
Can't drop a name at the moment. But over at bbhyrids and one of the main maintainer and hybrids cookers. He was making some nexus roms while back.
Edit: irtehun I believe
Pwncakes, you look vaguely familiar...were you using LG OpT, HTC I4G, SG Note, or LG OpG ? I've seen your name before
Didn't mean to clog your thread w/ useless nonsense, but was entirely to lazy to message you (anyways thank you for the contribution) Anything in the kernel that would make it incompatible w/ 4.4 roms ?
Pwn! I ran your stuff exclusively on my s3. Great to have you here!
Has anyone used this kernel yet?
PWN!! I'm so stoked to try this baby out! Will report back asap
jxcorex28 said:
Pwncakes, you look vaguely familiar...were you using LG OpT, HTC I4G, SG Note, or LG OpG ? I've seen your name before
Didn't mean to clog your thread w/ useless nonsense, but was entirely to lazy to message you (anyways thank you for the contribution) Anything in the kernel that would make it incompatible w/ 4.4 roms ?
Click to expand...
Click to collapse
None of those, only the S3! and if Lollipop kernels work on 4.4.4 then this should as well.
Bobbi lim said:
Has anyone used this kernel yet?
Click to expand...
Click to collapse
Only a few are using it, but I have been using v1 since Christmas and I've had 0 issues so far, no reboots or anything of that nature.
shiniyoyo said:
PWN!! I'm so stoked to try this baby out! Will report back asap
Click to expand...
Click to collapse
Great to see the old gang from the S3 moving over here, I still have more goodies left for everyone, I will release my interactive tunables later today. With these tunables I get around 4 hours SoT over a 2 day period, or around 10 in a 24 hour period.
info[]box1 said:
RSVP
Thank for bringing your Dev to us and the hard work..
Edit: Was about to install CM12 and saw this. Looks like it will blend well with each other.
Edit: postpone I see it's only for the GPe variant. I'm not s-off. Smh
Click to expand...
Click to collapse
If your s-off can u flash it on aosp?
JazzieBoi said:
If your s-off can u flash it on aosp?
Click to expand...
Click to collapse
The kernel will play nicely with anything as long as it's a GPe base. So Skydragon and others are compatible... this won't work on Sense ROMs and CM-based CAF ROMs yet.
downloading and flashing now. will report back later. thank you @PwnCakes193 for work and time. currently on spirit ROM , unlocked , superCID , s-off , latest FW , superSU v2.40.
nope. spirit must be cm based though OP doesnt mention. have to find another ROM.
i NEED my rabbits !!!!!!!!!!!!
"all i can really do , is stay out of my own way and let the will of heaven be done"
PwnCakes193 - nice to see you here - I've used your Quantum ROM on my S3 ( ages ago )
Sent from my HTC One_M8 using XDA Free mobile app
Thanks
Thanks so much! What app do you use to control the kernel?
Kernel working great! only bug Ive noticed is slide to sleep and slide to wake isnt working even when selected in TricksterMod.
mauserruger said:
Thanks so much! What app do you use to control the kernel?
Click to expand...
Click to collapse
trickstermod is gooood.
"all i can really do , is stay out of my own way and let the will of heaven be done"
PashaF said:
PwnCakes193 - nice to see you here - I've used your Quantum ROM on my S3 ( ages ago )
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
Awesome to see familiar faces. Hope to see you around the thread more often as well! Let me know about anything you'd like to see in the kernel.
mauserruger said:
Thanks so much! What app do you use to control the kernel?
Click to expand...
Click to collapse
Trickstermod and initd tweaking. Looking into faux clock soon.
shortyboy said:
Kernel working great! only bug Ive noticed is slide to sleep and slide to wake isnt working even when selected in TricksterMod.
Click to expand...
Click to collapse
Change it via initd, Trickstermod is wonky with it for some reason. Sorry for the inconvenience!

[PIE][Kernel][28.11.2020][4.9.246] Kirisakura_NEXT 1.2.0 for HTC U12+ aka Imagine

Kirisakura-Kernel for HTC U12+
Hello everyone,
Kirisakura kernel is designed to bring a handful of beneficial features to the device, while ensuring excellent performance and smoothness to get you safely through the day!
This includes upstreaming to latest linux stable for enhanced security and stability. As well as bringing in important new CAF patches, as soon as CAF releases the sources for the SD 845!
Revisiting the stock EAS implementation for further efficiency enhancements is also on my current roadmap for future development. I´m sure there is potential!
To have a read about our scheduler, which is called EAS, take a look here:
https://developer.arm.com/open-source/energy-aware-scheduling
Main Features:
- Based on latest kernel sources from HTC for the HTC U12+ (2.45)
- Upstreamed to latest 4.9.246
- CAF-Upstream merged
- Pixel 3/XL EAS ported over
- Cleanslate features from @tbalden included! (big thanks to him!)
CPU related features:
- Dynamic schedtune boost from @joshous
- CPU Input boost from @Sultanxda
- Disclaimer: please take a look at post 2 on how to set them up!
- Power saving workingqueues enabled by default (toogleable in EXKM)
have a read here: https://lwn.net/Articles/731052/
this complements EAS in general
- DDR bandwidth boost from @Sultanxda
Graphic related features:
- KCAL to control the display
- Adreno Boost
- Enabled NAP power saving state of Adreno 630
Network related features:
- Wireguard Support
Misc Features:
IO-Schedulers:
- cfq
- bfq
- maple
- deadline
- noop
- tripndroid
- fiops
- zen
TCP Congestion Algorithms:
- advanced algorithms enabled
- includes new bbr and sociopath tcps
Wakelock Blocker:
- advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
- common wakelocks that are safe to be blocked are blocked by default
Feature section for the "non visible" but perceptible improvements:
- mark certain IRQ and kthreads as performance critical
- updated schedutil governor
- updated binder section (responsible for interprocess communication)
- updated sdcardfs (have a read about it here: https://www.xda-developers.com/divi...les-fuse-replacement-will-reduce-io-overhead/ )
- Speculative Page Faults (1. 2)
- Memory allocation overflow protection (kernel hardening feature)
- proc gate vulnerability fixed
Requirements
- unlocked Bootloader
- USB-Debugging in developer options enabled
- latest adb and fastboot binaries
- working adb and fastboot environment
How to flash the Kernel:
1. Download the kernel.zip to your device
2. Reboot to TWRP
3. Flash the kernel.zip in TWRP
4. The kernel zip will detect if you´re rooted and keep root in that case!
5. Reboot and Profit
IMPORTANT NOTICES
1. After rooting, the option to enable face unlock from htc may be greyed out.
How to fix:
a. Open Magisk Manager
b. Open the side menu and tap on magisk hide
c. Tick faceunlock to be hidden
DOWNLOAD:
Download is located always in this folder:
https://www.androidfilehost.com/?w=files&flid=278195
Important: Read after Download
Please take a look at the second post after flashing the kernel!
Changelog:
0.1 Initial Release
0.2 https://forum.xda-developers.com/showpost.php?p=77002100&postcount=32
0.5 https://forum.xda-developers.com/showpost.php?p=77092842&postcount=46
1.0 https://forum.xda-developers.com/showpost.php?p=77131607&postcount=61
1.1 https://forum.xda-developers.com/showpost.php?p=77187557&postcount=82
1.3 https://forum.xda-developers.com/showpost.php?p=77228675&postcount=85
1.4 https://forum.xda-developers.com/showpost.php?p=77234128&postcount=88
1.7 https://forum.xda-developers.com/showpost.php?p=77255692&postcount=90
2.0.3 https://forum.xda-developers.com/showpost.php?p=77515446&postcount=115
2.1.1 https://forum.xda-developers.com/showpost.php?p=77585106&postcount=136
2.2.0 https://forum.xda-developers.com/showpost.php?p=77663581&postcount=167
2.2.3 https://forum.xda-developers.com/showpost.php?p=77757758&postcount=181
2.3.4 https://forum.xda-developers.com/showpost.php?p=77856442&postcount=195
3.0.2 https://forum.xda-developers.com/showpost.php?p=78204561&postcount=244
4.1.1 https://forum.xda-developers.com/showpost.php?p=78315932&postcount=261
5.0.0 https://forum.xda-developers.com/showpost.php?p=78767277&postcount=301
5.2.1 https://forum.xda-developers.com/showpost.php?p=78856374&postcount=321
7.0.0 https://forum.xda-developers.com/showpost.php?p=79353529&postcount=337
9.1.0 https://forum.xda-developers.com/showpost.php?p=79696218&postcount=355
10.0.0/1 https://forum.xda-developers.com/showpost.php?p=79973617&postcount=364
Pie and forward (please not this release is a hacked base OREO-base to work on Android Pie):
10.7.0 https://forum.xda-developers.com/showpost.php?p=81035393&postcount=378
Pie:
1.2.0_NEXT https://forum.xda-developers.com/showpost.php?p=84014357&postcount=388
Donations:
Donations are not mandatory but very welcome if you want to support development or just buy me a coffee
If you like my work: http://paypal.me/freak07
Credits:
@osm0sis for all his work, including the ak2 installer!
@tbalden for being the best HTC wingman!
@LeeDroid for his awesome roms!
@Captain_Throwback for all the mentoring and guidance!
@Eliminater74 for bringing me into the game and the Inspiration
@nathanchance for his upstream guidance and assistance
@RenderBroken for helping me out
@flar2 for all his work
@joshuous for all the help he provided to me
XDA:DevDB Information
Kirisakura-Kernel , Kernel for the HTC U12+
Contributors
Freak07
Source Code: https://github.com/freak07/Kirisakura_Imagine/commits/master_bluecross_eas
Kernel Special Features: Linux Upstream, KCAL, CAF, Cleanslate Features, Pixel 3 EAS
Version Information
Status: Stable
Created 2018-06-28
Last Updated 2020-11-28
How to set up the kernel
as with release 4.1.1 it’s advised to change no boost settings at all! It’s all flash and forget
This is a short guide on how to set up the kernel. This is currently required because TWRP is not yet ready and therefore I have no ak2 zip to set that all up.
The following is deprecated as with 0.5 Release!
Basically I decided to disable pnpmgr. This is htc’s daemon for controlling the CPU boosts.
I integrated a few other boosts to the kernel that work way better to replace HTC´s mechanism.
The phone is more smooth and more efficient now.
This is not a requirement at all. It´s entirely optional in case you aren´t satisfied with the current state of things!
1. With a root explorer go to /system/vendor/etc and rename pnp.xml to pnp.xml.bak
That will disable pnpmgr on the next reboot.
2. In EXKM navigate to CPU -> Boost Settings
3. Set the values like on the attached screenshot! and toogle the arrows to set it on reboot
4. cpu input boost currently has no interface in EXKM. The predefined values are fine. But if you navigate to Tools -> User Settings, you can call any file and change the values exactly to your liking.
Just hit the + and add the following paths:
sys/module/cpu_input_boost/parameters/input_boost_freq_lp boost freq of the little cluster
sys/module/cpu_input_boost/parameters/input_boost_freq_hp boost freq of the big cluster
sys/module/cpu_input_boost/parameters/input_boost_duration boost freq duration
5. Reboot and profit
The following is advised as with the Release of 0.5!
1. If you previously renamed pnp.xml found in /system/vendor/etc, to pnp.xml.bak, rename it back to pnp.xml!
Now reboot!
2. Here is a screenshot of the optional boost settings I´m currently running. These are a bit more aggressive than stock, provide more smoothness but cost a tiny bit of battery. In the end I still achieve way better battery results on 0.5 than on 0.2 even with additional boosts enabled. That is due to the energy saving commits I mentioned in the changelog of 0.5.
Here is the screenshot!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
also mine
and mine
woo-hooo!
Thank's so much for you work mate....wich app could use to get advanced color control ??...is there able to get more bright on the screen ? because this is dim as u11+, i can't see any difference in brightness...very frustrating
neofrost37 said:
Thank's so much for you work mate....wich app could use to get advanced color control ??...is there able to get more bright on the screen ? because this is dim as u11+, i can't see any difference in brightness...very frustrating
Click to expand...
Click to collapse
You can control kcal with exkm app.
But you can just control srg, saturation, contrast etc.
With Kcal nothing can be done about the brightness. Sorry for that!
I forgot to add Wireguard as a supported feature. I corrected this in the OP.
neofrost37 said:
Thank's so much for you work mate....wich app could use to get advanced color control ??...is there able to get more bright on the screen ? because this is dim as u11+, i can't see any difference in brightness...very frustrating
Click to expand...
Click to collapse
There is absolutely nothing wrong with the brightest on this phone. Slightly dimmer than U11. Currently have auto brightness off and set just under half way. In the sun it visible at 3/4 brightness.
schmeggy929 said:
There is absolutely nothing wrong with the brightest on this phone. Slightly dimmer than U11. Currently have auto brightness off and set just under half way. In the sun it visible at 3/4 brightness.
Click to expand...
Click to collapse
so would you post a picture to compare both phone's with max bright ??....mine is just a little bit more bright than u11+ , maybe i just have bad luck with my 2 last htc's
neofrost37 said:
so would you post a picture to compare both phone's with max bright ??....mine is just a little bit more bright than u11+ , maybe i just have bad luck with my 2 last htc's
Click to expand...
Click to collapse
Just did a side by side pic and to me the U12+ seems brighter probably due ether cooler color.
schmeggy929 said:
Just did a side by side pic and to me the U12+ seems brighter probably due ether cooler color.
Click to expand...
Click to collapse
Thank's mate, but left side phone's not seems htc, because u12+ dont have rounded corners i the screen !
neofrost37 said:
Thank's mate, but left side phone's not seems htc, because u12+ dont have rounded corners i the screen !
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.leedroid.shortcutter&hl=en there's an easy overlay setting by @LeeDroid
tbalden said:
https://play.google.com/store/apps/details?id=com.leedroid.shortcutter&hl=en there's an easy overlay setting by @LeeDroid
Click to expand...
Click to collapse
wow, didn't know it !, you make my day , great app....sad with my display bright, awesome device i ever had....just hope update with a 20% more bright ..thank's everyone for answer
neofrost37 said:
wow, didn't know it !, you make my day , great app....sad with my display bright, awesome device i ever had....just hope update with a 20% more bright ..thank's everyone for answer
Click to expand...
Click to collapse
Did you turn off auto brightness and tried full manual brightness? For me it is absolutely fine, even with auto
Sent from my HTC U12+ using XDA Labs
DeeZZ_NuuZZ said:
Did you turn off auto brightness and tried full manual brightness? For me it is absolutely fine, even with auto
Sent from my HTC U12+ using XDA Labs
Click to expand...
Click to collapse
I'll try mate, thank's
neofrost37 said:
Thank's mate, but left side phone's not seems htc, because u12+ dont have rounded corners i the screen !
Click to expand...
Click to collapse
Leedroid's shortcutter App (Rounded Corners)
Whoot-whoot. Great job mate.
Sent from my HTC U12+ using XDA Labs
neofrost37 said:
I'll try mate, thank's
Click to expand...
Click to collapse
Nothing mate, it's really dim even a cloudy day
neofrost37 said:
Nothing mate, it's really dim even a cloudy day
Click to expand...
Click to collapse
No problems here. Yesterday I was looking at the phone in the sun and had no problems
Sent from my HTC U12+ using XDA Labs

Categories

Resources