[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
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:
Presenting first custom kernel for nougat roms i.e LineageOs,RR,Darkness redifined etc.Kernel still in beta version so please test this kernel and tell me about this.
<---Features--->
Compile with UBERTC 4.9
Omptimised
Cpu governors:-
interactive(default)
performance
ondemand
lionfish
userspace
powersave
conservative
elemental x
impulse
bioschok
relaxed
zzmoove
Despair
etc
Tcp:-
westwood(defalut)
cubic
vegas
reno
bic
high speed
yeah
scable
illnois
etc
Wake gestures:-
Misc:-
nethunter support(wireless+hid patch)
cpu boost
USB fast charge 2.0
vibration leveler
USB FORCE FAST CHARGE
KCAL
Sound controler
Backlight dimmer
Fsync Switch
low brightness
Ondemand(public demand):-
Wireguard VPN support
TTL Target (for Russian users)
Adreno Idler
Kernel samepage merging(KSM)
Quick Wake
lz4 compression as default
Touch Boost
Boot with selinux permisive mode
asmp hotplug modified
Boeffla wakelock drivers
you tell me.
Credits:- nibaji
aragon12
TeamMex(for alessa)
svoca(kcal)
LineageOs
flar2
nichcream
Mukesh Ambani (for jio)
All other members of xda
Sorry if i forgot anyone in this list please pm me. I definately gives him proper credits.
Code:
[COLOR="Red"]Disclaimer:-You warrenty is now void.This kernel is in beta stage so i am not responsible for anything.Use this at your own risk.You may hard brick or soft brick your phone.[/COLOR]
Ask your questions and tell me this kernel in reply section.
App for tweaks:-Kernel adiutor
Hit thanks if you like my work:good:
Beacon for Redmi 3s/prime/3x
Issues :-you tell me.
XDA:DevDB Information
Beacon kernel, Kernel for the Xiaomi redmi 5
Contributors
bawaviki, @aragon12
Source Code: [url]https://github.com/bawaviki/beacon_rosy[/URL]
Donations:-No need just help others who want to be helped.
reserved
Reserved for Changelogs:-
PHASE 1
Beacon_first_bake:-
All features listed above
+initial built
Beacon_second_bake:-
+WFI works on all ROM(dowload different variants)
+Some wakelocks
+Two new CPU GOVS(Darkness and Bluactive)
+AIO hotplug
ETC
Wew:3
Hi,technical,How to compile wlan.ko for specific kernel?
Wifi not working on DotOS
Beacon second bake was uploaded with wifi fix,CPU Govs, Wakelocks and more. Check third post for complete changelogs.
Thankyou
is this works on AEX? Thanks
roniXjahat said:
is this works on AEX? Thanks
Click to expand...
Click to collapse
Yeas
In Stock MIUI work?
Can you add some descriptions about governors?
Thread closed to GPL violation.