[Q] General question about Sony open source strategy - Xperia Z1 Q&A, Help & Troubleshooting

Hello,
does Sony fully publish its kernel sources? Are all Sony hardware drivers open source? Thus, can you or any other developer get the source code for Sony´s kernel and hardware sources? Or do you depend on Sony closed source drivers to get the hardware running like camera, GPS, wifi and stuff? I´m just curious how supportive Sony is to the community.
Thanks!

papperlapapp said:
Hello,
does Sony fully publish its kernel sources? Are all Sony hardware drivers open source? Thus, can you or any other developer get the source code for Sony´s kernel and hardware sources? Or do you depend on Sony closed source drivers to get the hardware running like camera, GPS, wifi and stuff? I´m just curious how supportive Sony is to the community.
Thanks!
Click to expand...
Click to collapse
Yes..
There is a reason why Sony has been voted the OEM of the year 3 years on the trot by XDA.
Its because they are the most supportive of our community (Working with XDA devs and even giving them phones) and kernel sources are open sources.
Just goto the sony development site and download any/all of the sources you want.

Related

[Sony] Xperia Open Devices Project

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/
Now you have the opportunity to win Sony devices every 2 months
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/hero-open-source-developers/
Happy cooking
http://developer.sonymobile.com/201...-camera-available-for-experienced-developers/
enjoy
J
jerpelea said:
http://developer.sonymobile.com/201...-camera-available-for-experienced-developers/
enjoy
J
Click to expand...
Click to collapse
Great news.
Any ETA for Z5 camera?
nilezon said:
Great news.
Any ETA for Z5 camera?
Click to expand...
Click to collapse
we are working on it
Br
J
Hi all
We have published a new snapshot, zip v14, with camera update (improved quality and stability)
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/
Enjoy
J
kitakami has just received the needed patches for modem toghether with v14 zip
happy cooking
J
Hi all
I have some more exciting news
http://developer.sonymobile.com/kno...s/how-to-access-uart-ports-on-xperia-devices/
PS.if devices are not listed here they dont have the connector !
Br
J
We have published new binaries
http://developer.sonymobile.com/downloads/tool/software-binaries-for-aosp-lollipop-android-5-1/
Br
J
Alin, could you please provide a very brief overview about what is expected to work and what is known to be broken in these builds?
And of course thank you for your efforts in trying to make AOSP available, I really appreciate that.
Wifi has been also fixed
enjoy
@jerpelea any news for the z5 premium ? The dual version too maybe ?
Defier525 said:
Alin, could you please provide a very brief overview about what is expected to work and what is known to be broken in these builds?
And of course thank you for your efforts in trying to make AOSP available, I really appreciate that.
Click to expand...
Click to collapse
@jerpelea
Could we have a statement on these topics, please ?
Thank you
edit:
at least on the Z5 (E6653) most things, if not all, work
Hi all
Blobs v17 are public
Happy easter
J
​
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.
Defier525 said:
Alin, could you please provide a very brief overview about what is expected to work and what is known to be broken in these builds?
And of course thank you for your efforts in trying to make AOSP available, I really appreciate that.
Click to expand...
Click to collapse
with the latest blobs and build guide i use Z5 Compact as my daily phone
all conectivity works and there are some camera bugs that we are working to fix
regards
Alin
Hi all,
We have updated the build guide to support the latest features and security updates
http://developer.sonymobile.com/kno...aosp-marshmallow-for-unlocked-xperia-devices/
Enjoy
J
Anywhere we can download flashable zips?
The latest build on Fxpblog is built June the first, does that one contain those latest blobs?
jerpelea said:
with the latest blobs and build guide i use Z5 Compact as my daily phone
all conectivity works and there are some camera bugs that we are working to fix
regards
Alin
Click to expand...
Click to collapse
what about the fingerprint scanner? will bluetooth work (music and calling)?
no answer?

Signing petition for santoni kernel sources.

