yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
@OP

Could You add the Vendor Partition to the Wipe Menu ,and System and OEM/Vendor Options in the Image Flash Menu from TWRP? I have that Options on My Axon 7 (OKI Labs TWRP Mod from XDA). I'm also unsure if the AROMA TWRP Patch Out of this Forum is already included. The TWRP Versions we use is a bit older i think (3.1.xxxx).

Everything besides Bluetooth is working really Well. Performance is a lot better compared to My Axon 7 and more will be possible after playing around with the Vendor Content. Great Base to Play with!

Thanks again! I'll spent a Coffee next Year!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sjll:
Just modified the source codes and complied it.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] william84:
[MENTION=4756773]Miustone[/MENTION] how's the camera in our XZP with AEX? Is it still as 'grumpy' as it was on Oreo?

I remember you working on enhancing the camera for AOSP.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sjll:
Just modified source codes, and compile it.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sjll:
Hope you can enjoy it.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sjll:
The SODP team has done a lot of work on Pie GSI compatibility. I just use the existed partitions and modified source code to make treble works on XZP.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
It is much better right now. Full Camera 2 API Support including RAW and with the right APP like Open Camera do You have full Control of everything. The Sleep Dead Bug is with AEX no problem btw. Just enable the Always on Display Option and it will never sleep. Battery is pretty good and i get over the whole day with LTE+, Wifi and 4hrs+ Display usage. The Treble Kernel is really good and with some fine tuning with Kernel Adiutor is everything even better :)

I'm playing right now with the Vendor Partition eg. the build.prop and gained already some nice optimizations like better responding Ok Google Commands and better Noise Reduction. I think there will come soon some good stuff to Treble on our Xperias :fingers-crossed:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Cheers for the always on display tip, aex will be my daily driver now.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] wasnty:
Hi, i try a few gsı rom my phone , viper os , arrow os , android q, redmagic os , zirconium os and finally RR os.

RR os and zirconium os gsı img after flashing working , RR os is not any bugs , zirconium os bugs RIL not coming

Other gsı rom after flashing my phone stick it sony screen , i try v.90 and v0.85 yoshin.zip ...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LSS4181:
0.90 boots, but it doesn't work and would bootloop. I've tested RR, Descendant and Phh-Treble.

The GSI can boot to the logo, but after that there's only a black screen and the phone would reboot after a few seconds. In RR's case, I can hold power button to get a "Power Off/Reboot" menu, but not on other GSIs.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sjll:
GSI must own higher Android Security Patch level than treble version.

New version uploaded, a lot of fixes inclued, April Security Patch.

Need feedback. thanks.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Will test on My GFs XZ Premium later today. Want to give her AOSP 9 GSIs with My Work on Top to bring her away from Stock :silly:

Does SafetyNet pass actually with the latest Treble Patches?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sjll:
I haven't tested it, need feedback, remember to backup your files.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] asuasuasuasu:
大佬，亮屏时打开wifi时总是不自动连接，但是锁屏后秒连。还有官方已经更新v8内核了
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sjll:
XDA上面请附上英语翻译，中文不能被所有的机器正确显示。

反馈问题请附上具体的系统版本，截图。

Please attach the English translation on the XDA. Chinese cannot be displayed correctly by all phones.

Please attach a specific system version and screenshot for feedback.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] steso90:
Thanks for your work! where can i find the "disable forceencrypt script" ?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] 人做天看:
aex gsi with 0.85

everything is work great but Display content jitter when sliding the screen

一切
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Draknodd:
RR with 0.85 and Magisk 19.3. Working fine except few things. Flashed forceencrypt disabler and build prop mod and Gapps (after resizing system partition). Gcam working too.

1 WiFi does not autoconnect to known signals. I have always to connect it manually.

2 Performance are more like a sd820 not a sd835, any way to improve performance?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sjll:
V0.95 Uploaded, try it and feadback to me.

