[kernel] [AOSP PIE/OREO] [DTC9] [GCC9] Wizardstaff kernel - Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other

{
"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"
}
Introduction
Hello everyone, this is my personal kernel for the Xiaomi Redmi4X.
My updates on kernels are done keeping these things in mind:
Follow stable Linux always kernel.org.
Follow latest CAF tags msm-3.18 .
Follow google kernel/common updates google
Features will be added only as needed .
Hopefully you enjoy
Important thread information!
I refuse to acknowledge/respond to bug reports that do not include clear steps to reproduce, a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues). Follow this guide to do this.
Keep things civil, I do NOT tolerate flaming of any kind.
Features
Here are the major features of the kernel (feel free to explore Github)
Up to date with the latest stable Linux version (3.18.140)
Latest binder and sdcardfs commits from kernel/common
Several subsystems converted to use power efficient workqueues
Mainline improvements to CFQ
Westwood as the default congestion algorithm
Backported RNG driver from 4.2+
Backported BFQ I/O scheduler
The following user facing features:
Color control
Maple I/O scheduler
zen I/O scheduler
fiops I/O scheduler
SIO plus I/O scheduler
added TTL fixation support
Overclocked GPU to 560 MHz
DTS eagle driver
Fsync control
software CRC control(default disable)
Sound control
USB fast charging
DT2w,S2W gestures
Wakelock blocking
Vibration control
Governors : ElementalX,impulse,Blu_active,Alucard.
Latest WireGuard snapshot (0.0.20181018)
Supports F2FS file system, and merged latest f2fs patches.
Available to flash with AnyKernel2 (thanks to @osm0sis) [zip will automatically detect all spectrum profiles and delete them to avoid unstabilities, use mtweaks to tweak the kernel]
Downloads
Get it here:https://sourceforge.net/projects/wizardstaff-kernel/files/
Folder description:
Every stable kernel will be uploaded to the sourceforge with the release version as the folder name ( eg. Timestaff u see now).
Each folder contains two builds Dragontc 9 clang build and latest GCC9 build ( thanks to @kdrag0n for his gcc9 compiler), use whichever build u like the most !!!( i prefer gcc9 tho )
Issues can be posted here or on my telegram group Telegram.
Installation
Boot into TWRP.
Flash the zip (flashing Magisk is not necessary if you already have it installed).
wipe Cache and Dalvik Cache partitions.
Reboot and enjoy!
Changelog
Commits
Thanks to:
The various other developers for their patches
@nathanchance for clang compiling ,kernel compiling ,as u see without this guy nothing is possible for me this fast!!
Also all the members in LinuxKernelBrickers who helped me
@osm0sis for AnyKernel2
@RyanAndri for his great kernel source without which this is not possible.
All of you guys for viewing the thread
Special Mentions:
Usman mughal for his help regarding forceencryption on tingychen roms.
sujabhani for testing and supporting my kernel always.
Prakhar shukla for the incredible banner u see on the top.
Also,forgive me if i missed somebody......!
Kernel source links
9.0.0: https://github.com/gandalf02/android_kernel_santoni/tree/g/hmp
XDA:DevDB Information
Wizardstaff, Kernel for the Xiaomi Redmi 4X
Contributors
pradeep1234, rainforce279
Version Information
Status: Stable
Supports: TREBLE & NON-TREBLE
Created 2019-05-31
Last Updated 2019-05-31

Hey this kernel seems pretty decent and stable. One minor issue is Fast charging didn't show on kernel aduitor. Other features are nice. Almost all other kernels I tried so far had issues like overheating, not sleeping and even not booting, but your kernel is butter.

rms112 said:
Hey this kernel seems pretty decent and stable. One minor issue is Fast charging didn't show on kernel aduitor. Other features are nice. Almost all other kernels I tried so far had issues like overheating, not sleeping and even not booting, but your kernel is butter.
Click to expand...
Click to collapse
Use Darkness Control app for using fast charge under battery section.

