forked from sonyxperiadev/device-sony-lt26
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
41 lines (29 loc) · 1.44 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Copyright (C) Sony Mobile Communication 2012
============================================
This is the Android device configuration for Xperia S.
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_manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="sony" fetch="git://github.com/sonyxperiadev/" />
<remove-project name="device/sony/lt26" />
<project path="device/sony/lt26" name="device-sony-lt26" remote="sony" revision="master" />
</manifest>
Download the zip file with vendor binaries from:
http://developer.sonymobile.com/downloads/tool/software-binaries-for-xperia-s/
In the root of your Android code tree unzip the SW_binaries_for_Xperia_S_v1.tar.zip,
you should now have a directory named vendor/sony/lt26 in your tree.
repo sync
lunch full_lt26-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/lt26/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.