yashsingh1/xdaforums huggingface dataset:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
To God be the glory, my AOKP Pie project finally works!

This is not a dirty unicorn. This is the original unicorn, the AOKP.

WARNING: This is for phones that are still using the 50.1 firmware base! Not for phones that have upgraded to the 50.2 firmware!

**** This is an UNOFFICIAL ROM. Install at your own risk! ****

A huge thanks to the Android Open Kang Project team!​

Another huge thanks goes out to [MENTION=5075128]LuK1337[/MENTION] for all of the great development that he did on the Sony Xperia XA2 Ultra! He did most of the heavy lifting by making a great LineageOS build, upon which this AOKP is based. Please note, this is an UNOFFICIAL ROM.

Disclaimer: AOKP is not responsible for any damages to your device.

All of my work is completely available for any who wish to use or modify it. I didn't make AOKP, the device trees, or vendor blobs. I simply used and edited existing material. A huge thanks should go to those who actually created this stuff.

This Unofficial AOKP ROM was built for H3223 (discovery), but may work on some of the other variants, please try at your own risk. However, if you do try it on another variant, please be sure to let me know in the comments how it worked (or if it didn't).

Downloads:

Rom Download link:

WARNING: This is only for those on firmware versions 50.1.xxxxxx, not for those who are on firmware versions 50.2.xxxx and up. I plan on working on updated firmware versions later.

http://www.mediafire.com/folder/6ni8bw8ansajf/pie

There is an ENG and USERDEBUG build. The ENG build is marked "ENG" for testing purposes only. You can install anything you want, but I recommend not installing the ENG build.

Gapps link:

http://opengapps.org/

If desired. Personally, I've gone Gapp-less.

Installation instructions:

-Download ROM and gapps, and put them on your removable sdcard storage. (Or leave on your computer and flash with adb sideload.)

-Reboot into the bootloader.

-Fastboot boot your TWRP.

-Backup what you had. (Just to be safe.)

-Wipe everything and format data.

-Install Rom. (Either from adb sideload or from your removable sdcard storage.)

-Reboot to system and enjoy!

If you also want Gapps:

-Reboot again into the bootloader.

-Fastboot boot your TWRP.

-Install Gapps. - Optional

If you plan to install magisk (good idea), then let the rom boot the first time, then go back to TWRP and flash magisk. This is optional, of course.

What works:

So far everything that I have tried works, such as
- Camera for pictures and video!
- Phone calls
- Data 3g/LTE
- Bluetooth
- WiFi
- MTP
etc....

What doesn't:

- Nothing else that I know of, but if you find something, please let me know so we can try to fix it!

AOKP XDA Forum: http://xdaforums.com/aokp

Source Code: https://github.com/AOKP

Official website: http://aokp.co/

My device trees, vendor blobs, and kernel source:

https://gitlab.com/alaskalinuxuser/android_device_sony_discovery

ROM OS Version: 9.0 Pie

ROM Kernel: Linux 4.4.153

Based On: LineageOS and OmniRom

Created 2019-08-21

Last Updated 2019-08-22
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Change log:

2019-08-22

-Stable userdebug build.

2019-08-21

-Stable ENG build. Fixed previous issues.

Had to edit a lot of components within AOKP rom source to make this work, which makes a repo sync difficult.

2019-08-20

-Booting ENG build, unstable. Issues with Bluetooth stack and encryption key sizes, as well as issues with gestures.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Tough crowd....
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
I'm staying on RR probably, I was a fan of it when I had my z ultra, back when I used to port
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Just a teaser video.... Booting built in TWRP:

https://www.mediafire.com/download/pqdldlzikokodw4

Plan is to add it to all the ROMs that I make for this phone.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Good morning everyone!

I was planning monthly updates to this rom for security purposes, which I am also doing for RR. However, the AOKP source code still has quite a few issues that makes building very difficult. I have to hand edit a lot of fixes to get a working build. So unfortunately I am waiting for AOKP to build without issue first before building another update for this rom. I'll check back periodically to see if they fix the repo. If you need the monthly security updates, I'd recommend LineageOS or my other rom, RR.

Thanks,

Alaskalinuxuser
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] lonewolfbtown:
hey man I respect the hell out of you for trying. But I dig the rr rom. Never tried aokp. I eagerly await your updates still for this phone. Maybe even aosp 10. Id tip for that!
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
It's in progress. :)
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] BuTzUFo:
anybody got this working? not gnna format my phone again for this sh1t not to work h3213
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Worked just fine for me
[ASUS ZenFone 6 (2019) Questions & Answers] dennis96411:
I just got my device and noticed that there's a constant hissing when I try to use any headphones with it. What I did was play some music through 3.5 mm headphones in a quiet environment, then turn the volume all the way down. Let me know if you hear hissing with your unit.

