Development [Unified][Kernel][A11/A12] Eva Kernel for Redmi Note 9T / Note 9 5G [Cannon | Cannong] - Redmi Note 9T

{
"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"
}
Eva Kernel is a custom kernel based on the official Xiaomi Kernel Source code, with primary focus on better battery life without compromising the performance. The kernel is not bloated with many features, but just enough optimisations to give you an overall smoother experience.
Features:
Dropped unnecessary i2c dumps
Drop sdFAT and integrated upstream exFAT
Disabled Trustzone debugging
Fixed printing APIs for several drivers
Disabled Audio debugging.
Disable MTK Systracker.
Purged display logging.
Disabled blocktag driver.
Disable CPU cbit printing.
Disable APU-Sys and VPU debugging
Reduced massive memory overhead.
Display driver enhancements.
Add an APIs to affine critical irqs to specific CPU clusters
Affined Fingerprint, Touchscreen and DRM to big CPUs
Disabled debug and bus tracers
Blocked DBGTOP usage to avoid debuggig overheads
Fixed network warning that keeps popping up in logs
Silenced Thermal debugging
Improved memcpy and memmove, upto 15% efficiency
Faster math routines
Improved scheduler
Optimise entire kernel code for cortex-a55 CPU instruction set
Compiled with EvaGCC
Scheduler optimisations
Massive GPU driver optimisations
Improved crc32 algorithms
arm64 specific optimisations
Kernel is now built with GCC LTO (Link Time Optimisations)
Massive buffer allocation improvements
Disabled unneeded configs and drivers (reduces kernel image size)
Reduced further debugging
Dropped Xiaomi scheduler changes
Improvised haptic drivers to match userspace HAL
Some tcp optimisations
Supported Devices:
Both devices are supported (Android 11 and Android 12).
MIUI 12.4.x (Android 10) is not supported!
Download:
Download from my Github Releases!
Installation:
Unlock your bootloader using official Mi Tool (Warnnig! This will wipe your entire storage)
Reboot to bootloader, flash TWRP recovery image, you can find it here, flash it using
Bash:
fastboot flash recovery recovery.img
Reboot to recovery from the bootloader using
Bash:
fastboot reboot recovery
Once in recovery, connect your phone to PC and you will see MTP is detected. Copy the Kernel zip to your internal storage
In recovery tap on Eva Kernel zip that you copied to internal storage
Swipe to flash
Make sure you flash vbmeta from TWRP Release page (WARNING!: Without this vbmeta, your phone will not boot!)
Flash magisk for root (optional)
Reboot and enjoy!
Found a bug?
File an issue in my github kernel source.
Issues should have a description with logcat. Grab a logcat using:
Bash:
# If you have root
adb shell su -c dmesg > dmesg.log
# If you don't have root
adb logcat -b kernel > kernel.log
Had a random reboot? This requires a different type of log, grab that using:
Bash:
adb shell cat /proc/last_kmsg > last-log.log
Credits:
osm0sis for AnyKernel3
Xiaomi Kernel Source
Sources:
Kernel Source Code: https://github.com/mvaisakh/kernel_xiaomi_cannon
Kernel Version: 4.14.186
Extras
Join Telegram Chat
Magisk

Updates
Release 4
Changelog:
Completely rebased source
Resolved all bugs present in Eva Kernel Release 3
Remove massive memory overheads
Most of the changes from Eva Kernel Release 3
Faster GPU ioctls
Display driver enhancements
Reduce logspams
Kernel is compiled with EvaGCC
Release 5
Changelog:
Scheduler optimisations
Massive GPU driver optimisations
Improved crc32 algorithms
arm64 specific optimisations
Kernel is now built with GCC LTO (Link Time Optimisations)
Massive buffer allocation improvements
Disabled unneeded configs and drivers (reduces kernel image size)
Reduced further debugging
Dropped Xiaomi scheduler changes
Improvised haptic drivers to match userspace HAL
Some tcp optimisations

Reserved #2

annon

Perro

Fantastic

Pro , Thanks for Fixing unnecessary logspams in Mtk Kernels

god strikes again UwU

congratulations you are amazing

Thanks for sharing your work. Installation went nice and smooth.

Hi, is there a custom rom “crDroid” for this phone?

sax61 said:
Hi, is there a custom rom “crDroid” for this phone?
Click to expand...
Click to collapse
It's a GSI

m_vaisakh said:
It's a GSI
Click to expand...
Click to collapse
Can someone please indicate where to download and how to install the rom. Thank you.

sax61 said:
Can someone please indicate where to download and how to install the rom. Thank you.
Click to expand...
Click to collapse
This isn't the thread for asking that. Google on how to flash GSIs on dynamic partitions, you'll know what to do.

oscarmaldonado said:
Спасибо, что поделились своей работой. Установка прошла красиво и гладко.View attachment 5315881
Click to expand...
Click to collapse
Добрый,а где вы взяли срдроид на режим нот 9т 5G?

Seems like a good kernel, but it doesn't work for my Cannong. I'm on CorvusOS GSI, and only TWRP from that link works, but the vbmeta required does not. Keeping in mind it's in Android 11, I flashed OrangeFox and was met with an encrypted storage the recovery is unable to decrypt, most likely because it was made for 10. So now I'm stuck in a boot loop trying to figure out how to go back to stock kernel.

