yashsingh1/xdaforums huggingface dataset:
[P8lite General] Trakost:
Hi, thanks for this fix!

It actually works, BUT for a limited time.

After having flashed it, I check if HWC is enabled, and the terminal say so.

But after a bit of time (I cannot quantify it) the HWC get disabled again (I notice some lags, and through terminal I indeed see "disabled").

What can I do in order to make this fix permanent?

Thanks for your help!

P. S. The ROM is the LineageOS 14.1 by DarkJoker360

Inviato dal mio ALE-L21 utilizzando Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] luchardi:
The official news said that. But the only compatible device Is Mi mix 2s wtf?? This device comes with MiUI no? A1 Is the only Android One from xiaomi at the moment.

Enviado desde mi Mi A1 mediante Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] luchardi:
Only for project Treble [emoji26][emoji26][emoji26]

Enviado desde mi Mi A1 mediante Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] Nautilus99:
i am also confused and thinking if i am gone be desapointed or not with oficial mi a1 updates
[Xiaomi Mi A1 Guides, News, & Discussion] Bzaina:
That's only for project treble which Mi A1 is not in. No 625 cpu device will have project treble. We're out :(
[Xiaomi Mi A1 Guides, News, & Discussion] SinkyChan17:
No way in HECK I'm buying a Mi Mix 2S but to be fair I'm just happy to see Xiaomi on this list at all. And.. Oppo?
[Xiaomi Mi A1 Guides, News, & Discussion] AvisUX:
What's the problem with SD625? Why wouldn't it allow for Treble?
[Xiaomi Mi A1 Guides, News, & Discussion] KuroHidari:
So this mean mi a1 will never get andro p? Or just the beta
[Xiaomi Mi A1 Guides, News, & Discussion] XSonicRU:
No, just the beta. We will get P, they said that on presentation.
[Xiaomi Mi A1 Guides, News, & Discussion] ddaggebi:
Misleading title. Personally hate this kind of title. Please change the title to something like "Why is there no android P beta for Mi A1?".
[Xiaomi Mi A1 Guides, News, & Discussion] AndroGeek911:
really?

Where do you heard that? Android P have made project treble mandatory i guess and also Xiaomi promised to give android P for mi a1 so technically we must get project treble.
[Xiaomi Mi A1 Guides, News, & Discussion] Mentu12:
Or we just won't get P which would be violation of Android One program.
[Xiaomi Mi A1 Guides, News, & Discussion] Ritik99:
You can even sue the company in Consumer court for full refund if they fail their promise, as it was clearly written that A1 will get P while promotion.
[Xiaomi Mi A1 Guides, News, & Discussion] kutulu32:
Let's wait and see !!!
[Xiaomi Mi A1 Guides, News, & Discussion] whrynox:
Nokia 7 Plus is part of Android One program. Actually I'm surprised that Nokia 8 Sirocco, which is Nokia's flagship, isn't beta testing Android P. I speculate that this beta program will be slowly rolled out to other phones in coming weeks. Let's wait and see what happens.
[Xiaomi Mi A1 Guides, News, & Discussion] Bzaina:
Don't know what's the problem. I just read here on XDA that SD625 cpu won't be getting Treble support.

Here on XDA. I don't think project treble is mandatory to have Android P but I can be wrong.:confused:
[Xiaomi Mi A1 Guides, News, & Discussion] shamil.sherhan:
Doesn't 8.1 beta has treble support?
[Xiaomi Mi A1 Guides, News, & Discussion] AvisUX:
Why? Treble is a software feature, there is nothing about 625 not being able to support it. Treble was even ported by the community to the Redmi Note 4, and it runs on SD625 as well.
[Xiaomi Mi A1 Guides, News, & Discussion] mhdazhar:
Severe battery drainage after April security patch...help?
[Xiaomi Mi A1 Guides, News, & Discussion] Mirdeusz:
Factory reset, or greenify.

Wysłane z mojego Mi A1 przy użyciu Tapatalka
[Xiaomi Mi A1 Guides, News, & Discussion] XSonicRU:
No, it doesnt have it.

---------- Post added at 12:51 PM ---------- Previous post was at 12:48 PM ----------

No it doesnt, on Google IO they clearly said that "Beta is coming on ... FLAGSHIP devices"

So even with treble we would not get it.

I think after release of 9.0 we will get custom firmware 2-3 months before official release.
[Xiaomi Mi A1 Guides, News, & Discussion] luchardi:
Misleading? I think you need to read the Google IO tech press article again.

If you are not happy with Xiaomi or Google don't kill the messenger ...
[Xiaomi Mi A1 Guides, News, & Discussion] Tyrany:
I really don't understand were all those rumors about 625 come from, as i haven't seen any official statement about that, besides tremble or no tremble there is a tool that allows to make GSI roms workable on non Tremble devices "Capire le Tremble", so it's not the end of the world (besides there is a developer for our device that managed to create vendor_a and b partitions, so its possible to achieve tremble non officially)
[Xiaomi Mi A1 Guides, News, & Discussion] lolmensch:
It was only said that the Mi A1 is one of the first devices to get p. Compare that to Samsungs Update schedule. And P is not out. It is a developers preview / beta. Nothing for the enduser.

I want it as bad as you but there is no reason why a mid / low-end device should be a benchmark for android p dev preview.
[Xiaomi Mi A1 Guides, News, & Discussion] solis_f:
Most people just cry and they don't even know what they are crying for. They are upset about things they didn't even know they needed and even when they got them they wouldn't know what to do with them. Complaining for the sake of complaining. Xiaomi and everyone else decided to put their flagships one the android P beta program. What is the problem? No one ever said android one phones will join android beta programs, no one ever said nothing about treble being mandatory on Android one phones.

Let's get this straight.

Android phones launched with version lower than 8.0 are not required to include ANYTHING. No trebles, no beta programs.

Android phones launched with Android 8.0 and up are required to have treble support and thankfully Google decided to not certify phones that do not meet their guidelines on android integration so nothing will be left behind anymore with newly launched devices.

So Xiaomi is not required to do anything of those things you ask.

They said latest Android version (8.0 = 8.1 =THEY ARE BOTH OREO, GET OVER IT ALREADY) which we have. They said timely security updates, which we have and no bloatware which we thankfully don't have! What else do you want from a device at this price? To drop their flagships so that you can have a dedicated software developer team at your service? No and stop with this nonsense, if you need something, then develop it or fund a developer that can do it. This is XDA. Nothing gets done with crying, everything gets done by trying. I'm not defending Xiaomi here, I'm defending logic
[Xiaomi Mi A1 Guides, News, & Discussion] loctran.liam.wk@gmail.com:
Don't worrry to much we will have the office android 9 when it release.

Don't worrry to much we will have the official android 9 when it release. Xiaomi had promised that. Right now, it's a beta version with full bug who want that except for the developers and reviewers.
[Xiaomi Mi A1 Guides, News, & Discussion] Tyrany:
guys read this before spreading more fake info https://www.blog.google/products/an...ogle-android-oreo-go-edition-and-android-one/
[Xiaomi Mi A1 Guides, News, & Discussion] skroychowdhury:
You are right

No, project treble is not mandatory to be eligible for Android P. But it sure had been nice to have. Would have made future custom ROM development easier. Added more value to the phone.
[Xiaomi Mi A1 Guides, News, & Discussion] solis_f:
It is if you launched with P or O. It is not if you upgraded to P or O. That's the difference. MiA1 started from nougat
[Xiaomi Mi A1 Guides, News, & Discussion] skroychowdhury:
Well

Well, any Phone launching with Android 8.0 or later must have project treble support baked in their OEM ROMs. Otherwise, Google won't certify the ROM for the device. So there is that.
[Xiaomi Mi A1 Guides, News, & Discussion] Danchibald:
One more reason to change Mi A1 for Nokia 7 plus... Tnx Xiaomi :)
[Xiaomi Mi A1 Guides, News, & Discussion] GVN.Gallus:
Cmon guys, it just not get BETA, why do u need a buggy beta build?

