| Subodh Karmarkar | 0f47dcf | 2014-05-13 16:18:14 +0530 | [diff] [blame] | 1 | Welcome to the SHIELD TABLET Open Source + Binary Driver Release. |
| 2 | |
| 3 | In this README, you will find sync, build, and flashing instructions. |
| 4 | |
| 5 | ========== |
| 6 | HowTo Sync: |
| 7 | ========== |
| 8 | |
| 9 | Syncing this release requires git and the repo tool from Google: |
| 10 | http://source.android.com/source/downloading.html#installing-repo |
| 11 | |
| 12 | mkdir ~/shieldtablet-open-source |
| 13 | cd ~/shieldtablet-open-source |
| Subodh Karmarkar | 46a6846 | 2014-09-30 12:24:25 -0500 | [diff] [blame] | 14 | repo init -u git://nv-tegra.nvidia.com/manifest/android/binary.git -b rel-st8-r2.5-partner -m tlk/kk_ardbeg.xml |
| Subodh Karmarkar | 0f47dcf | 2014-05-13 16:18:14 +0530 | [diff] [blame] | 15 | repo sync -j5 |
| 16 | |
| 17 | |
| 18 | ========== |
| 19 | HowTo Build: |
| 20 | ========== |
| 21 | |
| 22 | Building this release requires a Linux build environment configured to |
| 23 | build Android: http://source.android.com/source/initializing.html |
| 24 | |
| 25 | Additionally, you will be required to agree to license terms when extracting |
| 26 | the binary drivers. |
| 27 | |
| 28 | cd ~/shieldtablet-open-source |
| 29 | export TOP=`pwd` |
| 30 | cd vendor/nvidia/licensed-binaries |
| 31 | ./extract-nv-bins.sh |
| 32 | cd $TOP |
| 33 | . build/envsetup.sh |
| 34 | setpaths |
| 35 | lunch <product>-userdebug (See below table for selecting <product>) |
| 36 | mp dev |
| 37 | |
| 38 | ------------------------------------------------------------ |
| 39 | Sr.No.| SHEILD TABLET | <product> | |
| 40 | ------------------------------------------------------------ |
| 41 | 1. | With Modem and wifi | wx_un_mo | |
| 42 | ------------------------------------------------------------ |
| 43 | 2. | With data only (North America) | wx_na_do | |
| 44 | ------------------------------------------------------------ |
| 45 | 3. | With data only (Rest of world) | wx_un_do | |
| 46 | ------------------------------------------------------------ |
| 47 | 4. | With wifi only | wx_na_wf | |
| 48 | ------------------------------------------------------------ |
| 49 | |
| 50 | |
| 51 | ========== |
| 52 | HowTo Flash: |
| 53 | ========== |
| 54 | |
| 55 | Before flashing images from this build to your SHIELD TABLET, connect your SHIELD TABLET |
| 56 | via USB to the PC where you built this tree. |
| 57 | |
| 58 | Next, put your SHIELD TABLET into fastboot mode using following method: |
| 59 | SW method: |
| 60 | Boot to android home screen |
| 61 | Connect the device to linux system |
| 62 | Open terminal(on linux) |
| 63 | Type "adb reboot bootloader" in terminal |
| 64 | |
| 65 | HW method: |
| 66 | Turn off the device |
| 67 | Press "Volume Down" -> "Power", hold "Volume Down" and leave Power buttons till device boots |
| 68 | |
| 69 | If this is the first time you have done this procedure, you must unlock |
| 70 | your bootloader. To unlock your bootloader, run the following command |
| 71 | in a terminal: |
| 72 | |
| 73 | fastboot oem unlock |
| 74 | |
| 75 | Next do the following: |
| Subodh Karmarkar | 2bd9a09 | 2014-07-18 01:30:45 -0500 | [diff] [blame] | 76 | Press the "Volume Down" button to select "Unlock bootloader" option on device |
| 77 | Press the "Power" button to confirm the unlock |
| Subodh Karmarkar | 0f47dcf | 2014-05-13 16:18:14 +0530 | [diff] [blame] | 78 | |
| 79 | Your device's bootloader should now be unlocked. |
| 80 | |
| 81 | To flash images from this build to your SHIELD TABLET, run the following commands |
| 82 | from the same terminal where you did your build: |
| 83 | |
| 84 | cd $OUT |
| 85 | fastboot flash recovery recovery.img |
| 86 | fastboot flash boot boot.img |
| 87 | fastboot flash system system.img |
| 88 | fastboot flash userdata userdata.img |
| Subodh Karmarkar | 2bd9a09 | 2014-07-18 01:30:45 -0500 | [diff] [blame] | 89 | fastboot flash dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb |
| Subodh Karmarkar | 0f47dcf | 2014-05-13 16:18:14 +0530 | [diff] [blame] | 90 | fastboot reboot |
| 91 | |