|
| 1 | +<div align="center"> |
| 2 | + |
| 3 | +<img src="https://github.com/user-attachments/assets/dc034ec0-90cf-4371-9ab0-132ca2527b32" width="120" height="120" style="border-radius: 24px;" alt="HyperIsland Icon"/> |
| 4 | + |
| 5 | +# HyperIsland |
| 6 | + |
| 7 | +**Dynamic Island–style progress notifications for HyperOS 3, powered by LSPosed** |
| 8 | + |
| 9 | +[](https://github.com/1812z/HyperIsland/releases) |
| 10 | +[](LICENSE) |
| 11 | +[](https://android.com) |
| 12 | +[](https://github.com/LSPosed/LSPosed) |
| 13 | +[](https://hyperos.mi.com) |
| 14 | +[](https://flutter.dev) |
| 15 | + |
| 16 | +**English** | **[简体中文](README.md)** |
| 17 | + |
| 18 | +</div> |
| 19 | + |
| 20 | +--- |
| 21 | + |
| 22 | +## ✨ Features |
| 23 | + |
| 24 | +<table> |
| 25 | +<tr> |
| 26 | +<td width="50%"> |
| 27 | + |
| 28 | +### 📥 Download Manager Extension |
| 29 | +Intercepts HyperOS Download Manager notifications and displays them in Dynamic Island style, showing file name and progress with **pause, resume, and cancel** controls. |
| 30 | + |
| 31 | +</td> |
| 32 | +<td width="50%"> |
| 33 | + |
| 34 | +### 🏝️ Dynamic Island + Focus Notification |
| 35 | +Intercepts standard Android notifications from any app and renders them in Dynamic Island + Focus Notification style, preserving the original action buttons. |
| 36 | + |
| 37 | +</td> |
| 38 | +</tr> |
| 39 | +<tr> |
| 40 | +<td width="50%"> |
| 41 | + |
| 42 | +### 🚫 Notification Blacklist |
| 43 | +Apps on the blacklist will not trigger pop-up notifications — only the Dynamic Island indicator is shown (auto-hidden with the status bar in fullscreen). |
| 44 | + |
| 45 | +</td> |
| 46 | +<td width="50%"> |
| 47 | + |
| 48 | +### 🔥 Hot Reload Support |
| 49 | +Configuration changes take effect **without restarting**. Only scope restarts are required after installing or updating apps. |
| 50 | + |
| 51 | +</td> |
| 52 | +</tr> |
| 53 | +</table> |
| 54 | + |
| 55 | +--- |
| 56 | + |
| 57 | +## 📋 Setup Guide |
| 58 | + |
| 59 | +### Step 1 — Activate the Module in LSPosed |
| 60 | + |
| 61 | +> ⚠️ This module requires the **LSPosed** framework. Your device must be rooted and LSPosed must be installed. |
| 62 | +
|
| 63 | +1. Open **LSPosed Manager** and navigate to the **Modules** tab. |
| 64 | +2. Find **HyperIsland** and enable the toggle. |
| 65 | +3. In the module scope, check the recommended apps: |
| 66 | + - **Download notifications**: check **Download Manager** |
| 67 | + - **Universal adapter**: check **System UI** |
| 68 | +4. Save and tap the **restart button** in the top-right corner to restart the affected scope (or reboot your device) to activate the hook. |
| 69 | + |
| 70 | +--- |
| 71 | + |
| 72 | +### Step 2 — Enable Focus Notification Whitelist in HyperCeiler |
| 73 | + |
| 74 | +> 💡 Dynamic Island–style notifications require the "Focus Notification" permission granted through HyperCeiler. |
| 75 | +> If you can't find the relevant option, please update HyperCeiler to the latest version. |
| 76 | +
|
| 77 | +1. Open **HyperCeiler** and navigate to **System UI** or **Xiaomi Service Framework** settings. |
| 78 | +2. Find **"Remove Focus Notification Whitelist"**. |
| 79 | +3. Enable the toggle and restart the scope. |
| 80 | + |
| 81 | +--- |
| 82 | + |
| 83 | +## ⚠️ Important Notes |
| 84 | + |
| 85 | +| Item | Details | |
| 86 | +|------|---------| |
| 87 | +| Framework | Requires **LSPosed** and a **rooted** device | |
| 88 | +| Restart Timing | Restart scope after installing/updating apps; config changes generally support hot reload | |
| 89 | +| Notification Compatibility | Universal adapter only handles **standard Android notifications**; custom notification styles are not supported | |
| 90 | +| ROM Compatibility | Tested on **HyperOS 3**; other ROMs may have compatibility issues | |
| 91 | + |
| 92 | +--- |
| 93 | + |
| 94 | +## 🔨 Build |
| 95 | + |
| 96 | +Make sure Flutter is installed, then run: |
| 97 | + |
| 98 | +```bash |
| 99 | +flutter build apk --target-platform=android-arm64 |
| 100 | +``` |
| 101 | + |
| 102 | +--- |
| 103 | + |
| 104 | +## 📄 License |
| 105 | + |
| 106 | +This project is open source under the [LICENSE](LICENSE). Issues and PRs are welcome. |
| 107 | + |
| 108 | +<div align="center"> |
| 109 | + |
| 110 | +Made with ❤️ for HyperOS users |
| 111 | + |
| 112 | +[](https://github.com/1812z/HyperIsland) |
| 113 | + |
| 114 | +</div> |
0 commit comments