Escaping Huawei/Honor PC Manager

Background

Honor PC Manager—essentially the Honor-flavored sibling of Huawei PC Manager—is far heavier than it needs to be.

For my use case, the features I actually care about are basically:

  1. Battery charge limit
  2. Touchpad force sensitivity
  3. Automatic driver updates

The third one is tolerable because drivers can always be downloaded manually from the vendor website.

The first two, however, are extremely simple settings.

In a less enlightened universe, they might have been implemented as two or three tiny utilities that read or write a few hardware values.

But then the legendary Huawei/Honor engineering wisdom arrived.

Instead, we get a large background service that sits in memory all day, accompanied by a complicated plugin system and IPC infrastructure—all so it can eventually read or write a couple of values to the hardware.

A truly enterprise-grade solution to a problem that could almost fit inside a shell script.

The Lightweight Solution

Fortunately, we have greate reverse engineers.

And now we also have AI, which makes exploring undocumented hardware interfaces considerably easier.

For the features I need, there are much simpler alternatives.

These tools were tested on my Magicbook Pro 16 2026, and will probably work on multiple Huawei/Honor laptops. At this level, there is little technical reason to deliberately break compatibility between models for such simple operations.

Of course, one should never underestimate unknown Huawei engineering wisdom.

1. ​All in one

GitHub - Wintego/Honor-PC-Helper: Open-source alternative to HONOR PC Manager: tray app for MagicBook hardware - charge limit, keyboard backlight, performance mode, touchpad haptics and edge gestures - plus driver/BIOS updates from HONOR catalogs. Portable exe, no telemetry.
Open-source alternative to HONOR PC Manager: tray app for MagicBook hardware - charge limit, keyboard backlight, performance mode, touchpad haptics and edge gestures - plus driver/BIOS updates from…

2. Battery Charge Limit

A small Windows CLI tool for configuring the battery charging thresholds:

GitHub - AceDroidX/HuaweiBatteryControl: 华为笔记本充电控制 Control charge threshold for Huawei laptop in Windows.
华为笔记本充电控制 Control charge threshold for Huawei laptop in Windows. - AceDroidX/HuaweiBatteryControl

This lets you control the charge limits without keeping PC Manager running permanently in the background.

3. Touchpad Force Sensitivity

A Windows CLI tool for configuring Goodix Newton touchpad force sensitivity:

GitHub - edimetia3d/GoodixNewtonTouchpad: A windows util to set sensitive level of the goodix newton touchpad
A windows util to set sensitive level of the goodix newton touchpad - edimetia3d/GoodixNewtonTouchpad

Again, no giant management suite is required just to change one hardware parameter.

Technical Notes

From what I have found, PC Manager mainly communicates with the laptop hardware through two mechanisms.

1. Raw HID Communication

Some devices are controlled through raw HID operations—the Windows equivalent of working with hidraw devices on Linux.

The touchpad configuration appears to use this mechanism.

In other words, PC Manager sends relatively small HID commands to the device to read or change its configuration.

2. WMI Communication

Other features are exposed through WMI.

Examples include:

  • Keyboard backlight settings
  • Battery charging thresholds

These operations ultimately appear to modify values handled by the laptop's Embedded Controller (EC).

So behind the impressive PC Manager architecture, some features eventually reduce to something approximately equivalent to:

write value X to hardware field Y

The journey to get there is simply much more adventurous.

Useful Reverse-Engineering Projects

If you want to implement additional Huawei/Honor laptop features, these projects are useful references:

Huawei WMI

https://github.com/aymanbagabas/Huawei-WMI

Linux support and reverse engineering for Huawei laptop WMI interfaces.

Linux on HONOR MagicBook 14 Pro 2026

https://github.com/rs0x29a/Linux-on-HONOR-MagicBook-14-Pro-2026-AI_ZQC-P_M1010

Contains useful information about running Linux on newer Honor hardware and interacting with the platform.

HonorControl

https://github.com/ZachAR3/HonorControl

Another project implementing controls for Honor laptop hardware.

