Debian on Android

on 2014-08-28

I miss my N9 sometimes, the nice terminal and Debian based OS, but I must move on!

I've successfully installed Debian with LilDebi on my Android phone.

It does all the install process and setup of cdebootstrap for you. Then, you have a GUI to start or stop the chroot.

I made an ansible provisioning to finish my installation (you have to install python manually on the phone).

- remote_user: root
  hosts: android
  sudo: no
  tasks:
    - locale_gen: name={{ item }} state=present
      with_items:
        - en_US.UTF-8
        - fr_FR.UTF-8

    - name: ensure packages list is at the latest version
      apt: update_cache=yes cache_valid_time=3600

    - apt: pkg={{ item }} state=present install_recommends=no
      with_items:
        - python-apt
        - python-apt-common
        - tmux
        - vim
        - tree
        - psmisc
        - zsh
      environment:
        PATH: "$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

Resource