Chiryn said:
Seems like a good kernel, but it doesn't work for my Cannong. I'm on CorvusOS GSI, and only TWRP from that link works, but the vbmeta required does not. Keeping in mind it's in Android 11, I flashed OrangeFox and was met with an encrypted storage the recovery is unable to decrypt, most likely because it was made for 10. So now I'm stuck in a boot loop trying to figure out how to go back to stock kernel.
Click to expand...
Click to collapse
try to flash the version of the EVA kernel for Android 11
EVA for Android 11
otherwise you will have to refash the stock rom if it does not work.

jc-b said:
try to flash the version of the EVA kernel for Android 11
EVA for Android 11
otherwise you will have to refash the stock rom if it does not work.
Click to expand...
Click to collapse
Aha. Your download page links to the v1 releases, and that being the only thing I could see, I flashed it, and I had to reinstall everything again afterwards.

Chiryn said:
Aha. Your download page links to the v1 releases, and that being the only thing I could see, I flashed it, and I had to reinstall everything again afterwards.
Click to expand...
Click to collapse
sorry but the link goes back to Eva release 3 for Android 11.

m_vaisakh said:
Download:
Download from my Github Releases!
Click to expand...
Click to collapse
This does not. It leads to v1.

Related

[KERNEL] [LOS-14.1] tabp0le v1.1.5 w/F2FS, FastCharge USB 2/3 [Mar 07]

