[KERNEL][07/04][AOSP/CM/NH][F2FS][EAS][3.10.101][UBER5.3] ☆ AK ☆ [v. 063] - Nexus 6P 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 am not responsible for any damage to your phone.
Read before downloading or posting in the thread.
Proceed with caution if you have no experience.
Official Site: ak.hiddenbytes.org
Full Changelog: Github Link
A kernel for Nexus 6P:
Install/Uninstall: Link
Kernel Control: Synapse
Kernel Updater: Donwload v1.4
Kernel Profiles thread: Link
Extreme Battery Life thread: Link
Downloading: AK.063.ANGLER
Experimental: AK.063.ANGLER.EAS
Experimental: AK.063.ANGLER.NH
Features:
AOSP & CM13 Compatible
Ramdisk Anykernel Format (We can flash over any Roms)
Merged latest Android Patches
Latest security Patches Inside
Linux 3.10.101
300Hz
Google 3.10 Common branch merged
Multirom Support (Link)
Kali Net-Hunter Support (Link)
Mouse and KeyBoard support
Optimized RCU
Thermald Engine Optimized
F2FS Support (Latest Patches from Stable Main Branch)
A53: Min 302Mhz, Max 1708Mhz
A57: Min 302Mhz, Max 2054Mhz
Zen tune from Manjaro Kernel
Enabled power_efficient workqueues
Optimized Memcopy/String Libs
Compiled with Latest Uber Toolchain 64bit - Version 5.3
Makefile flags Optimizations
Schedulers: Deadline, Noop, Row, Cfq, Fiops, Bfq, Sioplus, Zen, Tripndroid
Software CRC Control
Memory Card clock control
Laptop Mode Control
Governors: Interactive, Conservative, Ondemand, Powersave, Performance, Impulse, ElementalX, ZZmoove
CPU Boost
MSM Perfromance Driver Control
GPU Boost control for Gaming Performance
KCAL Control with Profile Support
Z-RAM
Gestures Control: DoubleTap2Wake, Sweep2Wake, Sweep2Sleep
Vibrator Light/Strong Control
TCP Congestion Control (Default Westwood)
Low Memory Killer Control
SE Linux Control
State Notifier
WakeLock Control (wifi, proximity, modem, Bluetooth)
Headphone sound boost control
Enhanced cpu boost drivers
Drive droid support (mount cdrom)
Backlight Dimmer
High Perfomance Audio Processing
High Brightness Mode
Optimized lib sort
Optimized memset/memcpy
Optimized Rwsem
Disabled Gentle Fair Sleepers
Enabled Hrtick
Thanks a lot to These developers, filled with great humanity and courage:
@TeamExodus, @CallMeAldy
And also:
@Sultanxda, @Robbiel811, @Dorimanx, @xboxfanj, @apb_axel, @faux123, @myfluxi, @showp1984, @imoseyon, @savoca, @poondog , @DespairFactor, @v7, @mamba720027, @Stylo King
And also:
@andreilux, @flar2, @CL3Kener, @DerRomtester, @renderbroken, @Alucard24, @stratosk, @hellsgod, @yank555-lu, @kingbabasula, @osmosis, @gianton
Do you like my work?
Hit 'thanks' and/or rate this thread with 5 stars.
Consider a small donation.
XDA:DevDB Information
AK Kernel Nexus 6P, Kernel for the Huawei Nexus 6P
Contributors
ak
Source Code: https://github.com/anarkia1976
Kernel Special Features:
Version Information
Status: Stable
Created 2015-12-03
Last Updated 2016-04-07

AK Kernel Changelogs
The AK server is down for now so enjoy ext download for the new kernel release:
Download Link
[ AK KERNEL - v. 060 ]
AK.063.ANGLER
AK.063.ANGLER.EAS
AK.063.ANGLER.NH
[ SMALL CHANGELOG ]
merged google changes
optimized defconfig
latest f2fs patches
ecc ecc
[ FULL CHANGELOG ]
Project name: AK KERNEL
anarkia1976 - Kernel Version: AK.063.ANGLER
Patrick Tjin - net: wireless: bcmdhd: Do not print out device name on invalid length
Evisceration - msm: mdss: remove more logging spam
ktoonsez - debug: remove: remove some dmesg logspam from Linux mainline 3.4 fs
Jukka Rissanen - BACKPORT: nl80211: Stop scheduled scan if netlink client disappears
Johannes Berg - BACKPORT: cfg80211: allow userspace to take ownership of interfaces
Skylar Chang - msm: ipa: fix the mux_channel buffer overflow
Ashwin - net: wireless: bcmdhd: Verify SSID length
Kirill Tkhai - ext4 crypto: fix memleak in ext4_readdir()
Mark Salyzyn - pstore: pmsg: return -ENOMEM on vmalloc failure
Will Deacon - UPSTREAM: arm64: cpu hotplug: ensure we mask out CPU_TASKS_FROZEN in notifiers
anarkia1976 - Kernel Version: AK.062.ANGLER
Linus Torvalds - f2fs/crypto: fix xts_tweak initialization
Jaegeuk Kim - f2fs: submit node page write bios when really required
Arnd Bergmann - f2fs: add missing argument to f2fs_setxattr stub
Chao Yu - f2fs: fix to avoid unneeded unlock_new_inode
Chao Yu - f2fs: clean up opened code with f2fs_update_dentry
Jaegeuk Kim - f2fs: declare static functions
Keith Mok - f2fs: use cryptoapi crc32 functions
Fan Li - f2fs: modify the readahead method in ra_node_page()
Jaegeuk Kim - f2fs crypto: sync ext4_lookup and ext4_file_open
Jaegeuk Kim - f2fs: define not-set fallocate flags
Jaegeuk Kim - fs crypto: move per-file encryption from f2fs tree to fs/crypto
Yang Shi - f2fs: mutex can't be used by down_write_nest_lock()
anarkia1976 - Kernel Version: AK.061.ANGLER
anarkia1976 - ak_angler_defconfig: disable USB_BAM
anarkia1976 - ak_angler_defconfig: disable MSM_DDR_HEALTH
anarkia1976 - ak_angler_defconfig: disable MSM_OCMEM_DEBUG
anarkia1976 - ak_angler_defconfig: disable MSM_COMMON_LOG
anarkia1976 - ak_angler_defconfig: disable QCOM_NPA_DUMP
anarkia1976 - ak_angler_defconfig: disable IOMMU_VBIF_CHECK
anarkia1976 - ak_angler_defconfig: disable XFRM_STATISTICS
anarkia1976 - ak_angler_defconfig: remove BZIP2 and LZMA for RD
anarkia1976 - ak_angler_defconfig: disable ZRAM
Click to expand...
Click to collapse
​

AK Kernel How-to
[ AK KERNEL INSTALL ]
If you don't have used AK before:
Step 1
Fresh Install "your base kernel ROM " or "dirty reflash your ROM" from recovery
Step 2
Install the latest "AK kernel zip (UKM is integrated into kernel)" from recovery
Download: Link
Step 3
Reboot
Step 4
Install "Synapse" app from Market
Download: Link
Thread: Link
Thanks & Donations: @AndreiLux
Install "Ak kernel Updater v1.2" from this link
Download: Link
Thanks & Donations: @CallMeAldy & @themike10452
Step 6
Press the " Thanks Button" and " Rate the thread"
If you have used AK before:
Step 1
Follow the AK thread and check with "Ak kernel Updater" possible news
Follow the AK official website for find new releases: " http://ak.hiddenbytes.org/ "
Follow my AK twitter account: Link
Step 2
Press the "Thanks Button" and "Rate the thread"
[ AK KERNEL NEXUS 6P PROFILES THREAD ]
This thread is for people to post their profiles with each other: Link
Thanks a lot
@Stylo King
@mamba720027
[ KCAL COLOR PROFILES ]
You can set these settings with synapse.
Infos: Link
thanks a lot @savoca
Cool Amoled Style:
Colors: 236,248,256
Min: 35
Contrast: 258
Hue: 0
Saturation: 275
Value: 251
thanks a lot @abhi086387
Warm Amoled Style:
Colors: 253,246,243
Min: 35
Contrast: 258
Hue: 0
Saturation: 275
Value: 251
thanks a lot @abhi086387
Extreme Amoled Style:
Colors: 256,256,256
Min: 35
Contrast: 264
Hue: 0
Saturation: 290
Value: 242
thanks a lot @abhi086387
Deep Natural Style:
Colors: 250,250,255
Min: 35
Contrast: 264
Hue: 0
Saturation: 285
Value: 245
thanks a lot @abhi086387
Kcal sysfs reference:
Code:
/sys/devices/platform/kcal_ctrl.0/kcal - (0-256 0-256 0-256) - Controls R/G/B Multipliers
/sys/devices/platform/kcal_ctrl.0/kcal_min - (0-256) - Controls minimum RGB Multiplier value
/sys/devices/platform/kcal_ctrl.0/kcal_enable - (0-1) - Enables/Disables RGB Multiplier Control
/sys/devices/platform/kcal_ctrl.0/kcal_invert - (0-1) - Enables/Disables Display Inversion Mode
/sys/devices/platform/kcal_ctrl.0/kcal_sat - (224-383 or 128) - Controls saturation intensity - use 128 for grayscale mode
/sys/devices/platform/kcal_ctrl.0/kcal_hue - (0-1536) - Controls display hue
/sys/devices/platform/kcal_ctrl.0/kcal_val - (128-383) - Controls display value
/sys/devices/platform/kcal_ctrl.0/kcal_cont - (128 - 383) - Controls display contrast
[ OPO TIPS & TRICKS GUIDE ]
Thanks a lot to @MMWolverine for this fantastic guide: Link
You can find all you need and all infos for your 1+1.
[ CPU GOVERNORS & SCHEDULERS HOW-TO ]
Thanks a lot to @gsstudios for this fantastic guide: Link
[ UNINSTALL UKM & AK KERNEL ]
What my kernel does is:
# Rename mpdecsion binary
mv $ bindir / mpdecision $ bindir / mpdecision-rm
if you want you can return by renaming "mpdecision", and than reboot the phone.
It was enough to report it in my thread.
however, I have created a zip for revert after seeing this exchange:
http://ak.hiddenbytes.org/
UKM_AK_uninstaller_v4.zip​

Oh goody, oh goody, oh goody. I have not have AK kernel since my GNEX. This is fantastic

Nice ak. Do you made a kernel for 5x?
Gesendet von meinem Nexus 5X mit Tapatalk

Wowwwwwwww...... My fav kernel from opo is here.............
Sent from my Nexus 6P using Tapatalk

morpheus620 said:
Nice ak. Do you made a kernel for 5x?
Gesendet von meinem Nexus 5X mit Tapatalk
Click to expand...
Click to collapse
No ... Only n6p.

Wheeeeyyyyy
Sent from my Nexus 6P using Tapatalk

Oh yeah ;]

O man I am so excited about AK on my N6p loved it on my OPO

Thanks for your work bro!!

ANNNND he's back folks! Great to see you here @ak flashing as we speak...

Your kermel have rocked on my OnePlus One, glad to see you here on the 6p party
You kernel updater app still on the play store? it support the 6p?
Thanks

Thank you @ak

omfg yes :3

Sweeeeet!

Th3PorTuGa said:
Your kermel have rocked on my OnePlus One, glad to see you here on the 6p party
You kernel updater app still on the play store? it support the 6p?
Thanks
Click to expand...
Click to collapse
it will be supported by auto update after a rolling test.

