[Discontinued][Kernel][AOSP/LineageOS/MIUI] KaminariKernel R12 [04 March 2018] - Moto G Android Development

This project is no longer being maintained. I'm no longer developing for the G1/G2 family.
KaminariKernel​
Code:
#include "std_disclaimer.h"
/*
* Your warranty is now more void than it already was.
*
* 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 grab my popcorn and laugh at you.
*
* Tl;dr: if your device crashes and burns, and if that gets you in trouble, it's entirely your fault. [STRIKE]Might be my fault as well, because I'm not a developer, but I don't care. lol[/STRIKE]
*/
Hiya fellas.
This is a sister project to my original (and ridiculously outdated) kernel for stock ROMs only. The version in this thread is the one designed to work with anything that isn't the stock firmware, i.e., AOSP, AospExtended, LineageOS, Resurrection Remix,... You name it. Even MIUI, which can be a b**** to get custom kernels supported on.
Features:
Sources & Optimizations
- Based on Lineage's shared falcon/peregrine/titan/thea sources
- Compiled with Linaro 4.9
- Optimized ARM RWSEM & Square Root algorithms
- Kernel-side NEON mode
- Some miscellaneous armv7 tweaks
Click to expand...
Click to collapse
Hotplugging Drivers
- MSM Hotplug
Click to expand...
Click to collapse
Extra CPU Governors
- Impulse
- Smartmax
- Yankactive
- Zzmoove
Click to expand...
Click to collapse
Extra I/O Schedulers
- Bfq
- Fiops
- Sio
- Vr
- Zen
Click to expand...
Click to collapse
Sound
- Faux's Sound Control
- Headset High Performance Mode
Click to expand...
Click to collapse
Screen/GPU
- Kcal Screen Control
- Dt2w/s2w
- Simple GPU Algorithm
- GPU overclock & underclock (533MHz/100MHz)
Click to expand...
Click to collapse
Extra Sh*t
- CPU Overclock (up to 1.6 GHz) (Overclocked version only)
- USB Fast Charge
- Disabled gentle fair sleepers
- Extra TCP Congestion Controllers
- Fsync enabled by default
- Kexec-hardboot patch (for multirom compatibility)
- Power-efficient workqueues
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Downloads:
Unified Marshmallow & Nougat (CM/LineageOS 13 & 14.x)
Click to expand...
Click to collapse
Looking for previous releases?
Go here.
Click to expand...
Click to collapse
Flashing & Tweaking Instructions (Follow this very carefully!!!):
- Place the zip at the root of your phone's internal storage
- Reboot into recovery
- Flash the zip
(Another way: Reboot into recovery without copying the zip, and flash it via adb sideload)
- Reboot again and have fun!
Coming from another kernel which isn't mine? Don't worry, no need to dirty flash the ROM/kernel anymore. The install script now does all the dirty work for you.
If you wanna "tweak ALL the things", use Kernel Adiutor! (Synapse is NOT supported!)
Click to expand...
Click to collapse
Want some info on what this kernel offers you?
Then go here! (Credits to @AssToast for suggesting and to @gsstudios for creating the site!)
Click to expand...
Click to collapse
"Thank You" Section
- Motorola/Lenovo
- Qualcomm/CodeAurora
- The CyanogenMod team
- @Flashhhh, his work kinda inspired me to do this
- @faux123, for Sound Control & Intellithermal
- @savoca, for Kcal Screen Control
- @hurtsky, a huge load of cherry-picks came from his sources
- @YoshiShaPow, for some more stuff
- Some more fellas whose names I can't remember
Click to expand...
Click to collapse
XDA:DevDB Information
KaminariKernel (AOSP/LineageOS, Falcon), Kernel for the Moto G
Contributors
kingkaminari
Source Code: https://github.com/Kamin4ri/KaminariKernel/
Kernel Special Features:
Version Information
Status: Abandoned
Current Stable Version: R12
Stable Release Date: 2018-03-04
Created 2016-01-13
Last Updated 2018-05-17

F.A.Q. (Read this before crying!!!!)
Q: Why did you develop this kernel?
A: Because I wanted to
Q: ERMAHGERD DIS KERNEL SUCKZ, MAH BATTERY IS DEAD IN 30 MINS, PLZ HALP!
A: When I created this kernel, I never had the intention to have it decrease battery life. So before / instead of complaining, go check your f***ing wakelocks and fix them! The kernel isn't responsible for this, your apps and/or services are.
Q: Will this kernel work on AOSP/CM12.1/CM13 ROMs?
A: Works on any ROM as long as it isn't stock . So yes, it does. AOSP, CM LineageOS, RR... Any of these.
Q: How do I report bugs?
A: If you wanna report a bug, then grab your kernel log - either by pulling /proc/last_kmsg (in case of a random reboot / kernel panic or oops) or copying the output of "dmesg" via shell - and paste it at pastie.org and link it in your post (or save it to a text file and attach it to your post). Don't bother getting logcats, they don't apply for kernel debugging purposes.
Q: How do I flash this?
A: I suggest you scroll up and read the OP. The instructions are there.
Q: How do I tweak this kernel?
A: Download Kernel Adiutor from the Play Store and have fun. No Synapse support!
Q: This kid is such a n00b!
A: Oh well then, why don't you go work on a kernel yourself, instead of criticizing my work and, by doing so, wasting your time?
Click to expand...
Click to collapse

Reserved

Reserved

Okay... Last reserved.

Our first test build is up! Link is at the OP.
It's still a very early test build and it may (and probably does) contain issues (serious or not). You've been warned.

This build should fix PowerHAL not being disabled.

Great work. Zero bugs in the short time since flashing. Thanks.

Hello King Kami Nari , , , Kami nari Kami Nari
What hotlplug is provides in your kernel ??
King Kami Nari

