blob: f7f24a9b59517dde1a06ee51ad877a49b17349ea [file] [log] [blame]
Subodh Karmarkar0f47dcf2014-05-13 16:18:14 +05301Welcome to the SHIELD TABLET Open Source + Binary Driver Release.
2
3In this README, you will find sync, build, and flashing instructions.
4
5==========
6HowTo Sync:
7==========
8
9Syncing this release requires git and the repo tool from Google:
10http://source.android.com/source/downloading.html#installing-repo
11
12mkdir ~/shieldtablet-open-source
13cd ~/shieldtablet-open-source
Subodh Karmarkar46a68462014-09-30 12:24:25 -050014repo init -u git://nv-tegra.nvidia.com/manifest/android/binary.git -b rel-st8-r2.5-partner -m tlk/kk_ardbeg.xml
Subodh Karmarkar0f47dcf2014-05-13 16:18:14 +053015repo sync -j5
16
17
18==========
19HowTo Build:
20==========
21
22Building this release requires a Linux build environment configured to
23build Android: http://source.android.com/source/initializing.html
24
25Additionally, you will be required to agree to license terms when extracting
26the binary drivers.
27
28cd ~/shieldtablet-open-source
29export TOP=`pwd`
30cd vendor/nvidia/licensed-binaries
31./extract-nv-bins.sh
32cd $TOP
33. build/envsetup.sh
34setpaths
35lunch <product>-userdebug (See below table for selecting <product>)
36mp dev
37
38------------------------------------------------------------
39Sr.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==========
52HowTo Flash:
53==========
54
55Before flashing images from this build to your SHIELD TABLET, connect your SHIELD TABLET
56via USB to the PC where you built this tree.
57
58Next, put your SHIELD TABLET into fastboot mode using following method:
59SW 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
65HW method:
66 Turn off the device
67 Press "Volume Down" -> "Power", hold "Volume Down" and leave Power buttons till device boots
68
69If this is the first time you have done this procedure, you must unlock
70your bootloader. To unlock your bootloader, run the following command
71in a terminal:
72
73fastboot oem unlock
74
75Next do the following:
Subodh Karmarkar2bd9a092014-07-18 01:30:45 -050076 Press the "Volume Down" button to select "Unlock bootloader" option on device
77 Press the "Power" button to confirm the unlock
Subodh Karmarkar0f47dcf2014-05-13 16:18:14 +053078
79Your device's bootloader should now be unlocked.
80
81To flash images from this build to your SHIELD TABLET, run the following commands
82from the same terminal where you did your build:
83
84cd $OUT
85fastboot flash recovery recovery.img
86fastboot flash boot boot.img
87fastboot flash system system.img
88fastboot flash userdata userdata.img
Subodh Karmarkar2bd9a092014-07-18 01:30:45 -050089fastboot flash dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb
Subodh Karmarkar0f47dcf2014-05-13 16:18:14 +053090fastboot reboot
91