OpenWrt Target for Android (Samsung Galaxy Tab) =============================================== Note: very first alpha version - needs improvement * Run programs compiled with the OpenWrt toolchain on the SGT. * You can install in /data/local on SGT (no root required) * You can compile yourself (e.g. if you miss a package) Installation requires that you can run adb (Android Debugging Brige program via USB) or at least have the ConnectBot app: 1) Mount internal SD-Card to your PC 2) Unpack data-local.tgz on SD, e.g. to ./bla/ 3) Remount internal SD-Card on SGT 4) Call up local shell (no root required) 5) > cd /data/local 6) > cp -a /sdcard/bla/* . 7) > exec /data/local/bin/busybox ash --login Currently included: openvpn, mtr, tcpdump, ip, tc, iptables, ip6tables strace, iwconfig, olsrd, horst, busybox, and a etc/profile with some aliases and env settings. Note: ncurses does not work (TERM missing) Compile on you PC: 1) Setup OpenWrt Toolchain (see http://wiki.openwrt.org/doc/howto/build) > svn co svn://svn.openwrt.org/openwrt/branches/backfire > cd backfire > ./scripts/feeds update -a > ./scripts/feeds install -a 2) Unpack new target: > tar xvzf /tmp/backfire-sgt.tgz Note: kernel patches from opensource.samsung.com/sgt download 3) Patch some things > patch -p1 < target/linux/sgt/sgt-openwrt-buildroot.patch 4) Configure the beast > cp target/linux/sgt/sgt-openwrt-config .config > make menuconfig (Change options if you like, save new config) 5) Compile > make V=99 -j 2 If you have e.g. a new package, you'll find the below bin/sgt/packages/*.ipk. Those can be unpacked with tar, e.g. "tar xvzf mtd*.tgz". The "data.tar.gz" in that ipk can be unpacked below /data/local on the SGT. // Sven-Ola, Nov-02 2010