BhavikRB said:
Hello King Kami Nari , , , Kami nari Kami Nari
What hotlplug is provides in your kernel ??
King Kami Nari
Click to expand...
Click to collapse
MPDecision.

Sir King Kami Nari ,
Have you modified Interactive ?

kingkaminari said:
Created 2016-01-13
Last Updated 2016-01-12
Click to expand...
Click to collapse
Lol? xd
So far so good with the kernel thanks!

@kingkaminari Wow, finally! flashing it right now, thank you so much!
I hope to see the rest of the features present on 5.1 here on M and Thank you so much!

@kingkaminari
Will not let me change the minimum frequency of the CPU whenever I lay below 787 MHz to 5 minutes switches to the same, Tube to disable the "MPDecision" so that the frequency is not changed (sorry my english im use google traductor)

espaciox99 said:
Lol? xd
So far so good with the kernel thanks!
Click to expand...
Click to collapse
Yeah . There's this little derp with the dates lol

espaciox99 said:
@kingkaminari
Will not let me change the minimum frequency of the CPU whenever I lay below 787 MHz to 5 minutes switches to the same, Tube to disable the "MPDecision" so that the frequency is not changed (sorry my english im use google traductor)
Click to expand...
Click to collapse
Didn't have that problem here. My phone's minimum frequency stays at 300MHz all the time. Try another governor. And don't disable mpdecision

BhavikRB said:
Sir King Kami Nari ,
Have you modified Interactive ?
Click to expand...
Click to collapse
No. Interactive has been left untouched.

If you come from Hurtsky's Hybrid Kernel or Flashhhh's Optimus Kernel, don't forget to re-enable MPDecision - just rename /system/bin/mpdecisionbak to /system/bin/mpdecision.

kingkaminari said:
Didn't have that problem here. My phone's minimum frequency stays at 300MHz all the time. Try another governor. And don't disable mpdecision
Click to expand...
Click to collapse
Try and several governors and feel the same, the only solution is to disable "MPdecision"
EDIT: The problem is when you lock the phone, no matter how infrequently the minimum of changes to 787mhz cpu and if I turn off the mpdecision not happen

espaciox99 said:
Try and several governors and feel the same, the only solution is to disable "MPdecision"
EDIT: The problem is when you lock the phone, no matter how infrequently the minimum of changes to 787mhz cpu and if I turn off the mpdecision not happen
Click to expand...
Click to collapse
I actually was having a similar problem to this not long ago but not this particular kernel.
Just fooling around I found that if I flashed any kernel after rebooting system I would have the problem you described, however if I flashed the ROM, Gapps, and kernel in recovery all together before initial boot everything works as it should.
Not sure why this is but I have experimented and it is the only solution I have found so far.

Related