We in Android One project, and we will get all the update in 2 years since the phone release (Sep 2017). That mean we'll sure get P and next year android (maybe Q?).

Keep calm and enjoy your phone.
[Xiaomi Mi A1 Guides, News, & Discussion] whrynox:
It was promised that the device will receive 2 major OS upgrade and 3 years software updates. So technically in the end we have Android P and monthly security updates until September 2020.
[Xiaomi Mi A1 Guides, News, & Discussion] GVN.Gallus:
Yeah and that's official, since i dont use stock rom, all i care is community dev strength, and so far i'm satisfied with this phone :highfive:
[Xiaomi Mi A1 Guides, News, & Discussion] whrynox:
Can't argue with that. It's what keeps me from selling this phone. Both official and custom development are good, at least better than my old phones.
[Xiaomi Mi A1 Guides, News, & Discussion] CosmicDan:
It's a poor communication. What they mean is that *Xiaomi* will not update *their* SD625 devices with Treble, by their choice.

It would work perfectly, all Android 8.0+ devices can be made to support Treble because all the hard work is done already as per 8.0 HAL requirements.

We will get Treble soon, unofficially. If I don't do it, someone else will. We have full AOSP so it's not difficult, relatively. Just *unofficial only*. But it means we'll soon be able to use GSI's.