Guys sign the below link for petition for santoni kernel sources must be released https://www.change.org/p/xiaomi-dev...m_medium=copylink&utm_campaign=share_petition
Plz sign the petition if you guys want that the kernel sources must be released.
If kernel sources aren't released yet, how is it possible that there are some custom ROMs already out there?
BubuXP said:
If kernel sources aren't released yet, how is it possible that there are some custom ROMs already out there?
Click to expand...
Click to collapse
Dude without kernel sources the devs cannot build or modify custom kernels. Else it has nothing to do with roms as the rom sources are ported from lineage or aosp sources and modified accordingly. without kernel sources there isn't much room for kernel optimisation and modification for better performance or battery as the devs have to use the stock kernel of the device.
So those custom ROMs are using the stock kernel, copied from the original MIUI ROMs?
BubuXP said:
So those custom ROMs are using the stock kernel, copied from the original MIUI ROMs?
Click to expand...
Click to collapse
Yeah with few optimizations and changes.
Xiaomi / every android manufacturer has to release the kernel sources anyway, right? Is there an ETA, or how long does it usually take for a xiaomi device for the sources being released? I am considering buying this phone.
2nd question: rooting or unlocking bootloader goes with the manufacturer's page right? I checked it out and it was in chinese, me as an english user, will i manage to get the phone unlocked?
Petition is signed anyway. I also contacted the global service through mail asking about the REDMI4X32_GLB_BLK kernel source release. Will keep you updated if I get a response
Edit: I just ordered a moto g5 but will keep u updated if I should get any info from xiaomi support.
Edit2: Reply from the Xiaomi team:
Greetings from Xiaomi!
Thank you for writing us. I will be glad to assist you.
I understand that you wish to know regarding the release of Kernel source. I would like to inform you that as of now we do not have any such update and provisions regarding the launch of Kernel source for the Redmi 4X, so we would not be able to guide you regarding the same and the reason behind its non-release. You may refer our Official Website http://www.mi.com/en/ and Facebook page https://www.facebook.com/xiaomiglobal for more information.
Should you have any further queries, feel free to write back to us. We'll be glad to assist you further.
Thank you for being a valued customer. Have a great day ahead!
Click to expand...
Click to collapse
SeviStein said:
Xiaomi / every android manufacturer has to release the kernel sources anyway, right? Is there an ETA, or how long does it usually take for a xiaomi device for the sources being released? I am considering buying this phone.
2nd question: rooting or unlocking bootloader goes with the manufacturer's page right? I checked it out and it was in chinese, me as an english user, will i manage to get the phone unlocked?
Petition is signed anyway. I also contacted the global service through mail asking about the REDMI4X32_GLB_BLK kernel source release. Will keep you updated if I get a response
Edit: I just ordered a moto g5 but will keep u updated if I should get any info from xiaomi support.
Edit2: Reply from the Xiaomi team:
Click to expand...
Click to collapse
Still no response?

Guys i just got my X-perfomance to play around. What should i do with it?