[L-5.1.1/L-5.0.0][23.07.2015][God's Kernel-R3.0][True God Of Kernels][ALL ROM]

God's Kernel
God's Kernel-True God Of Kernels​
About God's Kernel:
God's Kernel is a open source kernel designed to unleash the power of Yuphoria.
The Aim of This project is to give a most stable ,power-full,ultra-fast fast kernel with Max Battery Life which is required for every Yuphoria user.
DISCLAIMER:
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
FEATURES OF God's Kernel:
Built using UBERTC-6.0 & SMTC-6.0[Option to select in downloads] Tool-chains with O3 flags and other tweaks.
CPU Governors :
Conservative
Impluse
Inntelliactive
Intellidemand
Yankactive
Zzmove[Remover]
Darkness
Blu Active
Hyper
Hot Plugs:[ Warning : Use any one ]
Intelliplug
Mako hotplug
MSM Sleeper
MSM_ZEN_Decision
AutoSMP
MSM MPDECISION[Bricked]
USB Fast Charging
Fast Charging Drivers.
Thermal Control Configuration.
Fixed CPU Min Frequency showing always MAX
LZ4-compressed kernel
KCAL control-------Controlling screen colors made easy ....credits @savoca
Frandom Drivers
Optimizations and memory leak fixes------Expect More Stable
Fix high load average from uninterruptible waits
BFQ I/O Scheduler
Thermal Throttling [Relax value]----Expect cool Yuhoria in your hands rather then old heating one
Cortex A53/ARMv8 architecture Tune-Up
Kernel Power Suspend-------Expect Sleep Like a Baby when Screen is off
Disabled updating idle time if cpu offline
Tweaks for interactive governor
Included More ZRAM Devices
Added custom Gestures to wake device ..like swipe down up etc
Deep sleep mode
Click to expand...
Click to collapse
CHANGE LOG:
God's Kernel-R3.0
Added Hyper and Blu Active Governors
Removed ZZMove and INTELLIDEMAND Governors
ext4: Speedup WB_SYNC_ALL pass called from sync
sync: don't block the flusher thread waiting on IO
msm mdss: Avoid calling wake_up_all() twice in display thread
fix writeback cache thrashing
block: Reserve only one queue tag for sync IO if only 3 tags are available
fix race that cause writeback hung
made context readahead more conservative
msm_hsic_host: reduce wakelock
Click to expand...
Click to collapse
God's Kernel-R2.0
Built with Saber Mod-6.0 And UBERTC -6.0 with O3 flags and other tweaks.
CPU Governors :
Conservative
Impluse
Inntelliactive
Intellidemand
Yankactive
Zzmove
Darkness
Hot Plugs:[ Warning : Use any one ]
Intelliplug
Mako hotplug
MSM Sleeper
MSM_ZEN_Decision
AutoSMP
MSM MPDECISION[Bricked]
USB Fast Charging
Fast Charging Drivers.
More Improved Thermal Control & Core Management.
General Optimization & Tweaks
Click to expand...
Click to collapse
God's Kernel-R1.0
Initial Release
Click to expand...
Click to collapse
SINCERE THANKS & CREDITS TO:
@DooMLoRD
@kairi_zeroblade
@SanthoshM
@savoca
@yank
Franco
Faux123
bbedward
Prasanna08
DespairFactor
tarun Kapadia
varun-chitre
All Official Beta-testers
Click to expand...
Click to collapse
DOWNLOAD LINKS:
God's Kernel-R3-SMTC6-lettuce-23072015 [ Built with Saber Mod-6.0]
God's Kernel-R3-UBERTC6-lettuce-23072015[ Built with UBERTC-6.0]
INSTALLATION STEPS:
Minimum Requirements To Install God's Kernel:
This is For ARM 64
Your Device Should be Rooted with Unlocked Boot-loader & Latest Custom recovery Installed.
Recommended Custom Recovery TWRP : Click Here to View TWRP Offical supported devices
Installation Procedure:
Boot Into Recovery Mode
Flash provide Kernel Zip
Wipe Cache and Dalvik
Reboot To System
Click to expand...
Click to collapse
SOURCE CODE:
XDA:DevDB Information
[God's Kernel][True God Of Kernels], Kernel for the YU Yuphoria
Contributors
Adi Shakthi
Source Code: https://github.com/AudioGod/Gods_kernel_yu_msm8916
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: God's Kernel-R3.0
Stable Release Date: 2015-07-23
Created 2015-07-18
Last Updated 2015-07-23
RESERVED
I just wanted to know how to enable screen wake up gestures as mentioned in the kernel and what is the difference between the two versions of the kernel. Sorry but I'm new to custom kernels
Yoshiorch said:
I just wanted to know how to enable screen wake up gestures as mentioned in the kernel and what is the difference between the two versions of the kernel. Sorry but I'm new to custom kernels
Click to expand...
Click to collapse
Ubertc some extra smoothness and saber mod some extra speed ...
Sent from my AO5510 using Tapatalk
USB OTG
Adi Shakthi said:
RESERVED
Click to expand...
Click to collapse
Any chance to compile USB OTG as the hardware supports it Your reply is much appreciated
UPDATE
God's Kerne-R3.0 Release !!!!
Refer OP for Change Logs and other details
Note : If you guys need support for Kernel Then Please ask in xda Thread i will not respond if its posted in any other thread Except XDA & Official Sonic-Developers web Page
Thanks You
@Adi Shakthi
Accelerometer doesn't work on Aicp rom with your kernel is there any fix for it?
Yoshiorch said:
@Adi Shakthi
Accelerometer doesn't work on Aicp rom with your kernel is there any fix for it?
Click to expand...
Click to collapse
The bug seems to be in the latest CM builds and not within the Kernel. Using CM12.1 without R3.0 and facing the same issue.
Great to see update for god kernel. Will be using it and posting my reviews soon.
Can i flash this kernel on 7.1.2 based custom rom
can i use it with a nougat rom??
Hi.
Can this kernel be used for AOSP Extended 7.1.2
Baes
Bro pls upload it to another server pls
Adi Shakthi said:
RESERVED
Click to expand...
Click to collapse
Provide working link bro
Can i use it in yuphoria running on miui 9.3.2 custom rom. Will i need to root again?
I have no clue dear ..its a long while since I left these devices ...
But to be best it has to work since it use existing ram disk from your roms kernel ...it patches the ram disk ..it doesnt replace ram disk ...
I rarely use MIUI rom in my life...last time may be when am using Dell streak 5 ..in Android 2.3 ...sorry to tell this ..
I hope you understand dear ..thanks alot for stil showing intrest in my works ...
Sent from my SM-N950U using Tapatalk
Abhishek38203 said:
Can i use it in yuphoria running on miui 9.3.2 custom rom. Will i need to root again?
Click to expand...
Click to collapse
Of course No Don't Try!
Adi Shakthi said:
RESERVED
Click to expand...
Click to collapse
Ye link open nhi ho rhi h or koi link do

[Kernel][5.1][Stock/GPE][Linaro 5.3] KaminariKernel R3 [7 July 2016]

KaminariKernel​
Code:
#include "std_disclaimer.h"
/*
* Your already voided warranty is now void again.
*
* 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 my *** off at you.
* Really hard.
*/
Yo! This thread contains two kernels (regular and SuperLite). If you wanna see what SuperLite is, then go here. You should read everything before moving onto the downloads section.​
Hiya fellas.
This is my modded kernel for our loved Moto G 1st gen. In the beginning I decided to keep it for my personal use only, but then I decided to share it with you guys since there was no custom kernel compatible with the 5.1 stock rom.
Features:
Sources & Optimizations
- Based on Motorola's shared falcon/peregrine source
- Compiled with generic Linaro 5.3 toolchain
- Compiled with -O3 optimization & some more flags (e.g. Pipe flag)
- Optimized ARM RWSEM & Square Root algorithms
- Kernel-side NEON mode
- Some miscellaneous armv7 tweaks
Click to expand...
Click to collapse
Hotplugging Drivers
- Ye Olde MPDecision
- AutoSMP
Click to expand...
Click to collapse
Extra CPU Governors
- Bioshock
- Dancedance
- Impulse
- Lionheart
- Smartmax
- Yankactive
- Yankdemand
- Zzmoove
Click to expand...
Click to collapse
Extra I/O Schedulers
- Bfq
- Fiops
- Sio
- Vr
- Zen (Default)
Click to expand...
Click to collapse
Sound
- Faux's Sound Control
- Headset High Performance Mode
Click to expand...
Click to collapse
Screen/GPU
- Kcal Screen Control
- Dt2w/s2w
- State Notifier driver
- Adreno Idler
- GPU overclock & underclock (533MHz/100MHz)
Click to expand...
Click to collapse
Extra Sh*t
- USB Fast Charge
- Disabled gentle fair sleepers
- Extra TCP Congestion Controllers
- HID Driver (Use your phone as a USB keyboard/mouse)
- Compass & Accelerometer drivers now use State Notifier
- Fsync enabled by default
- Kexec-hardboot patch (for multirom compatibility)
- Power-efficient workqueues
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Downloads:
Regular Version
Overclock-Ready Version
Click to expand...
Click to collapse
Looking for previous releases?
- All releases until 1.2.3: Go here
- All releases from 1.3 onwards: Go here
- KaminariLite (discontinued): Go here
- KaminariSL (previously Optimized Stock): Go here
Click to expand...
Click to collapse
Got into trouble and need to go back to the stock kernel?
Then you should click this link here, bud!
Click to expand...
Click to collapse
Flashing & Tweaking Instructions (Follow this very carefully!!!):
- Place the zip at the root of your phone's internal storage (This is very important! If you flash the zip from a subfolder, you'll be left without wi-fi!!!)
- Reboot into recovery
- Flash the zip
(Another way: Reboot into recovery without copying the zip, and flash it via adb sideload)
- (Optional) Wipe cache and/or ART cache
- Reboot and have fun!
Coming from another kernel? Then I suggest you to (at least!!!) dirty flash your stock rom and kernel in order to avoid any issues!
Wanna tweak it? Use Kernel Adiutor! (I do NOT support Synapse!!!)
Click to expand...
Click to collapse
Want some info on what this kernel offers you?
Then go here! (Credits to @AssToast for suggesting and to @gsstudios for creating the site!)
Click to expand...
Click to collapse
"Thank You" Section
- Motorola/Lenovo, for putting up them sources
- The CyanogenMod team
- @Flashhhh, his work kinda inspired me to do this
- @Aayushya, he provided the initial cherry-picks
- @faux123, for Sound Control & Intellithermal
- @savoca, for Kcal Screen Control
- @hurtsky, a huge load of cherry-picks came from his sources
- @Alberto97, for the Linux version bumps (.43 up to .109)
- @YoshiShaPow, for some more stuff
- Some more fellas whose names I can't remember
Click to expand...
Click to collapse
XDA:DevDB Information
KaminariKernel (Lollipop-Falcon), Kernel for the Moto G
Contributors
kingkaminari
Source Code: https://github.com/Kamin4ri/KaminariKernel/tree/L
Kernel Special Features: Read above!!!
Version Information
Status: Stable
Current Stable Version: R3
Stable Release Date: 2016-07-07
Created 2015-09-07
Last Updated 2016-07-09
F.A.Q. (Read this before crying!!!!)
Q: Why did you develop this kernel?
A: Read the OP.
Q: ERMAHGERD DIS KERNEL SUCKZ, MAH BATTERY IS DEAD IN 30 MINS, PLZ HALP!
A: When I created this kernel, I never had the intention to have it decrease battery life. So before / instead of complaining, go check your f***ing wakelocks and fix them! The kernel isn't responsible for this, your apps and/or services are.
Q: Will this kernel work on AOSP/CM12.1/CM13 ROMs?
A: Go here for that.
Q: Will this kernel work on the GPE ROM?
A: Yes. And it'll also allow you to use this ROM without having to format /data to ext4.
Q: How do I report bugs?
A: If you wanna report a bug, then grab your kernel log - either by pulling /proc/last_kmsg (in case of a random reboot / kernel panic or oops) or copying the output of "dmesg" via shell - and paste it at pastie.org and link it in your post (or save it to a text file and attach it to your post). Don't bother getting logcats, they don't apply for kernel debugging purposes.
Q: How do I flash this?
A: I suggest you scroll up and read the OP. The instructions are there.
Q: How do I tweak this kernel?
A: Download Kernel Adiutor from the Play Store and have fun. For Synapse, scroll up and read the OP first.
Q: This kid is such a n00b!
A: Oh well then, why don't you go work on a kernel yourself, instead of criticizing my work and, by doing so, wasting your time?
Click to expand...
Click to collapse
Kaminari SuperLite (previously "Optimized Stock Kernel")​
Since KaminariLite has been discontinued, and Kaminari has become cleaner regarding features, I've been working on a version closer to the stock kernel, only more optimized.
Enter Kaminari SuperLite!
Diferences between this & the stock kernel:
- Compiled using generic Linaro 5.3 toolchain
- Bumped to Linux version 3.4.112
- Compiled with -O3 and misc optimization flags flags (Same as Kaminari)
- Most if not all of Kaminari's optimizations have been applied
- All governors except Interactive removed
- Supports both stock and GPE roms, regardless of filesystem (f2fs or ext4) used on /data
- Adds init.d support
- Default ZRAM size changed to 400MB
Click to expand...
Click to collapse
Differences between this & Kaminari:
- All governors except Interactive removed
- AutoSMP removed
- All TCP congestion algorithms except Westwood and Reno removed
- Additional I/O schedulers (zen, vr, sio, fiops, bfq) removed
- All non-essential features (FauxSound, Kcal, Dt2w...) have been removed
- Stock PowerHAL has been re-enabled
- Compressed using LZO (Kaminari uses XZ)
Click to expand...
Click to collapse
Wanna give it a try?
Click this link here!
Click to expand...
Click to collapse
Flashing & Tweaking Instructions:
Same as Kaminari.
Coming from regular Kaminari? Wipe your Kernel Adiutor data first! If you can flash the stock kernel before flashing this, it's even better!
Click to expand...
Click to collapse
Reserved!!!
Reserved again
null
Wow m first...
---------- Post added at 08:25 AM ---------- Previous post was at 08:17 AM ----------
Just flashed it...buttery smooth...smartmax works like charm and yeah happy to see the kcal screen control...thanks kaminari for this amazing kernel...
So it is only for stock 5.1 right?
Edit: Working smoothly on stock 5.1
Keep it up.
Working great on XT1031 with stock 5.1. Nice job!
@kingkaminari thanks for kernel. Any chance in future to add support for Aosp roms? that would be great.
Sent from my Moto G using Tapatalk
akshayk01 said:
@kingkaminari thanks for kernel. Any chance in future to add support for Aosp roms? that would be great.
Sent from my Moto G using Tapatalk
Click to expand...
Click to collapse
No, no plans for aosp/cm support yet - mainly because of my limited knowledge. But i'll consider making a version supporting these two
New build in the works! Just trying to fix a bug where all CPU cores stay online (needless to say that this causes a gigantic battery drain)
New build up!
https://www.androidfilehost.com/?fid=24052804347811341
https://www.androidfilehost.com/?fid=24052804347811344 - "Mori" version - with S2W/DT2W
Changelog here.
I'm getting an update binary execution error with TWRP, with both new builds. I tried disabling the device check in the anykernel.sh but no go. Also, I noticed in the init.kaminari.rc file in the zip, there is a typo in the power mode lines. It has 2 lines for cpu2 and none for cpu3. I just noticed the same thing with Optimus V41 Prime earlier today.
amarc78 said:
I'm getting an update binary execution error with TWRP, with both new builds. I tried disabling the device check in the anykernel.sh but no go. Also, I noticed in the init.kaminari.rc file in the zip, there is a typo in the power mode lines. It has 2 lines for cpu2 and none for cpu3. I just noticed the same thing with Optimus V41 Prime earlier today.
Click to expand...
Click to collapse
The previous zips i made here worked fine (i flash them through adb sideload). And i just fixed the init.kaminari.sh. Plus i've fixed s2w/s2s in the Mori version (dt2w is still partly broken though).
New build up!
Version: 0.96b
Download: Regular Version | "Mori" Version (DT2W)
Changelog here, but for those who don't wanna go there:
- Fixed s2w (dt2w halfscreen is still broken)
- Fixed derp in init.kaminari.sh
GPE users, please test my builds if you can / feel courageous enough to do it
I give up, except for the first build, they won't flash in recovery for me.
amarc78 said:
I give up, except for the first build, they won't flash in recovery for me.
Click to expand...
Click to collapse
I'll upload a zip without anykernel later. Btw, which version of twrp are you on? And do you have sufficient space in /system? Because this kernel pushes modules to it. I'm on twrp 2.8.7.0 + a modified stock rom, and i've had zero flashing errors so far
For those who are having problems with anykernel, i've uploaded special flashable zips without it.
Version is still 0.96b.
Downloads: Regular | DT2W
Version 096b flashed without any problems.
Just put the zip in the root of internal storage.
cool everything is just superb @kingkaminari hope you keep updating this kernel

[Kernel][7.x] Valkyrie-N-1s [DT2W][S2W][24/4/2017]

Attention
/*
I'm not a developer, im taking effort to put more choices of kernel for our community.
This kernel is tweaked for my own taste.
Please do not request for more features because i want to ensure the stability of the kernel first.
And 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 ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Disclaimer
CODE NAME: VALKYRIE VERSION
Features
Optimization Flags
- Compiled with latest Built with latest custom UberTC 4.9
Click to expand...
Click to collapse
Hotplug Drivers
- Add AutoSMP hotplug driver - default hotplug (really nice)
Click to expand...
Click to collapse
Audio and Sound Tweaks
- Faux Sound Control
Click to expand...
Click to collapse
Extra Users Change-able Features (please refer to #4 post for more explanation in how you can adjust this below features)
- Disabled SWAP - [For Now]
- KEXEC Support
- KCAL support for post processing control [v2]
- selinux in permissive - not in force, you can change it to enforcing if you want so don scare !
- DOUBLETAP2WAKE and SWEEP2WAKE/SWEEP2SLEEP
- Enabled all kind Advance TCP
Click to expand...
Click to collapse
Extra Driver Modification differ from stock/CM kernel
- silenced various kernel logs
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Installation Guide :
Using TWRP
1. Reboot to recovery > Install > Pick the kernel > Confirm to Flash > Reboot
or
2. Flash it using Flashify
Click to expand...
Click to collapse
Code:
[I]Credit to :-[/I]
- CyanogenMod Developer team for providing the source
- developers that contributed in my github changes - all credit goes to them
- xda-developers.com
- and to all my kernel users, thanks.
Click to expand...
Click to collapse
XDA:DevDB Information
[Kernel][7.x] Valkyrie-N-1s [DT2W][S2W][24/4/2017], Kernel for the Moto G
Contributors
hurtsky
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1
Created 2017-04-24
Last Updated 2017-04-30
FAQ - Freaking Annoying Question
THIS KERNEL WORKING IN STOCK ROM ????
1. NO, this kernel for ROM that based on CM kernel - Android 6 - Marshmallow and up only
2. This kernel not for AOSParadox also .
SYNAPSE NOT WORKING SUDDENLY ????
1. Read this >>> CLICK HERE
IF HAVING ANY REBOOT? WHAT TO DO?
1. upload file last_kmsg that located in /proc/last_kmsg
2. infomation about what setting that you use : example: intelli plug with zzzmove
3. if only state that youre having reboot without any logs will be ignore.
ERROR DURING OR AFTER FLASHING THE KERNEL
1 . if you comes from others kernel or after flashing the kernel you had this following "error : Fastboot Reason : Fall-through from normal boot mode" or any error during flashing, please dirty flash your rom again to clean up any conflict from different kernel script.. let it reboot.. and flash this kernel..
2. If still happen, flash recommended recovery for this kernel >>> CLICK HERE
KERNEL DID NOT FLASH/THE VERSION STILL THE OLD VERSION
1. Put the kernel ZIP at folder /sdcard and flash it.
2. Please use recommended recovery for this kernel >>> CLICK HERE
OWN CUSTOM SETTING FOR KERNEL DID NOT STICKING AFTER BOOT
1. Make sure you used only 1 kernel tweaks and make sure you did change anything in "advance setting", remove the others apps and start tweaking your own favorite config. (i always suggested to use only Kernel Adiutor for tweaking the kernel)
2. Some ROM had they own boot script that will force the user to stick with it, this happen normally with interactive and cpu-boost config (in this kernel i already disabled completely cpu-boost so no need to worry about this). change interactive to another governors if you did not like what the ROM already did for you. (but i always recommend interactive, as it the most stable governors and updated for current time)
WHAT THE BEST OR RECOMMENDED CONFIGURATION FOR THIS KERNEL??
1. Default configuration is always the best for me because i already tweaked and tested by my own and with my tester before release it to the forum.
2. If you did not like default config, just do your own way (google,do research or re-read all post in this thread because there are some advance users posted their own configuration) and i wont answer or provide any advice for this kind of questions because i always stick with my own configuration
A LITTLE UNRESPONSIVE TOUCH AFTER DOUBLETAP2WAKEUP
1. Please read 4th post in dt2w/s2w/s2s section.
HAVING LAG AFTER USING "YOUR OWN CONFIGURATION OR OTHERS CONFIGURATION" OR NOT USING THIS DEFAULT KERNEL CONFIG
1. Well, i only test my own configuration.. for newbies that try to use their own setting, please do research more before applying or changing any value or using other tweakable features here.. Having lag with your own setting is not my fault, this tweakable features e.g other governors/hotplug/io and etc is for advance user that love trying new stuff and the result is depend on how user tweak it....
2. i only provided guarantee for performance and better battery through my own config (flash and use it).
HELP ! HELP ! I SUDDENLY HAD ALL AWAKE IN BATTERY STATS
1. Just clear dalvik cache from your recovery/twrp
Click to expand...
Click to collapse
Changelogs of VALKYRIE Kernel
CHANGELOGS for VALKYRIE VERSION > CLICK HERE
Click to expand...
Click to collapse
DOWNLOAD SECTION FOR VALKYRIE KERNEL
>>>>PLEASE CLICK HERE TO DOWNLOAD<<<<
Click to expand...
Click to collapse
.Note : - if you comes from others kernel or after flashing the kernel you had this following "error : Fastboot Reason : Fall-through from normal boot mode" or any error during flashing, please dirty flash your rom again to clean up any conflict from different kernel script.. let it reboot.. and flash this kernel.. thank you
reserved for me
last one
Testing.....will report within a by tomorrow
Nice to see you back @hurtsky.
Sent from my Moto G using XDA Labs
@hurtsky you are alive ?????....welcome back
BryanByteZ said:
Nice to see you back @hurtsky.
Sent from my Moto G using XDA Labs
Click to expand...
Click to collapse
methuselah said:
@hurtsky you are alive ....welcome back
Click to expand...
Click to collapse
just busy with real life , still alive and healthy. lol
Is it compatible with moto g forte xt1008 and with the rom resurrection remix?

[KERNEL][MIDO][MIUI] FLIP kernel [r1]

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now probably voided.
*
* 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.
*/
What is this:
After tired of looking for stable no nonsense kernel for MIUI and couldn't fine one, I've decided to compile one myself. This is just a kernel I flipped from readily publicly available source, nothing special here. It should boot with any MIUI Nougat roms.
Click to expand...
Click to collapse
Difference with stock MIUI kernel
Compiled using OmniRom's kernel source as base so contains all its features, fixs and patches.
Compiled using UberTC 4.9.4 for stability.
Compiled using correct optimisation flags for our MSM8953 cpu.
Patched with EAS scheduler from OnePlus3 LineageOS-based kernel with EAS
Updated Ondemand cpu governor from franciscofranco's kernel for OnePlus3, finetuned it abit and made it as default booting cpu governor.
Default to Noop disk i/o scheduler on boot.
Default to Westwood tcp congestion control on boot.
Disabled/made as built-in some modules.
Disabled some stuff like zram, cleancache, zcache.
Added support for exfat fs via exfat-nofuse.
Enabled ntfs fs support.
Init.d startup script support with correct permissions applied on every boot.
Probably some other things I forgot to list here...
Click to expand...
Click to collapse
Changelog:
r1 - First public release.
Click to expand...
Click to collapse
Download:
FROM HERE
Click to expand...
Click to collapse
Installation notes:
Need unlocked bootloader, so unlock your bootloader if you haven't yet.
Need to be on any custom recovery so flash one if you haven't yet.
Need to be on any MIUI Nougat rom.
If you have any custom kernel other than this kernel already installed, please flash or restore your MIUI rom stock kernel because this kernel would need to use the stock unmodified ramdisk and custom kernel might already modify it.
Backup, backup and backup!
Download the zip, put into either internal phone storage or sdcard, flash away.
If you want to go back to your previous kernel, just dirty flash your rom or restore boot and system from backup.
Click to expand...
Click to collapse
Thanks to:
God, for everything.
Linus Torvalds, for the Linux kernel.
Google, for Android.
Xiaomi, for kernel source.
Xda forum, learnt alot from here.
Uber team, for the toolchain.
khan_frd2002, for the OmniRom kernel source.
EAS-Project on Github for the EAS patches.
franciscofranco, for the Ondemand cpu governor source.
osm0sis, for AnyKernel2 kernel installation template.
Probably some others I forgot to list here...
Click to expand...
Click to collapse
XDA:DevDB Information
FLIP kernel, Kernel for the Xiaomi Redmi Note 4
Contributors
coldplug
Source Code: https://github.com/thecoldplug/android_kernel_xiaomi_msm8953
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r1
Stable Release Date: 2018-01-11
Created 2018-01-11
Last Updated 2018-01-11
Wow. EAS working well ?
Kevin Saiza said:
Wow. EAS working well ?
Click to expand...
Click to collapse
Partially. Cpu governors meant to work with eas like sched and schedutil doesn't work well with 625 because it was meant to work with dual cluster a72+a53 like 820 etc, while 625 only have a single cluster of a53, plus theres no proper powertable. Sched and schedutil just froze at lowest available freq because it can't choose proper powertable, making phone lags. I've disable both and made ondemand as default governor.
I se the OP off this thread speaking about voltage values, is this what o are referring as power table?
https://forum.xda-developers.com/redmi-note-4/how-to/tweak-interactive-governor-tunables-t3608118
zecabra said:
I se the OP off this thread speaking about voltage values, is this what o are referring as power table?
https://forum.xda-developers.com/redmi-note-4/how-to/tweak-interactive-governor-tunables-t3608118
Click to expand...
Click to collapse
Similar. All cpu already got predefined voltage table in the kernel source for the usual hmp scheduler, usually modified for oc/uv. Eas need its own, new voltage table specifically written for it, for every specific cpu too.
tks for the nice kernel, I only have one request if possible, I'm more a guy of battery saving because i spent long times with no access to recharge the phone, its the implementation of alucard
add please function: fix ttl.
this is very important for Russia, Ukraine, Belarus ... and others.
this is necessary to bypass the blocking of cellular operators.
this is in the same kernel as: [KERNEL][MIDO] Stormguard 01/01/18, [KERNEL][MIDO][VOLTE++] Chewy kernel r8.1 [22/12].
Please
zecabra said:
tks for the nice kernel, I only have one request if possible, I'm more a guy of battery saving because i spent long times with no access to recharge the phone, its the implementation of alucard
Click to expand...
Click to collapse
If you mean alucard cpu governor, then I've already tried to add it lol. Doesn't work, endless reboot. In fact all interactive based cpu gov like impulse, alucard, blu_actice, zzmoove won't work here. Hence why I've disabled even the interactive cpu gov.
DEMIGOD124 said:
add please function: fix ttl.
this is very important for Russia, Ukraine, Belarus ... and others.
this is necessary to bypass the blocking of cellular operators.
this is in the same kernel as: [KERNEL][MIDO] Stormguard 01/01/18, [KERNEL][MIDO][VOLTE++] Chewy kernel r8.1 [22/12].
Please
Click to expand...
Click to collapse
Doesn't need to add or anything, its already in the kernel and enabled, i think...
I don't have any idea how it work or if it even work though, so do try and let me know how it goes.
FLIP-r1-MIUI-mido.zip Failed - Virus detected What???
pikachukaki said:
FLIP-r1-MIUI-mido.zip Failed - Virus detected What???
Click to expand...
Click to collapse
Lol your virus scanner might have detected the zip itself or the script within as a virus, its not. Gdrive where I've uploaded it should already scanned it before you even download.
Don't use that pos virus scanner, change to other virus scanner or better yet, use linux ?
So witch one is better for miui and why ?
kcal bugg still there?
kemo12533 said:
So witch one is better for miui and why ?
Click to expand...
Click to collapse
Theres only one...
aman1241 said:
kcal bugg still there?
Click to expand...
Click to collapse
Haven't add kcal.
coldplug said:
Theres only one...
Haven't add kcal.
Click to expand...
Click to collapse
I mean this one Vs stock
I am not really into the kernel thing and wanna know what will I get from this one VS the stock in a sample do novas like me will get what all this futures for ?
kemo12533 said:
I mean this one Vs stock
I am not really into the kernel thing and wanna know what will I get from this one VS the stock in a sample do novas like me will get what all this futures for ?
Click to expand...
Click to collapse
Already wrote all the differences on the first post. Can't really say whats good amd whats not due difference usage and needs, but do try and see for yourself. Backup before install, restore if you're not happy ?
coldplug said:
Already wrote all the differences on the first post. Can't really say whats good amd whats not due difference usage and needs, but do try and see for yourself. Backup before install, restore if you're not happy ?
Click to expand...
Click to collapse
i am on pixel experience right now so i cant atm but i will soon
Hi
Where is the link?
Overclock
Can I overclock my cpu and gpu on this kernel ??
I feel stock is better
I feel as so cause after switching to this kernel my phone is a bit more Laggy so I switched back to stock

[KERNEL][CUSTOM][Pie] Phizero kernel for j4+

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 ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Phizero kernel j4+ for all non-stock ROMS i.e custom roms,gsi....
Kernel features:
Compiled with Bleeding edge toolchain GCC 9.1
Upstreamed to Linux 3.18.140
Enabled lower frequencies 345, 499, 729, and 844mhz
Undervolt lower clocks ONLY! for better battery without performance loss
Disable CRC for about 30% performance boost
GPU overclocked to 650Mhz
Security and other under the hood improvements
Changelog for v2.0 2019-08-17
Increased charge current to 1.6A on AC and 1A on USB for faster charging
Use 300Hz base timer frequency
Add KCAL - Advanced color control for Qualcomm MDSS (RGB calibration and post-processing features)
Add KLAPSE live-display module support (v5.0)
Rework underclock : remove inefficient frequencies set minimum 652mhz
Add Cpu Overclock to 1.65ghz and define voltages
Rework interactive governor scaling parameters
Added Boeffla wakelock blocker v1.1
FS fsync toggle on/off
Disable Samsung Knox,tima etc
Disable lots of debugging for some improvement
Export max charge current to lock screen (fixes missing charge current info on custom ROMs)
Enable CONFIG_WQ_POWER_EFFICIENT_DEFAULT
Revert to GCC 4.9 Tool-chain
Link for kernel (v1.0)
https://mega.nz/#!N0xAEIjQ!QriScEX0_rsWcx6pu6wDii9S5Xj5-tiapUxxikDQM6I
Link for kernel (v2.0)-2019-08-17
https://mega.nz/#!pwYXVQhK!bxUJgXD_GPl6f9TkD30z25na57aSWxeoUJnD5Y6Mo2s
Installation
1.Flash kernel in twrp (based on any kernel2).
2. Reflash magisk.
Done!!!
Don't forget to hit thanks and rate the thread nicely, it's free
More features will be added with time. Enjoy
Credits
kapmino269 for testing
IanH82uk for testing
AlaskaLinuxUser for great tutorials on kernel development
tanish2k09 for Klapse
Thanks to all devs whom I learnt a thing or two from and also cherry-picked from
XDA:DevDB Information
[CUSTOM] Phizero kernel for j4primelte
Contributors
Geckyn
Source Code: [url]https://github.com/geckyn[/URL]
Version Information
Status: Stable
Current Stable Version: phizero-kernelv2.0
Stable Release Date: 2019-08-17
Current Beta Version: phizero-kernelv1.0
Beta Release Date: 2019-06-28
Created 2019-06-28
Last Updated 2019-08-17
So.. any update? I just want to flash and forget it (lol) without changing anything else. Do I also need to set the minimum frequency manually if I flash the squeezer profile?
Andhika24kd said:
So.. any update? I just want to flash and forget it (lol) without changing anything else. Do I also need to set the minimum frequency manually if I flash the squeezer profile?
Click to expand...
Click to collapse
No updates yet...and yes you need to set the minimum frequency manually after flashing the squeezer profile
Would be great if there were CPU OC options.
poviking said:
Would be great if there were CPU OC options.
Click to expand...
Click to collapse
Yhup done with that and others....update will come next week or less
Geckyn said:
Yhup done with that and others....update will come next week or less
Click to expand...
Click to collapse
Awesome! You brought life to a almost useless phone hehe. Before it lagged just to accept calls . Great work!
poviking said:
Awesome! You brought life to a almost useless phone hehe. Before it lagged just to accept calls . Great work!
Click to expand...
Click to collapse
Working for j415f?
jhedjhed11 said:
Working for j415f?
Click to expand...
Click to collapse
Yes, it works.
alexx zes said:
Yes, it works.
Click to expand...
Click to collapse
On OneUI firmware?
jhedjhed11 said:
On OneUI firmware?
Click to expand...
Click to collapse
Yes, on Oneui.
1. Go to download mode .
2. Flash twrp in Ap .
Notice : uncheck auto reboot .
3. Reboot recovery .
4. Install
- disable_All_pie_security.zip .
https://www.androidfilehost.com/?fid...89523397964680
-J4 plus disable encryption .
https://www.androidfilehost.com/?fid...89523397964679
5. Format data .
6. Follow the steps available in this thread
Or check TWRP thread https://forum.xda-developers.com/ga...ecovery-twrp-3-2-3-1-galaxy-j4-j415f-t3876876
jhedjhed11 said:
On OneUI firmware?
Click to expand...
Click to collapse
If it works you'll lose mtp function. That's the only difference between this and stock kernel
Geckyn said:
If it works you'll lose mtp function. That's the only difference between this and stock kernel
Click to expand...
Click to collapse
Will this improve the gaming performance?
jhedjhed11 said:
On OneUI firmware?
Click to expand...
Click to collapse
Install twrp as "alexx" explains, then install lineage 16 through twrp and then the kernel
jhedjhed11 said:
Will this improve the gaming performance?
Click to expand...
Click to collapse
lol its not going to turn your device into some gaming beast but it obviously has a performance advantage....new kernel uploaded with overclock and other features.
poviking said:
Install twrp as "alexx" explains, then install lineage 16 through twrp and then the kernel
Click to expand...
Click to collapse
kernel will work on any non-stock ROM including gsi ROMS...thread updated. I'm not sure about stock ( havent tested) but likely may not work due to certain changes in kernel...if it does work however...mtp function will be lost
Geckyn said:
kernel will work on any non-stock ROM including gsi ROMS...thread updated. I'm not sure about stock ( havent tested) but likely may not work due to certain changes in kernel...if it does work however...mtp function will be lost
Click to expand...
Click to collapse
Didn't know that
How is it going with the updated kernel, it's been sometime since you said you were gonna release it.
poviking said:
Didn't know that
How is it going with the updated kernel, it's been sometime since you said you were gonna release it.
Click to expand...
Click to collapse
Updated a moment ago....phizero-v2.0
Geckyn said:
Updated a moment ago....phizero-v2.0
Click to expand...
Click to collapse
Awesome, didn't see the update
The performance of the second version is better, with all the new features. But I've noticed a bug when starting games that stresses the GPU and CPU, its very stable for the few minutes the the game crashes.
poviking said:
The performance of the second version is better, with all the new features. But I've noticed a bug when starting games that stresses the GPU and CPU, its very stable for the few minutes the the game crashes.
Click to expand...
Click to collapse
I'm sure there's something wrong at your os level or probably you are trying to run high end games on an entry level device and not kernel related as I use it too..played a game with it and I'm always watching the frequency scalings like a police ..plus no such problem confirmed from testers

Categories

Resources