Please test fps of screen in testufo. Remember to use Chrome when you power on.(don't turn off screen).

Thanks.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Draknodd:
Flashed, same 2 problems as before. Magisk OK.

1 new bug. When I lock the screen and then I try to unlock It the screen starts flashing black. I have to restart it in order to use it.

Testufo attached below

EDIT1: I get static distorted sony bootlogo everytime

EDIT2: After few min the phone always shutdown

EDIT3: I flashed the vendor img in the vendor partition. But now I read in the readme of v93 that I should have flashed it in the cache partition. Can you confirm this?

EDIT4: There is a lot of tearing.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sjll:
Yes, you need to flash vendor.img to cache partition.

I will check it .

Thanks.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Draknodd:
Ok I have done all the steps again and flashed everything in the right partitions. Still black flashing screen when I lock the screen.

I don't think it's a gsi problem because with 0.85 this bug didn't happened
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sjll:
This may related with high frame rate. I will cancel it.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sjll:
Try new verison please.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Draknodd:
same problem again, when trying to unlock the screen start flashing ans there is tearing while scrolling. 0.85 is the last version without this problem I think

p.s. why v0.85 is a flashable zip with a patch to the system partition? just for curiosity

P.p.s look on telegram
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] 人做天看:
v1 测试了安卓Q，启动动画非常的卡，而且卡第二屏，然后相机不能拍照片，能录视频，可能是gsi 问题。画面撕裂有了改善，重复锁屏
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Incrovantilist:
Guys please help me choose. As of now, what's the most stable version of treble zip with what rom?

Stable enough to be a daily driver but I do not mind a few tiny bugs.

Also since GSI is aosp, is camera2api supported to level3 and does gcam hdr+ work?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Draknodd:
At the Moment 0.85 Is stable for daily usage. Try it with descendant 4.0.1. Google camera working with HDR+
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Incrovantilist:
Any notable bugs?

Also can I flash 0.85 with yoshino v9 or should I use v5 as per first post?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Draknodd:
Use v5.

Performance are a bit weaker than stock, used for 1 week (than I started to test the earlier versions) and was daily usable
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Fardin Rehman:
Is it possible to flash this rom on the dual sim version?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Draknodd:
Yes
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Fardin Rehman:
Okay, thanks! :D
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] TjNiko:
to bad Android Q images wont boot. endless bootanimation...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] babuuu:
I tried the Pixel Q image but it bootlooped. [MENTION=8321130]Sjll[/MENTION] said the vendor patch 1.05 should be able to boot Erfan GSIs, maybe it's very easy to fix and make it boot.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] TjNiko:
managed to boot Erfans GENERIC Q GSI but its worthless. no Sim detected and bugs everywhere. u guys have any link to any worth stable GSI? i tried havoc but endless bootanimation...

EDIT: found the problem. if u guys find your Pie treble roms hang on endless bootanimation flash the Boot and vendor(cache) images again and it will fly.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Draknodd:
When you lock the screen are you able to unlock It? I had this bug
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] TjNiko:
no problem with unlocking at all. only slow WIFI and SIm initialisation but im on 1.05 might try 1.06 patch wich should boost perfomance more
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] TjNiko:
ok i want to tell, the gaming perfomance with these GSI method is way under acceptable.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Draknodd:
Can you post a geekbench?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] TjNiko:
the GPu perfomance is catastrophal
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LSS4181:
Treble is based on SODP, so it's possible Sony purposedly degraded graphical performance there. Currently the custom ROMs listed here (Lineage, CarbonROM) use stock blobs instead of SODP, which has better GPU performance.

I experienced similar issues during early days, as some really resource intensive scenes couldn't reach full speed on SODP/Treble but reached full speed on stock-based ROMs.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] NASRNUNO:
please give me gsi link my phone xzp G8142
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Google for the AOSP Extended Homepage: http://lmgtfy.com/?q=AOSP+Extended

Google for GSI Development on XDA: http://lmgtfy.com/?q=Treble+GSI+Development+XDA

Watchout for the GSI Images for A Only Devices. A/B Images will not work for You. Your Device Model Doesn't matter as long as You follow the Instructions from the first Post of this Thread. Treble means no need for Device specific ROMs. One System for all Devices is what You get with doing this. Have fun!

https://downloads.aospextended.com/treble_gsi
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LSS4181:
How is the status on G8142 in overall? And is it possible to enable any extra features, like 120Hz display?

What do the "bugs" mean? Inability to use Wifi (G8142) and... USB connection (does ADB work)?

And "may sleep dead"... does it mean it might freeze while the screen's off? (this doesn't make it safe to use to me...)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] arslancn:
does ported gcam versions working fine on treble gsi s? i was tried it on some treble roms but none of them worked because i heard it doesnt change stock camera libs and hal.

If not, is it possible to enable it?

My device is XZ1(G8341).

Thanks
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] steso90:
Do we have stabilization for video and photo with open camera? Or any other camera app
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
There is no device specific Status. G8141 and G8142 are using the same Images and Treble Mod. The G8141 will be transformed to a G8142 and the Devices have the same Bugs. USB Works. WiFi Works. Sleep Dead can be fixed like i said before. It's good to use as Daily Driver...

