[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Hard_Rock83:
Presenting my first OREO kernel for our oxygen Device which will right now work for aosp or los based roms.

** PLEASE READ CAREFULLY FLASHING INSTRUCTION OR YOUR DEVICE WON'T BOOT​

Change logs V1:​

--> Added governers :

1) lionheart

2) zzmove

3) smartassv2

4) conservativex

5) impulse

6) alucard

7) intelllactive

8) bioshock

-->I/O schedulers :

1) fiops

2) sio

3) sioplus

4) tripndroid

5) zen

6) fifo

-> Converted to permmissive kernel

-> Optimization included

-> Fixed fast charging

​

Change logs V2:​

--> compiled with UBER TOOLCHAIN 4.9

--> ADDED INTERACTIVEX AND BARRY_ALLEN(BEAST) GOVERNER

NOW SURPRISE:

-> ADDED FAUX CONTROL SOUND TO ADDITIONAL INCREASE OR DECREASE EVERY SOUND (WORK FULLY ONCE SOUND HAL FIXED BY ASHWIN)

---> ADDED KCAL SUPPORT(TUNE YOUR SCREEN COLORS LOL)

New things coming soon
​

Change logs V3:​

--> Added support for exfat and ntfs

--> added wakelock controls(go to kernel auditor misc section)

--> disable crc (this may gain u faster filesystem and overall experience)

--> Added smartassH3 governor for better cpu management with performance
​

Change logs V4:​

-->quick charging,

-->dynamic fsync

-->added interactive_pro, darkness , wave and hyper governor
​

Change logs V4.1:​

--> fixed MTP

--> improved deep sleep

--> added wireguard vpn tunnel
​

Change logs V5:​

UPGRADED FROM 3.18.71 TO 3.18.82 LInux Kernel Base

Fix iSCSI task reassignment handling

Fix memory leaks and optimizations

improved kernel security

optimize IPV6/TCP

Fixed cpu hanging bugs or utilize core efficiently

for more change logs for LInux kernel base visit : https://mirrors.edge.kernel.org/pub/...ngeLog-3.18.82
​

Change logs v5 final​

Updated LInux base to 3.18.112 may 30 2018

->> Feels more smoother than Iphone X :p

--> animations and scrolling are more controlled manner and much smooth

--> much more optimized system

--> very efficient and power saving too

Change logs v5.1 final

Overclocked cpu to 2.4 ghz

over clocked gpu to 855 mhz

Change logs V6 Final:

UNDERCLOCK FROM 650 MHZ TO 420 MHZ

WITH INTELLIDEMAND GOVERNER BONUS

V7 UPDATE LIST :

updated LInux base to 3.18.113 with no sound issue like before

Added total 23 different governers :

here are list:

* Barry Allen

* Bioshock

* Blu Active

* ConservativeX

* Electrodemand

* Hyper

* DanceDance

* Impuls

* Intelliactive

* Intellidemand

* Interactive Pro

* InteractiveX

* Lionfish

* Lionhearth

* Ondemand Plus

* Pegasusq

* Smartmax

* Yankactive

* Zzmoove

* Alucard

* darkness,

* darknessv5,

* and nightmare

increased fast charge limit

Revamp my github code :p

Bugs : automatics brightness is low...will fix soon

*** important : V7 might take some time on first boot so be patient

one more thing is v7 information might not be shown in about device section but you can see the info in Kernel auditor if you check..will fix it later

V8 UPDATE LIST :

ADDED dt2w/s2w support.

Increased charging current to 3000MA(as users voted for that much)

optimized and distributed balanced voltages amongs cpu frequencies

V8.1 UPDATE LIST :

added maple I/O DEfault scheduler which best balanced I/O scheduler

added advanced tcp congestion control WESTWOOD for better streaming services as well as high network load balancing

revert back to 2500ma charging current for stabilty and well balanced charging

V9 UPDATE LIST :

--> Added Support For Kali NetHunter :p

--> sched: fair: reduce preemption latency (kernel activities must be very fast now, even apps opening)

--> adreno idler per cpu frequency level

V9.1 UPDATE LIST :

not much change but,

