github zweck/omdroid v0.0.7-alpha
Phoshdroid 0.0.7-alpha

6 months ago

APK withdrawn (2026-11-27). Phoshdroid is now Omdroid:
install v0.0.18-alpha or later.

Startup time: ~3m → ~10-15s on warm boots.

What's slow

The unconditional chown -R user:user /home/user at the top of start.sh was the dominant cost. Measured on a Pixel 9 Pro Fold with a populated home (~205 MB / 706 files in .mozilla, .cache, GNOME state): chown alone took 2m45s every launch, completely overshadowing the rest of the boot path that reaches Phosh ready after in ~3s.

Every chown syscall under proot pays for the syscall translator's ptrace-style intercept, and the cost scales linearly with the file count — which only grows as you install apps and Firefox caches.

What's fixed

Gate the chown behind /home/user/.phoshdroid-chowned. First boot still does the full sweep; every launch after sees the marker and skips. Real on-disk ownership is stable across launches, so re-running was pure waste once it's done.

Reset

To force a re-run of the chown (e.g. after manually editing files as root):

rm /data/data/com.phoshdroid.app/files/usr/var/lib/proot-distro/installed-rootfs/postmarketos/home/user/.phoshdroid-chowned

Install

Obtainium auto-updates from 0.0.6-alpha.

Manual:

adb install -r phoshdroid-0.0.7-alpha.apk

Tested on Android 16 / Pixel 9 Pro Fold.

Don't miss a new omdroid release

NewReleases is sending notifications on new releases.