Repository navigation
Omdroid 0.0.19-alpha
Pre-releaseOmdroid 0.0.19-alpha
The R10 round, merged: the running desktop uses far less CPU at idle, the first start
extracts the guest in 63 % less time (284 s down to 104 s on the test tablet), and the APK is
34 % smaller. Cold start is about one second slower than 0.0.18, and the mobile UI still takes
about seven seconds longer to come up than the desktop UI (both under Known issues).
- The session-end screen works. Ending the session from inside (an Omarchy key binding that
exits Hyprland) used to leave a blank launcher and an "Omdroid isn't responding" dialog. The
service waited, with no timeout, on the main thread for the fake-root broker to die, and that
broker's proot outlived even SIGKILL on this guest. Every stop now runs on its own thread
(SIGTERM, then SIGKILL, both bounded, and the outcome in the log), the broker's descendant
processes are signalled too, and a launch whose guest died shows the ended screen with its exit
code instead of "did not start: session_died". Measured on the fix's test build before this
release: the ended screen 14 ms after an exit from inside, Start again giving the desktop back
in 15-21 s, and 0 leaked broker processes 12-14 s after each of 9 exits and 2 kills (R11 S4
phases 7 and 8,r11/completeness:docs/omarchy/r11-completeness.md).
What changed for you
All numbers below were measured on the test tablet (Xiaomi Pad 8 Pro, Android 16, 4 KB
pages), on the R10 build before the version bump. 0.0.19 is that build plus the session-end
fix above; its own install, cold start and probe are in the last table.
- Idle CPU. Two cold starts of each build in the same hour, same guest, desktop up with
nothing open, CPU time over 60 s starting 30 s after the cold start: the whole session
went from 154-159 % of one core to 12 %, and the app's own process (it hosts the X server)
from 130-134 % to 2.5-2.6 %. In an earlier run on the same tablet (10 s windows, with the
0.0.18 baseline measured earlier that day) each X server thread went from 77-80 % to about
1 %. Cause: the nested Hyprland now sends the damage it committed instead of the whole
screen. With full damage forced back on the same R10 build (AQ_WAYLAND_FULL_DAMAGE=1) the
app was at 135 % again. For stale pixels, a control was painted into the running desktop and a
forcing step that provably repaints (a barevfr = falsere-assert repaints nothing, which is
what the R10 check had used) was applied: 15 of 24 scenario comparisons matched the forced frame
exactly, and 2 more differed only in the bar clock. The remaining 7 differ in one place: a
24-pixel row under the bar (x 3057-3082, y 88) whose pixels differ by 1 of 255. The same
one-level row appears when the forcing repaint is applied with no event at all, and in the
full-damage control arm, so it is the check's noise floor, not a stale pixel; the forced frame
equals the pre-event frame in every case where the screen returned to it. - First start. Extracting the guest took 104.1 s, against 283.9 s for the 0.0.17-era image
earlier the same day on the same tablet (the same fresh-extraction procedure both times; whole
images compared, so the smaller contents and the zstd codec count together).du -shof the
fresh guest reads 3.4 G, against 3.8 G before. The app still wants about 6.5 GB free before it
starts extracting. - APK size. 1,124,728,775 bytes for the R10 build, against 1,715,790,990 bytes for 0.0.18
(34.4 % smaller). The guest image inside is zstd instead of gzip, and it leaves out
documentation and man pages, non-English message catalogs (*.mo) and Qt translations:
15,523 entries, 418,199,488 bytes of the old image (10.6 %). The 17,026usr/include
entries andlibc_nonshared.aare kept:yay -S cbonsai, an AUR package that compiles C,
built and installed on a fresh guest in 2 min 15 s. Because of the pruning,pacman -Qk
lists those paths as missing (expected, not corruption), and a laterpacman -Salso skips
documentation, man pages and message catalogs. - Software GPU setting. Settings, Graphics: Auto, Adreno GPU (KGSL) or Software (slow,
any phone). Auto picks software only when the phone has no usable KGSL node, and with
Auto a start that fails early on the GPU path retries once with software (that retry was
tested on the host with a fake Hyprland, not on a device). Tried on the tablet with the
setting forced: llvmpipe draws the desktop, hand-over 13.8 s against 11.0 s, Hyprland
445.6 MB against about 205-212 MB at idle, and typing into a terminal used 496 % of a core
in Hyprland against 31 %. It works as a fallback and is heavy: use it only where KGSL is not
available. - 16 KB pages. Every 64-bit library in the APK is linked for 16 KB pages (14 at
0x4000,
2 at0x10000, checked withreadelfon arm64-v8a and x86_64). No 16 KB device has run
it: the tablet has 4 KB pages. - The watcher (the helper that keeps the bar and wallpaper in step with the screen) now
asks Hyprland over its socket instead of startinghyprctlevery tick: 0hyprctl
processes in 10 s, against 54 on 0.0.18 (a baseline measured earlier that day) and 49 with
the old loop switched back on.OMDROID_WATCH_LEGACY=1in~/.config/omdroid/session.env
brings the old loop back. - Smaller changes. Hyprland animations are off in the mobile UI (
OMDROID_ANIMATIONS=1in
session.envkeeps them); the guest runs withMALLOC_ARENA_MAX=2(session.envcan
override it); neither moved the idle numbers. The app logsonTrimMemoryandonLowMemory.
A new setting, "Lift Android's child-process limit" (on by default), turns off Android 12+'s
phantom-process killer throughWRITE_SECURE_SETTINGS; without that grant the notification
shows the command to run. On the tablet that check loggednothing to do, so the write itself
has only been tested as a decision table on the host.
Known issues
- Cold start is about 1 s slower than 0.0.18. Hand-over 10.7-11.2 s against 9.7-10.0 s,
desktop drawn 10.2-10.7 s against 9.2-10.3 s, in the same hour on the tablet. The likely
cause is the CPU clocking up later when the X server is idle: with full damage forced on, the
mobile UI starts 0.9 s sooner. It looks like the price of the idle saving. - The mobile UI starts about 7 s later than the desktop UI. On the tablet the desktop UI
hands over in 3.5 s and the mobile UI in 10.8 s: the shell closes its first bar and brings
it back only with the mobile launcher about 7 s later. It is not new: 0.0.18 on the same guest
handed over in 9.7-10.0 s. A fix is in progress and is not in this build. - Hyprland segfaults as it exits, on every exit observed so far (9dae471b: 3 of 3 clean
exits;Segmentation fault -- "HYPRLAND" --config ...in the session log), while the exit code
the app receives may read 0 (0, 139 and 0 were seen). The desktop is not affected: the session
was already ending. On 0.0.19 two exit-from-inside runs drew the ended screen 38 and 37 ms after
the app logged the session's exit (its own field read 5 and 6 ms), Start again brought a passing
desktop back in 16 s, and a launch whose guest died with exit 7 showed "stopped unexpectedly
(exit 7)" within 2 s; no case raised an ANR. The exit code under-reports what happened. - Software GPU mode is heavy (numbers above).
- Idle memory did not change (689-697 MB total PSS against 695-714 MB for 0.0.18 in the
same hour). - Man pages, documentation and message catalogs are gone from the guest (see APK size).
Not verified yet
- A clean install (no earlier app data). The fresh extraction was tested by moving the guest
aside and letting the app extract again, not by uninstalling. - Any device with 16 KB pages, any phone, and any GPU other than the tablet's Adreno.
- The interactive
sudopassword prompt, and docking from the phone (DeX on or off). - Memory pressure:
onTrimMemorylogging was never triggered.
Verified on the tablet
| Item | Result |
|---|---|
| Install over the R10 build | sha256 2d10847e…032c, versionCode=19, versionName=0.0.19-alpha, install.sh PASS |
| Cold starts, unaided | hand-over 11.3 and 12.4 s, desktop PASS 2/2, no foreign activity on top; probe.sh PASS |
| Idle, 30 s after the start | X server threads 1.3 % and 1.2 % of a core over 10 s; app PSS 184.9 MB, Hyprland 186.7 MB |
| Exit from inside, twice | proot exited (0) and proot exited (139); the ended screen 38 and 37 ms later, "Start again" on screen; no ANR |
| Start again | desktop back and probe.sh PASS after 16 s |
Guest dies at launch (session.env: exit 7) |
"The desktop session stopped unexpectedly (exit 7)" within 2 s; no ANR |
| Start again after that | desktop back and probe.sh PASS after 18 s |
| Restore | R10 build back (pm install -r -d -t), sha bef783d7…, cold start 11.3 s, probe.sh PASS |
Unit tests 195, 0 failed. Lint 0 errors, 37 warnings.
Android 12+, arm64. adb install is refused on HyperOS and MIUI - use the on-device
installer and grant notifications; WRITE_SECURE_SETTINGS is granted by
docs/omarchy/tools/install.sh from a computer.
omdroid-0.0.19-alpha.apk, 1,124,748,147 bytes, sha256: 2d10847e8522fdf24bc6ab326e1ecd47fa73a624f17bf81bbce50479269c032c