[KERNEL][925P/R4] UniKernel v9 120615 - Sprint Samsung Galaxy S6 Edge

Features
Interactive governor as default
CFQ I/O scheduler as default
bic TCP congestion scheduler
Full init.d scripting support
SE Linux set to permissive (will prevent private mode from working)
Fully working Auto-Root for all 5.1.1 roms
Thanks to the S6 Overload, @g.lewarne, we have a unified dtb for 920/925 P and R4 devices...since he's such a busy person, I will be maintaining on this side....and update as appropriate on the changes @g.lewarne makes...
v9 initial - 120615
No longer beta! Yay!...
Disabled selinux and auditd...
Ramdisk being compressed using lzma from gzip...
Reverted to UniKernel v8 Interactive and VM settings...helpfully this fixes the lockscreen issue...testers have not seen this issue...
v9 beta - 112915
Removed "Add lz4 compressor and crypto modules" commit and added "Compressor: Add lz4 modules, Speedup lz0" commit
v9 beta - 1110815
Based on COI6
Added ROW scheduler
lz4/lz4hc fixes
block: Make CFQ default to IOPS mode on SSDs
v9 beta - 100815
Implementation of /system/unikernel.prop (more about this, below, in the second post)
selinux: Do not allow mode changes [HACK]
sd: Avoid sending medium write commands if device is write protected
binfmt_elf.c: use get_random_int() to fix entropy depleting
arm64: kconfig: select HAVE_EFFICIENT_UNALIGNED_ACCESS
Revert "staging: binder: Change binder mutex to rtmutex."
Usb: Gadget: Add DriveDroid support
Add lz4 compressor and crypto modules
GPU: Mali: Rework Throttling and DVFS control
Block: Add BFQ and FIOPS Schedulers, Optimize Deadline
cpufreq: exynos-mp-cpufreq: Add calibrated power coefficients
Squash of AndreiLux's power efficiency patch set
cfq-iosched: fix the setting of IOPS mode on SSDs
writeback: Fix occasional slow sync(1)
fs/sync: Make sync() satisfy many requests with one invocation.
block: Reserve only one queue tag for sync IO if only 3 tags are available
block_dev: implement readpages() to optimize sequential read
jiffies conversions: Use compile time constants when possible
readahead: make context readahead more conservative
sync: don't block the flusher thread waiting on IO
writeback: fix writeback cache thrashing
Make sure you have OEM Unlocking enabled in Developer Options before flashing kernel...
No, seriously...go to Settings > Developer Options > OEM Unlocking...On? Good...continue...
Downloads
925P - https://www.androidfilehost.com/?w=files&flid=44925
925R4 - https://www.androidfilehost.com/?w=files&flid=44926
Source
https://github.com/djvoleur/G92XP-R4_COI9

/system/unikernel.prop
Below are the lines added to unikernel.prop and their default settings...
kernel.turbo=false (default) or true
kernel.interactive=battery (default) performance
kernel.scheduler=cfq (default) noop deadline fiops bfq
kernel.vm=tuned (default) or stock
kernel.gapps=true (default) or false
kernel.initd=true (default) or false
If you want to what they exactly do, click here
For now, you will need a file explorer (with root access) to make changes to the file...just make sure that it keeps the permssions rw-r--r-- (or 644) and you will have to reboot for the changes to take effect...
Project
Here is what I have so far with the app...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It will be able to apply the settings dynamically without having to reboot the phone and save the settings to the unikernel.prop file...I'll let everyone know once this has been completed...

Kernel running great, thanks
Sent from my SM-G925P using Tapatalk

DR0IDMANIAC said:
Kernel running great, thanks
Sent from my SM-G925P using Tapatalk
Click to expand...
Click to collapse
Sweet...my tester wasn't awake to see if it booted... Yaaay!

@djvoleur hey, so this one surely works for G925R4 too? No mention of r4 in filename, so asking..

itskapil said:
@djvoleur hey, so this one surely works for G925R4 too? No mention of r4 in filename, so asking..
Click to expand...
Click to collapse
Lemme build for that real quick...
Edit: OP has been updated let me know if it boots...

Its been through like 3-4 iterations on Build 5. Which version is this? Latest 5v3a or what? He was testing a v4 build at one point too for undervolting stuff. Latest 3a build was uploaded by him @ Jul 25, 2015 | 03:08PM
Changelog
Unikernel v5-0003a
- Fixed LTE
Unikernel v5-0003
- Fixes TSP firmware reported version in *#2663# service menu
- Fixes Edge devices battery temperature reporting
- Add DriveDroid Support
Unikernel v5-0002
- Patchup to full BOG8
- Completely overhauled Unification
- Updated Touchscreen firmware for all models
- Fixes "Backwards screen" scenario on some 925 models
- Completely reworked Cypress / FTS Touchkey unification code
- Supports engineering bootloaders- including Call Audio
- Added variant detection to Thermister (temp sensor) values in universal device tree
- Optimised Inputbooster head/tail times for responsiveness
- Reduced some WakeLocks
- Added Google apps power management tweaks
- Re-added lz4 zswap compressor and set as default
- Inreased swap size
- Removed faulty memory management tweaks (lag fix)
- Entropy deletion fix
- Added more support for Korean (K) variants
- Removed all possible kernel debugging, logging and statistics gathering, except Android Logger
Unikernel v5-0001
- Rebased to BOFJ/COF8 sources
- Fixed 800MHz bug
- Removed lz4 zswap compression
- o2 compile optimisation flag
- Added lubricant to user experience
Click to expand...
Click to collapse
Thanks
[SEMI-UNRELATED] As a side note, I had HotSpot working on OFE/5.1.1 stock rom with GTv.3.1.5. After flashing some kernels I noticed it was no longer working. I flashed this latest V5 build that @djvoleur has modified for us, than enabled hotspot again with the GT app. It is working fine again. I'm assuming when you flash a kernel it modifies something that will require you to reapply hotspot fix each time or is this an independent (kernel unrelated) issue where HotSpot doesnt seem to be "sticking" and continuing to work??

Working great!! Thanks for sharing!

Can anyone explain in more detail how this latest kernel differs from v4? The good and bad if any please?
Much obliged,
Da Baron

djvoleur said:
Lemme build for that real quick...
Edit: OP has been updated let me know if it boots...
Click to expand...
Click to collapse
Works great :good: Thanks for supporting the uscellular variant! Is this build built from the original unikernel source? I know the original build for the 925R4 wasn't.

