How hard would it be to build LineageOS for this phone? - Sony Xperia X Performance Questions & Answers

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.

Related

[Q] General question about Sony open source strategy

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.

[Dev] Porting maru os to Sony Xperia ZR?

Dear developers,
first of all I would like to thank you all for your great work and keeping our Sony Xperia ZR alive.
A few weeks ago I came across the terrific project maru os. So far it only exist for a few devices but it looks very promising. It literally turns the phone into a desktop PC while having android and Linux running on it.
I am not a programmer myself and sadly are not able to offer any help but it would be great if somebody with the skills and experience would feel encouraged to port maru os to the ZR. As far as I know the ZR is capable of mhl and therefore would be a great candidate for maru os.
At the moment somebody is working on the sony Xperia z3. Maybe it could be helpful for the development.
As I am a new member I actually can't post links to the project page, github repository or some great YouTube videos. But I suppose a search engine of your choice will help you
Looking forward for some thoughts and ideas
What does the community think? Would Maru OS be something you would be personally interested?
I wrote a PM to Daedroza and he seemed generally interested in the project but made at the same time clear that he is at the moment occupied with lineage 14.1. He might be able to port maru os in a few months.
Happy to see some thoughts of other ZR users.
Here are some links for those interested in the project:
Maru OS Webpage:
https://maruos.com/#/
Youtube:
https://www.youtube.com/watch?v=iF7yK7HAyVM
(Germany only)
https://www.youtube.com/watch?v=W_eiNFRLJMQ
Github:
https://github.com/maruos/maruos
Google Groups:
https://groups.google.com/forum/#!forum/maru-os
https://groups.google.com/forum/#!forum/maru-os-dev
Interview with the main dev at Latenight Linux:
https://latenightlinux.com/late-night-linux-episode-11/
Enjoy! Happy watching and reading
Dear folks,
one very talented dev of Maru os is asking at the moment the community to which device he shall port next (he ported already to the G4 and HTC 10). There might be a chance that if enough ZR users upvote our device we might see it come alive.
Please show your interest in this thread:
https://groups.google.com/forum/m/#!topic/maru-os-dev/8Lzi1KnYyzI
Thanks and have a nice day
I see it is supported in official LOS builds too , and this is great .
My question is if you flash Lineage OS 14.1 ( https://download.lineageos.org/dogo ) into your Xperia ZR , does MHL cable works to display over HDMI ?
In another words , have you tested that using Lineage OS , you have image over HDMI ?
dianxxyyzz said:
I see it is supported in official LOS builds too , and this is great .
My question is if you flash Lineage OS 14.1 ( https://download.lineageos.org/dogo ) into your Xperia ZR , does MHL cable works to display over HDMI ?
In another words , have you tested that using Lineage OS , you have image over HDMI ?
Click to expand...
Click to collapse
As far as I am concerned mhl is only working in the stock ROM. Another ZR user reported the non working mhl as well in the lineage 14.1 thread.
Only for your information, as this thread looks very lonely I just got in the last hour some more replies from people who are ready to test

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!

[EOL][SODP][ROM][LineageOS][XZ2, XZ2C, XZ3] LineageOS 17.1

Central project page
https://forum.xda-developers.com/xperia-xz2/development/rom-lineageos-17-1-t4044653
18.06.2020
june security patch level
oemv8 support
and any other sodp open source changes since my last build
fixes for charger, battery, sleep (sideeffect working bluetooth audio) and more!
Click to expand...
Click to collapse
13.07.2020
july security patch level
oemv9c support
and any other sodp open source changes since my last build
Click to expand...
Click to collapse
Wait for the OEMv9c release
Don't use it with OEMv9b
Is my SODP based LineageOS Port still needed or are the users moved to PixelExperience or the stock based LineageOS which both are official and receive OTA updates?
If yes, I will EOL the SODP based LineageOS port and focus on other stuff.
So xz2 got official Lineage os.Can we expect also for xz3?
mcvisster said:
So xz2 got official Lineage os.Can we expect also for xz3?
Click to expand...
Click to collapse
Sadly to get an official LOS based on stock it is needed to own the XZ3 as a hardware.
Is my LOS port really needed?
Then we need to find a solution, I would like to focus on a single rom where a version for the xz2/xz2c/xz3 is needed and the xz2/c part is now replaced by the official supported & stock based LOS.
Just because I like variety and hate to reinvent the where if I build unofficial builds for a ROM where an official support exist.
There is also AOSP and the official Pixel Experience with OTA updates.
24.08.2020
Since we have now an official LineageOS based on stock, this ROM would be double work.
So I stop the LOS port.
(Sadly unless a dev owns a XZ2P or XZ3 these phones won't be supported in the official stock based LineageOS)
The only difference between the stock and SODP editions are:
SODP will get GCAM support later and has camera2API level 3.
stock will never support GCAM apps and has the limited stock camera2API level.
SODP uses a 4.14 kernel and probably get mainline support later.
stock uses the stock 4.9 kernel and will probably be there forever.
SODP targets to use as much open source as possible.
And LiveDisplay doesn't work in my SODP version.
PS: After the September exams in the new semester I look for a ROM replacement for the sake of diversity.
It's good to have a choice and with the available official supported SODP based Pixel Experiment, we have a ROM which sadly forces you to use the full GAPPS (Google Apps package).
Click to expand...
Click to collapse
MartinX3 said:
Central project page
https://forum.xda-developers.com/xperia-xz2/development/rom-lineageos-17-1-t4044653
Click to expand...
Click to collapse
Hi martin, i wanted to ask should i buy this phone? I want a gaming beast but can be rootable, has roms, kernels and it seems this one has very lengthy and dangerous process to do so? What r ur regards on this
max gokue said:
Hi martin, i wanted to ask should i buy this phone? I want a gaming beast but can be rootable, has roms, kernels and it seems this one has very lengthy and dangerous process to do so? What r ur regards on this
Click to expand...
Click to collapse
I think it's still good to buy.
I bought the asia 6GB ram edition.
In the future it will be part of the mainline kernel, so it won't need closed source vendor drivers anymore, which makes it future proof.
Hello Sir,
I have sony Xperia zx3. Model SOV39 (japanies rom) updated to official android 10.
Kindly help me with the following things.
Please give me step by step. How to proceed with to install a custom rom which is very stable(everything working) because i will do it only once. I need a pixel based custom rom because i want to have the unlimited storage option in it... . To store my photos... And also working gcam for best photos.. and a stable room with good performance and battery life.
Also kindly tell me which custom recovery will be best for my phone and best safe way to flash it to my phone and also safe way to unlock my phone's bootloader.... Kindly provide step by step procedure according to my requirements... I will be very thankful to you...

Question Lineage OS

Just a question for the future. Are there custom roms like Lineage OS coming for Mi 11 Ultra?
Probably just a matter of time....
It's available for most of the earlier devices already: https://www.cyanogenmods.org/lineageos-18-mi-10-pro/
I don't think it will show up anytime soon...
When I got MiNote10, it was one of few phones with new 108MP camera sensor, developers had bad time trying to find drivers, or do anything to be able to use camera, as Xiaomi release only part of source code for this phone. As for now, there is no official LOS for MiNote10, just UNOFFICIAL, and the phone was released around November 2019 ?
MI11 Ultra also have new camera sensor GN2, display on the back, new chipset, I wish to see LOS or other custom ROM, but I know how hard is to build custom ROM for new hardware if you don't have drivers/source code.. Only hope in Xiaomi if they release complete source code needed to build ROM.
We'll have to wait for the popularity of this phone to go up first. Might take a while. But with miui12.5 being the crap fest that it is right now... I hope we don't have to wait too long for an aosp based ROM to come out
I would voluteer for testing... anything is better than this miui crap. So, anyone, please DM me, if you need a tester.
And put TWRP on the list. I might suffer from a good old fashioned paranoia, but kind if don't trust the current distributions of TWRP for the MI11U.

Categories

Resources