Samsung & Android Tweaks – Telegram
Samsung & Android Tweaks
3.06K subscribers
458 photos
76 videos
67 files
210 links
Get the most out of your Samsung\Android device with Samsung & Android Tweaks. Join our channel for ROMs, TWRP recoveries, tips, and tutorials..❤️

For promos / Help : @ravindu (owner)
Random Dumps : @ravindu644
Download Telegram
Samsung & Android Tweaks
I'm fed up with broken "Nethunter for KSU" modules and bloated "official" installer I'm writing my own Nethunter installer for KSU, supporting both arm32 and arm64, and it will auto-convert Magisk Nethunter generic ZIPs to KernelSU/Unified format using GitHub…
Finally,

I cooked something better than Kali nethunter developers did 😉

I'll try to make my own version of Nethunter with a custom rootfs using modern methods instead of outdated ones from the Ice Age, one day xD

(Of course, not chroot, a real Kali Linux inside Android)

🗿

https://github.com/ravindu644/Kali-Nethunter-Unified/releases/tag/kali-nethunter-2025.4-generic-arm64-v2
🔥21🗿76❤‍🔥2🍌1
I might rename my Ubuntu-Chroot project by removing all references to "chroot"

This is because I've found a better method to run the Ubuntu rootfs without using chroot.

The hierarchy is as follows:

Level 1:

Chroot ( 🤡 )

Level 2:

pivot_root ( 😎 )

Level 3:

pivot_root + PID namespace isolation + Full init support ( 🗿 )

I'll upgrade from Level 1 to Level 2 if almost every device supports it :3

So, yeah; need a better name for this one too 😅
🔥134🗿4👨‍💻1
LXC-Android-beta3.zip
8.4 MB
Run LXC on Android !

*Still in the beta stage

What is LXC ?

- Unlike Docker, LXC allows you to run Linux containers with full init/systemd support. This is just my attempt to run LXC inside Android, even though it is made for real PCs.

Minimum requirements:


- PID namespace support
- devtmpfs support
- cgroup devices support

How to install?

- Flash using KernelSU/AP/Magisk Manager and reboot.

- Open a root shell.
- Type the following command to create a container:

lxc-create -n <container_name> -t download

Example:

lxc-create -n Ubuntu -t download

- Then, download the distro by choosing the appropriate, version, and architecture.

- After the download finishes, run it using:

lxc-start -n <container_name> -F

Example:

lxc-start -n Ubuntu -F

Do not read the README

Screenshots

@SamsungTweaks
4🐳1
Samsung & Android Tweaks
Introducing the first-ever project for Android that allows you to run a real Linux container inside Android, with full init, systemd, Docker, Flatpak, and Snap support, without any workarounds. It is not coded in low-level languages and uses only ~600 lines…
Droidspaces demonstration :)

*Written in pure C ; does not depend on BusyBox or any other Android binaries ; fully statically linked 🗿

Tested on Android 12–15 (4.14 and 5.15)

Requirements:

- devtmpfs support
- cgroup devices support
- PID, mount, IPC, and UTS namespace support

These can be easily enabled in GKI kernels. I'm working on that.

Testing: here

Example usage:

/data/local/tmp/droidspaces --rootfs=/data/local/ubuntu-rootfs --pidfile=/data/local/tmp/ubuntu.pid start -F  


@SamsungTweaks
🔥12🗿52👾2
Samsung & Android Tweaks
Droidspaces demonstration :) *Written in pure C ; does not depend on BusyBox or any other Android binaries ; fully statically linked 🗿 Tested on Android 12–15 (4.14 and 5.15) Requirements: - devtmpfs support - cgroup devices support - PID, mount, IPC,…
Current situation with droidspaces

- Everything is 99% stable
- Tested on Ubuntu, Fedora, Alpine, and openSUSE
- systemd is fully functional
- SSH and Tailscale are working perfectly
- Can be used as an isolated container or as a container with full hardware access
- Can be used in both foreground mode (booting with systemd) and background mode (systemd booting silently with terminal access)
- Ability to disable IPv6
- Ability to customize the hostname

etc.
🗿9🔥7
droidspaces-arm64-static-1.2.0-stable.tar.gz
300.1 KB
For testing: Droidspaces v1.2.0-stable

How to use? , Help

01. Extract the tarball to /data/local
02. Give droidspaces executable permissions using: chmod +x /data/local/droidspaces

03. Download any container tarball you want from: https://images.linuxcontainers.org/images/

- On older kernels, likely below GKI v2, you won't be able to run modern containers like Ubuntu 24.x+, Arch, Fedora, SUSE, etc.
- You are limited to Ubuntu 22.04 or Alpine Linux.

04. Extract it to /data/local using:

mkdir -p /data/local/my-rootfs
busybox tar -xvf /path/to/rootfs.tar.xz -C /data/local/my-rootfs


05. Finally, you can run the container using:

cd /data/local
./droidspaces --rootfs=/data/local/my-rootfs --pidfile=/data/local/rootfs.pid start -F


To configure the root password, open another terminal, enter a root shell, and change the password for the root user:

cd /data/local

#running inside Android
./droidspaces --rootfs=/data/local/my-rootfs --pidfile=/data/local/rootfs.pid enter

#run inside container
passwd root
53🔥1🍾1
Samsung & Android Tweaks
droidspaces-arm64-static-1.2.0-stable.tar.gz
For help:

a16xm:/data/local # ./droidspaces --help                                                                
Droidspaces v1.2.0-stable
by ravindu644
https://github.com/ravindu644/Droidspaces

Usage: ./droidspaces [OPTIONS] COMMAND

Required (one of):
--rootfs=PATH Path to rootfs directory
--rootfs-img=PATH Path to rootfs.img (ext4 image)
--pidfile=PATH Path to PID file

Optional:
--hostname=NAME Container hostname
--enable-ipv6 Enable IPv6 inside container (default: disabled)
--enable-android-storage Bind-mount /storage/emulated/0 into container
--hw-access Enable full hardware access
-F, --foreground Attach terminal to console

Commands:
start Start container
stop Stop container
restart Restart container
status Show status
enter [user] Enter shell
run [cmd...] Run command inside container
🗿42
Added support for compiling for all common architectures :)

So, no matter whether it is Linux or Android, ARM or x86, DroidSpaces will support everything :)

Edit: I know the name has "droid," which means it is made for Android. The reason I added Linux support is that it also just worked on my Linux PC :)
❤‍🔥62🤩1
stress testing by running multiple containers :)
4🔥2🗿2