Alpine- said:
Its been through like 3-4 iterations on Build 5. Which version is this? Latest 5v3a or what? He was testing a v4 build at one point too for undervolting stuff. Latest 3a build was uploaded by him @ Jul 25, 2015 | 03:08PM
Thanks
[SEMI-UNRELATED] As a side note, I had HotSpot working on OFE/5.1.1 stock rom with GTv.3.1.5. After flashing some kernels I noticed it was no longer working. I flashed this latest V5 build that @djvoleur has modified for us, than enabled hotspot again with the GT app. It is working fine again. I'm assuming when you flash a kernel it modifies something that will require you to reapply hotspot fix each time or is this an independent (kernel unrelated) issue where HotSpot doesnt seem to be "sticking" and continuing to work??
Click to expand...
Click to collapse
[TOTALLY-UNRELATED]
flashing new kernals never undid the hotspot hack for me, but updating prl and profile resets the hack for me, just my $0.02

TookRDerbs said:
flashing new kernals never undid the hotspot hack for me, but updating prl and profile resets the hack for me, just my $0.02
Click to expand...
Click to collapse
Ah thank YOU! That's it then! I have updated prl and profile several times since using GT.

Alpine- said:
Ah thank YOU! That's it then! I have updated prl and profile several times since using GT.
Click to expand...
Click to collapse
yea it took me a while to figure out why my hotspot would randomly stop working lol
on a side note thanks for the kernal dev its working perfectly!

is the compatible with OF7 or just OFE?

xSkyFlasherx said:
is the compatible with OF7 or just OFE?
Click to expand...
Click to collapse
Both
Edit: I take that back. I was reading the GT post but you're referring to the kernel sorry

I'm going to go sing of the joys you've brought us and then flash this!
Sent from my SM-G920P using Tapatalk

bpdev said:
Works great :good: Thanks for supporting the uscellular variant! Is this build built from the original unikernel source? I know the original build for the 925R4 wasn't.
Click to expand...
Click to collapse
This is built on BOFE...
Da Baron said:
Can anyone explain in more detail how this latest kernel differs from v4? The good and bad if any please?
Much obliged,
Da Baron
Click to expand...
Click to collapse
Unified dtb...and interactive changes...that's it...
Alpine- said:
Its been through like 3-4 iterations on Build 5. Which version is this? Latest 5v3a or what? He was testing a v4 build at one point too for undervolting stuff.
Click to expand...
Click to collapse
Ours is probably gonna be a tad but different than the main thread...if there is an important change, I will build/update as needed...

Your kernel is running super smooth. Haven't experienced any lag like i use to. Testing battery life today.

Does anybody have a copy of the samsung original OFC kernel. I would like to flash it so that I do not have the red message at top of my boot screen. Thanks

Lousy Battery life on the new kernel (072715 Kernel) I'll barely get 7 hours if that. Is the deep battery fix applied? Anybody else seeing this?
---------- Post added at 06:12 PM ---------- Previous post was at 06:06 PM ----------
ksimpsonel said:
Does anybody have a copy of the samsung original OFC kernel. I would like to flash it so that I do not have the red message at top of my boot screen. Thanks
Click to expand...
Click to collapse
Here you go
http://1drv.ms/1fF2lfB

Related

[CM10/ICS/MIUI][KERNEL][GPL][rc-3] ♫♫ Titanium.Kernel ♫♫ An All in one Kernel! ♫

