Related
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 ??
anyway or information on how to make a stocktouchwiz support f2fs? any info or directions to some info would be tops! thank you
F2FS support needs to be baked into the kernel, if I recall correctly. So you'd need a custom kernel to enable F2FS.
Can some of developers make F2FS supported rom and kernel that would be great.And if there is can someone make a short tutorial how to do that.Thanks
What does it look like for us to get ROMs with F2FS support? This seems like something we should definitely implement (OnePlus 3T uses it)
Here is a great thread with a comparison between F2FS and EXT4 (keep in mind this is very old, and F2FS has probably improved since then): https://forum.xda-developers.com/showthread.php?t=2697069
Sequential/Random Write on F2FS is much faster.
F2FS SQL operations are much faster (up to 10x)
Read speeds are slightly slower on F2FS
slgooding said:
What does it look like for us to get ROMs with F2FS support? This seems like something we should definitely implement (OnePlus 3T uses it)
Here is a great thread with a comparison between F2FS and EXT4 (keep in mind this is very old, and F2FS has probably improved since then): https://forum.xda-developers.com/showthread.php?t=2697069
Sequential/Random Write on F2FS is much faster.
F2FS SQL operations are much faster (up to 10x)
Read speeds are slightly slower on F2FS
Click to expand...
Click to collapse
Turbo said he just implemented F2FS in his second Destroyer rom.
Multirom
I just found yesterday that there is a version of Multirom that works with the Le Pro 3, tested myself it works great.
The Multirom TWRP.img also has F2FS support and it works with Turbo's Newest EUI stock rom v3 he just released (also tested myself). Had to flash Supersu v2.79.zip then use Titanium Backup to uninstall the International Roaming app because of constant crashing, but its fast and works perfect. Love F2FS.
Too new to post the link but just find GalticStryder Mrom 2.0 on Github for Multirom.
Now, if only we could get some Aarch64 full Linux distributions on our Le Pro 3 through Multirom :fingers-crossed:
Kriptous said:
I just found yesterday that there is a version of Multirom that works with the Le Pro 3, tested myself it works great.
The Multirom TWRP.img also has F2FS support and it works with Turbo's Newest EUI stock rom v3 he just released (also tested myself). Had to flash Supersu v2.79.zip then use Titanium Backup to uninstall the International Roaming app because of constant crashing, but its fast and works perfect. Love F2FS.
Too new to post the link but just find GalticStryder Mrom 2.0 on Github for Multirom.
Now, if only we could get some Aarch64 full Linux distributions on our Le Pro 3 through Multirom :fingers-crossed:
Click to expand...
Click to collapse
Kriptous, hi..... if you write a simple guide, nothing fancy on how to do it, i can post it or anyone here (under your name)..... lots of people looking for multiboot....
thank you,
TURBO
TURBO2012 said:
Kriptous, hi..... if you write a simple guide, nothing fancy on how to do it, i can post it or anyone here (under your name)..... lots of people looking for multiboot....
thank you,
TURBO
Click to expand...
Click to collapse
Galaticstryder released it today on his own thread along with the app. Thanks for the rom with F2FS support its quite nice!
Have any ideas about linux on our Le Pro 3 using Multirom? I looked at the .Mrom format for Linux distributions and it looks rather simple just a renamed uncompressed .Zip file with a few config .txts.
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: