[KERNEL] [N5X] [7.1.1] [3.10.104] [UBER 6.3.1] Flash Kernel - v2.2 - December 25th - Nexus 5X Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
Hello everyone, this is my kernel for the Nexus 6P ported on over to the Nexus 5X. I won't claim that you will get hours upon hours of battery life (even though optimization really is my focus here) but I will say I have added quite a few options for you guys and the optimization patches should improve your experience with this device. Hopefully you enjoy! Please read this entire post, most of your questions will be answered in here!
Features
Here are the major features of the kernel (feel free to explore Github)
Upstream Linux versions 3.10.74-3.10.104
Updated to the December security patch
Patches for some CVEs
Upstream patches from CAF and Linux
Support for overclocking to 2016 MHz on big and 1632 MHz on little (stock values by default)
Support for underclocking to 302MHz on big and little (stock values by default)
CPU governors: chill, conservative, despair, elementalx, impulse, intelliactive, interactive, ironactive, ondemand, performance, powersave, and zzmoove
Touchboost fully disabled
MSM_Hotplug v2.4
Backlight dimmer
KCAL color control
Adreno Boost
Adreno Idler
Wake gestures (sweep2wake, doubletap2wake, sweep2sleep, and camera launch gesture)
Faux Sound Control with high performance audio
Upstream zram commits (from 3.18)
UKSM support (disabled by default)
Upstream zswap commits (up to 4.7)
I/O schedulers: bfq, cfq, deadline, fiops, maple, noop, row, sioplus, and zen
Wakelock controls
TCP algorithms: bic, cubic, highspeed, htcp, hybia, illinois, lp, reno, scalable, vegas, veno, westwood (default)
Kexec patch for MultiROM support
F2FS support
Compiled with an Uber-based 6.3.1 toolchain located here
Makefile optimizations
Forced encryption and dm-verity disabled
Hides bootloader unlock from SafetyNet (can still fail through other means)
Built with AnyKernel2 thanks to @osm0sis
Downloads
7.1.1 (2.x): Main
7.0 (1.x): Main
Installation
If you are on stock:
If you are on the stock kernel: flash the kernel zip and reboot
If you are on a custom kernel: flash the stock boot image matching your build number, flash the kernel zip, and reboot
If you are on a custom ROM:
If you are on the kernel that came with your ROM: flash the kernel zip and reboot
If you are on a custom kernel: dirty flash your ROM zip, flash the kernel zip, and reboot
Upgrading from one Flash version to the other:
Just flash the kernel zip and reboot
Changelog
Nougat 7.1.1
Code:
[B]2.2[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=70246171]release post[/URL])
[LIST]
[*]Adaptive low memory killer (disabled by default)
[*]Process reclaim
[*]Other low memory killer improvements
[*]Binder improvements
[*]Improved Adreno Idler (thanks to [user=5051294]@frap129[/user])
[*]Improved Makefile flags (thanks to [user=5284595]@kwoktopus[/user])
[*][URL="https://lwn.net/Articles/621046/"]Lazytime[/URL] for EXT4 and F2FS
[*]Toolchain bumped to 6.3.1
[/LIST]
[B]2.1[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=70112916]release post[/URL])
[LIST]
[*]Upstream F2FS commits
[*]Upstream sdcardfs commits
[*]Upstream blu_active commits (thanks to [user=5996255]@jollaman999[/user])
[*]Remove ironactive (we already have all of the upstream CAF commits that make it special in interactive)
[*]Improvements to cpuidle
[*]Improvements to locking
[*]Double tap to wake now works when either halfscreen or fullscreen is selected in KA
[*]Improvements to Live Display (work with KCAL thanks to [user=4684315]@flar2[/user])
[*]Improvements to wakelocks (disable a few by default to improve battery)
[*]Attempt to fix 2% battery drop issue
[*]Security patches here and there
[/LIST]
[B]2.0[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69964903]release post[/URL])
[LIST]
[*]Updated for the December security patch
[*]Merged some Pixel security patches
[*]Updated AnyKernel
[*]New toolchain (Uber 6.2.1 with some Linaro opts)
[/LIST]
[B]2.0-rc1[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69859710]release post[/URL])
[LIST]
[*]Same as 1.5 but with DP source as a base
[/LIST]
Nougat 7.0/7.1
Code:
[B]1.5[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69859703]release post[/URL])
[LIST]
[*]Fixes for sdcardfs on certain ROMs like CM 14.1
[*]Upstream patches from CAF and Linux
[*]Allow big cluster to be boosted without a task on it
[*]UKSM improvements
[*]Add exFAT driver
[*]Detect when kernel is flashed on an unsupported Android version
[*]Add support for FK Updater's performance profiles
[/LIST]
[B]1.4[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69513015]release post[/URL])
[LIST]
[*]Chill governor updates (thanks to [user=5051294]@frap129[/user])
[*]Upstream CAF and Linux patches
[*]Fixed some compiler warnings (thanks to [user=4231562]@Yoinx[/user])
[/LIST]
[B]1.3[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69264478]release post[/URL])
[LIST]
[*]Upstream Linux patches for vmstat and libgcc
[*]Backported MDSS and GPU patches from Marlin (thanks to [user=3292224]@franciscofranco[/user])
[*]Low memory killer improvements
[/LIST]
[B]1.2[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69247027]release post[/URL])
[LIST]
[*]Linux version 3.10.104
[*]Move back to a constant tickrate of 300HZ
[*]Add a patch to hide bootloader unlock from SafetyNet
[/LIST]
[B]1.1[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69183236]release post[/URL])
[LIST]
[*]Add ironactive governor
[*]msm_hotplug
[*]Underclocking to 302 MHz
[/LIST]
[B]1.0[/B]
[LIST]
[*]Initial release
[*]List of features above
[*]Compiled with latest Linaro 6.2 from Uber repo
[/LIST]
Customization
Since the whole point of installing a custom kernel is to have more options available to you, here is some information regarding the tweaks available in the kernel.
Default settings: the phone will boot with the following settings (the ones I recommend sticking with if you are not into tweaking):
Governors: interactive on both clusters
Frequencies: 384-1440MHz on little and 633-1824MHz on big
Input boost: 1248MHz on little and 768MHz on big for 40ms
core_control on, msm_thermal off
Wake gestures and backlight dimmer disabled
Adreno Idler enabled
Sound controls set at 0
ZRAM enabled and UKSM disabled
zen at 128kb
Governor profiles: If you want to try and squeeze a little bit more battery life out of your phone or increase performance, you may consider exploring governor profiles. Below are some links to various posts containing links/descriptions of these profiles:
From @soniCron - HawkTail, GlassFish, and FairPark
From @Alcolawl - list of profiles
Virtual memory: I have implemented ZRAM and UKSM in the kernel and there are many ways to tweak these. I would only recommend messing with vm_swappiness but you can read about ZRAM tunables here and UKSM tunables here. To make the kernel use more or less ZRAM, type this in a terminal emulator (or change it in EX Kernel Manager under the Memory section):
Code:
echo # > /proc/sys/vm/swappiness
This number can be between 0 and 100. 0 will make the kernel swap to ZRAM only if there is an out of memory error, 100 will make the kernel swap to ZRAM as much as it can. I set it at 15 by default, I would set it to 1 if you don't want to use it as much as 1 will use the minimum amount possible (basically when the phone is super under load). Highest I would go is 60 (which is the stock/default value in the Linux kernel). Read more about swappiness here. Additionally, UKSM is disabled by default. You can either enable it with EXKM or echo 1 to the sys path /sys/kernel/mm/uksm/run
Frequently asked questions
1.1 Q: I am having an issue, can you help me?
1.1 A: I am not a superstar kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue. With that, I'll do my best to assist you.
Code:
adb logcat -d > logcat.txt
adb shell dmesg > dmesg.txt
1.2 Q: Can you add xyz feature?
1.2 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not go digging super hard for commits and I will ignore requests that don't include this information. I won't promise that I will merge every request but I will always take it into consideration.
1.3 Q: How do I control the kernel?
1.3 A: I'd recommend using either @flar2's EX Kernel Manager or @Yoinx's Kernel Adiutor-Mod; both are extremely solid and have given me no issues.
Thanks to:
@REV3NT3CH for showing me what a good developer and kernel looks like
The various developers for their patches (@ak, @Buckmarble, @flar2, @franciscofranco, @frap129, @imoseyon, @jollaman999, and @Yank555 to name a few)
@osm0sis for AnyKernel2
@mdalexca for helping me with some kernel compilation issues and the prebuilt toolchain I use
@kwoktopus for giving me good advice on Makefile flags and other patches
@malybru for my nifty new signature and thread banner!
All of you guys for viewing the thread
A note about donations
Quite a few people have asked to donate to me in the past and I have turned them down. I am not in this for the money, this is my hobby, something I truly enjoy. If you truly want to donate to something (it is not expected in the slightest), I recommend an entity like the Open Source Initiative, the Free Software Foundation, XDA, or any one of the people I have thanked in the OP. Additionally, you are free to copy any and all of my work; the only thing I request is that you not ask for donations as well (though I can't really enforce this lol). Thank you.
Kernel source links
7.0: https://github.com/nathanchance/bullhead
DISCLAIMER: I openly welcome off topic in my threads. Mods, please do not clean off topic discussion and users, do not complain about off topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.
XDA:DevDB Information
Flash Kernel, Kernel for the LG Nexus 5X
Contributors
The Flash
Source Code: https://github.com/nathanchance/bullhead
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 2.2 - Nougat 7.1.1
Stable Release Date: 2016-12-25
Created 2016-10-15
Last Updated 2019-07-02

I wanted to dedicate this post to my devoted testers:
@SM210
@Mrcactuseater
@vampire36
@ulxerker
@Psychofrantics
@Char_G
Without them, this project would not have been possible as I do not own this device. On that note, I will need a testing group for future builds, as there will be no guarantee the builds works properly without in-depth testing. If you would like to participate, join my Hangouts group through this link.

Reserved

First

Are you THE FLASH ?? Barry it's you ???
Thank you so much gentleman for your work

It's good to see good devs contributing to our N5X.
So welcome

This is one awesome kernel! And I don't just say that!!! The audio is what amazes me on exterior speaker and all ways. Fast, smooth and snappy it is! My phone isn't even close to what it was like before!! Amazing work!!!! Thanks for bringing us your great kernel even know you don't have a Bullhead! Appreciate all you do bud! It was an honor to be one of the testers. Running like a dream!! :good:
Sent from my Nexus 5X using XDA Labs

SM210 said:
This is one awesome kernel! And I don't just say that!!! The audio is what amazes me on exterior speaker and all ways. Fast, smooth and snappy it is! My phone isn't even close to what it was like before!! Amazing work!!!! Thanks for bringing us your great kernel even know you don't have a Bullhead! Appreciate all you do bud! It was an honor to test. Running like a dream!! :good:
Click to expand...
Click to collapse
How many Kernels are you using at the same?

crian said:
How many Kernels are you using at the same?
Click to expand...
Click to collapse
Just this. And will be staying here.
Sent from my Nexus 5X using XDA Labs

Thanks a lot for this, really. I have been waiting for kernel like this! Everything works beyond expectations. ?

bootloop on Pure Nexus nougat.

keaheng said:
bootloop on Pure Nexus nougat.
Click to expand...
Click to collapse
Can you give some more info?

TW1ST3D1NS4N3 said:
Can you give some more info?
Click to expand...
Click to collapse
i reflashed the rom and then kernel, phone bootloop
and I boot into the recovery agian and flash this one http://forum.xda-developers.com/and...-fed-patcher-v8-forceencrypt-disable-t3234422
it's working now.

keaheng said:
i reflashed the rom and then kernel, phone bootloop
and I boot into the recovery agian and flash this one http://forum.xda-developers.com/and...-fed-patcher-v8-forceencrypt-disable-t3234422
it's working now.
Click to expand...
Click to collapse
Did you wipe anything at all?

For me everything runs well, I am on PN
Nougat, thank mod
Sent from my Nexus 5X using XDA-Developers mobile app

TW1ST3D1NS4N3 said:
Did you wipe anything at all?
Click to expand...
Click to collapse
No bro

keaheng said:
No bro
Click to expand...
Click to collapse
Try a clean flash then.

Namautoenx said:
For me everything runs well, I am on PN
Nougat, thank mod
Sent from my Nexus 5X using XDA-Developers mobile app
Click to expand...
Click to collapse
Same here, no loops, runs well. Thx dev !
Sent from my Pixel XL using XDA-Developers mobile app

I'm on PureNexus nougat too and it works fine. No bootloop.

@The Flash thanks for making this kernel :laugh:

Related

KERNEL | CM13 / AOSP | 24th July | HalogenKernel R29 | UBER TC 6.0 | AROMA | 3.4.42

{
"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"
}
EXPERIENCE HALOGEN | EXPERIENCE AWESOMENESS​
For Changelogs please see POST #2.
For Recommended Settings please SEE HERE.
DISCLAIMER :-​
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will simply laugh at you.
*/
NOTE :-​This kernel is ONLY meant for AOSP/CM ROMs.
This IS NOT MEANT for STOCK ROMs.
Upto R14 Kernel supports Lollipop.
From R15 onwards Kernel supports ONLY Marshmallow.
From R18 onwards Kernel supports Doze + Marshmallow.
If you don't know what Doze is, google it.
WHAT IS THIS KERNEL ?​This kernel is built especially for these 3 things :- 1. Audio, 2. Performance, 3. Battery Life.
I will try to bring in as many features as possible, and at the same time ensure that there are no conflicts / incompatibility issues.
FEATURES :-​(features of ONLY the latest version is mentioned)​
Based on Linux Kernel 3.4.42
AROMA installer v3.0
Updated with the latest CM13 sources
Built with UBER Toolchain GCC-6.0
Any Kernel script used
Kexc Hardboot patched
Built with -O3 & -graphite flags for enhanced performance
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam (thanks to @attack11)
Implemented LoUIS cache
Audio :-
Faux Sound Control v3.2
Headset in high performance profile
24 bit audio support
Low latency audio playback
Slimbus overclocking for superior audio quality
DOLBY dap dependency fix
Ultrasound & ASoC : qdspv2 tweaks
Battery Saving/ Performance :-
Readahead set to 512
Set sched_mc_power_savings to 2
Enabled CPU boost
NVIDEA Power efficient patches
Optimized slub memory allocator
Optimize Sfck Compression
Sched Tweaks (see GitHub)
Add Frandom
Power effecient work queues enabled by default
Reclaim RAM from loggers, increasing default ram to 886 Mb
Disable gentle_fair_sleepers for increased I/O
Enable advanced unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
Many tick, clockevents & timer tweaks (see GitHub)
Lower swappiness
msm:kgsl tweaks(see GitHub)
CPU Governors :-
intelimm, intellidemand, intelliactive, smartmax, conservative, ondemand, userspace, powersave, performance, interactive, impulse, yankactive, zzmoove
CPU Hotplugs :-
Intelliplug, MSM Hotplug, mp-decision, Bricked Hotplug
GPU Governors :-
msm-cpuferq, msm-adreno-tz, userspace, powersave, performance, simple_ondemand, conservative.
I/O Schedulers :-
fiops, vr, zen, sio, bfq, cfq, row, deadline, noop, fifo, tripndroid
TCP Congestions :-
westwood, cubic, reno, hstcp, hybla, vegas, veno, scalable, lp, yeah, illinois, hctp, advanced, highspeed.
Others :-
Ability to use your device as USB Keyboard / Mouse (use this apphttps://play.google.com/store/apps/details?id=remote.hid.keyboard.client&hl=en)
Stereo call record support
Increase torch power by 20mA
psx2usb
KCAL v2 by Savoca
Added Adreno Idler
GPU tweaks (see GitHub)
Dynamic FSync
Intellithermal v2
Added optimized square root algorithm
Added optimized ARM_RWSEM algorithm
Added state notifier driver
Enabled quick wakeup
NOATIME and NODIRATIME as default
NEON kernel mode
Ex-FAT support
SE Linux tweaks
SE Linux set to permissive
Random / Frandom / Prandom tweaks
Entropy tweaks
Mutex & futex tweaks
LONG TERM SUPPORT :-​
This kernel will be supported for a long time with updates directly streamed from CM kernel sources i . e . as long as CM keeps publishing updates to Motrola's Kernel, this kernel will also be updated.
Further, I will also be personally adding features to this kernel along with tweaks and optimizations as and when needed.
DOWNLOADS :-​(do not mirror my links)​[ Latest Version ]​[ Older Versions ]​
TEST BUILDS with OC & UV :-​These builds contain the following extra features ( when compared to normal /stable builds ) :-
CPU OC to 1593.6 MHz
CPU UC to 96 MHz
CPU UV hardcoded and can't be changed
Associated RamDisk changes
Since OC will not work without associated ramdisk changes, hence test builds are available as boot images rather than anykernel zips.
Now there had been reports of bootloop with blisspop & rr roms and certain other roms. I looked into this and found out that even though they are based on cm kernel, their ramdisk sizes are different, hence bootloop on using boot.img but no bootloop on using anykernel zip ( since, anykernel works irrespective of ramdisk size).
Now it is highly unfeasible to build a boot.img for every different rom and upload them separately. Hence, I have decided NOT to include OC/UC in the stable builds.
Hence these images will only work on aosp and cm13 roms.[/I] Any rom having ramdisk size different than that of official cm13 or official slim(aosp), will not be supported. Hence no support for OC in rr/bliss.
INSTALLATION INSTRUCTIONS :-​
Reboot into recovery.
Make a nandroid BackUp.
Select Install zip from SD Card.
Select the Downloaded zip (different builds are present as an option in AROMA).
Then Reboot to System.
RECOMMENDED APPS FOR KERNEL TWEAKING :-​
Kernel Adiutor
Faux123 Kernel Enhancement Pro
I do not support any other apps.
CREDITS:-​~~Google
~~Motorola for kernel sources
~~Flashhhh
~~hurtsky
~~Luk & Luca -for various fixes
~~Thecrazyskull, DC07 -for cherry-picks
~~Faux123
~~Savoca
~~YoshiShaPow
~~attack11
~~many more.......
Please don't start a war here if I forgot to mention someone. PM me and I will add him.
XDA:DevDB Information
HalogenKernel, Kernel for the Moto G 2014 LTE
Contributors
zakee94
Source Code: https://github.com/zakee94/halogen_kernel/
Kernel Special Features: Ultra High SOUND, Kexec, KCAL, Intellithermal, MSM Hotplug
Version Information
Status: Alpha
Current Stable Version: R29
Stable Release Date: 2016-07-24
Created 2016-02-02
Last Updated 2016-07-24
Changelog
CHANGELOG​(simplified changelog, for full changelog please look at my GitHub commits.)​​​
R29 --> 24/07/2016​
Merged CM Updates
For older changelogs :-​
R28 --> 08/06/2016​
Merged CM Updates
AROMA installer
Added tripndroid IO Scheduler
CPU optimizations
ARM tweaks and updates
R27 --> 12/05/2016​
Merged CM Updates
R26 --> 10/04/2016​
Merged CM Updates
R25 --> 16/03/2016​
Merged CM Updates
R24 --> 18/02/2016​
Reverted the following :-
CPU OC/UC - 1593/96 MHz
CPU UV
LMK tweaks + Agressive LMK mode
Following CPU govs --> lionheart, dancedance, bioshock, alucard
Following Hotplugs --> Mako, Auto-smp
Added the following -->
Merged CM Updates
Built with UBER Toolchain GCC-6.0
R23 --> 19/01/2016​
Initial Release
Reserved
... flashed this kernel - and works like a charm!
Thanx!
As a POSITIVE side effect after flashing this kernel, my LTE connection stays as stable, as I had it never before:good:
bitstra said:
... flashed this kernel - and works like a charm!
Thanx!
Click to expand...
Click to collapse
Thanks for the positive review !
bitstra said:
As a POSITIVE side effect after flashing this kernel, my LTE connection stays as stable, as I had it never before:good:
Click to expand...
Click to collapse
There are certain commits which improves and stabilizes cellular connectivity.
It works very well!
The overclocking is overvolting the CPU? Or it just changes the frequencies?
LuuchoRocha said:
It works very well!
The overclocking is overvolting the CPU? Or it just changes the frequencies?
Click to expand...
Click to collapse
It's using more voltage. Look here.
Speed and stability are amazing but Camera app can't find the camera anymore. Any advice?
---------- Post added at 02:34 PM ---------- Previous post was at 02:13 PM ----------
Also any suggestions on best TCP settings for speed?
t-pip said:
Speed and stability are amazing but Camera app can't find the camera anymore. Any advice?
---------- Post added at 02:34 PM ---------- Previous post was at 02:13 PM ----------
Also any suggestions on best TCP settings for speed?
Click to expand...
Click to collapse
You shouldn't face any issues with camera, which ROM are you on ??
For TCP try Westwood.
Hello,
Will be possible to make it for CM12, if I install, the camera stops to work, the rest work perfectly.
Thanks,
Sent from my Moto G 2014 LTE using XDA Free mobile app
zakee94 said:
You shouldn't face any issues with camera, which ROM are you on ??
For TCP try Westwood.
Click to expand...
Click to collapse
Thanks for the reply.
I'm running AOSP 5.1.1
todobarato said:
Hello,
Will be possible to make it for CM12, if I install, the camera stops to work, the rest work perfectly.
Thanks,
Sent from my Moto G 2014 LTE using XDA Free mobile app
Click to expand...
Click to collapse
t-pip said:
Thanks for the reply.
I'm running AOSP 5.1.1
Click to expand...
Click to collapse
This kernel is strictly for marshmallow based roms only.
However if you want to use it on lollipop based roms try an older version.
You can download it HERE.
zakee94 said:
This kernel is strictly for marshmallow based roms only.
However if you want to use it on lollipop based roms try an older version.
You can download it HERE.
Click to expand...
Click to collapse
Will give that a go. From what I could see yesterday this version worked fine with Lollypop apart from the camera.
Edit
Seems that kernel won't run the processor any faster than 787.
Is there any chance of updating to include over clock or modding current version to work with Lollypop camera?
t-pip said:
Will give that a go. From what I could see yesterday this version worked fine with Lollypop apart from the camera.
Edit
Seems that kernel won't run the processor any faster than 787.
Is there any chance of updating to include over clock or modding current version to work with Lollypop camera?
Click to expand...
Click to collapse
No.
I'm kinda curious, the title says Moto G, but will this work for Note 1 running CM13?
roimarco said:
I'm kinda curious, the title says Moto G, but will this work for Note 1 running CM13?
Click to expand...
Click to collapse
Are u serious? Of course it won't.
Hello,
The kernel is broken, with last nighty.
In cm13 was updated the Wi-Fi , now if I install the kernel Wi-Fi is inoperative.
Best regards,
Sent from my Moto G 2014 LTE using XDA Free mobile app
Kernel Updated​[ DOWNLOAD ]​
For details CLICK HERE.​
Thanks a lot, Wifi is fixed now. Your kernel is really awesome. A few tweaks and battery life is stellar, such as performance. Thanks

[Kernel][GPL][K-N][Falcon][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP]

READ ALL BEFORE ANYTHING!
ATTENTION
Code:
/*
I'm not (yet) a developer , I'm taking effort to put more choices of kernel for our great community.
This kernel is tweaked for best balance possible, if you want a feature quote me and i will see what i can do,
I will build this kernel when possible on my free time and because of it is a nightly and I will use this thread as a worklog too.
Thank you for using this kernel.
*/
Disclaimer
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Adapt, improve and evolve!​
Info:
Guys I created this kernel to Moto G 2013 (Falcon/Peregrine) and Moto G 2014 (Titan/Thea) in other words MSM8226 Motorola SoC baseds to learn, adapt some "unstable and unsafe" things as well to give a new life to my device, the plan is to support all Android versions avaliable for our device, I plan to do a better kernel with time and help of the comunity. This kernel is a nightly I will do it when I have a freetime or LineageOS update their sources or I add new features, it aims to be a rich feature kernel and a "perfection balance" between battery life and performance, this can be a UNSTABLE kernel, my routine will be build,upload and test, so stay tuned! I am open to suggestions. This is a kernel that don't work out-of-the-box the objetive of this kernel is give power to the user.
This kernel DO NOT WORK WITH STOCK MOTOROLA/GOOGLE PLAY EDITION ROM or IDCRISIS or AOSPARADOX.
On post 1:
#1 - Features and installation instructions
#2 - Downloads and kernel Source
#3 - Buglist and to do's
On post 2:
#1 - Changelog
​
Features (By now and latest one):
Based on 3.4.113 LTS Linux kernel and latest LOS/AOSP/CM/Motorola sources
Kexec hardboot patch (MultiROM support)
Governors: Interactive,Ondemand,Performance,Userspace,Conservative,Powersave
Hotplugs: AutoSMP and Alucard Hotplug
Overclocks and Underclocks (Attention this can be dangerous to your device! you have been warned!):
Overclocked CPU (up to 1.6Ghz),Overclocked GPU (up to 600Mhz) Overclocked RAM and Overclocked Slimbus for better audio
Intellithermal v2 to protect our device from heating
Sound: High performance Headset,Low latency playback Support,24 bits Playback Support,Enabled additional Moto G Exclusive Audio Channels TPA-a6165a2
Screen: DT2W and S2W/S2S, KCAL
GPU:Simple GPU Algorithm and AdrenoIdler
Misc: Init.d support, Fsync on/off, ARCH_Power, Gentle Fair Sleepers, Toggle for some wakelocks, Stereo Call Recording Support, Reclaim RAM from loggers, Powersuspend, State Notifier .
For full features list check my github.
Compiled with Arch Linux up-to-date and UBER Toolchain 4.9 and optimize flags[/COLOR]
Bootlogos
PREVIEWS ONLY CHECK DOWNLOADS SECTION FOR LINKS
Created by me and the others two by @Mattwmaster58:
Silver
{
"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"
}
Blue
Red
Downloads
(Folder on AFH) (Please DO NOT MIRROR, if one is down just post in the thread or pm me and i will repair!):
Cyanogenmod/AOSP for Falcon:
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
Cyanogenmod/AOSP for Peregrine:
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
Cyanogenmod/AOSP for Titan/Thean (Same defconfig):
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
NOTE:ALWAYS CHECK LAST PAGES TO SEE WHAT IS GOING ON!!!
LSpeed Profiles (OLD! LSpeed envolved too fast!) - Balance
Bootlogos: ZER0 Byte Bootlogo
Old releases of ZER0 and ZER0 Byte (Reborn) Kernel : AFH
Mirror: Github mirror and how to download
​
How to install
If you're on other kernel please at least DIRTY FLASH you ROM, thanks.
The kernel:
By recovery:
Using TWRP (Please use the latest one)
1. Put the zip at /sdcard > Reboot to recovery > Install > Chose the kernel zip > Confirm to flash > (optional) Wipe caches > Reboot.
or
By app:
2. Flash it using Flashify or similar app from Playstore.
The kernel scripts backup your current boot.img so if you want to restore just use Flashify or TWRP.
The Bootlogo:
Using TWRP (Please use the latest one)
1. Reboot to recovery > Install > Chose the bootlogo zip > Confirm to flash > Reboot and enjoy.
2. Flash it using Flashify or similar app from Playstore.
3. Extract the zip and on mfastboot (or just fastboot) enter this command: fastboot flash logo logo.bin
Recommendations/Tweaking
Gov Tuner a mod to tune govs based on profiles for better battery life, better performance, or a balance., I have added a lot of sound patchs but A.R.I.S.E. will blow your mind! so if you want a better sound on your Moto G I suggest you A.R.I.S.E the best one in my opinion or just Viper+Dolby. And the best of the best tweaks app LSpeed just download and select a profile from main screen and fell it! or tune it by yourself!
To tweak use Kernel Adiutor from Playstore (or XDA Link), the Kernel Adiutor-Mod (fork with more experimental features) at XDA or Synapse You will need this zip and download Synapse app from Playstore.
Info about tweaking kernel The best guide to it!
Better RAM management for FALCON/PEREGRINE/TITAN/THEA thanks to @Pupet_Master
-Download "Kernel Auditor" from the "Play Store" and open it
-Once inside, Swipe from left to right to show the side menu.
-Tap on "Low Memory Killer"
-Change to these custom settings:
Code:
Foreground Applications: 29mb
Visible applications: 61mb
Secondary Server: 157mb
Hidden Applications 227mb
Content Providers: 87mb
Empty Applications 191mb
-Swipe from left to right again and tap at the option "Virtual Memory"
-Change those settings from there:
Code:
dirty_ratio: 20
dirty_background_ratio: 5
dirty_expire_centisecs: 100
dirty_writeback_centisecs: 300
min_free_kbytes: 4096
oom_kill_allocating_task: 1
overcommit_ratio: 100
swappiness: 100
vsf_cache_pressure: 53
laptop_mode: 0
extra_free_kbytes: 24576
Z-RAM Disksize: 470mb
-Swipe from left to right again and tap at the "Profile" section
-Click at the "+" button and save the current settings on a new profile
-Holdon the new profile and choose the option "apply on boot"[/QUOTE]
This kernel does not ships with a default config, so here it is how to config (an example) a profile for battery/balance/performance:
Battery
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1190Mhz or 1094Mhz
Multicore power save - Aggressive
Alucard Hotplug - ON
On GPU
GPU max freq. - 450Mhz or 320Mhz (if dont play use 320Mhz)
GPU Gov - simple_ondemand or msm_adreno_tz with tweaked adreno idler
On I/O Scheduler
Scheduler - ROW or SIO
-
Balance
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1190Mhz
Multicore power save - Enabled
AutoSMP - ON
On GPU
GPU max freq. - 450Mhz
GPU Gov - msm-adreno-tz
On I/O Scheduler
Scheduler - ROW or ZEN
-
Performance
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1593Mhz
Multicore power save - Disabled
AutoSMP - ON
On GPU
GPU max freq. - 600Mhz
GPU Gov - msm-adreno-tz
On I/O Scheduler
Scheduler - ZEN
Note about some features
Display types WORKING with DT2W/S2S/S2W:
mdss_dsi_mot_inx_720p_video_v0 (TITAN/THEA)
mdss_dsi_mot_cmi_720p_video_v2 (FALCON/PEREGRINE)
Display types NOT WORKING with DT2W/S2S/S2W:
mdss_dsi_mot_jdi_720p_video_v1 (TITAN/THEA)
mdss_dsi_mot_jdi_720p_video_v0 (TITAN/THEA)
mdss_dsi_mot_lgd_720p_video_v0 (FALCON/PEREGRINE)
If you don't have a working DT2W/S2S/S2W or don't like it you can disable it and/or use AcDisplay app or Anbient Display of your ROM instead.
To check which display type you have by going into terminal and type:
su
cat /proc/cmdline
Bugs
None by now, if you encounter one please make a post in this thread with steps to reproduce and if possible a LOGCAT and DMESG. A simple how to help me debug.
To do
Undervolt and Userspace Voltage Controller
OC of 1.8Ghz
More Hotplugs
More Govs
More I/O's (SIOplus,FIFO)
Added all features to all variants
Vibrator Intensity Control
Ram Underclock
Sched & Mutex Tweaks
Stock and GPE variants
WQ_POWER_EFFICIENT
LZO Compression image (Fast boot)
DOLBY_DAP dependency fix
Frandom
Filesystems support:
NTFS Support / EXT 2/3/4 support / F2FS (Most roms only support it at /data)
Optimized ARM RWSEM algorithm
Silence some logs
NEON in kernel mode
Misc Crypt tweaks
LMK tweaks and adaptive
More Security Patchs
Yankactive (Cause reboot at the moment),Yankdemand,Smartmax,Lionhert,Impulse,DanceDance,Bioshock
I/O's: ROW,NOOP,Deadline,CFQ,FIOPS,BFQ,SIO,VR,ZEN
All avaliable TCPs congestions on Android
How to git and build
Setting up and building
Basics of GIT
- How to build my kernel:
Code:
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=/path/to/toolchain/bin/arm-eabi-
make mrproper (cleans config files)
make clean (cleans already builded files)
make falcon_defconfig (or you device_defconfig)
make menuconfig (if you want to tweak the config)
make (I use this too -o2 -j4 CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_NO_ERROR_ON_MISMATCH=y)
How to cherry pick commits
Basically to cherry pick a commit you have to have it source and branch, this is a simple how to do it
First of all you need to set your upstream since it is a fork of CM/LOS or STOCK source:
Code:
git remote add upstream linkingithub.git
For example
Code:
git remote add upstream https://github.com/CyanogenMod/android_kernel_motorola_msm8226.git
so if you want to cherry pick a commit from me
Code:
git remote add bryanbytez mysourcelink.git
and after that you need to have my source locally but stay calm this wont mess you source
Code:
git fetch -all
To merge upstream changes (From CM/LOS or Motorola)
Code:
git merge upstream/cm-13.0
This will merge upstream cm branch cm-13.0 in your source code.
Misc help:
http://forum.xda-developers.com/showthread.php?t=2319018 (about boot.img, ramdisk and others)
https://stackoverflow.com/questions/2816715/branch-from-a-previous-commit-using-git (Unlike me you can just revert or create another branch based on the commit and not delete the whole source code )
https://stackoverflow.com/questions/4410091/github-import-upstream-branch-into-fork (Import a upstream branch on your fork)
And to revert a git: git revert sha1, example git revert eab5c8fef098548f0f00085196bbf40f41bf8ba1
​
Source/Credits
If you want to post this on your site or other forum it's okay just post a link to this thread too and the correct credits and if you can, pm me with link so i can see it too, thanks.
The GNU General Public License is a free, copyleft license for software and other kinds of works.
The GPL permits use, share, study and modify.
But this does not mean you should not give the deserved credit to the previous author.
So if you use my source code under GPL you must share with GPL too and quote me in the credits.
CM/LOS/AOSP Based Source
Stock/GPE Based Source
Thanks to:
GOD
The Real Dev's:
Motorola/Lenovo
LineageOS/CyanogenMod/AOSP/CAF Teams
A special thank you to @Kamin4ri to be answering questions from a noob
@hurtsky @pinkflozd @zakee94 @TeamMex (not a team ) @RenderBroken @alin.p @Flashhhh @Shivam Kuchhal @RolanDroid @attack11 @DC07 @frap129 @-decipher- @bedalus @MetalPhoenix45 @srisurya95 @para94 @chijure @Aayushya @neonkat and @faux123 for inspiration and commits (i guess that everyone that i pick a single commit is here... since i don't know yet to pick commits (picking commits automatically add the credits) a big thanks to all !)
@kwoktopus, for the tutorial how to build
And you the user!
If I forget someone please contact me and I will add here! [/FONT]​
XDA:DevDB Information
[Kernel][GPL][K-N][Falcon][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP], Kernel for the Moto G
Contributors
BryanByteZ
Source Code: https://github.com/BryanByteZero/android_kernel_motorola_msm8226
Kernel Special Features: OC/UC/DT2W/S2W/S2S/Sound Patchs and a lot more, check it!
Version Information
Status: Nightly
Current Stable Version: R3
Stable Release Date: 2017-02-22
Current Beta Version: R4
Beta Release Date: 2017-04-29
Created 2016-08-01
Last Updated 2017-05-01
Changelogs for CM/LOS/AOSP K/L/M/N
Changelogs for CM/AOSP K/L/M/N:
For Falcon and Peregrine
19/11/2016
No more MPDecision and CM PowerHAL
DT2W and S2W/S2S
Optimization Flags
Overclock and Underclock
Alucard Hotplug
AutoSMP Hotplug
Faux Sound 3.5
KCAL v2
High performance and low latency audio headset
KEXEC Hardboot patch
04/02/2017
Up-to-date with LOS source and Linux (now it's 3.4.113 the LTS version)
Intelliplug, AutoSMP and Alucard Hotplugs
Intellithermal
MSM-Limiter (you will need KernelAdiutor-MOD to use this feature)
Toggles for some wakelocks
ARCH_power
Gentle fair sleepers
Stereo call recording support
Reclaim RAM from loggers
Dynamic management of dirty page writebacks, expire and cache pressure
Some GPU patchs
SIO,VR,ZEN and Tripndroid I/O's
Powersuspend, LCD notify and state notifier
Dynamic FSYNC
CPU, GPU and RAM overclock
Simple GPU algorithm and AdrenoIdler
Enhanced audio with Faux Sound and low latency drivers and high performance mode
KCAL
KEXEC Hardboot patch
DT2W/S2S/S2W
Make optimizations
Powered by UBER STOCK Toolchain 4
22/04/2017
LATEST SOURCES
CPU OC/UC
GPU OC/UC
CPU boost
KCAL
faux Sound
High perf headset mode
OC RAM and slimbus
Intellithermal
Simple GPU Algorithm and AdrenoIdler
State notifier and Powersuspend
Alucard and AutoSMP hotplugs
Stereo call recording
Custom I/O's
Stock GOVS
KEXEC Hardboot patch
wakelock blocks
Fsync on/off
Power efficient workqueue
29/4/2017
DT2W/S2S/S2W
Bugs:
None by now,if you encounter one please make a post in this thread with steps to reproduce and if possible a LOGCAT and DMESG.
Reserved
Reserved
thanks man trying !
ralp88 said:
thanks man trying !
Click to expand...
Click to collapse
Okay ! Awaiting for you feedback!
I thought @kwoktopus made the tutorial thread..? :silly::silly::silly:
kwoktopus said:
I thought @kwoktopus made the tutorial thread..? :silly::silly::silly:
Click to expand...
Click to collapse
LOL Sorry i will update
REALLY A BIG THANKS TO YOU BRO!
BryanByteZ said:
LOL Sorry i will update
REALLY A BIG THANKS TO YOU BRO!
Click to expand...
Click to collapse
You're welcome! Great to see people taking steps into development!
New kernel, woohoooo:good::good::victory::victory: thanks bro, i test on Dirty Unicorns
willizambrano01 said:
New kernel, woohoooo:good::good::victory::victory: thanks bro, i test on Dirty Unicorns
Click to expand...
Click to collapse
Nice! Awaiting for feedback!
BryanByteZ said:
Nice! Awaiting for feedback!
Click to expand...
Click to collapse
Great kernel! Smooth, fast and stable, autosmp hotplug please ... waiting of good experience battery
willizambrano01 said:
Great kernel! Smooth, fast and stable, autosmp hotplug please ... waiting of good experience battery
Click to expand...
Click to collapse
Thanks! Sure autosmp!
Just a headsup people based on commit of SLATE21&MOTOG i fixed the flicker issue of KK ROMs on Lollipop bootloaders.
I just need to repair WiFi (thanks to my script) and i will upload it soon.
So a bin thank you to @SLATE21&MOTOG.
Sorry double post. Slow net speed here.
lol great xD can you add dynamic fsync, zzmoove and Overclock/underclock.
Chofito said:
lol great xD can you add dynamic fsync, zzmoove and Overclock/underclock.
Click to expand...
Click to collapse
I will look it, currently i trying to fix wifi in cm11 version and kexec and some more govs on cm13 and possible add DT2W since my power button is not that good.
New build on! for cm13 just a minor script optimization.
For cm11
v0 - CM11
Stock CM11 kernel with lastest sources and patched to work WiFi,Bluetooth and NO [email protected]!
New kernel, lol :highfive:
Smooth and fast on Resurrection Remix
+1
Nice work, buddy.
willizambrano01 said:
Great kernel! Smooth, fast and stable, autosmp hotplug please ... waiting of good experience battery
Click to expand...
Click to collapse
Ohhhhh yeaaahhhh,.. simple use with wifi and without mobile data, automatic brightness, very good :good::good::good:

[Kernel][GPL][K-N][Thea][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP]

READ ALL BEFORE ANYTHING!
ATTENTION
Code:
/*
I'm not (yet) a developer , I'm taking effort to put more choices of kernel for our great community.
This kernel is tweaked for best balance possible, if you want a feature quote me and i will see what i can do,
I will build this kernel when possible on my free time and because of it is a nightly and I will use this thread as a worklog too.
Thank you for using this kernel.
*/
Disclaimer
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Adapt, improve and evolve!​
Info:
Guys I created this kernel to Moto G 2013 (Falcon/Peregrine) and Moto G 2014 (Titan/Thea) in other words MSM8226 Motorola SoC baseds to learn, adapt some "unstable and unsafe" things as well to give a new life to my device, the plan is to support all Android versions avaliable for our device, I plan to do a better kernel with time and help of the comunity. This kernel is a nightly I will do it when I have a freetime or LineageOS update their sources or I add new features, it aims to be a rich feature kernel and a "perfection balance" between battery life and performance, this can be a UNSTABLE kernel, my routine will be build,upload and test, so stay tuned! I am open to suggestions. This is a kernel that don't work out-of-the-box the objetive of this kernel is give power to the user.
This kernel DO NOT WORK WITH STOCK MOTOROLA/GOOGLE PLAY EDITION ROM or IDCRISIS or AOSPARADOX.
On post 1:
#1 - Features and installation instructions
#2 - Downloads and kernel Source
#3 - Buglist and to do's
On post 2:
#1 - Changelog
​
Features (By now and latest one):
Based on 3.4.113 LTS Linux kernel and latest LOS/AOSP/CM/Motorola sources
Kexec hardboot patch (MultiROM support)
Governors: Interactive,Ondemand,Performance,Userspace,Conservative,Powersave
Hotplugs: AutoSMP and Alucard Hotplug
Overclocks and Underclocks (Attention this can be dangerous to your device! you have been warned!):
Overclocked CPU (up to 1.6Ghz),Overclocked GPU (up to 600Mhz) Overclocked RAM and Overclocked Slimbus for better audio
Intellithermal v2 to protect our device from heating
Sound: High performance Headset,Low latency playback Support,24 bits Playback Support,Enabled additional Moto G Exclusive Audio Channels TPA-a6165a2
Screen: DT2W and S2W/S2S, KCAL
GPU:Simple GPU Algorithm and AdrenoIdler
Misc: Init.d support, Fsync on/off, ARCH_Power, Gentle Fair Sleepers, Toggle for some wakelocks, Stereo Call Recording Support, Reclaim RAM from loggers, Powersuspend, State Notifier .
For full features list check my github.
Compiled with Arch Linux up-to-date and UBER Toolchain 4.9 and optimize flags[/COLOR]
Bootlogos
PREVIEWS ONLY CHECK DOWNLOADS SECTION FOR LINKS
Created by me and the others two by @Mattwmaster58:
Silver
{
"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"
}
Blue
Red
Downloads
(Folder on AFH) (Please DO NOT MIRROR, if one is down just post in the thread or pm me and i will repair!):
Cyanogenmod/AOSP for Falcon:
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
Cyanogenmod/AOSP for Peregrine:
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
Cyanogenmod/AOSP for Titan/Thean (Same defconfig):
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
NOTE:ALWAYS CHECK LAST PAGES TO SEE WHAT IS GOING ON!!!
LSpeed Profiles (OLD! LSpeed envolved too fast!) - Balance
Bootlogos: ZER0 Byte Bootlogo
Old releases of ZER0 and ZER0 Byte (Reborn) Kernel : AFH
Mirror: Github mirror and how to download
​
How to install
If you're on other kernel please at least DIRTY FLASH you ROM, thanks.
The kernel:
By recovery:
Using TWRP (Please use the latest one)
1. Put the zip at /sdcard > Reboot to recovery > Install > Chose the kernel zip > Confirm to flash > (optional) Wipe caches > Reboot.
or
By app:
2. Flash it using Flashify or similar app from Playstore.
The kernel scripts backup your current boot.img so if you want to restore just use Flashify or TWRP.
The Bootlogo:
Using TWRP (Please use the latest one)
1. Reboot to recovery > Install > Chose the bootlogo zip > Confirm to flash > Reboot and enjoy.
2. Flash it using Flashify or similar app from Playstore.
3. Extract the zip and on mfastboot (or just fastboot) enter this command: fastboot flash logo logo.bin
Recommendations/Tweaking
Gov Tuner a mod to tune govs based on profiles for better battery life, better performance, or a balance., I have added a lot of sound patchs but A.R.I.S.E. will blow your mind! so if you want a better sound on your Moto G I suggest you A.R.I.S.E the best one in my opinion or just Viper+Dolby. And the best of the best tweaks app LSpeed just download and select a profile from main screen and fell it! or tune it by yourself!
To tweak use Kernel Adiutor from Playstore (or XDA Link), the Kernel Adiutor-Mod (fork with more experimental features) at XDA or Synapse You will need this zip and download Synapse app from Playstore.
Info about tweaking kernel The best guide to it!
Better RAM management for FALCON/PEREGRINE/TITAN/THEA thanks to @Pupet_Master
-Download "Kernel Auditor" from the "Play Store" and open it
-Once inside, Swipe from left to right to show the side menu.
-Tap on "Low Memory Killer"
-Change to these custom settings:
Code:
Foreground Applications: 29mb
Visible applications: 61mb
Secondary Server: 157mb
Hidden Applications 227mb
Content Providers: 87mb
Empty Applications 191mb
-Swipe from left to right again and tap at the option "Virtual Memory"
-Change those settings from there:
Code:
dirty_ratio: 20
dirty_background_ratio: 5
dirty_expire_centisecs: 100
dirty_writeback_centisecs: 300
min_free_kbytes: 4096
oom_kill_allocating_task: 1
overcommit_ratio: 100
swappiness: 100
vsf_cache_pressure: 53
laptop_mode: 0
extra_free_kbytes: 24576
Z-RAM Disksize: 470mb
-Swipe from left to right again and tap at the "Profile" section
-Click at the "+" button and save the current settings on a new profile
-Holdon the new profile and choose the option "apply on boot"[/QUOTE]
This kernel does not ships with a default config, so here it is how to config (an example) a profile for battery/balance/performance:
Battery
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1190Mhz or 1094Mhz
Multicore power save - Aggressive
Alucard Hotplug - ON
On GPU
GPU max freq. - 450Mhz or 320Mhz (if dont play use 320Mhz)
GPU Gov - simple_ondemand or msm_adreno_tz with tweaked adreno idler
On I/O Scheduler
Scheduler - ROW or SIO
-
Balance
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1190Mhz
Multicore power save - Enabled
AutoSMP - ON
On GPU
GPU max freq. - 450Mhz
GPU Gov - msm-adreno-tz
On I/O Scheduler
Scheduler - ROW or ZEN
-
Performance
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1593Mhz
Multicore power save - Disabled
AutoSMP - ON
On GPU
GPU max freq. - 600Mhz
GPU Gov - msm-adreno-tz
On I/O Scheduler
Scheduler - ZEN
Note about some features
Display types WORKING with DT2W/S2S/S2W:
mdss_dsi_mot_inx_720p_video_v0 (TITAN/THEA)
mdss_dsi_mot_cmi_720p_video_v2 (FALCON/PEREGRINE)
Display types NOT WORKING with DT2W/S2S/S2W:
mdss_dsi_mot_jdi_720p_video_v1 (TITAN/THEA)
mdss_dsi_mot_jdi_720p_video_v0 (TITAN/THEA)
mdss_dsi_mot_lgd_720p_video_v0 (FALCON/PEREGRINE)
If you don't have a working DT2W/S2S/S2W or don't like it you can disable it and/or use AcDisplay app or Anbient Display of your ROM instead.
To check which display type you have by going into terminal and type:
su
cat /proc/cmdline
Bugs
None by now, if you encounter one please make a post in this thread with steps to reproduce and if possible a LOGCAT and DMESG. A simple how to help me debug.
To do
Undervolt and Userspace Voltage Controller
OC of 1.8Ghz
More Hotplugs
More Govs
More I/O's (SIOplus,FIFO)
Added all features to all variants
Vibrator Intensity Control
Ram Underclock
Sched & Mutex Tweaks
Stock and GPE variants
WQ_POWER_EFFICIENT
LZO Compression image (Fast boot)
DOLBY_DAP dependency fix
Frandom
Filesystems support:
NTFS Support / EXT 2/3/4 support / F2FS (Most roms only support it at /data)
Optimized ARM RWSEM algorithm
Silence some logs
NEON in kernel mode
Misc Crypt tweaks
LMK tweaks and adaptive
More Security Patchs
Yankactive (Cause reboot at the moment),Yankdemand,Smartmax,Lionhert,Impulse,DanceDance,Bioshock
I/O's: ROW,NOOP,Deadline,CFQ,FIOPS,BFQ,SIO,VR,ZEN
All avaliable TCPs congestions on Android
How to git and build
Setting up and building
Basics of GIT
- How to build my kernel:
Code:
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=/path/to/toolchain/bin/arm-eabi-
make mrproper (cleans config files)
make clean (cleans already builded files)
make falcon_defconfig (or you device_defconfig)
make menuconfig (if you want to tweak the config)
make (I use this too -o2 -j4 CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_NO_ERROR_ON_MISMATCH=y)
How to cherry pick commits
Basically to cherry pick a commit you have to have it source and branch, this is a simple how to do it
First of all you need to set your upstream since it is a fork of CM/LOS or STOCK source:
Code:
git remote add upstream linkingithub.git
For example
Code:
git remote add upstream https://github.com/CyanogenMod/android_kernel_motorola_msm8226.git
so if you want to cherry pick a commit from me
Code:
git remote add bryanbytez mysourcelink.git
and after that you need to have my source locally but stay calm this wont mess you source
Code:
git fetch -all
To merge upstream changes (From CM/LOS or Motorola)
Code:
git merge upstream/cm-13.0
This will merge upstream cm branch cm-13.0 in your source code.
Misc help:
http://forum.xda-developers.com/showthread.php?t=2319018 (about boot.img, ramdisk and others)
https://stackoverflow.com/questions/2816715/branch-from-a-previous-commit-using-git (Unlike me you can just revert or create another branch based on the commit and not delete the whole source code )
https://stackoverflow.com/questions/4410091/github-import-upstream-branch-into-fork (Import a upstream branch on your fork)
And to revert a git: git revert sha1, example git revert eab5c8fef098548f0f00085196bbf40f41bf8ba1
​
Source/Credits
If you want to post this on your site or other forum it's okay just post a link to this thread too and the correct credits and if you can, pm me with link so i can see it too, thanks.
The GNU General Public License is a free, copyleft license for software and other kinds of works.
The GPL permits use, share, study and modify.
But this does not mean you should not give the deserved credit to the previous author.
So if you use my source code under GPL you must share with GPL too and quote me in the credits.
CM/LOS/AOSP Based Source
Stock/GPE Based Source
Thanks to:
GOD
The Real Dev's:
Motorola/Lenovo
LineageOS/CyanogenMod/AOSP/CAF Teams
A special thank you to @Kamin4ri to be answering questions from a noob
@hurtsky @pinkflozd @zakee94 @TeamMex (not a team ) @RenderBroken @alin.p @Flashhhh @Shivam Kuchhal @RolanDroid @attack11 @DC07 @frap129 @-decipher- @bedalus @MetalPhoenix45 @srisurya95 @para94 @chijure @Aayushya @neonkat and @faux123 for inspiration and commits (i guess that everyone that i pick a single commit is here... since i don't know yet to pick commits (picking commits automatically add the credits) a big thanks to all !)
@kwoktopus, for the tutorial how to build
And you the user!
If I forget someone please contact me and I will add here! [/FONT]​
XDA:DevDB Information
[Kernel][GPL][K-N][Thea][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP], Kernel for the Moto G 2014 LTE
Contributors
BryanByteZ
Source Code: https://github.com/BryanByteZero/android_kernel_motorola_msm8226
Kernel Special Features: OC/UC/DT2W/S2W/S2S/Sound Patchs and a lot more, check it!
Version Information
Status: Nightly
Current Stable Version: R3
Stable Release Date: 2017-02-22
Current Beta Version: R4
Beta Release Date: 2017-04-29
Created 2017-04-30
Last Updated 2017-05-01
Changelogs for CM/LOS/AOSP K/L/M/N
Changelogs for CM/AOSP K/L/M/N:
For Falcon and Peregrine
19/11/2016
No more MPDecision and CM PowerHAL
DT2W and S2W/S2S
Optimization Flags
Overclock and Underclock
Alucard Hotplug
AutoSMP Hotplug
Faux Sound 3.5
KCAL v2
High performance and low latency audio headset
KEXEC Hardboot patch
04/02/2017
Up-to-date with LOS source and Linux (now it's 3.4.113 the LTS version)
Intelliplug, AutoSMP and Alucard Hotplugs
Intellithermal
MSM-Limiter (you will need KernelAdiutor-MOD to use this feature)
Toggles for some wakelocks
ARCH_power
Gentle fair sleepers
Stereo call recording support
Reclaim RAM from loggers
Dynamic management of dirty page writebacks, expire and cache pressure
Some GPU patchs
SIO,VR,ZEN and Tripndroid I/O's
Powersuspend, LCD notify and state notifier
Dynamic FSYNC
CPU, GPU and RAM overclock
Simple GPU algorithm and AdrenoIdler
Enhanced audio with Faux Sound and low latency drivers and high performance mode
KCAL
KEXEC Hardboot patch
DT2W/S2S/S2W
Make optimizations
Powered by UBER STOCK Toolchain 4
22/04/2017
LATEST SOURCES
CPU OC/UC
GPU OC/UC
CPU boost
KCAL
faux Sound
High perf headset mode
OC RAM and slimbus
Intellithermal
Simple GPU Algorithm and AdrenoIdler
State notifier and Powersuspend
Alucard and AutoSMP hotplugs
Stereo call recording
Custom I/O's
Stock GOVS
KEXEC Hardboot patch
wakelock blocks
Fsync on/off
Power efficient workqueue
29/4/2017
DT2W/S2S/S2W
Bugs:
None by now,if you encounter one please make a post in this thread with steps to reproduce and if possible a LOGCAT and DMESG.
Reserved
Reserved
Interesting, Ill check it out later. Btw, is there any difference between Thea and Titan kernels at all?
Arcline said:
Interesting, Ill check it out later. Btw, is there any difference between Thea and Titan kernels at all?
Click to expand...
Click to collapse
Well since Thea doesnt have a defconfig I used the same of Titan, should work fine. They all are MSM8226 SoC's.
Better RAM management for FALCON/PEREGRINE/TITAN/THEA big thanks to @Pupet_Master
-Download "Kernel Auditor" from the "Play Store" and open it
-Once inside, Swipe from left to right to show the side menu.
-Tap on "Low Memory Killer"
-Change to these custom settings:
Code:
Foreground Applications: 29mb
Visible applications: 61mb
Secondary Server: 157mb
Hidden Applications 227mb
Content Providers: 87mb
Empty Applications 191mb
-Swipe from left to right again and tap at the option "Virtual Memory"
-Change those settings from there:
Code:
dirty_ratio: 20
dirty_background_ratio: 5
dirty_expire_centisecs: 100
dirty_writeback_centisecs: 300
min_free_kbytes: 4096
oom_kill_allocating_task: 1
overcommit_ratio: 100
swappiness: 100
vsf_cache_pressure: 53
laptop_mode: 0
extra_free_kbytes: 24576
Z-RAM Disksize: 470mb
-Swipe from left to right again and tap at the "Profile" section
-Click at the "+" button and save the current settings on a new profile
-Holdon the new profile and choose the option "apply on boot"[/QUOTE]
Just flashed the kernel on thea running the latest nightly of LOS. How to enable DT2W ? Tried with Synapse, but everytime I enable the option and lock the screen, the device just reboots. The display type of my XT1072 is mdss_dsi_mot_inx_720p_video_v0.
danielbraileanu said:
Just flashed the kernel on thea running the latest nightly of LOS. How to enable DT2W ? Tried with Synapse, but everytime I enable the option and lock the screen, the device just reboots. The display type of my XT1072 is mdss_dsi_mot_inx_720p_video_v0.
Click to expand...
Click to collapse
Yep I aware of this, is happening on Titan too when I have time I will look. Can you grab me some logs?
Thanks!
Sent from my Xiaomi Redmi 4A using XDA Labs
Can't make Synapse to work again, will provide logs if I figure out Synapse...also Google keyboard seems to have a problem launching after flashing the kernel
L.E: Got it working... here's the logcat. zipped it because txt exceeded max allowed size
danielbraileanu said:
Can't make Synapse to work again, will provide logs if I figure out Synapse...also Google keyboard seems to have a problem launching after flashing the kernel
L.E: Got it working... here's the logcat. zipped it because txt exceeded max allowed size
Click to expand...
Click to collapse
Thanks I will analyze on free time. You can use unified synapse the link is on OP.
Sent from my Xiaomi Redmi 4A using XDA Labs
Hi, i don't speak english, sorry for the language/grammar mistakes
I flash this kernel (R4 for cm12.1) on the last build of official Cyanogenmod 12.1 in thea model (cm12-20151129-nightly) and the camera doesn't work. I don't know how make a logcat, but if reflashing with stock kernel of this cm12.1 build, the camera works again.
any solution?
Thanks for this great kernel Bryan
Thea0152 said:
Hi, i don't speak english, sorry for the language/grammar mistakes
I flash this kernel (R4 for cm12.1) on the last build of official Cyanogenmod 12.1 in thea model (cm12-20151129-nightly) and the camera doesn't work. I don't know how make a logcat, but if reflashing with stock kernel of this cm12.1 build, the camera works again.
any solution?
Thanks for this great kernel Bryan
Click to expand...
Click to collapse
Use this tutorial to make a logcat:
https://forum.xda-developers.com/showthread.php?t=1726238
this logcat is of AOSP 5.1.1 of LuK1337
https://basketbuild.com/filedl/devs.../F-AOSP/thea/AOSP-5.1.1-20150916-thea-luk.zip
The kernel works fine, but have the same problem of cm12.1 , the camera not works
Sorry for the bad english
The log is generated with App Logcat extreme
Thea0152 said:
Hi, i don't speak english, sorry for the language/grammar mistakes
I flash this kernel (R4 for cm12.1) on the last build of official Cyanogenmod 12.1 in thea model (cm12-20151129-nightly) and the camera doesn't work. I don't know how make a logcat, but if reflashing with stock kernel of this cm12.1 build, the camera works again.
any solution?
Thanks for this great kernel Bryan
Click to expand...
Click to collapse
danielbraileanu said:
Use this tutorial to make a logcat:
https://forum.xda-developers.com/showthread.php?t=1726238
Click to expand...
Click to collapse
Thea0152 said:
this logcat is of AOSP 5.1.1 of LuK1337
https://basketbuild.com/filedl/devs.../F-AOSP/thea/AOSP-5.1.1-20150916-thea-luk.zip
The kernel works fine, but have the same problem of cm12.1 , the camera not works
Sorry for the bad english
The log is generated with App Logcat extreme
Click to expand...
Click to collapse
Logcat is not the log that I expected (kernel log is dmesg and last_kmsg) andi didn't messed with camera (KSM in kk days always bug camera LoL) in anyway but I've added to my analyzes to do and flr curiosity in stock/others kernel or other custom ROMs is working?
And thanks for the feedback!
PS: Did you have tried other camera app?
Sent from my Motorola Moto G using XDA Labs
BryanByteZ said:
Logcat is not the log that I expected (kernel log is dmesg and last_kmsg) andi didn't messed with camera (KSM in kk days always bug camera LoL) in anyway but I've added to my analyzes to do and flr curiosity in stock/others kernel or other custom ROMs is working?
And thanks for the feedback!
PS: Did you have tried other camera app?
Click to expand...
Click to collapse
I only test this kernel in cm12 and aosp 5.1.1. I try with others camera app (google cardboard and open source camera, both are of the play store) and don't work on aosp.
in the night i try make a kernel log
Thanks for this fantastic kernel.
Good Work Man, thanks for saving our device!!!
Bom trabalho mano, obrigado por salvar nossos celulares!!!
Does this work on 7.1.2? I don't think there is another kernel for it for this phone anymore.
FlappyFalcon said:
Does this work on 7.1.2? I don't think there is another kernel for it for this phone anymore.
Click to expand...
Click to collapse
It should, in case of not the script makes a backup of old boot.img but for sure make a backup first.
Feedback is appreciated.
Sent from my Xiaomi Redmi 4A using XDA Labs
fail to boot
In the rom darkness redefined (7.1.2) after i flash the kernel, when i try to boot, return to bootloader screen with the message "fail to boot". What i have to do?
lucasecto said:
In the rom darkness redefined (7.1.2) after i flash the kernel, when i try to boot, return to bootloader screen with the message "fail to boot". What i have to do?
Click to expand...
Click to collapse
Probably old kernel. Restore your backup or flash with TWRP the old kernel img that my script backup.
Sent from my Xiaomi Redmi 4A using XDA Labs

[CLOSED][Kernel][mido] ReVolt Kernel [Los/Aosp]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
* Your Warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, dead dogs, or cats,
* but i'm very interest in thermonuclear war, so if you point the finger
* at me for messing up your device just because this kernel, I will
* send you to the mars with Nuclear Rocket. Act accordingly.
* I know this paragraph is conspiracy-included, so
* dont ask about it. Welcome.
*/
ReVolt Kernel For Redmi Note 4​
Features :
--Upstream to 3.18.99 & based on LA.UM.6.6.r1-06700-89xx.0 caf tag
--Android O (8.0&8.1) only
--New display supported
--Compiled with Linaro 7.x A53 tool-chain
--Optimized for msm8953 chip
--KCAL color control
--Sound control
--Pdesire audio drivers
--GPU boost added
--Virtual memory : KSM,ZRAM, ZCACHE & FONT SWAP
--Misc : Dynamic Fsync, Arch Power,CRC & Gentle fair sleepers toogle
--Added Intelitermal solution
--I/O SCHEDULERS :FIOPS,MAPLE,SIO,BFG,CFQ,deadline,noop
--Gpu oc to 750 MHz [removed]
-- Governor :Blue_active,,chill,relaxed ,conservative, ondemand, userspace, powerspace, interactive, performance.
--Tweaked interactive /electron governor
--Early suspend driver
--Vibration intensity control
--F2FS support
--Fingerprint sensor boost driver
--exFAT Support
--Disabled CRC check (up to 30% faster I/O)
--Blocked many wakelocks
--USB fast charge
--KSM optimization
--Zram optimization
--random updated to 4.2
--Frandom number generator
--HZ 100 for best performance
--HW 32,chacha20poly1305,poly1305 & SHA256 cypto support
--Load average fix
--Optimized SHA256
--Nvidia power saving tunnigs
--Ardeno idler
--Lazyplug hotplug [removed]
--Power suspend
--Quick wakeup
--USB fast charge 2.0
--KCAL color control
--Wireguard support
--Gestures :
*Swipe to wake
*Swipe to sleep
*Double tap to wake
--Boeffla wakelocker
-- TCP congestion algorithm : bic,cubic, htcp, highspeed, vegas, reno, scalable, lp, , illinois, Westwood,hybla,veno,yeah
--spectrum support
--Works in both AOSP/LineageOS based ROMs
--General Performance & Battery life optimizations
And more you can find on my GitHub in commits
DOWNLOADS on this post ​
Credits :
- LINUS for the sources
- @LordArcadius
- @DroidTug
[email protected]
- @franciscofranco
[email protected]
[email protected]
[email protected]
- @Arnav Gosain​
-all the other developers from i cherry-picked commits
-all the other testers:silly:
For support join our telegram group
ReVolt group
Requirements
*Mido
*Working brain
*Basic understanding on how to read things
*Capability to use Google.com
*Not messing things up ,just to look cool
XDA:DevDB Information
[Kernel][mido] ReVolt Kernel [Los/Aosp], Kernel for the Xiaomi Redmi Note 4
Contributors
Boomshiva, NATO66613
Source Code: https://github.com/kondors1995/android_kernel_xiaomi_msm8953
Kernel Special Features: Compiled with Linaro 7.x A53 tool-chain && Optimized for msm8953 chip
Version Information
Status: Stable
Current Stable Version: O-R-20
Stable Release Date: 2018-03-17
Created 2017-10-22
Last Updated 2018-03-17
DOWNLOADS​
Nougat {dropped support }
Oreo
Changelogs
17/03/2018
Code:
*upstream to 3.18.99
*updated to caf LA.UM.6.6.r1-06700-89xx.0.xml
*compiled with my own uber tc gcc 7.3
*Added YouTube crash fix
*Added features back (based on v19)
08/03/2018
Code:
*Upstreamed to 3.18.98
*prima updated to caf LA.UM.6.6.r1-06500-89xx.0
*Switched camera stack from old mido N to caf LA.UM.6.6.r1-06500-89xx.0* (latest Oreo caf)
*Changed Ardeno idler implementation to use display state api instead of state notifier api
*Sources based on omni sources
*Fixed youtube issues (as reported by users )
*Few features like spectrum support , few TCP algorithm , others removed as its initial build, will be added later
*Misc changes
27/02/2018
Code:
Updated to 3.18.96
Updated sdcardfs
Few improvement for battery conservation
25/02/2018
Code:
Updated to 3.18.95
f2fs: updates on v4.16-rc1
Added Speck cipher support
HZ set to 1000
Improved charging
Updated QNS system
improvements to ARCH power & gentle fair sleepers
Improved Impedance detection;
Improved Sampling formats;
Improved Samplerates;
Improved SoundControl;
Added some sound tables.
Added Intelitermal V3 optimized
10/02/2018
Code:
Updated to 3.18.94
GPU improvements
Enabled D2W
Improved D2W & SW2 responsiveness
Touch-sensor improvements
Updated mm controller
07/02/2018
Code:
*Omnivision cam fix
*Binder switched to aosp
*Misc fixes and optimization
05/02/2018
Code:
*updated prima
*sdcardfs
*cpuidle improvments
*and many misc changes
03/02/2018
Code:
Updated to caf LA.UM.6.6.r1-06200-89xx.0
updated F2FS for batery life
Some GPU stuff
Misc changes
Batery life improvents
01/02/2018
Code:
updated to 3.18.93
misc AOSP changes
Boeffla wakelock blocker ( war against deepsleep):p
And few optimisation here and there for better user experience .
23/01/2018
Code:
)Addressed deep sleep issue and included a possible fix for that.
2)sorted out system has been destroyed issue
20/01/2018
Code:
Upstreamed to 3.18.92
Updated f2fs
Merge aosp changes to arm64
Misc updates
16/01/2018
Code:
Cpu boost
Arm64 instructions updates
Added gestures (swipe gesture) wake /sleep
Improved fp responsiveness
And many more fixes under the hood
05/01/2018
Code:
Fix for new display
Upstreamed to 3.18.91
Caf updates
Updated bfq to r8v12
Reverted many dts changes doe to reported cam / boot issues
Many more misc fixes
02/01/2018
Code:
upstreamed to 3.18.90
Caf updates
Updated DTS
misc fixes
Rebased to new sources
More Oreo optimization.
Interactive set as default
24/12/2017
Code:
Upstreamed to 3.18.89
Updated AOSP sources
Updated CAF tags
Added all remaining features from nougat
Fixed hdr
F2FS updated
Added RCU boost
Optimized adreno idler
Made changes in adreno boost
Updated ZRAM && swap
Improved memory management
Improved ram management && optimized for performance
Updated battery profile in spectrum
Added WIREGUARD support
15/12/2017
Code:
kernel is rebased on oreo base (works with nougat too) and optimized
updated to 3.18.87
It works on Oreo roms 8.0 /8.1
baseed of LA.UM.6.6.r1-04500-89xx.0 caf tag
Removed multiple features to debloat kernel
Tunned more for msm8953 chipset
updated devfreq ( GPU drivers)
updated cpuidle (cpu powersaving stuff)
19/11/2017
Code:
Updated to 3.18.82
Fixed krack vulnerability
Updated prima driver
Led drivers [new drivers]
18/11/2017
Code:
updated to 3.18.81
Updated cypto from according to 3.18 aosp changes
updated CAF to LA.UM.5.6.r1-06300-89xx.0
Led drivers fixed[old drivers] ..(notification light works now )
Manuals && Announcement:
Installation instructions:
download the kernel from above links (post 3)
Boot to twrp
flash the zip
reboot
If coming from another custom kernel :
Extract the boot.img from your current rom zip
boot to twrp
flash the extracted boot.img
flash the kernel (revolt kernel zip)
flash magisk or super su (optional )
reboot
swipe gestures
Watch a video how it works (reference is of one plus ) :
https://www.youtube.com/watch?v=UvyUJxna-1E
How to take logs ?
Check the below thread
https://forum.xda-developers.com/showthread.php?t=2185929
General flashing way
This is how u should flash stuff
Rom+gapps+root+mods(sound,kernel etc )
When flashing stock kernel
Kernel +root
Flashing custom kernel after stock
Stock kernel +root+custom kernel
Check the zip is corrupt or not my comparing the md5(available on afh )
Still if U are getting system destroyed then check what u have done wrong .
Like
1) what magisk modules u guys are using
2) xposed is there or NOT
3)data is encrypt or not
4) mount system partition issues
5) outdated recovery
5)changed system file partition
Good Job @Kevin Saiza
Reserved
If it's the same kernel source from Soviet kernel, it probably has the MTP bug. Takes always connecting to MTP. Also the boot animation hangs a little bit in the start. I am not sure about this one specifically. But from the looks of it seems to be the same kernel.
Going to test now!
Do the OC-s are overvolting, or 2.2 GHz uses the same voltage which uses 2.0GHz? And the GPU oc?
MIUI MM supported ??
Work on RR rom
magnum_2007 said:
If it's the same kernel source from Soviet kernel, it probably has the MTP bug. Takes always connecting to MTP. Also the boot animation hangs a little bit in the start. I am not sure about this one specifically. But from the looks of it seems to be the same kernel.
Click to expand...
Click to collapse
To fix MTP , Add this to build.prop and report .
kaushal_1711 said:
MIUI MM supported ??
Click to expand...
Click to collapse
Only for Nougat & Oreo
david kapek said:
Work on RR rom
Click to expand...
Click to collapse
Spectrum support is also present . You can use that too .
holozis_HUN said:
Going to test now!
Do the OC-s are overvolting, or 2.2 GHz uses the same voltage which uses 2.0GHz? And the GPU oc?
Click to expand...
Click to collapse
No Over volting
Kevin Saiza said:
To fix MTP , Add this to build.prop and report .
Click to expand...
Click to collapse
What to add in build.prop ?
Sorry its in op saw r8 now
david kapek said:
Work on RR rom
Click to expand...
Click to collapse
Should work on RR and all custom Nougat and Oreo roms
itsRJT said:
What to add in build.prop ?
Click to expand...
Click to collapse
Add The code in OP
Folder in miui is blank
Wow. Thanks man for many features. i glad for see hotplug kernel. But not work on my aosp rom lazyplug.
exodius48 said:
Folder in miui is blank
Click to expand...
Click to collapse
As soon as kernel is tested it will be uploaded .

