Skip to content

DragonStalker/device-sony-shinano

 
 

Repository files navigation

Copyright (C) Sony Mobile Communications 2014

This is the Android device configuration for Xperia (shinano platform).

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/shinano.xml:

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

<remove-project name="platform/hardware/qcom/media" />
<remove-project name="platform/hardware/invensense" />
<remove-project name="platform/hardware/akm" />

<project path="device/sony/aries" name="device-sony-aries" groups="device" remote="sony" revision="master" />
<project path="device/sony/leo" name="device-sony-leo" groups="device" remote="sony" revision="master" />
<project path="device/sony/sirius" name="device-sony-sirius" groups="device" remote="sony" revision="master" />
<project path="device/sony/shinano" name="device-sony-shinano" groups="device" remote="sony" revision="master" />
</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 corresponding vendor zip.

You should now have vendor directories named in your tree.

  • repo sync
  • source ./build/envsetup.sh
  • lunch aosp_xxxx-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 boot out/target/product/<device>/boot.img
  • fastboot flash system out/target/product/<device>/system.img
  • fastboot flash userdata out/target/product/<device>/userdata.img

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%