Weeb Kernel OP7/T/Pro

idkwhoiam322

Senior Member
Apr 19, 2015
578
1,332
0
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
 
Last edited:

docnok63

Senior Member
Nov 22, 2012
2,145
2,553
203
Memphis, TN
@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.
 

idkwhoiam322

Senior Member
Apr 19, 2015
578
1,332
0
@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.
What device? I've had reports of successful flashes on op7, op7t and op7 pro already hm
 

ahmed.ismael

Senior Member
Oct 14, 2015
2,439
1,250
183
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
 
Last edited:

idkwhoiam322

Senior Member
Apr 19, 2015
578
1,332
0
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
 
  • Like
Reactions: michelemascia7

idkwhoiam322

Senior Member
Apr 19, 2015
578
1,332
0

spawnn617

Senior Member
Jan 16, 2017
80
10
8
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
I don't see "Import a kernel download configuration" under flasher tab (screen shot attached), any special version of FKM is needed?
 

Attachments