note: bit of unix-skills (vi e.g.) is needed (a very good investment for your future)
- install ssh-droid thru playstore, or download/open its .apk file after googling
- open ssh-droid
- on another laptop/computer ssh into your android device
- type
mkdir alpine
in your homefolder - download the following shellscript below by typing:
wget https://gist.githubusercontent.com/coderofsalvation/43d7d476dc5eeba98926b9437e52bb49/raw/27980cdb3d2dd2c49968549bc696f7e9ac3c17bc/install.sh && chmod 755 install.sh
- update
ARCH=
to your architecture (surf to http://nl.alpinelinux.org/alpine to see the supported ones) - update
INSTALL=
to your chroot-folder location (absolute path) - run
./install.sh
- profit!
now run this script (
./alpine.sh
e.g.) to teleport into your alpine distro!
#!/bin/sh
INSTALL='/data/data/berserker.android.apps.sshdroid/home/alpine'
mount -o bind /dev $INSTALL/dev # access all devices (usb etc) from linux
HOME=/root chroot $INSTALL bash
Is this for rooted devices only?