[CM10/ICS/MIUI][KERNEL][GPL][rc-3] ♫♫ Titanium.Kernel ♫♫ An All in one Kernel! ♫
Whats up guys!
So.. you'll already know me
SO no Introductions.
For those who don't know me, I am a Kernel Developer, Check the links in my signature to see my work
Now.. Getting back to topic!
Presenting.........
★★★ Titanium Kernel for Galaxy R - GT-I9103 ★★★
Remember,
Code:
[B]/* DISCLAIMER */ [/B]
[SIZE="5"][FONT="Arial Black"][COLOR="Red"][U]I do not own the device![/U][/COLOR][/FONT][/SIZE]
[COLOR="Red"][B][FONT="Arial Black"]You are choosing to make the modifications at your own risk.[/FONT][/B][/COLOR]
This Kernel is for Samsung ICS ROMs or any ROM based on Samsungs stock ROMs.
★ What my Kernel is made up of ★
★ This Kernel will work on every ROM, look into Downloads section and select your Kernel. ICS Kernel will work on Angeeks ROM
eMMC Brick bug cleaned up.
Based on Samsung ICS Update 2 Sources
Compiled with Linaro 4.6.2 toolchain
Overclock upto 1.2 Ghz
GPU Overclock upto 410 Mhz
All Linux memory Management Parameters tuned up for best performance.
Optimized ARM RWSEM Algorithms.
ARCH Power Enabled
JRCU (Joe's RCU, best suited for small SMP Systems!)
Proportional Rate Reduction for TCP by Google.
RAM Console Debugging Removed (More RAM)
Reclaimed RAM from Android Logger(logcat) (More RAM)
RAM Hack based on my old GB Kernel patch(+56 MB)
Voodoo Sound
Enabled NTFS Filesystem
Auto Brightness Fixes (ardatdat)
TCP/IP Tweaks
XZ Compression for Kernel (++speed,--size)
Using SLUB Memory Allocator (I always prefer this!)
Unneeded Stuff cleaned up in defconfig
EXT4 is default, EXT4 is used for mounting EXT2 and EXT3 (Faster)
NOATIME NODIRATIME Mounts set as default
Governers: Hotplug, Smartass2, Performance, Ondemand, Conservative.
IO Schedulers: Noop and CFQ (Default)
..
ROW IO Scheduler
BLN Support w/ liblights loaded from ramdisk
WIFI MAC Address Changing support
Lots of Makefile Optimizations + GCC 4.6 Optimizations
Dynamic FSYNC Control (faux123)
Stochastic Fair Blue Net Scheduler
Optimised swahb32() byteswap helper
Code cleanups done where necessary
IO Patches
TUN/TAP Driver built in
--
Cleancache Support
KSM Enabled
Disabled unnecessary drivers
LZMA Compressed Ramdisk (--size)
N1 Board and Touchscreen driver fully cleaned up of all Samsung **** ups and warnings!
Lots more stuff! Flash and see for yourself.
Ramdisk Mods:
Auto-root (SuperSU)
BLN Liblights loaded from ramdisk itself
Auto-EFS Backup
init.d scripts run on boot
Custom Bootanimation support (ICS ROM)
Other misc stuff.
TODO:
[*]Fix all Kernel warnings and crap samsung code.
[*]Get rid of TEGRA CPU LOCK.
[*]Set up Custom Voltage sysfs.
[*]Fix all game lags.(Which is present on stock Samsung sources and ROMS)
[*]Port some more Tegra specific mods from other Tegra devices.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
★ I plan to contribute a lot to this Kernel in the near future! Test it and let me know. ★
★ Also, I plan to clean up lots of Samsung **** code and **** ups in the source ★
★ Remember, I do not have the device so it will take me time to fix up bugs (If there are any) ★
Credits ,
☑ Many of the patches on my source which I have incorporated may not be programmed by me, I have credited them on my github.
☑ Adam77Root, ardatdat (Kernel patches, credited on my github)
☑ faux123
☑ parmarket,shaheen(For testing this first on their phone)
☑ and MEEEeeee .. of course!
Changelogs
Code:
[B]Kernel rc-1[/B]
Initial Release
[B]Kernel rc-2[/B]
CM10 Support
AOSP Vibrator fix
KXTF9 Sensor driver for CM10
BLN Support w/ liblights which will be loaded by ramdisk
Enabled Wifi MAC Address Changing ability
Makefile Optimizations
SYNC Frameworks and SW Sync
XZ Compression for Kernel
ARM CPU Topology
Dynamic FSYNC Control (faux123)
ROW IO Scheduler ~Enabled by default (Meant for mobile devices)
Added ARM NET JIT Compiler
Add optimised swahb32() byteswap helper
Lots more stuff, too technical to explain, check my github.
[B]Kernel rc-3[/B]
---COMING UP-----
Stability fixes, fixed hangs,lags from rc-2.
Lots of Code Cleanups for better optimized code!
Board-n1 cleaned up of all warnings
Atmel MXT-224E driver cleaned up of all warnings.
GCC 4.6 (Linaro) Optimizations
MIUI Support
Reverted SYNC,SW_SYNC,ARM NET JIT Compiler (Will have to do testing!)
Enabled KSM
Enabled CLEANCACHE
Disabled a lot of unnecessary drivers to reduce memory footprint in Kernel.
LZMA Compressed Ramdisk (--size)
Bumped reserved memory to 200MB
Asynchronous I/O latency to a solid-state disk greatly increased (cherry-picked)
Downloads
Download: Titanium Kernel rc-3 - ICS
Download: Titanium Kernel rc-3 - CM10
Download: Titanium Kernel rc-3 - MIUI
-------- OLD VERSIONS NOT RECOMMENDED! -------------
Download: Titanium Kernel rc-2 - ICS
Download: Titanium Kernel rc-2 - CM10
Download: Titanium Kernel rc-1
FAQ's
FAQ:
1) Do not use 3rd party init.d scripts! If you wish to use any ask in the thread. I will tell you if you can.
2) How to flash the Kernel?
A: Flash the zip via CWM ... duhhh! :victory:
3) Why only 4 governers ?
A: Too many Governers bloat the Kernel, many are quite similar.
Best Governer for Battery: Conservative
Best Governer for Performance: Smartass2 or Performance
4) Can you add support to turn off one cpu core?
A: You don't need to do it manually, Hotplug governer knows when to turn off one core.
5) Will you overclock more?
A: No, 1.2 Ghz is enough. We wan't stability and not problems.
6) I got X bug, I got Y bug.
A: I will fix it, recreate the problem and give me a logcat. Remember, it may take time and testing to fix a bug since I do not have the device.
7) Will this support CM in future?
A: Ofcourse! I will also be helping in CM development soon.
8) My phone does not enter deep sleep.
A: Some app is constantly waking up your phone.
9) DO NOT USE ANY SET CPU PROFILES! .
A note on How-to report bugs.
Great one buddy. Unfortunately over CM10. will b waiting for CM10 kernel. thanks again.:fingers-crossed:
Great work Buddy :good:. Cud u add the stopbootanimation service at end of script in init.rc so that v can use this kernel for custom bootanimation.:highfive:
thanks
thanks buddy, nice work, all feature sounds great :good:
I particularly like of have only 4 governers which is simple and useful , too much confuse most of the time. :laugh:
thanks again and keep it up :good:
I wish u had kept interactive governer. Anyways, will try this after college.
Sent from my GT-I9103 using xda app-developers app
kataria.vikesh said:
Great one buddy. Unfortunately over CM10. will b waiting for CM10 kernel. thanks again.:fingers-crossed:
Click to expand...
Click to collapse
Will add CM support post the CM10 boot.img here.
selva.simple said:
Great work Buddy :good:. Cud u add the stopbootanimation service at end of script in init.rc so that v can use this kernel for custom bootanimation.:highfive:
Click to expand...
Click to collapse
Yeah, can do it. Will build my own ramdisk in the next release.
gitanshu said:
I wish u had kept interactive governer. Anyways, will try this after college.
Sent from my GT-I9103 using xda app-developers app
Click to expand...
Click to collapse
I will drop ondemand and add interactive, Interactive governer is an improved version of ondemand.. anyways.. this is first release ... lots to come still!
will it work on angeeks rom??
kunaal2580 said:
will it work on angeeks rom??
Click to expand...
Click to collapse
No. Currently this does not support custom boot animation which if u flashed on angeek's rom will result in bootanimation loop.
Adi_Pat said:
Will add CM support post the CM10 boot.img here.
Click to expand...
Click to collapse
Edit: here is the link of cm10 kernel
http://db.tt/lrOpqrxL :victory:
kataria.vikesh said:
Edit: here is the link of cm10 kernel
http://db.tt/lrOpqrxL :victory:
Click to expand...
Click to collapse
Gimme a few mins, making it CM Compatible , just need to pack teh ramdisk with my Kernel .. (Hopefully nothing more, someone will have to test it)
kataria.vikesh said:
Edit: here is the link of cm10 kernel
http://db.tt/lrOpqrxL :victory:
Click to expand...
Click to collapse
Does it have bln mod?
Sent from my GT-I9103 using Tapatalk 2
Benchmarks
these are some benchmarks of this Kernel (With Geeky Engine)
CPU speed 1Ghz
Governer: smartass2
CPU speed 1.2Ghz
Governer: smartass2
Good work! Waiting for the anti boot loop kernel support for the angeeks ROM.
Enviado desde mi GT-I9103 usando Tapatalk 2
@Adi_Pat: To make the kernel compatible with CM10, do the followings:
1. Implement vibrator fix. (https://github.com/epsylon3/android...mmit/720914d5009039d3ba9898361eea1ad8ab09d326)
2. Add raw KXTF9 accelerometer sensor. (https://raw.github.com/epsylon3/android_kernel_samsung_i9103/gingerbread/drivers/input/misc/kxtf9.c Put it into drivers/sensors, modify Makefile and KConfig accordingly and enable it in defconfig.)
3. Take the ramdisk.
You don't have to compile two different kernels for the two roms, only change the ramdisk. The kernel works quite well in hybrid mode with the modifications included.
Also, if you have time please include these patches into your kernel. I'd really appreciate them. Thanks!
Adam77Root said:
@Adi_Pat: To make the kernel compatible with CM10, do the followings:
1. Implement vibrator fix. (https://github.com/epsylon3/android...mmit/720914d5009039d3ba9898361eea1ad8ab09d326)
2. Add raw KXTF9 accelerometer sensor. (https://raw.github.com/epsylon3/android_kernel_samsung_i9103/gingerbread/drivers/input/misc/kxtf9.c Put it into drivers/sensors, modify Makefile and KConfig accordingly and enable it in defconfig.)
3. Take the ramdisk.
You don't have to compile two different kernels for the two roms, only change the ramdisk. The kernel works quite well in hybrid mode with the modifications included.
Also, if you have time please include these patches into your kernel. I'd really appreciate them. Thanks!
Click to expand...
Click to collapse
Thanks! Sure I will. Will merge your patches soon.
Still studying the source.. looks like lots can be improved!
Super cool.. awesome kernel..
Working great.. thanks
Sent from my GT-I9103 using xda premium
parmarket said:
these are some benchmarks of this Kernel (With Geeky Engine)
CPU speed 1Ghz
Governer: smartass2
CPU speed 1.2Ghz
Governer: smartass2
Click to expand...
Click to collapse
Hi Ketan, Are you using Adi's kernel on miui rom? or CM10? was curious if it works fine on Paraj's miui rom.

[KERNEL] [AOSP] [ArchiToolchain] [14/04/15] ArchiKernel V2.X

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Info from me (Hbo): these are test releases of ArchiKernel freshly compiled with i9305 defconfig. I have tested it for few days and it's running really fine. However, consider that it may contain some undiscovered bugs etc. Then, just tell me what's wrong and I'll check if I can do anything about that. Please check flashing and updating instructions
Base: Samsung N7100XXUFNI1 Sources (NOT smdk4x12)
Linux 3.0.31
Compiled using latest ArchiToolchain
ArchiDroid Optimizations
Using AnyKernel method (compatible with all ROMs AOSP)
And many other awesome things I have no time to list
Other kernel's features:
Boeffla Sound
Configurable touchboost
Configurable touchwake
Zzmoove governor with default Moderate profile
BFQ i/o scheduler
GPU UV/OC
CPU UV/OC, idle modes
Charging interface
LED interface
Android and Kernel logcats switches
Mdnie control
Vibration control
ArchiDroid Optimizations:
- Fully optimized for Samsung Galaxy S3 (-marm -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp)
- Compiled with O3 optimization level (-O3)
- Performed interprocedural pointer analysis and interprocedural modification and reference analysis (-fipa-pta)
- Performed loop invariant motion on trees. It also moved operands of conditions that are invariant out of the loop, so that we can use just trivial invariantness analysis in loop unswitching. The pass also includes store motion (-ftree-loop-im)
- Created a canonical counter for number of iterations in loops for which determining number of iterations requires complicated analysis. Later optimizations then may determine the number easily (-ftree-loop-ivcanon)
- Performed induction variable optimizations (strength reduction, induction variable merging and induction variable elimination) on trees (-fivopts)
- Tried to reduce the number of symbolic address calculations by using shared “anchor” symbols to address nearby objects. This transformation can help to reduce the number of GOT entries and GOT accesses on some targets (-fsection-anchors)
- Assumed that loop indices do not overflow, and that loops with nontrivial exit condition are not infinite. This enables a wider range of loop optimizations even if the loop optimizer itself cannot prove that these assumptions are valid (-funsafe-loop-optimizations)
- Moved branches with loop invariant conditions out of the loop (-funswitch-loops)
- Attempted to avoid false dependencies in scheduled code by making use of registers left over after register allocation. This optimization most benefits processors with lots of registers (-frename-registers)
- Re-ran common subexpression elimination after loop optimizations are performed (-frerun-cse-after-loop)
- Didn't keep the frame pointer in a register for functions that don't need one. This avoids the instructions to save, set up and restore frame pointers; it also makes an extra register available in many functions (-fomit-frame-pointer)
- Made a redundant load elimination pass performed after reload. The purpose of this pass is to clean up redundant spilling (-fgcse-after-reload)
- Ran a store motion pass after global common subexpression elimination. This pass attempts to move stores out of loops (-fgcse-sm)
- Eliminated redundant loads that come after stores to the same memory location, both partial and full redundancies (-fgcse-las)
- Constructed webs as commonly used for register allocation purposes and assigned each web individual pseudo register. This allows the register allocation pass to operate on pseudos directly, but also strengthens several other optimization passes, such as CSE, loop optimizer and trivial dead code remover (-fweb)
- Performed tail duplication to enlarge superblock size. This transformation simplifies the control flow of the function allowing other optimizations to do a better job (-ftracer)
Click to expand...
Click to collapse
What to expect:
- Awesome stock battery life on AOSP ROMs (due to Samsung sources and not smdk4x12)
- Blazing fast (Deep advanced optimizations, Linaro toolchain, this is the beast)
- High compatibility (AnyKernel method, the kernel should work on all ROMs)
What to NOT expect:
- Many CPU or I/O governors # We don't need overhead, you can achieve nearly the same just by tweaking governor to your needs
- Features I don't like/need
- Dualboot (see above ^)
- F2FS (see above ^, however this one depends on kernel upstreaming, as f2fs is merged)
Flashing instructions:
1. Make sure that you have stock kernel already flashed (the one which comes with your ROM), if you're running custom kernel already, reflash your ROM without wipe, this will also flash stock kernel. This is ultimately important, DON'T FLASH ARCHIKERNEL ON ANOTHER CUSTOM KERNEL, you may face various issues you've never seen before.
* This is because ArchiKernel uses AnyKernel method - it pulls ramdisk from your current kernel. If you brick your phone by flashing AK on top of custom kernel, you know who will be responsible for that.
2. Flash ArchiKernel zip.
3. Profit!
Updating instructions:
1. If you arleady have older ArchiKernel version flashed properly with above instructions, and changelog doesn't state otherwise, just flash the .zip with new version of AK.
2. No wipes, cleaning dalvik cache or anything else is required, flashing zip is enough.
3. Profit!
Bugs:
None known
Contributors
JustArchi, Moster2
Source Code: https://github.com/ArchiDroid/ArchiKernel
Download the newest version:
CLICK
Some older version download:
This one for me, reserved.
First version, dated 14/03/2015 is out. Download, flash on STOCK kernel of your Lollipop rom and report It should work on Nameless and AICP for sure, interesting if it works on CM and RR.
Working fine with todays RR O3 Test Build (which is in upload at the moment).
Great Kernel so far after a few minutes, many thanks.....whether the kernel is also working on normal or official RR, I will test soon, but I am quite sure that he does .
rodman01 said:
Working fine with todays RR O3 Test Build (which is in upload at the moment).
Great Kernel so far after a few minutes, many thanks.....whether the kernel is also working on normal or official RR, I will test soon, but I am quite sure that he does .
Click to expand...
Click to collapse
That is really, really, really good!
I found ArchiKernel a really good, comfortable to configure and universal kernel
Hbohd said:
That is really, really, really good!
I found ArchiKernel a really good, comfortable to configure and universal kernel
Click to expand...
Click to collapse
hi, can i just flash this kernel after I flash the aicp rom? becasue I dont' know if the kernel come with aicp rom is stock or custom.
It's stock, so you can directly flash this kernel after flashing rom. Every AOSP Lollipop rom that we have comes with a stock, unmodded kernel
Very nice can't wait to testing it looking forward to it.
Just flashed. Seems fine so far, but does it need also LMK corrections?
Sent from mobile
This kernel is real beast 27500 on antutu @Stock
I know that archi won't add governors/schedulers but if you mate could edit the kernel just to add zzmoove or smartass for battery saving and zen scheduler , it'd be very very great.
I'd love to test some OC @1600 for cpu and @666 for gpu just to see where it could go with such a kernel if you have time .
anguslaw said:
hi, can i just flash this kernel after I flash the aicp rom? becasue I dont' know if the kernel come with aicp rom is stock or custom.
Click to expand...
Click to collapse
does it work on acip? i have aicp but i dont know if this works on it
klemen241 said:
does it work on acip? i have aicp but i dont know if this works on it
Click to expand...
Click to collapse
If you read 3rd post in this thread you will know the answer
I'm sorry if my question is stupid but is this work with rooted touchwiz kitkat 4.4.4 rom?
aaz03 said:
This kernel is real beast 27500 on antutu @Stock
I know that archi won't add governors/schedulers but if you mate could edit the kernel just to add zzmoove or smartass for battery saving and zen scheduler , it'd be very very great.
I'd love to test some OC @1600 for cpu and @666 for gpu just to see where it could go with such a kernel if you have time .
Click to expand...
Click to collapse
Yeah, I was thinking just about the same. I am testing right now experimental kernel with 1600 OC and some more optimizations. I may share it as experimental release soon
However, I think that Archi may add zzmoove in future, so I won't double his work [emoji14] (I am missing it too!)
I might add zen in next release though, it shouldn't be too much work. However, isn't bfq running just fine? How can you tell if zen is better than bfq?
amigoloco said:
I'm sorry if my question is stupid but is this work with rooted touchwiz kitkat 4.4.4 rom?
Click to expand...
Click to collapse
As for now: not
To my mind, it will be possible in not-far future
Hbohd said:
If you read 3rd post in this thread you will know the answer
Click to expand...
Click to collapse
i actualy read all the posts but third one. I feel like total retard haha. Thanks for answer man
voyteckst said:
Just flashed. Seems fine so far, but does it need also LMK corrections?
Sent from mobile
Click to expand...
Click to collapse
LMK permission's fix won't do any harm, therefore it's better to keep it in. Moreover it allows any apps to see and modify them.
klemen241 said:
i actualy read all the posts but third one. I feel like total retard haha. Thanks for answer man
Click to expand...
Click to collapse
Happens ! No problem at all
Wich app I Have to use to con figure the kernel?
With synapse for example which is coming with the kernel zip.
The ASV level showing on synapse, does it tell me if my chip in particular is bad? I have level 2, which is pretty bad...

[DISCONTINUED][KERNEL][OREO][MM/Nougat] Evolution Kernel [Falcon][2018/03/17]

Hi guys, I have proposed to make a kernel for the falcon and here they have it <3
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Old builds:
http://pastebin.com/kDiQ8Hrr
Evolution Kernel -R6 build for MM Roms:
-Evolution_Kernel-R6 is unified for MM roms[/B], CM13/AOSP6/
- Linux code updated to lastest LineageOS source: 3.4.113
- Based on a new clean source for greater stability
- Compiled with LinaroTC 4.9 optimized cortex A7
- Many optimization for memory usage and reduce Lag
- Added TCP modes like westwood
- Lzma compression (very nice)
- No more useless mods
- Added SIO, VR, ZEN I/O schedulers
- Added toggles for wakelocks
- MSM Hotplug stable rules
- Powersuspend added and optimized
-Added Kcal v2 support
-DT2W/S2W features
-Selinux enabled in permissive mode by default
-WQ Power Efficient tweaks
-State notifier driver added
-Fix some memory leaks
-Many more optimizations for performance and battery saving (check source)
Important: use the kernel adiutor application to tune
Click to expand...
Click to collapse
Download:
https://www.androidfilehost.com/?fid=745425885120710252
**No mirrors please**
Click to expand...
Click to collapse
How to install:
-Paste the zip on internal memory
-Install zip with twrp recovery
-Reboot and Enjoy :good:
Click to expand...
Click to collapse
New Build Evolution Kernel_R10, FOR NOUGAT ROMS 7.1.x ONLY, NO MARSHMALLOW
-
Linux code updated to lastest LineageOS source: 3.4.113 :good:
- Based on a new clean source for greater stability
- Compiled with latest simple GCC 4.8 (great for this) :good:
- Some optimizations for kernel compression (lzma)
- Many optimization for memory usage and reduce Lag
- Added Customs TCP
- Lzma compression (very nice)
- No more useless mods
- Added and improved SIO, SIOPLUS, VR, ZEN v2 I/O schedulers and default BFQ, etc...
- Row I/O scheduler is recommended by me :good:
- Added toggles for wakelocks
- MSM Hotplug stable rules (Nice deep sleep Now)
- Powersuspend updated (Use in Hybrid mode)
- Kcal v2 support
-Dt2w added but does not work for the moment (disable)
- Selinux enabled in permissive mode by default
- WQ Power Efficient tweaks
- State notifier driver added
- Lcd notify driver Removed (NO MORE START SCREEN FREEZE)
- New Governors added: zzmoove, Xperience by @TeamMex , Bioshock, Lionheart and ElementalX (testing)
- Interactive and Ondemand governor updated for better efficiency
- Added Sound Control v3.6
- Fast Charge enable by default
- Fix memory leaks for better perfomance
- Many more optimizations for performance and battery saving (check source)
- New TCP congestion driver called AsCaRex by @TeamMex Added
AsCaRex employs end-to-end bandwidth measurements to set cwnd and ssthresh after packet loss. The probing phase is as the original Reno, have a modified control mechanism for use with large congestion windows. A table indicates how much to increase the congestion window when an ACK is received.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Important: Use the kernel adiutor application to tune this kernel
Evolution Turbo Kernel Oreo Updated
-Kernel build with QUVNTNN 6.4 2018.01 Custom ToolChain
-Improved Cortex-A7 configs
-Improved XZ kernel compression
-def_config regenerate
-Updated cpufreq and gpu drivers configs for better performance
-Welcome again MP_Decision Hotplug
-Spinlocks changes
-Significant lag in oreo reduced
-Simple Adreno GPU algorithm added
-New governors distribution: Default govs, XPerience, SmartMax and BioShock govs
-Out DT2W for now
-All TCP cong is activated (AsCaRex default)
-Many more changes for you..
Source: https://github.com/willizambrano/android_kernel_motorola_msm8226
If you like, support me with a small contribution : http://paypal.me/willizambrano
Download: https://www.androidfilehost.com/?fid=962187416754469095
How to install:
-Paste the zip on internal memory
-Install zip with twrp recovery
Backup of you stock boot.img
-Reboot and Enjoy :good:
If you like my work, contribute for more updates please:
Suggestions for balance perfomance/battery
-Use interactive gov with hispeedfreq on 787mhz and min freq 300mhz....
-For more conservative use Bioshock or SmartMax governor and min freq 300mhz
-Sheduler Maple, Row of BFQ
-In misc features select suspension mode on hybrid (default) and TCP select AsCaRex or westwood
Version Information
Status: Beta Evo Turbo for Oreo Roms
Release Date: 2018-03-19​
thanks for your work. i will give it a try and will feedback.
Looks promising. Gonna try it
ralp88 said:
thanks for your work. i will give it a try and will feedback.
Click to expand...
Click to collapse
Thanks bro, waiting you feedback
FortoszoneID said:
Looks promising. Gonna try it
Click to expand...
Click to collapse
Thanks , enjoy!
great piece of work
pico hackr said:
great piece of work
Click to expand...
Click to collapse
Thanks for you feedback
Running smoothly on crDroid 7.1 :good:
Can it be used with slim 7.1 ?
justbfree said:
Can it be used with slim 7.1 ?
Click to expand...
Click to collapse
Yeah, work on slim 7.1
Thanks for the work!
Keep it up
Will try and report
What is the expected SoT
willizambrano01 said:
Yeah, work on slim 7.1
Click to expand...
Click to collapse
It doesn't work , system UI FC .
Very good kernel :good:
I only miss DT2W feature..
Edit: @willizambrano01 i like your kernel, but i'm on latest CM14.1 nightly so i can't use data tethering with your kernel. Default CM kernel, tether working fine. Could you fix? Thanks
Aguys said:
Very good kernel :good:
I only miss DT2W feature..
Edit: @willizambrano01 i like your kernel, but i'm on latest CM14.1 nightly so i can't use data tethering with your kernel. Default CM kernel, tether working fine. Could you fix? Thanks
Click to expand...
Click to collapse
That wasn't Kernel problem. Tethering was broken in CM build itself. I think they have fixed in latest build.
Megatron27 said:
That wasn't Kernel problem. Tethering was broken in CM build itself. I think they have fixed in latest build.
Click to expand...
Click to collapse
But, I already on 12/10 build. With default CM kernel tethering working fine, with this kernel broken...
Can u add double tap to wake feature?
Aguys said:
But, I already on 12/10 build. With default CM kernel tethering working fine, with this kernel broken...
Click to expand...
Click to collapse
Thanks bro, I fix on next build
Allstargaurav said:
Can u add double tap to wake feature?
Click to expand...
Click to collapse
In next build bro
I'll try it soon, but which ROM do you recomend for me to use with, focusing in performance?
Best hotplug?

[KERNEL][NOUGAT] Genesis Kernel v1.11

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
XC Genesis Kernel
Features
- Sony RIC disabled
- dm-verity disabled
- DRM patch included
- Patches from CAF
- Patches from Google
- Added some CPU govenors
- Will update the OP over the next couple of weeks - not much time at the moment - for now feel free to explorer my github repository for detailed changes.
Installation
- Install the .zip file via TWRP (the boot.img will not work on it's own)
- For upgrades you can use FlashFire 0.53 - which is what I am using if your device is always with root access.
- Then flash SuperSU if required.
Downloads
*** Please do NOT create any mirrors ***
- Download Genesis Kernel From AndroidFileHost
Kernel Source Code
- https://github.com/ggow/android_kernel_sony_kugo/commits/android-7.1.1
Credits
- Sony | tobias.waldvogel | AndroPlus | cyanogenmod | sultanxda | franciscofranco | arter97
- If I have left anyone off then, apologies in advance and PM me to be added.
XDA:DevDB Information
XC Genesis, Kernel for the Sony Xperia X Compact
Contributors
ggow
Kernel Special Features:
Version Information
Status: Stable
Created 2016-12-24
Last Updated 2018-01-16
Release / Change Log (kugo,suzu)
16 January 2018
- Version 1.11
- Add wakelock blocker driver
- Add ironactive cpu governor
- Add smartmax cpu governor
- Add smartass2 cpu governor
- Add barry allen cpu governor
- Add bioshock cpu governor
- Add cafactive cpu governor
- Add zzmoove cpu governor
- Add yanactive cpu governor
- Added dynamic fsync (currently disabled / doesn't work)
13 January 2018
- Version 1.10
- suzu only
- Import clean ramdisk
- Add .gitignore files
- Import genesis kernel changes for ramdisk
- Disable sony_ric service
- Disable dm-verity
11 January 2018
- Version 1.09
- Add KCAL for mdss post processing support
- Slightly undervolt CPU and GPU
- Add voltage control for GPU
- Add voltage control for CPU
- Add backlight dimmer option
- Enable all cpu cores for device boot-up
- Force selinux permissive
- Enable MirrorLink support for kugo
- Merge each upstream linux point release up to v3.10.104
01 January 2018
- Version 1.08
- Initial release for suzu device
09 December 2017
- Version 1.07
- Merged up to 34.3.A.0.252 of Sony Upstream
27 August 2017
- Version 1.06
- Merged up to 34.3.A.0.217 of Sony upstream
- Lowered the brightness of boot screen and boot animation
26 June 2017
- Genesis Kernel v1.05
- For Android 7.1.1+ (34.3.A.0.xxx)
- Retrospective merge into 7.0.0 branch of sony open source:
34.2.A.0333
34.2.A.2.47
34.2.A.2.69
- Created new 7.1.1 branch
- Merge into 7.1.1 branch sony open source:
34.3.A.0.194
03 March 2017
- Version 1.04
- Merged up to 34.2.A.0.311 of Sony upstream
- Merge up to 3.10.95 of Linux upstream
05 January 2017
- Version 1.03
- Added Adreno Idler by arter97
- Add BFQ IO scheduler
- Add FIOPS IO scheduler
- Add Blu Active CPU scheduler
- Add init.d support (untested)
- Disable forced encryption of /userdata
31 December 2016
- Version 1.02
- Download from Dropbox - link is on the OP
- Major changes are:
- Improvements to ondemand and interactive govenor
- Added impulse govenor
- Added despair govenor
- Added conservative govenor
24 December 2016
- Initial Release v1.01
Hey man thank you
please give some more summery on what roms it will work on
btw, waiting eagerly for oc and uc...
thanks man.. that's very cool. keep up the awesome work.
2Ghz limit/possibility for the 2xa72 would be nice since they are rated 2Ghz.
I guess it runs on any current nougat rom since .266 is the only version out yet?
Kianush said:
Hey man thank you
please give some more summery on what roms it will work on
btw, waiting eagerly for oc and uc...
Click to expand...
Click to collapse
realtuxen said:
thanks man.. that's very cool. keep up the awesome work.
2Ghz limit/possibility for the 2xa72 would be nice since they are rated 2Ghz.
I guess it runs on any current nougat rom since .266 is the only version out yet?
Click to expand...
Click to collapse
It should work on any Sony stock ROM, android 7.0
Screen mirroring working with this kernel? I've no backup of my keyz
I just saw a bug in the installer script which I have just fixed. I missed it before because my phone was working and already had the files loaded in the correct place from when I was putting the initial version together.
I have version 1.02 ready to upload now, providing the XDA uploader is working.
EDIT: I have removed the v1.01 and tried to upload the new version but it never attaches after verifying the MD5. @Darth, could you help me or know someone that can?
EDIT2: Seems to be a more general issue with uploading screenshots and files and is been worked on so not to worry, will wait until it's fixed
Why not uploading on a personal server that is dedicatet to your files only?
Do you know if there were any updates to the stock kernel between .266 and .273 that is being rolled out to some devices now?
Kianush said:
Why not uploading on a personal server that is dedicatet to your files only?
Click to expand...
Click to collapse
I made a request to androidfilehost a couple of weeks ago for the XC to be added so will switch over when it's available. I don't have a personal server.
ammarr said:
Do you know if there were any updates to the stock kernel between .266 and .273 that is being rolled out to some devices now?
Click to expand...
Click to collapse
There are no changes between the two versions to the kernel.
New Build is Up
- Dated 31 December 2016
- Version 1.02
- Download from Dropbox - link is on the OP
- Major changes are:
- Improvements to ondemand and interactive govenor
- Added impulse govenor
- Added despair govenor
- Added conservative govenor
- Lots of other changes - please have a look at my github for details
no OC yet?!
Greetings everyone
I have installed the K.E.M. ROM from XDA, but i didn't backup DRM keys first, so i lost all nice cam features.
Is it possible to flash this kernel and have those features back?
If so, do i have to wipe phone first, or it can be done while retaining all my data?
Thanks in advance
spinhbar said:
Greetings everyone
I have installed the K.E.M. ROM from XDA, but i didn't backup DRM keys first, so i lost all nice cam features.
Is it possible to flash this kernel and have those features back?
If so, do i have to wipe phone first, or it can be done while retaining all my data?
Thanks in advance
Click to expand...
Click to collapse
You should get back some of the functionality lost if you flash this kernel. Try it and post a screenshot of the Service Menu screen that shows which keys are active and OK.
thanks for the answer.
what i am most interested in is the cam's night shot post-proc algorithms that remove greenish noise. do u know if that will be corrected?
also can i do it without losing my data?
ggow said:
You should get back some of the functionality lost if you flash this kernel. Try it and post a screenshot of the Service Menu screen that shows which keys are active and OK.
Click to expand...
Click to collapse
spinhbar said:
thanks for the answer.
what i am most interested in is the cam's night shot post-proc algorithms that remove greenish noise. do u know if that will be corrected?
also can i do it without losing my data?
Click to expand...
Click to collapse
You won't lose your data.
It should restore the camera processing algorithms, I haven't tested this as I have restored my device key after backing up my ta partition.
thanx mate, cam's post-proc returned successfully!
so was trackid, x-reality, etc.
i'm sending you the service screenshot for feedback.
do you think i have restored all the features i had lost?
EDIT: after flashing this kernel sdcard was encrypted, so i cannot access my data from twrp (asks for a password) to reflash superuser. any advice pls??
ggow said:
You should get back some of the functionality lost if you flash this kernel. Try it and post a screenshot of the Service Menu screen that shows which keys are active and OK.
Click to expand...
Click to collapse
spinhbar said:
thanx mate, cam's post-proc returned successfully!
so was trackid, x-reality, etc.
i'm sending you the service screenshot for feedback.
do you think i have restored all the features i had lost?
EDIT: after flashing this kernel sdcard was encrypted, so i cannot access my data from twrp (asks for a password) to reflash superuser. any advice pls??
Click to expand...
Click to collapse
Good to hear you have the camera back.
I'll check my boot.img to check if encryption is forced or not. My phone is encrypted also so my guess is it's forcing encryption. Not sure how to decrypt SD card. Maybe someone else can advise on this.
We might also be able to build twrp to work with encrypted SD card.
Edit: just checked - force encrypt was enabled. I'll turn it off for the next build.
Also, I use FlashFire instead of twrp, seems to work great.
thanx for your efforts.
if i understand correctly (i'm kinda noob) i will have to wait for your updated kernel that will not do force-encryption, in order to be able to use TWRP and flash SU, right?
do you have an aprox ETA for this pls?
PS: TWRP asks for a password, which i was not able to determine. it's not the pin i set while setup...
ggow said:
Good to hear you have the camera back.
I'll check my boot.img to check if encryption is forced or not. My phone is encrypted also so my guess is it's forcing encryption. Not sure how to decrypt SD card. Maybe someone else can advise on this.
We might also be able to build twrp to work with encrypted SD card.
Edit: just checked - force encrypt was enabled. I'll turn it off for the next build.
Also, I use FlashFire instead of twrp, seems to work great.
Click to expand...
Click to collapse

[EOL] [KERNEL][EAS][OC/nonOC][UV]KangarooX FINAL [2019-12-31][AOSP/MIUI][SPECTRUM]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The second round's time has come. I wanna present my kernel here. This kernel focuses on to be a good kernel. My motto is "I don't have motto".
Compatible ROMs:
Should work with all ROMs
Features:
Based on kernel.lnx.4.4.r37-rel CAF branch
Uptodate with latest linux kernel base
Compiled with GCC 8.3 with O3 and graphite opts
Many tracing, logging, debugging, security sh*t removed
EAS
Double tap to wake [Thanks to @vasishath]
Added a bunch of IO scheds( BFQ, tweaked maple, tweaked FIOPS, sio, anxiety)
Spectrum profiles support, can be switched with SmartPack kernel manager
KCAL support
Wakelock blocker (Thanks to @boeffla)
Added Adreno boost
WireGuard support
Headphones gain control
Microphone gain control
Best sound quality
32 bit up to 384 kHz audio playback support
DTS Headphone:X support
CPU OC to 1.8/2.2GHz
CPU/GPU UV
Xbox and PS controller support
HDR support for all whyred/wayne panels
exFAT, NTFS, F2FS support
sRGB support(you can find the custom control for smartpack in the extras folder)
Flashing instructions:
If you are using other custom kernel then at first dirty flash the ROM
Flash the kernel(OC or nonOC)
Flash the perfboost fw config module
If you experience brightness issues then flash the *255 version
Download link:
https://bit.ly/2JZLrwC
AFH mirror: https://www.androidfilehost.com/?w=files&flid=297054
Credits:
@frap129
@nathanchance
@AxelBlaz3
@Shekhawat2
@Ajmy_znr
@psndna88
@andip71
@xanaxdroid
@sultanxda
@YaroST12
@celtare21
@0ctobot
@tytydraco
@kdrag0n
@uvera
All the devs from whom i kanged
Source code:
https://github.com/ktommy91/kernel_xiaomi_sdm660.git
If you like what I made you can give some $ for my funeral:
https://www.paypal.me/ktommy91
Changelog:
r5.0:
- Rebased on kernel.lnx.4.4.r37-rel
- Built with GCC8.3 with O3 and graphite opts
- Dropped many useless stuff
- Kuran's new scheduler and locking backports added(1.1 in hackbench)
- ...See on github
r5.1:
- Linux 4.4.190 merged
- Scheduler improvements(thx to Kuran)
- Some reverted audio patches(better clarity)
- defconfig: disable vmstat event counters
- arm64: Select ARCH_HAS_FAST_MULTIPLIER
- treewide: remove some missed tracing
- Added the missed minimum brightness change option
- Added the missed HDR support
- ASoC: msm: Handle bit_width to configure ASM session for FLAC playback
- USB tethering fixed
- arm: dts: qcom: add the panel-ack-disabled property to whyred/wayne/tulip panels
r5.2:
- kernel-common/android 4.4 merged (Linux 4.4.192)
- Qcacld-3.0, fw-api, qca-wifi-host-cmn: LA.UM.7.2.r1-07500-sdm660.0 CAF tag merged
- Added the changes from LA.UM.7.2.r1-07500-sdm660.0 CAF tag
- f2fs: Set cp_interval to 30 secs and make it no-op
- drivers: input: touchscreen: nvt_touch_e7s & synaptics_dsx_e7s: Use FIFO
- nvt_touch_d2s: Use a FIFO thread for work processing
- ... see on github
r5.3:
- Linux 4.4.194 merged
- LA.UM.7.5.2.r1-03700-8x96.0 CAF tag merged
- added some missing changes from LA.UM.7.2.r1-07600-sdm660.0
- qcacld-3.0, fw-api, qca-wifi-host-cmn: LA.UM.7.2.r1-07600-sdm660.0 CAF tag merged
- sched: Import sched_irq_work_queue()
- cpufreq: schedutil: Queue sugov irq work on policy online cpu
- printk: silence healthd messages from userspace
- sched/fair: Don't assign runtime for throttled cfs_rq
- Revert "drivers: input: touchscreen: nvt_touch_e7s & synaptics_dsx_e7s: Use FIFO"
what is Kangaro spectrum injector
and what perfboost conf. do
plz clarify
Did you solve Huaxing panel problem because it was still in version 3.0 If you no longer take a consideration!
John Amin said:
what is Kangaro spectrum injector
and what perfboost conf. do
plz clarify
Click to expand...
Click to collapse
Spectrum injector is for the old GSIs, nowdays not really necessary. Perfboost fw config is EAS compatible config for the perfboost fw.
Frkanyldz said:
Did you solve Huaxing panel problem because it was still in version 3.0 If you no longer take a consideration!
Click to expand...
Click to collapse
Huaxing should work.
In the 2.6 version, this is not a problem, but other current kernels are still going black screen issue
I'd like to try this kernel, but bootloop always bother me..
delphinuz said:
I'd like to try this kernel, but bootloop always bother me..
Click to expand...
Click to collapse
Magisk and some modules bother you.(or the stalkers)
ktommy91 said:
Spectrum injector is for the old GSIs, nowdays not really necessary. Perfboost fw config is EAS compatible config for the perfboost fw.
Click to expand...
Click to collapse
what do you recommend as cpu gov. for 3giga ram whyred varient for optimum battery and performence without overclocking
works on miui?
Non UV versions are up, flash if you experience random freezes.
John Amin said:
what do you recommend as cpu gov. for 3giga ram whyred varient for optimum battery and performence without overclocking
Click to expand...
Click to collapse
Darktuil +512 MB zRAM
raptorddd said:
works on miui?
Click to expand...
Click to collapse
Should.
ktommy91 said:
Non UV versions are up, flash if you experience random freezes.
Click to expand...
Click to collapse
UV versions what is that
John Amin said:
UV versions what is that
Click to expand...
Click to collapse
under volt.
raptorddd said:
under volt.
Click to expand...
Click to collapse
do you mean not overclock
John Amin said:
do you mean not overclock
Click to expand...
Click to collapse
different thing. undervokt is voltage of cpu lowered so it consumes less power.. if too low it will reboot or freeze phone . if so flash the zip that says non UV
OC overclocked cpu get higher frequencies ..
ktommy91 said:
Non UV versions are up, flash if you experience random freezes.
Click to expand...
Click to collapse
Man you should've made non uv zip long time ago. I was having bootloop on your kernel since v2.0. If you would have made non uv verison back then. We would not have bootlooo problem. Everything is working perfectly now. No reboots.
One request can you make a ramdisk zip for setting schedutil governer as default like in insigniux where flashing it will make schedutil default cpu governor
raptorddd said:
different thing. undervokt is voltage of cpu lowered so it consumes less power.. if too low it will reboot or freeze phone . if so flash the zip that says non UV
OC overclocked cpu get higher frequencies ..
Click to expand...
Click to collapse
so what version you recommend safer non UV or normal
John Amin said:
so what version you recommend safer non UV or normal
Click to expand...
Click to collapse
I recommend non uv as uv one was causing bootloop

Categories

Resources