rms112 said:
Hey this kernel seems pretty decent and stable. One minor issue is Fast charging didn't show on kernel aduitor. Other features are nice. Almost all other kernels I tried so far had issues like overheating, not sleeping and even not booting, but your kernel is butter.
Click to expand...
Click to collapse
That fastcharge u are talking of is fast charging in usb mode ( all other kernels has that knob to disable or enable), in wizardstaff this is enabled always , max charging current in usb mode(mean when connected to pc ) is 900mA. And with stock charger the max current u can get is 2A , and i think more than this will heat up the device and not good for it....
Thanks for the feedback and appreciation ............

can I flash this kernel with stock miui 10 rom?

foneiamone said:
can I flash this kernel with stock miui 10 rom?
Click to expand...
Click to collapse
Nope , I mentioned , only for custom roms , AOSP PIE/ Oreo , it is not for miui , I will make miui if I find time , but can't guarantee tho

Wil it work on both TREBLE and NON-TREBLE ?

Oery said:
Wil it work on both TREBLE and NON-TREBLE ?
Click to expand...
Click to collapse
Yeah I forgot this , thanks... yes it supports both treble and non treble

Will it give a better battery backup

V1ncent9 said:
Will it give a better battery backup
Click to expand...
Click to collapse
Try yourself , everyone have diffierent usage

I just hope that this kernel will be continue to be developed.
Thanks dev.

Someone knows what differences have this kernel with Rockstar or Phantom?

Smooth kernel! Been using it for a few weeks now and it's working like a charm!
Hope you continue improving it for a while.
polware said:
Someone knows what differences have this kernel with Rockstar or Phantom?
Click to expand...
Click to collapse
Rockstar is focused on raw performance over battery power saving, it offers a few more customizations when it comes to overclocking the CPUs and such.
This one on the other hand, offers no CPU overclocking but it has; in my opinion; better configurations (and optimizations) "under the hood" that actually shows in the long run.
Haven't tried Phantom kernel yet, and probably won't, I'm sticking with this one for the time being.

Related

[KERNEL][3.18.133][9.x]Magma Kernel for Lenovo P2/Kuntao

Magma Kernel is made with a view that it will give a more stable experience to users of p2! It is to make a user more comfortable with his own device!
Quick overview of Features
Upstreamed to latest linux-stable
Added BFQ I/O sched
CFQ improvements
Interactive improvements
Compiled with GCC version 7.3.0
fingerprint boost driver
More to come!
Downloads:
Build for Pie [9.x] Roms:
Freakyapples
You must be thinking about the funny names but i am inspired by those funny names from @MSF Jarvis . So suggest me with different names for next releases if you like the style!
XDA:DevDB Information
[KERNEL][3.18.133][9.x]Magma Kernel for Lenovo P2/Kuntao, Kernel for the Lenovo P2
Contributors
Subham, Firelord
Source Code: https://github.com/Subhaam/android_kernel_lenovo_msm8953/tree/magma
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: freakyapples
Stable Release Date: 2018-05-25
Created 2017-10-17
Last Updated 2019-01-31
Quick Stuff! Reporting Bugs!
Use any logcat app from playstore for taking logs if you face issues!
If you face random reboots, then just keep a watch and take logs by connecting the phone with pc/laptop using adb.
Changelogs:
SizzlingNuts
Initial build of oreo
Freakyapples
Upstreamed to Latest linux stable
Reserved
How to flash it. I am on aex 5 oreo, can I install it
mrmahi42 said:
How to flash it. I am on aex 5 oreo, can I install it
Click to expand...
Click to collapse
It will not work with android oreo....
Steps
Flash android 7rom and gapps
And the flash the kernel and rebbot and enjoy it...
mrmahi42 said:
How to flash it. I am on aex 5 oreo, can I install it
Click to expand...
Click to collapse
If you can read the thread title itself its clearly written [7.x] that means its only for 7.x based roms! Not for 8.0 roms
Just curious, what does the line "Added Fingerprint boost driver. Thanks to @frap129's FP driver" mean. I mean, if it is something related to go gestures????
Forgive me for asking if this makes no sense.
Thank You for great work!
work on p2c72
{
"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"
}
Brother can this kernel fix the cpu frequency stick to 2016 mah bug? Coz when ever i use any kernel tool cpu frequency sticks to 2016mah to fix i have to reboot.
torque7 said:
Brother can this kernel fix the cpu frequency stick to 2016 mah bug? Coz when ever i use any kernel tool cpu frequency sticks to 2016mah to fix i have to reboot.
Click to expand...
Click to collapse
Its fixed
senseijtitus said:
Just curious, what does the line "Added Fingerprint boost driver. Thanks to @frap129's FP driver" mean. I mean, if it is something related to go gestures????
Forgive me for asking if this makes no sense.
Click to expand...
Click to collapse
+1
Nope no gesture, but the FP unlock is now snappy efficient (AICP rom). Had to tap wice on it most of the time before that.
Well done and thanks.
I would like to try it, in case something goes wrong, what can I do to restore o backup stock kernel?
SlugUnchained said:
I would like to try it, in case something goes wrong, what can I do to restore o backup stock kernel?
Click to expand...
Click to collapse
Just reflash your rom to revert back to stock kernel
ALISTON PRINCE FERNANDEZ said:
Just reflash your rom to revert back to stock kernel
Click to expand...
Click to collapse
Thank you
Request- please add kcal control if you can, thanks.
In case some one wants to know more about Lionfish
Summary:
PERFORMANCE: GREAT, BATTERY LIFE: GREAT, COMPATIBILITY: GOOD
Description:
The Lionfish governor combines traits of the conservative, ondemand, and interactive governors. It is designed to maximize battery life without noticeably impacting performance. It responds quickly to heavy loads while staying within the region of optimal CPU performance per watt. With moderate loads, it periodically votes to raise, maintain, or decrease the frequency. When there are enough votes to change the frequency, it is ramped up and down gradually. The voting mechanism reduces frequency jitter compared to ondemand and conservative. squid2's testing had found that this governor uses moderate frequencies (where efficiency is optimal) more effectively than interactive, ondemand, and conservative. This improved frequency distribution results in a moderate reduction in CPU power consumption while maintaining responsiveness comparable to the interactive governor.
ALISTON PRINCE FERNANDEZ said:
Just reflash your rom to revert back to stock kernel
Click to expand...
Click to collapse
No, you don't need to flash the entire ROM. Only flash the backup boot image because the kernel resides inside the boot sector.
Dev.Katalyst said:
Request- please add kcal control if you can, thanks.
Click to expand...
Click to collapse
Added wait for the next update!

