AI summary
LSPosed module for Flyme SystemUI that resizes status bar icons and replaces battery and signal indicators with custom iOS or OneUI-style draws. Latest update adds 4G/5G network badges, independent dual-SIM signal handling, battery state snapshot caching, and refactored modular hooks for improved stability.
Generated by AI. May contain inaccuracies.
About this app
FlymeStatusBarSizer is an LSPosed module designed for Flyme SystemUI, compatible with API 101. It features a built-in local settings interface and a right-side icon preview.
Existing Features
- Uniformly adjust the size of system status icons in the upper-right corner, with separate control over the size of the digits inside the battery icon. - Draw the battery icon programmatically, supporting both iOS-like and One UI-like styles. - Support toggling the battery percentage display, switching between number fonts, hollow battery style, and an option for "hollow fill to vary with battery level". - Draw the mobile signal icon programmatically, supporting both single-SIM and merged dual-SIM displays, with automatic detection of network type and 5G indicators. - Provide a dedicated Telephony debug panel to simulate SIM card count, default data SIM, network modes, and signal levels for both cards, facilitating debugging of signal icons and 5G/5GA/5G+ labels. - Add display and hide thresholds for real-time network speed, along with a consecutive confirmation count. - Support customizable time formatting via expression assembly, currently combinable with hours, minutes, seconds, weekday, AM/PM, time-of-day labels, traditional Chinese earthly branches, and their classic literary names. - Support adjusting time font weight and size, which simultaneously affects the lock screen carrier label and network speed text size. - Replace third-party app status bar notification icons with the app's own icon, with independent adjustment of icon size and padding. - Override the long-press action of the mBack button to launch a custom URL or Intent URI, with an option to test the launch directly. - Provide mBack navigation bar transparency, hide the white gesture bar, support background inset adjustment, and allow navigation bar height control. - Add a toolbar below the input method content area, including paste, delete, select all, copy, and input method switcher, with drag-to-reorder support. - Support configuration import, export, reset to default, and restart SystemUI.
Scope
- Primarily targets 'com.android.systemui'. - Input method toolbar hooks currently apply to 'android', 'com.android.inputmethod.latin', 'com.google.android.inputmethod.latin', and 'com.tencent.wetype'.
Implementation Details
- The settings interface is implemented in 'MainActivity', with configurations written to SharedPreferences in device-protected storage. - 'RemoteSettingsSync' synchronizes local configurations to LSPosed's Remote Preferences. - 'ModuleConfig' reads remote configurations at runtime and retains the most recently successful config as a fallback. - 'FlymeStatusBarSizer.java' is the Xposed entry point, currently registering hooks grouped by status bar, signal, battery, notification, time, mBack, and input method logic. - The status bar section currently overrides battery drawing, mobile signal, notification icons, time text, network speed views, and mBack-related classes. - The input method toolbar is attached after 'InputMethodService.setInputView(...)', by inserting the custom button bar below the input view. - Configuration changes are applied via Remote Preferences listeners that refresh the running SystemUI and input method interfaces dynamically.
Interface language: Chinese
What's new
- 📶 Signal & Mobile Network
- Network badge display: Added mobile network type (4G/5G, etc.) badge display functionality, with optimized badge determination logic. - Dual-SIM independent enhancement: Refactored dual-SIM signal logic to support independent signal level handling and icon rendering for both SIM cards, improving stability in multi-SIM environments. - Status tracking optimization: Established a network status tracking mechanism based on SIM subscription, ensuring timely and accurate icon updates during network switching. - Performance & rendering: Optimized the signal icon rendering pipeline, introduced caching mechanisms to reduce redundant drawing, and enhanced signal strength processing details.
- 🔋 Battery Icon
- State snapshot mechanism: Extended the battery state snapshot mechanism to improve rendering performance under high-frequency refresh scenarios and maintain consistency across multiple views. - Charging visual optimization: Refined fast-charging lightning bolt icon rendering for both iOS and OneUI styles, with improved vector path data and layout presentation.
- 🛠️ Architecture Refactoring
- Modular decoupling: Completed refactoring of the core hook structure, splitting mBack, input method, signal, battery, and other functionalities into independent modules for better code maintainability. - Layout correction: Added scaling exemption logic for signal views to resolve icon distortion or offset issues under specific system scaling settings. - Cleanup & standardization: Removed redundant debug log persistence logic and related UI, consolidated debug output to system Logcat, and reduced application footprint.
- 📝 Project & Documentation
- Documentation sync: Updated README.md with the latest architecture descriptions and feature configuration guides. - Version update: Application version bumped to 2026.05.08.04.
About this version
- Version
- 2026.05.08.04 (2026050804)
- Size
- 761.17 KB
- Requires Android
- 8.0
- Target SDK
- 26
- Architecture
- universal
- Downloads
- 64
- Updated
- Jun 17, 2026
- Package
- com.fiyme.statusbarsizer
Ratings & reviews
- 51
- 40
- 30
- 20
- 10
Write a review
Recent reviews
Showing 1 of 1- Николай 1d ago
