Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2012-03-13 18:47:49
Size: 968
Editor: ?NeilStockbridge
Comment:
Revision 4 as of 2012-03-13 19:54:41
Size: 1247
Editor: ?NeilStockbridge
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Debian chroot on Android =   == Installing a Debian chroot on Android ==
Line 13: Line 14:
Then, on a workstation ( any architecture), insert the uSD card, and: Then, on a workstation ( any architecture), insert the µSD card, and:
Line 19: Line 20:
Then remove the uSD card and replace it in the phone, then: Then remove the µSD card and replace it in the phone, start SSHDroid and SSH to the phone, then:
Line 26: Line 27:

Then build up the Debian system as you normally would a minimal installation.

Many thanks to all the people whose hard work made it so trivial for me to install the environment I know and love on my phone.

Installing a Debian chroot on Android

This is an account of installing vanilla full-fat Debian squeeze in a chroot on Android.

This was tested on a Vodafone 845 ( a re-branded HuaWei u8120 / Joy / Ascend).

  • First, the phone was rooted by side-loading z4root

  • CyanogenMod 7.2.0-RC0 22b was flashed. This might not be necessary though

  • Set CPU to 710 MHz with the performance governor. YMMV

  • Side-loaded SSHDroid
  • The SD card was formatted with the MBR scheme and a single ext3 partition was created. 15 sectors were left over

Then, on a workstation ( any architecture), insert the µSD card, and:

  sudo debootstrap --arch=armel --variant=minbase --foreign  squeeze  /media/PHONE\ CARD/squeeze  http://mirror.local:9999/debian

Then remove the µSD card and replace it in the phone, start SSHDroid and SSH to the phone, then:

  mount -o remount,exec,dev /mnt/sdcard/
  chroot /mnt/sdcard/squeeze/  /bin/bash
  debootstrap/debootstrap --second-stage

Then build up the Debian system as you normally would a minimal installation.

Many thanks to all the people whose hard work made it so trivial for me to install the environment I know and love on my phone.