i got it as a secondary device for cheap price. any ideas on playing around with the software or else?
On ROM development
Alvin Owen said:
i got it as a secondary device for cheap price. any ideas on playing around with the software or else?
Click to expand...
Click to collapse
Hello,
always a pleasure to have an enthusiast joining the ranks.
You may want to check out the ROM development (the whole platform OR a kernel alone). Some links for you to start with
[Sony Open Device Project](https://developer.sony.com/develop/open-devices/) - this would be the starting point for anyone wishing to deal with the Android software; provides the guides for building full fledged AOSP and mainline kernel
[Sony Xperia developers Github](https://github.com/sonyxperiadev) - the repository for all the code necessary for AOSP and kernel; it is a "wiki" for further development steps; issues are discussed in [https://github.com/sonyxperiadev/bug_tracker]
[Sony AOSP builds with some additions](https://github.com/SonyAosp) - the AOSP code repository with forked sources from XperiaDev Github and with some additions that make the builds more usable (TWRP as a default recovery, OpenGApps already included, etc.); a great resource for a deeper dive into the intricacies of the building-from-source flow; can be used to compare with the barebone AOSP from the official XperiaDev and learn some insights
[LineageOS Wiki](https://wiki.lineageos.org/) - an enthusiast may want to build a Lineage OS instance for the device on his own, the wiki is a great start.
You also might want to get familiar with the followings as a references:
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763 - an XDA complete guide to AOSP building
https://forum.xda-developers.com/general/xda-university/literature-reading-getting-aosp-t3268211 - a collection of references for further insights
https://review.lineageos.org - LineageOS Gerrit platform for a better understanding of the build flow from the perspective of commits
https://github.com/omnirom/Docs/blob/master/Porting_Omni_To_Your_Device.md - a guide to porting an OmniROM to a given device; may be used as another reference to better understand the buidling flow
https://www.aicp-rom.com/ - AICP project home; another source of information for AOSP porting
https://github.com/AndroPlus-org - a reference for kernel development
Happy coding!

How hard would it be to build LineageOS for this phone?

Hello, I'm thinking about purchasing this phone since I found a good deal on it, and I like the specs on it. The only disappointing thing it seems, there are no official or unofficial roms? I'm experienced with compiling and things of that nature, I've done plenty of Linux From Scratch builds, even compiling a package manager from another distro to maintain it. How hard would it be to port LineageOS 16 to the Xperia X Performance? Are there any binary blobs that are necessary, and where would I get them?
Hi, good thread. The Xperia X Performance is maintained by Sony Mobile on their Open Devices program, so it shouldn't be difficult at all if you're a programmer. In fact, Sony has released the AOSP binaries for Android 9:
https://developer.sony.com/develop/...d-functionality/supported-devices-maintained/
And of course, any Xperia in the Open Devices list, has instructions available over at Sony Mobile, how to unlock the bootloader and so on. So LineageOS 16 should be a piece of cake, for the open source developers who know their stuff. I'd personally like to install LineageOS on my Xperia X Performance.

Question Why are there so few official custom roms on this highly sold model?

I don't understand
Have you looked at the Telegram group? A lot of development seems to bypass xda these days. That slightly worries me as the ROMs are all unofficial and I'm always worried what might get added - surprising we don't get ROM based malware more often. At least here reputation is long term so that seems less of a risk.
patp said:
Have you looked at the Telegram group? A lot of development seems to bypass xda these days. That slightly worries me as the ROMs are all unofficial and I'm always worried what might get added - surprising we don't get ROM based malware more often. At least here reputation is long term so that seems less of a risk.
Click to expand...
Click to collapse
Yes, I'm up to date on telegram, that's why I ask, they are all unofficial custom roms or ports and I don't understand why no dev team works on official roms
bbxs said:
Yes, I'm up to date on telegram, that's why I ask, they are all unofficial custom roms or ports and I don't understand why no dev team works on official roms
Click to expand...
Click to collapse
I wish I knew - staying on MIUI until there's something official, ideally crDroid, Lineage or similar long term projects.
To avoid any errors of judgement:
Official ROM maintainers are not supposed to make changes to the source. So, they are not likely to fix any bug which is related to the source. Meanwhile, unofficial ROM maintainers are not having any restrictions. They are free to make any changes to the source to suit their needs. So, the unofficial maintainers often fix source-related bugs before the official one.
NOSS8 said:
To avoid any errors of judgement:
Official ROM maintainers are not supposed to make changes to the source. So, they are not likely to fix any bug which is related to the source. Meanwhile, unofficial ROM maintainers are not having any restrictions. They are free to make any changes to the source to suit their needs. So, the unofficial maintainers often fix source-related bugs before the official one.
Click to expand...
Click to collapse
That's how I understand it, and having that level of code review in the official builds is what almost guarantees you can trust a ROM with your banking etc. I haven't actually heard of any unofficial ROM being naughty, but there's nothing to stop it.
patp said:
That's how I understand it, and having that level of code review in the official builds is what almost guarantees you can trust a ROM with your banking etc. I haven't actually heard of any unofficial ROM being naughty, but there's nothing to stop it.
Click to expand...
Click to collapse
For having used with several devices, several official or unofficial roms over several years, I have never had a problem with banking apps (for those who support them, of course).
Note that when there are no more brand updates, the developers are obliged to modify the source to continue to develop the rom.
XDA is a trustworthy source, for others I don't know.
And following that explanation...why are there other low-priced xiaomi models and also old models that have many official roms here on xda? I am very concerned that we have many unofficial aosp roms on telegram and here on xda absolutely none. Why do the devs of this model never publish on xda and other xiaomi models do? That doesn't give me confidence and I still don't understand
bbxs said:
And following that explanation...why are there other low-priced xiaomi models and also old models that have many official roms here on xda? I am very concerned that we have many unofficial aosp roms on telegram and here on xda absolutely none. Why do the devs of this model never publish on xda and other xiaomi models do? That doesn't give me confidence and I still don't understand
Click to expand...
Click to collapse
Surely a question of rules and money.
NOSS8 said:
Surely a question of rules and money.
Click to expand...
Click to collapse
And because Xiaomi is incompetent in terms of releasing Kernel Source
GitHub - MiCode/Xiaomi_Kernel_OpenSource: Xiaomi Mobile Phone Kernel OpenSource
Xiaomi Mobile Phone Kernel OpenSource. Contribute to MiCode/Xiaomi_Kernel_OpenSource development by creating an account on GitHub.
github.com
Xiaomi 11T Pro codename vili Kernel is still stuck on Android 11 meanwhile we are expecting Android 13 soon.
Many devices are missing there and also lack of kernel update.

Categories

Resources