Code:
****Disclaimer: I'm not responsible if you destroy your device. Use at your own risk.
Introduction:
I saw a lot of demand/requests for a LOS compatible, F2FS kernel and wanted to make one. This kernel installer includes the kernel with F2FS drivers built-in and the required ramdisk changes to make F2FS mount. This kernel is built for stability, battery life and features without compromising performance. Overclocking is not going to happen. Please do not flash this on any ROM not based off LineageOS.
Please Note: EAS kernel has moved to it's own thread. Please visit here for EAS version.
Bug Reporting:
Please only report bugs and do so in the following format:
Device Firmware base:
Kernel Version:
Device ROM, version and date of release/nightly:
Governor:
Scheduler:
Any changes made within a kernel manager:
Any bootup scripts:
Brief description of bug:
Intended behavior:
Actual behavior:
Steps to reproduce bug:
Do this
Do that
See the bug
****Attach a logcat or you will be ignored****
Screenshots:
{
"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"
}
Features:
F2FS /data support
F2FS /cache support
Disabled verifiedbootstate check (will allow CTS/SafetyNet to pass on unlocked bootloader)
Forced fast charge on USB 2.0 (cherry-picked from CleanSlate Kernel by @tbalden
Double tap fingerprint sensor to sleep
Battery/sleep improvements
Option to disable/enable wakelocks: Bluedroid, wlan_rx, wlan_ctrl, wlan, IPA_WS
Option to disable/enable touch boost
Option to disable/enable magnetic cover sensor
Sweep2Sleep option
Disable fsync option (will break reboot to recovery if disabled)
Separate options for I/O schedulers on internal/external storage
I/O enhancements
I/O Schedulers: noop, deadline, cfq, fiops, sio, fifo, sioplus, tripndroid, vr, zen
Governors: conservative, ondemand, userspace, powersave, performance, interactive, ElementalX
Requires:
CM/LOS 14.1 based ROM
Changelog:
Code:
3.07.17 - v1.1.5
-------------------------
*Upstream LOS changes
2.27.17 - v1.1.4
-------------------------
*Upstream LOS changes
2.17.17- v1.1.3
-------------------------
*Upstream LOS changes
2.9.17- v1.1.2
-------------------------
*Upstream LOS changes
Install:
Flash in TWRP.
Install your favorite kernel tweaking app for full functionality. EX kernel manager is my recommendation.
To get F2FS working, you need to research yourself. There are plenty of threads that tell you how.
Download:
Download Repo
Additional Credits:
Thanks to @crpalmer for all his hard work on the HTC 10 LOS kernel
Thanks to @Captain_Throwback for helping me get F2FS working
Thanks to @tbalden for force fast charge code & other code I borrowed too
Thanks to @flar2 for a bunch of code I borrowed from ElementalX
Thanks to @franciscofranco for a bunch of code
Thanks to @CrazyGamerGR for a bunch of code
tabp0le Sources:
tabp0le AnyKernel2
Original Sources:
LineageOS Kernel
AnyKernel2 by @osm0sis
XDA:DevDB Information
tabp0le HTC 10 LOS Kernel, Kernel for the HTC 10
Contributors
tabp0le
Source Code: https://github.com/tabp0le/android_kernel_htc_msm8996/tree/cm-14.1-tabp0le
Kernel Special Features: F2FS support w/ ramdisk edits for /data and /cache. Wakelock controls, powersaving and more.
Version Information
Status: Stable
Current Stable Version: 1.1.5
Stable Release Date: 2017-03-07
Created 2017-01-19
Last Updated 2017-03-07
Please note: If using F2FS, you may need to remove
Code:
ro.sys.sdcardfs=true
from your build.prop if you have problems with your SD card such as these:
Thanks @crpalmer for the heads up.
Reserved
FYI, we (HTC and Lineage) enable sdcardfs which is a filesystem that is implemented on top of the real filesystem. Recently another device I maintain had sdcardfs removed because it caused weird random problems. Cyanogen said that sdcardfs has different problems depending on the underlying filesystem.
The problems aren't earth shattering like sdcard corruption, rather things like Google Photos failing to upload.
I compared the diff's between the device with problems and our kernel, and there didn't seem to be much different other than differences due to the fact that it was a 3.4 kernel.
I'm interested to know how it goes.
crpalmer said:
FYI, we (HTC and Lineage) enable sdcardfs which is a filesystem that is implemented on top of the real filesystem. Recently another device I maintain had sdcardfs removed because it caused weird random problems. Cyanogen said that sdcardfs has different problems depending on the underlying filesystem.
The problems aren't earth shattering like sdcard corruption, rather things like Google Photos failing to upload.
I compared the diff's between the device with problems and our kernel, and there didn't seem to be much different other than differences due to the fact that it was a 3.4 kernel.
I'm interested to know how it goes.
Click to expand...
Click to collapse
Thanks for that info! Does it use sdcardfs to mount the external or internal storage?
tabp0le said:
Thanks for that info! Does it use sdcardfs to mount the external or internal storage?
Click to expand...
Click to collapse
I believe both, but I have never looked to know for sure.
crpalmer said:
I believe both, but I have never looked to know for sure.
Click to expand...
Click to collapse
It begins. Having weird issues with external SD. Going to try formatting it.
FYI people, this is not a problem with the kernel.
FWIW I get that as well when trying to mount my sdcard in FX, and Lineage explorer. I'm on stock Lineage kernel. I can successfully mount and write to it with (speed software) explorer and the nougat browser in storage settings.
I assumed it was a nougat compatibility issue with those apps
Heisenberg420 said:
FWIW I get that as well when trying to mount my sdcard in FX, and Lineage explorer. I'm on stock Lineage kernel. I can successfully mount and write to it with (speed software) explorer and the nougat browser in storage settings.
I assumed it was a nougat compatibility issue with those apps
Click to expand...
Click to collapse
Hmm, it didn't start for me until today. Must be a contexts issue. Maybe I'll just clear my data. Good to know it probably has nothing to do with f2fs. Update: Wiping SD card fixes this problem.
Updated to remove check for verifiedbootstate.
I'm excited about this bud!
What do I need to have "just in case" something goes wrong?
A log cat?
mcwups1 said:
I'm excited about this bud!
What do I need to have "just in case" something goes wrong?
A log cat?
Click to expand...
Click to collapse
Yeah log cat will do. Though issues with f2fs are not going to be supported, as this device really isn't optimized for it. This kernel will let you use it, but it still doesn't work that great on this device. I've had trouble using my SD card with certain apps after enabling f2fs on data and cache.
Any way you could add overclocking to this kernel?
holofractal said:
Any way you could add overclocking to this kernel?
Click to expand...
Click to collapse
Please tell me you are kidding. If you are, that's hilarious and you are awesome. If you are not kidding, please please please read the OP.
Hey version .03 doesn't pass safetynet
Sent from my HTC6545LVW using Tapatalk
kend0g said:
Hey version .03 doesn't pass safetynet
Click to expand...
Click to collapse
Try rebooting again. Are you using magisk?
No
Sent from my HTC6545LVW using Tapatalk
After a reboot the first two pass but the CTS profile match fails.
Sent from my HTC6545LVW using Tapatalk
kend0g said:
No
Click to expand...
Click to collapse
kend0g said:
After a reboot the first two pass but the CTS profile match fails.
Click to expand...
Click to collapse
Flash Magisk v10.2 and enable magisk hide. That's how I personally get SafetyNet working.
I see quick charge for 2.0, but is it for 3.0 as well?
I lost 5% while plugged in to the 3.0 HTC charger while playing a game.

[KERNEL][V7.0|13-June-2020]ResurrectedKernel

I would like to present you first kernel for nitrogen for Pie ROMS (MIUI+GSI)
Installation steps:
1)Download latest kernel zip
2)Reboot to recovery
3)Mount vendor partition in recovery
4)Flash kernel zip
5)Wipe cache+dalvik-cache
6)Reboot
Features:
-Overclock+Underclock+Undervolt
-sdFAT(exFAT) support
-KCAL
-Governors: cultivation, nightmare, darknessV5, darkness, alucard
-Maple I/O scheduler
-GPU undervolt
-CRC on/off support
-FSYNC on/off support
-Fast charge via USB port
-Wireguard
-Power Efficient Workqueue by default
-Headphones sound gain control
-Microphone gain control
-320K AAC encoding (for audiophiles mostly)
-Powersuspend!
-many power efficient workingueues patches
-ZRAM/SWAP disabled by default
Feel free to join to my Telegram group where you will get available ROMs list, fixes and latest test versions of ResurrectedKernel! :
JOIN!​
DOWNLOAD LINKS:
Click here for old versions
Click here for newest versions​
IM NOT RESPONSIBLE FOR ANY PROBLEMS OR BUGS THAT MIGHT HAPPEN WITH YOUR DEVICE
XDA:DevDB Information
ResurrectedKernel, Kernel for the Xiaomi Mi Max 3
Contributors
mario_R
Cirno/remicaa- big help with sources
afr- bringup kernel source upstreamed to 4.4.180
Makshow- tester
opasha- tester
Source Code: Click
Kernel Special Features:
Version Information
Status: Beta
Current Stable Version: ----
Stable Release Date: ----
Current Beta Version: v5
Beta Release Date: 2019-04-28
Created 2018-09-15
Last Updated 2019-04-28
Reserved
Every version is tested before pushing it on XDA
Changelog:
V7.0:
-Android 10 support
-MIUI and GSI compatible
V6.2:
-kernel updated to 4.4.189 version
-added missing touch drivers (thanks to @afr30010)
-added version for MIUI STABLE
V6.1:
-wireguard updated
-reverted CPU voltages to the previous state (unstability fix for some users)
V6:
-kernel upstreamed from 4.4.153 to 4.4.183
-Westwood TCP added and set by default
-GPU: unlock 19MHz for idle state
-improvement: system will now boot with maximum CPU frequency
-undervolted 1.1GHz/1.8GHz/2.1GHz/2.2GHz frequencies
-default pwrlvl for GPU changed from 2 to 3 (now GPU can sit down to 160MHz instead of constantly running at 266MHz even when it's not necessary)
-CRC check enabled by default
-improvements for RAM utilization
-improvements for CPU when it's in idle state
-Wireguard updated
-mine kernel presets when system boot up
More info here CLICK
V5.1:
-fix for sound+videos on latest beta MIUI versions
V5.01:
-re-enabled zRAM and SWAP as some users complain about low memory with a lot of apps in background on 4GB RAM variant
V5:
-added KCAL
-Governors: cultivation, nightmare, darknessV5, darkness, alucard
-Maple I/O scheduler (from now it's set as default since it offers best file system performance)
-GPU undervolt
-CRC on/off support (off by default for better performance)
-FSYNC on/off support (off by default for better performance)
-Fast charge via USB port
-Wireguard
-Power Efficient Workqueue by default
-Headphones sound gain control
-Microphone gain control
-320K AAC encoding (for audiophiles mostly)
-Powersuspend!
-many power efficient workingueues patches
-ZRAM/SWAP disabled by default
V4:
-ResurrectedKernel for Pie ROMs, same features as the Oreo version
-new features coming soon!
-update: sound doesn't work on latest miui 9.3.28 and latest stable
V3:
-added sdFAT (exfat) support
-undervolt (as you wanted me to do it few days ago) up to -500000 uV (depends on frequency)
V2:
-Overclock both big and little cores
-Underclock for more battery juice
-WiFi fixed
V1:
-- Initial release
Reserved
Features please
Zanr Zij said:
Features please
Click to expand...
Click to collapse
It's initial release, so it's just compiled from Xiaomi sources. As i said, i don't have this device yet, so i need you guys to test if Xiaomi's sources are complete and everything works fine. If it boots up, then i will add features to it
I'm guessing the kernel should be flashed on top of this rom?
https://forum.xda-developers.com/pr...pment/gsi-resurrection-remix-o-6-1-0-t3811299
SUPERUSER said:
I'm guessing the kernel should be flashed on top of this rom?
https://forum.xda-developers.com/pr...pment/gsi-resurrection-remix-o-6-1-0-t3811299
Click to expand...
Click to collapse
Yes, it's for any Oreo ROM. MIUI and Custom. I'm not sure about if it works on Pie GSI
Do not boot. Xiaomi eu
Boots into fastboot
Mikromama said:
Do not boot. Xiaomi eu
Boots into fastboot
Click to expand...
Click to collapse
Yep, same here with pitch black recovery and twrp recovery. Flashed over 8.8.9 xiaomi.eu rom.
Flash on miuipro 8.9.13
- Cannot boot, it auto boot into fast boot
- After flash magisk 17.1 , it can boot to UI but cannot power on Wifi and Network data
Can you add overclocking?
souljaboy said:
Can you add overclocking?
Click to expand...
Click to collapse
For now, im just fighting with WiFi drivers
Did ya we're able to fix the wifi issue?
Did ya we're able to fix the wifi issue?
jacky3362 said:
Did ya we're able to fix the wifi issue?
Click to expand...
Click to collapse
Yep, he's releasing it soon. Just undergoing some tests. Wifi fixed and overclocked too.
V2 Version is ouot
jacky3362 said:
Did ya we're able to fix the wifi issue?
Click to expand...
Click to collapse
V2 Version is out guys! Check out the changelog and enjoy Snapdragon 660 CPU performance in your Mi Max 3 equiped with Snapdragon 636
Changelog:
V2:
-Overclock both big and little cores
-Underclock for more battery juice
-WiFi fixed
Just installed on xiaomi eu 8.9.20(latest) it works fine.
edit. Wifi don't working even with fix.
In antutu i have got 119K on stock kernel and 131.7k on ResurrectedKernel
{
"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"
}
Shlyify said:
Just installed on xiaomi eu 8.9.20(latest) it works fine.
edit. Wifi don't working even with fix.
In antutu i have got 119K on stock kernel and 131.7k on ResurrectedKernel
Click to expand...
Click to collapse
Did you mount /vendor partition before flash both .zip files?
Btw. nice score. 12k points more
mario_R said:
Did you mount /vendor partition before flash both .zip files?
Click to expand...
Click to collapse
yes I did both,100% mount/vendor
first i installed kernel than 2x reboot phone cause 1st reboot was laggy, than i install wifi fix
Shlyify said:
yes I did both,100% mount/vendor
first i installed kernel than 2x reboot phone cause 1st reboot was laggy, than i install wifi fix
Click to expand...
Click to collapse
Maybe try manually replace qca_cld3_wlan.ko from the zip file in /vendor/lib/modules/qca_cld3 with a file manager for example, root explorer
Set permission to 644 and reboot
SUPERUSER said:
Maybe try manually replace qca_cld3_wlan.ko from the zip file in /vendor/lib/modules/qca_cld3 with a file manager for example, root explorer
Set permission to 644 and reboot
Click to expand...
Click to collapse
still not working. Here what i did:
1. copy file "qca_cld3_wlan.ko" from WiFi_fix.zip
2. I didn't know where the file should excatly be,so I paste the file in 2 places:
- vendor/lib/
- vendor/lib/modules/
3. set permission 644 for the file in both places - vendor/lib/ and - vendor/lib/modules/
4. reboot
any ideas?

Weeb Kernel OP7/T/Pro

{
"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"
}
Indroduction:
Weeb Kernel is based on the latest source from OnePlus with some cleanup here and there and attempts to improve things kernel-wide.
Feel free to ask for any feature requests, but if I think something is useless or doesn't provide any benefit to warrant its addition, I will NOT add it, irrespective of how many people ask for it.
Code:
/*
* Your warranty is not void (Thank you OnePlus!).
*
* 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.
*/
Supports:
- OxygenOS 10
- Custom ROMs.
- All OP7/T/Pro devices, untested on 5G variants.
Reporting Bugs:
If you want to report any bugs, please post a logcat and dmesg, thank you!
To get a dmesg:
On Mobile:
- Open a terminal app, type:
Code:
su
dmesg > /sdcard/dmesg.log
OR
- Download Matlog.
- 3 dot menu
- "Save zip"
- Check include kernel log
From PC:
Code:
- adb shell su -c dmesg > /sdcard/dmesg.log
To get a pstore post-kernel crash:
- Just send the contents of /sys/fs/pstore
Features:
[ TO BE UPDATED ]
[ SEE https://github.com/RaphielGang/android_kernel_oneplus_sm8150/releases/tag/2.0-Ember ]
- Cleanly based over latest CAF tag with minimal OnePlus changes
-- RAM Boost MUST be disabled
- Merged latest LTS subversion tag
- BBR as the default TCP network congestion control
- vDSO 32 patches to improve 32-bit performance
- vmalloc patches backported from mainline
- UFS optimizations
- Latest CFQ I/O scheduler
- Removed VLAs treewide
- Removed RTB logging
- Block userspace from messing with cpufreq completely
- cpu_input_boost driver by kerneltoast to handle cpu boosting
- devfreq_boost driver by kerneltoast to handle devfreq boosting
- Use userspace LMKD alongside PSI
- Use full PELT with sched_boost added ( but all its influences removed )
to satisfy userspace
- kcal support
- wireguard support
- clean up and optimize some OnePlus changes
- Upstream KGSL and qseecom to latest CAF
- Import several optimizations from Pixel 4
- Don't boost cpu/task utilization by default with schedtune.boost
-- This behaviour is only when schedtune.boost is set to 2
-- Tasks are still biased to big cluster by default for top-app
- force some kernel threads to big cluster
Downloads:
- Beta
- Stable
Telegram Channel: Weeb Announcements
Join me in my Café: // Weeb Karamel Café //
Flashing Instructions:
- Simply flash the kernel
Credits and Thanks:
- raphielscape for inspiration and dealing with my extremely stupid questions ( she is my sensei )
- osm0sis for AnyKernel3
- nathanchance, Akhil Narang, MSFJarvis, kdrag0n, celtare21 et al for their help in totally random places :d
- The Linux Foundation, CAF and OnePlus for the code
Sauce: Ketchup and Mayo Mix
Version Information:
Stable Version: 3.1-Flame
Release Date on XDA: 2020-08-01
AAA that's hot,that's hot.
Oh Boiii very nice
Great...
Got my oneplus 7 pro completely freezed when watching videos on fb app..I am on ob8
@idkwhoiam322 - I tried updating from r3 from TG to r10 and ended up in a Qualcomm Crashdump. I flash stock boot. Fastboot booted TWRP, installed TWRP, reboot TWRP, and installed Magisk and r10. I got Crashdump again. I reverted to r3 and all is fine.
ruhul5 said:
Got my oneplus 7 pro completely freezed when watching videos on fb app..I am on ob8
Click to expand...
Click to collapse
If you had to reboot, I need pstore.
docnok63 said:
@idkwhoiam322 - I tried updating from r3 from TG to r10 and ended up in a Qualcomm Crashdump. I flash stock boot. Fastboot booted TWRP, installed TWRP, reboot TWRP, and installed Magisk and r10. I got Crashdump again. I reverted to r3 and all is fine.
Click to expand...
Click to collapse
What device? I've had reports of successful flashes on op7, op7t and op7 pro already hm
Crash dump on OP7Pro ob8, no logs had to flash TWRP and another kernel to get back into system
do we need to flash twrp after kernel or twrp is already backed into kernel ?
thanks for your awesome work
Sent from my OnePlus7Pro using XDA Labs
idkwhoiam322 said:
If you had to reboot, I need pstore.
Click to expand...
Click to collapse
uploaded pstore
Might be able to test the Tanya kernel on my 5G unless someone gets to it first. Should be getting my unlock token later today.
I found v3 and flashed it, it seems to be working very well! No issues. OP7 Pro ob8
Hentai-perf-r10.zip is last version?
Hentai-perf-r10.zip = weed kernel?
https://github.com/idkwhoiam322/weeb_kernel_oneplus_sm8150/releases/tag/1.0-beta2
Should fix boot issues for anyone that had it, plus cleaned up and included some stuff from Jan p4 kernel source.
ryshd296 said:
Hentai-perf-r10.zip is last version?
Hentai-perf-r10.zip = weed kernel?
Click to expand...
Click to collapse
The one above is the latest now.
idkwhoiam322 said:
https://github.com/idkwhoiam322/weeb_kernel_oneplus_sm8150/releases/tag/1.0-beta2
Should fix boot issues for anyone that had it, plus cleaned up and included some stuff from Jan p4 kernel source.
The one above is the latest now.
Click to expand...
Click to collapse
thx!
Weeb Kernel Hentai Edition RC1
Type: BETA
Device: OnePlus 7/T/Pro/5G
Compiler: Proton Clang 10.0.0
Branch: staging
HEAD: 31c5d6963a027
Build Number: v1.0rc1
Changelog:
• I don't give changelogs/feature list before the first release so don't bother asking.
• Add FKM OTA Support
• Use latest anykernel3
Download: GitHub Releases
Thanks to Franco's brilliant work, FKM OTAs are now supported.
In order to add Weeb Kernel OTAs, open the app, head over to the flasher section, "Import a kernel download configuration", and paste this link:
https://raw.githubusercontent.com/i...el_oneplus_sm8150/staging/updater/update.json
Done!
For other devs that are interested in adding support, here's an example of how I did it purely on GitHub alone.
https://github.com/idkwhoiam322/wee...mmit/76d7ec214ebc6d43342d66b427fe94aa2d187cec
Thanks for the great kernel. Are there any plans to support custom ROMs, like havoc/crdroid etc ?
Gesendet von meinem OnePlus 7 Pro mit Tapatalk
idkwhoiam322 said:
Thanks to Franco's brilliant work, FKM OTAs are now supported.
In order to add Weeb Kernel OTAs, open the app, head over to the flasher section, "Import a kernel download configuration", and paste this link:
https://raw.githubusercontent.com/i...el_oneplus_sm8150/staging/updater/update.json
Done!
For other devs that are interested in adding support, here's an example of how I did it purely on GitHub alone.
https://github.com/idkwhoiam322/wee...mmit/76d7ec214ebc6d43342d66b427fe94aa2d187cec
Click to expand...
Click to collapse
I don't see "Import a kernel download configuration" under flasher tab (screen shot attached), any special version of FKM is needed?

[Treble]Ultima Boot Image for NB1 [5/7/21]

{
"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"
}
Ultima Boot Image for Treble enabled NB1.
This is currently working(Tested) only on crDroid,RROS,LOS and HavocOS
Code:
**Disclaimer**
I'm not responsible for any damages done to your phone
What's this?
This is a modified boot image file containing some useful stuff aimed improve your overall experience.
What does this contain?
•OrangeFox Recovery
•Modded Kernel(See Umbrella Mod for more info)
•Magisk(23.0)
What changes are made to the kernel?
•Built using bleeding edge EVA GCC
•Upstreamed Linux Kernel
•Energy Aware Scheduling Added
•SimpleLMK added
•Newer sdFAT
•Undetvolt CPU and GPU for better battery life
•GPU NAP State added
•schedutil CPU governor added
•lzo-rle z-ram compression algorithm added
•Fast charge toggle added
•Wireguard VPN support added
•Stune Boost added
•RTB Disabled
•Unnecessary codes removed
•CRC Toggle added
•Many unnecessary Logging disabled
•TTL changing support added
•qseecom updated
•POPP removed
•Some patches for RNG
•Updated CFQ Binder
•K-cal support added
•Fsync toggle added
•Maple I/O scheduler added
•zstd z-ram compression algorithm added
•Better controller support
How to install?
Recovery Method:
Code:
Keep the file in phone's storage or an External SDCard
Reboot to recovery
Under "Install", Select Install Image
Flash the image on boot partition
Reboot
Fastboot method:
Code:
Reboot phone to fastboot/download mode
Connect it to your PC
Open up ADB/Fastboot tools
Type "fastboot flash:raw boot [Path to the image file]" and hit enter
Type "fastboot reboot" and hit enter
Download link: Treble Ultima Boot Image
In order to get full WiFi speed please flash the updated modem firmware which is attached to this post
Version Information
Status: Stable
Credits:
oaid(For the Umbrella Mod project)
emufan4568(For his awesome work on the custom rom)
THMSP(For making stuff which kept the development going)
topjohnwu(For Magisk)
TeamWin(For TWRP)
Created 2021-2-17
Last Updated 2021-7-5
Reserved
tnx for the help
plz
- twp ver ?
-what does ur kernel have in addition to the kernel?
sadaghiani said:
tnx for the help
plz
- twp ver ?
-what does ur kernel have in addition to the kernel?
Click to expand...
Click to collapse
It has TWRP 3.5.0_10 and the changes to the kernel are written clearly
Thanks again.
A sort of side question... Who knows difference between this kernel and umbrella mod?
cpu min frq fix in 1248mhz . didnt adjust
big & lit cpu
Arashone said:
Thanks again.
A sort of side question... Who knows difference between this kernel and umbrella mod?
Click to expand...
Click to collapse
The Umbrella kernel is basically stock kernel with a few fixes here and there, it's built with GCC. While the Umbrella Mod kernel has many extra features alongside the fixes, it's built using Clang.
OneWayGamer said:
The Umbrella kernel is basically stock kernel with a few fixes here and there, it's built with GCC. While the Umbrella Mod kernel has many extra features alongside the fixes, it's built using Clang.
Click to expand...
Click to collapse
Mentioned kernel, is not umbrella, but a relaunched or renamed version of old GPUCode's kernel. We have four forks here (excluding your one), GPUCode one (stopped), relaunched one, umbrella, and umbrella mod. The question is, what's that relaunched kernel there and what are the differences with umbrella mod...?
Great thanks
Arashone said:
Mentioned kernel, is not umbrella, but a relaunched or renamed version of old GPUCode's kernel. We have four forks here (excluding your one), GPUCode one (stopped), relaunched one, umbrella, and umbrella mod. The question is, what's that relaunched kernel there and what are the differences with umbrella mod...?
Great thanks
Click to expand...
Click to collapse
I was talking about the forked one. The one you linked one is basically the OG Umbrella kernel but with some patches applied for A11. While the Umbrella Mod basically that but with extra features and mods
It's interesting to me that after installing your kernel I can no change the min frq cpu even with other kernels
sadaghiani said:
It's interesting to me that after installing your kernel I can no change the min frq cpu even with other kernels
Click to expand...
Click to collapse
Try using FKM. It's working fine for me
OneWayGamer said:
Try using FKM. It's working fine for me
Click to expand...
Click to collapse
tnx 4 guidance
FK Kernel Manager
EX Kernel Manager
.......................
better 4 setting kernel
Especially the sound settings
Update V2, Changelog:
•Updated Magisk to 22.0
•Upstreamed Linux Kernel to 4.4.258
•Upstreamed Wi-Fi driver to latest CAF tag LA.UM.8.4.1.r1-02900-8x98.0
•Updated Wireguard VPN to 1.0.20210219
Planned Stuffs for next release:
•Fix Wi-Fi Speed
•Building with GCC instead of Clang
How do I install latest twrp after this
FiringSkull said:
How do I install latest twrp after this
Click to expand...
Click to collapse
Just flash the latest TWRP using TWRP(zip installer) or fastboot(img file) or wait for me to update the file
Will you update it?
FiringSkull said:
Will you update it?
Click to expand...
Click to collapse
Yes I will
Great
Update V3, Changelog:
•Upstreamed Linux Kernel to 4.4.262
•Changed Kernel Compiler from Clang 13 to GCC 10.2 (Much more optimized code)
•A lot of under the hood changes and bug fixes (See Umbrella Mod's Commit history)
•Now Comes in 2 variants, to keep things simple:
*FW,BH= Full speed WiFi, Broken Hotspot when using security
*WW,WH= Worse WiFi speed, Working Hotspot when using security
Planned stuffs for next release:
•Fix Both WiFi speed and Hotspot without breaking one of the other(This one's hard)

Development [KERNEL] [blu_spark r148 OP9/Pro] [A13 Custom]

{
"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"
}
Kernel features:
Build with custom upstream LLVM 14.x (Clang 14.0.6 + LLD linker + IAS)
full ThinLTO -O2 build with device and target flags enhanced, build improvements and compiler fixes, etc
Less is more: stockish OP9 builds based on OnePlusOSS/android_kernel_oneplus_sm8350 for max stability
Systemless installer (doesn't touch system/vendor partition, OTA friendly), AnyKernel3 backend (compatible with autoflash apps)
Removed some debug and logging options
ARM enhanced performance and battery patches
CVE security patches, general upstream and CAF fixes for important subsystems
Modded schedutil governor merged from latest CAF sm8350 patchset
No OC, use 250HZ base timer frequency
msm_performance touchboost toggle on/off (enabled by default), tweaked cpu_boost driver
Enhanced TCP methods (westwood is default, BBR available), Network tweaks and updated drivers
Several I/O control tweaks, advanced filesystems enabled (F2FS, ExFAT, NTFS, CIFS & NFS)
ZRAM Swap (4GB LZ4 default) and with file disabled (2 GB storage gain), LZO-RLE and ZSTD are available
Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
KGSL fixes and general improvements for GPU driver
adrenoboost ready (disabled by default)
Backlight min brightness and brightness scaling (custom) option
Gamepad support enabled (xbox, ps4, switch)
USB2 Fast Charge (USB mode up to 900mA with MTP on)
FS fsync toggle on/off
Wakelock blockers available
wireguard support
Compatible with Kernel Flasher, EXKM, FKM , Kernel Adiutor and others
DOWNLOAD KERNEL ZIP
Kernel Flasher/FKM download configs: oos | custom
(No mirrors please)​
Setup and troubleshoot: To install just flash the zip on a stock setup with either TWRP or autoflash kernel app.
If you come from other kernel or have any issues, you should restore your stock boot.img/vendor_boot.img or dirty flash your ROM before flashing blu_spark zip to avoid problems. Also uninstall or clean data of any kernel control app you're using.
If you are upgrading between blu_spark versions, just flash the kernel zip.
About bugs and reports: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock OOS ROM with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with added modules, etc.
If you're using custom ROMs (including stock based ones) and OOS Open Betas you're much on your own. I'm mostly interested on debugging stuff in stock and stable OOS.
Also try not to spam the thread with OT. There's threads for all kind of stuff, use them.
Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img/vendor_boot.img with TWRP or kernel app before flashing blu_spark if you want to go back to full stock or just dirty flash your full ROM.
Source Code: https://github.com/engstk/op9
Don't forget to hit thanks, it's free
OnePlus 9 Pro development unit donated by OnePlus. Big shouts to them
Very proud for being on the OnePlus Developer Program, special thanks to dev relations team.
blu_spark_r23 release
First blu_spark build for the OP9 series is up
This kernel is tested for the 9 Pro but it's unified, so should work for the OP9 also (need some fixes since code is broken). So backup you boot if you want to test and let me know
Kernel already have some merged goodies and I think I have a good base to work with. For a couple days of work, it's not bad
I'll take a look into more stuff to come, some things in OP are WIP. Stay tuned!
You can use FKM download kernel feature, just import the links bellow in the app.
FKM download configs: oos
Changelog:
Build with Google Clang 12.0.5 + LLD linker
Synchronize codes for OnePlus 9/Pro Oxygen 11.2.6.6.LE25AA
Several build error fixes and quirks handled
Compilation improvements an cruf removed
Some goodies already merged like filesystem stuff, cpu governor & boost/msm perf, TCP algos, wakelock blocker, vibration and haptic feedback control, gpu adrenoboost, etc
All drivers builtin, wifi stack and datarmmnet merged from CAF
net/wireguard: merge v1.0.20210424
Click to expand...
Click to collapse
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
I am mostly interested on debugging stuff in stock stable OOS (with logs and reproducible steps to replicate the issue).
No mirrors please
Don't forget to hit thanks, it's free
Thanks for the kernel, don't suppose you are still doing TWRP builds?
"Less is more: stockish OP8 builds based on OnePlusOSS/android_kernel_oneplus_sm8350 for max stability"
Click to expand...
Click to collapse
Copy paste. or you use the OP8 kernel tree ?
Yay, bluespark is here
Mar-cel said:
Copy paste. or you use the OP8 kernel tree ?
Click to expand...
Click to collapse
Fixed ;p
djsubterrain said:
Thanks for the kernel, don't suppose you are still doing TWRP builds?
Click to expand...
Click to collapse
I don't have the need for TWRP since autoflash apps, so no ;p
FKM Flasher config linked to OP8 series...
dijia1124 said:
FKM Flasher config linked to OP8 series...
Click to expand...
Click to collapse
Changed the one in OP but forgot the one in the release post xD
Just flashed and going to test on stock settings for the next 2 days! Thanks for this I ran your kernel on the 7t pro!
@eng.stk I think the kernel has the same issue as Omega had, wireless charging seems to stop at 95%
Dumped out some logs if it will help
EDIT : OK, Apparently I'm talking crap, just seemed to be charging slowly but did get to 100%
Does anyone have stock kernel?
netgar said:
Does anyone have stock kernel?
Click to expand...
Click to collapse
If you need to revert to stock, extract and flash it from the OTA update in the pinned thread (follow LineageOS's instructions on how to do that), or just flash the magisk patched one in that pinned thread.
netgar said:
Does anyone have stock kernel?
Click to expand...
Click to collapse
flash the stock boot.img of the version and region you are on.
must root ?
brmbjn said:
must root ?
Click to expand...
Click to collapse
yes
brmbjn said:
must root ?
Click to expand...
Click to collapse
I inject some runtime changes via Magisk systemless, so to get full stuff you need root.
Got some laggy sound with YouTube vanced off screen playing background music/ video. Attached log for info. Never happen with stock and omega kernel b4. Thanks
Flasher8 said:
Got some laggy sound with YouTube vanced off screen playing background music/ video. Attached log for info. Never happen with stock and omega kernel b4. Thanks
Click to expand...
Click to collapse
Can't replicate in any of my music or video apps
Charging is bit slow compared to stock or omega versions

Categories

Resources