Connect USB peripherals to your Galaxy Nexus (aka. i9250)
Details and examples on my Nexus One page.
Changes in procedures for Android 4.2.2 build JDQ39:
Kernel and modules
- Download binaries…
- …or build from source
- git clone https://android.googlesource.com/platform/prebuilt
- git clone https://android.googlesource.com/kernel/omap.git
cd omap
git checkout 9f818de
- wget "http://sven.killig.de/android/Galaxy/i9250/usb_host/config" -O .config
- export DST=/install_mod_path
make -j2 ARCH=arm SUBARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- modules
make -j2 ARCH=arm SUBARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- INSTALL_MOD_PATH=$DST modules_install
rm $DST/lib/modules/*/build
rm $DST/lib/modules/*/source
- adb push $DST /mnt/sdcard
- fastboot flash:raw boot zImage boot.img-ramdisk_sonic.gz
HID input devices
USB storage
Ethernet (ASIX based)
External displays
- If firmware is required:
- adb push dvb-usb-dib0700-1.20.fw /sdcard/lib/firmware/dvb-usb-dib0700-1.20.fw
- su
mount -o remount,rw /dev/block/platform/omap/omap_hsmmc.0/by-name/system /system
ln -s /sdcard/lib/firmware/dvb-usb-dib0700-1.20.fw /vendor/firmware/dvb-usb-dib0700-1.20.fw
mount -o remount,ro /dev/block/platform/omap/omap_hsmmc.0/by-name/system /system
- Script to load modules (autostarted from /data/local/bin by LiveTV, which is autostarted when the USB receiver is plugged in)
Sven Killig 2012