This is also one of my side projects, came way before Droidspaces.
To use
It even supports dynamic namespace isolation, hardware access, rootfs.img support, post-exec scripts as a replacement for init, running at boot even the device is locked and encrypted, etc.
Even though this is more primitive than the Droidspaces project, it still provides basic Linux on Android.
v4.4 was released with fixes related to BusyBox. From now on, we specifically use our custom BusyBox to perform certain shell operations.
https://github.com/ravindu644/Ubuntu-Chroot/releases/tag/v4.4
To use
ubuntu-chroot, you only need root access. No kernel configuration needed. It just works.It even supports dynamic namespace isolation, hardware access, rootfs.img support, post-exec scripts as a replacement for init, running at boot even the device is locked and encrypted, etc.
Even though this is more primitive than the Droidspaces project, it still provides basic Linux on Android.
v4.4 was released with fixes related to BusyBox. From now on, we specifically use our custom BusyBox to perform certain shell operations.
https://github.com/ravindu644/Ubuntu-Chroot/releases/tag/v4.4
π₯°1π©1
Added an official guide on how to compile a kernel with Droidspaces support for any GKI device:
https://github.com/ravindu644/Droidspaces-OSS/blob/main/Documentation/Kernel-Configuration.md
You can now compile the kernel just like a legacy non-GKI kernel and flash only the boot.img or compiled kernel Image, without worrying about ABI or LKM compatibility π₯³
@Droidspaces
https://github.com/ravindu644/Droidspaces-OSS/blob/main/Documentation/Kernel-Configuration.md
You can now compile the kernel just like a legacy non-GKI kernel and flash only the boot.img or compiled kernel Image, without worrying about ABI or LKM compatibility π₯³
@Droidspaces
π₯5β€4π1π©1πΏ1
Droidspaces
:)
Initial guide:
https://github.com/ravindu644/Droidspaces-OSS/blob/main/Documentation/Cool-things-you-can-do.md
Will add hardware hacking as well in near-future :)
https://github.com/ravindu644/Droidspaces-OSS/blob/main/Documentation/Cool-things-you-can-do.md
Will add hardware hacking as well in near-future :)
πΏ3π©1
Hosted my own Git server and VS Code server, only accessible to me via Tailscale :)
Everything works with just one click.
No trial and error.
So, my S10 officially runs:
- Tailscale
- Samba
- Jellyfin
- Fail2ban
- UFW
- Docker
- MySQL server
- Getea
- VS Code server
- OpenSSH server
All under 3GB of RAM usage (including Android) and under 5% idle CPU usage.
Nothing is impossible :)
Everything works with just one click.
No trial and error.
So, my S10 officially runs:
- Tailscale
- Samba
- Jellyfin
- Fail2ban
- UFW
- Docker
- MySQL server
- Getea
- VS Code server
- OpenSSH server
All under 3GB of RAM usage (including Android) and under 5% idle CPU usage.
Nothing is impossible :)
π₯10π3π©1
Droidspaces
Photo
Well, why not? π
The uptime got messed up when I was setting up HTTPS :)
Even this is more powerful than the latest RPI 5 in benchmarks.
The only caveat is this phone isn't using the latest Linux kernel, as that's the nature of old Android :(
The uptime got messed up when I was setting up HTTPS :)
Even this is more powerful than the latest RPI 5 in benchmarks.
The only caveat is this phone isn't using the latest Linux kernel, as that's the nature of old Android :(
π₯4π©1πΏ1
Droidspaces v5.8.0 has been released..!
https://github.com/ravindu644/Droidspaces-OSS/releases/tag/v5.8.0
What's new?
TLDR:
@Droidspaces
https://github.com/ravindu644/Droidspaces-OSS/releases/tag/v5.8.0
What's new?
- mount: slave-bind host /dev/block in --hw-access mode (fixes external storage not visible inside the container)
- hardware: mirror missing GPU nodes into devtmpfs on hw_access boot
- ds_dhcp: fix misaligned iphdr access in send_reply
- net: use kernel ip rule as primary upstream detection on Android (100x better upstream detection on wildcards π₯³)
- app: removed global uptime from the 'System Statistics' card and using per-container uptime in the container info menu
- Modify service.sh to update module description
- fix: Introduce Termux environment detection and prevent --termux-x11 killing termux, when running the droidspaces ... command within Termux
- app+backend: Decouple Hardware Access and Termux-X11 features
- app: implement Material You Accent color picker
- fix(backend): sort bind mounts alphabetically to prevent shadowing
- feat: implement port range forwarding
- fix: serialize DHCP "started" log via cond var to eliminate race with port-forward and boot logs
- fix: persist port-forward state file to guarantee full rule cleanup on stop
TLDR:
- 100x better upstream detection. Now you can hop between SIM1/SIM2 mobile data + WiFi without dropping any requests.
- Added Docker-like port range forwarding support.
- Mirrors GPU nodes from host to container if the containerβs devtmpfs doesnβt have the detected nodes
@Droidspaces
π₯5πΏ2π©1