Skip to content

An alpine chroot for android users (requires root and busybox)

License

Notifications You must be signed in to change notification settings

youmukonpaku1337/powerbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

92c8c67 · Feb 1, 2023

History

51 Commits
Feb 2, 2022
Feb 1, 2023
Feb 4, 2022
Feb 7, 2022
Feb 2, 2022

Repository files navigation

powerbox

An alpine chroot for android users (requires root and busybox)

Why?

Because I can.

How to use?

This script sets up the chroot at /linux, creates a 10gb image and adds a shell script to mount all the stuff at /sdcard/mountimg.sh to run it, just enter the Android root shell and run:

curl https://raw.githubusercontent.com/barokvanzieks/powerbox/main/powerbox.sh | sh

and you should be done!

How the is the archive so small?

Because the alpine rootfs is small: only 3mb and the rest is just packages, plus the archive is compressed with gzip

Can I run services in it?

Yes, openrc is available.

The alpine wiki should have all you need

Where can I get the chroot tarball only, instead of a script?

at releases, 0.2 soon.

Can I run this on my PC?

Yes.

What's the password?

The default passwords are powerbox for root and powerbox for the powerbox user.

What are the tweaks you made?

installed zsh, doas, mpv, openssh, bat, nnn, bash, wget, curl, alpine-sdk, github-cli, git, alpine-base

added the inet group to get socket access to use internet

added the powerbox and root user to inet group

did some stuff to make openrc work (just symlinked some file to make it think that /run/openrc/softlevel exists)

did some tweaks of the /etc/profile (changed PS1)

installed gcc

installed powerlevel10k for the powerbox user

configured doas to permit root without a password and to permit the powerbox user with a password