Yes, this one does it for Me: https://xdaforums.com/poco-f1/themes/b-s-g-google-camera-port-developed-mi-8-t3843130

Yes

Edit: Sleep Dead Bug May kill the Phone after some Minutes with covered Display. Think it's a simple Kernel Bug i've expierenced on some Devices in the past... I have to hold Power+Volume Up to Turn Off the Phone , after that the usual boot scenario Like Always. Mobile Data Takes some Minutes to Start working but maybe is it Just Me...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ricardo99831390:
I wish the bugs were totally fixed specially bluetooth since I use it a lot. If there is something i could do to help anyone developing just ask. I don't know a lot about development but If i can do anything to help I will definitely will.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Aroma works with this recovery if you haven't already tried.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] israelnobrega:
delete
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Installer

For our XZ Premium with no Image Support for Vendor and System Images in TWRP...

Place "system.img" or "vendor.img" in the correct zip installer (root directory) and flash with TWRP. The Vendor Image is the Image You'll download from SONY. Not sure if it's working yet but please let Me know! Don't have the Time to test...

BR
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LazerL0rd:
How about having a go using SOMC (stock) rather than SODP? I'm not sure if possibly we'll need libs from from newer Sony's that have treble but it'll be much more optimised.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
SODP could be also the Reason why the Pie AOSPA Beta does not boot right now... We have Stock Pie and we should use that in my opinion :angel:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Give me a few hours and I will test the zips, when I am near my PC ;)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LazerL0rd:
This treble is using SODP.. That's why I suggested using stock (SOMC) libs and OEM for a new, hopefully better, treble.

Here's a little convo I had with someone:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
The zips didnt work [MENTION=4756773]Miustone[/MENTION], they flash ok in TWRP but have different effects. If I flash the treble zip, then OEM.zip, then (AEX or LOS) system.zip and try to reboot, twrp says no OS installed and loads the bootloader warning screen and reboots continually as expected (with no OS).

If I flash treble.zip, then OEM.zip in TWRP then either system.img via fastboot and reboot, it loads to the Sony screen and restarts forever.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sjll:
I'm woring on it.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] yacloo:
theoretically no need a seperated vendor partition but it's need to be tested

stock kernel can boot a gsi image but vendor folder need to flash too

stock kernel can symlink vendor folder to rootfs I don't think there will be a problem booting gsi image all things looks good

this way is easier to test stock vendor libs otherwise stock libs requires bigger vendor partition

from stock init.rc
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Damn... Sure it can't be that easy :( I'll look around for another Script Way but a good TWRP would be even better...

I've seen a Project that allows to "copy" the Vendor Part to a GSI Image which flashs the System including the Vendor. This could be a more easy way for us. I'll search the XDA Links if anyone is interested...

Yeha we surely should work on that. Anyways, we already have a good start thanks to Sjll :) Using treble on my xz premium opened a new world of development to me and i see a lot of potential in this :)

Thanks for all Your efforts! Let us know if you want some help :highfive:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] yacloo:
I think this is the project you were seen

https://xdaforums.com/project-trebl.../tool-capire-le-treble-terble-vendor-t3774629
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LazerL0rd:
I'm getting that with the normal method :\.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Wipe or format data
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Exactly, thanks! Looks promising to Me. People can build ROMs without the need to sync Device Trees for every specific Device. Saves a lot of Time and Disk Space. User can choose between different Vendors like Stock, Linage or even AEX and from other AOSP Variants with different Kernels and so on. No real Treble but still a nice solution compared to the Years before Oreo :fingers-crossed:

Some ROMs like MIUI will just not work yet. We need different Vendors for that (And Maybe also other Kernerls).

QSSI - Or CAF GSI Images are something new and are available from AOSPA right now, they do also not Boot. We also don't have full Treble alias A/B Treble. So only ARM64 A Only Images will work...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Tried the V0.2 ZIP. Working good so far but Bluetooth does still FC on all GSIs. Same GSI works on my Axon 7 with working Bluetooth. Any chance to fix that dear OP?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ricardo99831390:
I would like to do it myself but i dont know were to start and also i will have to learn a lot of things. If someone can help me on were to start I would like to thanks
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Is the sleep bug fixed? (fingers crossed)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LazerL0rd:
I believe that was a GSIROM dependant bug. But still exists for 0.2.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ricardo99831390:
has someone tried this??
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] steso90:
Thanks for your hard work. I'm really exciting to see it get 100% stable. Could anyone take a raw image and upload it?

