No description, website, or topics provided.
Shell
Latest commit 9fd571e Jul 24, 2013 @jredestig jredestig Update remove-projects
Permalink
Failed to load latest commit information.
overlay/frameworks/base/core/res/res/values Make sure we don't show emergency dialer May 29, 2013
rootdir Initial SGP321 device support May 17, 2013
AndroidProducts.mk
BoardConfig.mk Initial SGP321 device support May 17, 2013
README.md Update remove-projects Jul 24, 2013
full_sgp311.mk
full_sgp321.mk Removed aapt config Jun 3, 2013
kernel Initial SGP321 device support May 17, 2013
kernel.windy
vendorsetup.sh Adding lunch helper for sgp311 May 29, 2013

README.md

Copyright (C) Sony Mobile Communications 2013

This is the Android device configuration for Xperia Tablet Z (SGP321 and SGP311).

To setup a tree and build images for the device do the following:

repo init as described by Google over at: http://source.android.com/source/downloading.html

Put the following snippet in .repo/local_manifests/sgp321.xml:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote  name="sony" fetch="git://github.com/sonyxperiadev/" />

<remove-project name="platform/hardware/qcom/display" />
<remove-project name="platform/hardware/qcom/keymaster" />
<remove-project name="platform/hardware/qcom/media" />
<remove-project name="platform/hardware/qcom/msm8960" />
<remove-project name="platform/hardware/qcom/power" />
<remove-project name="platform/hardware/qcom/sensors" />
<remove-project name="platform/hardware/invensense" />
<remove-project name="platform/hardware/akm" />

<project path="device/sony/lagan" name="device-sony-lagan" groups="device" remote="sony" revision="master" />
<project path="device/sony/sgp321" name="device-sony-sgp321" groups="device" remote="sony" revision="master" />
<project path="vendor/sony/dash" name="DASH" groups="device" revision="master" remote="sony" />
</manifest>

Download the zip file with vendor binaries from: http://developer.sonymobile.com/knowledge-base/open-source/android-open-source-project-for-xperia-devices/

In the root of your Android code tree unzip the SW_binaries_for_Xperia_Z_Xperia_Tablet_Z_v3.zip.

You should now have directories named vendor/sony/lagan and vendor/sony/sgp321 in your tree.

To build for SGP321:

  • repo sync
  • source ./build/envsetup.sh
  • lunch full_sgp321-userdebug
  • make

To build for SGP311:

  • repo sync
  • source ./build/envsetup.sh
  • lunch full_sgp311-userdebug
  • make

To flash the images produced make sure your device is unlocked, as described on http://unlockbootloader.sonymobile.com/

Enter fastboot mode on the device by pressing volume up while inserting the USB cable or execute adb reboot bootloader.

  • fastboot flash userdata out/target/product/sgp321/userdata.img
  • fastboot flashall

Reflashing userdata is not necessary every time, but incompatibilities with previous content might result in a device that doesn't boot. If this happens try to reflash just the userdata again.