And when the Mi A2 launches, I'll be working 200% on making an MIUI GSI.
[Xiaomi Mi A1 Guides, News, & Discussion] shamil.sherhan:
Too bad its not getting treble support.
[Xiaomi Mi A1 Guides, News, & Discussion] cloto70:
Why? We are going to get Android P anyway and after that we will count with the community for new updates, with or without treble.
[Xiaomi Mi A1 Guides, News, & Discussion] M3TheOne:
Well, as you know Mi A1 is part of Android One program and started with Android N - i have it now and its upgraded to Android O - i think Android P would be available on MI A1 too but after Officially released.

Update:

Mi website said: Mi A1 ships with Android Nougat, and will receive 2 years minimum of OS upgrades. And since Android One users are among the first to get new OS upgrades when they’re released, you’ll have access to the latest features and innovations even sooner.

>>>> So Mi A1 released in Sep-2017 and will get OS upgrade until Sep-2019 :)
[Xiaomi Mi A1 Guides, News, & Discussion] KuroHidari:
---------- Post added at 10:52 AM ---------- Previous post was at 10:51 AM ----------

[/COLOR]

ahh alright thanks
[Xiaomi Mi A1 Guides, News, & Discussion] LoVeRice:
Mix 2s is an android1 device
[Xiaomi Mi A1 Guides, News, & Discussion] luchardi:
Not use MiUI no android stock

Enviado desde mi Mi A1 mediante Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] cloto70:
No, it's not

Enviado desde mi Mi A1 mediante Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] legitmerktius:
damb
[Xiaomi Mi A1 Guides, News, & Discussion] justboryata:
Mi A1 Treble

Guys I'm with the Mi A1 and recently I trebled my device, it's possible but not easy, took me 5 hours of fiddling around but I got it.

Warning: Remove any type of security before trying to Treble because repartitioning will brake your encryption password and you won't be able to access TWRP. At least that's what happened with me.
[Xiaomi Mi A1 Guides, News, & Discussion] rkajtn:
xiaomi mi a1 will get android p!!!!!!!!!
[Xiaomi Mi A1 Guides, News, & Discussion] Sharlimar:
when? This year?
[Xiaomi Mi A1 Guides, News, & Discussion] Syoshi:
In December
[Nokia 7 Plus Guides, News, & Discussion] SirGarmaples:
Since Google has just confirmed the Android P Beta for our phones, the bugs, battery endurance, SOT differences compared to Oreo 8.1, etc, would be nice to see. I'm planning on installing it on mine when it reaches a later stage, at least around 2 months before release.

EDIT : Coming soon, but confirmed coming. This thread may be relevant when it actually comes out. Check here, till it says your device is eligible. https://www.google.com/android/beta
[Nokia 7 Plus Guides, News, & Discussion] SirGarmaples:
deleted
[Nokia 7 Plus Guides, News, & Discussion] K.khiladi:
https://r.tapatalk.com/shareLink?ur...share_tid=3787518&share_fid=3793&share_type=t

Already a thread about it. [emoji56]
[Nokia 7 Plus Guides, News, & Discussion] SirGarmaples:
I should stop rushing to conclusions and wasting thread space. Nevermind then. Can the mods please delete/close the thread?
[Nokia 7 Plus Guides, News, & Discussion] dronkarp:
https://www.nokia.com/en_int/phones/developer It`s on Nokia site.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] axxx007xxxz:
Sony AOSP project​

Disclaimer

I'm not liable for anything YOU do to YOUR device, YOU are doing it and it's YOUR device.

What is it?

It's a project developed and maintained by Sony Xperia Developers team.

You can get more informations here: https://developer.sony.com/develop/open-devices/

Can I build it by myself?

Sure, just follow these instructions and have patience!

What works and what doesn't?

According to this official page, almost everything seems to be fine.

How can I flash it?

Follow these steps:

Unlock the bootloader (this will erase your data and will void warranty): https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/

Setup fastboot on your PC (there are many guides for this step)

Download and unpack the zip archive

Open a shell into the folder containing unpacked files