These repositories are also good material to give to an AI coding agent when investigating additional features.

Instead of reverse-engineering everything from zero, the agent can inspect the existing implementations, compare WMI methods, HID reports, ACPI behavior, and EC access patterns, and then build a small dedicated utility for the feature you actually need.

A surprisingly civilized use of AI: removing unnecessary vendor software.

EC Notes: MagicBook Pro 16

For the MagicBook Pro 16 model I tested, I found the following EC fields:

EC AddressMeaning
0x80Battery charge lower bound
0x81Battery charge upper bound
0x42Keyboard backlight duration, low 8 bits
0x43Keyboard backlight duration, high 8 bits

The keyboard backlight duration therefore appears to be stored as a 16-bit value across 0x42 and 0x43.

These values are hardware/model-specific observations, so they should not be assumed to be identical on every Huawei or Honor laptop.

Read more

内存心智模型

若忽略 Cache 的存在: * 从 Guest 的视角来看,Guest 负责发出 Request(Load/Store 指令),Memory Controller 则在数据 Ready 时通知 Guest。 - Request 通常不会立即得到响应。Memory Controller 会先对请求进行合并,再统一处理。 - Memory Controller 会向物理内存发起 ACTIVATE / READ / WRITE 等操作。每次硬件数据传输都对应某个 Bank 中的 Row。Memory Controller 需要先执行 ACTIVATE,才能进行 READ / WRITE,而 ACTIVATE 通常非常耗时。 * 硬件的单次 READ / WRITE

By Edimetia3D

The Building Blocks of Transformers

Transformer(Attention Is All You Need)最初作为翻译模型出现,并极大地影响了后续深度学习(DL)领域的研究热点。 相比传统的 RNN,Transformer 具有以下特点: 1. 消除了时间维度上的顺序计算依赖:在训练阶段及推理的 Prefill 阶段,不需要沿时间维度依次处理输入中的每个时间点。一方面避免了计算的顺序依赖,另一方面减少了动态控制流,从而极大地提升了计算效率。 1. 计算结构简单:Transformer 使用的基本计算单元非常简单,几乎只有 GEMM、+ - * / 和 Softmax,单个Block内没有复杂的计算流程,整体架构是对基础Block的不断重复,因此,原论文的作者将其称为一个“简单”的模型。 本文不关注训练、推理等 LLM 相关业务,而是重点介绍 Transformer 中典型的基本计算单元,包括它们的逻辑功能与计算方法。 为了简化内容,本文仅关注现代 LLM(2023

By Edimetia3D

Coroutine

从一般概念上说, 协程是特殊的函数调用: 被调用的函数可以在可控的位置被中断,然后在下一次调用时,继续从上次中断的位置继续执行。 本文主要通过Python的协程来介绍协程, 这是我唯一熟悉的一种协程实现. Classic Coroutine 下面的python代码很好的说明了协程的核心功能 def co_routine(): recv0 = yield 996 # hangs here after first coro.send assert recv0 == "Second" yield 711 # hangs here after second coro.send return def main(): coro = co_routine() # Create a new coroutine object value = coro.send(None)

By Edimetia3D

GDB with Python

这篇文章的主要应用场景是调试Python的C/C++ Extension 1. 同时使用pdb / gdb 进行调试. 通俗点说, 既可以break在 .py 文件中,也可以break在 .cc 文件中 2. 在gdb中不但可以获得常规的调试信息, 还可以获得python VM 的调试信息, 例如获得python的调用栈, 访问Python局部变量等. 这将会在调试exception时(如Segmentfalut)非常有用, 这种场景下, 定位 Python VM 正运行到哪一行代码往往可以提供一些直观的重要信息. 第一步: 编译源码以获得一些辅助数据. 我们并不真的需要使用从源码编译的Python, 但是一些调试相关的辅助文件需要从源码中获得, 包括 python-gdb.py及debug symbol等. 在 https://www.python.org/ftp/python/ 或 https://github.com/python/cpython

By Edimetia3D