Droidspaces
1.21K subscribers
243 photos
26 videos
31 files
105 links
Download Telegram
πŸ”₯6❀1πŸ’©1
Implemented resource isolation and resource virtualization

After this change, you'll be able to limit how much RAM a container can allocate, how many CPU cores a container can have, and the process limit a container can reach.

That means a bad container can never kill the host! :)

Also, it spoofs CPU, RAM, Uptime, Load AVG, and other metrics to match our resource limitations.

Huge thanks to maazm7d for this patch!
πŸ‘4πŸ”₯4πŸ—Ώ3😱2πŸ’©1
Added the ability to boot a custom init binary or execute a script, just like Docker does.

This means you can choose /bin/bash as the init, start the container, and use it like an isolated pivot_root container without relying on systemd screaming about an old kernel version.

TLDR: A cool hack to sneak into the container without systemd, exactly how Docker works. You can even boot Arch Linux on a potato kernel.

Testing:

https://t.me/DroidspacesCI/337?single
πŸ”₯5❀1πŸ’©1πŸ—Ώ1
Droidspaces Official rootfs release πŸŽ‰

Supported distros:
β”œβ”€β”€ 01. Ubuntu 22.04
β”‚ β”œβ”€β”€ Minimal
β”‚ └── Base
β”œβ”€β”€ 02. Ubuntu 24.04
β”‚ β”œβ”€β”€ Minimal
β”‚ β”œβ”€β”€ Base
β”‚ └── XFCE
β”œβ”€β”€ 03. Debian 13
β”‚ β”œβ”€β”€ XFCE
β”‚ β”œβ”€β”€ Minimal
β”‚ └── Base
β”œβ”€β”€ 04. Arch Linux
β”‚ β”œβ”€β”€ Minimal
β”‚ └── Base
└── 05. Alpine Linux
β”œβ”€β”€ Minimal
└── Base


🟒 Downloads:

https://github.com/Droidspaces/Droidspaces-rootfs-builder/releases/latest

πŸ“ Notes:

XFCE releases do not have built-in Turnip support for compatibility with newer Adreno GPUs.

That means you have to manually install Mesa from https://github.com/lfdevs/mesa-for-android-container
❀8πŸ”₯3πŸ’©2
Reliability of Droidspaces containers..!

It's been 16 days since I touched my Galaxy S10.

I just set it up and forgot it. Using my setup every day, including Jellyfin and Gitea.

I think we did something extraordinary for the Linux on Android community..

Like, this is every Linux enthusiast's dream :)
πŸ”₯16❀5πŸ—Ώ3πŸ’©1
Do you guys love this match distro icons for installed containers option I just added?

Supports 22 distros including FreeBSD
❀16🀩5πŸ’©1
Added native binfmt_misc support to the official rootfs tarballs

That means, in our official Debian and Ubuntu rootfs tarballs, you can run any binary from foreign architectures like x86_64 natively using QEMU, just as you would run a native binary, even with full hw access !

Currently, this feature is only available in Debian and Ubuntu tarballs. We will expand support to Arch and Alpine in the future if possible.

Testing:

https://github.com/Droidspaces/Droidspaces-rootfs-builder/releases/latest

Kernel requirements:

CONFIG_BINFMT_MISC=y
CONFIG_BINFMT_SCRIPT=y
CONFIG_BINFMT_ELF=y


@Droidspaces
3❀13πŸ—Ώ2πŸ₯°1πŸ’©1
Droidspaces now has a CONTRIBUTING.md

If you're planning to submit a PR, read it before you open one.

https://github.com/ravindu644/Droidspaces-OSS/blob/main/CONTRIBUTING.md

Short version:

- Your feature must work on kernel 3.10+. No exceptions.
- Must be tested across multiple SoCs and OEMs, not just your device.
- Android-only code must be guarded with is_android(). Linux is a supported target.
- Android app changes must not break Android 8.
- If your feature is merged, you own it. If it breaks later and you're gone, it gets removed.
- PRs that solve nothing, add bloat, or ignore these rules get closed. Repeat offenders get blocked.

A feature that doesn't exist is better than a broken implementation.


@Droidspaces
2πŸ—Ώ15πŸ’©1
Kid: Can we have Azure?
Mom: We have Azure at home.
Azure at home:
πŸ—Ώ16😭5❀1😁1πŸ’―1
This media is not supported in your browser
VIEW IN TELEGRAM
😁5πŸŽ‰3❀2πŸ”₯1😒1
Droidspaces v6.2.0 has been released! πŸ₯³

What's new?

- Added resource virtualization support. This means you'll see a unique uptime and loadavg for your container with this update. For example, fastfetch will now show the correct container uptime instead of the host's!
- Added support for limiting CPU, RAM, and PIDs (CLI only)
- Added custom init support
- app: added custom icons for 23 popular Linux distributions in containers and the panel tab
- backend: fixed a race condition that randomly nuked container.config


and misc. UI improvements and bug fixes.

Full Changelog and Downloads:

https://github.com/ravindu644/Droidspaces-OSS/releases/tag/v6.2.0

@Droidspaces
4πŸ”₯15πŸ—Ώ2❀1πŸ‘1πŸ’©1