vers-2071 / stanford_kernel_modemhw_patch

Patch for STF-L09 devices to get custom kernels working on new EMUI-based version

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Honor 9 Custom Kernel Support Patch

What is this module?

Since September and October EMUI' regularly irregular patches, Huawei/Honor seems to have started to modify the MODEM_HW partition. This has as consequence to make custom kernels unable to work on the latest firmware. The major issue is the lack of incoming and outgoing calls on our devices.

Fortunately, a fix exists! Thanks to catuva21 and his marvelous work on their Morfuz kernel for hi6250, we can elaborate a patch by replacing the contents of the new partition with the old one.

To cook this module and get it working, I've taken the original partition from B368 firmware, which is the latest recommended for Proto8, the only fully-functional kernel on our beloved device.

How to install ?

Simply install this module from Magisk and reboot. It should work either on TWRP or other based-recovery (like 7to.cn one). Magisk v18+ is supported.

A user has reported that the module should be installed "from the root Magisk option" on another xda thread.

Changelog

  • v1.0
    • Initial release

Troubleshooting

  • If the module doesn't work, don't hesitate to pm me on xda! I'll help you as much as I can ;)
  • Have you found an improvement? Don't hesitate to do a pull request to this repo!

About my personnal experience.. Basically, I'm on Pie phh-based GSI (not OpenKirin) using Proto8 kernel with this module (obviously..) and LKT as governor. All of this stuff is based on EMUI' B377 (with November security vendor patch) on a C432 firmware. No particular problem occurs, except rom-side ones.

Licensing

This module is officially licensed under GPL 3. But honestly, I don't care, use it as you want lol.

Credits

Huge thanks to :

  • topjohnwu for his amazing work on Magisk
  • phhusson for his job on treble-side
  • JBolho for his kernel for Stanford devices
  • catuva21 from the basis module he made to hi6250 devices on his xda thread

"EMUI" and any associated marks are registered trademarks owned by Huawei Technologies Co. Ltd.

"Honor" and any associated marks are registered trademarks owned by Huawei Technologies Co. Ltd.

About

Patch for STF-L09 devices to get custom kernels working on new EMUI-based version

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%