APK withdrawn (2026-11-27). Phoshdroid is now Omdroid:
install v0.0.18-alpha or later.
Reliability fixes for slow / backgrounded startup on the Pixel 9 Pro Fold.
What's fixed
- Crash on FGS reschedule. When Android rescheduled the foreground service under memory pressure,
Process.destroy()closed the proot stdout pipe mid-read on the monitor thread. The uncaughtInterruptedIOExceptionkilled the whole app, leaving a zombie service and a perma-stuck "Starting desktop…". Now the read is guarded and a deliberate stop no longer triggers a respawn. - Survives backgrounding mid-bootstrap. Android 14+ BAL policy blocks
startActivity(MainActivity)from a non-visible activity even with an FGS running.onResume/onNewIntent/ the FGS notification body now forward into MainActivity once bootstrap completes — re-tapping the launcher icon (or the notification) finishes the trip into phosh. - Realistic startup timeout.
waitForPhoshReadywas 60 s; cold boots on the Pixel 9 Pro Fold take 2 min 30 s. The premature timeout was forwarding to MainActivity over an empty X root, leaving users staring at the bare X cursor. Bumped to 240 s. launchMode=singleTaskon LauncherActivity so re-tap reuses the live instance instead of spawning a second one that races the X server.- Firefox single-process prefs dropped into
/usr/lib/firefox-esr/defaults/pref/99-phoshdroid.jsso multi-process / fission can't tank the browser under proot. - PS4-timestamped
set -xtrace instart.shso future startup hangs are diagnosable fromphoshdroid-start.logalone.
Install
Obtainium will auto-update from the previous tag.
Manual:
adb install -r phoshdroid-0.0.5-alpha.apk
Tested on Android 16 / Pixel 9 Pro Fold.