I thought it might be the equalizer, so I disabled com.asus.maxxaudio and com.asus.maxxaudio.audiowizard using ADB. Then I rebooted into safe mode. The problem was still there, so I don't think that's the problem.
[ASUS ZenFone 6 (2019) Questions & Answers] bloodydawn01:
Tested with v-moda M80 , no hissing here.

Enviado desde mi ASUS_I01WD mediante Tapatalk
[ASUS ZenFone 6 (2019) Questions & Answers] dennis96411:
I'm using low impedance headphones if it helps. Tested two pairs that were 16 and 32 Ohms. Maybe it's not noticeable with high impedance headphones?
[ASUS ZenFone 6 (2019) Questions & Answers] bloodydawn01:
My V-moda have 32 Ohms

Enviado desde mi ASUS_I01WD mediante Tapatalk
[ASUS ZenFone 6 (2019) Questions & Answers] dennis96411:
Seems like I will have to RMA my unit. What a shame.
[ASUS ZenFone 6 (2019) Questions & Answers] roucoups:
Hello,

I am experiencing the same issue with my brand new Zenfone 6 (256gb variant)., quite annoying hissing noise in the earphones for 3 seconds every time I start a sound, and even every time I stop the sound for 3 seconds.

Did you return your unit?

Thank you.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] profyler:
Here we go guys, Some manufacturers already showed their roadmap to android 10 (nokia, one plus etc) today.

Im creating this topic to discuss the Update Release for our Phone, so we dont have multiple threads for discussing it. News and things like that are welcome.

Android 10 will be released very soon for the Pixel.

Now let us pray that we are also going to receive it. And hopefully not like in 2023.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] danish0175:
Probably April or May
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Dean F:
There will be no Android 10 for XZ1c. Sony already announced the devices what will get it.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] komer:
Link please....
[Sony Xperia XZ1 Compact Guides, News, & Discussion] profyler:
link to the official statement?
[Sony Xperia XZ1 Compact Guides, News, & Discussion] kiratheone:
Ups, we need an explanation about that:eek:
[Sony Xperia XZ1 Compact Guides, News, & Discussion] _Nexus8_:
I think he is right, on some French website related to Android, they say that only the XZ3 is confirmed to receive Android Q for now
[Sony Xperia XZ1 Compact Guides, News, & Discussion] profyler:
xz2 is 100% getting it. xz1 we dont know, but sony provides 2 major updates to its flagship since xperia Z
[Sony Xperia XZ1 Compact Guides, News, & Discussion] kiratheone:
Maybe from Sony IFA can give us an answer later
[Sony Xperia XZ1 Compact Guides, News, & Discussion] systemdev:
Not sure if this is a good source for info:

But....

https://www.theandroidsoul.com/android-10-release-date/#sony
[Sony Xperia XZ1 Compact Guides, News, & Discussion] profyler:
still nothing officially, but would be a shame a hi end device only receiving one major update.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Yerasa:
Official AOSP 10 binaries for XZ1 Compact
[Sony Xperia XZ1 Compact Guides, News, & Discussion] n0k0m3:
[MENTION=4883542]profyler[/MENTION] can you edit your post with the link to the kernel source code that [MENTION=4931838]Yerasa[/MENTION] posted above?
[Sony Xperia XZ1 Compact Guides, News, & Discussion] DerSteppo:
Hell yeah! :fingers-crossed: looking forward to it!
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Dean F:
DELETED
[Sony Xperia XZ1 Compact Guides, News, & Discussion] SkyHigh76:
Was anybody able to compile the AOSP version from Sony for the G8441?

