Coder Social home page Coder Social logo

device-sony-c2105's Introduction

Copyright (C) Sony Mobile Communications 2013

This is the Android device configuration for Xperia L.

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/c2105.xml

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

<remove-project name="platform/hardware/akm" />
<remove-project name="platform/hardware/invensense" />
<remove-project name="platform/hardware/qcom/camera" />
<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" />

<project path="device/sony/c2105" name="device-sony-c2105" 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 SW_binaries_for_Xperia_L_v1.1.zip.

You should now have a directory named vendor/sony/c2105 in your tree.

Then run the following commands to build,

  • repo sync
  • source ./build/envsetup.sh
  • lunch full_c2105-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/boot.img
  • fastboot flash system $OUT/system.img
  • fastboot flash userdata $OUT/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.

Please see the project wiki for more information: https://github.com/sonyxperiadev/device-sony-c2105/wiki

device-sony-c2105's People

Contributors

xgchen avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.