[KERNEL]-[STOCK-AOSP]-[Treble/non-Treble]-[Gabriel]-[Stweak]-20180713 - Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other

Gabriel Kernel for Stock MIUI and AOSP Based Roms
Telegram Channel​
GLOBAL OPTIONS:
Kernel support both MIUI/AOSP
Kernel Supports both Clang & GCC Compilers
Kernel updated up to 3.18.115 build.
Kernel updated up to CAF-LA.UM.6.6.r1-09000-89xx.0
Kernel include advanced binder driver from main line 4.10.y kernel.
Kernel include advanced KSM driver (UKSM, operate with selectable cpu governor/usage).
Kernel has enabled crypto ARM64 CRC32 hw accelerated module and its friends.
Kernel operate in 300HZ
Kernel include Enhanced TCP methods
Kernel include latest F2FS driver for 3.18.y
Kernel include ZEN,NOOP,BFQ,DEADLINE,CFQ,FIOPS,FIFO,ROW,SIO,MAPLE I/O govs tuned for SSD.
Kernel includes Impulse, Cultivation, Lionfish, Interactive, Conservative, Ondemand, Performance CPU GOVS.
Kernel default CPU GOV is patched and tuned Interactive.
Kernel support FSYNC mode for FS. (Off at Screen-On & will be On at Screen-Off)
Kernel support thermal driver tuning.
Kernel includes updated EXFAT drivers.
Kernel includes support for Haptic Feedback (vibrate) tuning (more/less)
Kernel include boost to I/O by mounting partitions with optimized flags.
Kernel has enabled process-reclaim (moving apps to zram without killing them).
Kernel support lz4 compression for zram and max 8 core streams.
Kernel will add advanced busybox binary in /sbin/busybox
Kernel will set power-saving config at Screen-Off and back to normal at Screen-On
Kernel will stop logging drivers at Screen-Off and back to normal at Screen-On
Kernel include state-notifer to say system-state to io/governors to save power.
Kernel has disabled some debugging options to improve the system performance.
Kernel 9.0
*Upstream to 3.18.115
*Merge CAF tag LA.UM.6.6.r1-09000-89xx.0
*Merge Prima Wlan CAF tag LA.UM.6.6.r1-08600-89xx.0
*Merge latest Code update to f2fs
*merge massive update to power, irq, kernel scheduler from msm 4.2.y & 4.4.y
*Merge massive update to cpu driver from msm 4.4.y (cpu 8998/snapdragon 835)
*Merge update to cpuidle from msm 4.4.y
*Merge update to devfreq from msm 4.4.y
*Merge certificate handling from msm 4.4.y
*Merge update to printk from msm 4.4.y
*Merge DTS eagle sound
*Merge update to wireguard
*Merge official charger/battery driver
*Merge few kernel improvement from pixel 2 & sony experia devices
*Merge fix to offline charging led
*Removed VDSO32 (32bit Driver)
*Introducing gabriel/gabriel-plus governor with idle load treshold & timing (based on pixel 2 p-preview interactive Governor)
*Overclock little cluster up to 1.26 MHz
*Overclock gpu up to 575 MHz
*Introduce init process fixer
*Introduce charger current limiter
*Fixed battery stats
*Fixed clock flag no rate cache
*Patch key layout at flashing time
*Add sd card deferred resume (save power wile not using)
*Add target os detector to kernel flasher (anykernel2)
*Treble and non-treble builds combined into one kernel package (AOSP)
*Disable clock scaling for msm sdhci
*Kernel package signed
*Run fstrim at flashing time
*Show kernel version as banner at flashing time
*Add clang support
*Busybox update to latest code changes
*Few improvements in stweak options
*Fixed gpu governor & frequency set
*Fixed setting per governor profile
*Add gabriel memory config
*Reworked profiles
note:
*Compiled with Dragontc 7.0
Kernel 8.0
*Upstream to 3.18.105
*Merge CAF tag LA.UM.6.6.r1-07400-89xx.0
*Merge Prima Wlan CAF tag LA.UM.6.6.r1-07400-89xx.0
*Merge latest Code update to f2fs
*Stweak has control over Performance Daemon
*All Profiles will reset at 1st boot
*Build with 3 different toolchain in 2 different library support (bionic & glibc like past) & 3 different optimization support!
*Gnu gccs compiled by me with latest stable libs & bins
*The regular build like previous builds has no extra character to it's package name (built with hz300 & linaro 7.3 & ofast & graphite gcc flags)
*H3 : Hz300 & o2 & no grapgite flag
*H1 : Hz100 & o2 & no grapgite flag
*B : Bionic toolchain
*7.3 & 6.4 : Gnu gcc 7.3.0 & 6.4.0
*Hz 100 should keeps more battery backup
*You may get better battery backup with Hz100 & gcc 6.4.0
Kernel 7.0
*Kernel Codes Compiled with new Linaro GCC 7.3.1 2018.03(compiled by me)
*Merge Kernel tag CAF-LA.UM.6.6.r1-07200-89xx.0
*Kernel has Reduced "Screen ON" delay (affect on fp unlock)
*Implement Finger Print Boost (boost availalbe cores on fp unlock)
*Kernel has been Disabled Debug Kernel
*Merge Codes Update to Kernel Scheduler
*Merge CPU, CPU_STATS, CPU_IDLE from mainline 4.2.y & 4.4.y
*Merge Interactive & Conservative gov family, Ondemand from mainline 4.4.y
*Remove Lionfish gov
*Kernel Overclocked LITTLE Cluster to 1.34 MHz
*Merge Led driver from Xiaomi Official Source
*Kernel with Official Drivers not Supported for Now
*Stweak has Control over CPUSET
*Stweak has Control over Fingerprint Boost
*Stweak has a Module to Restore Kcal parameters at "Screen ON" state (fix MIUI kcal/panel bug)
Kernel 6.0
*Kernel Updated to 3.18.102
*Kernel Codes Compiled with new Linaro GCC 7.2.1 2018.01(compiled by me)
*Merge Kernel tag CAF-LA.UM.6.6.r1-06700-89xx.0
*Merge Prima WLAN tag CAF LA.UM.6.6.r1-06700-89xx.0
*Merge Codes to ARM64, RCU, Kernel Core & Scheduler Driver from main line 4.4.y
*Merge VDSO32 (32bit Driver) from main line 4.4.y (compiled with GCC Linaro ARM32 7.2.1)
*Busybox Updated to Latest Code Changes (compiled by me)
*Kernel has MIUI F2FS Support & Dtiver Updated to Latest Code Changes
*Kernel codes compiled with Ofast & Graphite Optimization Flags
*Kernel has USB HID gadget suport
*Merge CPU Governor Alucard, Darkness, Nightmare, Chill, Relaxed
*Merge update to SDCARDFS
*Kernel has CPU & GPU Underclock/Overclock
*Kernel Boot UP With Stock CPU Frequencies
*Kernel Flasher will Backup Current Boot (kernel image & ramdisk) and Modules for MIUI Rom in case of Restoring/Uninstalling the Kernel to Previous one
*Add Adreno-Idler support
*Add Stweak Support
*Stweak has 7 Predifined Profile
*Stweak has Control over big.LITTLE Clusters Control
*Stweak has Control over Awake & Suspend state for CPU, GPU, HMP,I/O Scheduler, UKSM, etc
*Stweak has Per Cluster & Governor Profiling
*Stweak has F2FS Searching Boost option
*Stweak has Advance Memory Control options
*Stweak has Auto Clear Ram Cache Switch (affect on multitasking/Performance)
*Stweak has Control over ZRAM & SWAP Disk
*Stweak has Control over WIFI, init.d, ADB, Sound, Battery, Dmesg state
*Stweak has Control over ROM's MIN/MAX backlight value
note:
*Kernel Uploaded into 2 Separate Build with Official & UNOfficial Drivers
*Official Build Has More CPU Overclock Steps
*Official Build Can't Mount OTG Drive at This Time
*To Convert EXT4 to F2FS Follow this Instruction
Kernel 5.0
*Kernel Updated to 3.18.93
*Kernel Codes Compiled with new GNU GCC 7.3.0 (compiled by me)
*Busybox Updated to Latest Code Changes (compiled by me)
*Implement Adreno Idler
*Add 100 & 160 MHz GPU Frequencies
*Adreno Idler & GPU Clock Tuned for Power Saving
*Implement Force Fast Charge (disabled by default)
*Merge Updates to CFQ IO-Scheduler
*Merge Update to BFQ IO-Scheduler (v8r12)
*Merge Updates to Interactive Governor
*Inject SQLITE3 Bin to Rom for DB-Optimization (needs command/script, attached to this post)
*Remove Code Changes to Touchscreen Driver (initial fix for dt2w issue)
*Kernel Boot Script run FSTRIM at Boot
*Fix & Tune Core Control (4 cores online 2 big+ 2 LITTLE)
Kernel 4.0
*Enable 19 MHz GPU Frequency
*Implement Kcal Colour Control (works with non-stock roms)
*Implement Backlight Dimmer
*Different LMK & Zram Config for 2/3/4 GiB Ram Variants
*Cortex Keeps 4 (2 big & 2 Little) Cores online at Sleep State
*Merge MDSS Codes to Avoid Underrun Risk while Changing Clock & Bandwidth
Kernel 3.0
*Merge Advance Zram & Zsmalloc driver from main line 4.6.y
*New Zram driver has 2 new Compression algorithm (lzo, lz4, [lz4hc, deflate])
*New Zram driver has Per-CPU Compression Streams
*New Zram driver use Crypto Compression API
*Merge Workqueue driver from main line 4.4.y
*Merge Random driver from main line 4.4.y
*Implement Sound Control
*Implement FRandom
*Merge update to IPA
*Fix Boot Script Failure with Magisk 15.3
*Tune Interactive Gov
*Merge update to Bitmap Lib
*Merge update to Kgsl, Devfreq, ARM64 & Kernel Scheduler
*Simplified Cortex Script for While Leaving the Sleep State
Kernel 2.0
*Upstream to 3.18.92
*Implement Boeffla wakeock-blocker v1.1.0
*Implement DT2W/S2W
*Cpuset disabled
*Merge update to Kernel Scheduler
*Merge update to RCU (how drivers talks to kernel)
*Disabled extended HMP drivers, use Generic HMP and related drivers
*Merge fixes for high load average and queuing works on power-efficient workqueue
*Merge fixes to led-flashlight
*Merge fixes to Battery/Charger
*Merge IPA fixes from caf-tag LA.UM.5.6.r1-05400-89xx.0 (internet packet accelerator)
*Merge fixes to Xiaomi Colour and Contrast
*Entropy Tweaks at Startup
*Separated to 2 Builds for MIUI and AOSP Based Roms
*Selinux is Permissive for Oreo and Enforcing for Nougat
Kernel 1.0
*All options in the global options list
*Selinux is in enforcing mode, so won't boot current oreo rom.
*Software CRC control is Off
*Doesn't support F2FS for Stock Rom at this time but AOSP.
*Doesn't support LCD Gestures, D2W,D2S,S2S
Instruction
if you came from a custom kernel, please restore your rom's stock kernel then flash.
as always, unlocked bootloader and flash in twrp
Flash at you own Risk !
There is a file named "build.log" in kernel zip file
that says which branch i used for build process.
Download Folder
AFH directory,beta & stable builds
Global Credits!
noyer for kernel source
rainforce279
dorimanx
asiier
sonicron
Cyanogen/LineAge/Code Aurora for many kernel mods
To all my sources in GITHUB!
XDA:DevDB Information
Gabriel Kernel, Kernel for the Xiaomi Redmi 4X
Contributors
mostafaz
Source Code: https://github.com/mostafa-z/Gabriel_msm8940_mi-redmi4x
Version Information
Status: Testing
Created 2018-01-17
Last Updated 2018-01-17