I just ran into errors after starting to compile with make command.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] redavenger:
i highly doubt we'll get Android 10 for the phone...

the phone is already 2 years old and between years 2-3 it will probably receive only security updates...and that will probably be every 3 months too.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] DanLo-peria Compact:
Yep, and Official Android 10 binaries 5 posts above is just an illusion, you are completely right !
[Sony Xperia XZ1 Compact Guides, News, & Discussion] pagerc:
I'm hoping for a full Android 10 Sony branded update, but not holding it hope.

We've got AOSP support, but there's a lot of driver and codec deficiencies in that build, like losing aptX and H.264.

https: developer.sony.com/develop/open-devices/get-started/supported-devices-and-functionality/current-platform-functionality-maintained
[Sony Xperia XZ1 Compact Guides, News, & Discussion] fred0r:
Hey Sony - please make a Difference and keep updating Devices to latest Android for (at least) 5 Years.

i'm sure that would also increase Sales !
[Sony Xperia XZ1 Compact Guides, News, & Discussion] derf elot:
List of docomo phones receiving 10 - guess who's not in it ;) :

https://www.nttdocomo.co.jp/info/notice/pages/191018_00.html
[Sony Xperia XZ1 Compact Guides, News, & Discussion] kiratheone:
sad to hear that :(
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Dean F:
DELETED.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] profyler:
Yep, I yhink thats it guys. Sad. A Hi end phone with only one major update. disgusting from Sony
[Sony Xperia XZ1 Compact Guides, News, & Discussion] ΒΕΓΑ:
Docomo is not Sony, still waiting for an official roadmap.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] profyler:
yeah but wouldnt make sense to launch it officially and docomo ignore it, so yes , as a major partner of Sony, Docomo knows that it wont come.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Ummmbra:
Not necessarily. The Japanese version of Z1 Compact (SO-02F) on Docomo never got Lollipop, while the world version (D5503) did. So Docomo not having it doesn't necessarily mean much.

I'm confused by those AOSP binaries linked earlier though. Are they enough to build a fully functional Android 10 AOSP or LineageOS for this phone without Sony branded stuff?
[Sony Xperia XZ1 Compact Guides, News, & Discussion] mp107:
You won't lose H.264. You would just need to use some third party video player to be play them.

Yes, you can build a working AOSP 10 ROM using them. But you might come across problems with stability (at least at the moment) as it is in "work in progress" state.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] derf elot:
that should be official enough then

https://blogs.sonymobile.com/2019/11/15/which-sony-products-will-receive-android-10-upgrades/
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Ummmbra:
Wow, so they really went ahead and did it. ONE major Android update for a flagship smartphone lineup. Hope Treble helps us get 10 anyway. Having used Z1C, Z5C and XZ1C I gotta say now this is my last phone from Sony.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] moelsky:
Seems like Sony should have shipped XZ1 with Nougat and update it immediately to Oreo after launch and people would be happy and praise them with promised two years of updates for premium phones (because we got two major Android updates).
[Sony Xperia XZ1 Compact Guides, News, & Discussion] YamiYukiSenpai:
Bummer it's not getting updates anymore. Hopefully LineageOS 17 will come out soon.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] profyler:
No wonder they're on a sinking ship....
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Lucem1:
they disabled comments, haha wtf
[Sony Xperia XZ1 Compact Guides, News, & Discussion] notass:
They had pretty much comments... I think we should write in their forums...

Enviado desde mi G8441 mediante Tapatalk
[Sony Xperia XZ1 Compact Guides, News, & Discussion] tonsofquestions:
No, I still wouldn't have called that two years worth of updates. If the phone comes out mid-year, then maybe. But releasing the phone on the last version of Android, after the new one has been released (especially with Sony's track record of doing so and having very light UI changes) would have been a shady move, in my opinion. As far as I can tell, most of their previous phones (out in September, on the just released Android version) have had two major version upgrades released:

X Compact (9/2016, M-O)

Z5 Compact (10/2015, L->N)

Z3 Compact (9/2014, K-M)

Z1 Compact (1/2014, still got two, J -> L)

(Just to list a few.)

So why should the XZ1 Compact (Released 10/2017) (a) be unusually launched with an old version, or (b) not get the same two major updates?

