[KERNEL]Mate 10 Stock - SElinux - External 802.11 adapter support - Huawei Mate 10 Guides, News, & Discussion

Hi,
I used https://forum.xda-developers.com/mate-10/development/kernel-mate-10-mate-10-pro-stock-t3744501 from ante0 to make this kernel.
I added support for external wifi adapters (TL-WN722N works perfectly with Kali chroot'ed and linux deploy)
My only concern is that the battery life is not as good because of several kernel wakelocks
You will find here the image.gz as well as 2 already packed kernels for august patch and october patch

Related

[KERNEL][Hyper Hydrogen/Helium V2.0][Beta[CM]

I am not responsible for bricked devices, dead SD cards, explosions, nuclear wars, alarm applications getting failed, Please read the first posts carefully before deciding to flash this kernel.
This is the first custom kernel for mi max, this kernel will focus on quality over quantity, I will add only those features which don't cause instability and really improve performance or battery life of our device.
Thanks to all the kernel developers for many ideas, references and features, special thanks to karthick mostwanted, special thanks to Xiaomi for providing kernel source code of this great device.
Included Kernel Features-
Cpu Improvements:-
powersuspend driver
Darkness governers
Elemental x governor
Clusterplug hotplug
IO Improvements -
CRC32 hw accelarated module
exFAT filesystems support
more to be added
Confirmed working or not working on -
All cm based Roms compiled from source
Working on miui 8 and ported rrx with WiFi bug
Hyper Downloads -
Hyper Kernel Builds[/SIZE]
Donation Are Welcomed From Your Side
Drop A Personal Message For PayPal I'd
XDA:DevDB Information
Hyper Kernel For Mi Max, Kernel for the Xiaomi Mi Max
Contributors
chaubeyprateek, karthick mostwanted
Source Code: https://github.com/chaubeyprateek/android_kernel_xiaomi_hydrogen/
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 2
Created 2016-11-14
Last Updated 2016-11-16
Flashing Instructions
Download correct version of Hyper kernel
Make backup of system, boot in twrp
Flash the kernel zip and reboot
In case the kernel doesn't boot, you can restore your system and boot partition from twrp and you will not lose any data.
I am currently using CM13 with prebuild stock miui kernel and have no problems with exFAT formated ext. sdcard. So stock miui kernel suports exFAT.
If you have added it in your build it means Xiaomi did not release kernel source with exFAT support. Is that right?
Thanks for your kernel
Please add KCal support to your kernel
Sent from my MI Max using Tapatalk
wifi cannot be enabled after flash this kernel. anyone facing this issue?
nijel8 said:
I am currently using CM13 with prebuild stock miui kernel and have no problems with exFAT formated ext. sdcard. So stock miui kernel suports exFAT.
If you have added it in your build it means Xiaomi did not release kernel source with exFAT support. Is that right?
Click to expand...
Click to collapse
Yup I have added exFat support
Good going @chaubeyprateek Nice work. Keep it up.
rhazes305 said:
wifi cannot be enabled after flash this kernel. anyone facing this issue?
Click to expand...
Click to collapse
hes_luckey said:
Thanks for your kernel
Please add KCal support to your kernel
Sent from my MI Max using Tapatalk
Click to expand...
Click to collapse
WiFi Working cool on new build and also kcal support added so grab the zip and enjoy and post some reviews
Rom: RR source build
Kernel: hyper kernel latest build
Kernel auditor settings: ondemand
Review: working flawlessly without any lags
Wifi: working
Volte: working
Blueltooth: working
Quickboot: dint find any differnece may b working
Rest all working
Nice work man ...smoothness is overloded... KCL working nice ... Thumb up bro
sandeep0048 said:
Rom: RR source build
Kernel: hyper kernel latest build
Kernel auditor settings: ondemand
Review: working flawlessly without any lags
Wifi: working
Volte: working
Blueltooth: working
Quickboot: dint find any differnece may b working
Rest all working
Click to expand...
Click to collapse
Please clarify does this supports VOLTE in RR CM13 build without any app? direct VOLTE calling?
mush2004 said:
Please clarify does this supports VOLTE in RR CM13 build without any app? direct VOLTE calling?
Click to expand...
Click to collapse
Volte is rom specific bro just flash latest rr build and thus kernel
mush2004 said:
Please clarify does this supports VOLTE in RR CM13 build without any app? direct VOLTE calling?
Click to expand...
Click to collapse
Yup direct calling
chaubeyprateek said:
Yup direct calling
Click to expand...
Click to collapse
Thanks a LOT!!!!!hats off
Installed on RR 20160930 and wifi won't turn on
Thanks for new kernel!
Could you please clarify, what the difference between
Hyper-v1-2016-11-13-1848-UBUB.zip
Hyper-v1-2016-11-14-0729-UB.zip
?
hes_luckey said:
Installed on RR 20160930 and wifi won't turn on
Click to expand...
Click to collapse
eseregin said:
Thanks for new kernel!
Could you please clarify, what the difference between
Hyper-v1-2016-11-13-1848-UBUB.zip
Hyper-v1-2016-11-14-0729-UB.zip
?
Click to expand...
Click to collapse
Use rr built from source
See the date
UB means uber
can anyone help me with Kcal App for Mi max latest
mush2004 said:
Thanks a LOT!!!!!hats off
Click to expand...
Click to collapse
tried this with [VoLTE][[6.0.1][6.0.1_r74]ResurrectionRemix-M-v5.7.4 however still VOLTE direct call does not work. Also i saw lags in this rom with this kernel please help.
Update
Features:-
->Compiled With UberTc
->Kcal support added
->New Sound Control Added to increase sound in both speaker and headphones(use headphones to get the fell)
->Implemented fast charge (seems not working)
->Latest iteration of CPU boost
->Fiops ioscheduler core
And Many More Which I Forgot
Link:-https://androidfilehost.com/?fid=457095661767115501
Don't get confused with UBUB it's just UBER
What You Can Except Next:-
->some hotplugs
->governors
And Many More so stay tuned and support my work

LG H870 nougat 7.1 Nethunter kernel

I present to you the Nethunter custom kernel of lg G6 H870 running nougat, you can run hid attack and monitor mode on external Wi-Fi adapter.
androidfilehost link:
https://androidfilehost.com/?fid=4349826312261681259
Hi
Could you update the kernel for android 9 support?
Or is it possible to modify so it will work with custom ROMs with LineageOS or others?
I dont know how difficult it is so apologize for mentioning more of them.
Thanks for answer
It would be nice to adapt this Nethunter kernel to newer versions of Android ))

[KERNEL]Handelinkernel for OnePlus 8T v3.1 [OOS][11][OP8T][Wireguard]

Introducing Handelinkernel for OnePlus 8T!
My goal was to have a pretty close to stock kernel with only minor optimizations (like reduce logging) and only wireguard support.
I made the kernel pretty much for myself but feel free to download it since I decided to share it with you guys.
Its a kernel without any bling bling or fuss. Just like OnePlus meant it for you.
My time is very limited so my support here for kernel might be delayed.
Kernel features:
CAF wifi driver (broken wifi in oneplus kernel tree)
Latest wireguard
Removed excessive debugging by default to save cpu cycles
Boeffla Wakelock Blocker v1.1.0 with flar2 mods to not block anything by default
Magisk v25 in magisk version (may work with previous 23)
ZEN i/o scheduler
ExFAT support
CIFS support
Changelog:
v3.1
Merged with OnePlus updates
Magisk v25 in magisk version
v3.0
Magisk updated to v24.1
Boeffla Wakelock blocker tunings (thanks to engstk and Denis Efremov!)
v2.6
Wireguard: crypto: curve25519-x86_64: use in/out register constraints more precisely
Merged latest OnePlus kernel updates: Synchronize codes for OnePlus 8T Oxygen OS 11.0.12.12.KB05AA and OnePlus 8 Oxygen OS 11.0.9.9.IN21AA and OnePlus 8 Pro Oxygen OS 11.0.9.9.IN11AA 1.Optimize charge experience. 2.Optimize performance experience.
v2.5
Wireguard updated to v1.0.20211208
ZRAM improvements
LZ4 improvements
Building environment changes
v2.3
Latest OnePlus kernel updates merged
Wireguard updated to v1.0.20210606
v2.2
Stabilized build
Defconfig sanity check
Disabled serial logging (Google tells OEMs explicitly to not enable this for production, but OnePlus is gonna OnePlus.)
Sources and build: Removed rebasing and went back to committing on top of oneplus tree.
v2.1
Reduced even more debug and logging
Compiled more techpacks: audio, data
LZO/LZ4 cryptos updated, LZ4 as zram default
ZSTD crypto added
Optimizations
v2.0
Complete redesign of kernel build and commits
Latest OnePlus kernel updates
Latest wireguard updated
ExFAT support added
CIFS support added
ZEN i/o scheduler support added (not on by default)
Removed audit from kernel
Reduced more kernel debugging
Magisk updated to 23.0 in magisk version of kernel
v1.2
Reduced more kernel debugging (especially with camera)
Stabilized release
v1.1
Force USB-fast charge with all chargers
Lesser haptic feedback
Kernel localversion now indicates handelinkernel
v0.9
Code reorganizing
Prepare for stable release
Wireguard: full commit stack update from upstream
v0.3
Removed excessive debugging
Little optimizations
Built with clang 12.0.2
v0.2
Reverted wireguard
UPSTREAM: cryptos
UPSTREAM: wireguard
v0.1
Initial version
Boots up with QCACLD 3.0 WIFI
Wireguard support
!! Only for OnePlus 8T / OxygenOS / Android 11 !!
(May support OnePlus 8 and 8 pro but never tested.)
Flashing:
Flash like any other kernel image (boot.img) with FKM etc. kernel software or with fastboot.
Download:
https://cloud.drg.fi/s/Pb6WTiqiodKQ8wR
Source:
https://git.drg.fi/drgreen/android_kernel_oneplus_sm8250
Thanks
To all great kernel devs @ github who made this possible!
Reserved.
Welcome and thank you for being willing to share your work with us.
I have two questions.
- 1. if i flash the kernal, am i allowed to update magisk? (I took the kernal "handelinkernel_v12_magisk.img") or after the magisk update I have my normal kernal again?
- 2. can you explain to me what the Wireguard support is about? How can I use Wireguard afterwards?
Ramme said:
Welcome and thank you for being willing to share your work with us.
I have two questions.
- 1. if i flash the kernal, am i allowed to update magisk? (I took the kernal "handelinkernel_v12_magisk.img") or after the magisk update I have my normal kernal again?
- 2. can you explain to me what the Wireguard support is about? How can I use Wireguard afterwards?
Click to expand...
Click to collapse
Thanks!
1. If you flash magisk version you dont need to install magisk anymore, its included in the kernel. No magisk version is pure kernel without magisk.
2. Wireguard is very lightweight but also very strong modern VPN service. Its included in the kernel because then we can run those tunnels within kernel space rather than normal VPN tunnels in user space. It saves battery a LOT.
You can find more information about wireguard from their official website.
tohtorin said:
Thanks!
1. If you flash magisk version you dont need to install magisk anymore, its included in the kernel. No magisk version is pure kernel without magisk.
2. Wireguard is very lightweight but also very strong modern VPN service. Its included in the kernel because then we can run those tunnels within kernel space rather than normal VPN tunnels in user space. It saves battery a LOT.
You can find more information about wireguard from their official website.
Click to expand...
Click to collapse
Does it work with the latest version 11.7.9 global update ?
anooragv said:
Does it work with the latest version 11.7.9 global update ?
Click to expand...
Click to collapse
Yes it does. Oneplus did not change kernel in the update.
Anyone try this kernel with LineageOS 18.1?
I have flashed the Magisk variant, unfortunately Wireguard VPN does not work. I tested bluspark and other Kernal, there is no problem to use Wireguard VPN.
To the nonmagik variant I can not say anything, this I have not tested.
Got the boot from OB1 & OB2, both of them work with latest official OTA but the start is slower than the official OTA Boot.
I am sure in the Beta boot One+ has added plenty of logs to track stuff.
Are you able to look at this and maybe remove all the craps out of them.
I have posted OB1 boot / magisked and OB2 boot/ magisked.
Otherwise those OB boot seem very responsive and make a very good feeling !
boot_OB1.img and 3 more files
4 files sent via WeTransfer, the simplest way to send your files around the world
we.tl
@tohtorin
Steve0007 said:
Got the boot from OB1 & OB2, both of them work with latest official OTA but the start is slower than the official OTA Boot.
I am sure in the Beta boot One+ has added plenty of logs to track stuff.
Are you able to look at this and maybe remove all the craps out of them.
I have posted OB1 boot / magisked and OB2 boot/ magisked.
Otherwise those OB boot seem very responsive and make a very good feeling !
boot_OB1.img and 3 more files
4 files sent via WeTransfer, the simplest way to send your files around the world
we.tl
@tohtorin
Click to expand...
Click to collapse
Weird. OnePlus has not changed the kernel for a long time for OP8T. So latest OTA kernel is exact same kernel than previous ones.
Should I try to boot your images?
Ramme said:
I have flashed the Magisk variant, unfortunately Wireguard VPN does not work. I tested bluspark and other Kernal, there is no problem to use Wireguard VPN.
To the nonmagik variant I can not say anything, this I have not tested.
Click to expand...
Click to collapse
Can you please provide me your kernel dmesg logs? What does wireguard client say? Are you using wireguard kernel space driver?
tohtorin said:
Yes it does. Oneplus did not change kernel in the update.
Click to expand...
Click to collapse
Thank you for the kernel. I was hoping someone would build a stock kernel with minor enhancements. Do you know if the kernel changed in the latest Global 11.0.8.11.KB05AA build? Trying not to have another reboot party like I just did with Clean Kernel. Lol
jal3223 said:
Thank you for the kernel. I was hoping someone would build a stock kernel with minor enhancements. Do you know if the kernel changed in the latest Global 11.0.8.11.KB05AA build? Trying not to have another reboot party like I just did with Clean Kernel. Lol
Click to expand...
Click to collapse
There are no changes yet, I just updated my phone this morning and reinstalled the same kernel I was using before without issue.
Version 2.0 released!
Changelog:
Complete redesign of kernel build and commits
Latest OnePlus kernel updates
Latest wireguard updated
ExFAT support added
CIFS support added
ZEN i/o scheduler support added (not on by default)
Removed audit from kernel
Reduced more kernel debugging
Magisk updated to 23.0 in magisk version of kernel
Download:
Release Handelinkernel for OnePlus 8T v2.0 ยท drgreenth/android_kernel_oneplus_sm8250
Introducing Handelinkernel for OnePlus 8T! My goal was to have a pretty close to stock kernel with only minor optimizations (like reduce logging) and only wireguard support. I made the kernel prett...
github.com
Flashing:
Flash like any other kernel image (boot.img) with FKM etc. kernel software or with fastboot.
Version 2.1 released!
Changelog:
Reduced even more debug and logging
Compiled more techpacks: audio, data
LZO/LZ4 cryptos updated, LZ4 as zram default
ZSTD crypto added
Optimizations
Download:
https://github.com/drgreenth/android_kernel_oneplus_sm8250/releases/tag/v2.1
Flashing:
Flash like any other kernel image (boot.img) with FKM etc. kernel software or with fastboot.
Added download mirror:
https://cloud.drg.fi/s/Pb6WTiqiodKQ8wR
Latest OOS beta friendly?
hkjr said:
Latest OOS beta friendly?
Click to expand...
Click to collapse
Works with all oxygenos 11 versions. All latest oneplus updates included in the kernel.
Sorry but one more stablized release.
Version 2.2 released!
Changelog:
Stabilized build
Defconfig sanity check
Disabled serial logging (Google tells OEMs explicitly to not enable this for production, but OnePlus is gonna OnePlus.)
Sources and build: Removed rebasing and went back to committing on top of oneplus tree.
Download:
https://github.com/drgreenth/android_kernel_oneplus_sm8250/releases/tag/v2.2
Mirror:
https://cloud.drg.fi/s/Pb6WTiqiodKQ8wR
Flashing:
Flash like any other kernel image (boot.img) with FKM etc. kernel software or with fastboot.
Flash magisk version with fastboot, all works fine on Aicp rom

Development [Kernel][5.4.144] WETA Kernel R5.19 (snapdragon) G998 [p3q]

WETA Kernel SM-G998U/U1/0 Snapdragon only
*** This will only work on Snapdragon devices with an unlocked bootloader..
SM-G998U/U1 - SM-G9980
Telegram thread at bottom of this post
See post #2 for install steps
Changelog...
R5.02
Telegram thread merged into N20.S20 group, check new links.
Upstreamed to 5.4.127
all modules now inlined, no need for magisk helper module.
added wireguard
Power usage tweaks
More
R4.04
Upstreamed to 5.4.123
R4.03
Upstreamed to 5.4.122
R4.02
Upstreamed to 5.4.121
R4.01
Upstreamed to 5.4.120
R4
Testing phase complete
Upstreamed to 5.4.119
R3
Rebased off UAG source code
R2
Upstreamed to 5.4.118
Fixed Torch/Flash
R1
built using CU8 kernel source
Upstreamed to 5.4.117
Fully permissive
KNOX disabled
Wireguard
Misc debugging disabled
Kernel Downloads
Telegram thread
--------------------->
Beer fund
XDA:DevDB Information
Kernel for the Samsung Galaxy S21 Ultra
Contributors
Mentalmuso, mentalmuso
Source Code: - Kernel Source
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R1
Created 2021-05-10
Last Updated 2020-05-10
*** Be aware, there may be a need to wipe data if you desire to go back to stock kernel, my suggestion is to backup your stock BOOT partition and DATA before flashing. This way you can return to your original setup easily. It is unknown at this stage what data is causing an issue going back to stock. If you find it, be sure to share.
* You must have bootloader unlocked and rooted your device with Magisk before flashing this kernel. Magisk is essential for camera and wacom.
* Boot times are approx 60-75sec at the moment, itll sit on the yellow triangle splash for approx 60sec and the bootanimation for 5sec.
* When flashing this kernel, an AnyKernel helper module is installed. This is a Magisk Module that is essential for the operation of Camera and Wacom. Removal of this module while running this kernel will break camera and spen.
* Kernel zip labels have either a P or E in them, P=Fully Permissive, E=Enforcing (switchable)
To install
download and flash the kernel installer zip in TWRP or any custom recovery
--->
mine 2
Amazing to see some development, i thought this phone thread was gonna be dev dead
I am a little surprised myself.
Status update
I have found a couple of bugs I'm working on, #1 camera module only loads on permissive version of kernel, #2 the flash doesn't work, #3 random reboots maybe 4-5 times a day.
Working on having a stable R2 this week.
Edit: so it seems the hourly bootloop happens on stock kernel for me also. So it isn't an issue with this kernel. Though I do need to fix the flash
WETA Kernel R2
Upstreamed to 5.4.118
Fixed Torch/Flash
--->
WETA Kernel R3
Starting from scratch with different source code. It seemed there were problems booting for most. The new test kernels have been successful.
This is a basic start, with the intention of upstreaming and testing along the way.
--->
WETA Kernel R4
Upstreamed to 5.4.119
* Testing was successful with the different source code kernel
* Remember you MUST have magisk installed Pryor to flashing this kernel, this kernel needs it's ak3-helper magisk module for camera operation.
--->
I have used your Kernels in the past for other devices, really loved them. Was wondering if you plan to make a custom kernel for the s21 ultra Exynos in the future ?
Excuse my ignorance but please elaborate on "knox disabled"? I have unlocked bootloader/magisk and knox is already disabled as far as I know. Would this mod to the kernel allow me to use knox locked features that have been lost, eg biometric security for some apps? Thank you for your work, look forward to trying it out
dsdavis6 said:
Excuse my ignorance but please elaborate on "knox disabled"? I have unlocked bootloader/magisk and knox is already disabled as far as I know. Would this mod to the kernel allow me to use knox locked features that have been lost, eg biometric security for some apps? Thank you for your work, look forward to trying it out
Click to expand...
Click to collapse
Kernel based Knox ncm is disabled, it has nothing to do with your "Knox fuse" which is blown when your bootloader is unlocked.
paul_cherma said:
I have used your Kernels in the past for other devices, really loved them. Was wondering if you plan to make a custom kernel for the s21 ultra Exynos in the future ?
Click to expand...
Click to collapse
I don't plan on building anything for devices I don't hold in my hand. Reliable testing is hard otherwise
WETA Kernel 4.02
Upstreamed to 5.4.121
--->
Just a note regarding boot times, I can achieve a 35sec boot time, though in doing so it breaks double tap to wake, and fingerprints. I won't release a version with those broken items.
WETA Kernel 4.03
Upstreamed to 5.4.122
--->
WETA Kernel 4.04
Upstreamed to 5.4.123
--->

Kali Nethunter external wifi adapter Alfa problem

I downloaded and installed Kali Nethunter in Samsung Galaxy Note 4 SM-N910C (trelltex, my firmware is Lineage 17.1, I have a kernel (Linux kali 3.10.9+ #1 SMP PREEMPT Tue Jun 29 01:40:50 pdt 2021 armv7l), everything works just fine, but Kali Nethunter does not see my external Wifi adapter Alfa (AWUS036NHA) , chipset (AR9271).I almost tried everything, I could not find the answer, the atheros drivers are installed and the ath9k-htc. Hello, I downloaded and installed Kali Nethunter in Samsung Galaxy Note 4, my firmware is Lineage 17.1, I have a kernel (), everything works just fine, but Kali Nethunter does not see my external Wifi adapter (). I almost tried everything, I could not find the answer, the ateros drivers are installed and there is atn9k .ROOT have, put by the magisk. I connect via OTG, I changed everything the same. Please help me to fight this. Thanks.

Categories

Resources