does this support double tap to wake.?

AmirulR said:
does this support double tap to wake.?
Click to expand...
Click to collapse
no, i'll mention

can i use this kernel for Nitrogen OS 8.1 ?

Bang Onik said:
can i use this kernel for Nitrogen OS 8.1 ?
Click to expand...
Click to collapse
I think oreo works with permissive selinux for now. No its enforcing

Wooow ? . . features are awsome but Nougat outdated dude can u plzz make it for Oreo there is no custom kernel supported oreo so plzz look intoit (is any way to change selinux to perm on ur kernel zip??)

Jazakallah brother.
Will it work on MIUI along with VoLTE...?
Because kernels work on MIUI but breaks VoLTE, is it fixed in your kernel?

Ramakrishnan ? said:
Wooow ? . . features are awsome but Nougat outdated dude can u plzz make it for Oreo there is no custom kernel supported oreo so plzz look intoit (is any way to change selinux to perm on ur kernel zip??)
Click to expand...
Click to collapse
After boot yes but it should be native. I mean i dont think so. If u flashed oreo and selinux is permussive so u can wait for next release please
Ali_Waris said:
Jazakallah brother.
Will it work on MIUI along with VoLTE...?
Because kernels work on MIUI but breaks VoLTE, is it fixed in your kernel?
Click to expand...
Click to collapse
Thanks
I don't have it. Cant prove

Does it support in oreo

[email protected] said:
Does it support in oreo
Click to expand...
Click to collapse
Sorry. Won't
Im new to xiaomi
Dont have oreo yet

mostafaz said:
Thanks
I don't have it. Cant prove
Click to expand...
Click to collapse
Which ROM are you currently using? Can you suggest a ROM that works fine with your kernel?

mostafaz said:
Sorry. Won't
Im new to xiaomi
Dont have oreo yet
Click to expand...
Click to collapse
OK.... But nice work dev.......

Ali_Waris said:
Which ROM are you currently using? Can you suggest a ROM that works fine with your kernel?
Click to expand...
Click to collapse
Im with stock 9.1.1.0 global
I just checked aosp boot and dmesg.

mostafaz said:
Im with stock 9.1.1.0 global
I just checked aosp boot and dmesg.
Click to expand...
Click to collapse
If you are on miui global with this kernel, can you please confirm whether VoLTE works on not? (If by any chance you can verify it with a JIO sim, please.)

Ali_Waris said:
If you are on miui global with this kernel, can you please confirm whether VoLTE works on not? (If by any chance you can verify it with a JIO sim, please.)
Click to expand...
Click to collapse
My provider newly have it but i dont have it
Wait some for others

Do I need to reflash my rom to make it work?

Jazakallah my friend
Will test later
Sent from my Redmi 4X using Tapatalk

Kecoe said:
Do I need to reflash my rom to make it work?
Click to expand...
Click to collapse
Stock or AOSP? Both nougat works. No need to do anything. Flash kernel & root method. Done
I'll share for oreo later

Please make a variant with permissive selinux for oreo, and overclocked GPU will be great feature.

I have flash it and my wifi is not working even i flash the wifi fix.. Btw good kernel :good:

Related

[Kernel] WR2 [3.4.107] [KK] Wiko Rainbow / Micromax C2C A120 [S5501]

