[KERNEL] Phantom Kernel for Android 6.0.1 TouchWiz Roms - Galaxy Note 3 Android Development

Mod edit: thread closed due to missing kernel sources.
Your warranty is now void. Knox 0x1.
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.
PHANTOM KERNEL​by 6h0st ​
​
Lots of thanks to the Aspire team members:
@DaOldMan – Aspire Rom developer
@Eleo, @galili47, @Bullmans, @Logel & @Kill-Switch - Product evaluation & Support
Special thanks:
@jcadduono
@lss1977
@Yank555
@arter97
@faux123
@gj86
... other previous developers and all future testers...
... and of course big thanks to project donors.
* Kernel Features *
Based on idle kernel by jcadduono/lss1977 source code.
Linux version 3.4.113,
Arch Power, Gentle Fair Sleepers ,
F2FS support - I recomend using F2FS for /system and /cache partitions only, but supports /data partition too - EXPERIMENTAL
Added Phantom Governor as default
(based on yankactive - optimized to use CPU frequencies for reduced battery consumtion with a little loss of performance.)
Added alucard, arteractive, intelimm, intellidemand, ondemandplus, impulse, smartmax, smartmax_eps, Lionheart, biosock, nightmare and zzmoove governors beside performace and conservative.
Added Phantom, zen, tripndroid, sioplus, bfq,fiops, deadline I/O Schedulers beside row, cfq, sio, fifo and noop.
Phantom I/O Scheduler set as defualt for Internal memory and External SD Card (if phone has one)
(Phantom I/O Scheduler is based on Maple, has Zen, VR and SIO I/O schedulers code in it, uses a first come first serve style algorithm with seperated read/write handling to allow for read biases. By prioritizing reads, simple tasks should improve in performance. Phantom I/O also uses hooks for the powersuspend driver to increase expirations when power is suspended to decrease workload.)
Max CPU frequency is 2265 mhz
Min CPU frequency is 288 mhz
CPU has 28 frequency steps.
No CPU OC - Stock CPU frequency table used for better stability
Added Fast Charging by Yank555.
Added 100, 500, 533, 578 mhz GPU steps.
7 CPU hotpluging managers: MSM, Bricked, Intelli-hotplug, Zen Decision, AutoSMP, Fast Hotplug and LazyPlug
Intelli-hotplug tweaked ,modded and added a special Lazy profile for videos, phone calls and screen off (set as default)
iotop.sh script support
Added battery power consumtion (average and current) information (mAh).
Added per CPU core control (governor and frequency)
Added Adaptive LMK
Added DoubleTap2Wake (Full/Half screen modes available)
Added Phantom Log, Phantom LED and Phantom Swap features
- LKM - Loadable Kernel Modules support
- Intelli-Hotplug update (more balanced now)
- Intelli-Hotplug (4 cores only) profiles update:
0 balanced 4 cores (default)
1 performance 4 cores (more aggesive)
2 conservative 4 cores (saves battery)
3 disable
(* Any other value other then 0-3 will set it to 3.)
(** Tweak is available at this path: /sys/kernel/intelli_plug/full_mode_profile)
- added custom suspend: enable freeze timeout configuration
(*Tweak is available at this path: /sys/power/pm_freeze_timeout)
- Fixes for DoubleTap2Wake.
- FS performance gain by 10%, in benchmark test at least.
- Modem performance tweak
- Fix for LTE only as preferred mode causing FC after a reboot;
- Fixed Call Delay;
__________________________________
How to use LKM - Loadable Kernel Modules:
The kernel comes in a basic version without all the governors, schedules, hotplugers and FS supported types of partitions, only the most common used.
If you want to use other features that aren't enabled anymore, you need to edit the /system/etc/init.d/00modules file and remove the "#" from the beginning of the lines related to the module (feature) you want to use/enable and reboot. You can activate all of them if you want.
If you want to use the basic version again, you can remove the 00modules file, if any changes were made. It will reappear on reboot, but all modules will be disabled, as default. If the file is missing after a reboot you can copy it from /sbin/scripts folder to init.d.
__________________________________
1.What does Phantom LED do?
It makes the phone's LED blink upon Wifi, Internal SD, ExtSD activity.
(Disable ROM Led notifications for this feature to work properly)
__________________________________
2.What does Phantom Swap do?
It creates a swapfile on the /data partition and starts the swapping process on boot.
The size of the swapfile is 768MB.
If /data/.phantom.swap is removed it will clean the /data partition of the swapfile remains.
__________________________________
3.What does Phantom Log do?
It enables ROM's logs, that are disabled by default.
To enable ROM's logging (logs) you need to create an empty file named '.phantom.log' in /data and reboot. (The name starts with a dot and without quotes.)
After reboot you can check if everything it's working by opening /data/.phantom.log file, with a text editor, and find this text inside: 'Logs are active and available for debugging now.'.
If the text is there you have done the procedure correctly and all logs should be available.
You can't activate logging from Kernel Adiutor-mod anymore!
__________________________________
Kernel add-on scripts can be found in /=Phantom Scripts= folder, if ramdisk/boot image is not altered (e.g. Magisk is installed).
Simple way to use a script is to copy the script from /=Phantom Scripts= to /system/etc/init.d. and reboot, except iotop.sh !
Alternative method is with Kernel Adiutor-mod or SManager or similar apps.
You can edit, save and delete the scripts from /=Phantom Scripts= folder, but all changes will be gone upon reboot! (Even if you delete all/any of the scripts). Most info on how and what to edit is inside of the scripts.
__________________________________
For best compatibility and experience I recommend using [C9 Pro Port][N900X] AspireTeam C9 Pro V4.0.
(Why? ... it's because my testing was done on to this ROM)
Mod edit: links removed
XDA:DevDB Information
Phantom Kernel, Kernel for the Samsung Galaxy Note 3
Contributors
6h0st
Source Code: Mod edit: links removed
Kernel Special Features: Based on idle kernel by jcadduono/lss1977 source code. (...read full description above.)
Version Information
Status: Stable
Current Stable Version: One
Initial Release Date: 2017-01-08
Latest developer version: 1.2z [EOL]
Latest developer version Release Date: 30.10.2018
For latest updates read the changelog of developer version that can be found in post 3 or on Facebook:

How to flash kernel:
Method for .IMG file:
[ Clean data of Kernel config app fist (Kernel Adiutor or similar apps) ! ]
1. From TWRP Recovery {INATLL} button > go to download folder.
2. Select {Images...} button from down-right-corner > select boot.img.
3. Select Boot > Swipe to confirm Flash.
Done!
Method for . ZIP file:
Download (download link in first post) and flash the zip file from TWRP / other recovery.
* Highly recommended on first flash of a new dev.ver. or if coming from another kernel *
[Backup your /system/etc/init.d scripts, Kernel Adiutor-mod data (or Synapse data from other kernels) BEFORE flashing!]

Changelog of: developer version 1.2z
- Compiled with Toolchain UBERTC 8.2.1 + GRAPHITE optimizations;
- a few bugs fixed for eur and skt variants;
- some improvements in performance and battery life.

Ouchh! Thank you!

also for smn900t?

New kernel .... Great !!! ... download but has extension IMG .. Flash recovery?
Inviato dal mio SM-N920F utilizzando Tapatalk

uzzz2004 said:
New kernel .... Great !!! ... download but has extension IMG .. Flash recovery?
Inviato dal mio SM-N920F utilizzando Tapatalk
Click to expand...
Click to collapse
No! Select boot / not recovery.
See "How to flash" section from fist post.

Tmobilefan906 said:
also for smn900t?
Click to expand...
Click to collapse
Yes. Flash TMO variant.

6h0st said:
Yes. Flash TMO variant.
Click to expand...
Click to collapse
sorry, wrong thread

only for TW ROMs?
i am on Resurrection Remix - very pity

moonryder said:
only for TW ROMs?
i am on Resurrection Remix - very pity
Click to expand...
Click to collapse
Samy TW only. Sorry.

6h0st said:
Samy TW only. Sorry.
Click to expand...
Click to collapse
OK, so i will try Norma ROM V17 by @Thepunisher70 and this kernel

moonryder said:
OK, so i will try Norma ROM V17 by @Thepunisher70 and this kernel
Click to expand...
Click to collapse
V17 launched already?
Sent from my SM-N9300 using Tapatalk

Oh my god, thanx a lot
Sent from my SM-N930F using XDA-Developers Legacy app

Thank you, gonna try it.
But why:
6h0st said:
No CPU OC - Stock CPU frequency table used for better stability
Click to expand...
Click to collapse
I want performance and don't care about battery (it last so long, no need to).
You have some performance tipps?

muhly.ibrahimsha said:
V17 launched already?
Sent from my SM-N9300 using Tapatalk
Click to expand...
Click to collapse
also waiting ...

TurricanM3 said:
Thank you, gonna try it.
But why:
I want performance and don't care about battery (it last so long, no need to).
You have some performance tipps?
Click to expand...
Click to collapse
Change Max CPU speed to 2.26 Ghz. Use yankactive governor if phantom is not doing the job, or try other governors.
Stock frequency table is used for stability. When booting, about 5 sec. or even more, CPU goes to max frequency. If the max frequency is 2.8 Ghz for exemple, some phones will reboot.
...
Use LSpeed app with performance tweaks but don't optimize CPU if you use phantom/yankactive governors.
Use a 30 sec delay to apply tweaks.
Another thing is temperature. If you OC you will need to activate thermal monitoring or else you might damage your CPU, but by doing that you will get a performance loss. This way a lot of the extra power from CPU you get by OC-ing, will go to thermal monitoring.
Plus the thermal monitor will limit frequencies / cores when overheating. So you will be able to use OC extra power for a short while because of overheating, giving you in fact worse performance overall. OC is generally used for benchmarking, not daily use.

TurricanM3 said:
I want performance and don't care about battery (it last so long, no need to).
You have some performance tipps?
Click to expand...
Click to collapse
How is your experience with kernel? You seem you dont like the performance, that is why you want OC, right?
Sent from my Note 3 using XDA Labs

Thanks 6h0st.
I wanted OC for a little more responsivness. I am no gamer. 2267 got used very rarely and just for a short time. I don't think the phone would overheat.
You aren't using CPU Boost right?
Performance is very good. Still testing. I turned off Arch power.

How to flash this kernel ????
First,
Remove previous kernel and it's depending apps like auditor or synapse and.......
In twrp recovery, instead of choosing zip file we should select imag.
Am I right?
If not , please explane( in detail ) how to flash this kernel.
Big thank.
Sent from my LG-D855 using Tapatalk

Related

[ROM & KERNEL][4.3][SM-N9005] CivZ-FLEXDREAM-Rev2.2_MultiRegion + Engine Rev3.2B - AROMA [12/jan/2014]

[ROM & KERNEL][4.3][SM-N9005] CivZ-FLEXDREAM-Rev2.2_MultiRegion + Engine Rev3.2B - AROMA [12/jan/2014]
Note:
This rom is based on the Samsung 4.3 and won't contain heavy mods or themes, install what you want.
I'm not a developer and not pretending to be one, I'm a android enthusiast.
Take it as it is and don't complain as this is free.
No requests.
Thanks to
Faux123, imoseyon & flar2 for there kernel work.
xperiacle for the MW mananger & PW manager.
OsamaGhareeb for battery mod builder
Chainfire for the SUperSU app
rovo89 for the xposed framework
Xblast for the module
jovy23 for sms/mms mods
.........Sorry if I forget someone please contact me and I will add you with pleasure.........
Installation:
KNOX counter will be tripped to 0x01
Make a EFS backup
Install custom CWM/TWRP
First time you install this full wipe.​
SM-N9005
Based on JSS15J.N9005XXUDMK2
Checksum:9EDD4F9FE190281298593547BBB9F80A *CivZ-FLEXDREAM-Rev2.2-SM_N9005_signed.zip
Please check the kernel section (a few scrolls lower) for the latest kernel update!
Google Drive
CivZ-FLEXDREAM-Rev2.2-SM_N9005-CivZ_engine REV2.7
Mega
CivZ-FLEXDREAM-Rev2.2-SM_N9005-CivZ_engine REV2.7
Available regions in aroma:
"BGL", "BULGARIA"
"BTU", "UNITED KINGDOM"
"CYO", "CYPRUS"
"DBT", "GERMANY"
"ERO", "BOSNIA-HERZEGOVINA"
"EUR", "GREECE"
"ITV", "ITALY"
"MSR", "SERBIA"
"ORX", "SLOVAK"
"PHE", "SPAIN"
"PHN", "NETHERLANDS"
"PRO", "BELGIUM"
"ROM", "ROMANIA"
"SEB", "LATVIA"
"SEE", "SEAD"
"SIO", "SLOVENIA"
"TEB", "Bosnia and Herzegovina"
"TOP", "SERBIA"
"TPH", "PORTUGAL"
"TRA", "CROATIA"
"TSR", "SERBIA"
"TWO", "CROATIA"
"XEF", "FRANCE"
"XEH", "HUNGARY"
"XEO", "POLAND"
"XSK", "SLOVAK"
"TGY", "HONGKONG"
"XSA", "AUSTRALIA-NZ"
Aroma installation options:
"AsusWeather"
"AllShare"
"Bloomberg"
"Chaton"
"AntService"
"SammsungApps"
"SamsungGo"
"Yahoo"
"GroupCast"
"Facebook"
"DropBox"
"AcerDNLA"
"GENIE"
"Scloud"
"SecAlarm"
"SecCalculator"
"SecFile"
"SecClocks"
"Secmagazine"
"SecMusic",
"SecVideo"
"EverNote"
"SecWeather"
"SHealth"
"Mobile print"
"Samsung Voice"
"Travel "
"VoiceRecorder"
"WatchOn"
"StoryAlbum"
"Pinboard"
"S_translator"
"QuickMemo"
"Sketchbook"
"PhotoShop"
"SamsungHub"
​
ROM FEATURES
[*]Deodexed & zipaligned (will zipalign new apps on reboot)
[*]4-Way reboot menu
[*]23 Different battery icons ( Changes icon without reboot - Tap the battery icon 3 times to change it))
[*]Busybox 1.21.1 included
[*]SuperUser 1.80 included
[*]SpenWindow manager & MultiWindow manager included
[*]Xposed framework & Xblasted module included
[*]ViperFX supported and included (modded build.prop) Updates follow this thread.
[*]CSC hidden features enabled: Camera sound; Key_symbols;........
[*]Init.d tweaks for I/O
[*]Inkt effect enabled even without spen
[*]etc.........
KERNEL FEATURES of [URL="http://www.androidfilehost.com/?a=show&w=files&flid=9736"]CivZ-Engine-Rev3.2B & older versions[/URL]
Kernel based on JB Samsung source Update4 MK2
[*]OC/UC & UV: Max OC is 2.55GHz / Min UC is 96MHz (bootspeed is 300MHz - 2262MHz) thanks to Faux 123 & Imoseyon
[*]Dynamic FSYNC with ASync support thanks to Faux123
[*]Led control (synapse, app included) by yank555
[*]mdnie control (synapse, app included) by Whathub
[*]Synapse support thanks to Whathub
[*]Simple GPU governor added by Faux123
[*]Faux Sound control by Faux123
[*]Init.d support build into the kernel
[*]Various fixes to the original source (Thanks to faux & Imoseyon)
[*]USB Fast charge (disabled by default use included KernelTuner app to enable it) Thanks to yank555-lu
[*]ARCH-Power enabled
[*]FS; FS+; ExFat and NTFS/RW supported (For NTFS use the included "USB OTG helper")
[*]GCC4.7 compiled with Flag Optimization
[*]SIO & FIOPS added shedulers
[*]SeLinux permissive.
Source of REV2.9 as tarball for now
Rom control options to use with Terminal:
Custom/samsung bootanimationReboot is needed to apply changes
su (enter)customboot (enter)=customboot animation and support = DEFAULT"
su (enter)samsungboot (enter)=enable samsung boot animation"
SELinux status: Reboot is NOT needed
su (enter) selinux_off (enter) = Permissive status = DEFAULT.
su (enter) selinux_on (enter) = Enforced status
Powersuspend driver @ faux123 : Reboot is NOT needed
su (enter) powermode_off (enter) = DEFAULT.
su (enter) powermode_on (enter)
Powersuspend is a new driver that replaces the Early suspend driver: It should give better battery life when enabled.​
Changelog:
24/11/2013: First release Rev1.0
27/11/2013:
Release of Rev1.1
Updated lib files for stability
Updated apps
Ink effect enabled without the use of spen
SMS/MMS mods included in apk (forgot this on rev1.0)
28/11/2013:
Release of Rev1.2
Bug fix for the video player
New kernel engine rev1.5; various fixes.
Tarball kernel source updated to rev1.5
29/11/2013:
Release of Rev1.2b
New kernel engine rev1.6; ExFat problem fixed.
Tarball kernel source updated to rev1.6
30/11/2013:
Release of Rev1.3
New kernel engine rev1.8
New terminal command to change SELinux state.
Kernel code cleaned up = easier for me to change and to follow my changes; working on Github so expect it the following days.
Trickstermod supported and included in the rom from now on as this is the recommended app to control the kernel. Don't forget to disable KernelTuner!
Experimental; cifs enabled but still in testing as mounting on Android 4.3 is still a problem: DON'T report this as a bug!
06/12/2013:
Release of Rev1.4
New kernel engine rev1.9: Unused clockspeeds removed, new patches, Intillidemand governor added (@ Faux123)
All apps that can be moved to data are moved to data/apps (google apps and some samsung apps) , this way there are never 2 the same apps on the system (system/app and data/app) and you save up to 150-250Mb of storage. And you get the flexibility to easily remove them if you don't wan't the apps.
Updated apps
Source tarbal uppdate to 1.9
22/12/2013:
Release of Rev2.0
New kernel engine rev2.4: New Frequency table with lower dafault voltages - UC to 96MHz possible
Dynamic FSYNC with Async @ Faux 1234
New Powersuspend driver @ Faux1234
Rom based on MK2 release
New battery icons added
Odex script added
Apps updated
Aroma script changed for clean install or dirty install, please take time to look at all the options when installing the rom.
Main goal of kernel and rom are stability / user friendly / battery friendly.
Kernel is now set at "Permissive" status by default, you can change it to" Enforced" with the terminal command.
XSA Australia - NZ csc added (Navigation software for Australia - NZ included like in the original firmware), TGY Hong Kong csc added.
.................
Source tarbal
22/12/2013:
Release of Rev2.1
New kernel engine rev2.5: New Frequency table with lower dafault voltages & new OC Frequencies: 2.41GHz & 2.53GHz , removed the 2.49GHz frequency
Faux1234 Voltage control allowing 12.5mV steps.
Minimum Undervoltage is now 600mV & Max voltage is now 1100mV which is stock max voltage.
Updated Intellidemand governor | Faux 1234
CPU boost driver added
Removed KNOX from aroma asI believe it is not needed in a custom rom.
OTG USB helper replaced with Paragon NTFS HFS & tested on my 750GB ntfs HDD and working.
Apps updated
Aroma script changed back to previous version
.................
Update REV2.5 Source tarbal
02/01/2014:
Release of Rev2.2 Use TricksterMod or Faux Kernel app.
New kernel engine rev2.7: New Frequency table with max speed 2.55GHz
Faux123 sound control
Powersuspend driver updated
Led control (synapse, app included) by yank555
mdnie control (synapse, app included) by Whathub
Touch To Wake rev1.2 by yank555
New Terminal command , see command list.
Apps updated
.................
04/01/2014:
Release of CivZ_Engine REV2.8 (Kernel)
Updated mdnie black color tuning @ yank555
Faux123 simple governor added
synapse GPU control added @ Whathub
Wheatly governor added @ Ezekeel
zen scheduler added
05/01/2014:
Release of CivZ_Engine REV2.9 (Kernel)
Updated mdnie black color tuning @ yank555
Updated Faux Sound control = I recomend that you use the Faux sound app
synapse external SD readahead I/O tweak added
synapse power suspend driver enable/disable support added = terminal command removed as the app does it for you.
REMOVED touch to Wake for now.
Source of REV2.9 as tarball for now
07/01/2014:
Release of CivZ_Engine REV3.0 (Kernel)
Added advanced kernel tweak support in synapse
Change Selinux status with synapse app
Build into the kernel: perfect mount tweak
Build into the kernel: Zipalign on every boot tweak
Rebuild kernel with optimization flags
Removed Powersave and userspace governor as they are useless.
Source is the same as Rev2.9 , changes happened in the ramdisk, makefile and defconfig.
08/01/2014:
Release of CivZ_Engine REV3.1 (Kernel)
[*]Updated Intellidemand governor version 5 @ Faux123
Removed as the update resulted in system crashes.
09/01/2014:
Release of CivZ_Engine REV3.2 (Kernel)
Kernel updated to MK2 source release Linux 3.4.39
some small settings changes in battery tweaks of synapse
12/01/2014:
Release of CivZ_Engine REV3.2B (Kernel)
UV control added to the synapse app (THANKS to WHATUB), minimum UV allowed is -87,5mV., No overvolting.
some small settings changes in battery tweaks of synapse
​
XDA:DevDB Information
CivZ FLEXDREAM - Samsung Based custom rom 4.3, a ROM for the Samsung Galaxy Note 3
Contributors
civato
ROM OS Version: 4.3.x Jellybean
ROM Kernel: Linux 3.4.x
Version Information
Status: Stable
Created 2013-11-24
Last Updated 2014-01-12
Looks very nice is this rom/kernel is overclocked?
VodkaPlease said:
Looks very nice is this rom/kernel is overclocked?
Click to expand...
Click to collapse
No it is up to you to OC & UV with the included app.
So change nothing and your speed will be the default 2.62GHz.
Yess. I download And i instal. Thanks very much. Attend the report
Inviato dal mio SM-N9005 utilizzando Tapatalk
civato said:
No it is up to you to OC & UV with the included app.
So change nothing and your speed will be the default 2.62GHz.
Click to expand...
Click to collapse
but the default speed is 2.3ghz o.o
Loking forward to flash this rom. Give a report ASAP
Sent from my SM-N9005 using XDA Premium 4 mobile app
nice to see a new rom thanks mate
Fantastic work on a500 and now on note 3.
Thanks bro
Envoyé de mon SM-N9005 en utilisant Tapatalk
Envoyé de mon SM-N9005 en utilisant Tapatalk
Thanks for the ROM - flashed and all seems good so far. Looking for where I can change the battery - I can't seem to find an AP for it - nothing in settings that I can see - and no app that gives me an opiton (at least that I have found - forgive me for sounding like a NOOB but where do I change the battery icon?
Civ, good to see you're on to the N3 now. Using your rom on my N8 also.
Sent from my SM-N900W8 using Tapatalk HD
Downloading.....
New ROM always welcome
mocsab said:
Thanks for the ROM - flashed and all seems good so far. Looking for where I can change the battery - I can't seem to find an AP for it - nothing in settings that I can see - and no app that gives me an opiton (at least that I have found - forgive me for sounding like a NOOB but where do I change the battery icon?
Click to expand...
Click to collapse
Info from the OP:
23 Different battery icons ( Changes icon without reboot - Tap the battery icon 3 times to change it)
The download stops after a while. upload it on another server. I tried 8 times.Thanks
Inviato dal mio SM-N9005 utilizzando Tapatalk
Holy crap civ on the note 3 you did exceptional work on the acer a500 the best. Glad to c u here.
The download stops after a while. upload it on another serve
good to have another master grade developing N3.
Downloading, will try it and give some feedback.
Also, if can provide some screenshots in the OP will be better.
Thanks
civato my man I love your work on my Acer iconia man , I hope This Rom as good as The Acer iconia one, welcome
Sent from my SM-N9005 using XDA Premium 4 mobile app
Is this ROM more battery friendly and does it use Power tweaks for battery saving?
civato said:
Info from the OP:
23 Different battery icons ( Changes icon without reboot - Tap the battery icon 3 times to change it)[/QUOTE
I saw that in the OP before I flashed the rom it in the first place - but when I did flash the rom NO Battery was visible in the Status Bar at all. I looked throughout the settings to see where the battery could be turned on and didn't see anything. (I had not configured XBLAST or any of the other MODS that come with the ROM - and I did full clean install.)
After rebooting the phone several times - I finally saw the battery appear in the status bar and I was able to click it three times to change. But it only became visible after the phone had been rebooted a few times.
Thanks for the response -
Click to expand...
Click to collapse
Hi my friend great work as always!
Inviato dal mio SM-N9005 utilizzando Tapatalk

[DISCONTINUED][6.x][KERNEL][AOSP/CM][UBER 5.3] Optimus Kernel R55 [-O3][DT2W]

Optimus Kernel​
I present to you my own kernel which has been built with many optimizations and tweaks. This kernel will work on marshmallow roms only.The main aim is to provide a stable kernel with optimizations.
I hope you all will like it
A new simple version (lollipop version) is available at post #2. Do check it out!
Note: R47 or later will work perfectly only on MarshMallow. Lollipop support was ended with R46.
Custom Features:
- Updated to latest cm-13.0 Sources
- Compiled With Custom UBER 5.3.1 Toolchain
- Compiled With -O3 & Graphite Flags
- Additional many optimization flags
- Compiled With Cortex A7 Tweaks
- ARM v7 Optimizations
- MSM_hotplug driver flavored by neobuddy
- DoubleTap2Wake/Sweep2Wake
- GPU underclock/overclock(Min:100 MHz & Max:533 MHz)
- Add dev/frandom
- Added Support for Kernel Neon Mode
- Enabled Pipe Flag
- Adreno Idler Algorithm
- Add State notifier driver
- Add Impulse governor(default)
- Add BioShock/DanceDance Govs
- Added SmartMax/LionHeart Govs
- LCD Kcal Control by Savoca
- Faux's Sound Control
- Optimized ARM RWSEM Algorithm
- Optimized Square Root Algorithm
- LMK tweaks
- block: disable add_random
- Enable unaligned capability for ARM
- CpuFreq Optimizations
- Backported hotplug thread infrastructure
- Disabled Gentle Fair Sleepers
- Enabled Many TCP Congestions
- Added SIO,VR & ZEN IO Scheduler
- Sched & Mutex Tweaks
- Pushed Read Ahead value to 512
- Use your android device as USB Keyboard/Mouse
- Enabled FSync by default
- Optimized Slub
- VFP HardFloat
- Power Efficient WorkQueues
- Kexec patched (Multirom Compatible)
- Many more things (Check Github)
Disclaimer:
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.​
Pls Read This before flashing:
You need ROM's default kernel before flashing this as this kernel makes use of AnyKernel 2 by @osm0sis. Make sure you have it otherwise clean flash the kernel with the rom to avoid any issues.(At least dirty flash rom+kernel) Credits to @attack11 for some part of install script.Read FAQ's and changelogs in 2nd post. THIS KERNEL COMES FINE TUNED OUT OF THE BOX.
DOWNLOADS:
AndroidFileHost
OptimusR46NEW(Final LP version)
Mirror: (Current as well as older versions available)
Mediafire
How to Flash:
1. Download the kernel and place it into your phone storage
2. Reboot into recovery
3. Install the kernel
4. (optional) Wipe Dalvik/ART Cache and Cache partitions
5. Reboot and enjoy!​
PLS DON'T MIRROR THE LINKS
Recommended app:
Synapse or Kernel Adiutor
Flash UKM.zip from the below link: (credits to @apb_axel)
http://forum.xda-developers.com/android/software/zip-synapse-script-universal-kernel-t2736986
And then install synapse from play store.
I would like to say thanks to @faux123 @YoshiShaPow @fermasia @Alberto97 @TeamMex @Quasar @Mazda @FabioSan @Blechdose @neobuddy89 @RenderBroken @savoca @deadman96385 @pinkflozd @alin.p @Cl3Kener @Shivam Kuchhal and CYANOGENMOD TEAM
and MANY MORE...
XDA:DevDB Information
Optimus Kernel, Kernel for the Moto G
Contributors
Flashhhh, Thecrazyskull
Source Code: https://github.com/desaishivam26/Optimus_Reborn
Version Information
Status: Stable
Current Stable Version: R38
Stable Release Date: 2015-05-21
Created 2015-04-24
Last Updated 2015-07-14
OptimuSimple is the version that i have been using quite often now. It's not bloated with many features and works surprisingly well compared to original version. Some of it's features:
- Updated to v3.4.109
- Compiled with Linaro 4.9 Cortex A7 optimized toolchain
- Intelliplug 4.0 by faux
- Faux Sound Control
- Kcal Control by savoca
- Simple GPU Algorithm
Optimizations and governors are same as original version. It doesn't contain dt2w. So if u want dt2w flash original version from 1st post!
Download:
https://www.androidfilehost.com/?fid=24052804347833430
Looking for changelogs??
Here they are!!!
F.A.Q. - Read this before complaining!
1. My phone exploded, HELP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: Works on all CM12/12.1 and AOSP roms. Not for stock roms!!
3. OMG BATTERY SUCKZ, ITZ DEAD IN 45 MINUTES, HELP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. How do I flash this?
A: Read the OP, theres a reason why I added instructions on it.
5. What is a data loss? Did I just had one?
A: Data loss is simply having the connection cut for X periods of time, usually few seconds. Grey bars means the device is not connected to Google services for some weird reason, but you'll still have internet connection.
6. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.
Many thanks to showp1984 for this info
What is msm_mpdecision?
100% kernel based multi core decision! (should cpu1/2/3 be online or not?)
This is a special version modded by neobuddy Plus the idle frequency and some load thresholds have been adjusted by me.
Some Configuration:
startdelay = time until mpdecision starts doing it's magic (20000)
delay = time between checks (130)
pause = if something else plugs in the cpu, fall asleep for 10000ms (10 secs)
scroff_single_core = if the screen is off, don't plug in cpu1/2/3. Additionally: Unplug all cpus except cpu0 when screen is turned off (1)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
min_cpus = min cpus to be online, cannot be < 1. Default: 1
max_cpus = max cpus to be online, cannot be > 4. (if you set it to 2 and min_cpus to 1 you will basically have a dualcore) Default: 4
idle_freq = a value against that will be checked if a core +/- is requested. (600 MHz)
mpdecision's input event boost, aka project butter
This will boost your min cpu speed if you touch the screen or press a button and gives you full control.
In those events the min cpu freq will be risen to a predefined value on every online cpu. This boosts overall reaction times and smoothness a lot. (works similar to the qcom mpdecision binary)
Good to see one more kernel
Sent From My XT1068{LP} Using TapatalK
Will try ASAP, thanks
Installed on my XT1032 16GB CM12 . Intellidemand/Noop and it runs great , very smooth scrolling tested with G+ in the Browser.
How about the camera performance? On other kernels, it would freeze after touching the shutter and requires a reboot.
Anyways, great job on making another kernel available for Lollipop
Thanks for the intelliplug and a bunch of governors
Sent from my falcon using XDA Premium 4 mobile app
hiu115 said:
How about the camera performance? On other kernels, it would freeze after touching the shutter and requires a reboot.
Anyways, great job on making another kernel available for Lollipop
Click to expand...
Click to collapse
Camera is working fine!
You can test it for yourself
Kai Disobey said:
Installed on my XT1032 16GB CM12 . Intellidemand/Noop and it runs great , very smooth scrolling tested with G+ in the Browser.
Click to expand...
Click to collapse
Glad to hear that!
srisurya95 said:
Thanks for the intelliplug and a bunch of governors
Sent from my falcon using XDA Premium 4 mobile app
Click to expand...
Click to collapse
U r welcome
Flashed this kernel on blisspop and its awesome!!!
ROM performs pretty good with kernel and intelliplug works like a charm
Thank you @Flashhhh hope u continue development
Sent from my falcon using XDA Premium 4 mobile app
Does it support XT1033 as well?
hiu115 said:
Does it support XT1033 as well?
Click to expand...
Click to collapse
Yes!
Working great man, but please fix the gpu governors, When switching to simple_ondemand then it reboots..
DeHuMaNiZeD said:
Working great man, but please fix the gpu governors, When switching to simple_ondemand then it reboots..
Click to expand...
Click to collapse
Thanks for reporting!
Will fix it
But the next update will take a little time!
Sry
Intellithermal plzzzz..
srisurya95 said:
Intellithermal plzzzz..
Click to expand...
Click to collapse
Intellithermal isn't entirely useful on the Moto G since it runs on low clock speeds anyway. So no heating problem.
srisurya95 said:
Flashed this kernel on blisspop and its awesome!!!
ROM performs pretty good with kernel and intelliplug works like a charm
Thank you @Flashhhh hope u continue development
Sent from my falcon using XDA Premium 4 mobile app
Click to expand...
Click to collapse
sorry what version of blisspop you have?
today's build?
deltafile said:
sorry what version of blisspop you have?
today's build?
Click to expand...
Click to collapse
4/02
Sent from my falcon using XDA Premium 4 mobile app
srisurya95 said:
4/02
Sent from my falcon using XDA Premium 4 mobile app
Click to expand...
Click to collapse
ty im going to switch to it from candy rom

[Kernel] Lollipop/Stock-Navel-Kernel-850

I was asked to bring a Sprint kernel over for the G3 850. Make sure you thank @altvolt74 for finding the ramdisk issue and for testing!!!!
I DO NOT HAVE THIS PHONE so I may not be able to answer all of your questions. It'll be up to you guys.
Original Thread
This is for Stock-based LG Roms
So for your flashing pleasure may I present to you........
Navel Kernel​
Please see/read post #2.
What it has:
V2.5 -9-14-15
OC/UC reworked 268/2880Mhz and extra lower steps added
IntelliThermal V2
Govs- zzmoove, intellidemand 5.5, tripndroid, intelliactive added
Optimize square root
A couple optimizations
Frandom
V2.4 - 7-9-15
kexec/MultiRom support added
Lux down to 1
Oversharpening set to 0
New install method for the kernel- it'll use and build the ramdisk from your current rom/kernel.
V2.3 - 6-23-15
KCal added - this will give you my options for the screen
V2.2 - 6-13-15
Same as below+
f2fs
exfat
V2.1 - 6-9-15
Same as below+
Linaro 4.9 toolchain
Updated ramdisk to 20f
Cpu OC
GPU over/underclock 100mhz and 27mhz sleep.
Read from this post to the next page for CPU voltage info. http://forum.xda-developers.com/showthread.php?p=61240126&postcount=310
V2 - 6-1-15
same as below+
TCP algorithms - Westwood, Vegas and others
Smartmax gov
Enabled KSM
Oversharpening fix
Neon support
Intellithermal
OC is broken in this version - if I can fix it, then we'll have GPU over/under clock
Maybe others I'm forgetting.
V1 -5-25-15
20f source
20k ramdisk from chupachup rom
init.d
Selinux permissive
schedulers - fifo, fiops, sio, vr, zen, tripndroid
govs - intellidemand, adaptive, wheatley, dancedance, lagfree, lionheart
undervolting
intelliplug
gpu-simple on demand fix
interactive fix
Bluetooth fix
Faux Power Suspend
Fast Charge
Overclock
Faux Sound
CPU Freq Limiter
simple on demand GPU gov - Faux
General and install info:
This is for the G3 850 only - I DO NOT have this phone so if it works on others, let me know.
If you have SElinux Changer already installed:
You need to uninstall it first. Set it to "enforce" first. Then Settings>apps and clear "data" and "cache", Force stop then uninstall. Reboot. Then install the kernel.
Make sure you disable "set on boot" if you have it!!!!!
I recommend using Trickster or Faux or Kernel Aduitor to mess with the kernel settings. Faux and Kernel Aduitor will allow more settings.
Thanks, credits
@Tectas
https://github.com/tectas/android_kernel_lge_msm8974ac/tree/rin-lollipop
@Skin1980
https://github.com/Skin1980/D855-kernel/tree/lollipop
Source
Github
Downloads:
Navel-850-V2.5
Navel-850-V2.5-Other - try this if the other doesn't work - Should work with Cloudy.
Navel-850-V2.4-other - try this if the other doesn't work - Should work with Cloudy.
Navel-850-V2.4
Navel-850-V2.3-other ramdisk - this is the same, just with a different ramdisk. Try this if the other won't boot. Works with Cloudy.
Navel-850-V2.3
Navel-850-Kernel-V2.2
Navel-Kernel-other ramdisk-2.1 This is a one time deal for now. Try this version if your phone won't boot up.
Navel- Kernel-850-V2.1
Navel-Kernel-850-V2
Navel-Kernel-850-V1
________________________
Thanks to @altvolt74 for all the help in testing this.
XDA:DevDB Information
[Kernel] Navel Lollipop Kernel - 850, Kernel for the AT&T LG G3
Contributors
engine95
Source Code: http://opensource.lge.com/osSch/list?types=ALL&search=855
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2015-05-25
Created 2015-05-27
Last Updated 2015-05-27
How to change "zzmoove" profiles with Kernel Aduitor
"CPU"
"CPU Governor tunables"
Scoll down to "profile_number, and select the one you want. (The profile name will show right above it).
I would recommend rebooting when done.
zzmoove profiles
* currently available profiles by ZaneZam and Yank555:
-----------------------------------------------------------------------------------------------------
(1)'def' -> Default -> will set governor defaults
-----------------------------------------------------------------------------------------------------
(2)'ybat -> Yank Battery -> a very good battery/performance balanced setting -
DEV-NOTE: highly recommended! -
------------------------------------------------------------------------------------------------
(3)'ybatext'-> Yank Battery Extreme -> like yank battery but focus on battery saving -
-------------------------------------------------------------------------------------------------
(4)'zzbat' -> ZaneZam Battery -> a more 'harsh' setting strictly focused on battery saving -
DEV-NOTE: might give some lags! -
--------------------------------------------------------------------------------------------------
(5)'zzbatp' -> ZaneZam Battery Plus -> NEW! reworked 'faster' battery setting -
DEV-NOTE: recommended too! -
--------------------------------------------------------------------------------------------------
(6)'zzopt' -> ZaneZam Optimized -> balanced setting with no focus in any direction -
DEV-NOTE: relict from back in the days, even though some people still like it! -
------------------------------------------------------------------------------------------------
(7)'zzmod' -> ZaneZam Moderate -> NEW! setting based on 'zzopt' which has mainly (but not strictly only!) 2 cores online -
--------------------------------------------------------------------------------------------------
(8)'zzperf' -> ZaneZam Performance -> all you can get from zzmoove in terms of performance but still has the fast -
down scaling/hotplugging behaving -
------------------------------------------------------------------------------------------------
(9)'zzinz' -> ZaneZam InZane -> NEW! based on performance with new insane scaling active. a new experience! -
--------------------------------------------------------------------------------------------------
(10)'zzgame' -> ZaneZam Gaming -> NEW! based on performance with scaling block enabled to avoid cpu overheating during gameplay -
--------------------------------------------------------------------------------------------------
(11)'zzrelax'-> ZaneZam Relax -> NEW! based on moderate (except hotplug settings) with relaxed sleep settings -
--------------------------------------------------------------------------------------------------
*
* NOTE: be aware when setting tuneables which have a 'should' in comments below that giving
* them 'wrong' values can lead to odd hotplug behaving!
History:
I'm not a kernel dev. But I think I'm a pretty good hack. I've been the only one I know that has been able to build a Stock kernel lately for Lollipop G3.
Merging with the posted sources will result in a failed build. I've had to manually add the changes by hand and one by one. It's a very time consuming effort. I had to make 2 separate build sources from scratch for Sprint and the 855/850. Each one probably takes me 8hrs+ just to get it to where it is. Just so you know.
With that said, let me get this up to the Sprint version before making any requests.
Thanks.
___________________________
My preferred settings - But you my find something better for your needs.
gov - lionheart
sched - vr or row
intelliplug on - Mp Decision off
readahead set to 2048
Gpu - simple on demand
Power suspend - userspace
undervolt - 40 - but every phone is different
My phone sleeps like a baby and only loses 1-2%in 8hrs if I don't use it.
___________________________
Downloaded, doing backup right now, I'll report back when done, thank you.
Downloading now, truly appreciate you bringing this to a device that you do not even own. Will report back.
Thank u for this man! It's so good to finally have a custom kernel for stock lollipop. Downloading now.
Installed no problem, running cloudy. Intellidemand+fiops. Seems good so far
muppetmaster916 said:
Installed no problem, running cloudy. Intellidemand+fiops. Seems good so far
Click to expand...
Click to collapse
You're running Cloudy Lollipop on the D850?
---------- Post added at 12:35 PM ---------- Previous post was at 12:35 PM ----------
Looks good so far, I know I now have selinux permissive by default as Viper Audio works automatically now
dogg94 said:
You're running Cloudy Lollipop on the D850?
---------- Post added at 12:35 PM ---------- Previous post was at 12:35 PM ----------
Looks good so far, I know I now have selinux permissive by default as Viper Audio works automatically now
Click to expand...
Click to collapse
Yes.....cloudy 2.2 on At&t LG G3......with this kernel running smoothly.
Is quick charge automatically enabled? Or do I need to do something? Thanks!
Never mind it's fast charged and only for USB and disables mtp etc
Sent from my LG-D850 using XDA Free mobile app
4NDROID4LIFE said:
Is quick charge automatically enabled? Or do I need to do something? Thanks!
Never mind it's fast charged and only for USB and disables mtp etc
Sent from my LG-D850 using XDA Free mobile app
Click to expand...
Click to collapse
If you use Faux tuner, you can adjust the setting to match what your using.
Otherwise, it's default.
Look in /sys/kernel/fastcharge/info.
SD card read issue
Hello. I've been waiting for a stock based l kernel for awhile. thank you so much. however i seem to have an sd card mounting issue with the kernel. it detects the card, but is unable to mount. any solutions?
is it possible to add kexec multi boot patch to this kernel? so we can use the revived multirom? that would be perfect.
cody1996 said:
Hello. I've been waiting for a stock based l kernel for awhile. thank you so much. however i seem to have an sd card mounting issue with the kernel. it detects the card, but is unable to mount. any solutions?
Click to expand...
Click to collapse
SOLVED: upon looking at your sprint forums i read some users were having the same issue. upon formatting my sd card to fat through twrp my sdcard mounts again. sorry if i bugged you with a question you already answered
Everything is looking great and working fine on 21I, but undervolting is not enabled.
nygfan760 said:
Everything is looking great and working fine on 21I, but undervolting is not enabled.
Click to expand...
Click to collapse
21l?? [emoji50]
cody1996 said:
SOLVED: upon looking at your sprint forums i read some users were having the same issue. upon formatting my sd card to fat through twrp my sdcard mounts again. sorry if i bugged you with a question you already answered
Click to expand...
Click to collapse
Not a bother at all. I'll do what I can. But most of it is up to you guys. Just let me know if something doesn't work and we'll see if we can fix it.
nygfan760 said:
Everything is looking great and working fine on 21I, but undervolting is not enabled.
Click to expand...
Click to collapse
Is it on other Roms? As far as I know it works for you guys.
And see above.
Running it on cloudy 850. Not too shabby. Good job. and thank you.
Does this support f2fs?
edit: not seeing undervolting under kernel auditor. also, I can't overclock either.
lolwatpear said:
Does this support f2fs?
edit: not seeing undervolting under kernel auditor. also, I can't overclock either.
Click to expand...
Click to collapse
Same here, uv and oc options doesn't show. BTW fantastic job, thanks for share!
marseillesw said:
21l?? [emoji50]
Click to expand...
Click to collapse
engine95 said:
Is it on other Roms? As far as I know it works for you guys.
And see above.
Click to expand...
Click to collapse
Not on Cloudy either. 21I is the latest AT&T OTA software that enable VoLTE, I made my own rom from it.

Sensei [Enjoy the ZenExperience][Sabermod][Kernel]

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 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.
*/
Introduction
What Is Sensei?​
Sensei is a kernel for the Mi4i (ferrari) that is derived from @dh-harald sources. Built with UberTC to ensure the best performance and stability with a highly optimized system. Cherry-picked features & fixes from AOSP, CM and other repos to provide useful and well-tested features that make your phone better. It does not have useless kernel patches or make dangerous or experimental changes to your phone that cause weird or inexplicable problems.
Features​
Multirom support
Advanced color control
Fastcharge
Better Ram & Battery Management
Quickwake
Fast bootup (Using all cores)
Better thermal handling
Compability​
Sensei is compatible with any rom derived from the CyanogenMod source. (CM12.1, CM13, AOSPA-L, Pac-Rom, PA)
DONATIONS​
Sensei is built on open-source software which doesn't allow me to charge it for anything. If you like the kernel and want to donate, here's my paypal email "[email protected]"
Where to download?
Downloads are in the changelog on the 3rd post​
How to install?
Make sure you are using MiToolkit v4 to flash the recovery.
Download the kernel
Move it to your phone if downloaded from PC
Reboot into recovery
Locate the kernel and install. You don't have to wipe cache/dalvik.
XDA:DevDB Information
Sensei - Enjoy the ZenExperience, Kernel for the Xiaomi Mi 4i
Contributors
haikalizz
Source Code: https://github.com/webhaikal/android_kernel_xiaomi_ferrari
Kernel Special Features: Doubletap2Wake | Lot's Of Governors | Core_ctl | Fast Charge
Version Information
Status: Stable
Current Stable Version: 3.0
Stable Release Date: 2016-10-27
Created 2015-08-20
Last Updated 2017-02-03
Information
Preferred Settings
Balanced
Governor (Both) : Interactive
I/O Scheduler : Zen
Read-ahead : 1024kb
CPU Hotplug : Thunderplug
Thermal : Core Control (Max Temp 50°)
Gaming
Governor 1 : ElementalX
Governor 2 : Interactive
I/O Scheduler : Zen
Read-ahead : 1024kb
CPU Hotplug : Thunderplug
Thermal : Core Control (Max Temp 50°)
Performance
Governor (Both) : SmartassV2
I/O Scheduler : Zen
Read-ahead : 1024kb
CPU Hotplug : Thunderplug
Thermal : Core Control (Max Temp 55°)
Fix for MIUI
To make it work for MIUI6 and 7.
Flash these files in TWRP
https://drive.google.com/file/d/0B_NyTBF8E1FZbktVVm41ZkJCb28/view?usp=sharing
https://drive.google.com/file/d/0B_NyTBF8E1FZcGlLaW8xbEpYNlk/view?usp=sharing
Preferred Kernel Manager
Kernel Auditor
SetCPU
Enabling features
Doubletap2wake (To enable, run this in terminal : "echo 1 > /sys/devices/soc.0/78b9000.i2c/i2c-5/5-004a/wakeup_mode")
CPU Core Control
Force enable CPU : "echo 1 > /sys/devices/system/cpu/cpu{number}/online_control"
Force disable CPU : "echo 1 > /sys/devices/system/cpu/cpu{number}/online_control"​
Notification LED control : https://gitlab.com/webhaikal/SenseiFerrari/commit/b1d580859870bcaaedadfb043cde37a0e0ea0918
Bugs
Others? You tell..
Changelog
Sensei v3.0 (27/10/2016)
Changelog
[*]Upstreamed to Linux 3.10.104
[*]Added new governor (Chill, Intelliactive, Ironactive)
[*]Added ondemand optimize feature (Zen-tune)
[*]CVE-2016-5195 Security patch
[*]Dynamic FSync
[*]Kexec & Kexec Hardboot patch
Download : https://www.androidfilehost.com/?fid=457095661767104457
MD5 : 841b61a6967873610c9ccd868644c053
Sensei v2.3r2 (26/06/2016)
Fixed Yankactive not showing in previous version
Added MSM Limiter
Thunderplug updated to v5.0
Download : https://www.androidfilehost.com/?fid=24572369242687284
MD5 : 8e35f50fcf1548f95baff8cb04978c62
Sensei v2.3 (26/06/2016)
ElementalX Governor
Yankactive Governor
Using faster optimization techniques (Thanks to OP3 forums)
Download : https://www.androidfilehost.com/?fid=24572369242687266
MD5 : eb401b13c9622778492c0d9e53ac9e20
Sensei v2.2-dev (13/02/2016)
Upstreamed kernel version to 3.10.55 (Will update to latter versions later)
Download : https://www.androidfilehost.com/?fid=24415232478675650
MD5 : 23dcc71508db72faa8a8e91afeadc6c9
Sensei v2.1.2-dev (24/01/2016)
Download : https://www.androidfilehost.com/?fid=24389512218018294
MD5 : dde95bd145ab59ec3c71ade66dfa0009
Does this work with miui? Or only cm ROMs?
Sent from my Mi 4i using Tapatalk
Working well on cm12.1. Fixed my WiFi issues with custom kernels as well. I don't see zzmoove amongst the govs, was it removed?
davtse said:
Working well on cm12.1. Fixed my WiFi issues with custom kernels as well. I don't see zzmoove amongst the govs, was it removed?
Click to expand...
Click to collapse
Thanks for the info, will look into it today. @Annasarp this only works on CM12.1, will try to look into support for miui.
-----------Edit-----------------
Testing out latest build for potential zzmoove governor fix with new hotplugs (Alucard, Mako, Bricked).
haikalizz said:
Thanks for the info, will look into it today. @Annasarp this only works on CM12.1, will try to look into support for miui.
-----------Edit-----------------
Testing out latest build for potential zzmoove governor fix with new hotplugs (Alucard, Mako, Bricked).
Click to expand...
Click to collapse
I am on ver. 1.0 , not getting option to set hotplug .I tried kernel aiudtor ,trickster mod and set CPU.
v1.02 still cant see zzmoove, and kernel version in about phone says unknown
davtse said:
v1.02 still cant see zzmoove, and kernel version in about phone says unknown
Click to expand...
Click to collapse
same here but on first boot zzmoove shows, the next boot it disappears.. may need to disable it. On other news, new hotplugs Alucard, Mako and Bricked have been implemented. Will include in next update with some thermal and cpu freq tweaks...
haikalizz said:
same here but on first boot zzmoove shows, the next boot it disappears.. may need to disable it. On other news, new hotplugs Alucard, Mako and Bricked have been implemented. Will include in next update with some thermal and cpu freq tweaks...
Click to expand...
Click to collapse
Great! I come from the i9505 so I'm familiar with Alucard. Anyway just a question. My Big cores seem to come online more often then the little cores do, even when just doing UI stuff. Is this how the 615 behaves normally? I'm using alucard for both sets of CPUs and autosmp.
davtse said:
Great! I come from the i9505 so I'm familiar with Alucard. Anyway just a question. My Big cores seem to come online more often then the little cores do, even when just doing UI stuff. Is this how the 615 behaves normally? I'm using alucard for both sets of CPUs and autosmp.
Click to expand...
Click to collapse
I think it's how the governor handles it... The big cores aren't always online using the settings provided, most of the time the little cores handles most of the UI, Games and stuff. I will try using alucard and see.
haikalizz said:
I think it's how the governor handles it... The big cores aren't always online using the settings provided, most of the time the little cores handles most of the UI, Games and stuff. I will try using alucard and see.
Click to expand...
Click to collapse
seems like autosmp hotplug is the issue. I turn it off, all cores stay online, the big cores stay at 200mhz while the small ones are used more actively unless load is heavier then all are turned on. under no load they're all at 200mhz but none of them go off
New build up, changelog and download links are in #3 post. Also @davtse have been using Alucard governor with AutoSMP, Big cores are usually online. May need to find more info about that, though this is a WIP...
haikalizz said:
New build up, changelog and download links are in #3 post. Also @davtse have been using Alucard governor with AutoSMP, Big cores are usually online. May need to find more info about that, though this is a WIP...
Click to expand...
Click to collapse
After testing over the course of last night, i've found that most of the hotplugs have the same issue, but Mako just doesn't work at all. I think the problem is that none of the hotplugs are meant for octacore big.small cpus. If you look in alucard's folder in /sys/kernel/alucard, it only has variables up to core 3, 4-7 are missing
Testing new kernel with doubletap2wake and sweep2wake implemented in kernel... About the hotplugs, I may need more time on that.
------- Edit --------
Doubletap2wake and Sweep2Wake/Sweep2Sleep implemented in kernel but not working fully... Either it needs to be implemented in touchscreen drivers or rom... @k2wl
haikalizz said:
Testing new kernel with doubletap2wake and sweep2wake implemented in kernel... About the hotplugs, I may need more time on that.
------- Edit --------
Doubletap2wake and Sweep2Wake/Sweep2Sleep implemented in kernel but not working fully... Either it needs to be implemented in touchscreen drivers or rom... @k2wl
Click to expand...
Click to collapse
Would it help if we could find some hotplug driver for another 615 snapdragon device?
davtse said:
Would it help if we could find some hotplug driver for another 615 snapdragon device?
Click to expand...
Click to collapse
I tried Thunderplug from Yu Yureka, designed for Octa-core devices... Won't boot... Bootanim won't show, after MI logo is blank. Right now browsing through Yureka's forum to find other hotplugs..
Thanks for ur hardwork mate !
Can anyone tell me why when i set a recommended settings then always my big cores change the yanactive governor to interactive, just little cores stayin with yanactive, and please help me in setting up this kernel for the best gaming performance, greetings!
Wysłane z mojego Mi 4i przy użyciu Tapatalka
TeusFrom said:
Thanks for ur hardwork mate !
Can anyone tell me why when i set a recommended settings then always my big cores change the yanactive governor to interactive, just little cores stayin with yanactive, and please help me in setting up this kernel for the best gaming performance, greetings!
Wysłane z mojego Mi 4i przy użyciu Tapatalka
Click to expand...
Click to collapse
which kernel adjustor are you using? adiutor works fine here
TeusFrom said:
Thanks for ur hardwork mate !
Can anyone tell me why when i set a recommended settings then always my big cores change the yanactive governor to interactive, just little cores stayin with yanactive, and please help me in setting up this kernel for the best gaming performance, greetings!
Wysłane z mojego Mi 4i przy użyciu Tapatalka
Click to expand...
Click to collapse
Could the settings, is your system set in performance or battery saving mod? Because that could overwrite the settings... Other factors could be like what @davtse said...
Also I'm still uploading a new version with updated files like thermal and cpu freq... Updated governors and dt2w/s2w are also included. For those who needs the source, sorry though, can't push to github with mobile data...

[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

Categories

Resources