I was already pretty bummed at Sony for stopping the compact phone line and for the camera DRM/unlock nonsense, but this definitely shatters any remaining faith (hope?) I had in them.

Edit:

I apparently can't do dates in my sleep-deprived state.

A clear successor to

X Compact (9/2016, M-O)

Should have been

9/2017, N->P, but instead we got a release with O. So it does fit the trend, though I'm not sure why the Z1 came out with Jelly Bean and not KitKat.

I'll be very interested to see what happens next year with the XZ3 (not compact, released 10/2018 with Pie, upgraded to Q, in theory no second update, since the trend was it should have come out with Oreo?). Then again, I don't have skin in that game.

All that said, I still think it's reneging on the promise for two major version updates (certainly the spirit of it), and I think companies should be doing more than the bare minimum. I'm sad that Google seems to be the only one wanting to do so.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] komer:
I agree that they should. But someone should force them, they won't do it by themselves.

Business is all about money. If they don't see profit in it, they won't do it. Majority of people doesn't care about system upgrades. So why would Sony bother?

I'm satisfied with my 8.0 phone. I didn't upgrade past 47.1.A.16.20. What did Android 9 or 10 bring that I would cry about? Only dark mode, imho, is worth mentioning.

(security updates are different story.)

Only thing that one can do is to choose deterrent OEM when buying next phone. But, for me, it's so hard to pick from current offerings. I need compact phone, good battery life, headphone jack, sdcard etc. There are not (m)any phones that fulfill those criteria. That's why "reputation for 2+ years of system upgrades" is not high on my list of priorities.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] tonsofquestions:
I agree - I have many of those requirements, myself, including being unlockable.

But it's effectively a demonstration of a commitment to their customers, and future support. The business sense in it is keeping me happy so that I'll buy a new phone from them. Because while I might not need the system upgrades as much, myself, I do see it, and it means that I also won't recommend them to any of my nontechnical friends, who *would* want the system updates.

And the thing that's supposed to get them to do it is the commitment (and agreement/contract) with Google to provide continued updates. Or, at least, that was my understanding of how it was supposed to work. Perhaps I misunderstood the terms.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Ummmbra:
Exactly. Why bother buying Sony phones if they stop supporting them after one major update? Some crap Chinese brands get better support than that. There's obviously zero technical obstacles to XZ1/XZ1C running Android 10, they even uploaded firmware blobs for 10. As someone who's used three Sony compact phones, I feel cheated.

There's always some dumb quirk that is honestly unacceptable for this kind of phones. Z1C had a crap hypersensitive touchscreen that would auto-unlock and send texts while the phone was in my pocket, Z5C had a wobbly headphone jack that died within a year, now XZ1C doesn't get updates beyond Pie... And XZ2C is getting so big it's barely even a "compact" phone.

Plus all of these phones have terrible cameras. I could deal with it because photo quality isn't a big deal to me. But not getting the second major Android update was kind of the last straw. I'm not going to buy XZ2C, not after this.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] komer:
None of my "nontechnical" friends ever said "I need 2 major system updates from a phone".

Whenever someone needs an advice about the phone, their requirements are all about camera and battery.

If Sony had good camera, I would recommend it. Since it doesn't, 100 system upgrades wouldn't help.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] tonsofquestions:
No, none of my friends have ever phrased it that way, either. But a number of them care about device longevity/security or continued software improvements.

Some of my friends like to buy a phone every 4-6 years rather than every 1-3 that carriers are pushing for. (I can't blame them.) If you're in that camp, upgrades can be pretty important on that timescale, otherwise major apps might stop supporting the original OS version. One friend switched to Apple for exactly that reason, and I couldn't really blame them for it.

I have another friend who doesn't care about the camera - it's always covered with a privacy guard unless it's in use, which is rare - so that's not at the top of the list for everyone, either.

Giving good advice takes knowing what people's needs are, and where their priorities lie. If all of your friends have the same requirements, that's pretty convenient. But there are definitely others who feel differently. Maybe I just have have an overly large proportion.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] komer:
Some of your non-techy friends have quite techy requirements :)