[KERNEL][O/MIUI][4.4.140+] ★BlackBox-Kernel-R1.5★ | Darker Than Your Ex's Heart

[KERNEL][O/MIUI][4.4.140+] ★BlackBox-Kernel-R1.5★ | Darker Than Your Ex's Heart
{
"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"
}
BlackBox Kernel "R"-Edition
(Redmi Note 5 Pro - WhyRed)​R-Edition of this Kernel will always be focused on Stability and the X-Edition will be Focused on Experimental features. This Thread is for R-Edition of BlackBox Kernel. ​Compatibility:
Every Oreo Based ROM
-LineageOS
-Resurection Remix
-Mokee ROM
-AEX
-DOTOS
-ETC
[*] WORKS ON MIUI TOO
Features:
Epic Battery Life
No Tweaking Needed - Kernel takes care of everything! Flash and Forget!
WhyRed: Enable KCAL Color Control
Enable Boeffla WakeLock Blocker
Adreno Idler & Simple GPU Algorithm
Viberation Strength Control
Adreno Boost
Added UKSM (Special Thanks to @haseo97)
Added and Enabled Westwood (Default) and Other Congestion Control
Fsync on/off Support
WireGuard Kernel Integration
CPU Wake Boost Driver Enabled for WhyRed
Optimized Console FrameBuffer
Updated Camera Drivers (Video Recording Fixed)
Various Patches for Battery Efficiency and CPU Tweaks. Thanks to @sultanxda
Misc ARM Patches, VFS Cache Reduced to 50
CPU Freq: Patches
Disabled GFS: Improves UI Responsiveness.
TCP: Initial window size (Net Speed Improvement)
Enabled F2FS Support
Dirty Ratio & Dirty Background Ratio Tweaks
NOATIME and NODIRATIME by default ~20-30% Linux Disk Performance Gain
Disabled CRC Check - mmc: disable crc check for 30% extra performance
Compiled with Clang 7.0.2
Built on Stable Kernel Source by TeamWhyRed
Updated CAF to LA.UM.6.2.r2-03900-sdm660.0
Upstreamed to Latest Kernel Version - 4.4.140 (Check Here - https://www.kernel.org/)
Seperate Builds for MIUI and Custom ROMs (Fixed Brightness for Both, can't have the same source for both)
To Do List:
Release X (Experimental) Version of this Kernel for Overclocking, Special Drivers, Etc(Will Have a Seperate Thread)
Add well known BlackBox patches to this Kernel
Add More Governors
Add More I/O Schedulers
Listen to the Users
Installation:
Download the Flashable Kernel Zip
Flash using TWRP or Equivalent Recoveries
Restart and Let the Kernel take care of everything
Download Link: Download Latest BlackBox-R-Edition
Want to Learn how to make Kernel's and ROM's? - Video Tutorials on My Channel
My Github Profile - Kunal Kene on Github
Want to Buy Me a Coffee? - Donate to Kunal Kene on PayPal
XDA:DevDB Information
[KERNEL][O/MIUI][4.4.140+] ★BlackBox-Kernel-R1.5★ | Darker Than Your Ex's Heart, Kernel for the Xiaomi Redmi Note 5 Pro
Contributors
Kunal.Kene.1797
Source Code: https://github.com/BlackBox-Kernel/blackbox_whyred_TWR
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R1.5
Created 2018-06-02
Last Updated 2018-07-18
Changelog
BlackBox-R1.5 - 19/07/2018:
Merge tag 'v4.4.140' into BlackBox R
Added UKSM (Special Thanks to @Haseo97)
Add and Enable Westwood and Others
Enable Simple GPU Algorithm
Few Other Patches for battery and Performance
Seperate Builds for MIUI and Custom ROMs (Fixed Brightness for Both, can't have the same source for both)
BlackBox-R1.4 - 25/06/2018:
Adreno Idler
Viberation Strength Control
Upstreamed Linux Kernel to v4.4.138
Block more Wakelocks
BlackBox-R1.3 - 10/06/2018:
Updated Camera Drivers (Video Recording Fixed)
Various Patches for Battery Efficiency and CPU Tweaks. Thanks to @Sultanxda
Updated CAF to LA.UM.6.2.r2-03900-sdm660.0
Upstreamed Linux Kernel to v4.4.136
Works on MIUI (Auto brightness a little broken, will be fixed soon )
BlackBox-R1.2 - 06/06/2018:
WiFi Fix for people with WiFi Problems
WhyRed: Enable KCAL Color Control
Enable Boeffla WakeLock Blocker
Fsync on/off Support
Adreno Boost
BlackBox-R1.1 - 05/06/2018:
WireGuard Kernel Integration
CPU Wake Boost Driver Enabled for WhyRed
Optimized Console FrameBuffer
Misc ARM Patches, VFS Cache Reduced to 50
CPU Freq: Patches
Disabled GFS: Improves UI Responsiveness.
TCP: Initial window size (Net Speed Improvement)
BlackBox-R1.0 - 02/06/2018:
Epic Battery Life
No Tweaking Needed - Kernel takes care of everything! Flash and Forget!
Enabled F2FS Support
Dirty Ratio & Dirty Background Ratio Tweaks
NOATIME and NODIRATIME by default ~20-30% Linux Disk Performance Gain
Disabled CRC Check - mmc: disable crc check for 30% extra performance
Compiled with Clang 7.0.2
Built on Stable Source
How to Report and Request Feature? Post Logs if Needed! Be specific on feature for requests. :highfive:​
Reserved
TELEGRAM GROUP FOR THIS KERNEL -> Join BlackBox Kernels - WhyRed Telegram Group
KERNEL BASE SOURCE -> On Github Thanks to @Shahan_mik3 & vasishath
CREDITS FOR THE PATCHES, DRIVERS AND MODS GOES TO THEIR CREATORS WHOM YOU CAN FIND IN THE COMMITS SECTION
AND FINALLY THANKS TO BETA TESTERS
@ayushk780 for testing the WiFi Fixed Version on AEX (BlackBox-R1.2)
Yeah ...thankx
Thanks dev ?
Sorry for lame question but since Mokee is a lil bit uniqe... do you think it should work with it?
alreadyregistered said:
Sorry for lame question but since Mokee is a lil bit uniqe... do you think it should work with it?
Click to expand...
Click to collapse
Haven't Tested it on Mokee, but shouldn't have any Issues! Can you confirm it for us?
Pls make it stable always ...don't OC/UC kernel or useless patches ...gonna flash in RR O
blackman01 said:
Pls make it stable always ...don't OC/UC kernel or useless patches ...gonna flash in RR O
Click to expand...
Click to collapse
In our case OC would make sense because we have an underclocked Snapdragon 660. Same for our GPU, it's an underclocked Adreno 512. However, a stable kernel is more important (for me).
blackman01 said:
Pls make it stable always ...don't OC/UC kernel or useless patches ...gonna flash in RR O
Click to expand...
Click to collapse
Don't worry the R-Edition of this Kernel will always be focused on Stability and the X-Edition will be Focused on Experimental features. This Thread is the R-Edition Thread. :fingers-crossed:
Try it or die said:
In our case OC would make sense because we have an underclocked Snapdragon 660. Same for our GPU, it's an underclocked Adreno 512. However, a stable kernel is more important (for me).
Click to expand...
Click to collapse
Whyed has 636 brada ...
blackman01 said:
Whyed has 636 brada ...
Click to expand...
Click to collapse
WHICH is an underclocked 660. Which is an underclocked 820 (with a ****tier gpu). What does not make sense?
Kunal.Kene.1797 said:
Haven't Tested it on Mokee, but shouldn't have any Issues! Can you confirm it for us?
Click to expand...
Click to collapse
Surely, but 2mrw.
blackman01 said:
Whyed has 636 brada ...
Click to expand...
Click to collapse
Snapdragon 636 = Snapdragon 660, just a lower clock.
Is there sound control in this kernel?
WiFi is not working, anyone else with that problem?
I can attach logs if needed.
Is This kernel fix video recording issue in RR , asking because u mantion built with miui stable sources.
alreadyregistered said:
Sorry for lame question but since Mokee is a lil bit uniqe... do you think it should work with it?
Click to expand...
Click to collapse
I can confirm its working on mokee rom:good:
Try it or die said:
WiFi is not working, anyone else with that problem?
I can attach logs if needed.
Click to expand...
Click to collapse
wifi fine here, latest RR
Im gonna review in these days, thanks for kernel!
Try it or die said:
WiFi is not working, anyone else with that problem?
I can attach logs if needed.
Click to expand...
Click to collapse
gaurav055 said:
Is This kernel fix video recording issue in RR , asking because u mantion built with miui stable sources.
Click to expand...
Click to collapse
WiFi is working normally! which ROM are u on? try Reflashing and Restarting. Anyone else facing this?
@gaurav the focus hunting issue on RR or any is because MIUI sources are partially broken. will be fixed soon! and when it is, you will be notified in the changelog!

Categories

Resources