102 lines
6.4 KiB
Markdown
102 lines
6.4 KiB
Markdown
<div align="center">
|
|
|
|
<img src="assets/islet.svg" width="104" alt="Islet">
|
|
|
|
# Islet
|
|
|
|
**A Dynamic Island for notched iPhones.**
|
|
|
|
Music, calls, timers, AirPods, your Apple Watch and every system popup, in one small
|
|
island that clings to the notch, in portrait and landscape.
|
|
|
|
[Download](https://archlinux.tail7c4f5e.ts.net/git/astar76/Islet/releases/latest) ·
|
|
[Watch the video](docs/showcase.mp4) ·
|
|
[Settings](#settings) ·
|
|
[Build](#build-and-test)
|
|
|
|
<video src="https://archlinux.tail7c4f5e.ts.net/git/astar76/Islet/raw/branch/main/docs/showcase.mp4" controls></video>
|
|
|
|
[](docs/showcase.mp4)
|
|
|
|
</div>
|
|
|
|
## Install
|
|
|
|
Grab `Islet-<version>-iphoneos-arm64.deb` from [Releases](https://archlinux.tail7c4f5e.ts.net/git/astar76/Islet/releases) and copy it to the phone.
|
|
Open it in **Filza** and tap **Install**, or use a terminal:
|
|
|
|
```sh
|
|
sudo dpkg -i Islet-0.7.6-iphoneos-arm64.deb
|
|
```
|
|
|
|
Respring when you're ready: Islet never does it for you. Configure it in **Settings > Islet**.
|
|
|
|
Built and tested on an iPhone XR with iOS 18.7.1 and Dopamine rootless. It needs ElleKit and PreferenceLoader.
|
|
Other devices and iOS versions are untested. Without the jailbreak active the phone is plain stock:
|
|
nothing Islet changes outlives SpringBoard.
|
|
|
|
## What it shows
|
|
|
|
- **Ongoing:** now playing (artwork, bars driven only by Apple's audio analyzer, controls, lyrics; stays 10 s after pausing), timers (pause, resume, cancel),
|
|
calls (answer, decline, mute, end), flashlight with level buttons, screen recording with a stop button, hotspot, screen
|
|
mirroring, microphone, upcoming calendar events and reminders.
|
|
- **Notifications:** open in the island with the icon, text, photo and action buttons of the stock banner. Hold one for
|
|
the stock expanded view with reply. Sticky and critical alerts, and anything arriving while the island is hidden, keep
|
|
the stock banner. Other stock banners start below the island.
|
|
- **Accessories:** AirPods and other Bluetooth devices connect with their own icon and battery rings (buds, case), and
|
|
connected headphones sit in a bubble left of the island. Each device, and each part of it, alerts on its own at 20 and
|
|
10%. Apple Watch and AirPods get charging and fully charged popups, the Watch its Low Power Mode too.
|
|
- **iPhone battery:** charging, low battery at 20/10/5%, fully charged, Low Power Mode.
|
|
- **Short popups:** volume (replaces the stock HUD), silent switch with the swinging bell, Focus (replaces the stock
|
|
banner), airplane mode, Wi-Fi, cellular data and Bluetooth toggles, rotation lock, AirDrop visibility, network changes,
|
|
an app starting on the camera or microphone, lock and unlock (off by default). Popups dismiss themselves.
|
|
|
|
Online lyrics send the song title and artist to lrclib, then NetEase if needed. Video apps are excluded, and both can be
|
|
turned off in Settings.
|
|
|
|

|
|
|
|
## Gestures
|
|
|
|
| Gesture | Compact | Unfolded | Popup |
|
|
| --- | --- | --- | --- |
|
|
| Tap | unfold | open the app, fold | open the app or notification |
|
|
| Swipe up | hide for 10 s | fold | dismiss |
|
|
| Swipe down | unfold | | |
|
|
| Swipe sideways | next activity | next activity | |
|
|
| Long press | open the app | open the app | stock expanded notification, or open the app |
|
|
|
|
A touch outside an unfolded card folds it, and cards fold themselves after 8 s. With two activities, the second sits in
|
|
a small bubble on the right: tap it to swap. Tap the headphones bubble on the left for their batteries. While hidden only
|
|
calls and critical battery popups come through. In landscape the same tab stays along the notch with its contents upright: swipe
|
|
into the notch to hide, away from it to unfold, along it to switch. An option hides the island during full-screen video. The media card's devices button opens the stock output picker.
|
|
|
|
## Settings
|
|
|
|
Settings > Islet writes `/var/jb/var/mobile/Library/Preferences/com.astar76.islet.plist` and everything applies live.
|
|
`isletctl set <key> <value>` does the same from a shell. Switches: enabled, music, musicPeek, realVisualizer, timer,
|
|
calls, flashlight, flashlightPeek, recording, calendar, reminders, bluetooth, hideAccessoryBanners, deviceBattery,
|
|
audioBubble, lowBattery, charging, lowPowerMode, ringer, volumeHUD, airplane, focus, network, rotationLock, airdrop,
|
|
systemActivities, sensorPill, lockPill, hideStockHUD, hideStatusPills, bannerOffset, notifications, hideBanners, bubble,
|
|
lyrics, onlineLyrics, neteaseLyrics, watchPing, hideLandscape, hideFullscreenVideo. Numbers: hideSeconds, autoFold, deviceLowLevel, musicLinger, calendarLead, notchWidth, notchHeight, compactExtra. `lyricApps` (array of bundle ids) adds players to lyric detection. `blockedBanners` (array of bundle ids) overrides which requesters' stock banners are dropped.
|
|
|
|
## Build and test
|
|
|
|
- `tools/package.sh` builds `build/com.astar76.islet_<VERSION>_iphoneos-arm64.deb`. It runs `tools/lint` first, which
|
|
catches the arm64e rule breaks the compiler can't see.
|
|
- `tools/selftest` renders every island state offscreen on the phone in a throwaway process, never SpringBoard, runs
|
|
the behaviour checks and pulls PNGs and `status.txt` to `build/selftest`.
|
|
- `tests/prefstest.m` drives the Settings controller the same way, `tests/loadtest.m` only loads the dylib.
|
|
- `tools/film` then `tools/film-edit.py` capture the real animations on the phone in a throwaway process and edit `build/Islet-showcase.mp4`. The film code is compiled in only there, never into a package.
|
|
- `isletctl demo <1-36>` triggers any activity on a running island (list in `src/isletctl.m`), `isletctl snap` writes
|
|
`/var/jb/var/mobile/islet-snap.png`.
|
|
- `isletctl dump` writes `/var/jb/var/mobile/islet-dump.txt` (windows, which hooks installed, state) and
|
|
`/var/mobile/islet-batteries.txt`. Each new banner requester is noted in `/var/mobile/islet-banners.log`.
|
|
|
|
Everything Islet changes lives in memory inside SpringBoard and one daemon: it writes nothing into iOS's own settings, so a
|
|
reboot without the jailbreak is plain stock. Switching it off in Settings stands down at once, and while the island is
|
|
hidden or stepped aside iOS's own banners, Focus, silent switch and volume indicators show instead. Settings > Islet >
|
|
Reset to Recommended Settings (or `isletctl defaults`) puts every setting back.
|
|
|
|
Two SpringBoard crashes in a row within 30 s of starting turn Islet off until Settings > Islet > Clear Crash Guard,
|
|
`isletctl reset` or a reinstall.
|