blob: 18eca454280846dd153f9c0c1b3f06f975d40469 [file] [log] [blame]
Welcome to the SHIELD Open Source + Binary Driver Release.
In this README, you will find sync, build, and flashing instructions.
==========
HowTo Sync:
==========
Syncing this release requires git and the repo tool from Google:
http://source.android.com/source/downloading.html#installing-repo
mkdir ~/shield-open-source
cd ~/shield-open-source
repo init -u git://nv-tegra.nvidia.com/manifest/android/binary.git -b rel-roth-r3-partner -m secureos/jb_roth.xml
repo sync -j5
==========
HowTo Build:
==========
Building this release requires a Linux build environment configured to
build Android: http://source.android.com/source/initializing.html
Additionally, you will be required to agree to license terms when extracting
the binary drivers.
cd ~/shield-open-source
export TOP=`pwd`
cd vendor/nvidia/licensed-binaries
./extract-nv-bins.sh
cd $TOP
. build/envsetup.sh
setpaths
lunch thor-userdebug
mp dev
==========
HowTo Flash:
==========
Before flashing images from this build to your SHIELD, connect your SHIELD
via USB to the PC where you built this tree.
Next, put your SHIELD into fastboot mode using one of the following methods:
SW method:
Boot to android home screen
Connect the device to linux system
Open terminal(on linux)
Type "adb reboot bootloader" in terminal
HW method:
Turn off the device
Press and hold "Back"+"Home"+"SHIELD" buttons till device boots
If this is the first time you have done this procedure, you must unlock
your bootloader. To unlock your bootloader, run the following command
in a terminal:
fastboot oem unlock
Next do the following:
Press the Home button on the device to highlight "Unlock"
Press the SHIELD button to confirm the unlock
Your device's bootloader should now be unlocked.
To flash images from this build to your SHIELD, run the following commands
from the same terminal where you did your build:
cd $OUT
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash dtb tegra114-roth.dtb