Thanks in advance
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] megaxp:
Twrp freezes and random reboot.. how to fix? AEX works fine.

im wainting for a fixing bluetooth...

i have only ask, how to fix 3d perfomance? clash royale run slowly x.x
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sjll:
It's the bug of SODP, need offcial fix it.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Yanun:
Can somebody list me steps to get working gsi rom? Im not able to boot aospextended gsi. Followed steps from first page + I did factory reset.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Just format data in twrp as your last step.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Yanun:
Correct me if I'm wrong. I should be on latest sony stock without any modifications and follow this steps:

1.Flash twrp-q.img

2.Flash in twrp treble-xzp.zip

3.In fastboot flash binaries from sony

4.After 3rd step flash gsi system image

5.Reboot to twrp and format data

EDIT: Still not able to boot up aex. Followed steps which I listed above.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
You should be on pie, won't matter what version.

Since you are flashing a system and formatting data any modifications you have wont really matter.

Your steps are correct.

Are you using the v0.1 treble zip or v0.2?

SW binaries v3 only work on v0.1

SW binaries v4 only for v0.2
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Yanun:
Using 0.2 zip and latest binaries from sony(v4)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Did you format data (where you have to type yes) or wipe data.

The steps above work for me
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Yanun:
Formated data without yes, so there's my mistake?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Yep, you WIPED data, when you select wipe in twrp, down the bottom is a button that says FORMAT data
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Yanun:
Okay,my mistake than. Thanks for help
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
No worries, ignore the caps lock, I wasnt yelling :D
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] megaxp:
step 4 - u using rom with system A?, works fine in A, system AB is unstable. (not work).

i have a problem with AEX.. when I turn on or restart the date and time change, and the wifi is disconnected.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Yanun:
On our xzp we need to use A only images. On havoc same problems:after restar date and time changes(reverts back after few seconds), wifi doesn't connect automatically and in my case sometimes phone after blocking screen doesn't want to unlock again(black screen) so I need to restart phone.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Just a lil feedback. The Audio Quality was cruel by default with the Original Vendor Image. Same on My Axon 7, so it seems like that the GSI ROMs do bind in the build.prop and Stuff from the Vendor Part. So all we need to do is editing the Vendor Image in order to get more/better Functions on GSI ROMs.

I just added some Stuff to the build.prop and got pretty nice Audio Quality. No stupid Audio Mods or any faked Equilizer like Sound. Just fluently, crisp and with good Bass. If anyone is interested can i share my build.prop until i manage to make a Patch with Treble Support...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Here we go...

Download the build.prop. Open it up with ROM Toolbox from the Playstore (Root File Explorer with Editor) and Copy the whole Content of the Prop. Go to Vendor and open up the build.prop there. Mark the whole Content of the Prop and delete it. Insert the Content You copied before and save the changes. After that should You clean flash a GSI without flashing any other Images again to get the full Enhancement. This is still pretty alpha and dirty but should be stable (besides the bugs which are already existing on Treble of course).

WATCHOUT! Audio can be pretty loud now on full Volume and damage Your Ears!

Link: https://drive.google.com/file/d/1i-jnuUaQBZ2cgQeEcGxxN6xgU_6o9C1-/view?usp=sharing
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ricardo99831390:
that's nice!! thanks for your hard work
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LazerL0rd:
Sorry for the OT, but...

I wouldn't call all audio mods stupid :P. You ever heard of Ainur Sauron?

But most are filled with useless stuff. Anyways just out of wonder where did you find info on the props you added? Tried and tested, or documentation?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
I know how the Audio works on Android and Linux and I'm pretty sure 99% of this Audio Mods out there are outdated (Using files back to Android 4.0), or just not working on the most of the modern devices running actual Android Versions. One Thing which never changed is the functionality of the build.prop which tells the system specific devices configurations and features. Everything is bundled there. You can check my xda profile for documentations. I'm working pretty long with this stuff and discovered some impressive things which are used in many Android ROMs, Modules and Mods nowadays. Possible that some things of the prop do not work yet without my full patch which contains Libs, Permissions and more. But it's a solid start in view of the audio quality.

My work isn't a mod since it's just a collection of features, functions and optimized values. In other words, just Android with the right Settings. The audio quality isn't tuned like with a equalizer, it's just how it comes from the Source (Studio like Sound). I'm personally using Spotify Premium or YouTube Music Premium to enjoy my music and the impact of my changes was massive, at least with my Headphones.

Try it out, it's done quickly :cowboy: