• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[Sony] Xperia Open Devices Project

jerpelea

Senior Recognized Developer
Nov 7, 2006
7,455
40,144
0
Lund
sites.google.com
Sony Mobile is committed to supporting the open developer community, and one way to show this is by publishing parts of our code as well as selected tools developed by our internal developers.

For some of the Xperia™ devices, we provide Android™ Open Source Project (AOSP) device configurations on GitHub. This means that the software will be open for you as a developer to use and contribute to. This is a way for us to support the open Android community, and it is also a tool for us to facilitate and verify contributions to AOSP.

If you want to build AOSP for your unlocked Xperia device, you find all the resources you need in the sections below.
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/

Unified 3.10 kernel sources
https://github.com/sonyxperiadev/kernel

Project git
https://github.com/sonyxperiadev/
 

anatole78

Senior Member
Sep 27, 2009
92
15
0
Hi,

Glad to see you on these forums :)
I have been trying to build an AOSP image of the Android M Preview to flash on my z3 tablet compact for a while now and I always get stuck at the exact same time.
My building environment is set up on an Ubuntu VM (14.04 LTS) and when using the make command, I get an error message saying that "/usr/lib/python2.7/subprocess.py" can't be found.
Of course the file is in its place so that's a bit baffling...

Is this problem known to you and is there any solution for it ? :/

Thank you in advance for your reply !
 
  • Like
Reactions: Schuan

jerpelea

Senior Recognized Developer
Nov 7, 2006
7,455
40,144
0
Lund
sites.google.com
Hi,

Glad to see you on these forums :)
I have been trying to build an AOSP image of the Android M Preview to flash on my z3 tablet compact for a while now and I always get stuck at the exact same time.
My building environment is set up on an Ubuntu VM (14.04 LTS) and when using the make command, I get an error message saying that "/usr/lib/python2.7/subprocess.py" can't be found.
Of course the file is in its place so that's a bit baffling...

Is this problem known to you and is there any solution for it ? :/

Thank you in advance for your reply !

there is something wrong with your env please start over following the guide
i am also using ubuntu 14.04LTS and i can confirm that is fine

br
J


PS.
we will update soon M build guide for m-preview-2
 

anatole78

Senior Member
Sep 27, 2009
92
15
0
there is something wrong with your env please start over following the guide
i am also using ubuntu 14.04LTS and i can confirm that is fine

br
J


PS.
we will update soon M build guide for m-preview-2
I am a most stubborn man and I've tried following the guide from the start about 10 times last week but to no avail...

The error about the subprocess.py file pops up no matter what I do :(

Glad to know the m-preview-2 is coming to our Xperia devices !
 

anatole78

Senior Member
Sep 27, 2009
92
15
0
I finally was able to compile it !
I don't know why but this time Ubuntu prompted me to install phablet-tools saying that "repo" was missing so I did and voilà, the make was successful !
Only problem is flashing the three img files resulted in my SGP611 being stuck in a bootloop :(

Back on official Lollipop for the moment... Any idea what could cause this ?

Thanks :)
 

jerpelea

Senior Recognized Developer
Nov 7, 2006
7,455
40,144
0
Lund
sites.google.com
I finally was able to compile it !
I don't know why but this time Ubuntu prompted me to install phablet-tools saying that "repo" was missing so I did and voilà, the make was successful !
Only problem is flashing the three img files resulted in my SGP611 being stuck in a bootloop :(

Back on official Lollipop for the moment... Any idea what could cause this ?

Thanks :)
probably some missing patches
#adb shell logcat
does wonders in this case
 

jerpelea

Senior Recognized Developer
Nov 7, 2006
7,455
40,144
0
Lund
sites.google.com
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/

2016-04-22: AOSP Marshmallow binaries for Android 6.0 and AOSP Lollipop binaries for Android 5.1 updated with improved connectivity, stability and camera functionality. We’ve also added the second camera actuators for Xperia Z3 and Xperia Z4 tablet. In addition, we’ve added the camera actuator for the Xperia Z5 family for Android 6.0.