now added frequencies 422 650 and 800 instead of 422 499 and 590

so that the frequencies gaps will be shortened and their wont be sudden jump..

V10 Beast UPDATE LIST :

Overclock upto 2.6 ghz...added frequecies 2.5 and 2.6 ghz

Power suspend mode activated with 4 profiles:

Autosleep

Userspace

Hybrid

Lcdpanel

(Hybrid recommended)

Don't measure by cpu core sleep..but check through better battery stats or apps like that..

Your phone will go to deeper sleep now and hybernate itself..due to powersuspend modes

**warning..use google to first check what is power suspend mode and how to use it

V11 Beast UPDATE LIST :

--> overclocked to 2.8 ghz

-->very stable and reduced voltage to -100mv

-->fixed some wifi while overclocking to 2.8 ghz

-->quick charge fix to stock qc 3.0

**REmember guys..2.8 ghz is very fast in terms of performance and gaming ..soo it will drain battery...please switch to lower frequencies or flash my profiles....its all in your hands how to tweak now..

V12 Beast UPDATE LIST :

--> improve TCP speed

--> Added cpu governor Dynainteractive, SMARTMAX EPS , Cultivation

--> don't update idle time if cpu offline ( An offline cpu still has ts->idle_active == 1, that cause

off time is counted as idle time, and hence cause cpu load

calculated wrongly.

Check the cpu online status before updating the idle time to

fix it.)

--> optimize Kernel Samepage Merging (KSM)

--> deep sleep time reduced and fixed completely

V12.1 Beast UPDATE LIST :

--> fix deep sleep in every scenario (quiet big update for me atleast)

V13 Beast UPDATE LIST :

--> oveclocked gpu frequency to 955mhz

--> optimized kernel more

V13.1 Beast UPDATE LIST :

--> removed bulky nethunter kali

--> added full wakelock control

V14 Beast UPDATE LIST :

-->Ironactive governor

-->enabled f2fs support

-->gpu min 100 mhz and max 1 ghz

-->added faux sound control 4.1

V15 Beast UPDATE LIST :

--> overclocked gpu upto 1300 mhz

--> included adreno gpu turbo boost by improving algorithm (rendering will be quick when needed)

--> Fixed EXfat filesytem (checked 64 gb and 128 gb sdcards)

V15.1 Beast UPDATE LIST :

--> Fixed screen flickering or ghost screen for few users while overclocking gpu to 1300 mhz

V16 Beast UPDATE LIST :

reverted faux sound control to 3.6 and bring back mic control for echo sound fix

V17 Beast UPDATE LIST :

Upgraded kernel to 3.18.122

Added missing F2FS Encryption and dycryption support for pie

V17.1 Beast UPDATE LIST :

--> Merge caf pie tag LA.UM.7.6.r1-02500-89xx (Based on kernel 4.9.112)

V17.2 Beast UPDATE LIST :

--> Upstreamed kernel to 3.18.123

--> Added OndemandX governor

V17.3 Beast UPDATE LIST :

--> Upstreamed kernel to 3.18.124

V18 Beast UPDATE LIST :

--> Upgrade prima drivers to LA.UM.7.6.r1-02800-89xx.0

--> probably more updated wlan drivers or connections with less battery drainage and more stabilty

V18.1 Hardrock kernel UPDATE LIST :

--> Merged LA.UM.7.6.r1-03100-89xx.0 Pie caf tag from codeaurora

V18.2 Hardrock kernel UPDATE LIST :

--> Merged latest oreo tag LA.UM.6.6.r1-10100-89xx.0

V19 Hardrock kernel UPDATE LIST :

--> Upstreamed kernel to 3.18.125

​

HOW TO INSTALL :

Just flash latest zip through twrp

Download links :

V3 LInk :

https://drive.google.com/file/d/1wZpXJB9LkwJM62EGXa5L_Ek-IQVZJ-sW/view?usp=sharing

v4 or above link androidfilehost : https://androidfilehost.com/?w=files&flid=273841

v8 link : https://www.androidfilehost.com/?fid=746163614322274958

v8.1 links : https://www.androidfilehost.com/?fid=746163614322275062

