Home > Android, NVidia Tegra 4, Programming, Testing > NVIDIA Releases Source Code, Binaries, and Android Build Instructions for the SHIELD Gaming Console

NVIDIA Releases Source Code, Binaries, and Android Build Instructions for the SHIELD Gaming Console

This morning I’ve read bad news for the open source community. Jean-Baptiste Quéru, leader of the Android Open Source Project (AOSP) has decided to quit the project because AOSP cannot run on the latest Nexus 7 as Qualcomm (lawyers) impeded the project, and Google is unable to released factory images or necessary binary drivers for the GPU. But there’s also good news, as Nvidia has just released source code and binaries to allow developers to fully build an Android image for its SHIELD gaming console.

Nvidia_Shield

If you want to build an image for the latest image available, following the steps below.

  1. Get the code
    mkdir ~/shield-open-source
    cd ~/shield-open-source
    repo init -u git://nv-tegra.nvidia.com/manifest/android/binary.git -b rel-roth-ota-1-partner -m secureos/jb_roth.xml
    repo sync -j5
  2. Build the Android image (Provided you’ve already setup your Linux PC do build AOSP):
    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

Done (mp dev took  about one hour for my machine). You should now have the required binary images in out/target/product/roth/ directory. Enter fastboot mode before flashing the binaries by one of two methods:

  • Software method – Boot to android home screen, connect the device to Linux terminal, and type: “adb reboot bootloader” in terminal
  • Hardware method – Turn off the device, and press and hold “Back”+”Home”+”SHIELD” buttons until device boots

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

You’re all done at this stage.

In case you want to revert to the factory image, Nvidia also provide a factory image recovery data file package that you need to extract, and flash as per the instructions above.

Via Liliputing

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

Categories: Android, NVidia Tegra 4, Programming, Testing Tags: Android, Linux, games, how-to, kernel, nvidia, open source
  1. manny
    August 8th, 2013 at 21:42 | #1

    1-sad
    2-nice

  2. Marius
    August 9th, 2013 at 02:13 | #2

    Google should have just hired the Freedreno developer and 1-2 other people and used that for their Nexus images but they don’t really have the balls and don’t want to upset Qualcomm.
    No worries though some fully open source ( including GPU ) Intel Merifield SOCs are comming real soon and then “The Empire Strikes Back” with their x86 “death star” architecture too :).
    It’s funny, it’s ironic but it’s true. If someone told me a couple of years ago that I’d be anxiously waiting for a x86 smartphone SOC I would have called him crazy.
    As for this Nvidia Shield thingy all’s good but it’ll be hard for me to spend this much on a gaming console. I was looking at some Chinese ones under $100. I only with those were open source …. sadly they’re not.

  3. thorfin
    August 9th, 2013 at 15:52 | #3

    Do you think we can now install the SHIELD rom on another hardware than the SHIELD controller?
    On a 10″ tegra4 tablet for instance…

  4. August 9th, 2013 at 16:07 | #4

    @thorfin
    Not directly. This would require some work to adapt the kernel (and the bootloader?) to the tablet hardware.

  5. January 11th, 2014 at 11:02 | #5

    The shield has even landed on DX. For $500, It’s more like PriceExtreme, as you can find it on Amazon for $250.

  1. No trackbacks yet.