ReferencePlatforms/mobile-imaging-android-tegra
Jump to navigation
Jump to search
Set up a Windows imaging netbook for Android 2.2 Tegra 250
Requirements
- These instructions are for 32 bit Windows 7
- it's doable with 64 bit, but no docs here
- it's doable with linux, but no docs here
- it's probably doable with other flavors of Windows, but not tested
- USB port
- SD card port
Basic first install steps
- Log in as an administrator.
- Install Cygwin (Choose full install).
- Create a base directory. I chose c:/android-tegra
- Download the Android SDK zip.
- I extracted this into c:/android-tegra/android-sdk-windows
- Download the Tegra 250 Support pack installer. The PDF is helpful; you need the MSI.
- I installed this into c:/android-tegra/android_tegra_250_FroyoOV5650
- Install USBDeview (search CNet for a newer or 64 bit version if necessary).
- I extracted this into c:/android-tegra/usbdeview
Fix ADB
ADB doesn't work out of the box for the Tegras. The first two posts here are very important.
To allow the netbook to use ADB with the Tegras:
# Create ~/.android/adb_usb.ini cd /cygdrive/c/Documents\ and\ Settings/Mozilla\ Corporation mkdir .android cd .android echo "0x955" > adb_usb.ini # Edit android_winusb.inf cd /cygdrive/c/android-tegra/android-sdk-windows/usb_driver cp android_winusb.inf android_winusb.orig
Edit android_winusb.inf. For a 32 bit machine, in the [Google.NTx86] section, add the following lines:
;NVIDIA Tegra %SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000 %CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01
Create startup scripts
I created a c:/android-tegra/android-tegra.bat:
@echo off rem android imaging startup batch script c: chdir c:\cygwin\bin bash --init-file /cygdrive/c/android-tegra/android-tegra.sh
I created a c:/android-tegra/android-tegra.sh:
# android imaging env export TEGRA_DIR=/cygdrive/c/android-tegra/android_tegra_250_FroyoOV5650 export PATH=/usr/local/bin:/usr/bin:/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/lib/lapack:$TEGRA_DIR:/cygdrive/c/android-tegra/android-sdk-windows/tools cd $TEGRA_DIR export PS1="\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ "
(I basically did echo $PATH >> filename and echo $PS1 >> filename and edited accordingly, adding $TEGRA_DIR and the android-sdk-windows/tools directory to the PATH.)
Create shortcuts
android_install
- Copy your Cygwin Bash Shell shortcut on the desktop.
- Rename to android_install
- Right click, Properties -> Shortcut
- Change the target to c:\android-tegra\android-tegra.bat
- Start in: c:\android-tegra