Skip to content

Install Arch Linux x86 or ARM on Linux Deploy

Danct12 edited this page Jul 26, 2018 · 8 revisions

Requirements:

  • A phone, that is fast enough, or just have decent specs like 3 GB of RAM or 4.
  • Android 4 or above (meefik ended support for android 3 and below), in this case, I use Oreo (Resurrection Remix 6.0.0), which is Android 8.1.0
  • Bootloader unlocked, rooted. (If you don't have root, you can use proot instead of chroot in the settings, but that's no fun)
  • A kernel that supports loop devices
  • Physical keyboard/mouse (optional, but recommended for a full experience)

Have enough requirements? Let's go!

Download Linux Deploy: https://play.google.com/store/apps/details?id=ru.meefik.linuxdeploy After done, launch the app and move on to settings, in there:

  • Select Arch Linux as your distro.
  • For architecture, if your phone is 64-bit on ARM, choose aarch64, if you don't know what is your architecture, google for your phone CPU and see what is the architecture of your CPU, you can however use x86 emulation on Linux Deploy, by selecting x86_64 (64-bit) or i686 (32-bit), but this will only work if your kernel is compiled to support binfmt_misc. Otherwise, DO NOT SELECT 64-BIT IF YOUR PHONE ISN'T 64-BIT, OR IT WILL NOT WORK. AND MAKE SURE YOU SELECTED THE CORRECT ARCHITECTURE..
  • Select the mirror, but I'd recommend you left it default, it is much more stable than custom mirrors.
  • For disk size, that's your own choice but i'd recommend about 6 GB as minimum.
  • For file system, select ext4.
  • Localization: en_US.UTF-8 or yourregion.UTF-8.
  • Enable the init system, ssh, and GUI. I recommend X11 which uses XServer XSDL if you don't use VNC, framebuffer might work, but only if you're very lucky then, it'll. But beside that you'll also lose call/sms and the ability to interact with other android applications. There'll be your desktop environment (or just choice Others if you prefer i3wm like me), it's your choice, I don't care. 😄

After done, click back, and click the 3 dots icon on top right corner, then click "Install", let it do, and when a Superuser request box pops up, allow it and sit back, no hands. You probably want to go and change the display turn off time to none.

When you see > deploy at the end , it's done, you can start it now.

You can do SSH to your phone, in case if you want to do modifications.

If you don't like any of those desktop environment, you can switch by following here: https://github.com/Danct12/linux-deploy-in-daily-use/wiki/Use-a-different-DE-or-WM

Running a chroot environment? Looking for people with the same attitude?

Join our discord: https://discord.gg/AvtdRJ3

Clone this wiki locally