chikimonke said:
ANNNND he's back folks! Great to see you here @ak flashing as we speak...
Click to expand...
Click to collapse
wow, it's great to see you on the 6P side. :fingers-crossed:

ak said:
wow, it's great to see you on the 6P side. :fingers-crossed:
Click to expand...
Click to collapse
Not as great as it is to see you my friend. Kernel is up and running and performing beautifully so far.

@ak why not use 3.10.93? and do you think in near future we might see a CAF version too? dont know if there's any caf roms yet but i will hope there will be some near future

Related

[KERNEL] [TUNA] [3.0.80+] [4.2.x] [SKL v256 - KUBO r50^] [30/05] AK

{
"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 am not responsible for any damage to your phone.
Read before downloading or posting in the thread:
Proceed with caution if you have no experience.
PGM is supported
--- if you have problem report this to Developer Thread! ---
Please post oll the OFFTOPIC questions here:
[Off-Topic] - [AK kernel] - Silverdrag2
Please post oll the QUESTIONS here:
[FAQ] - [AK Kernel 101 - Questions and Answers] - Khizar
Before Posting problems with kernel read this guides:
[HOW TO] - [Post Kernel last_kmsg] - Ciprianruse88
[REF] - [Galaxy Nexus 4.2.x tips & trick] - Samersh72
[Guide] - [How To Logcat] - Khizar
[GUIDE] - [Undervolting The Right Way] - Klathmon
[GUIDE] - [SmartReflex and Undervolting] - Szucsgf
[HOW-TO] - [Using init.d scripts] - Stevensoaj
--- Bug Report Readme and How to ---
Step1:
Download script manager (Direct Link)
Step2:
Run as root /data/ak/create_bugreport.sh
Step3:
Open /sdcard/bugreport_YYYYMMDD_HHh_MMm_SSs.tar.bz2 and verify the presence of dump
Step4:
Collect these infos:
kernel version
rom version
governor
scheduler
freq cpu
freq gpu
undervolt
ecc ... ecc ...
short description of the problem
Step5:
Submit On thread for the analysis
Special thanks and donations are made to "[email protected]" creator of the server hosting "http://beta.androidfilehost.com/"
Thanks goes to the following people.
what exists in this kernel was created by learning from their thread:
renaudallard https://github.com/renaudallard
faux123 https://github.com/faux123
franciscofranco https://github.com/franciscofranco
imoseyon https://github.com/imoseyon
morfic http://morfic.euroskank.com/git/
Ezekeel https://github.com/Ezekeel
dorimanx https://github.com/dorimanx
voku https://github.com/voku
gokhanmoral https://github.com/gokhanmoral
DerTeufel https://github.com/DerTeufel
stratosk https://github.com/stratosk
sonicxml https://github.com/sonicxml/furry-octo-lana
Brandon Berhent https://github.com/AndroidDeveloperAlliance
Humberos https://github.com/humberos
Bhanvadia https://github.com/bhanvadia
Boype [email protected]:boype/kernel_tuna_jb42.git
and all the people who contribute to the development of android.
If you appreciate my work and that of the guys who work with me donate $ 1 no more.
This money will be used to help maintain and all that is needed to continue the development of the AK kernel.
Are not used for me but will be donated to turn to those who contribute.
[4.2.1 - 4.2.2] DIAMOND (EXPERIMENTAL)
dev-host - Last Version: AK.256.SKL.zip
Differential Changelog: Link
Features: Link
Github: Link
[4.2.2] KUBO (STABLE)
Latest Version: Link
NB:
This version is compiled to try to keep a line with a stability
All credit and thanks goes to:
BigBrother1984
HOSTING SERVER FOR ALL VERSIONS
Old Kernel version download (androidfilehost): Link
Old Kernel version download (dev-host): Link
RESET TO STOCK KERNEL - 4.2.1
cwm-boot-JB.Stock.Kernel-JOP40C.zip
RESET TO STOCK KERNEL - 4.2.2
cwm-boot-JB.Stock.Kernel-JDQ39.zip
You can use this thread for all infos and doubt (click on users for direct link):
[WALLPAPERS] [LOGO SIGNATURE] - [AK KERNEL] - Ciprianruse88
[GUIDE] - [CPU Governors & I/O Schedulers] - MBQsniper
[FIX] - [Optimum Color Control Values] - Arzbhatia
[How-to] [FAQ] - [Paranoid Android 101] - Khizar
[GUIDE] - [How to keep sdcard format same after upgrading to 4.2] - Khizar
[GUIDE] - [Building your first Kernel] - Thewadegeek
[GUIDE] - [Create a Kernel Building Script] - Ayysir
[REF] - [Galaxy Nexus ROM / kernel combination comparison] - Charmacas
New fantastic tutorial for compile a persona Kernel:
[TUTORIAL] - [Complete Galaxy Nexus Kernel Development] - Climber Ty
Don't forget to press Thanks and Rating button!
​
xXx - Evil Add On
My daily driver ROM is (click on logo):
DroidTh3ory:
This is AXI0M.. Its Rebirth.
Feature filled ROM based on speed.
Contains Mods, Features, and Code from EVERYWHERE.
Build Details: AOSP 4.2.2 Compiled Using Linaro 4.7 Toolchain and -03 Optimizations
Krait Optimizations
Cortex A9 Optimizations
Bionic Optimizations
and a lot of others fck features ......
Thanks a lot to
DroidTh3ory
INFOS AND GUIDES:
New Guide is online click on Image:
[MOD][KERNEL][4.2.X][BOOTLOGO] Add a Boot Logo like SGS1 to your Gnex Kernel
AK Review (click on logo):
A lot of thanks to:
Nicuz95
All info and guides on the kernel can be found at the following link:
AK WIKI PAGE​
xXx - Experimental Kernel Version
INTRODUCTION:
--- This kernel version is experimental in continuous evolution ---
it has all the features characteristic of the AK.
And 'suitable for those who like to have a super updated kernel.
NB:
PGM is supported
--- if you have problem report this to Developer Thread ---
* Works on:
4.2.1 - 4.2.2
AOSP and CM ROMs
Linux 3.0.80+
Based on JB Stock Kernel
Ramdisk Compatible with CM-10.X and AOSP-4.2.2
Compiled with New Linaro 4.7.3-2013.04.15
Linaro -O3 Optimizations
KERNEL OPTIONS:
Revert --- Wifi Drivers ---
from 3.4 to Old:
WEP don't work anymore with new drivers
Bcmdhd: Version 1.88-16
NB:
Do you want to restore old kernel or another kernel? Before flash you have to do:
Step1: Download script manager (https://play.google......scriptmanager)
Step2: Disable Wifi, Tethering ecc ...
Step3: Run as root /data/ak/recovery_wpa_hostapd.sh
Step4: Goto to recovery and flash your new kernel
or
Flash this ZIP from recovery:
ak.restore.OLD.WIFI.zip
Enable --- Frandom ---
support at Boot:
Link to Technical info for Frandom
Step1: copy from /data/ak/init.d/98frandom to init.d folder
Step2: set permission to +x and owner to root:shell
Step3: reboot
Enable --- Ksm ---
without app:
Link to post with instructions
Link to wiki page for technical info
Thanks lisan
Enable --- Zram ---
Step1: Run /data/ak/backup/zram_imoseyon.sh with scriptmanager
Step2: check if it work by do command --- free --- from terminal
Fix for --- wifi drops ---
Enable Wifi High perf in trickster
Disable wifi optimizations from settings
Disable Avoid poor connections
KERNEL FEATURES:
Governors:
Interactive from 3.4.X Kernel (Default) with Early Suspend when screen goes Off
Conservative with Early Suspend cpu1 when screen goes Off
Ondemandplus
Ondemand
Wheatley
Performance
Powersave
Userspace
Hyper
Lazy
Hotplug Governors:
Abyssplug
Hotplug
Sakuractive
NB
... i'm not responsible for any crash ...
... Use at own risk ...
... it is known that they are unstable when used on architecture tuna / omap / mpuss ...
IF YOU WANT TO USE HOTPLUG FEATURE YOU HAVE TO SET:
MIN FREQ =MIN ON FREQ
(EXP: MIN FREQ = 350 and MIN ON FREQ = 350)
(EXP: MIN FREQ = 230 and MIN ON FREQ = 230)
... Hotplug governors are compiled as Modules ...
If you want to use do:
adb shell
cd /system/lib/modules
insmod <governor_name>
* Schedulers:
Row (Default and Optimized)
Bfq, Fifo, Vr, Sio, Cfq, Noop, Deadline, Fiops
* Read Ahead Buffer Size:
512/32
* Cpu Freqs:
350Mhz (Default Min)
1200Mhz (Default Max)
+180Mhz
+230Mhz
+525Mhz
+810Mhz
+1350Mhz
+1350Mhz
+1420Mhz
+1480Mhz
+1560Mhz
+1640Mhz
* Gpu Freqs:
384Mhz
* TCP Congestion:
Westwood (Default)
Cubic, Bic, Westwood, Htcp, Hstcp, Hybla, Vegas, Scalable, Lp, Veno, Yeah, Illinois, Reno
* Others Features:
Enabled IVA 500Mhz95iosettings - Thanks Franco Team
Dynamic Ftrace
Dynamic Readahead
Linux BootLogo Support
Last Wifi Drivers 3.4.x kernel
Interactive Governor from 3.4.x Kernel
Wifi Patch from 3.4.x Kernel
CPU Topology
AK Color palette
Content Adaptive Brightness
OTG Host Mode On Charge
Ksm support
Dynamic Fsync Control
Voltages Control (Core, Iva, Mpu and more ...)
Blx control
Fastcharge control
High performance audio
Sound Boost control
Temp control
Vibrator control
Color Control
Gamma Control
Trinity Contrast
Frandom Optional
Low Memory Killer from 3.4 Linux Kernel
Net and Bluetooth Update - Thanks Lioux
FQ Codel Enabled
CIFS Support
Scheduler Autogroup
Oom Patches
Optimizations:
Add Osmosis Scheduler optomizations
create_bugreport.sh Script Ext4 Mount Optimization
Ext4 Fs with Discard Option
Ak PowerHal Compiled from Source
Create a report of status at boot (data/ak/ak-boot.log)
Zipalign at Boot
Enable Frandom at Boot
Auto Create init.d folder if not present
init.d Support
Sysctl Vm Optimizations at boot
Wipe Cache and Dalvik First Boot
Clean old Kernel Files First Boot
Pngs Charging Image Ak Style
XZ Compression
USB OTG Mount
... ecc .. ecc ...
Scripts present into --- /data/ak/ ---:
--- create_bugreport.sh ---
All thanks to Lioux
If you lunch this script you can collect all the infos for trouble problems with kernel:
last_kmsg
logcat
uname
dumpsys
ecc ...
--- frandom_test.sh ---
With this scripts you can test frandom/urandom bench
--- recovery_wpa_hostapd.sh ---
With this script you can revert to old wifi drivers
--- 98fq_codel ---
init.d script for enable FQ codel net scheduler
--- 98frandom ---
init.d script for enable Frandom​
xXx - Kernel Differential Changelog
AK SKL 256
​ DIFFERENTIAL CHANGELOGS
NB:
PGM is supported
--- if you have problem report this to Developer Thread! ---
Project name: AK KERNEL
•anarkia1976 - Kernel Version: AK.256.SKL
3.0.80+
Revert fcharge Patches Project name: AK KERNEL
•anarkia1976 - Kernel Version: AK.255.SKL
•anarkia1976 - Kernel Version: AK.013.EXP
•Joshua Wise - fastchg: Only enable fast charge GPIO as long as we actually have some charging to do.
•Joshua Wise - fastchg: Remove vestigial fsa9480 "force AC" switch.
•Joshua Wise - fastchg: change fast charge to override the high current GPIO, not the USB cable mode
•Tatyana Brokhman - block: urgent: Fix dispatching of URGENT mechanism
•Tatyana Brokhman - block: urgent request: Update dispatch_urgent in case of requeue/reinsert
•Paul Reioux - rq_stats: changing the show function for sysfs entry def_timer_ms
•Paul Reioux - rq_stats: set rq_info.init after initializing rq_info attributes
•Dmitry Shmidt - net: wireless: bcmdhd: Close p2p0 device in wl_down
•anarkia1976 - Kernel Version: AK.012.EXP
•anarkia1976 - tuna_ak_defconfig: LOGLEVEL=7
•anarkia1976 - Kernel Version: AK.011.EXP
•H Hartley Sweeten - lib/sha1.c: quiet sparse noise about symbol not declared
•Linus Torvalds - arm: remove "optimized" SHA1 routines
•Mandeep Singh Baines - lib/sha1: use the git implementation of SHA-1
•Colin Cross - hardlockup: detect hard lockups without NMIs using secondary cpus
•Xiaobing Tu - tty: hold lock across tty buffer finding and buffer filling
•Vijayavardhan Vennapusa - USB: f_mtp: Fix corner cases in MTP driver while syncing
•Jin Hong - arm: show present cpu instead of online cpu in /proc/cpuinfo
•anarkia1976 - Kernel Version: AK.010.EXP
•Colin Cross - freezer: shorten freezer sleep time using exponential backoff
•Francisco Franco - cpufreq: interactive: fix derp of from latest commit. Original author of last commit has been notified to fix it upstream.
•Lianwei Wang - cpufreq: interactive: fix race on cpufreq TRANSITION notifier
•Lianwei Wang - cpufreq: interactive: don't schedule timer on offline cpu
•Lianwei Wang - cpufreq: interactive: resched timer if max freq raised​
okay... i'm D/Ling now... Let's see what this bad boy does...
Thanks , just flashed it with PA
Just one question , is there a way to use CPU at 1200? With Trickster I have 920 or 1350
Thanks for your work
Compatible with pgm?
cpu
The base frequencies are:
180
350
700
920
1350
1520
I have changed 1200Mhz ... to 1350Mhz ... little boost to phone operation.... with a little battery energy small ..
It's up and running!
Sent from the best iPhone YET!!
"The Galaxy Nexus"
anarkia1976 said:
The base frequencies are:
180
350
700
920
1350
1520
I have changed 1200Mhz ... to 1350Mhz ... little boost to phone operation.... with a little battery energy small ..
Click to expand...
Click to collapse
OK thanks I hope my battery won't feel too bad
pgm
no ...
ceejay83 said:
Compatible with pgm?
Click to expand...
Click to collapse
I'm affraid it is not. I get a message about the module can't load
Hi anarkia!Nice to see you in the gnex's thread!
soon as I can I will try your new job ... for the moment thanks
Inviato dal mio Galaxy Nexus con Tapatalk 2
nice to see another good work here!
but so many versions,which one should be the best one for me?
nice kernel and really nice minimal choice! :highfive:
there's no need for mine
no pgm support is a show-stopper.
i have never used PGM,
if you want a minimal kernel with no debug options enabled you must deal with it.
thanks
RcrdBrt said:
i have never used PGM,
if you want a minimal kernel with no debug options enabled you must deal with it.
Click to expand...
Click to collapse
i have updated thread with your github ...
RcrdBrt https://github.com/RcrdBr
AK.006 milestone is great with CM10 M1!
TricksterMod app doesn't work it gives me FC every time I try to open it. Running Franco's kernel app and CM10 color settings.
Thanks for your work!
gianton said:
AK.006 milestone is great with CM10 M1!
TricksterMod app doesn't work it gives me FC every time I try to open it. Running Franco's kernel app and CM10 color settings.
Thanks for your work!
Click to expand...
Click to collapse
Have you try restart Of phone after FC?
Sent from my Galaxy Nexus using xda app-developers app

[KERNEL][29/10][CAF][3.4][UBER5.2] ☆ AK ☆ [v. 026]

{
"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 am not responsible for any damage to your phone.
Read before downloading or posting in the thread.
Proceed with caution if you have no experience.
Official Site: ak.hiddenbytes.org
Full Changelog: Github Link
A kernel based on @Sultanxda branch:
Install/Uninstall: Link
Downloading: AK.026.OP1.CAF
Kernel Mirrors:
Download: Link - Thanks a lot @LookedPath
Download: Link - Thanks a lot @funCrash93
Download: Link - Thanks a lot @DominiCOne
Download: Link - Thanks a lot @bombadier
Download: Link - Thanks a lot @alebcay
Thanks a lot to These developers, filled with great humanity and courage:
@Sultanxda, @Robbiel811, @Dorimanx, @xboxfanj, @apb_axel, @faux123, @myfluxi, @showp1984, @imoseyon, @savoca, @poondog , @CallMeAldy
And also:
@andreilux, @flar2, @CL3Kener, @DerRomtester, @renderbroken, @Alucard24, @stratosk, @hellsgod, @yank555-lu, @kingbabasula, @osmosis, @gianton
Do you like my work?
Hit 'thanks' and/or rate this thread with 5 stars.
Consider a small donation.
​
XDA:DevDB Information
AK Kernel, Kernel for the OnePlus One
Contributors
ak
Source Code: https://github.com/anarkia1976
Kernel Special Features:
Version Information
Status: Stable
Created 2015-08-30
Last Updated 2015-10-29
Kernel Changelogs
[ CAF KERNEL - v.026 ]
A kernel based on Sultanxda Bacon branch.
Download: AK.026.OPO.CAF
[ SMALL CHANGELOG ]
marged latest sultanxda patches
ecc ecc
[ FULL CHANGELOG ]
Project name: AK KERNEL
anarkia1976 - Kernel Version: AK.026.OPO.CAF
Sultanxda - ASoC: wcd9xxx-mbhc: Ignore all button interrupts when flag is set
Sultanxda - misc: shineled: Remove pink tint entirely
Sultanxda - ASoC: wcd9xxx-mbhc: Prevent spurious headset button interrupts
Sultanxda - ASoC: wcd9xxx-mbhc: Fix faulty headset buttons
Sultanxda - ASoC: msm8974: Adjust headset button voltage ranges
Sultanxda - ASoC: Minor clean up
Sultanxda - ARM: dts: 14001: Add support for JDI video-mode panel
Sultanxda - Revert "power: bq27541: Import from official cm-12.1 kernel"
Sultanxda - msm: mdss: Set backlight on unblank after 2nd frame is committed
Sultanxda - Revert "msm: mdss: Don't save backlight brightness on blank"
Sultanxda - Revert "video: mdss: Set initial backlight after first frame done"
Aravind Venkateswaran - msm: mdss: restore backlight level when recovering from ESD attack
Sultanxda - power: bq27541: Import from official cm-12.1 kernel
Sultanxda - ARM: dts: 14001: Increase panel reset-sequence delays
Sultanxda - cpu_input_boost: Increase unblank-boost duration to 900ms
Sultanxda - ASoC: wcd9xxx-mbhc: Don't run consistency checks for headsets
​
Questions & Answers
[ AK KERNEL INSTALL - STEP BY STEP ]
If you don't have used AK before:
Step 1
Fresh Install "your base kernel ROM " or "dirty reflash your ROM" from recovery
Step 2
Install the latest "AK kernel zip (UKM is integrated into kernel)" from recovery
Download: Link
Step 3
Reboot
Step 4
Install "Synapse" app from Market
Download: Link
Thread: Link
Thanks & Donations: @AndreiLux
Install "Ak kernel Updater v1.2" from this link
Download: Link
Thanks & Donations: @CallMeAldy & @themike10452
Step 6
Press the " Thanks Button" and " Rate the thread"
If you have used AK before:
Step 1
Follow the AK thread and check with "Ak kernel Updater" possible news
Follow the AK official website for find new releases: " http://ak.hiddenbytes.org/ "
Follow my AK twitter account: Link
Step 2
Press the "Thanks Button" and "Rate the thread"
[ AK KERNEL PROFILES THREAD ]
This thread is for people to post their profiles with each other: Link
Thanks a lot
@Stylo King
[ KCAL COLOR PROFILES ]
You can set these settings with synapse.
Infos: Link
thanks a lot @savoca
Cool Amoled Style:
Colors: 236,248,256
Min: 35
Contrast: 258
Hue: 0
Saturation: 275
Value: 251
thanks a lot @abhi086387
Warm Amoled Style:
Colors: 253,246,243
Min: 35
Contrast: 258
Hue: 0
Saturation: 275
Value: 251
thanks a lot @abhi086387
Extreme Amoled Style:
Colors: 256,256,256
Min: 35
Contrast: 264
Hue: 0
Saturation: 290
Value: 242
thanks a lot @abhi086387
Deep Natural Style:
Colors: 250,250,255
Min: 35
Contrast: 264
Hue: 0
Saturation: 285
Value: 245
thanks a lot @abhi086387
Kcal sysfs reference:
Code:
/sys/devices/platform/kcal_ctrl.0/kcal - (0-256 0-256 0-256) - Controls R/G/B Multipliers
/sys/devices/platform/kcal_ctrl.0/kcal_min - (0-256) - Controls minimum RGB Multiplier value
/sys/devices/platform/kcal_ctrl.0/kcal_enable - (0-1) - Enables/Disables RGB Multiplier Control
/sys/devices/platform/kcal_ctrl.0/kcal_invert - (0-1) - Enables/Disables Display Inversion Mode
/sys/devices/platform/kcal_ctrl.0/kcal_sat - (224-383 or 128) - Controls saturation intensity - use 128 for grayscale mode
/sys/devices/platform/kcal_ctrl.0/kcal_hue - (0-1536) - Controls display hue
/sys/devices/platform/kcal_ctrl.0/kcal_val - (128-383) - Controls display value
/sys/devices/platform/kcal_ctrl.0/kcal_cont - (128 - 383) - Controls display contrast
[ OPO TIPS & TRICKS GUIDE ]
Thanks a lot to @MMWolverine for this fantastic guide: Link
You can find all you need and all infos for your 1+1.
[ CPU GOVERNORS & SCHEDULERS HOW-TO ]
Thanks a lot to @gsstudios for this fantastic guide: Link
[ UNINSTALL UKM & AK KERNEL ]
What my kernel does is:
# Rename mpdecsion binary
mv $ bindir / mpdecision $ bindir / mpdecision-rm
if you want you can return by renaming "mpdecision", and than reboot the phone.
It was enough to report it in my thread.
however, I have created a zip for revert after seeing this exchange:
http://ak.hiddenbytes.org/
UKM_AK_uninstaller_v4.zip
​
Whoa!! Gonna try it on Sultan's ROM..
Edit: Booted up fine. Tweaking in Synapse. Will test and report.
Sent from my A0001 using Tapatalk
Master @ak strikes again... Thanks for the CAF Kernel.
CAF version arrive~!!!!!!
Thank you sooo much for this @ak
Don't boot on temasek's rom
This kernel support F2FS ? which rom support this CAF Kernel ?
zozourban said:
Don't boot on temasek's rom
This kernel support F2FS ? which rom support this CAF Kernel ?
Click to expand...
Click to collapse
all caf roms.
ps
i have found a problem with f2fs, i'm verify, thanks a lot for report.
Later I will try
Nice work
Enviado do meu A0001 através de Tapatalk
ak said:
all caf roms.
ps
i have found a problem with f2fs, i'm verify, thanks a lot for report.
Click to expand...
Click to collapse
Sorry for bothering you maybe already asked in your other topic but I think is fine if I ask here.. Is something particular needed to flash it on stable sultanxda Rom? Like to see step to install it if something special other than just flash needed, thank you for your work
Inviato dal mio A0001 utilizzando Tapatalk
Added to OnePlus One index thread:
[INDEX] OnePlus One Resources Compilation Roll-Up
Floydfire said:
Sorry for bothering you maybe already asked in your other topic but I think is fine if I ask here.. Is something particular needed to flash it on stable sultanxda Rom? Like to see step to install it if something special other than just flash needed, thank you for your work
Inviato dal mio A0001 utilizzando Tapatalk
Click to expand...
Click to collapse
Nothing. Just you need TWRP or any others recoveries. Back up & then flash this.
Just flashed on Sultan ROM working flawless.
Masterpiece has finally arrived officially
Floydfire said:
Sorry for bothering you maybe already asked in your other topic but I think is fine if I ask here.. Is something particular needed to flash it on stable sultanxda Rom? Like to see step to install it if something special other than just flash needed, thank you for your work
Inviato dal mio A0001 utilizzando Tapatalk
Click to expand...
Click to collapse
On a clean flash, only follow by caf kernel flash. (on dirty flash too)
If another kernel was installed, first dirty flash the rom, then flash @ak's caf kernel.
néonaloj said:
One more thing: I'm very disappointed with first 100% cycle with @ak CAF kernel (but I had similar results with other and stock CAF kernel too):
As supposed optimised by Qualcomm will give better results in terms of autonomy, I only have the opposit...
When I get arround 8 sot with cm kernel, I get only 6 sot with CAF kernels...
With own profile (smartmax + UC + UV ...) and stock profile.
Does someone have an idea why???
Click to expand...
Click to collapse
By the way, many thanks @ak for this new CAF kernel!!
Just wanted to add this thread to my participation list.
?
Sent from my bacon!!!!!
help
this is for 12.1??
5.1.1?
gili007 said:
this is for 12.1??
5.1.1?
Click to expand...
Click to collapse
CAF ONLY
Sent from my bacon!!!!!
The beta .10 version seemed a little laggy for my first charge cycle, but I see there is already a new version. Glad to see ak in the CAF club.
phillibl said:
The beta .10 version seemed a little laggy for my first charge cycle, but I see there is already a new version. Glad to see ak in the CAF club.
Click to expand...
Click to collapse
Both the builds have same stock tunables which are tuned for battery. Tune the kernel in synapse by seeing screenshots of any profile you like in the regular profiles thread.
Congrats on the new kernel friend!
@ak for president!
Sent from my A0001 using Tapatalk

[KERNEL][CM12.1]🌟Kernel NEOX🌟 v6.9 Fix Charge UBERTC-700 and Dual Sim 9300I

[KERNEL][CM12.1]🌟Kernel NEOX🌟 v6.9 Fix Charge UBERTC-700 and Dual Sim 9300I
Kernel is for CM 12.1 5.1.1
{
"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"
}
My device is GT-I9301i
Code:
[COLOR="Red"]* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/[/COLOR]
Features
Add KCAL - Advanced color control for Qualcomm MDSS 8226 use OC-KAL and apk in Attach Files
Code:
/sys/devices/platform/kcal_ctrl.0/kcal - (0-256 0-256 0-256) - Controls R/G/B Multipliers
/sys/devices/platform/kcal_ctrl.0/kcal_min - (0-256) - Controls minimum RGB Multiplier value
/sys/devices/platform/kcal_ctrl.0/kcal_enable - (0-1) - Enables/Disables RGB Multiplier Control
/sys/devices/platform/kcal_ctrl.0/kcal_invert - (0-1) - Enables/Disables Display Inversion Mode
/sys/devices/platform/kcal_ctrl.0/kcal_sat - (224-383 or 128) - Controls saturation intensity - use 128 for grayscale mode
/sys/devices/platform/kcal_ctrl.0/kcal_hue - (0-1536) - Controls display hue - may have issues with msm8x26 in the higher values
/sys/devices/platform/kcal_ctrl.0/kcal_val - (128-383) - Controls display value
/sys/devices/platform/kcal_ctrl.0/kcal_cont - (128-383) - Controls display contrast
http://forum.xda-developers.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080
Last Github Rox sources
Overclock add 1497600, 1593600 freq.
Add new Governors for CPU:
PERFORMANCE POWERSAVE USERSPACE ONDEMAND INTERACTIVE CONSERVATIVE INTELLIACTIVE PEGASUSQ PEGASUSQPLUS ZZMOOVE
Add LZ4 COMPRESS
Use Toolchain Linaro gcc 5.2.1 20151005 Graphite
( no more Use Toolchain Uber gcc 5.3.x Optimized)
Code:
GRAPHITE = -fgraphite -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -ftree-loop-linear -floop-nest-optimize
HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -Ofast -fomit-frame-pointer -pipe -DNDEBUG -fgcse-las $(GRAPHITE) -pthread
HOSTCXXFLAGS = -pipe -DNDEBUG -Ofast -fgcse-las -mfpu=neon-vfpv4 $(GRAPHITE)
KERNEL_FLAGS = -pipe -DNDEBUG -Ofast -marm -mtune=cortex-a9 -mcpu=cortex-a9 -march=armv7-a -mfpu=neon-vfpv4 \
-mvectorize-with-neon-quad -fgcse-after-reload -fgcse-sm -fgcse-las \
-ftree-loop-im -ftree-loop-ivcanon \
-fivopts -ftree-vectorize -ffast-math -fno-schedule-insns2 \
-fmodulo-sched -fmodulo-sched-allow-regmoves -fno-tree-vectorize $(GRAPHITE)
MOD_FLAGS = -DMODULE -fno-pic $(KERNEL_FLAGS)
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized)
else
KBUILD_CFLAGS += -Ofast
KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized) -fno-inline-functions
KBUILD_CFLAGS += $(call cc-disable-warning,array-bounds)
endif
Tricks
Controll TCP: veno
Scheduler: Tripnoid - Buffer size 1024
Freq Cpu:
MIN 300000
MAX 1593600
Governor: Lionheart
Fast Charge: ON
MPDecision: OFF
Intelli-Plug: ON or OFF
MSM HOTPLUG: ON always
GPU Governor: msm-adreno-tz
Enable Adreno Idler
Profiles for my kernel Thanks to neonkat
#Gaming(performance)
gov-performance
max cpu freq-1593Mhz
i/o-zen
#Balanced
gov-yankactive/yankdemand
max cpu freq-1401Mhz
i/o-sio
#Heavy Multi-tasking
gov-zzmove
max cpu freq-1593Mhz
i/o-bfq
#Insane battery life
gov-smartmax/powersave
max cpu freq-1190Mhz/1094 Mhz
i/o-noop
Credits
Rox
CyanogenMOD
Samsung
Google
CodeAurora
Qualcomm
Guide
Use Trickster Mod or Kernel Adiutor for Setup Kernel
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod&hl=it
Version
Code:
v1.1 Update Ramdisk new Rox Rom
v1.2 add news Features:
CONFIG_INTELLI_PLUG=y
CONFIG_LAZYPLUG=y
CONFIG_POWERSUSPEND=y
CONFIG_FORCE_FAST_CHARGE=y
CONFIG_FRANDOM=y
CONFIG_KERNEL_MODE_NEON=y
CONFIG_ALLOW_CPU_ALIGNMENT=y
v1.3 add news Features:
CONFIG_SOUND_CONTROL_HAX_3_GPL=y
For Faux SOUND CONTROL Use Trickster Mod or Kernel Adiutor
Pics Sound Control
CONFIG_INTELLI_THERMAL_V2=y
Pass Antutu Benchmark v5.7.2
ZRAM point: 21430
ZSWAP point: 21544
Undecided whether it is better 'ZSWAP' or 'ZRAM'
Please you decide you...
otherwise I do double version.
ZSWAP parameters:
in '/sys/modules/zswap/parameters'
max_compression_rate = 80 default
max_pool_percent = 20 default
Fix Hardware msm8226
Fix battery drain
New Version v2.0 zswap zram
Fix ALL :cool:
Fix zram and intellitermalV2 too
Problem with RR 5.5.8 (please update to Rom's Rox last build or RR 5.5.9 )
New Version v2.1 for RR 5.5.9 and Rom's Rox last build
update Adreno driver from kernel 3.4.108 experimental
Add version kernel 2.0 for Rom RR558 and old rom Rox.
New Version v2.2 for RR 5.5.9 and Rom's Rox last build
Patch take of CyanogenMod 13, ROM for the Moto G 2015
[URL="http://forum.xda-developers.com/2015-moto-g/orig-development/rom-cyanogenmod-13-t3254236"]http://forum.xda-developers.com/2015-moto-g/orig-development/rom-cyanogenmod-13-t3254236[/URL]
drivers: /drivers/mmc/core/core.c
mmc: disable software CRC checks for 30% performance
/*
* Enabling software CRCs on the data blocks can be a significant (30%)
* performance cost, and for other reasons may not always be desired.
* So we allow it to be disabled.
*/
bool use_spi_crc = 0;
module_param(use_spi_crc, bool, 0644);
Kernel v2.3
Build with 'The SaberMod Project' 20150804
+ CONFIG_BLU_PLUG=y
The Dynamic hotplug driver automatically online/offline CPUs proportional to system load.
Enable setting security contexts on rootfs inodes.
+ CONFIG_UID_CPUTIME=y
Per UID based cpu time statistics exported to /proc/uid_cputime
Kernel v2.4
News: Build with Toolchains SaberMod 4.9 with a15, vfpv4 optimizations and Google GCC
arm-eabi-gcc (GCC) 4.9.x-sabermod 20150828 (prerelease) so
CONFIG_ARM_UNWIND=y enable for Cortex-a7.
Update "force fast charge" Port to Nexus 5
and fix in /drivers/usb/otg/msm_otg.c
Add "Support for xor-neon"
Fix some gorvernors.
Active disable software CRC
Active Blu Plug (if you wont disable Intelliplug with Kernel Adiutor)
Kernel v2.5
Build Full -O3
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
KBUILD_CFLAGS += -O3
revert - mmc: disable software CRC checks -
+CONFIG_CPU_FREQ_GOV_SMARTMAXMOD=y
Add governor SMARTMAXMOD with powersuspend
Networking options CONFIG_XFRM all
Update from kernel v3.4.109:
update /drivers/platform/msm
+CONFIG_USR_RESET_WARNING=y
This option enables a device driver that monitors user reset warning
GPIO.If the driver receives the warning it calls kernel_halt to notify
drivers registered for the reboot notification about incoming HW reset.
+CONFIG_DROPBOX=y (this is usefull)
This option enables a sysfs interface for drivers to send text or
binary events to the Android dropbox. A lightweight userspace daemon
polls the sysfs files and copies the data into dropbox using the built
in dropbox manager service. This enables fast and simple logging of
various critical events from kernel drivers.
+CONFIG_HOB_SHARED_RAM=y
Provide mechanism to access hob storage shared memory on apps
processor. HOB - or the Hand Over Block - is the staging area for
phasing data.
+CONFIG_ALSA_TO_H2W=y (this is usefull)
This option enables a device driver that attach to the input queue and
and exposes EV_SW events SW_HEADPHONE_INSERT & SW_MICROPHONE_INSERT in
/sys/class/switch/h2w/state used by Android headset observer.
The caf kernel is optimized for Qualcomm phones. I'm replacing files possible without altering operation, but do not rule out some bugs.
Now is just the time to really test the phone but for now I think
almost everything ok .... If you find any bugs warn but for me the camera works in both zram that zswap ...
Install : Flash in Recovery mode
kernel_cm-13.0-20151119-s3ve3g-v2.0-zswap.zip ( Problem with RR 5.5.8 (please update to Rom's Rox last build) )
kernel_cm-13.0-20151119-s3ve3g-v2.0-zram.zip ( Problem with RR 5.5.8 (please update to Rom's Rox last build) )
Note : this version update Adreno driver from kernel 3.4.108 experimental (but works)
kernel_cm-12.1-20151122-s3ve3g-v2.2-zswap.zip ( for RR 5.5.9 and Rom's Rox last build )
kernel_cm-12.1-20151122-s3ve3g-v2.2-zram.zip ( for RR 5.5.9 and Rom's Rox last build )
Note : this version is Build with Toolchains SaberMod 4.9 with a15, vfpv4 optimizations and Google GCC
kernel_cm-12.1-20151127-s3ve3g-v2.4-zswap-crc-google.zip ( for RR 5.5.9 and Rom's Rox last build )
kernel_cm-12.1-20151127-s3ve3g-v2.4-zram-crc-google.zip ( for RR 5.5.9 and Rom's Rox last build )
NEW KERNEL CAF v1.1 by n1kolaa
Note : this version is Build with Toolchains SaberMod 4.9 with a15, vfpv4 optimizations and Google GCC
I decided to build the kernel with the sources of Thread by n1kolaa v3.4.67 for testing With all my changes:
kernel_cm-12.1-20151129-s3ve3g-caf-v1.1-zram-google.zip ( for Rom's Rox last build )
kernel_cm-12.1-20151129-s3ve3g-caf-v1.1-zswap-google.zip ( for Rom's Rox last build )
NEW Kernel v2.7
Note : Build Full -O3 Toolchains SaberMod 4.9 with a15, vfpv4 optimizations and Google GCC
kernel_cm-12.1-20151226-s3ve3g-v2.7-zswap-google.zip ( for last build )
kernel_cm-12.1-20151226-s3ve3g-v2.7-zram-google.zip ( for last build )
Code:
* ZZMoove Governor profiles header file modified by Zane Zaminsky 2013/14
*
* currently available profiles by ZaneZam and Yank555:
*
* - (1)'def' -> Default -> will set governor defaults -
*
* - (2)'ybat -> Yank Battery -> a very good battery/performance balanced setting -
* - DEV-NOTE: highly recommended! -
*
* - (3)'ybatext'-> Yank Battery Extreme -> like yank battery but focus on battery saving -
*
* - (4)'zzbat' -> ZaneZam Battery -> a more 'harsh' setting strictly focused on battery saving -
* - DEV-NOTE: might give some lags! -
*
* - (5)'zzbatp' -> ZaneZam Battery Plus -> NEW! reworked 'faster' battery setting -
* - DEV-NOTE: recommended too!:) -
*
* - (6)'zzopt' -> ZaneZam Optimized -> balanced setting with no focus in any direction -
* - DEV-NOTE: relict from back in the days, even though some people still like it! -
*
* - (7)'zzmod' -> ZaneZam Moderate -> NEW! setting based on 'zzopt' which has mainly (but not strictly only!) 2 cores online -
*
* - (8)'zzperf' -> ZaneZam Performance -> all you can get from zzmoove in terms of performance but still has the fast -
* - down scaling/hotplugging behaving -
*
* - (9)'zzinz' -> ZaneZam InZane -> NEW! based on performance with new insane scaling active. a new experience! -
*
* - (10)'zzgame' -> ZaneZam Gaming -> NEW! based on performance with scaling block enabled to avoid cpu overheating during gameplay -
*
* - (11)'zzrelax'-> ZaneZam Relax -> NEW! based on moderate (except hotplug settings) with relaxed sleep settings -
*
Old version:
NEW Kernel v4.0:
Kernel Version 4.0
Change Toolchain Dorimanx-LG-G2-D802-Kernel
Change to KCAL V2 mdss_mdp_kcal_ctrl.c
Change fastcharge driver
NEW Kernel v4.1:
Kernel Version 4.1
Powersuspend driver Default to userspace mode
NEW Kernel v4.2:
Kernel Version 4.2
Add MSM_HOTPLUG by myfluxi
Fix Bluetooth Stuttering by [email protected]
update commit CAF kernel v3.4.67
NEW Kernel v4.6:
Kernel Version 4.6
Zram rewrite and set lz4 compression
Add other CPU Governors
Update Powersuspend v1.7
Classic Toolchain arm-cortex_a7-linux-gnueabihf-linaro_4.9.4-2015.06
Initram KERNEL in GZIP
NEW Kernel v4.7:
Kernel Version 4.7
New Toolchains arm-eabi-5.3.1 UBERTC-5.3.x 20160401 (optimized)
NEW Kernel v4.9:
Kernel Version 4.9
New Toolchains arm-eabi-5.3.1 UBERTC-5.3.x 20160401 (optimized)
Add GRAPHITE optimizations
NEW Kernel v5.0:
Kernel Version 5.0
New Toolchains arm-eabi-5.3.1 UBERTC-5.3.x 20160401 (optimized)
Add GRAPHITE optimizations
New Wi-Fi driver from Motion Rom
Update Zram add 4 devices (you can edit 99zram in init.d)
Add more Governors Cpu: WAVE, BLU_ACTIVE, HELLSACTIVE, BIOSHOCK,
NIGHTMARE, ALUCARD and TRIPNDROID
New Cpu Boost driver
New HotPlug driver: BRICKED, MAKO, MSM_LIMITER, ZEN, and ALUCARD
Update INTELLI_PLUG (v5.4) and MSM_HOTPLUG
Click to expand...
Click to collapse
NEW Kernel v5.1:
Kernel Version 5.1
New Toolchains arm-eabi-5.3.1 UBERTC-5.3.x 20160401 (optimized)
Add GRAPHITE optimizations
New Wi-Fi driver from Motion Rom
Update Zram add 4 devices (you can edit 99zram in init.d)
Add more Governors Cpu: WAVE, BLU_ACTIVE, HELLSACTIVE, BIOSHOCK,
NIGHTMARE, ALUCARD and TRIPNDROID
New Cpu Boost driver
New HotPlug driver: BRICKED, MAKO, MSM_LIMITER, ZEN, and ALUCARD
Update INTELLI_PLUG (v5.4) and MSM_HOTPLUG
Workqueues marked with WQ_POWER_EFFICIENT
Update commit WQ_POWER_EFFICIENT
Fix SOUND DRIVER (resolved bug no sound on any music player)
Control Output Sound in Kernel Adiutor menu Sound
Sound Control 3.4 Author: Paul Reioux aka Faux123 <[email protected]>
Update Gpu Devfreq
Add Adreno Gpu governor CONSERVATIVE (now work)
Click to expand...
Click to collapse
NEW Kernel v5.2:
Kernel Version 5.2
Equal to 5.1 but build with Linaro Toolchain 5.2.1 very smoot...
Add Governors:
ARTERACTIVE Copyright (C) 2014 Samsung from SM-G900F source
"Latency sensitive workloads based on Samsung's Galaxy S5 Interactive");
CYAN Copyright (C) 2015 Emre Harbutoğlu
"Latency sensitive workloads based on Google's Interactive"
Click to expand...
Click to collapse
NEW Kernel v5.5:
Kernel Version 5.3
Build with Linaro Toolchain 5.3.1 very smoot...
Add new commit:
fix false disconnect due to a signal sent to the reading process
ksm: check and skip page, if it is already scanned
Input: Send events one packet at a time
cpufreq: Optimize cpufreq_frequency_table_verify()
Add /dev/frandom
lib/string: use glibc version
lib/memcopy: use glibc version
Enable pipe flag.
mm: readahead to 256
vfp: hardfloat
Add Commit to Cpu Boost
Change Fast Charge Driver (old seem break Touchscreen)
Limit the max charge level to 2100 mA
Author Jean-Pierre Rasquin <[email protected]>
KERNEL in XZ
New v5.5:
Return to Toolchain Linaro gcc 5.2.1 20151005 Graphite
Fix Volume Crackling in sound setting
Change :
/drivers/power/qpnp-sec-charger.c
/drivers/hid
/drivers/input
/drivers/usb
add Cpu governor interactive_sm
from S5 mini g800h
Click to expand...
Click to collapse
Fix SOUND
NEW Kernel v6.9:
Kernel Version 5.6
Return to Toolchain Linaro gcc 5.2.1 20151005 Graphite
Fix Volume Crackling in sound setting
add Cpu governor interactive_sm
Revert this : (not work crash kernel)
/drivers/power/qpnp-sec-charger.c
/drivers/hid
/drivers/input
/drivers/usb
from S5 mini g800h
Kernel Version 5.7
More stable
Fix bug install apps
Kernel Version 5.8
add more features
optimize
Kernel Version 5.9
OC GPU 550Mhz (not tested)
Kernel Version 6.0
OverClock GPU to 550Mhz
UnderClock CPU to 192Mhz and 249Mhz
Stable
Kernel Version 6.1
Some fix
Kernel Version 6.2
fix Skype don't start ( in qpnp-charger.c deactivate debug )
Kernel Version 6.3
Add Async Fsync from HTC Kernels
Add Dynamic file sync control
Antutu 22597 score
Kernel Version 6.5
New Toolchain...
UBERT gcc version 7.0.0 20160421 (experimental)
Add CRYPTO LZ4 (forgot)
edit:
Please delete version kernel 6.6
Error Build now reupped file sorry
Kernel Version 6.7
Finally...
Fix Charge off-line
Beta Sim working on GT-I9300I (test this)
Thanks to [email protected]
Error is in Ramdisk no Rom or Kernel sources
Kernel Version 6.8
New Power management options:
WQ_POWER_EFFICIENT_DEFAULT
QUICK_WAKEUP
PM_SYNC_BEFORE_SUSPEND
ZSWAP in LZ4
SOUND:
In fauxsound codec
Fix speaker gain volume store (use Kernel Adiutor in Sound)
Now work volume speaker
ATTENTION or damage speaker Max value 4-5
for WCD9306 sound control module Copyright 2013 Paul Reioux
Use: Start Google Play Music and play a song (only speaker)
Now start Kernel Adiutor goto in Sound and move slide Speaker Gain
v.6.9
Fix GPU overclock 550 Mhz
Add GPU min freq to 100 Mhz
Limit CPU Voltage at freq 192 and 249 MHz
Script Zram to 512 MB
If wi-fi not start flash WiFi-fix Galaxy S3 Neo CM12.1.zip
Click to expand...
Click to collapse
Build with Toolchain GCC: (UBERTC-7.0.0) 7.0.0 20160421 (experimental)
Beta Sim working on GT-I9300I (test this)
Download: Kernel-CM12.1-Neox-v6.9-u700-zram.zip
Download: Kernel-CM12.1-Neox-v6.9-u700-zswap.zip
Download: Kernel-CM12.1-Neox-v6.9-u700-zcache.zip
This work on 9300I Carbon Ultimate Android 5.1.1 Dual Sim
Download: Kernel-9300I-DualSim-CM12.1-Neox-v6.9-u700-zram-b.zip
Download: Kernel-CarbonRom-test-Neox-v6.8-u700-zram.zip
If necessary flash this: Patch+RIL+(Dual+SIM).zip
Thanks to: MAXSIMUS96
old:
Download: Kernel-CM12.1-Neox-v6.8-u700-zram.zip
Download: Kernel-CM12.1-Neox-v6.8-u700-zswap.zip
Download: Kernel-CM12.1-Neox-v6.8-u700-zcache.zip
Download: Kernel-CM12.1-Neox-v6.7-u700-zram.zip
Download: Kernel-CM12.1-Neox-v6.7-u700-zswap.zip
Download: Kernel-CM12.1-Neox-v6.7-u700-zcache.zip
Download: Kernel-CM12.1-Neox-v6.5-u700-zram.zip
Download: Kernel-CM12.1-Neox-v6.5-u700-zswap.zip
Download: Kernel-CM12.1-Neox-v6.5-u700-zcache.zip
Build with Toolchain Linaro gcc 5.2.1 20151005 Graphite
Download: Kernel-CM12.1-Neox-v6.3-l521-zram.zip
Download: Kernel-CM12.1-Neox-v6.3-l521-zswap.zip
Download: Kernel-CM12.1-Neox-v6.3-l521-zcache.zip
Download: Kernel-CM12.1-Neox-v6.2-l521-zram.zip
Download: Kernel-CM12.1-Neox-v6.2-l521-zswap.zip
Download: Kernel-CM12.1-Neox-v6.1-l521-zram.zip
Download: Kernel-CM12.1-Neox-v6.1-l521-zswap.zip
Download: Kernel-CM12.1-Neox-v6.0-l521-zram.zip
Download: Kernel-CM12.1-Neox-v6.0-l521-zswap.zip
Download: Kernel-CM12.1-Neox-v5.9-l521-zram.zip
Download: Kernel-CM12.1-Neox-v5.9-l521-zswap.zip
How to use new ZRAM goto here
PHP:
I used zram with this settings:
Cpu max : 1401
Governor : cyan
Multicore Power Saving : disabled
Schedule workqueues on awake CPUs to save power. off
Cpu Boost : off
Input boost frequency : disabled (all)
Hotplug Boost : on
Cpu Hotplug : Zen decision
Termic : intellithermal
GPU : default
Fast Charge: on
Scheduler I/O : deadline 256K
Misc :
Dynamic Fsync : off
Power Suspend Mode : UserSpace
Network : veno
Toolchain GCC: (UBERTC-7.0.0) 7.0.0 20160421 (experimental)
Thanks to: ZaneZam
Thanks to [email protected] And [email protected]
Commit: toolchain: multiple fixes and changes for gcc 5.0.0
Sources: https://github.com/MSM8226-Samsung/android_kernel_samsung_s3ve3g/tree/cm-12.1
Camera FIX only if camera not work :
Camera_fix.zip
or: cm12.1camera.zip
FIX Bug corrected the boring log :
QCOM PowerHAL Failed to acquire lock.
copy 'power.msm8226.so-cracked' to '/system/vendor/lib/hw/'
rename 'power.msm8226.so' to 'power.msm8226.so.original'
rename 'power.msm8226.so-cracked' to 'power.msm8226.so'
set octal attrib 0644 (use Root Explorer in Attributes). Reboot device...
Attach Files power.msm8226.so-cracked.zip
Flash in Recovery:
Can i install this kernel on résurrection remix ??
Envoyé de mon GT-I9300I en utilisant Tapatalk
mimbel said:
Can i install this kernel on résurrection remix ??
Envoyé de mon GT-I9300I en utilisant Tapatalk
Click to expand...
Click to collapse
Yes
OK thanks
Envoyé de mon GT-I9300I en utilisant Tapatalk
@Renix63 Good Job !
Reserved
Please renix add this future.
http://forum.xda-developers.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080
Sectorian said:
Reserved
Please renix add this future.
http://forum.xda-developers.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080
Click to expand...
Click to collapse
ok.
@Renix63 what is the super charger script and the other mtk one? What do they add?
Sent from my GT-I9301I using XDA Free mobile app
Ok everything is working purfectly for now.
Im using it whit Resorection Remix and pegausplus gov.
Verry smooth and fast.
Man what are you doo whit this kernel.
My battery life is superb.
Thank you.
Im using pegasusplus gov.
Sectorian said:
Ok everything is working purfectly for now.
Im using it whit Resorection Remix and pegausplus gov.
Verry smooth and fast.
Man what are you doo whit this kernel.
My battery life is superb.
Thank you.
Im using pegasusplus gov.
Click to expand...
Click to collapse
Can you tell me some info about battery? Or attach a screenshot please?
WiFi isn’t working for me. Clean install of Rox’s CM12.1 10/17 version. Flashed the kernel in revocery right after installing the ROM. Am I missing something?
aelfinn said:
WiFi isn’t working for me. Clean install of Rox’s CM12.1 10/17 version. Flashed the kernel in revocery right after installing the ROM. Am I missing something?
Click to expand...
Click to collapse
Maybe wiping cache and dalvik will make a difference if you haven't already tried.
Sectorian said:
Ok everything is working purfectly for now.
Click to expand...
Click to collapse
Is WiFi working for you too? I’m having a bit of a problem with that… (WiFi not working, as with n1kolaa’s kernel if you forgot to flash modules.zip.)
aelfinn said:
WiFi isn’t working for me. Clean install of Rox’s CM12.1 10/17 version. Flashed the kernel in revocery right after installing the ROM. Am I missing something?
Click to expand...
Click to collapse
Wipe cache and dalvik cache. WiFi is working for me after i did it.
MoonPWR said:
Wipe cache and dalvik cache. WiFi is working for me after i did it.
Click to expand...
Click to collapse
That isn’t doing it for me, I’m afraid.
aelfinn said:
That isn’t doing it for me, I’m afraid.
Click to expand...
Click to collapse
I came to this kernel from n1kolaa's kernel and that's what i did:
1) Wipe cache and dalvik cache
2) Installs kernel (kernel_cm-12.1-20151021-s3ve3g-OC-KAL.zip)
3) Do cache and dalvik cache wipe again (dunno what for again, but i did)
MoonPWR said:
I came to this kernel from n1kolaa's kernel and that's what i did:
1) Wipe cache and dalvik cache
2) Installs kernel (kernel_cm-12.1-20151021-s3ve3g-OC-KAL.zip)
3) Do cache and dalvik cache wipe again (dunno what for again, but i did)
Click to expand...
Click to collapse
Now that did indeed work. Although goodness knows why…
aelfinn said:
WiFi isn’t working for me. Clean install of Rox’s CM12.1 10/17 version. Flashed the kernel in revocery right after installing the ROM. Am I missing something?
Click to expand...
Click to collapse
WiFi working well
If not working delete manually the file /system/lib/modules/wlan.ko reboot and reflash kernel
Omg you did it.
You add it thanks so many times.
Im gonna flash it and test it.
It work.
It work.
I can manual set the saturation of my display settings whit color control apk.
N1 you are n1.
Best settings.
Amazing work @Renix63! Many thanks! Everything is working, deep sleep, reboot... : )
One question. If I switch between battery modes, it goes back to interactive governor, and I have to manually change it to pegasusq. Any way to prevent that happening?

[Mi5][KERNEL][HMP/MIUI][Linux 3.18.31] Floppy Kernel [RC1.3][13/01/18]

[Mi5][KERNEL][HMP/MIUI][Linux 3.18.31] Floppy Kernel [RC1.3][13/01/18]
{
"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"
}
Floppy is kernel for all custom rom based on LineageOS 14.1, 15.1 and Miui , support the Xiaomi Mi5
Code:
#include <disclaimer.h>
* Your warranty is now void. *
* No guaranteed this'll explode your device, be careful, follow the instructions ! *
*don't point at me if your alarm dies after flashing this kernel ! *
Based on Linux Kernel 3.18.31
Based on LineageOS Kernel
GCC Linaro 7.2.1, UBERTC 8.0, SaberMod 7.0 and Google 4.9
Governors: Impulse, Despair, Zzmove, Darkness, Blu_active, ElementalX, Interactive, Conservative, Ondemand, Powersave, Lionheart, Userspace, Bioshock, Alucard, Hyper, Wheatley, Nightmare, Dancedance, Adaptive, Pegasusq, Chill, Cafactive and Performance.
I/O Schedulers: Noop, Deadline, Cfq, Fiops, Bfq, Zen, Sio, Sioplus, Maple and Tripndroid.
Compiled with -Os
Full Linaro Optimizations ON
Optimized Parameters from L Speed @Paget96
Standard MSM8996 Frequency CPU | GPU for all variants - credits : whyorean
Overclock CPU Big core at 2265Mhz and Little core at 1728Mhz
Google Snappy Algorithm
ARM RWSEM Algorithm
Charge Control module - credits : xNombre
Wireless adapter (LIB80211, RTL8180, RTL8187, MAC80211, EEPROM: LEGACY, MAX6875, 93CX6, 93XX46)
Spectrum support
Kexec HardBoot support
Wireguard
Kernel Samepage Merging (KSM)
Dynamic File Sync and Asynchronous FIle Sync - credits : andip71 | Francisco Franco
Passing SafetyNet
[*] Frandom - Entropy Generator
USB OTG NTFS r/w Support
SYSInterface Gentle Fair Sleepers
[*] Some CFLAGS optimizations
Performance enhancements
OC Slimbus frequencies to provide better sound quality
Lazyplug - credits : arter97 | frap129
Backlight Dimmer
Arch Power saving - credits : kirananto | Cl3Kener
Adreno Idler- credits : arter97 | yarpiin
[*] Intelli-Thermal v3.0 - credits : faux123
Sound Control - credits : flar2 | me
Support f2fs, exfat, ntfs filesystem
Quick WakeUp Driver and power suspend 1.7 - credits : Paul Reioux | Jean-Pierre Rasquin | Francisco Franco
Support cpu boost, cpu input boost and fingerprint boost
MDSS color control (Kcal v2) - credits : flar2 | andip71
Sysfs interface to Enable/Disable CRC - credits : whyorean
[*] Sysfs interface CPU Vdd levels
Boeffla wl blocker v1.1.0: sensor_ind, msm_hsic_host, wlan_rx, wlan_ctrl, wlan, ipa, qcom rx and more - credits : Francisco Franco | andip71
Vibration Control Intensity
TCP Congestion Algorithms: Westwood (default), Reno, Bic, Highspeed, Hybla, HTCP, Vegas, Scalable, Lp, Yeah and Illinois.
And much more!
First time:
Reboot to recovery
Flash FloppyKernel.zip
Flash magisk (optional to get root)
Wipe cache e dalvik cache
Reboot
Update the kernel:
Reboot to recovery
Flash FloppyKernel.zip
Wipe cache e dalvik cache
Reboot
Coming from another kernel:
Reboot to recovery
Flash your ROM
Flash FloppyKernel.zip
Flash magisk (optional to get root)
Wipe cache e dalvik cache
Reboot
Floppykernel
FloppyKernel's Autonomous Builds
FloppyTeam
FloppyReleases
Donate here, if you like my work!!!
LineageOS
Mi5Devs
@GreekDragon
XDA:DevDB Information
FloppyKernel, Kernel for the Xiaomi Mi 5
Contributors
Jonas Cardoso, InsideMuz
Source Code: https://github.com/JonasCardoso/android_kernel_xiaomi_msm8996
Kernel Special Features: A magical support, I am all day here, reading the publications of the posts, ready to help in any doubt (unless you have not read the OP that contains the information that you need).
Version Information
Status: Stable
Current Stable Version: RC1.3
Stable Release Date: 2018-01-13
Created 2017-11-29
Last Updated 2018-08-20
RC1 - 28/11/2017
Changes from source "LineageOS/android_kernel_xiaomi_msm8996"
kernel: support for GCC 5, 6 and 7
cpufreq: added new governor
block: added new iosched
filesystem: add NTFS r/w support
power : power_suspend 1.7 - credits : Paul Reioux | Jean-Pierre Rasquin
sched: Add SysInterface for GENTLE_FAIR_SLEEPERS
int_sqrt: Improve 3x faster integer sqrt
sync: Dynamic Sync Control 2.0
fs: Async I/O latency to a ssd greatly increased, 34% gain (Creds: kl…
include: Set 1024KB as Max Read ahead - more performance now
thermal : intelli-Thermal v3.0
ASoC: wcd9335: Sound control
msm8996: all variants same clock
staging: Google Snappy
Power : Add Quick WakeUp Driver
cmdline: Safetynet
fs: add exfat support
cpufreq: show cpu voltages via sysfs 009a6c0
cpufreq: Add CPU Input Boost Driver : SultanXDA
cpufreq: cpu-boost: Optimizations
fs: Dynamic Sync Control 2.0 and MDSS color control
drivers: Slimbus Overclock
gemini: Enable All TCP Congestion Algorithms
OC : Standard MSM8996 Frequency CPU | GPU
devfreq : Add Adreno Idler
cpufreq: add fingerprintboost and lazyplug
drivers: intelli-Thermal v3.0
version: floppykernel RC1
RC1.1 - 10/12/2017
SoundControl: fixed speaker \o/
ramdisk: add tweaks on init.floppy.rc
char: disabled frandom
gemini: enabled ksm
gcc: support gcc 7.x and 8.0 (Linaro and UBERTC)
zip-creator: add spectrum support
drivers: misc: implement usb fast charge mode
version: floppykernel RC1.1 62e569c
zip-creator: delete zip build 8ae3d63
RC1.2 - 27/12/2017
android: binder
ALSA: compress: Add DSD format support for ALSA
ALSA: compress: Add APTX format support in ALSA
firmware: Update synaptic
firmware: Update fte8716
spectrum: don't change clock cpu
kernel: added support to lithium
kernel: added support to natrium
kernel: added support to scorpio
msm8996: Overclocking frequencies
msm: qdsp6v2: Allow 320K AAC encoding
Add Kexec HardBoot Support
Revert "drivers: intelli-Thermal v3.0"
Merge tag 'LA.UM.5.5.r1-06400-8x96.0' into HEAD
drivers: staging: Update qcacld-2.0 driver
version: floppykernel rc1.2
build.sh: update device.prop
defconfig: CPU and GPU more battery-friendly
wakeup: More Wakelocks
RC1.3 - 13/01/2018
zip-creator: update AnyKernel2
build.sh: update device.prop
defconfig: CPU and GPU more battery-friendly
zip-creator: update AnyKernel Setup
wakeup: More Wakelocks
msm: mdss: kcal: Add KCAL support for post processing control [v2] 6b40a22
zram: LZ4 after LZ0
block: Add Maple I/O Scheduler
zip-creator: Patch to remove dm-verity
gcc8: fix warnings
defconfig: Wireless Adapter
net/wireguard: add wireguard importer
zip-creator: device check
dtbTool: now dtbTool will be built
travis: GitHub Release
zip-creator: update patchs
boeffla_wl_blocker: update to wakelock blocker driver v1.1.0 3efdcbf
defconfig: enable lazyplug a9785fe
defconfig: enable adreno idler a5d0558
cpufreq : Add Chill CPU Governor - credits : Joe Maples (@frap129) 6d26826
cpufreq: Add CAF-Active Governer - credits : Jean-Pierre Rasquin 4ba764b
version: floppykernel rc1.3 34479b6
travis: deploy in lineage-14.1 branch e5f4308
Frequently asked questions
Q: Will this conflict with any mod I'm using?
A: As long as it doesn't have any entropy related stuff, its okay. Since the kernel already comes with an inbuilt entropy generator, it will conflict with the ones from mod, causing a poor, stuttered performance!
Q: Deep Sleep isnt working for me, Google Services causing wake-locks, what to do?
A: Go to settings, Privacy, Privacy Guard, All apps, long press Google Services, and deny/disable wake-locks! (Thanks to @Paget96 for the solution)
Q: Which version should I flash?
A: Flash kernel with toolchain that you prefer.
Q: What is the difference between the UBERTC, Linaro, SaberMod and Google toolchain? Which one is the best?
A: It's a good read on the toolchain UBERTC you are wanting to know more about it, this for Linaro, this for SaberMod and this for Google.
Q: What is the difference between the HMP and Miui kernel?
A: Miui folder is for miui roms -> xiaomi.eu, MiuiBR and other derivatives from miui official. HMP folder is for aosp rom and derivatives -> Aosp, Lineage and other derivatives from aosp
Q: Is your kernel secure?
A: You MAY face some issues, but it's safe! My cell phone has not exploded yet.
Q: WiFi doesnt work for me.
A: Reflash ROM and Kernel.
Q: All variants of the Xiaomi Mi5 have the same CPU and GPU clock?
A: Yeeh.
Q: I have problems with the sound control of the speaker and microphone
A: Yeeh, I have too, bugs today, bugs tomorrow, bugs forever.
Q: What application can I use to configure the kernel?
A: Use Spectrum, and if you have enough knowledge of what to modify or do in the application use together Kernel Adiutor.
Q: Can I use the kernel source in my ROM?
A: If you want to use my kernel in your ROM, just put my name in the credit, just like I did.
Q: Does your kernel support writing to the NTFS file system?
A: Yeeh, you can use flash drives and HD with NTFS via OTG.
Q: My cpu clock is locked in 1190Mhz with any governor.
A: Just disable the thermal control in the kernel temperature settings.
Q: I have problems with your kernel.
A: Take a logcat and kmesg, this website and this video should help you
Q: Why does my magisk and root disappear after installing your kernel?
A: The kernel script makes changes that directly interfere with both, reinstall the magisk that it will function normally, follow this installation line always: FloppyKernel -> Magisk -> Reboot system.
Q: Does your kernel support Miui ROM?
A: Yes, support was added in "RC1.1".
Q: What is the "Battery" profile in the spectrum?
A: Based on Project Zhana & X.A.N.A was made for trying to be as efficient as possible without compromising the performance. Thanks to the discovery on Voltages used by our SD820 I could make a profile that utilizes more the BIG cluster. My first attempt was to move ALL the load to the BIG cluster, it was against anything that I have learned about little. BIG CPU but I tried, it turned really good at first, low usage was just amazing... But on more usage things didn't go that good. So what I did it was to give a twist to things, but not such twist. It kind of works like Nameless and Shotgun, Mostafa Wael and I worked the same idea. #LITTLE cluster will be running on low-mid frequencies but delivers full performance when is needed. # BIG Cluster will help LITTLE ease Load, but in a great way than before. Things can be done faster and more efficient giving us profit in form of battery. It should run smooth on all scenarios, but you guys tell me. You can easily get around 7~9 hours SOT for 24 hours even more If you don't play game. This will, of course, may vary, but it will definitely be better.
Q: What is the "Balanced" profile in the spectrum?
A: Based on GhostPepper was made to uses a quantized, frequency-aligned parametric curve to influence low core clock rates while providing extremely smooth transitions from each clock rate and exceptional battery life. Really well-defined clock speed escalation for a good battery and performance.
Q: What is the "Performance" profile in the spectrum?
A: Based on FusionP this profile brings a more "agressive" way to scale frequencies. It will scale frequencies sooner(regarding load values from cpu) and will use more the big cluster to provide more performance doing the tasks on hands. Battery should not take a big hit but using heavy demanding tasks you can expect a higher drain.
Q: What is the "Gaming" profile in the spectrum?
A: Based on Burnout PR5, this profile's main goal is to provide absolute maximum performance when needed, but lies low quite well. You see, some times I see the CPU hitting some of the high freqs of 1190 while making something as simple as watching YouTube or playing some spotify tracks needlessly, and sometimes I feel it is a bit slower than it should be in things like brute multitasking. Most profiles do aim at bringing a mid-ground to rest on. But with the sensible words of one of my favourite idols Jeremy Clarkson, he says 'Power solves everything' and right he is. By eliminating the mid freqs of the Little cluster and efficiently using some specific frequency steps, you get some power savings by staying on lower freqs as much as possible, and even on brutal tasks you get the job done faster as well, since the CPU will give you all the power to finish the job as fast as it can, and hit back to idle faster.
Q: I want more information about your spectrum profiles.
A: Read this thread.
Q: I want more information about governors, I/O Scheduler, Hotplug, TCP Algorithms and other things.
A: Read this thread.
Thx to @musabcel
Antutu Benchmark​
Geekbench
It seems a very nice kernel, big up for the dev, Im hoping that this kernel will be updated for Oreo?
Francesco0301 said:
It seems a very nice kernel, big up for the dev, Im hoping that this kernel will be updated for Oreo
Click to expand...
Click to collapse
I'm just waiting for the Oreo ROMs become more stable
Im following you from your L7 development times. And i have l7 and mi5. Now im using jdc oreo but i will install LOS for try your work. I hope you will continue your work for oreo.
Wich is better, Linaro Or UBERTC?
What's the difference between linaro and ubertc?
hi.. I'm was installed Linero version for my Mi5pro. i have questions.
- why my model phone goes to Samsung Galaxy Note 7.
- my magisk root gone, after intalled these kernel version.
Thanks.
roomraditz said:
hi.. I'm was installed Linero version for my Mi5pro. i have questions.
- why my model phone goes to Samsung Galaxy Note 7.
- my magisk root gone, after intalled these kernel version.
Thanks.
Click to expand...
Click to collapse
First question: idk, my model phone is normal, Mi5, try install boot.img and after kernel, are you using any modifications ?
Second question: normal, after install kernel magisk gone, you have to install again, because in the installation it is lost
Good to see new kernel ?? will flash and try
miui support ?
Linaro or UBERTC?
I use the version with Linaro and I am very satisfied, I recommend that you test both versions and see which one is best for you
gunnered14 said:
miui support ?
Click to expand...
Click to collapse
No, dont try flash this, is only for aosp, LOS and its variants
Jonas Cardoso said:
First question: idk, my model phone is normal, Mi5, try install boot.img and after kernel, are you using any modifications ?
Second question: normal, after install kernel magisk gone, you have to install again, because in the installation it is lost
Click to expand...
Click to collapse
thank you, that problem solved. and can you explain difference Liberio and Ubertcc.. ?.
thank you so much for this kernel. Smooth and good battery
hope you keep dev this kernel
roomraditz said:
thank you, that problem solved. and can you explain difference Liberio and Ubertcc.. ?.
Click to expand...
Click to collapse
Here
i'm use u'r kernel since this thread open.
I use ubertc version, it's very smooth.. but sometimes my device freeze, but no problem at all coz the true culprit is magisk magic charging module..
but just now im trying linaro build.. i hope no problem like ubertc build..
Im suggesting fast charging module bro like dragonxia 3.8 OC..
Don't work with Miui rom ?
Envoyé de mon MI 5 en utilisant Tapatalk

[KERNEL][DIPPER] [Kernel 4.9.290][MIUI & AOSP] BAALAM 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"
}
Code:
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current covid-19 pandemic caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
BAALAM Kernel is based on LineageOS 18.1 sources compiled with Proton Clang.
Features
- Linux Kernel version 4.9.290
- Merged latest CAF tag
- Merged Latest LineageOS 18.1 commits
- I/O Schedulers: deadline, noop, cfq, zen, maple, anxiety
- Boeffla wakelock blocker
- Westwood, BBR, reno, cubic TCP Congestion
- Simple Low Memory Killer
- Fsync Control
- Drivedroid support
- Disabled Gentle Fair Sleepers
- LZ4 Compression Algorithm by default
- Cache tweaks
- CRC Check Disabled
- Zipped up with latest AnyKernel3
- WireGuard VPN support
- SafetyNet Flags Patch
- USB Fast Charge (900 mAh)
- TCP Tweaks
- Sound Control
- KCal Control
- AdrenoBoost
See all commits
Installation
1.- Download zip
2.- Boot to recovery mode
3.- Make a backup of your current boot.img/kernel
4.- Flash zip
5.- Reboot system
Note: Not all features comes enabled when you've flashed this kernel, you need a kernel manager to enable/disable or adjust some tweaks.
You need a kernel manager app like SmartPack(free), EX Kernel Manager(paid)...​Downloads​Android 10 & 11
BAALAMKernel-v1.5.1-dipper
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
MIUI
BAALAMKernel-v1.5.1-MIUI-dipper
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
Android 12
BAALAMKernel-v2.0.5-s-dipper
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
​
XDA: DevDB Information
Baalam, Kernel for the Xiaomi Mi 8
Contributors
ZonaRMR
Source Code: https://github.com/ZonaRMR/baalam_android_kernel_xiaomi_sdm845
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.5.1
Stable Release Date: 2021-10-22
Changelogs​Android 10 & 11
v1.5.1
Code:
- Upstreamed to Linux Kernel v4.9.290
v1.5
Code:
- Upstreamed to Linux Kernel v4.9.287
- msm-4.9 patches from CodeAurora
- Added AdrenoBoost
v1.4.2
Code:
- simple_lmk: Thaw victims upon killing them
- simple_lmk: Make the reclaim thread freezable
- Upstreamed to Linux Kernel v4.9.284
- Revert "ARM64: dts: Force warm reboot in order to preserve mem"
v1.4.1
Code:
- Upstreamed to Linux Kernel v4.9.283
v1.4
Code:
- Enabled Westwood, BBR TCP congestion
- TCP tweaks
- arm64: Select ARCH_HAS_FAST_MULTIPLIER
- cpuidle: Allow enforcing deepest idle state selection
- alarmtimer: Add ndelay for tight loop
- cpu-boost: Bind to LITTLE cpus and reduce RT prio
- cpu-boost: Rework scheduling setup
- cpu-boost: Reduce input boost time interval
- drivers/usb: Add Drivedroid Support
- arch/arm64: dts: disable dfps in jdi fhd panel
- soc: qcom: subsystem_restart: Prevent kernel panic caused by modem crash
- Upstreamed to Linux Kernel v4.9.282
v1.3
Code:
- mm: swap: swap pages one at a time
- mm: Default to 128KB readahead
- drm-msm-dsi: add backlight min option
- Kcal: drm: msm: kcal: make the userspace module param vars static and use short instead of integers
- Kcal: kcal: pie: fix used pcc setup for sde path
- Kcal: drm: msm: kcal: hue, saturation, value and contrast adjustments
- Kcal: drm: msm: kcal: export rgb to userspace and clean it up
- Kcal: kcal: sde_hw: color proc v4: add RGB bias
-zram: fix idle/writeback string compare
- Sound Control: techpack: sound_control: remove the speaker bits
- Sound Control: wcd934x: sound control: reset headphone digital gain to user val
- Sound Control: wcd934x: add sound control
-arm64/configs: zram: enable zram-writeback
-arm64/dts: sdm845-sde: Enable PM QoS for SDM845 rotator
-ARM: dts: sdm845: Disable LPM wakeup prediction for the big cluster
-ARM: dts: sdm845: Disable expedited RCU grace periods after init
-ARM: dts: sdm845: Disable unhandled or broken IRQ monitoring
-ARM: dts: sdm845: Suppress verbose output during boot
-ARM: dts: msm: Update PM-QoS values for sdm84
-ARM: dts: msm: alter disable load to 0 for DSI supplies on sdm845
-mm: Increment kswapd_waiters for throttled direct reclaimers
-buffer: eliminate the need to call free_more_memory() in __getblk_slo
-buffer: grow_dev_page() should use __GFP_NOFAIL for all case
-buffer: have alloc_page_buffers() use __GFP_NOFA
-mm: vmpressure: Fix rampant inaccuracies caused by stale data usa
-mm: vmpressure: Fix a race that would erroneously clear accumulated data
-mm: vmpressure: Ignore costly-order allocations for direct reclaim to
-mm: vmpressure: Don't export tunables to userspace
-VFS: use synchronize_rcu_expedited() in namespace_unlock()
-mm: Don't stop kswapd on a per-node basis when there are no waiters
-mm: vmpressure: Ignore allocation orders above PAGE_ALLOC_COSTLY_ORDER
-mm: Don't warn on page allocation failures for OOM-killed processes
-mm: vmpressure: Don't cache the window size
-mm: vmpressure: Interpret zero scanned pages as 100% pressure
-mm: vmpressure: Don't exclude any allocation types
-mm: Stop kswapd early when nothing's waiting for it to free pages
-simple_lmk: enhances and fixes
-UPSTREAM: lib/decompress_unlz4: change module to work with new LZ4 module version
-lz4: fix compress max output bound
-UPSTREAM: lib: update LZ4 compressor module
-zram: Use lz4 compression by default if present
-fastchg.c: Enable USB3 fast charge by default
1.2.1
Code:
- Upstreamed to Linux Kernel 4.9.281
v1.2
Code:
-ARM64: dts: qcom: sdm845: Remove AVB check
-arm64: lib: memory utilities optimization
-drivers: misc: implement usb fast charge mode
-proc: cmdline: Patch SafetyNet flags
-rmnet_data: Disable useless logging
-ipv4/tcp: Force applications to use TCP_NODELAY to improve network latency
-block: Add Anxiety I/O scheduler
-f2fs: Enlarge min_fsync_blocks to 20
-Introducing Touchboost driver(disable by default)
-msm_performance: Disable boosting when battery saver is on
-cmdline: replace instead of remove for SafetyNet CTS pass
v1.0
Code:
- Merge tag 'v4.9.280'of https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable
- Merge tag 'LA.UM.8.3.c25-03100-sdm845.0'of https://source.codeaurora.org/quic/la/kernel/msm-4.9
- boeffla_wl_blocker: update to wakelock blocker driver v1.1.0
- simple_lmk: Introduce Simple Low Memory Killer for Android
- mm: Adjust dirty ratio percentage
- mm: Disable readahead by default
- fs: Reduce cache pressure
- IO Scheduler: Enable all IO Sched and set CFQ as default
- block: add MAPLE I/O scheduler
- block: add zen scheduler
- Added fsync on/off support.
- zram: use lz4 compression by default
- core: disable crc check
- kernel/sched/features: Disabled Gentle Fair Sleepers
- setlocalversion: remove -dirty
- setlocalversion: removed -g{commitish}, the 12 hex chars of kernel string append
See all the commits
Changelogs
Android 12
v2.0.5-s
Code:
- Upstreamed to Linux Kernel v4.9.290
v2.0-s
Code:
- Upstreamed to Linux Kernel v4.9.288
- Merge CAF tag LA.UM.10.3.r1-00300-sdm845.0
reserved
Looks good
Miui compatible?
10/11 roms?
[-GuTi-] said:
Looks good
Miui compatible?
10/11 roms?
Click to expand...
Click to collapse
In both.
New Build (v1.3): https://www.mediafire.com/file/zr94kfajftvin4u/BAALAMKernel-1.3-dipper.zip/file
See changelogs in post #2
ZonaRMR said:
New Build (v1.3): https://www.mediafire.com/file/mrgktl3mugikb07/BAALAMKernel-1.3-dipper.zip/file
See changelogs in post #2
Click to expand...
Click to collapse
I can't download
ardiansyahdar said:
I can't download
Click to expand...
Click to collapse
Fixed
New Build 1.4 : https://www.mediafire.com/file/z56nnhexkp9wh9l/BAALAMKernel-1.4-dipper.zip/file
- Upstreamed to Linux Kernel v4.9.282
- Westwood, BBR TCP Congestion
- Drivedroid support
See changelogs in post #2
New Build 1.5 : https://www.mediafire.com/file/4ff2ij4u4w10ove/BAALAMKernel-v1.5-dipper.zip/file
- Upstreamed to Linux Kernel v4.9.287
- msm-4.9 patches from CodeAurora
- Added AdrenoBoost
See changelogs in post #2
Is this kernel compatible with miui ? What about dc dimming in miui and brightness bar values and net speed monitor ?
May I ask if this kernel also contains Pixel thermal hal for the Pixel Experience ROM?
GalalMoustafa said:
Is this kernel compatible with miui ? What about dc dimming in miui and brightness bar values and net speed monitor ?
Click to expand...
Click to collapse
LowTension said:
New Build 1.5 : https://www.mediafire.com/file/4ff2ij4u4w10ove/BAALAMKernel-v1.5-dipper.zip/file
- Upstreamed to Linux Kernel v4.9.287
- msm-4.9 patches from CodeAurora
- Added AdrenoBoost
See changelogs in post #2
Click to expand...
Click to collapse
Hello, can you reply my questions? or development stopped for this kernel ?
New builds
Android 10 & 11
- Upstreamed to Linux Kernel v4.9.290
v1.5.1: https://www.mediafire.com/file/dyqhjyhq2vgtbui/BAALAMKernel-v1.5.1-dipper.zip/file
v1.5.1(MIUI): https://www.mediafire.com/file/cpiseg0p0rknyfp/BAALAMKernel-v1.5.1-MIUI-dipper.zip/file
Android 12
- Upstreamed to Linux Kernel v4.9.290
- Merge CAF tag LA.UM.10.3.r1-00300-sdm845.0
v2.0.5-s: https://www.mediafire.com/file/hpkbn4rffkmt27p/BAALAMKernel-v2.0.5-s-dipper.zip/file
See all changelogs in post #2 and #3
GalalMoustafa said:
Hello, can you reply my questions? or development stopped for this kernel ?
Click to expand...
Click to collapse
The latest build is in the OP, MIUI is added
Will this kernel work with PE12 ? Anyone tried? Feedback please
Jaseemxx91 said:
Will this kernel work with PE12 ? Anyone tried? Feedback please
Click to expand...
Click to collapse
This kernel doesn't support PE since it doesn't have google thermal hal. And in pe12 theme it is clearly stated that pe12 doesn't support custom kernels.

Categories

Resources