Anyway, I was talking about majority; not about individuals who have different needs. Majority are those who buy Samsung and Huawe phones despite the reputation of those OEM's lousy update habits. Yet, Samsuny and Huawei are on the top.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Ann Xkai:
https://sumahoinfo.com/?p=36637

Xperia global share is only 0.167%,We are that 0.167%, Sony Mobile still chooses to abandon us.

I believe there are more XZ1 series users than XZ2 series users, but they still choose to give up on us
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Tudor M:
Guys, I am just as sad and frustrated about this as you are.

I am still hoping for a miracle, and why did they put the binaries for Android 10 on the site? :(

Also, to be fair, Android 9 is pretty decent in terms of functionalities, although we did not get the usage statistics that were promised with pie.

The only thing that I am missing is the pill navigation. :(
[Sony Xperia XZ1 Compact Guides, News, & Discussion] danish0175:
You can get it without root with adb commands using Xperia 1 launcher
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Prass93:
Not get 10, see you good bye my Sony ??
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Dean F:
I think it was naive to expect Android 10 . Yes Sony normally gave 2 major updates - but seems most people forgot, the XZ1 compact was the first 3rd party Android phone to launch straight on Android 8. We had Oreo months before other major phone brands. The previous Z series phones had launched on the outgoing version of android. They had a only a few months before getting the first major update. We skipped those first few months of being on the outgoing OS - and that's a good thing. But here we are hating Sony for it. Looking at this threads history, only one person noticed this.

Your phone is out of warranty now. You could root it and easily keep your camera and google pay functionality (which was almost impossible to do back in the early days). So why not move to Lineage OS 16, and start supporting and getting behind the projects that will keep this phone alive.

Even if you do nothing, Android 9 is going to be highly relevant for the next 3/4 years. So much of the OS functionality has already been moved to the Playstore for easy updating. You also have future proof hardware components on the phone, such as: USB C, like Bluetooth 5, and the Snap 835. Bluetooth 5 is going to very important in the next few years, and you already have it.

Personally, I will be purchasing my 3rd Xz1 Compact soon.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] mikko.rantalainen:
In fact, my XZ1 Compact is still under warranty because it has 3 year warranty in Finland. Warranty does not warrant software support, though.

Is it possible to install LineageOS and keep full camera resolution (with 4608x2592 resolution)? Easily? I currently have a locked bootloader and a full TA backup (acquired via renoroot).
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Dean F:
Yes, the lineage build offered on this XDA XZ1 Compact forum includes the actual full Sony Camera app and its functionality, including all those extra camera bloat (sound photo, creative effect, panorama).

I personally don't have my TA keys anymore, and my bootloader open.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] _Nexus8_:
I was like 85% sure that the device wasn't going to have the Android 10 update

The device only got one major update, and it got security updates for two years and now it's over?

I heard that the device will get the November security update (because the XZ Premium will receive it) but what about the next ones? Sony released the device a little more than two years ago in October 2017
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Wistatl:
Let´s try to change it! We want Android 10 on our devices!

https://www.change.org/p/sony-android-10-for-sony-xperia-xz1
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Tudor M:
Signed, although, I don't think it helps in any way. :))
[Sony Xperia XZ1 Compact Guides, News, & Discussion] tomogo:
Same me... ;)
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Yokurt815:
Same here...
[Sony Xperia XZ1 Compact Guides, News, & Discussion] Wistatl:
Sony stopped updating XZ1, XZP series.

https://www.sonymobile.com/global-en/software-security/
[Sony Xperia XZ1 Compact Guides, News, & Discussion] j4nn:
So 47.2.A.11.228 fw version is the last one we get?

That would not be nice.

Did not expect Q to come, but hoped for security updates on pie to continue for some time at least.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] AlyHK:
Well, the device is Android Enterprise recommended, so it should have at least three years of monthly security updates. XZ1C was actually one of the very first devices to have this kind of validation.
[Sony Xperia XZ1 Compact Guides, News, & Discussion] SXUsr:
Then someone needs to put together a legal argument requiring them to do so.

Sony XZ1C Android Enterprise
[Sony Xperia XZ1 Compact Guides, News, & Discussion] komer:
That doesn't help us much if we can not enforce the rule. It's just few empty words.