yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] jerpelea:
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.

https://developer.sony.com/develop/open-devices/

Unified 4.4 kernel sources

https://github.com/sonyxperiadev/kernel

Project git

https://github.com/sonyxperiadev/

Bug tracker

https://github.com/sonyxperiadev/bug_tracker/issues
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] jerpelea:
Now you can build the latest Android with the latest 4.4 kernel
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] jerpelea:
Vendor v11 is out

https://developer.sony.com/develop/open-devices/latest-updates
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] jerpelea:
For user security dm-verity and File Based Encryption are enabled by default

Please keep them enabled for all user builds

Regards

J
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] pijes:
I wish someone is working on android 9 for the xzs
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] jeoleo7:
Hello! Is there anybody out there?? I installed Ubuntu and followed the guide but every time it fails with some Ninja error!!

I know one of you [MENTION=359497]jerpelea[/MENTION] can make it.

Desperately waiting for it.
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] jerpelea:
All build guides are updated with the Security updates

https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/

Here is the list of all known bugs. If you find bugs you can always open a ticket in the bug tracker and we will check it ASAP.

https://github.com/sonyxperiadev/bug_tracker/issues
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] tumincm:
what's with XZs? why aren't there developers for this cellphone? I am jealous of the ever-expanding XZ and XZ premium
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jerpelea:
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.

https://developer.sony.com/develop/open-devices/

Unified 4.4 kernel sources

https://github.com/sonyxperiadev/kernel

Project git

https://github.com/sonyxperiadev/

Bug tracker

https://github.com/sonyxperiadev/bug_tracker/issues
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jerpelea:
Now you can build the latest Android with the latest 4.4 kernel
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] appjunkie:
Does it also mean that the official firmware from Sony will be updated with this new kernel?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
I am not a developer but built it following the guide using the sources since a few months back. Boots and runs. Even used it for a time. But couldn't get fingerprint sensor to work properly. When I used 8.0 branch it was working but very slow and roughly. (Nowhere near the sensitivity of the stock rom) now with 8.1 branch can't get it register fingerprints. Sensor works, starts enrollment and progresses, but at the last step it gives error. However seems like more sensitive and faster than before. Another problem is the battery drain when idle. When using the phone daily routine not that bad, slightly less screen on time compared to stock but the real problem idle battery drain. %15-20 in 6-7 hours. According to battery starts appears to be related to Google play services which is always a serious battery killer for custom roms for years. Other than these did not notice any serious problems. And all this without any changes or tweaks. Straight from the source. Good job Sony imo.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
[MENTION=3387606]maluus[/MENTION] Don't know if this also applies to compiling roms, but Sony just (march 8) released a new version (v11) of the odm image, which solves fingerprint enrollment issues you seem to describe for the omnirom 8.1 build:

https://developer.sony.com/file/dow...es-for-aosp-oreo-android-8-1-kernel-4-4-loire
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Yeah heard of it. I was using v10 oem image last time. When i get back to home I'll try with v11 and will see if fingerprint issue is solved. If it's ok i can use it as daily as it is. If battery drain problem is solved too it will be pretty much everything i expect.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jerpelea:
Vendor v11 is out

https://developer.sony.com/develop/open-devices/latest-updates

battery drain is fixed and new kernel binary will be released today
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] droncheg:
FM-radio will work someday on kugo in custom roms?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Anyone tried a recent aosp build with v11 binaries yet? Does fingerprint works correctly and accurately? How is the battery life compared to the stock? What is screen on time?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jd22:
Just installed an AOSP build from March 15th together with v11 binaries and Micro GApps. Fingerprint is working.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
And the battery life? I'm home though. I'll be building soon ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jerpelea:
for the Open Devices project

in Android 7.x the FM Radio is enabled

in Android 8.x the FM Radio is disabled

Regards

J
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jerpelea:
For user security dm-verity and File Based Encryption are enabled by default

Please disable them only if you are developing new features

Regards

J
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] MartinX3:
[MENTION=359497]jerpelea[/MENTION]

Will the Sony Xperia XZ2 be added?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jerpelea:
we are finalizing the last steps before adding it

Regards

J
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jerpelea:
All build guides are updated with the Security updates

https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/

Here is the list of all known bugs. If you find bugs you can always open a ticket in the bug tracker and we will check it ASAP.

https://github.com/sonyxperiadev/bug_tracker/issues
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] camdecoster:
[MENTION=359497]jerpelea[/MENTION], do you know if there is a modem binary file for this phone that's compatible with T-Mobile VoLTE in the US? The XZ1C has a compatible file (amss_fsg_lilac_tmobile_us_ims_tar.mbn). The stock ROM doesn't, but I'm trying to get VoLTE working and this file would certainly help (if it exists).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Last night I built again. First thing I noticed is how well fingerprint reader works. It's like stock. Congrats to the devs for good job. Camera including video recording and Bluetooth works. But camera seems 1-2 mm smal from sides. Charging issue persists. As Harry pointed 3 amp chargers doesn't work. I tried 2 other chargers. 2.1 amp charger work normally. But 1 amp charger starts do disconnect and connect again after 43-44%. (I'll share the logs with devs) Another problem I noticed is that I can't root with magisk. Tried ver 16, 17 and 18. I can flash from twrp without error but when the device boot up neither Magisk manager is installed nor device is rooted. I did not try with supersu. Another thing to mention is that device boots up pretty slow. Boot crash still happens sporadically.

PS: Supersu works. Sometimes device lags heavily. I noticed especially on chrome and some banking apps.

PS 2: Sharing logs. (Includes 3 amp charging attempt and 2.1 amp charging)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] kory231:
little off, very very basic question, and I could not seem to find the answer.

I understand how to set up a build environment and build an image to the phone, but how about the developer.sony.com latest section binaries?

are they already built images? how will it be different if I build mine following the instructions?

Cheers,
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
You'll build rom first then you still need to flash that binaries too. They are not alternatives to your home build rom. They are part of the os which you won't be able to homebrew, for your device to work properly.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] jerpelea:
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.

https://developer.sony.com/develop/open-devices/

Unified 4.4 kernel sources

https://github.com/sonyxperiadev/kernel

Project git

https://github.com/sonyxperiadev/

Bug tracker

https://github.com/sonyxperiadev/bug_tracker/issues
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] jerpelea:
Now you can build the latest Android with the latest 4.4 kernel
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Araa01:
U mean 8.1.0 android?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] xFirefly93:
Either that, or a beta build on the soon coming Android 9.0 P.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Araa01:
Sooo wee need now dev who compile this. Ez because drm fix is now onlie so GG.:)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] 4rz0:
The first link in OP contains guides for everything you need to know about how to do that.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Araa01:
But I don't have guide how to find free time to lern this and compile.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] jerpelea:
Vendor v11 is out

https://developer.sony.com/develop/open-devices/latest-updates
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Araa01:
Now i think Android 9.0
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] N1ghtr08d:
Can you confirm if it's 9 or still 8.1?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] yoyoyed:
8.1
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] N1ghtr08d:
I wonder when 9 will be available to build as AOSP
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] kojak1989:
I think so at the end of the year.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] jerpelea:
we are still working on Android 8.x
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] jerpelea:
as soon as Google releases Android 9.0 we will add it to the Open Devices

Regards

J
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] N1ghtr08d:
Cool, thanks
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] jerpelea:
For user security dm-verity and File Based Encryption are enabled by default

Please keep them enabled for all user builds

Regards

J
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] VinBenzin810:
Hello guys, i have this weekend time. And I will build an asop 8.1 Rom for us. when the build Are finish i will Post that here

Now a question for sonydev there is an update At the vendors 05.08.2018! Changelog was update the camera. Which Changes Are it?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] celeron1:
Why cant I undo the bootloader unlock or even do the unlock without loosing the drm keys? Thats not so open. Ive got a Xperia xz1
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] jerpelea:
All build guides are updated with the Security updates

https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/

Here is the list of all known bugs. If you find bugs you can always open a ticket in the bug tracker and we will check it ASAP.

https://github.com/sonyxperiadev/bug_tracker/issues
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Sbp78hh:
Vg
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] SGH-i200:
https://www.xda-developers.com/sony-xperia-10-ii-added-open-devices-program/
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jerpelea:
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.

https://developer.sony.com/develop/open-devices/

Unified 4.4 kernel sources

https://github.com/sonyxperiadev/kernel

Project git

https://github.com/sonyxperiadev/

Bug tracker

https://github.com/sonyxperiadev/bug_tracker/issues
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jerpelea:
Now you can build the latest Android with the latest 4.4 kernel
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Great, thanks for the update :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] russel5:
Thanks for that. Using your project few days, but can't make fingerprint work, any help for this issues would be great. Thanks.

P.S. read you bug tracker. This issues can be fixed only with vendor v11, yes? When it will be released?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jerpelea:
FPC is still buggy but will start to work from v11

The release for v11 is planned for today.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jerpelea:
Vendor v11 is out

https://developer.sony.com/develop/open-devices/latest-updates
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] solymir:
Hi [MENTION=359497]jerpelea[/MENTION],

I compiled successfully everything for the 8.1 version, flashed everything successfully, but I'm stuck in bootloop. Flashed stock with Emma, flashed AOSP images, still nothing. The only thing that works is the AOSP recovery, system either bootloops or gets stuck at android logo. Any help here, please?

Thank you :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jerpelea:
Have you flashed the oem partition with the vendor binaries?

Regards

J
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] solymir:
Yep. All 5 images, I respected the Sony tutorial to the letter.

I tried the same with the February security patch, with the same result, but I thought it was due to recovery ( I kept twrp, now I didn't)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jerpelea:
Hi,

did you flash all those partitions?

boot

recovery (optional)

system

vendor

oem

userdata

Regards

J
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] solymir:
Well, since then, vendor.img showed up ( I even got a compile error that said certain things had to be deleted from system ). Fixed that, I flahed again and boots exactly ONCE only if I format data from TWRP. If I flash compiled recovery it will never boot.