v9 link : https://www.androidfilehost.com/?fid=890278863836296662

v9.1 link : https://drive.google.com/file/d/14ManVXH5wkk7X1FrchILLm9P4eZpkYek/view?usp=sharing

AFH : filehost is down for uploading :p

V10 link : https://www.androidfilehost.com/?fid=11050483647474828444

v11 link : https://www.androidfilehost.com/?fid=5862345805528046779

v12 download link : https://www.androidfilehost.com/?fid=5862345805528047528

v12.1 download link : https://www.androidfilehost.com/?fid=5862345805528048027

Download link v13 : https://www.androidfilehost.com/?fid=5862345805528048421

v 13.1 link : https://www.androidfilehost.com/?fid=5862345805528051483

to tuneup all wakelocks and more fine tuning please download this app : https://www.androidfilehost.com/?fid=5862345805528051487

Download link v14 : https://www.androidfilehost.com/?fid=5862345805528056574

Oreo v15 link : https://www.androidfilehost.com/?fid=5862345805528065894

Treble v15 link : https://www.androidfilehost.com/?fid=5862345805528065891

Download link v15.1 oreo : https://www.androidfilehost.com/?fid=3700668719832237063

Download link v16 : https://www.androidfilehost.com/?fid=1322778262903987028

Download link v16 treble : https://www.androidfilehost.com/?fid=1322778262903987029

Download link for v17 oreo : https://www.androidfilehost.com/?fid=1322778262904008669

Download link for v17 Treble oreo : https://www.androidfilehost.com/?fid=1322778262904008671

Download link for v17.1 oreo roms : https://www.androidfilehost.com/?fid=1322778262904012629

for v17.1 treble oreo : https://www.androidfilehost.com/?fid=1322778262904012626

Download link v17.2 :

oreo : https://www.androidfilehost.com/?fid=1322778262904021400

oreo treble : https://androidfilehost.com/?fid=1322778262904021415

Download link v17.3 :

download for oreo : https://www.androidfilehost.com/?fid=1322778262904027322

download for treble : https://www.androidfilehost.com/?fid=1322778262904027306

Download link v18 :

treble link : https://www.androidfilehost.com/?fid=11410932744536983133

oreo link : https://www.androidfilehost.com/?fid=11410932744536983135

Download link v18.1 :

oreo --> https://www.androidfilehost.com/?fid=11410932744536987504

treble --> https://www.androidfilehost.com/?fid=11410932744536987518

Download link V18.2:

For oreo : https://www.androidfilehost.com/?fid=11410932744536993601

For treble :https://www.androidfilehost.com/?fid=11410932744536993599

Download Link v19 :

treble :https://www.androidfilehost.com/?fid=11410963190603844301

oreo : https://www.androidfilehost.com/?fid=11410963190603844303

TELEGRAM GROUP LINK :

Guys please join my telegram group for kernel related quarries [MENTION=641880]hardrock[/MENTION]_kernel

t.me/Hardrock_kernel

Credits or Contributors:

my sincere thanks to all the devs who supported me mainly [MENTION=4479268]Jay_B[/MENTION] [MENTION=5581790]pranavaryans[/MENTION] [MENTION=5151940]V_v3k[/MENTION] [MENTION=8727489]eva0034[/MENTION] [MENTION=8363123]ROMFACTORY[/MENTION] [MENTION=7529222]Martichou[/MENTION] and all my users

Kernel source : https://github.com/rakeshraimca/Xiaomi_Nougat_oxygen-

Donation link : https://www.paypal.me/Hardrock83

Paytm and phonepe : 7010726092

​

Version Information

Status: Stable

Current Stable Version: 16

Stable Release Date: 2018-08-22

XDA:DevDB Information

Hardrock Kernel v14 Beast Mode OC 2.8 GHZ , Kernel for the Xiaomi Mi Max 2

Contributors

Hard_Rock83

Kernel Special Features: overclocked snapdraon 625 to 2.8 ghz and gpu to 999 mhz with a lot of features

Version Information

Status: Stable

Current Stable Version: 19

Stable Release Date: 2018-07-21

Created 2018-05-21

Last Updated 2018-07-27