English | 中文 | Bahasa Indonesia
An LSPosed module that removes the 7-item limit of the launcher dock on Xiaomi tablets, so you can pin as many apps to the dock as you like — no more overflow into the recents section.
On HyperOS/MIUI tablets, the launcher dock (the "hotseats" bar pinned at the bottom of the home screen) accepts at most 7 pinned items. Pin one more and it simply won't stick — extra apps only ever show up in the recents section of the dock.
Reverse-engineering the MiuiHome launcher on the target device shows this is not a layout constraint but a hard-coded number. DeviceConfig.calculateHotseatMaxCount() returns a fixed value per device type:
laptop mode -> 9
pad device -> 7
foldable -> 5
phone -> derived from screen width
The dock's full-check is HotSeatsList.isFull(), which is just itemCount >= DeviceConfig.getHotseatMaxCount(). Once the count hits 7, Launcher.addItemToHotseats() refuses new pins.
This module forces getHotseatMaxCount() and calculateHotseatMaxCount() to return 99 inside com.miui.home, so the dock effectively accepts unlimited pins. Nothing else in the launcher is touched — the recents provider does not read this value, so the recents section behaves exactly as before.
- Pin a 8th, 9th, 10th… app to the dock and it stays pinned.
- No fake UI, no replacement launcher — Xiaomi's own dock, with its own limit lifted.
- Xiaomi Pad 6S Pro (codename sheng), HyperOS 1.0
V816.0.8.0.UNXIDXM, Android 14 - MiuiHome
RELEASE-4.40.0.7224-07251344(versionCode 440007224) - LSPosed (also compatible with Vector, the maintained LSPosed fork — both use the classic Xposed API)
⚠️ The hooks targetcom.miui.home.launcher.DeviceConfigin the MiuiHome build above. A MiuiHome/HyperOS update may rename or restructure it and the module will silently stop working (it logs and never crashes the app). Reports for other devices/builds are welcome.
- A Xiaomi tablet running MIUI/HyperOS with the list-style dock
- Android 14 (minSdk 34 of this build)
- A working Xposed framework: LSPosed or Vector
- Scope:
com.miui.home(pre-declared by the module)
- Download the APK from Releases.
- Install it.
- Open LSPosed/Vector Manager → Modules → enable Pad Dock Unlock (scope
com.miui.homeshould be pre-selected). - Force stop MiuiHome (or restart the launcher) so the module loads.
- Pin away — the dock no longer stops at 7.
Two hooks on the same value, both verified against the decompiled code of the target MiuiHome build:
| Hook | Role | Effect |
|---|---|---|
DeviceConfig.getHotseatMaxCount() |
Returns the cached static cap read by every consumer (HotSeatsList.isFull(), HotSeatsScreenViewContent.isSeatsFull()) |
Cap reads as 99 |
DeviceConfig.calculateHotseatMaxCount() |
Computes the cap (hard-coded 7 for pads) whenever the launcher (re)calculates it | Cap is recomputed as 99 |
The module only raises the number and lets Xiaomi's own dock code do the rest.
No Gradle needed — the project builds with a plain shell script using the Android SDK command-line tools:
./build.shThe script downloads the Xposed API jar (compile-only) if missing, compiles resources with aapt2, compiles and dexes the Java sources, then zipaligns and signs the APK with a locally generated keystore (tools/release.keystore, created on first run — keep it private, it is git-ignored).
- 1.0 — First release. SHA-256 of the release APK:
a754addef53679df2c709b3a60ca4efaca86831d9bab66e7daa3540ea93f50ca
MIT — see LICENSE.
Made by rvmeur after one too many encounters with a dock that decided seven apps were quite enough, thank you.