In this tutorial I will show you one of methods how to install Arch linux together with your android system on your phone.
This method WILL NOT REPLACE your current android system and is safe to use for everybody. It uses independent file which is mounted and you are chrooted to this system. After you can connect via SSH, VNC directly from your phone, PC …
This tutorial was tested on Xiaomi Redmi Note 2 mobile phone:
|IPS LCD capacitive touchscreen, 16M colors
|5.5 inches (~71.5% screen-to-body ratio)
|1080 x 1920 pixels (~403 ppi pixel density)
|– MIUI 7.0 – latest weekly update
|Android OS, v5.0 (Lollipop)
|Mediatek MT6795 Helio X10
|Octa-core 2.2 GHz Cortex-A53 (64bit)
|microSD, up to 32 GB – Chinese version only
|32 GB, 2 GB RAM
As a linux distribution I prefer Arch linux with Xfce4.
You will also need some space on your memory/microSD for your linux system (in my case 4GiB)
Run program Linux Deploy and firstly we need to install/download our linux distribution:
choose your distro
architecture – in my case aarch64
You can also change all other settings – all is well described and intuitive. Above options are the basics.
When you finish your setup you can run Installer and after couple of minutes all will be done:
When you finished installation you can start your new system:
Just now you can login via SSH, VNC directly from your phone or from your computer and work with Arch linux (or other distro) as usual
pass: changeme , of course, it is highly recommend to change it 🙂
When your work is done you can STOP your linux system:
This tutorial is one of most tutorials how to get working your favorite distribution on your phone. There are many possibilities – some of them replace your system, other ones can coexists and work in background. The usage of this solution is up to you – for example you can use your phone for penetration testing – using Kali Linux or you can only try the possibilities and improve your knowledges or test other distributions during business trip 😉
On some next tutorial we can learn how to fully replace your android system with your favourite linux distribution.