Run these commands:

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash vendor vendor.img

fastboot flash userdata userdata.img (it’s not necessary to flash userdata every time)

Download and unpack the corresponding vendor image from here: https://developer.sony.com/develop/open-devices/downloads/software-binaries

Open a shell into the folder containing unpacked image

Run this command:

fastboot flash oem SW_binaries_for_Xperia_xxxxx.img (where "xxxxx" varies depending on the file)

(optional) In case you want to flash GApps, Magisk or other mods, you can use TWRP: https://xdaforums.com/xa2-ultra/development/recovery-twrp-3-2-1-0-touch-recovery-t3774193

Reboot the device and enjoy!

Download link

You can get the builds from my AFH folder: https://androidfilehost.com/?w=files&flid=269497.

I haven't done any change to Sony's source code, these are vanilla builds.

Credits

All credits go to Sony and Google.

XDA:DevDB Information

Sony AOSP, ROM for the Sony XA2 Ultra

Contributors

axxx007xxxz

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

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 4.x

Based On: AOSP

Version Information

Status: Testing

Created 2018-05-08

Last Updated 2018-05-08
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] axxx007xxxz:
Reserved

NOTE: I'm in no way associated with Sony, these are unofficial builds and are made for pesonal usage.

Also, these builds are

untested

so I can't assure they're going to work!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] axxx007xxxz:
Reserved 2

Post reserved for future usage.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] axxx007xxxz:
Reserved 3

Post reserved for future usage.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] axxx007xxxz:
Reserved 4

Post reserved for future usage.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] axxx007xxxz:
New build

Build informations:

Build type: userdebug

Android revision: android-8.1.0_r20

CAF revision: LA.UM.6.4.r1

Last commit of sonyxperiadev/local_manifests: 81032020581dd636ab9d7f8414609bad07332288

Last commit of sonyxperiadev/kernel: 1df958f2943c6c5cae31018e42d2f42e8a55c4b3

Last commit of sonyxperiadev/device-sony-nile: c775da101d57377979cdcb79b1ba1b5bbd3739a4

Last commit of sonyxperiadev/device-sony-pioneer: 5b804c4aa86ca13653d2d692120437fa76f61ae9.

Download link: https://androidfilehost.com/?fid=818222786056029296.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Casserole:
It always says "There's an internal problem with your device" after booting up. It's kinda annoying.

And it also does not accept my Samsung microSD card formatted on stock ROM and wants me to format it. I'm backing it up, and will try to format it later.

Fingerprint aslo does not work, but I'm fine with that at the moment.

If someone needs to know, I have H4113 (dual-sim variant of regular XA2).
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] roirraW "edor" ehT:
Just information: I have the H3223 not H3213, and haven't tried to flash this, but on the Google Pixel (8.1) with at least some custom kernels and some versions of Magisk, the same "There's an internal problem with your device" when you boot up, but other than possibly having your phone screen on longer than it should, there are no actual problems on the Pixel. Could be for the same reason(s), whatever those reasons are. :) I'm not positive but I think that more recent versions of Magisk might not cause that message anymore. I use an old version of Magisk, but in my case the Pixel custom kernel I use causes that, too.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Casserole:
I haven't flashed any magisks at the moment, so I don't think the problem are caused by it. But thanks anyway for the reply.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] roirraW "edor" ehT:
You're welcome! I'm not suggesting that you flashing Magisk or anything is the cause of this on this ROM, it's just related to changes in Android 8.1 and that it doesn't really necessarily mean there's something wrong. I'm sure there are ways around it, but since I'm not a developer and I don't know what triggers it, I don't know.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] mirco_pa:
Is fingerprint scanner not working for everyone or it is not working only for those with a fingerprint scanner made by a a different hardware maker?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] axxx007xxxz:
Thanks! With "almost everything seems to be fine", I meant that most of the main parts (should) work.

Camera is a known problem on Sony devices due to DRM keys getting erased on bootloader unlock.

The SD card problem could be related to your phone being dual SIM: as the title says, these builds are for H3113 (single SIM variant).