Custom kernel for Wiko Rainbow / Micromax C2C A120
(All S5501 clones)
Now both base versions (Wiko/Micromax)
Please read entire post
Code:
[COLOR="Red"][SIZE="4"][B]I or xda is not responsible for any kind of damage to your device. Please read entire post and use it at your own risk![/B][/SIZE][/COLOR]
This project was initiated by @SiddheshK15. Thanks mate.
I just decided to make my own version of the kernel even more customized.
Click to expand...
Click to collapse
Instructions:
Download your base version Micromax or Wiko
Make sure you downloading correct version,
put kernel zip into sd and install zip from recovery
Enjoy the kernel !!
Click to expand...
Click to collapse
Important!!
This kernel (wiko version) is tested on wiko base only
This kernel (mmx version) is tested on mmx base only
If you want to include this in your custom rom take Wiko/Micromax stock rom was base rom and port the desired rom. Abviously with credits for me. including link to the thread.
Click to expand...
Click to collapse
Changelog:
Added by me
WR2-V1.1
Update to 3.4.107
Sitch to HOTPLUG as default governor
Re-Enable some lcm drivers (This can help black screen bug)
Toolchain: Update to Linaro GCC 4.9.3-2015.03
Ramdisk: Re-Enable some services
ExFAT: Disable, need be supported on ROMs
HID: Remove keyboard/mouse support
Revert: LUNs to default
Add bootloader lock/unlock feature
WR2-V1.02
Reverted: mmc:disable crc for better performance <- for data safety- Thanks to @superdragon
WR2-V1.01
Fixed row scheduler + set as default
WR2-V1.0
New kernel WR2 GPL started from 0
Update to 3.4.106
Now MMX A120 variant (Check download version) Thanks to @mr-illusionist for testing
Added same features as WR-Kernel V2.3
F2FS Ready ( Need testing )
update script to detect if model is RAINBOW
Disabled frandom
New interactive build script + fixed
Update Dynamic Fsync to v1.5 by @faux123
VFP optimization tweaks
Build flags by @superdragon
Kill more log spam
OLD VERSION
V2.3
Update script to add init.d to ROM
Update script to detect if model is RAINBOW (If you are ROM porter pls pm)
Zram with kitkat battery fix
Now only ZRAM version (To enable need init.d script)
CFS Responsiveness Tweeks
VM MAX/VM MIN Tweaks
Disable PERF Control
Dynamic Management Of Dirty Page Writebacks MTK fixes
Kill TRACEPOINTS,PROFILING,PERF_EVENTS,STACKTRACE CRAP
FRANDOM Update
FRANDOM Enable now
ExFAT Update
Enable ExFAT DISCARD
Remove cpu-stress
Remove MTK_ETM
Enable ASMP
Optimize ARM RWSEM algorithm
Update RWSEM to Linux 3.10
Add ZEN/VR IO Schedulers
Fix CGROUP_BFQIO
Added weak clz/ctz functions
ext4: Add support for FIDTRIM
Added support for kernel mode NEON
Crypto: create generic version of ablk_helper
Moved VFP init to an earlier boot stage
Added toolchain to github
Update script to make flashable zip
V2.2
Upstream Update to Kernel 3.4.106
Dynamic management of dirty page writebacks
HID-Gadget: Testing Fixes
Added proc/config.gz support
Fixed LZ4
add overall stats for all available cores
MALI: GPU Optimization flags + Tweaks
pegasusq: tune for MT6582 devices
Disable more logging
remove xlog_logger from build
Revert LUNs to default
Ramdisk: Now Insecured by default
Ramdisk: Now adb runnable as root
Ramdisk: Now debuggable
V2.1
Update to latest Linaro Toolchain(4.9.3) Cortex-A7 Optimized (neon-vfpv4)
Set ZRAM size -> 20%
Now 2 kernel version: ZRAM & No ZRAM (for better battery life)
Selinux: switch enforcing -> permissive
binder.c: avoid binder crash and remove MTK stuff (For CM testing)
Introducing ThunderQuake Engine: Set vibrator intensity. Thanks to varun.chitre15 for making the driver
Disable more logging
android-keyboard-gadget support
LUN: increase the number of emulated USB devices 1 -> 3
V2
Upstream Update to Kernel 3.4.105
More I/O Scheduler: FIOPS; BFQ; SIO
Set default I/O Scheduler -> SIO
enable multicore scheduler
Patch for CD-ROM USB Emulation
exFAT support
Reduce gpu utilization timeout + fixes
Remove arm tracer support
mm: set readahead 256 kb
Optimize apply_slack()
TCP Tweaks (Improves network ping and output)
enabled ARCH_POWER
NOATIME and NODIRATIME by default
Kill logspam+++
set zram size to 25%
Compiler optimizations
LOAD_FREQ (4*HZ+61) avoids loadavg Moire
Allow SCHED_HRTICK
remove unnecessary atomic operations
Revert: Optimized mtk wifi driver (Battery Drain)
V1
Compiled with latest Linaro Toolchain(4.9.2) Cortex-A7 Optimized (neon-vfpv4)
Added init.d support into source
add patches from NVIDIA to improve power efficiency
ext4: speed up truncate/unlink by not using bforget() unless needed
LZ4 compression from linux kernel 3.19 rc2
Use LZ4 by defult for less boot-up time
Use LZ4 in crypto instead of LZO
mm: page-writeback: increase dirty ratios
reduce vfs cache pressure for better battery life
lib/int_sqrt.c: optimize square root algorithm
cut alarm spam
Add frandom(/dev/frandom) -Fast kernel number generator
CC_OPTIMIZE_MORE enabled
Improve the performance of memcpy and memmove (by kasperhettinga)
block: Allow 0ms deadline latency, increase the read speed
lib/decompressors: fix no limit output buffer length
Fixed linaro alias to "arm-eabi-"
Click to expand...
Click to collapse
Added by:@SiddheshK15
Added Governors
Added I/O scheduler
Default swappiness set to 60->15
Optimized mtk wifi driver (Battery Drain)
Increased check battery interval from 10 to 15s
Disabled Gentle Fair Sleepers for better UI performance
adjust dirty writeback for IO boost
Optimization for more free ram
Enabled aggressive multicore power savings
Disable crc for better performance
Entropy tweaks
Optimized slub
Hard Float optimizations
Undervolting
Optimize XZ compresion
Enhanced HW Composer
Dyanamic fsync by faux123
Don't build ZRAM (Fixed)
Governors added :
SMARTASS2
INTERACTIVEX
PEGASUSQ <-- Default
ZZMOOVE
LULZACTIVEQ
SAKURACTIVE
NIGHTMARE
CONSERVATIVE
I/O scheduler
row
Click to expand...
Click to collapse
Credits:
@ariafan
@varun.chitre15
@faux123
@superdragon
@SiddheshK15
@suribi
Many changes extracted from their jobs.
Downloads:
WR2-Kernel-V1.1-WIKO
WR2-Kernel-V1.1-MMX
WR2-Kernel-V1.02-WIKO-MIUIv6
Please Review My Kernel Here
Bugs report Here
Feature Requests Here
Kernel Version: 3.4.107
ROM Firmware Required (WIKO): ALPS.KK1.MP1.V2.10 / Wiko Rainbow Vxx
ROM Firmware Required (MMX) : S5501BP_MP_MMX_IN_10 / MMX KK FOTA
XDA:DevDB Information
WR2-Kernel, Kernel for all devices (see above for details)
Contributors
moonrotation
Source Code: https://github.com/Al3XKOoL/WR2-Kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: V1.1
Stable Release Date: 2015-05-22
Current Beta Version: none
Created 2015-01-15
Last Updated 2015-06-02
Great. Keep up the great work and serve the community
Just tried your kernel. Its good.
However i would like to see the changelog. Update it soon buddy. And good work [emoji106]
Thanks guis!! Now im testing upstream merge to kernel 3.4.69
Soon more updates
Kernel 3.4.105 - Beta Stage
I added link with Beta kernel 3.4.105 and more I/O Scheduler:
FIOPS
BFQ
SIO
Enjoy!!
Hi,
antutu says ca. 20400 , befor 20200. The device has a quick response, great ...
Looking forward.. Thx
Gesendet von meinem RAINBOW mit Tapatalk 2
Hi,
Thank you for this impresive kernel!
Two requests:
1) Can you include exFAT support for SD cards?
2) Can include this patch for CD-ROM USB Emulation? http://forum.xda-developers.com/showthread.php?t=2196707
Please, continue supporting custom kernels for Wiko
manos78 said:
Hi,
Thank you for this impresive kernel!
Two requests:
1) Can you include exFAT support for SD cards?
2) Can include this patch for CD-ROM USB Emulation? http://forum.xda-developers.com/showthread.php?t=2196707
Please, continue supporting custom kernels for Wiko
Click to expand...
Click to collapse
Thanks !! :good:
Please try exFAT on this test version. Waiting for report :fingers-crossed:
Hi,
I'll try the exFAT support when I reformat my current SDCard. However I can confirm that this beta kernel with exFAT support works and "cat /proc/filesystems" returns exfat.
Now, another suggestion: The ZRAM support in the Mediatek kernels is hardcoded in size. If you review the file "/kernel/drivers/staging/zram/zram_sysfs.c" you can note the comment "/* Fix disksize */". In the initialization is used the constant "default_disksize_perc_ram" that is fixed to 50% of RAM in the file "zram_drv.h". I suggest to change the default value to 25 (orignal value from Google developers). I can't understand why Mediatek has hardcoded this value. This creates the ZRAM totally useless!
Please, can you change this value and recompile the kernel?
Thank you!
manos78 said:
Hi,
I'll try the exFAT support when I reformat my current SDCard. However I can confirm that this beta kernel with exFAT support works and "cat /proc/filesystems" returns exfat.
Now, another suggestion: The ZRAM support in the Mediatek kernels is hardcoded in size. If you review the file "/kernel/drivers/staging/zram/zram_sysfs.c" you can note the comment "/* Fix disksize */". In the initialization is used the constant "default_disksize_perc_ram" that is fixed to 50% of RAM in the file "zram_drv.h". I suggest to change the default value to 25 (orignal value from Google developers). I can't understand why Mediatek has hardcoded this value. This creates the ZRAM totally useless!
Please, can you change this value and recompile the kernel?
Thank you!
Click to expand...
Click to collapse
Thanks for test!
Google maintains the same config. You can see here:
kernel/mediatek/+/android-4.4.4_r4/drivers/staging/zram/zram_drv.h
Also Siddhesh.K15 disable zram (battery drain). But I can make a test version.
Hi,
This repository has the MEDIATEK sources, from Mediatek, not Google or Wiko. So it's this company who has included this hardcoded size of ZRAM. My problem is that with 50% of 1GB RAM the ZRAM size is 512MB compressed (with 3:1 it's around 200MB of RAM). This is a lot of memory. I suggest to change this value to 25% of physical RAM, not 50% as now. It's only one line of code! If the user don't use ZRAM (disabled by default), nothing changes, but when s/he enables ZRAM, the new size will be more interesting. I feel Mediatek fixed the value thinking on devices with 512MB of RAM, not 1GB. Also, I'm sure that all devices with Android 4.4 and Mediatek CPUs have this "bug"!
I hope, someone in the future eliminates this restriction.
Regards!
manos78 said:
Hi,
This repository has the MEDIATEK sources, from Mediatek, not Google or Wiko. So it's this company who has included this hardcoded size of ZRAM. My problem is that with 50% of 1GB RAM the ZRAM size is 512MB compressed (with 3:1 it's around 200MB of RAM). This is a lot of memory. I suggest to change this value to 25% of physical RAM, not 50% as now. It's only one line of code! If the user don't use ZRAM (disabled by default), nothing changes, but when s/he enables ZRAM, the new size will be more interesting. I feel Mediatek fixed the value thinking on devices with 512MB of RAM, not 1GB. Also, I'm sure that all devices with Android 4.4 and Mediatek CPUs have this "bug"!
I hope, someone in the future eliminates this restriction.
Regards!
Click to expand...
Click to collapse
Changes have been established. Soon I send a version with zram enabled for you. Thank You.:good:
Wr-v2 final
V2 FINAL download link added​
moonrotation said:
V2 FINAL download link added​
Click to expand...
Click to collapse
going to test it soon :good: :fingers-crossed:
Hi,
Testing version WR-V2. First feeling: awesome! Very good! Thank you!
ZRAM at 25% it's great!
For DriveDroid patch: I can't select "Function Swtich in Android kernel". Are you sure that this version includes the patch and has cdrom support?
Thank you man!
manos78 said:
Hi,
Testing version WR-V2. First feeling: awesome! Very good! Thank you!
ZRAM at 25% it's great!
For DriveDroid patch: I can't select "Function Swtich in Android kernel". Are you sure that this version includes the patch and has cdrom support?
Thank you man!
Click to expand...
Click to collapse
Patch here:
https://github.com/Al3XKOoL/tinno82_S5501/commit/08765643d7ccab50e6d9f532bada4b7d7b372e9a
I test it soon.
moonrotation said:
Patch here:
https://github.com/Al3XKOoL/tinno82_S5501/commit/08765643d7ccab50e6d9f532bada4b7d7b372e9a
I test it soon.
Click to expand...
Click to collapse
YES, it's works! When I select an ISO or IMG in DriveDroid, now it's possible to select USB ro, USB rw and CDROM.
I continue testing ZRAM with different values.
Thank you!
manos78 said:
YES, it's works! When I select an ISO or IMG in DriveDroid, now it's possible to select USB ro, USB rw and CDROM.
I continue testing ZRAM with different values.
Thank you!
Click to expand...
Click to collapse
The kernel does not support zram now. Soon I will send a compiled version with zram support.
And if you are so kind you can test the battery consumption.
Thanks for testing.
manos78 said:
I continue testing ZRAM with different values....
Click to expand...
Click to collapse
Here zram version.
Hello everyone ... first of all I want to thank the author ... its fantastic ...
how can I disable the power saving multicore ??