[KERNEL][3.18.133] KernelX Project [Natrium][2019/02/03]

{
"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"
}
DISCLAIMER
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this 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.
*/
ABOUT:
This is my personal kernel project, which I looked to be a stable kernel for daily usage, with useful features only, and to have a half term under performance and battery life for Xiaomi msm8996 devices. Inspired by projects like Flash Kernel and ElementalX Kernel
"While I am not a super star kernel developer, I do know my way around it." (Chancellor, Nathan - 2017) ​
PROJECT GOALS:
Keep kernel up-to-date with lastest stable Linux Kernel version (3.18.123)
Offer the user the best balance between battery life and performance
Just useful features. Features may be included only as needed (Read FAQ section to know the features that I won't add in anyway)
FEATURES:
Here are the major features of the kernel (More details on the Github repo)
Up-to-date with the latest stable Linux Kernel version (3.18.133)
Mainline Linux patches for CFQ
Several subsystems converted to use power efficient workqueues
Hides bootloader unlock from SafetyNet (can still fail through other means)
Available to flash with AnyKernel2 (thanks to @osm0sis)
Users facing features:
KCAL color control
USB Fastcharge
Adreno Idler
Boeffla Wakelock Blocker
INSTALLATION:
Boot to recovery
Flash kernel zip
Reboot
Yay! You've installed the kernel :victory:
DOWNLOADS: https://sourceforge.net/projects/kernelx-project/files/
Telegram Channel: https://t.me/KernelXChannel
Liked my work? Make a donation : http://bit.ly/hlcpereira_paypal
F.A.Q:
Q: Are you Planning to support MIUI?
1. A: No.
Q: Could you include feature x,y and z in your kernel please?
2. A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I won't promise that I will merge every request but I will always take it into consideration. I will NOT add:
Overclock or underclock of the CPU and GPU (Except for the cases that the device has a underclock on both or in just one, then it'll be considered)
Undervolt
Any other governors except the "kernel stock" ones
Any feature that just one or two people is going to use
Q: I'm having an issue, can you help me?
3. A: I'm not an amazing kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue. If I can't reproduce reliably, I'm not going to fix the issue. (Extracted from Nathan Chancellor's Flash Kernel Thread)
Q: The kernel is f*cking up my battery! Plz...
4. A: Stop right there. The Kernel doesn't drain any battery, use an app like BetterBatteryStats to figure out what app is screwing with your phone. If verified the clocks are always online and on the max clock, then it'll checked out what's happen. Anyway logs are necessary.
THANKS TO:
@nathanchance
@flar2
@franciscofranco
@LuK1337 and Mi5Devs
@xNombre
Any other developer that I might forgot
ADDITIONAL NOTES:
ABOUT KERNEL USAGE IN OTHER ROMS THAT ARE NOT MINE:
You are free to use the kernel if you want. The only thing that I'll request to do it's to keep the kernel name. If you have modified something, just add a "-Mod" in the final of the kernel name or anything that states that the kernel has been modified, not by me, but by ROM maintainer.
XDA:DevDB Information
KernelX, Kernel for the Xiaomi Mi 5s Plus
Contributors
Hlcpereira
Source Code: https://github.com/Hlcpereira/kernel_xiaomi_msm8996
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2018-09-17
Created 2018-09-18
Last Updated 2019-02-03
Reserved #1
Reserved #2
Im on AEX 5.8 latest version. Can i flash this from recovery?
TAJ_Rocks said:
Im on AEX 5.8 latest version. Can i flash this from recovery?
Click to expand...
Click to collapse
AEX already has this, just like pixel experience.
You can flash it on any Oreo based rom, but for those two in particular it will be just an update to the latest version.
pixel experiance rom has got problem with mobile network what is get drained it, so this kernel solve the problem isnt it?
what kind of governers can I use this kernel? and I have already used the other kernel, can I just be installed?
thanks for a new kernel
Kernel Update!
Just a little update with upstreamed kernel version (3.18.122)
Link on OP.
Thanks
I hope you can add some features like adreno idler or intellithermal on next update
Vibration Intensity Control option would be great
Kernel Update!
- Upstreamed to 3.18.123
- Merged LA.UM.6.6.r1-09800-89xx.0 tag
- Included Adreno Idler
- Enabled Westwood TCP
Also released EAS version.
Download link: https://sourceforge.net/projects/kernelx-project/files/natrium
Hlcpereira said:
Kernel Update!
- Upstreamed to 3.18.123
- Merged LA.UM.6.6.r1-09800-89xx.0 tag
- Included Adreno Idler
- Enabled Westwood TCP
Also released EAS version.
Download link: https://sourceforge.net/projects/kernelx-project/files/natrium
Click to expand...
Click to collapse
Difference between HMP and EAS ?
nani666 said:
Difference between HMP and EAS ?
Click to expand...
Click to collapse
The most noticeble on is the underclock on big clusters, from 2.35GHz on HMP one to 2.15GHz on EAS one that I've made. Also EAS implementation gives a better graphic performance, but also consumpts more battery due Schedutil governor always wants to keep on higher frequencies. That's why I've underclocked the big clusters.
Hlcpereira said:
The most noticeble on is the underclock on big clusters, from 2.35GHz on HMP one to 2.15GHz on EAS one that I've made. Also EAS implementation gives a better graphic performance, but also consumpts more battery due Schedutil governor always wants to keep on higher frequencies. That's why I've underclocked the big clusters.
Click to expand...
Click to collapse
So which would you recommend I flash for best Gaming performance ?
nani666 said:
So which would you recommend I flash for best Gaming performance ?
Click to expand...
Click to collapse
According to what I've heard of, EAS is the better for gaming.
Hlcpereira said:
According to what I've heard of, EAS is the better for gaming.
Click to expand...
Click to collapse
Flashed EAS
Can confirm that it was terrible for gaming... Experienced some constant lagging
Flashed HMP version and it was much better
what kind of the cpu governers can we use?
EAS is really bad on lineage 16, my battery life has been halved if not worse. Typically after one night the charge would drop to somewhere between 80% and 87% with Sleep running, with the EAS it is typically in the low 60s.
I will try to flash HMP and see if that resolves it.
If anyone got the cores always running on the max freqs on EAS Kernel, set governor to ondemand and then set again to schedutil. That's a workaround for now

[KERNEL][OREO/PIE][ROSY] WOLF KERNEL(V1) by Sukrut Bhagwat

{
"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"
}
About Wolf Kernel
Wolf Kernel is built for Redmi 5. It is developed to unleash the full power of your device. This kernel is developed in a manner to give you a balanced blend between battery life and performance. I added various tweaks i.e. governors, i/o schedulers, hotplug drivers and various other patches and fixes from many great kernels. The kernel will get updates regularly with new features/patches/fixes. I am continuously trying to make it more better day by day. I believe in quality over quantity.
Features
Wolf Kernel(v1)
Compiled with UBERTC 4.9 Toolchain (Optimized for Cortex-A53)
Linux version 3.18.131
Android Oreo & Pie support
Latest CAF tag "LA.UM.6.6.r1-10500-89xx.0"
CPU OC to 2.0GHz
GPU OC to 650MHz
Add sdFAT support (supports ext4, vFat and others too)
Significantly improved performance & battery life
WireGuard VPN support
KCAL v2 colour control
Added FP boost
Added State notifier
Sound Contro
USB Fastcharge
F2FS support
Imported DTS Eagle
Implement Two-Step input boost
Initial AudioWizard
Governors : alucard, bioshock , conservative , despair , electron , elementalx , impulse , interactive , lionfish , lionheart , ondemand , performance , powersave , userspace
Requirements
Must be on Oreo/Pie based ROM (MIUI not supported, only Lineage and AOSP based ROMs supported as of now)
Must be on stock kernel of your ROM
A custom recovery (TWRP) should be installed
How to flash
Download the zip file of kernel from given below link
Boot your device into recovery mode
Select WOLF KERNEL(V1) file
Flash the zip
Reboot
Enjoy!!
Downloads
Kernel - (Wolf Kernel(v1))Download Here
Credits
[email protected] for helping in Overclock​
XDAevDB Information
Wolf kernel, Kernel for the Xiaomi redmi 5
Contributors
@Sukrut4778
source code:
https://github.com/Teamlions/android_kernel_xiaomi_rosy
Version info:
Status:Stable
current stable version:V1
Stable release date:4/1/2019
Using since 2 days
Awesome pubg :laugh:
Cool
Congo boi
2ghz is dangerous for CPU ?
tamalsarkar005 said:
Using since 2 days
Awesome pubg :laugh:
Click to expand...
Click to collapse
any lag on your device ?
Switchonthelight said:
2ghz is dangerous for CPU ?
Click to expand...
Click to collapse
np
Nice to See More Kernel's Coming! And Leading to the Faster Development of Rosy!
All the Best. And a Belated Happy New Year
My Antutu GPU score is very low...
Use 9.1.3 vender+LOS 16
Will this kernel fix the unbalance audio in headphone jack?
lifegap said:
Will this kernel fix the unbalance audio in headphone jack?
Click to expand...
Click to collapse
Isn't that hardware thing? I also have left channel playing louder, but only with wired headphones, with BT ones it' ok. Btw I'm on the latest Lineage 16.
lifegap said:
Will this kernel fix the unbalance audio in headphone jack?
Click to expand...
Click to collapse
Yes
Sukrut4778 said:
Yes
Click to expand...
Click to collapse
Is it possible to flash this kernel from Thunderstorms kernel? The Thunderstorms is fine but I would like to test the OC capability.
eventhough this kernel has been oc but whenever i play game like pubg and world war heroes i faces frame rate dropping and lagging, am i the only one person face it or maybe something else cause i'm from thundercloudb kernel and it perform better.
Help Me !
rithhhx said:
eventhough this kernel has been oc but whenever i play game like pubg and world war heroes i faces frame rate dropping and lagging, am i the only one person face it or maybe something else cause i'm from thundercloudb kernel and it perform better.
Help Me !
Click to expand...
Click to collapse
I mentioned it in V2 thread. Change your GPU governor in kernel adiutor, for example to Simple_Ondemand
F
Ok
are you using this kernel in crdroid? battery is good in crdroid.
Can Redmi 5 get Linux kernel 4.X? The recent ROMs of Redmi Note 5 and Poco F1 have 4.X already. Thanks
Nice work but fear of device life due to overclocked

[9.0] [OFFICIAL] [9.0.0_r39] AOSiP [Platina]

{
"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"
}
Code:
[B][CENTER]**** Disclaimer: I'm not responsible if you destroy your device. Use at your own risk!!! ****[/CENTER][/B]
Android Open Source illusion Project​
About us:​
AOSIP is a quality custom rom based purely on Google AOSP source since 6.0 release. Twisted with the latest features and blended with stability. We strive for perfection and it shows.​
Team Illusion:​
Josh Fox (xlxfoxxlx)
Akhil Narang
Brett Montague
Sri Harsha
Harsh Shandilya​
Bug reporting:
DO NOT Report bugs if you're running a custom kernel or you installed Xposed
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab dmesg . (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.
Source code:
AOSiP Gerrit Review
AOSiP Github
Kernel source
Latest Downloads:
Platina
FAQ and Install instructions:​
Install instructions:
getting twrp going is discussed many places so i wont do that here but assuming you have twrp installed
boot twrp
wipe system/data/cache
flash rom
reboot system
Credit/Thanks:
Mike Williams(founder and creator of AOSiP)
Huge props to Josh Chasky, Spaceman860, Alex Cruz and the rest of DU teams work on 3/3xl
Google
LineageOS
AICP
ABC Rom
Omni
ChainFire (SuperSU)
Beanstown106
Cory Collins
Sultanxda
flar2
---------
Any others i may have forgotten
All our testers
XDA:DevDB Information
[9.0] [OFFICIAL] [9.0.0_r39] AOSiP [Platina], ROM for the Xiaomi Mi 8 Lite
Contributors
nysadev, nysadev
Source Code: https://github.com/nysadev/lyra-4.4
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Based On: AOSP
Version Information
Status: Stable
Created 2019-05-06
Last Updated 2019-05-15
Changelog:
04/05/19:
Kernel changelog:
- Lyra kernel 1.2:
- Based on ALS 4.4.179, latest CAF tag
- Clean imported Xiaomi code to remove Xiaomi leftover ****
- Energy Aware Scaling, with kdrag0n's energy model
- Hardcoded schedutil values so no ramdisk modifications
- Schedutil optimisations
- Dynamic schedtune enabled
- Introduce cpu_input_boost driver and devfreq (GPU) boosting
- Disable CPU boost in favour of cpu input boosting
- Boost CPU and DDR during new frames
- Kill userspace CPU boosting
- Set minimum frequently of the little cores to 902MHz for efficiency
- Enabled and set CPU masks
- Optimize CFQ
- Allow tasks to be performed as performance critical (new API)
- Add console ramoops support (thanks to @Lunarixus)
- F2FS enabled
- Latest Qcacld-3.0 from CAF
- LZ4 kernel compression
- Removed useless sdm660 dtbs
- KCAL support
- VDSO32 enabled
- Enable jump label
- Smooth and battery friendly
Device changelog:
- Compile HWUI in performance mode
- Optimise F2FS flags
- Remove HAL1 forcing of apps
Hi all,
I'm really sorry, I don't hang much around on XDA, I really should be updating these threads.
A few questions have been asked which I shall answer.
1. Does the 04/05 build fix switching off bug?
- Yes, it does. I'm sorry about the 28/04 build causing this issue - this was because I implemented EAS, and after testing, I thought the build was ready to go, however the bug never occurred on my end. I still don't know what caused the issue but the 4th May build switched to the Lyra 1.2 kernel which has EAS, made by me, which doesn't cause the deep sleep issue. (Thanks to my testers on Telegram for all the hard work and testing!)
2. Why is the front camera broken on some apps but not others/not working at all?
- The front camera was fixed in Instagram and WhatsApp on the 04/05 build, but if you still have issues on all apps, please install the newest global stable firmware. This is really important as developer betas do not work properly.
3. I have issues with sound, long boot time and sensors etcetc, your ROM is broken?
- No, you need to install the global stable firmwares (10.2.3.0/10.3.x.x and beyond). I cannot stress this enough. Soon if I find an adsp fix I'll fix all firmwares but Xiaomi really hacked something together.
4. My phone is showing "There's a problem with your phone, please contact the manufacturer" on boot. Did you break my phone?
- No, I didn't. I'm not sure why but after moving to custom kernels this message will appear. There is nothing wrong at all, and I believe I know the fix for it. I'll experiment after I'm done writing this message. Again, this causes no issues, do not stress about it.
5. Can you actually post changelogs?
- Yeah, I should. I'm very lazy/busy
6. Is it true you have exams soon?
- Yes, as of the time of writing, I have exams from the 13th May - 17th June. I'm in my last year of secondary school (being 16 in Year 11) and these are my GCSEs to go on to college. Builds will not have as many changelogs as I won't be able to dedicate much time.
A huge apology to my users out there that use my builds that were caught by the deep sleep freeze bug. I will work harder in the future to test and properly debug builds.
Thank you to everyone that still continues to use my builds. Feel free to message me on Telegram (@nysadev) or join our group. PM me for details.
Thank for this rom : I love aosip. I try tonight.
And good luck with your exams.
Great job @nysadev I'm currently using for more than 3 days with all lyra versions (you know that :winkk and so far so good.
By the way guys, we've gone official now.
You can find downloads here: https://aosip.dev/platina
Well done dev'
Thanks
nysadev said:
By the way guys, we've gone official now.
You can find downloads here: https://aosip.dev/platina
Click to expand...
Click to collapse
thanks.
bug in beta dont work sound
halleybr said:
thanks.
bug in beta dont work sound
Click to expand...
Click to collapse
Forgot to specify 1.4 used the ADSP patch for developer betas. I will revert this and make a standalone kernel for the MIUI guys.
nysadev said:
Forgot to specify 1.4 used the ADSP patch for developer betas. I will revert this and make a standalone kernel for the MIUI guys.
Click to expand...
Click to collapse
Thank you... you post in this thread? thanks
Edit: i instaled Lyra 1.4 stable kernel and work fine
ROM side: Check AOSiP changelog
Device side:
- Reworked powerHAL (smooth and better battery)
- Reworked device tree
Kernel side:
- Lyra 1.6
- iommu rewritten and cleaned
- Use analog dimming for the screen
- Use a default power level on the GPU of 5 (160MHz)
- Remove HUGE amounts of logging in binder (really helps in battery I think)
- Update CPU Input Boost and like actually disable the ****ty inbuilt one
- Add a new, interpolated energy model
- Update LMK (simple low memory killer)
- Boost RCU
- CPUIdle more inline with Wahoo
- Remove a lot of high priority workflags for actual queuing
- Remove a lot of Qcacld-3.0 mess
- Fixed af SDcards
First fully official build. Stable, smooth and battery friendly as hell.
Let me know how it goes
THnx
Is the gapps included in or i have to flash the gapps?
how to enable face unlock on this rom ?
Dt2w work?
toniq said:
Dt2w work?
Click to expand...
Click to collapse
yes but till now i can't find faceunlock feature
Signal takes around 4 minutes to work on every reboot any fix?
Smoothest Rom so far. But the screen is too dark. Even at the highest settings.
hey still can't find the face unlock feature also when it comes to the fingerprint , sometimes it doesn't respond when the screen is off i have to press the power button then use it
Thank you very much for your work!
Please, fix this bug:
Hucast_DL said:
Signal takes around 4 minutes to work on every reboot any fix?
Click to expand...
Click to collapse
Last build doesnt boot... Only bootanimation forever

BlaZeMax-Kernel[LenovoP2][Kuntao]

{
"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"
}
About Kernel:
BlaZeMaX Kernel is simple SaX & Powerful Kernel with some features.
Code:
* Your warranty is now void.
* We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels.
* You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA
"This is a user friendly thread, all your suggestions are important to us and will be taken into consideration
Gooddies:
This Kernel is made to Improve Your Phone's Performance and Battery Life.
Code:
[LIST]
[*]Linux 3.18.140
[*]Added Bioschock intellactive & darkness governors.
[*]Added maple I/O Sched.
[*]Added Power Suspend driver.
[*]F2FS support.
[*]Vibration intensity controller.
[*]Aderno Idler.
[*]Kcal.
[*]Sound control.
[*]Dymamic Fsync.
[*]DTS Eagle Sound driver.
[*]Qnovo charging driver.
[*]Anxiety IO Scheduler.
[*]Some Improvements.
[*]Added MSM Hotplug.
[*]Compiled with clang.
[*]Fixed Hotplug not showing.
[*]Added Touchboost.
[*]Add input CPU boost.
[*]Added impulse and blu_active CPU governor.
[*]Added zen and TrinNdroid IO Scheduler.
[*]USB Fast charge.
[*]Some Vibration stuff.
[*]CPU OC-2028 MHz.
[*]GPU OC-700 MHz.
[*]GPU Boost.
[*]Sweep2Sleep Gestures.
[*]Blue_Plug Hotplug.
[*]SIO & FIOPS IO Scheduler.
[*]Intelli Thermal.
[*]Many more.
Lots more to come soon!..Stay Tuned!!![/LIST]
BlaZeMaX
• @attack11
• @nathanchance
• @Kerneltoast
• @franciscofranco
• @LazerL0rd
• @Martichou
• @flar2
• @vache
• @jhenrique09
• @Alberto97
• @krasCGQ
• Kdragon
- Due to Tons of Commits its not possible to give credits to everyone but I respect them. Please Check Github Hist$
Telegram Group
Telegram Channel[/SIZE]
REPORTING BUGS!
As soon as the problem occurs, take a logcat!
XDA:DevDB Information
BlaZeMaX-Kernel For LenovoP2
Contributor
advaithbhat
Version Information
Status: Stable
Great job dev! Any installation instructions?
Working great on lineage 15.1 !!! Thanks Dev !!!
rocketrixxer said:
Great job dev! Any installation instructions?
Click to expand...
Click to collapse
Download, flash, wipe dalvik e cache. Then reboot
Inviato dal mio Lenovo P2a42 utilizzando Tapatalk
I am not used to use a kernel different from the original one.
I suppose that flashing a (new) rom will not affect the kernel installed, isn't it ?
advaithbhat said:
BlaZeMaX Kernel is simple SaX & Powerful Kernel with some features.
Click to expand...
Click to collapse
Is it compatible with Android 9?
alirazaagha said:
Is it compatible with Android 9?
Click to expand...
Click to collapse
Yes
Works perfectly with AEX pie r40.
Btw, how do I configure the vibration intensity and other features?
What about Battery Life
GOOGLE OFFICER said:
What about Battery Life
Click to expand...
Click to collapse
I'm using 2208 MHz with interactive governor, the battery drain is the same as stock kernel and phone is faster.. one word : WONDERFUL !!
Just installed this on AEX 6.6, every is working ok so far. Will post if I hit any problems.
After flashing the kernel My phone speakers won't work but with earphones sound is working fine.
Right now am in latest lineage os pie
For me, apps like Maps, YouTube, google news, Instagram etc take longer to open. Idk if this is happening only in my case or with everyone..?
Samanvith said:
After flashing the kernel My phone speakers won't work but with earphones sound is working fine.
Right now am in latest lineage os pie
Click to expand...
Click to collapse
For lineageOS users i have made another build
https://drive.google.com/file/d/1h1JRe4YlqAMvfuhgEfRgkbqPrvlnTy3c/view?usp=drivesdk here you go
That's awesome we got OC support on this Kernel. I tried increasing Global Voltage Offset but it doesn't change anything (No temperature change or freq change of cpu) so skeptical if its actually working.
Haven't faced any issues after flashing this( except pubg didn't open until reinstall ).
İ install i dont find setting
After oc performance still same minor improvements in benchmark scores
GOOGLE OFFICER said:
After oc performance still same minor improvements in benchmark scores
Click to expand...
Click to collapse
Yeah what do u expect an efficiency oriented processor could do?It reduced stutters in pubg for me.
I tried OCing by increasing volatges, but couldn't know if it's actually working...
Compatible with Havoc 8.1 ?
theluanssa said:
Compatible with Havoc 8.1 ?
Click to expand...
Click to collapse
RR?

Categories

Resources