[KERNEL][Oxygen/Stock/MIUI] Mono Kernel (31 October)

F4uzan

Inactive Recognized Contributor
Jul 20, 2012
3,573
3,165
0
Mono Kernel for OnePlus 3 (oneplus3)​

Let's start this off with the basic and regular warning and disclaimer :
Code:
#ifdef IF_YOU_FLASH_THE_KERNEL
* No one except you chooses to flash this kernel, this is your [B]own[/B] choice
* Do not flash this if you expect stability that equals to a stock kernel
* Neither me or XDA is responsible if the kernel destroys your device
* No cats are harmed during the creation of this kernel
#endif
Mono Kernel is a kernel made with simplicity and customizations in mind, I never wanted a kernel with gazillions of "bloaty" features (governors, schedulers, etc) that gives me uneasiness since there's too many choices to be made.

Technical details :
If you want to know about the toolchain and stuff I used

- Compiled with UberTC 4.9.4
- No new experimental compilers used (this means, no GCC 5, 6, or 7 until they are well-tested enough)
- Little to no weird optimizations flags, I'll avoid adding -Ofast, -O3, Graphite or anything related to them


Features :
Some bits of features that you'll see

- blu_active governor
- FIOPS, SIOPLUS, and Zen I/O scheduler
- Toggleable Fsync
- UKSM 0.1.2.3 (Ultra KSM, an improved KSM)
- zRAM support
- doubletap2wake and sweep2wake support for non-Oxygen / Hydrogen system
- sweep2sleep support
- Mini-bits of somewhat-safe (but not necessarily stable) optimizations
- Lots of updates and upstream works from various sources (CAF, Google, and Linux)
- And probably more


Bugs :

- WiFi doesn't work on OOS3.2.6
- None, at least for now


Download :
Get it while fresh!
AndroidFileHost Folder

Installation :
Please read all of this before continuing

- I mean... you probably know how
- Just flash the zip


Compatibility List :
Check if your ROM is compatible

- Fully working on FreedomOS & OP3Lite
- Tested on MIUI8 (thanks to lekzzz for testing and reporting it here!)
- Tested on HydrogenOS (thanks to Mostafa Wael for testing, full reports here!
- Anything based on the recent OxygenOS should work


Credits :
All these talented people deserves a cookie

(In no order)
- flar2
- eng.stk
- faux123
- franciscofranco
- anarkia1976
- neobuddy89
- myfluxi
- Grarak
- ##W4TCH0UT##
- Evolutionzz & Dims_Camper (some nice friends to talk)
- Mostafa Wael for being a nice buddy and tester (and just being patient with me in general)

There's too many people that deserves to be here, if you're one of them (in case I somehow forgot to credit you here and on the source code / Git repo page), please, don't hesitate to PM me!


Notes :
- Mono Kernel will always remain on 'testing' phase, mostly because I tend to screw up and break stuff, so I don't warrant any stable release, unless otherwise mentioned
- No, there is no CM builds planned, I have no plan to switch to CM
- Based on a report, MIUI should work with Mono
- Yes, DASH is working, I don't know why I have to mention it, but some people likes to be assured, I guess

XDA:DevDB Information
Mono Kernel, Kernel for the OnePlus 3

Contributors
F4uzan
Source Code: https://github.com/F4uzan/mono_oneplus3

Kernel Special Features: Uh... it's downloadable ?

Version Information
Status: Testing

Created 2016-08-07
Last Updated 2016-10-31
 

F4uzan

Inactive Recognized Contributor
Jul 20, 2012
3,573
3,165
0
FAQ (Frequently Asked Questions)

Q : I want "x" and "y" feature to be added in this kernel
A : Sure thing, I'll give no promises it'll be added, but if I find it interesting (and usable), why not?

Q : Hey, can you fix "x" issue ? (if you provides no log or details whatsoever)
A : Please, give me more details, how can I reproduce the issue on my side ? If I'm unable to reproduce the issue then can you please provide more details to the issue ?

Q : What logs are needed to give you an exact information of my issue ?
A : /sys/fs/pstore/console-ramoops, dmesg, and any kind of kernel logs (not logcat) you can find

Q : Will this work on "x" ROM ?
A : Probably, it might or might not work, test it out by yourself. Anything based on Hydrogen or Oxygen should work on this kernel

Q : Is it safe to flash over other custom kernel ?
A : Yes, Mono doesn't modify the ramdisk of the previous kernel, however, this might cause the settings sticked to the ramdisk by previous kernel to persist, do this at your own risk.
 
Last edited:

F4uzan

Inactive Recognized Contributor
Jul 20, 2012
3,573
3,165
0
Wow will we get saosp too

Sent from my ONEPLUS A3000 using XDA-Developers mobile app
I might try building it eventually, but Oxygen OS has been serving me finely, so I see no reason to switch.

No overclock? Sad!!!
It will come, I'm just making sure the kernel isn't totally broken on day one release.

Another kernel wow
Thanks? I totally did not sense a sarcastic remarks coming out of those words /s
 

F4uzan

Inactive Recognized Contributor
Jul 20, 2012
3,573
3,165
0
Alright, a quick update to the kernel, this doesn't bring out many new features (since I don't really know what to add, really), but it's an update nonetheless.

Changes:
* (Actually) add SIOPLUS
* Added KCAL v2 (post-processing control for display)
* Some upstream works to match android/kernel_common/tree/android-3.18
* Small code changes

Now, the reason why SIOPLUS is added is because it was missing in the previous release, I added SIO and originally wanted to type "SIO" in the OP. But... since I lazily copy-pasted the OP from my older kernel thread, I forgot to change SIOPLUS to SIO.

But now, SIOPLUS is actually there!

Download : https://www.androidfilehost.com/?fid=24591000424953255
 

F4uzan

Inactive Recognized Contributor
Jul 20, 2012
3,573
3,165
0
Thank you! Sioplus is my favourite then fiops :D If you like the idea you could make it Synapse compatible! Thanks again :)
Synapse compatibility has been lingering me for ages, I'll try adding it since it's way more flexible than Kernel Adiutor, but it might take awhile.
 
  • Like
Reactions: _MartyMan_