Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,901 Members 52,917 Now Online
XDA Developers Android and Mobile Development Forum

[Q] How to add Sony Xpeira S binaries to AOSP rom build?

Tip us?
 
thsecmaniac
Old
(Last edited by thsecmaniac; 13th March 2014 at 12:56 AM.) Reason: can post a link now
#1  
Junior Member - OP
Thanks Meter 0
Posts: 17
Join Date: Jun 2012
Question [Q] How to add Sony Xpeira S binaries to AOSP rom build?

Hello


I'm newbie in building a rom. I do as http://source.android.com/source/building.html page of android
I'm stuck at the "Obtaining proprietary binaries" step
- I download Android source to the directory that I name it to be "android_src"
- I download Sony Xperia S's proprietary binaries from http://developer.sonymobile.com/know...peria-devices/already and I got the " vendor" folder which is not in the "android_src" folder.



How do I include the proprietary binaries into the my own AOSP rom?
 
thsecmaniac
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 17
Join Date: Jun 2012
anybody? please help
 
nisu4717
Old
#3  
Senior Member
Thanks Meter 94
Posts: 635
Join Date: Dec 2012
Location: vidhya nagar
Quote:
Originally Posted by thsecmaniac View Post
anybody? please help
Do pm to a developer.like abhinav2,or deadwar,op of carban rom

Sent from my LT26i using xda premium
 
abcdjdj
Old
#4  
abcdjdj's Avatar
Recognized Contributor
Thanks Meter 2,893
Posts: 1,704
Join Date: May 2012
Location: Thane
Quote:
Originally Posted by thsecmaniac View Post
Hello


I'm newbie in building a rom. I do as http://source.android.com/source/building.html page of android
I'm stuck at the "Obtaining proprietary binaries" step
- I download Android source to the directory that I name it to be "android_src"
- I download Sony Xperia S's proprietary binaries from http://developer.sonymobile.com/know...peria-devices/already and I got the " vendor" folder which is not in the "android_src" folder.



How do I include the proprietary binaries into the my own AOSP rom?
Hi,

I would not recommend you to use the binaries on the Sony website as they are outdated. Instead, please have a look at this github - https://github.com/billchen1977?tab=repositories
billchen1977 has provided all the required stuff for building aosp. So basically you need to create a local manifest in .repo/local_manifests.
You can do that by following these steps -
Code:
cd .repo
mkdir local_manifests
gedit nozomi.xml
Now copy this code into the XML file -
Code:
<?xml version="1.0" encoding="UTF-8"?> 
<manifest>  
<project path="kernel/sony/msm8x60" name="billchen1977/kernel_sony_msm8x60" remote="github" />
 </manifest>
I have added only one repo (the kernel). Similarly add the other two repos also and then simply run repo sync and you should be able to build the ROM then.


Sent from my Xperia S using Tapatalk

Click here to see my contributions to XDA


My phone history - Xperia Mini ST15i > Xperia S LT26i > Xperia T2 Ultra Dual D5322
 
thsecmaniac
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 17
Join Date: Jun 2012
What is it different between billchen1977's rom and Sony's rom except Sony's is older than billchen1977's? I'm curious



Quote:
Originally Posted by abcdjdj View Post
Hi,

I would not recommend you to use the binaries on the Sony website as they are outdated. Instead, please have a look at this github - https://github.com/billchen1977?tab=repositories
billchen1977 has provided all the required stuff for building aosp. So basically you need to create a local manifest in .repo/local_manifests.
You can do that by following these steps -
Code:
cd .repo
mkdir local_manifests
gedit nozomi.xml
Now copy this code into the XML file -
Code:
<?xml version="1.0" encoding="UTF-8"?> 
<manifest>  
<project path="kernel/sony/msm8x60" name="billchen1977/kernel_sony_msm8x60" remote="github" />
 </manifest>
I have added only one repo (the kernel). Similarly add the other two repos also and then simply run repo sync and you should be able to build the ROM then.


Sent from my Xperia S using Tapatalk
 
abcdjdj
Old
#6  
abcdjdj's Avatar
Recognized Contributor
Thanks Meter 2,893
Posts: 1,704
Join Date: May 2012
Location: Thane
Quote:
Originally Posted by thsecmaniac View Post
What is it different between billchen1977's rom and Sony's rom except Sony's is older than billchen1977's? I'm curious
These files are known as the vendor blobs. They are proprietary files whose source code is not available to the public. Some of these vendor files are used by various components of the phone like the camera etc. The ones on the Sony website are very old so if you use them, it is quite possible that the camera might not function properly. As Sony released official updates, if I remember, they even fixed laggy 1080p recording. So it would be much better to use the latest blobs.

Sent from my Xperia S using Tapatalk

Click here to see my contributions to XDA


My phone history - Xperia Mini ST15i > Xperia S LT26i > Xperia T2 Ultra Dual D5322
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes