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 mobil phone:
|Display||Type||IPS LCD capacitive touchscreen, 16M colors|
|Size||5.5 inches (~71.5% screen-to-body ratio)|
|Resolution||1080 x 1920 pixels (~403 ppi pixel density)|
|– MIUI 7.0 – latest weekly update|
|Platform||OS||Android OS, v5.0 (Lollipop)|
|Chipset||Mediatek MT6795 Helio X10|
|CPU||Octa-core 2.2 GHz Cortex-A53 (64bit)|
|Memory||Card slot||microSD, up to 32 GB – Chinese version only|
|Internal||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
and desktop environment
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 favourite 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.