[KERNEL] [UNIFIED] [CUSTOM 8.1-9.0] [3.18.136] Flash Kernel - R57 - 27 Mar

{
"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"
}
Kernel features:
Upstreamed Linux Kernel version, from v3.18.31 -> v3.18.137
Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-10600-8x96.0
Build -O2 and with Custom Toolchain GCC Linaro 7.3.1 2018.05~dev (Kryo target)
Removed unused Functions & logging options (Speed bootup and also Shrink attack surface)
Enable Kernel hardening features to help mitigate kernel vulnerabilities
General Security Upstream CVEs and CAF and Linux fixes
No OverClock, Set 300HZ ARM base timer frequency
Specific boosting in Performance critical scenarios
Optimized Task Scheduling
Idle Power consumption reduced
Enable & Tweaks Power Efficient Workqueues
Enable & Tweaks CPUset (Improves battery life and Performance)
LMK Enabled by default, Background apps limit up to 60 (from stock 32)
Improved Memory Management (this kernel does not suffer memory leaks)
Improved Touchscreen processing latency
Improverd Fingerprint Scanner processing latency
Improved audio jack detection
Improved app launch performance
Upstream: ARM64, RCU, Crypto, Android Binder, SDCardFS, F2FS, EXT4, CFQ
CPU governors: interactive, conservative, ondemand, performance, powersave (interactive by default)
I/O Schedulers control: CFQ, BFQ, Maple, Noop (CFQ by default)
Enhanced TCP methods: westwood, reno, cubic, dctcp (westwood by default)
Advanced Color Control (KCAL)
Backlight dimmer & High brightness mode
Notification LED & Vibration Control
FSync toggle on/off (on by default)
WireGuard VPN tunnel support
Wakelocks Block Control
SELinux Enforcing
Passes SafetyNet bootloader unlock check
Many other misc. Improvements & Optimizations
Status:
8.1 Oreo Custom Unified : Updated..
8.0 Oreo OxygenOS Unified : Updates are pending (until the Release of OxygenOS Pie)
7.1.x Nougat OxygenOS : No Updates anymore.
Download:
8.1 Oreo Custom Unified : AndroidFileHost
8.0 Oreo OxygenOS Unified : AndroidFileHost
7.1.x Nougat OxygenOS : AndroidFileHost
Installation:
Flash the Kernel zip in TWRP Recovery.
Note: if you come from other Kernel, you should dirty flash your ROM before flashing "FlashKernel.zip"
Donate Me
XDA:DevDB Information
Flash Kernel for OnePlus3, Kernel for the OnePlus 3
Contributors
ahmedradaideh
Source Code: https://github.com/ahmedradaideh/OnePlus3T
Kernel Special Features: Improves Battery Life and Performance
Version Information
Status: Stable
Current Stable Version: R57
Stable Release Date: 2019-03-27
Current Beta Version: R1 - R2
Created 2017-03-17
Last Updated 2019-03-27
Changelog:
Custom R57: 27 Mar (Oreo/Pie) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.133 -> v3.18.136
General Fixes and improvements Codes
Merge F2FS GC improvements
Upstream: Android Binder, F2FS,
CleanUp and More, See My Github
OLD Changelog:
Custom R56: 26 Jan (Oreo/Pie) Unified for OnePlus3/3T
Now Support Android Pie 9 (Tested on LineageOS 16.0)
Upstreamed Linux Kernel version, from v3.18.124 -> v3.18.133
Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-10600-8x96.0
General Fixes and improvements Codes
Merge F2FS GC improvements
Upstream: Android Binder, SDCardFS, F2FS, EXT4
arm: dts: 15801: Apply system early mount
arm: dts: 15801: Remove OnePlus RF Cable
arm: dts: 15801: Cleanup Panels Configuration
arm: dts: 15801: Cleanup Spaces & Duplicates
op3: Disable IPC Router MHI transport
input: synaptics: Cleanup redremote
power: Remove fingerprintd thaw hack
power: qpnp-smbcharger: Clean up PM routines and move them into worker
power: bq27541: Expose full charge capacity and cycle count to userspace
drivers: usb: Re-Apply Missing commits from Linux & android-3.18
CleanUp and More, See My Github
Custom R55: 2 Nov (Oreo/Pie) Unified for OnePlus3/3T
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-01100-89xx.0
General Fixes and improvements Codes
Merge F2FS GC improvements
Merge branch 'Improved-logs'
ANDROID: Remove STRICT_MEMORY_RWX
arm64: alternative: Checkout to android-3.18
arm64: kconfig: Remove duplicate & Cleanup Spaces
Fix merge issue with arch/arm64/kvm/guest.c
pinctrl: qcom: Add irq_enable callback for msm gpio
New WireGuard snapshot 0.0.20181018
CleanUp and More, See My Github
Custom R54: 14 Oct (Oreo/Pie) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.122 -> v3.18.124
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09900-89xx.0
General Fixes and improvements Codes
Merge CAF's improvements
Merge F2FS improvements
Merge SDCardFS improvements
Switch to Upstream BUG_ON_DATA_CORRUPTION
New WireGuard snapshot 0.0.20181007
CleanUp and More, See My Github
Custom R53: 21 Sep (Oreo/Pie) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.120 -> v3.18.122
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09700-89xx.0
Merge F2FS improvements
Merge sched improvements
Merge vdso-32-bit improvements
Merge l2tp improvements
Merge cpu-boost improvements (Boost all CPUs to the max when userspace launches an app)
Revert "cpufreq: introduce cpufreq_driver_is_slow"
msm: mdss: xlog: Disable panic on error by default
ALSA: rawmidi: Undo my 3.18.117 resolution
UPSTREAM: mm/page-writeback: fix dirty_ratelimit calculation
Upstream AnyKernel2 Script
CleanUp and More, See My Github
Custom R52: 31 Aug (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.118 -> v3.18.120
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09600-89xx.0
Merge F2FS improvements
Merge Crypto improvements
General Fixes and improvements Codes
BACKPORT: block: use ktime_get_ns() instead of sched_clock() for cfq and bfq
Anykernel: Support Android Pie 9.0
CleanUp and More, See My Github
Custom R51: 10 Aug (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.117 -> v3.18.118
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09500-89xx.0
Merge Latest f2fs-stable/linux-3.18.y
Merge a couple interesting patches from Marlin/Pie
General Fixes and improvements Codes
kernel: Fix massive cpufreq stats memory leaks
scsi: ufs: call single_release to avoid memory leak
Driver core: wakeup the parent device before trying probe
CleanUp and More, See My Github
Custom R50: 28 Jul (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.116 -> v3.18.117
Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-09300-8x96.0
General Fixes and improvements Codes
Upstream AnyKernel2 Script
CleanUp and More, See My Github
Custom R49: 22 Jul (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.115 -> v3.18.116
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09200-89xx.0
General Fixes and improvements Codes
New WireGuard snapshot 0.0.20180718
[media] uvcvideo: Disable hardware timestamps by default
Upstream AnyKernel2 Script
CleanUp and More, See My Github
Custom R48: 11 Jul (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.113 -> v3.18.115
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09000-89xx.0
General Fixes and improvements Codes
power: Fix Fingerprintd HAL in Oreo
Defconfig: Enable CRYPTO_GCM
New WireGuard snapshot 0.0.20180708
PM / suspend: make sync() on suspend-to-RAM build-time optional (more save power in idle)
Cgroup: Remove Dead codes, Due to the bad merge from the CAF
CleanUp and More, See My Github
Custom R47: 23 Jun (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.110 -> v3.18.113
Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-08900-8x96.0
General Fixes and improvements Codes
Improved touchscreen processing latency (by SultanXDA)
Improved bq27541 Power Driver (by SultanXDA)
i2c-msm-v2: Ensure system is always active for i2c transfers
cpu-boost: Implement Two-Step input boost & Rewrite frequency tunable
oneplus: pn544: Don't hold wakeup source
Upstream: F2FS, SDCardFS, Crypto
Re-Enable ARM64_SW_TTBR0_PAN For Kernel Hardening.
CleanUp and More, See My Github
Custom R46: 25 May (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.110
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-08500-89xx.0
General Fixes and improvements
Specific boosting in Performance critical scenarios
Upstream: ARM64, CPUidle, EXT4, F2FS, SDCardFS
CleanUp and More, See My Github
Custom R45: 29 Apr (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.107
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-08300-89xx.0
Improved scheduling
Back to 100HZ
ion: avoid allocate high order of pages in system heap pools
Replace CPU_BOOST to CPU_INPUT_BOOST (makes the phone feel smooth without destroying battery life)
usb: host: plat: Enable xHCI plat runtime PM
Upstream: ARM64, CPUidle, F2FS, SDCardFS, Sched
Fix Camera, tri_state_key & more
CleanUp and More, See My Github
Custom R44: 16 Apr (Oreo) Unified for OnePlus3/3T
Build with Custom Toolchain GCC Linaro 7.3 2018.04-rc4~dev (Kryo target)
Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.105
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-07400-89xx.0
Merged a couple interesting patches [Spectre v4.4] from Linaro LSK
Fix corrupted images generated by the OnePlus 3/3t camera app/HAL
Tested on LineageOS & RR ROM
CleanUp and More, See My Github
Custom R43: 10 Apr (Oreo) Unified for OnePlus3/3T
Build with Custom Toolchain GCC Linaro 7.3 2018.04-rc2~dev (Kryo target)
Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.104
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-07200-89xx.0
misc: Synchronize codes for OxygenOS OpenBeta 32/23
Merged a couple interesting patches from Pixel 1 P branch
Merged a couple interesting patches [Spectre v4.4] from Linaro LSK
input: tri-state-key: Rewrite and optimize
kernel: Restrict unbound kthreads to little CPU cluster
BACKPORT: USB: core: harden cdc_parse_cdc_header
Specific boosting in Performance critical scenarios
Optimized Task Scheduling
Idle Power consumption reduced
Upstream AnyKernel2 Script
Tested on LineageOS & RR ROM
CleanUp and More, See My Github
Custom R42: 11 Mar (Oreo) Unified for OnePlus3/3T
initial release, Based on LineageOS source
Build with Custom Gnu GCC Toolchain 7.3.0
Upstreamed Linux Kernel version, from v3.18.93 --> v3.18.99
Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-06600-8x96.0
RCU Subsystem Upstream from msm.4.4
CleanUp and More, See My Github
OxygenOS R42: 11 Mar (Oreo) Unified for OnePlus3/3T
Build with Custom Gnu GCC Toolchain 7.3.0
Upstreamed Linux Kernel version, from v3.18.93 --> v3.18.99
ANDROID: sdcardfs: Set num in extension_details during make_item
ANDROID: keychord: Check for write data size
clk: msm: clock-gcc-8996: Add 50 us delay after BLSP1 AHB clock enable
flash_defconfig: add CONFIG_PCI_QUIRKS back
Upstream AnyKernel2 Script
Big Update R41: 17 Feb (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.93 --> v3.18.95
Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-06300-8x96.0
sched/rt: Use container_of() to get root domain in rto_push_irq_work_func()
sched/rt: Up the root domain ref count when passing it around via IPIs
mm,writeback: don't use memory reserves for wb_start_writeback
arm64: Use optimized memcmp
drivers, kernel: Revert OnePlus changes
cpuidle: Add commit left out during CAF merge
cpufreq: stats: Remove unreachable OnePlus code
ANDROID: cpufreq: stats: add uid removal for uid_time_in_state
BACKPORT: xfrm: Fix return value check of copy_sec_ctx
F2FS File System Upstream v4.16-rc1-3.18 + Android Binder Upstream
ASoC: wcd-mbhc: Improve detection speed and accuracy
Revert OPChain Module by OnePlus + Touchboost + haptic feedback control (Causing problems)
Add systemless wlan.ko injection (!dirty flash your ROM (OxygenOS) before flashing!)
CleanUp and More, See My Github
Big Update R40: 31 Jan (Oreo) Unified for OnePlus3/3T
Build with Custom GCC Linaro Toolchain 7.2.1-2018.1 Snapshot
Upstreamed Linux Kernel version, from v3.18.90 --> v3.18.93
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-05700-89xx.0
Merged a couple interesting patches from Pixel 1+2 Oreo branch
Merged a couple interesting patches from CopperheadOS.
Synchronize codes for OxygenOS OpenBeta 30/21
treewide: Add commits left out during CAF
Applied CPU security patch: CVE-2017-13218
blkdev: Refactoring block io latency histogram codes
ANDROID: ext4: don't put symlink in pagecache into highmem
msm-core: disable userspace access to poll_ms
oneplus3t: remove 'reboot edl' interface for security.
Upstream SDCardFS + ARM64
CleanUp and More, See My Github
Big Update R39: 12 Jan (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.90 --> v3.18.91
Merged a couple interesting patches from Pixel 1+2 Oreo branch
Marge Latest WIFI Driver LA.UM.6.5.r1-05300-8x96.0
Synchronize codes for OxygenOS 5.0.1
ANDROID dm-verity: fix root device init timing issue.
UPSTREAM: arm64/vdso: Fix nsec handling for CLOCK_MONOTONIC_RAW
UPSTREAM: arm64: module: avoid undefined shift behavior in reloc_data()
Upstream F2FS + Fscrypt + EXT4 + SDCardFS + ARM64
F2FS: Fix GC
Input: synaptics: restrict sysfs node write permissions
Defconfig: Remove unused configs for Bluetooth
CleanUp and More, See My Github
R38: 1 Jan (Oreo) Unified for OnePlus3/3T
Synchronize codes for OxygenOS OpenBeta 29/20
Merged a couple interesting patches from CopperheadOS.
UPSTREAM KCOV + mm/slab
BACKPORT: arm64: apply __ro_after_init to some objects
BACKPORT: arm64, vdso: Define vdso_{start,end} as array
Defconfig: Enable ARM64_SW_TTBR0_PAN for Kernel Hardening.
Revert "Defconfig: Change RCU RT Prio to 1"
CleanUp and More, See My Github
Big Update R37: 25 Dec (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.86 --> v3.18.90
Merged a couple interesting patches from Pixel 1+2 Oreo branch
Add Maple I/O Scheduler (and Remove ZEN)
Add state notifier driver
Upstream LZ4 compressor
v4l2: Refactor, fix security bug in compat ioctl32
UPSTREAM: sched/rt: Do not pull from current CPU if only one CPU to pull
ANDROID: scsi: Add segment checking in sg_read
ANDROID: vfs/ext4: finish umount(2) in time and avoid errors=panic by filesystem
input: misc: fpc1020: add haptic feedback control similar to gestures
Make msm_serial_hs RT to improve bluetooth performance
CleanUp and More, See My Github
R35: 30 Nov (Oreo) Unified for OnePlus3/3T
Build with Custom GCC Linaro Toolchain 7.2.1-2017.11~Dev (improvements)
Upstreamed Linux Kernel version, from v3.18.84 --> v3.18.85 (fixing & security)
Marge Latest WIFI Driver LA.UM.6.6.r1-04300-89xx.0
Upstream kernel locking driver from msm-4.4 (Thanks MSF-Jarvis)
ARM64 / Time / Android Binder Upstream
RCU: Restrict nocb kthreads to power cluster
Defconfig: Restrict kswapd to power cluster
Upstream AnyKernel2 Script
CleanUp and More, See My Github
R34: 25 Nov (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.81 --> v3.18.84 (fixing & security)
Marge Latest CAF branch LA.UM.6.6.r1-04300-89xx.0 (fixing & security)
Synchronize codes for OxygenOS 5.0.0
Crypto / F2FS / Android Binder Upstream
UPSTREAM: dm bufio: switch from a huge hash table to an rbtree
UPSTREAM: arm64: dump: Fix implicit inclusion of definition for PCI_IOBASE
cpufreq: Restore policy min/max limits on CPU online
lib: Disable DEBUG_BUGVERBOSE
CleanUp and More, See My Github
R32: 4 Nov (Oreo) Unified for OnePlus3/3T
Now Kernel Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.66 --> v3.18.79 (fixing & security)
Marge Latest WiFi Driver & CAF branch LA.UM.6.5.r1-04000-8x96.0 (fixing & security)
Defconfig: remove unused kernel functions & Enable few security requirements
Android Binder / SDCardFs/ EXT4 Upstream
UPSTREAM: arm64: compat: Remove leftover variable declaration
UPSTREAM: fscrypt: fix dereference of NULL user_key_payload
ANDROID: net: xfrm: fix long lines.
msm-tsens: Reschedule work instead of causing uninterruptible sleep
irda: Fix lockdep annotations in hashbin_delete().
AnyKernel2 Script Upstream
CleanUp and More, See My Github
Reserved #1
Nice mate.. another kernel to use!
Reserved #2
thx bro.
Good to see more kernels! Welcome to op3 family!
Is this based on Nathan Chancellor aka @The Flash kernel for Nexus 6p?
Sent from my ONEPLUS A3000 using Tapatalk
jmtjr278 said:
Is this based on Nathan Chancellor aka @theflash kernel for Nexus 6p?
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
No
Just the same name?
Sent from my ONEPLUS A3000 using Tapatalk
jmtjr278 said:
Just the same name?
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
Yes, two completely independent Flash Kernels
The Flash said:
Yes, two completely independent Flash Kernels
Click to expand...
Click to collapse
Please delete
Sent from my ONEPLUS A3000 using Tapatalk
Are you going to implement f2fs support? Or does it already have it?
Sent from my ONEPLUS A3000 using Tapatalk
The thread title as OnePlus 3 but the source name is OnePlus 3T so which one is it? Or is it unified?
EDIT: I guess its for the OnePlus 3 as the zip file name says so
Can I flash this over other custom kernels?
Just tried it for a day and I could say it smooth as my bae's butt cheeks!!! The battery life so far so good... Just reminding that the screenshots I gave is only the first cycle
DragonSlayer240 said:
Just tried it for a day and I could say it smooth as my bae's butt cheeks!!! The battery life so far so good... Just reminding that the screenshots I gave is only the first cycle
Click to expand...
Click to collapse
You think 3:30 (maybe 4 in full charge) is good?
Sent from my ONEPLUS A3003 using Tapatalk
NickosD said:
You think 3:30 (maybe 4 in full charge) is good?
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
It depends... Everyone have different usage so for me this is good but not really that good... But to get this SoT for the first cycle is already good enough
New Update: r4 / 22Mar
Changelog:
*Slightly faster sampling during screen off to offset cases like Android Auto and Viper4Android hi-resolution audio decoding where 60ms was a bit too aggressive. from franciscofranco.
*drivers: wakeup: more thoroughly deactivation of wakelocks. from franciscofranco.
*Merged a patchs from sultanxda to fix memory leaks.
*power: oneplus_fastcg: Silence log spam
*net: ping: check minimum size on ICMP header length
*Add haptic feedback control
*flash_defconfig: Update & Cleanup
*ramdisk: Update & Cleanup
madsponge26 said:
Nice mate.. another kernel to use!
Click to expand...
Click to collapse
bassgenerator said:
thx bro.
Click to expand...
Click to collapse
Konskl said:
Good to see more kernels! Welcome to op3 family!
Click to expand...
Click to collapse
you are welcome guys
jmtjr278 said:
Is this based on Nathan Chancellor aka @The Flash kernel for Nexus 6p?
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
No.
tikizondo94 said:
Are you going to implement f2fs support? Or does it already have it?
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
Support for data partition (Like Stock).
DragonSlayer240 said:
The thread title as OnePlus 3 but the source name is OnePlus 3T so which one is it? Or is it unified?
EDIT: I guess its for the OnePlus 3 as the zip file name says so
Click to expand...
Click to collapse
Not Unified, All of them in his own forum.
Edoardo Avola said:
Can I flash this over other custom kernels?
Click to expand...
Click to collapse
*dirty flash your ROM (OxygenOS)
*flashing "FlashKernel.zip" and SuperSu or magisk If you need.

J700P/j7ltespr [KERNEL]-[Touchwiz]-[6-10-17] Ani-kernel V0.4

This kernel will not be overloaded with tons of I/O and CPU schedulers and useless features. I will test and merge what works best and probably provide 1-2 different options on hotplugs.
Disclaimer: DO NOT FLASH THIS ON ANYTHING BUT J700P latest stock firmware.
It may not brick your device if you do because it uses the ramdisk on the device but it will definitely boot loop at the least.
Update 6-10-17
Version 0.4
Complete rebase. Now using Minz1's base with TONS of fixes from CAF and we are working on merging LTS point releases.
This is the result of I and Minz's work.
This release I was mostly working for stability and optimization again. I haven't merged in any I/O or CPU schedulers yet.
I don't have time to list the features so check git if your curious.
I updated the link to the new repo.
Download:
https://drive.google.com/file/d/0B22ZNBermHGrZjlnUmNFRl9JeW8/view?usp=drivesdk
Update 6-9-17
Version 0.3
Compiled with UberTC GCC 5.3
Stability fixes
Added intellli-thermal
Anyone have any feedback or suggestions/questions please feel free to comment.
Version 0.2
- SAMSUNG_RESTRICT_ROOTING disabled (I forgot to disable this on the first build). Root works fine now. SuperSU root would work anyway but works better now with no issues at all
- More low level optimizations. Check git for details. Faster, power efficient, etc.
- Compiled with UberTC 4.9 instead of the included arm-eabi 4.8 toolchain. Will be switching to a GCC 5.x or GCC 6.x UberTC or Linaro toolchain next build, or two.
- Dynamic Fsync.
- Powersuspend driver​.
- CPU frequencies can be changed and set permanently in kernel Adiutor.
- Kcal screen/color control.
- BFQ I/O scheduler.
- Random fixes here and there.
Check source for all changes.
Version 0.1
Default hotplug is mpdecision in-kernel replacement by fluxi
Download:
https://drive.google.com/file/d/0B22ZNBermHGrWEZoOHpLMTVGNEU/view?usp=drivesdk
Source:
https://github.com/animania260/android_kernel_samsung_msm8929/tree/staging
Big shout-out to Minz1. He helped me get the WiFi working (again) so otherwise this may not have even been possible. It was really kicking my ass.
Virgin mobile galaxy J727P
animania260 said:
This kernel will not be overloaded with tons of I/O and CPU schedulers and useless features. I will test and merge what works best and probably provide 1-2 different options on hotplugs.
Disclaimer: DO NOT FLASH THIS ON ANYTHING BUT J700P latest stock firmware.
It may not brick your device if you do because it uses the ramdisk on the device but it will definitely boot loop at the least.
Update 6-10-17
Version 0.4
Complete rebase. Now using Minz1's base with TONS of fixes from CAF and we are working on merging LTS point releases.
This is the result of I and Minz's work.
This release I was mostly working for stability and optimization again. I haven't merged in any I/O or CPU schedulers yet.
I don't have time to list the features so check git if your curious.
I updated the link to the new repo.
Download:
https://drive.google.com/file/d/0B22ZNBermHGrZjlnUmNFRl9JeW8/view?usp=drivesdk
Update 6-9-17
Version 0.3
Compiled with UberTC GCC 5.3
Stability fixes
Added intellli-thermal
Anyone have any feedback or suggestions/questions please feel free to comment.
Version 0.2
- SAMSUNG_RESTRICT_ROOTING disabled (I forgot to disable this on the first build). Root works fine now. SuperSU root would work anyway but works better now with no issues at all
- More low level optimizations. Check git for details. Faster, power efficient, etc.
- Compiled with UberTC 4.9 instead of the included arm-eabi 4.8 toolchain. Will be switching to a GCC 5.x or GCC 6.x UberTC or Linaro toolchain next build, or two.
- Dynamic Fsync.
- Powersuspend driver​.
- CPU frequencies can be changed and set permanently in kernel Adiutor.
- Kcal screen/color control.
- BFQ I/O scheduler.
- Random fixes here and there.
Check source for all changes.
Version 0.1
Default hotplug is mpdecision in-kernel replacement by fluxi
Download:
https://drive.google.com/file/d/0B22ZNBermHGrWEZoOHpLMTVGNEU/view?usp=drivesdk
Source:
https://github.com/animania260/android_kernel_samsung_msm8929/tree/staging
Big shout-out to Minz1. He helped me get the WiFi working (again) so otherwise this may not have even been possible. It was really kicking my ass.
Click to expand...
Click to collapse
Yes I tryd out vo.2 kernel on my old J700P work great gets a 10,000 in Quadrant standard with out any build prop tweaks nice job I'll try the v0.4 later and get back to you !

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

[Mi5S Plus][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 Mi5S Plus
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
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
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 5s Plus
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-12-22
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: 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 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.2".
Q: Why did your kernel go straight to "RC1.2"?
A: Because it is based on the FloppyKernel for MI5, which is already in RC1.2.
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.
wifi no work
kuto232 said:
wifi no work
Click to expand...
Click to collapse
I need log and some info
1 - what rom you are using?
2 - what kernel version?
kuto232 said:
wifi no work
Click to expand...
Click to collapse
about viperOS wifi does not work with any kernel:crying::crying:
---------- Post added at 12:44 AM ---------- Previous post was at 12:42 AM ----------
Jonas Cardoso said:
I need log and some info
1 - what rom you are using?
2 - what kernel version?
Click to expand...
Click to collapse
viperOS
I also do not know which is the ideal one or if it is only for miui
kuto232 said:
about viperOS wifi does not work with any kernel:crying::crying:
---------- Post added at 12:44 AM ---------- Previous post was at 12:42 AM ----------
viperOS
I also do not know which is the ideal one or if it is only for miui
Click to expand...
Click to collapse
Which version did you install? HMP or Miui? Linaro, Ubertc, Sabermod or Google?
Jonas Cardoso said:
Which version did you install? HMP or Miui? Linaro, Ubertc, Sabermod or Google?
Click to expand...
Click to collapse
all ... it is necessary twrp 3.2.0 I have the 3.0.2
kuto232 said:
all ... it is necessary twrp 3.2.0 I have the 3.0.2
Click to expand...
Click to collapse
You installed miui version first? In zip have modules for wifi which are for roms miui
Jonas Cardoso said:
You installed miui version first? In zip have modules for wifi which are for roms miui
Click to expand...
Click to collapse
no, I do not come from miui it took a long time without using that rom
kuto232 said:
no, I do not come from miui it took a long time without using that rom
Click to expand...
Click to collapse
Can you test if in lineage 14.1 works wifi?
Jonas Cardoso said:
Can you test if in lineage 14.1 works wifi?
Click to expand...
Click to collapse
ok then I commented, any kernel should serve?
kuto232 said:
ok then I commented, any kernel should serve?
Click to expand...
Click to collapse
Use Linaro-HMP
Jonas Cardoso said:
Use Linaro-HMP
Click to expand...
Click to collapse
no work,it does not work, it searches but it does not find in lineage 14.1
I am on lineage which one should i flash?
walkwitmeinhel said:
I am on lineage which one should i flash?
Click to expand...
Click to collapse
UBERTC - Linaro - Google -SaberMod --HMP
Jonas Cardoso said:
UBERTC - Linaro - Google -SaberMod --HMP
Click to expand...
Click to collapse
I am confused bro in that option which one
walkwitmeinhel said:
I am confused bro in that option which one
Click to expand...
Click to collapse
Linaro-HMP
I flashed your kernel linaro and working like charm everything working for me using lineagee 14.1 ..Thanks you dev for development of this device kernel
Thank you for your kernel. Do you consider adding ROW I/O scheduler?
https://groups.google.com/forum/m/#!topic/bfq-iosched/x9bkvdwUoYQ
Sent from my Xiaomi MI 5s Plus using XDA Labs

[kernel] Fenix [9/MIUI/10] [4.14.221] [WALT]

FENIX
{
"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"
}
Disclaimer:
use this kernel at your own risk. Flashing it may brick your device. I'm not responsible for any software/hardware and any kind of damages/losses.
I make this kernel for my own, and i decided to share it with the community.
The current build it's based on Beast kernel [ link ]
When i will have more time to play, i will re-base to my Als source.
From version 0.5 i m using my own source based on Als 4.14.
What's in:
We have two releases:
- Stable (blue wallpaper): tmgallage miui inbuild kernel, can be flashed on all stock vendor roms (yes, stock rom, crdroid, treble ecc)
- Experimental (red wallpaper) : my personal build, a bit more perf oriented, but with good battery too. It comes with more experimental stuff in, in both Oss \ stock vendor flavour.
Code:
FENIX SNOWFLAKE
STABLE:
- upstreamed to 4.14.221
- oss vendor for stable too
EXPERIMENTAL:
- upstreamed to 4.14.221
FENIX SNOWFLAKE
EXPERIMENTAL:
- upstreamed to 4.14.214
- additional perf critical patches
- additional tcp's
- erased roxirp, as he left mi a3
FENIX WINTER IS COMING
STABLE:
- ALS 4.14.210
- built with proton clang, thinLto + polly
- zram default to lz4
- int128
- selinux patches
- custom dtbo flashed alongside the kernel
- other minor fixes, check git
- new banner
- packed roxirp into a fabulous x-mas present 🎁
FENIX WINTER IS COMING
EXPERIMENTAL:
- Als 4.14.210
- nuked sboost
- stune_assist \ cpu_set_assist
- stune tweaks
- cpu_set tweaks
- efficient freqs
- nuked qcom boosting \ core control drivers
- SultanXda perf critical patches
- SultanXda stack commits
- SultanXda cib\devfreq boost
- crucial task placement
- zram to lz4
- int128
- ThinLto, polly
- new banner
- oss \ prebuild version
- others, check git
- reverted roxirp ⏪
Fenix -0.9.8-Q-Pelt:
-Pelt
-upstreamed to 4.14.185
-updated proton clang 11 version
-dtbo embedded into the kernel: no need to flash it anymore
-compiled with -03, polly, device specific optimizations
-sultanxda simple low memory killer driver
-sultanxda cpu_input_boost driver
-sultanxda devfreq_boost driver
-sultanxda cpu_idle optimizations
-sultanxda performance critical api
-latency improvements
-qcacld: power saving tweaks
-general sched improvements
-gpu latency optimizations
-little cpu boost at touch
-little cpu boost when switching apps
-little cpu boost when pressing the power button
-moderate cpu boost when launching an app the first time
-don't wake gpu when touching the screen
-display tweaks
-schedutil, and up\down limits tweaks
-removed kcal, its not working anymore
-reduced boot times
-stune top-app to 1
-very good battery, performance :3
-many more, check git!
This time you don't need to flash dtbo.
Enjoy
Fenix -0.9.7-Q-stable
-upstreamed to 4.14.184
-disabled sched debug
Fenix-Miui-Als-Stable
-initial bringup
-upstreamed to 4.14.184
-wlan\techpack drivers updated to LA.UM.8.11.r1-03500-NICOBAR.0
-compiled with proton clang 11, o2
-imported laurus defconfig changes
Fenix_10-0.9.6
-upstreamed to 4.14.183
-removed cpu_input_boost
-disabled cpu_boost \ msm_performance \ core_ctl
-back to android low memory killer
-enabled psi
-enabled memcg
-reduced cache pressure
-disabled highmem and profiling
-arm64: lib: optimizations
-camera: fixed memory leak
-some other process to power efficient wq
-updated wireguard to latest version
-schedutil: don't set freq to uint max
-stune assist
-cpuset assist
-stune top app to 5
-jitter and performance improvements
-fixed random reboots
-disabled seccomp
-reverted some commits that needed extensive testing
-other, check git
FENIX_9-0.9.5
For Miui, Android 9 stock, 9 custom roms:
-upstreamed to als 4.14.181
-less aggressive schedutil
-mm: omm_kill tweaks
-little cpu boost at touch
FENIX_10-0.9.5-Q-hotfix
-fixed an issue where unrooted users cannot boot the kernel (stuck on recovery)
FENIX_10-0.9.5
-Merged Caf tag LA.UM.8.11.r1-03500-NICOBAR.0 for Wlan\Techpack\Kernel
-Merged ALS 4.14.181
-Fixed the suspend freeze issues on some devices
-Disabled android low mm
-Added Simple low memory killer by SultanXda for better mm
-Enabled Ntfs R\W
-Correctly imported Xiaomi Clk changes
-mm: omm_kill tweaks
-mm: tweaks
-updated proton clang to latest Kdragon relase
-reverted some schedutil tweaks to make the governor less aggressive
-some sched patches
FENIX_9-0.9.4
- upstreamed to 4.14.176
- built wlan drivers with different flags (check commits)
FENIX_10 0.9.4
- fully compatible with stock 10 \ android 10 custom roms
- merged caf tag LA.UM.8.11.r1-03300-NICOBAR.0 wlan\techpack\kernel
- upstreamed to ALS 4.14.176
- WALT
- disabled cpu boost, msm performance, corectl
- disabled selinux audit
- compiled with proton clang 11 -o3 optimizations, cortex a53 optimizations ,optimize inlining
- improved cache speed
- lz4 Zram, with lz4 module updated
- zram set to 2gb
- fsync on\off
- some log spams disabled
- disabled frame pointers
- goodix FOD improvments
- schedutil patches
- kcal
- bbr default
- anxiety i\o default
- boeffla wakelock blocker
- wireguard
- locked idle freqs while screen off
- something more, check git
FENIX 0.9.3 WALT
- upstreamed to ALS 4.14.175
- WALT
- disabled cpu boost, msm performance, corectl
- disabled selinux audit
- compiled with proton clang 11 -o3 optimizations, cortex a53 optimizations ,optimize inlining
- improved cache speed
- lz4 Zram, with lz4 module updated
- zram set to 2gb
- fsync on\off
- some log spams disabled
- disabled frame pointers
- goodix FOD improvments
- schedutil patches
- kcal
- bbr default
- anxiety i\o default
- boeffla wakelock blocker
- wireguard
- locked idle freqs while screen off
- disabled read ahead
- something more, check git
FENIX 0.9.2 PELT
- reworked from scratch as my main ssd died
- all previous fenix features (more or less)
- built with proton clang 11
- upstreamed to 4.14.171
- meged caf LA.UM.7.11.r1-04700-NICOBAR.0
- silenced some log spams
- anxiety i\o by default
- additional pelt sched patches
- disabled sched autogroup
- disabled sched_boost
- disabled memcg
- enabled optimized inlining
- sched child runs first: faster app opening
- mm: Disable readahead by default
- much, much more on github
FENIX 0.9.1 PELT
-Upstreamed to Als 4.14.167
-zen default
-reverted some commits
-little tweaks on cpu idle
-misc tweaks \ fixes
-bored to write the log as you can see so,
-check git
FENIX 0.9 PELT
-Built with Proton Clang 11
-Upstreamed to Als 4.4.165
-Wireguard (yeah, i ve lost the war)
-Fod improvments (thanks to @Harukey for the findings)
-KLAPSE
-locked min\max freqs
-performance regression fixed :highfive:
-300hz (should give us better smoothness \ bb)
-i\o latency otpimizations
-cache perf improvments
-ufs tweaks
-disabled shed autogroup
-bbr upstreams
-maybe others, check git
FENIX 0.8a PELT
hotfix:
-fix voip bug
FENIX 0.8 PELT
-Upstreamed to als 4.4.163
-Full Pelt instead of Walt
-Alot of sched patches for Pelt
-Advanced Tcp's, Sociopath default (bbr too)
-Disabled all caf boosting drivers (msm_perf \ cpu_boost)
-Cleaned up the sources and fixed derps
-Schedutil Tweaks
-Disabled selinux audit
-SultanXDA Iommu and Ashman drivers
-Tweaked MM for better memory managment
-Fixed high idle drain
-see git history fo others
Always wipe dalvik after flash kernel.
Fenix 0.7
Upstreamed to 4.14.158
re-enabled zram
lz4 compression for zram
new zip, with banner
no need to re-flash magisk after flash (present from 0.5)
fixed exfat driver import, thanks to @HarukeyUA
enabled overlayfs
Fenix 0.6
- enabled exfat driver
- enabled ntfs driver
Fenix 0.5
- fully rebased to my als sources
- upstreamed to 4.4.157 + la.um8.11-01800-nicobar wlan tag
- built with aosp clang 9.0.8 + -o3 optimizations
- kcal color control
- re-enabled audit (for now)
- simple low memory killer driver by Sultanxda
- disabled adreno tracing
- disabled zram
- disabled frame pointers
- some logging disabled (im planning to disable kernel_dubug and debugfs in future)
- alot of Arter cache_pool patches
- Sultanxda dyn allocation patches
- ufs optimizations
- safety net should pass
- boeffla wakelock driver inside
- random linked to urandom
- nuked schedboost
- schedtune assist
- disabled cpu_idle, msm_perf, cpu-boost
- devfreq/kgsl:use high priority workqueque
Fenix 0.3
- Built with Clang 9.0.8 -o3
- Kcal color control
- Seccomp disabled
- Selinux Audit disabled
- Frame_pointer disabled
- Random linked to urandom
- disabled some logging\tracing
- Re-enabled \ tweaked cpu-boost driver
- Simple Low Memory killer instead of standard Android lmk
- some cache optimizations
- Safety net should pass
- Disabled Zram
- Disabled Crc Checks
DOWNLOAD (new releases)
DOWNLOAD (old releases)
note: this is for me an hobby, not a work. If you encounter a problem, send me a logcat i will look into it if i have spare time, but make sure its kernel related. I will not take in consideration logs if you didn't wipe dalvik, or mods like "FedeAi, LKT, exposed" are used.
Enjoy
How to flash:
- reboot into recovery
- make a backup of your original boot.img
- flash fenix zip
- flash magisk if needed
- wipe dalvik (mandatory!)
PAY ATTENTION PLS:
If after flash you're stuck on recovery, flash dtbo.img with fastboot:
fastboot flash dtbo_a dtbo.img
fastboot flash dtbo_b dtbo.img
- enjoy
Source:
Fenix Git
Fenix Gitlab
Image source:
https://imgur.com/R2xjrZ7
Thanks:
@madpausa
@mdeejay
Android Linux Stable team
@xda
and all the other authors of the hundreds of commits in github
If you are on a Caf based rom:
download the attached dtbo.img
flash it trough fastboot "fastboot flash dtbo dtbo.img"
reboot to recovery after the falsh
flash fenix
wipe dalvik
enjoy
No need to reinstall magisk after flash.
Enjoy
reserved #2
great another kernel, gonna try it
I am trying this kernel on Pixel Experience rom latest build and so far looks everything work fine. I don't know if It might be a placebo effect but the all system seems more fluid.
Sent from my [device_name] using XDA-Developers Legacy app
Will this support selinux enforcing??
Rajendran Rasa said:
Will this support selinux enforcing??
Click to expand...
Click to collapse
Selinux audit disabled so it supports selinux
Selinux audit disabled = it doeant look (audit) for an selinux state (disabled)
Hey man, if u can, try to add a sound control to change the gain.
Nice work :}
hello , very thanks for kernel
regards
I know kernel is about boot.img thing but i want to ask Will it encrypt my /data partition . Because i ddecrypted it and dont want to encrypt itself again... and i will fla**** thats all right? Im little bit scared since my storage got encrypted. it took so long time to decrypt again
It is running smoothly on PE latest ROM.
Installed yesterday.
How did you install it? with twrp error 1
iron maiden said:
How did you install it? with twrp error 1
Click to expand...
Click to collapse
Corrupt download, download it again
Unreal_Shogo said:
Corrupt download, download it again
Click to expand...
Click to collapse
hello not working errro 1 twpr thansk
regards
iron maiden said:
hello not working errro 1 twpr thansk
regards
Click to expand...
Click to collapse
Which TWRP please update it to latest twrp.
"Random linked to urandom" ok but why?
chineel said:
Which TWRP please update it to latest twrp.
Click to expand...
Click to collapse
hello what version twrp? thanks
working in rom stock?
regards
iron maiden said:
hello what version twrp? thanks
working in rom stock?
regards
Click to expand...
Click to collapse
No this one is for Q stock not Q yet.
Ok bois, my Als rebase it's ready.
We're on 4.4.157 + latest tag wlan drivers.
In next days i will start working on it. I hope I will have more free time! Cheers
chineel said:
Which TWRP please update it to latest twrp.
Click to expand...
Click to collapse
I tried flashing 0.3 of the kernel with twrp-3.3.1-2 and it popped an "error 1".

Categories

Resources