壁纸设置器
1.6.0 · GitHub
More about this app
Restores scrolling wallpapers and disables forced darkening on HyperOS 3/4, applying secure settings and restarts through Shizuku.newProcess or a root module.
HyperOS 3/4 Scroll Setter
English
Make HyperOS 3/4 Support Scrolling Wallpapers Again
HyperOS 3 removed scrolling wallpaper from the standard wallpaper-setting UI and added software-level restrictions that disable it for normal wallpapers.
HyperOS 3/4 Scroll Setter bypasses these restrictions and allows Xiaomi devices to use scrolling wallpapers again.
Features
- Enable scrolling wallpapers on HyperOS 3/4
- Set wallpapers directly without the cropping performed by the Lock Screen Editor
- Support synchronized home-screen and lock-screen scrolling
- Disable automatic wallpaper darkening
- Support Root and Shizuku modes
- HyperOS 3 and HyperOS 4 specific adaptations
Usage
Shizuku / No Root
- Start Shizuku and grant the app the required permission.
- Select an image from the gallery.
- Set the wallpaper.
- Enable Scrolling Wallpaper in the app.
For HyperOS 4 tablets, configure the correct device type and screen resolution in the Host Device section. The 3200×2136 preset can be used where applicable.
Root
- Activate the module.
- Restart the Wallpaper app.
- If Lock Screen Edit or Wallpaper & Personalization is running, restarting them is also recommended.
- Set the home-screen and/or lock-screen wallpaper through the app, or use the original system method.
- Restart the Wallpaper app after enabling Don't Darken Wallpaper.
If the home screen briefly becomes black after rebooting, force-stop the Wallpaper app once from Settings.
HyperOS 4 changed and heavily obfuscated the wallpaper implementation, so the OS3 Hook points cannot be reused directly.
The module automatically detects the host version and installs the corresponding implementation.
The HyperOS 4 adaptation mainly handles:
- Preventing the scrolling setting from being reset
- Keeping the scrolling setting enabled after wallpaper changes
- Fixing the new wallpaper Surface size limitation that can cause severe vertical cropping
- Preserving the no-darkening behavior
- Providing a Shizuku-side inverse scaling workaround when system hooks are unavailable
Compatibility
| Mode | Device | Status |
|---|---|---|
| Root | Xiaomi 17 Ultra, Xiaomi 17 Pro, Xiaomi 15 Pro, Xiaomi Pad 8 Pro | ✅ Tested |
| Shizuku | Xiaomi 17 Ultra, Xiaomi Pad 8 Pro, Redmi K Pad | ✅ Tested |
| Root | Other Xiaomi devices running HyperOS 3 | Theoretically supported |
| Shizuku | Other Xiaomi devices running HyperOS 3 | Theoretically supported; scrolling may need to be re-enabled after reboot |
Other HyperOS 3/4 devices may also work, but compatibility depends on the system wallpaper implementation and version.
Building from Source
git clone https://github.com/BlizzardAn225/HyperOS3ScrollSetter.git
cd HyperOS3-Scroll-Setter
# Open the project in Android Studio and build
License
Disclaimer
Scrolling wallpapers are no longer officially supported by HyperOS. Unexpected behavior may occur, including:
- Frame drops
- Rendering errors
- Temporary black screens when entering the desktop from the lock screen
Use the module at your own risk.
澎湃OS 3/4 随屏滚动壁纸设置器
让澎湃OS 3/4 重新支持随屏滚动壁纸
澎湃OS 3 从官方壁纸设置界面中移除了随屏滚动功能,并在软件层面强制关闭普通壁纸的随屏滚动。
澎湃OS 3/4 随屏滚动壁纸设置器通过绕过这些限制,让小米设备重新使用随屏滚动壁纸。
功能
- 重新启用澎湃OS 3/4 随屏滚动壁纸
- 绕过「锁屏编辑」的壁纸裁切
- 支持桌面与锁屏壁纸同步滚动
- 禁止系统自动压暗壁纸
- 支持 Root 和 Shizuku 两种模式
- 针对澎湃OS 3、澎湃OS 4 分别进行适配
使用方法
Shizuku / 免 Root
- 启动 Shizuku,并授予本应用所需权限。
- 从相册选择图片。
- 设置壁纸。
- 在应用中开启「随屏滚动」。
澎湃OS 4 平板需要在「宿主设备」中选择正确的设备类型和屏幕分辨率。适用设备可以使用 3200×2136 预设值。
Root
- 激活模块。
- 重启「壁纸」APP。
- 如果「锁屏编辑」或「壁纸与个性化」正在运行,也建议一并重启。
- 使用本应用或系统原有方式设置桌面/锁屏壁纸。
- 开启「不压暗壁纸」后,需要重新启动一次「壁纸」APP。
如果重启后进入桌面时壁纸短暂黑屏,可以在系统设置中手动结束一次「壁纸」APP进程。
兼容性
| 模式 | 设备 | 状态 |
|---|---|---|
| Root | 小米 17 Ultra、小米 17 Pro、小米 15 Pro、小米平板 8 Pro | ✅ 已测试 |
| Shizuku | 小米 17 Ultra、小米平板 8 Pro、Redmi K Pad | ✅ 已测试 |
| Root | 其他澎湃OS 3 小米设备 | 理论上可行 |
| Shizuku | 其他澎湃OS 3 小米设备 | 理论上可行,重启后可能需要重新开启随屏滚动 |
其他澎湃OS 3/4 设备也可能正常工作,但实际兼容性取决于具体系统版本及壁纸引擎实现。
从源码构建
git clone https://github.com/BlizzardAn225/HyperOS3ScrollSetter.git
cd HyperOS3ScrollSetter
# 在 Android Studio 中打开并构建
许可证
免责声明
随屏滚动壁纸已经不再受到澎湃OS官方支持,使用过程中可能出现:
- 掉帧
- 渲染错误
- 从锁屏进入桌面时短暂黑屏
使用本项目产生的任何问题由用户自行承担。
How Shizuku is used
Can restore scrolling wallpaper by applying a secure setting and restarting the wallpaper app via `newProcess`.
This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.
How this app uses Shizuku
Shizuku is used to restore the scrolling wallpaper feature on HyperOS by writing a protected system setting and restarting the system wallpaper app.
- Restore scrolling wallpaper: tapping the enable button writes the secure setting
pref_key_wallpaper_screen_scrolled_spanto1with thesettings putcommand through Shizuku, then restarts the wallpaper app with theam force-stopcommand so the change takes effect.
Android APIs or commands used
settings put secure pref_key_wallpaper_screen_scrolled_spanam force-stop com.miui.miwallpaper
Notable details
Without privileged access the app instead copies the settings command to the clipboard for manual execution in a terminal, while image cropping and wallpaper setting continue to work through the normal system wallpaper API.
Changelog
What's new for version 1.6.0
适配Hyper OS4:
- 新增宿主系统选择功能;
- 新增适配HyperOS 4的Hook点位:阻止裁切;
- Shizuku免Root模式新增逆运算扩展位图。
Adapted for HyperOS 4:
- Added host system selection feature
- Added Hook points adapted for HyperOS 4 to prevent cropping
- Added inverse operation bitmap extension for Shizuku non-root mode
Permissions
6 permissions requested