I suspect this is because of data partition encryption; it boots once after data is formatted, it shows in settings that data is not encrypted. Works perfectly, until first reboot when it bootloops. There are other AOSP versions on this forum, I have the same problem with all of them.

Only AOSP-ish ROM that works for me is Lineage 15.1, courtesy of [MENTION=4297219]modpunk[/MENTION] and rooted stock. Yes, both of them seem to be encrypted by default.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jerpelea:
For user security dm-verity and File Based Encryption are enabled by default

Please keep them enabled for all user builds

Regards

J
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jerpelea:
Hi,

since I use the AOSP as my DD and i dont have the userdata issue i would suspect that something went wrong with your customisation

Rregards

J
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Luffy Wang:
I am a regular user. Sometimes I want to try AOSP, but I don't have a powerful computer to build. Why does Sony provide a build tutorial instead of a file that has already been built to download.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mat68:
Is Android P Will come?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jerpelea:
All build guides are updated with the Security updates

https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/

Here is the list of all known bugs. If you find bugs you can always open a ticket in the bug tracker and we will check it ASAP.

https://github.com/sonyxperiadev/bug_tracker/issues
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] jerpelea:
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.

https://developer.sony.com/develop/open-devices/

Unified 4.4 kernel sources

https://github.com/sonyxperiadev/kernel

Project git

https://github.com/sonyxperiadev/

Bug tracker

https://github.com/sonyxperiadev/bug_tracker/issues
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] jerpelea:
Now you can build the latest Android with the latest 4.4 kernel
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] jerpelea:
Vendor v11 is out

https://developer.sony.com/develop/open-devices/latest-updates
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] bloodclot:
Following the guide, when I enter

source build/envsetup.sh && lunch

I see models H3213, H4213

But not US model H3223
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] mchlbenner:
I would like know if they release the H3223?

If they are not going I would skip getting this phone.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] davidhozic:
They are so committed that they refuse to add raw capture support so i could use google modded hdr camera
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] li0nh3art3d:
H3123 is the US model
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] mchlbenner:
H3223 xa2 ultra usa and the H3123 xa2 USA .
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] jerpelea:
you have raw in AOSP
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] davidhozic:
But it's not available for xa2
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] TheLoonyRebel:
Has anyone tried to use the H3213 or H4213 kernel on the H3223? Would building either of those work on the H3223?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] mchlbenner:
will not work.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] jerpelea:
RAW support is enabled and you can take RAW pictures with Open Camera

Regards

J
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] davidhozic:
You can enable the raw capture option but it wouldn't work.

Camera2api is limited to sony appd only
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] GuestK0099:
Afaik that is only true for stock, Sony open devices uses a different hal that iirc supports raw
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Blinkenn:
I have my bootloader unlocked with TWRP and magisk loaded on stock android 8.0.

Do I need to follow the build guide for 8.1 or just flash the SW_binaries_for_Xperia_Android_8.1.6.4_r1_v12_nile.zip? And will that wipe TWRP and magisk so I'd need to reinstall those?

edit: nm, the binaries are just that, specific for AOSP to work with my Sony phone and are flashed after AOSP. I suppose flashing TWRP amd magisk after should work.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] jerpelea:
All build guides are updated with the Security updates

https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/

Here is the list of all known bugs. If you find bugs you can always open a ticket in the bug tracker and we will check it ASAP.

https://github.com/sonyxperiadev/bug_tracker/issues
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] jerpelea:
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.

https://developer.sony.com/develop/open-devices/

Unified 4.4 kernel sources

https://github.com/sonyxperiadev/kernel

Project git

https://github.com/sonyxperiadev/

Bug tracker

https://github.com/sonyxperiadev/bug_tracker/issues
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] jerpelea:
Now you can build the latest Android with the latest 4.4 kernel
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] jerpelea:
Vendor v11 is out

https://developer.sony.com/develop/open-devices/latest-updates
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] jerpelea:
For user security dm-verity and File Based Encryption are enabled by default

Please disable them only if you are developing new features

Regards

J
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] efinityy:
Why do you deny us full functionality on AOSP?

You claim to support the development of AOSP and Androids ecosystems, but deny us full functionality of our hardware if we switch from Sony stock rooms ?, photos get crazy, lowlight even worse, the volume of sound is completely erased and all post-processing disabled got my XZ as a replacement phone when my newly purchased 9 died, and I have never seen such an openly "supported" project, which has been so denied by developers. There is no person who thinks "it'll will be really fun to develop on this phone, they will take away 90% of their PR sales points just if i unlock it, god what challenge this will be" ... Never happened .. Stop locking features behind DRM and / or make it irrelevant to AOSP ... Snälla... Låt oss välja själva, voiding warranty for UB'ing is enough. Don't remove points that made the phone sell if you really want us to be intrigued to develop, it's too late for XZ now, but for your future flagship, this is IMO a must

And gpu performance on AOSP is a letdown, even with latest v11 vendor files