You can try to set dual SIM properties in build.prop (you can do it with an app like this or a text editor if you have root access, otherwise I think it's doable through TWRP too):

persist.multisim.config=dsds
persist.radio.multisim.config=dsds
ro.telephony.default_network=9,1

then reboot the phone and test.

These come directly from H4113 makefile, I can't assure you everything will be fine after this, but you can give it a try.

As per the fingerprint, it's currently broken on all variants, I'm sorry.

Sony website reports it as currently not working on AOSP, I'm sorry.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Casserole:
I think SD card problem was related to something else, because it started working after reformatting.

But there were also problems with SIM card, it worked on first boot, but after removing and inserting it again device shown that there were no signal, so your solution may be helpful in this situation. I can't test it due to limited amount of time, though.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] axxx007xxxz:
New build

Build informations:

Build type: userdebug

Android revision: android-8.1.0_r26

CAF revision: LA.UM.6.4.r1

Last commit of sonyxperiadev/local_manifests: 1c992d7f3f2ef8d0b53397e23227e10489e40bec

Last commit of sonyxperiadev/kernel: ab6fd5b1a4126cfdd4391eefe8eba17eb6626781

Last commit of sonyxperiadev/device-sony-nile: 7d57c76da9ce47849429347e77e013781e63db2f

Last commit of sonyxperiadev/device-sony-pioneer: 5b804c4aa86ca13653d2d692120437fa76f61ae9.

Download link: https://androidfilehost.com/?fid=890278863836285554.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
Can you build one for H4113? You shood have files for it too
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Nonstop decay:
Thanks axxx007xxxz for sharing these builds! They helped me recover Android on my completely wiped h3113 pioneer. Both the 8.0 and 8.1 build work for me. Downloading them to my PC was the hardest part, for some reason the download often fails.

I still have a couple of questions about these Sony AOSP builds that maybe you can answer:

1. Do you know what the Sony software binaries* do? I have flashed them on my device a couple of times, but I don't see anything added.

2. What is the difference between build type "userdebug" and "eng"?

3. If I use this build, how would you recommed I update it? Is the only way to flash in fastboot? (Like step 6 in Sony's guide**?)

Thank you!

I get the same error message right after booting, also without root. It's annoying, but I guess I can live with it.

P.S. As I'm a new user, I cannot use links yet. Please use these footnotes instead:

*: https[colon]//developer[dot]sony[dot]com/develop/open-devices/downloads/software-binaries

**: https[colon]//developer[dot]sony[dot]com/develop/open-devices/guides/aosp-build-instructions/build-aosp-nougat-8-1-oreo-4-4/#tutorial-step-6
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] :
1. parts of android which are closed source, graphics driver for example. you won't see them.

2. eng should give you more debugging options, like working adb logcat without enabling developer options which is sometimes needed while you're porting android to new device and there's just black screen on the phone for example. correct me if i'm wrong.

3. flashing worked through twrp for me but i had to build unsingned zip.

regarding the internal problem message, just ignore it.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] axxx007xxxz:
Checking H4113 makefile, I don't see big differences except for a few properties: https://github.com/sonyxperiadev/device-sony-pioneer/blob/master/aosp_h4113.mk#L18-L22; you can try to set them (you can use an app like this) and check if you can get dual SIM to work.

I can make a H4113 build if you want to test it though.

Unfortunately, Android File Host is problematic sometime.

Basically, what [MENTION=4575700]frantisheq[/MENTION] said.

I think you can flash IMG files through TWRP too if you extract the ZIP into your phone's memory.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] TheLoonyRebel:
Just wondering aside from not being supported in Sony's open device program what exactly is needed to get the H3223 from getting AOSP 8.1 built for it? I can't imagine the kernel being much different on the H3223 from any of the other XA2 Ultra single sim models, right?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
Yes plese make a build for H4413, i get so many random errors and every time i fix an error there appears another. And is the build for this model supposed to work with h4113? Aren't the boot images incompatible?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] axxx007xxxz:
New build

Build informations:

Build type: userdebug

Android revision: android-8.1.0_r26

CAF revision: LA.UM.6.4.r1

Last commit of sonyxperiadev/local_manifests: 003e7c4795a44c37d4e8626d7655d1e18cea4d62

Last commit of sonyxperiadev/kernel: 050bdda1372a9f9a0a54c0297f6665f6417035ea

Last commit of sonyxperiadev/device-sony-nile: d996222c7cfa7bc18350796f90008f5458ef333f

Last commit of sonyxperiadev/device-sony-pioneer: 0b45c5213b0ac39772beb4cb3db205ab68af91ac.

Download link: https://androidfilehost.com/?fid=674106145207488672.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] axxx007xxxz:
I'm not a Kernel guru but defconfig is the same: https://github.com/sonyxperiadev/ke...rch/arm64/configs/aosp_nile_pioneer_defconfig.

I'll make a build for H4113 as soon as possible.