librelist archives

« back to archive

Debian in Android

Debian in Android

Ron DuPlain
2010-02-09 @ 05:42
I finally got around to flashing my T-Mobile G1 this weekend,
installing Android 1.6 with CyanogenMod.  Overall, the device runs
really well, but what is really fun: running Debian in a chroot within
Android (needs root access, which many Android mods provide).  The
device continues to function as usual, but you have access to all
debian packages via terminal or ssh.

Instructions are here:

These instructions are still mostly relevant, but you must take note
of what busybox you have installed on your Android device.  Also, I
didn't want to bother building linux modules for my device to load an
ext2 image, so I made an ext4 partition on my SD card.  It's fun: git,
python, perl, haskell, ruby, erlang, ... I loaded up CouchDB, and I
like the idea of using it's baked in replication for building offline
apps for my Android devices.

I should have done this a year ago.

Any ideas?


PS - I'm not sure how easy it is to get a root shell on Droid or
NexusOne, but I'm sure you can do it.