yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Development A/AB ROMS] Rush:
Try 4pda or Google.

Because Google is your Friend
[Treble-Enabled Device Development A/AB ROMS] dmenezes:
Xiaomi Redmi 9S/Pro (curtana)?

Anyone using this on a Xiaomi Redmi 9S/Pro (curtana)? Can you please tell how well it's working? Any bugs? How' s stability, performance and battery life?

I can see it's 'theoretically' working, but would like to hear it from someone with direct experience.

(Background: I have a Note 7 and it was impossible to get phhusson's GSI to work on it (had to settle for a much worse ROM), and now I'm considering buying the Note 9, I don't want to go down the same path again).
[Treble-Enabled Device Development A/AB ROMS] Wattsensi:
Latest build fixed hotspot and UI font blurring without workaround on Huawei P9. Also ROM is buttery smooth and performant. Works out of the box and big thanks!

One thing though, audio doesn't route manually to headphones on hi3650 once they're connected and I have to use an app to force route it. The 'force headset switch' toggle in phh options has no effect. Also it seems to get a bit hot on idle but probably it is due to Google Play doing stupid stuff.

EDIT: Heat issue fixed. Turns out the ADB daemon was hogging all the CPU for itself and keeping the phone at constant 99% usage. Now it's ridiculously smooth while also being cool!!! Battery life is excellent now. Avoid USB debugging with this ROM haha. Now for my work I will just do it in TWRP since it does not heat up there, and I need root access anyway
[Treble-Enabled Device Development A/AB ROMS] TechGuru123:
anyone tested the newest 219 on a teclast m30 tablet?

phh last tested the 213 and made it work apparently

wondering if 219 will work

https://github.com/phhusson/treble_experimentations/wiki/Teclast-M30

https://xdaforums.com/general/general/teclast-m30-tablet-thread-t3965924
[Treble-Enabled Device Development A/AB ROMS] Joeder:
I had these same problems. Did you solve them? If yes, how?? Thanks in advance.
[Treble-Enabled Device Development A/AB ROMS] rjawan:
I have the same model L78121, but I'm unable to boot (I get a bootloop) I've tried many GSI's and did follow all the instructions but no matter what I do I always end up with a bootloop. Would you mind helping me brother? How did you flash GSI on z6? Help please!!
[Treble-Enabled Device Development A/AB ROMS] codergenius:
Have you flashed the latest build?
[Treble-Enabled Device Development A/AB ROMS] Joeder:
Not yet. Did the latest version work for you? I was apprehensive about installing it since the previous ones didn't work.

Which build have you use now?
[Treble-Enabled Device Development A/AB ROMS] codergenius:
I stopped trying as I think for my device vendor problem is there (no updated vendor)
[Treble-Enabled Device Development A/AB ROMS] Graviter:
There is a problem: after installation and startup, everything works. But after the first reboot constantly bootlogo, tried latest and random builds. Meizu m8, arm64 a, vendor 8.1, mt6762.

bootlogo logcat

drive.google.com/file/d/1yQAfdXvFWnVAJmbhB-gdmEVAsDbwDJhS/view?usp=sharing

After formating data in twrp, system start, but cant found SIM.

Perhaps there are any fixes?
[Treble-Enabled Device Development A/AB ROMS] Samuel Ladziansky:
Hello,

please read all before doing anything

First method (my own)

your must make clean flash with SP_flash tool (format all + download),

start device ,

unlock bootloader in developer options (not in fastboot mode),

reboot in to stock recovery,

format/wipe data,

power off ,

with Maui Meta write IMEI in to device,

reboot in to fastboot,

fastboot oem unlock,

fastboot flash (custom) recovery,

go to sp_flash tool,

uncheck all files and then check boot vendor system,

change patch for system to custom GSI file,

flash in to device,

reboot in to custom recovery,

repair+resize system partition in to wipe option,

data partition format in to EXT4 file system,

flash magisk + gapps,

reboot and done :)

Second method

flash these files trough the recovery

https://drive.google.com/file/d/0BwG_D_1aXcYqdXFoMUJ6cVpvYmM/view?usp=drivesdk

https://drive.google.com/file/d/0BwG_D_1aXcYqTDg1MU5YcS1JSWs/view?usp=drivesdk

https://drive.google.com/file/d/0BwG_D_1aXcYqdk5WLUNjWFU5TUE/view?usp=drivesdk

Then you check if you have baseband in settings

If you have baseband that's good but you don't have IMEI (you have IMEI for 1-5 minutes after that you don't have)

Turn off phone

Download Maui Meta

(If you don't have windows 10 you must install drivers for "mtk Vcom USB")

Open Maui Meta and set "smartphone" and "USB COM"

Press reconnect

Phone in turn off state connect in to PC with out pressing any button and wait to message "connected on target"

If don't connect you must relock bootloader with so flash tool (format all+download) and try again

Write IMEI's and reboot.

(Btw I using Lenovo K9 with MT6762 and is working:))
[Treble-Enabled Device Development A/AB ROMS] stalker878:
found the above reply to a comment from evgfilim1 when trying to find a solution for not passing safety net no matter how many modules i added on in magisk.

prior was failing both CTS and basicintegrity.

i too didn't know that nosu means no su app only but still retained su for adb.

i can confirm that removing the su file in xbin (via flashing unsu.zip) resolved the safetynet issue immediately.

still have magisk + magiskhide.
[Treble-Enabled Device Development A/AB ROMS] Huzaifkhan:
Can u please help me rooting my phone
[Treble-Enabled Device Development A/AB ROMS] Yxles:
Android 12 GSI with Arm32 support when?
[Treble-Enabled Device Development A/AB ROMS] frankbonatelli:
Good day all, I have 3 questions.

I have a tablet that is treble ready and is in need of at least android 10 if its to continue to be relevant in my tech needs. I've tried many many GSI images ( very familiar with the flashing prosses, ever since the glory days of old ) all of them boot loop. 3 things i have noticed between this device and all the others I've messed with, knowledge to share would be greatly appreciated.

1) this device has 2 distinctly different fastboot modes. No details on whether or not it is a fastbootD styled mode just one that is a blank screen and device manager requires a different device driver. The other clearly states fastboot. Both take and send exact same command line responses. Do we think this is a problem?

2) I've read so much on GSI flashing from the beginning and have followed it as close as my old mind is able. One thing I've read the device must be a google certified device. This one is definitely not. I need to run through the google procedures for registering it every time i refresh the os. Is this why i get boot loops? Any working around this?

3) VNDK lite...... This device is not system as root it is system as system and from the treble info app (screen grab attached) shows that this is not VNDK lite. Maybe this is the issue for boot looping on every single gsi i've tried.

Well again any thoughts on this would be greatly appreciated.
[Treble-Enabled Device Development A/AB ROMS] shrecker909:
will i be able to hear and make calls use sim card use mobile data? and does it work on my galaxy a6 exynos 7870?
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Basically, we need to describe the shape of the notch to Android framework for this (this has to be done for all notched phones obviously)

This hasn't been done on any device yet though, so I don't know what's the easiest way to do it.

The format must be a W3 SVG Path in pixels

Is this issue the same on my AOSP GSI 8.1?
[Treble-Enabled Device Development A/AB ROMS] Kookitza:
Can you upload it mate? 10x
[Treble-Enabled Device Development A/AB ROMS] Gennesÿs_1:
The audio on Mix 2s with AOSP V23 it´s perfect....issue its only on V101 and V102 on Mix 2s.
[Treble-Enabled Device Development A/AB ROMS] Beautiful World:
Thank you for sharing the ROM.I have tested the v102 ROM on OnePlus6. WiFi couldn't be turned on and the phone didn't work.I hope you can fix the things above,thank you.:o
[Treble-Enabled Device Development A/AB ROMS] GopalKaul:
No one said if volte works?
[Treble-Enabled Device Development A/AB ROMS] bobandar:
You have done an amazing job! Since the test builds i have been trying out this rom and i can say v102 is the best of all with everything working for me. Perfect work.
[Treble-Enabled Device Development A/AB ROMS] aljoscha81:
Got the same problem on nubia z17 mix 2s is a sd835 device right?
[Treble-Enabled Device Development A/AB ROMS] jackrip5:
Mix 2s is 845.
[Treble-Enabled Device Development A/AB ROMS] speedunderx:
I have Xiaomi Mi A2, I would like to try this GSI but there is not a TWRP that is safe and stable to use in Mi A2, the other way to install is by fastboot, but how do I install the Gapps later?
[Treble-Enabled Device Development A/AB ROMS] HTCDevil:
Same question for me, Mi A2.
[Treble-Enabled Device Development A/AB ROMS] lofik:
Honor 8 works cool enough, idk but is it ok that interface resolution looks like 144p? And camera does not work. Every boot there is a message about internal error, camera apps are incompatible and shows hardware issue
[Treble-Enabled Device Development A/AB ROMS] pravsterrr:
Is there a device specific way of doing this i.e. can it be done with a device specific patch or editing files?
[Treble-Enabled Device Development A/AB ROMS] bigbossclk:
Hello [MENTION=1915408]phhusson[/MENTION] why my screen brightness is so low after installing the rom ? s9+ i installed arm64 image and then magisk and then gapps, and its the same without gapps and magisk
[Treble-Enabled Device Development A/AB ROMS] CroW_D:
Oneplus6

Sim hast to be selected manually

Magisk causes blue led

Just 2 things I noticed in the short time.

Thanks for the great work.

And is there a workaround to gain root access ?
[Treble-Enabled Device Development A/AB ROMS] abrfilho:
[MENTION=1915408]phhusson[/MENTION] it's my first time installing a GSI img, when you launch a new build, I just need to flash over my actual build and flash GApps after, like what we do with normal zip ROMs?
[Treble-Enabled Device Development A/AB ROMS] dinoderda:
Go to developer options and enable HW overlays,you need to enable this every reboot though to fix the low resolution problem.
[Treble-Enabled Device Development A/AB ROMS] Nexus lover:
I guess you have to wait for an upcoming version with GApps:
[Treble-Enabled Device Development A/AB ROMS] phhusson:
I'm not sure what you're asking.

If you're asking if it would be easier with a DSSI instead of a GSI, the answer is no, you need to do exactly the same thing

If you're asking if the notch description is device-specific... well of course it is, you need to do the drawing of the notch for every different notch

Can you give me your getprop ro.vendor.build.fingerprint ?

Could you make me a photo of it? (As far as I know, the issue don't appear on screenshots. If that's not the case, a screenshot will be fine)
[Treble-Enabled Device Development A/AB ROMS] pravsterrr:
What I meant was where would this SVG be stored and also do you know if the simulation cutouts found in developer settings are done in a similar way?
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Well this is stored in framework-res, which can be overlayed.

The original value is:

https://android.googlesource.com/pl...-9.0.0_r1/core/res/res/values/config.xml#2911 (empty, no notch)

And yes emulators cutouts are made this way, you can see one example here:

https://android.googlesource.com/pl...outEmulationTallOverlay/res/values/config.xml

(you can browse the "overlays" folder to look for the other cutouts)

The first link gives you an example on how to do with a rectangle. That could be a good start I guess, with config_fillMainBuiltInDisplayCutout false, since status bar only cares about maximum width of the notch, not the complete shape
[Treble-Enabled Device Development A/AB ROMS] AJ:
flashlight don't seem to be working for me on v102 P20 lite ,

i can't remember if it worked on v101 ,

also the resolution thing is occurring , but as was suggested disabling Hw overlays on developer settings seems to do the trick .
[Treble-Enabled Device Development A/AB ROMS] ALEX37330:
With the last open beta never install stable oos only beta :silly:
[Treble-Enabled Device Development A/AB ROMS] EErez:
So basically we would either need an overlay specific to each device or maybe several "standard" notch dimensions which would give the statusbar an approximate width + height for a notch, and that way maybe a list of devices that would default to each of the "standard" overlays?
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Well, I don't really intent to have "standard" overlays

We already started doing overlays for all notch known, but we only have height at the moment.

(you can browse https://github.com/phhusson/vendor_hardware_overlay and look at the various notch.xml for the various devices)

So basically, as a first step, we could simply make a rectangular shape for all those devices.

Just to be clear, devices launching with P will probably have this notch overlay inside their /vendor, so it won't be needed for those devices.

We only need to do that for ""old"" devices
[Treble-Enabled Device Development A/AB ROMS] bigbossclk:
i did go to stock cuz i barely see anything seems like no luminosity at all or only 5% but beside that rom seems fine

btw dual speaker doesn't work tho
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Well please do this getprop from stock
[Treble-Enabled Device Development A/AB ROMS] noobstyle1337:
On Redmi Note 5 Pro random reboots and no signal THW Rest works fine :fingers-crossed:
[Treble-Enabled Device Development A/AB ROMS] noobstyle1337:
On Redmi Note 5 Pro (whyred) random reboots and no signal the Rest works fine :fingers-crossed:
[Treble-Enabled Device Development A/AB ROMS] bigbossclk:
Here's what you asked for
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Ok, first, I asked for ro.vendor.build.fingerprint, not ro.build.fingerprint

Second, this explains why backlight doesn't work for you.

You are running a Note 9 ROM/vendor, which I don't support yet.

But thanks, I'll add Note 9's name in the S9 backlight fix.
[Treble-Enabled Device Development A/AB ROMS] Gennesÿs_1:
You can solve for next update the issue with audio on Mi Mix 2S?
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Honestly I have no clue what is wrong, I didn't check logs yet ( I don't even know if anyone sent me any log actually)
[Treble-Enabled Device Development A/AB ROMS] bigbossclk:
damn my bad then sorry mate :(
[Treble-Enabled Device Development A/AB ROMS] dizzyberkowitz:
BTW, both of the builds got no sim error on xiaomi mi mix, device saying that I need to insert them. 1sim, 2 sim - it just don't see any of them, 2 different carriers. Also when installed the pie on mix with 8.1 vendor from psy man I got rebooted to twrp in a minute after start. Tried to add disable.rescue lines in build.prop - not helped :)
[Treble-Enabled Device Development A/AB ROMS] tealaforgia:
Install ViPER4Android FX 1.7 (Magisk module) for remove the lag in the audio :) I've tested on speaker, standard headphones and USB audio.

---EDIT: Just media audio is fixed with ViPER4Android, notification, alarm and ringtone are very laggy

Talking about serious things, for me fingerprint sensor work like a "enter" key on a undefined keyboard, there are a way to solve this problem in all GSI image?
[Treble-Enabled Device Development A/AB ROMS] stifmaster81:
I just installed this rom on a g6 motorcycle, the sound is distorted, lack of gaps, everything else is quite fluid, the track goes well, the camera is fine, it does not respond well when touching the screen.

Enviado desde mi moto g(6) mediante Tapatalk
[Treble-Enabled Device Development A/AB ROMS] NielsvdS:
How to apply the overlay? Because I want to enable the notch of my Mi 8, already got the files vendor_hardware_overlay files. But where do I have to put those files?
[Treble-Enabled Device Development A/AB ROMS] iDecrypt:
I managed to get it working on a Huawei Y6 2018 by replacing the /etc/init/init.vndk-27.rc with the one from the AOSP 8.1, I still don't know why, but as soon as i figured it out, I will tell you what to do. :)

Best regards
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Cool!

There is no init.vndk-27.rc in AOSP 8.1. Are you referring to 8.1's /etc/init/vndk.rc?

Sadly, at the moment the only way to use vendor_hardware_overlay is to download a full AOSP tree, which you probably don't want.

My recommendation is to adb pull /system/overlay/treble-overlay-xiaomi-mi8.apk, decompile it with apktool, do your changes, and recompile it with apktool after that. You'll need to sign it after that.

The format of the string will be the same when done with apktool, than when done in sources, so there isn't really a downside to working this way.
[Treble-Enabled Device Development A/AB ROMS] iDecrypt:
Yes, my fault, as soon as I figured out whats wrong, i will tell it you and maybe we can fix the bug together. :)

Best regards
[Treble-Enabled Device Development A/AB ROMS] phhusson:
So 8.1's vndk.rc is litterally identical to 9.0's vndk.rc

So my guess is that you should have the same behaviour simply by deletinig init.vndk-27.rc. Can you check that?
[Treble-Enabled Device Development A/AB ROMS] iDecrypt:
So I should just try to boot the ROM without it?
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Yup.
[Treble-Enabled Device Development A/AB ROMS] iDecrypt:
Ok, I will try it and tell you what happened in 15min. :)
[Treble-Enabled Device Development A/AB ROMS] TheUndertaker21:
i'm so in love.

my daily drive on my s9+

gcam is amazing and the rom is super fast as usual.

Phh is the man
[Treble-Enabled Device Development A/AB ROMS] aljoscha81:
My vendor image security level is from march 5th could that be the reason why my device got so much bugs with the rom? I ve tested the second build on my nubia z17 but there are no changes for me damn it cause the rom is realy liquid and damn fast:good:
[Treble-Enabled Device Development A/AB ROMS] iDecrypt:
I tried it and now it isn't booting anymore, if you want I can send you my vendor.img, then you coulde help me.
[Treble-Enabled Device Development A/AB ROMS] kheradon59:
Hi,

Test on MI Pad 4.

Problem with OpenGAPPS configuration passed with tapping the four corner.

Test some Video French Apps like Mycanal, Molotov and Netflix without issue.

All fine for daily use except USB MTP with my W10. When I choose the USB Transfer, it doesnt work.

On 8.1 AOSP Treble ROM it was resolve in debug mode but not with this one.

Very good job as usual.
[Treble-Enabled Device Development A/AB ROMS] vatsal_chandan:
redmi note 3 (kenzo) booted successfully ( community partial treble) ,

smooth and snappy af

problems:

camera is working after patch by someone in this thread (after patch gcam works still slow but portrait mode didn't work and hdr for front camera also didn't work)

flashlight is buggy

hotspot(as given in op)

[MENTION=1915408]phhusson[/MENTION] how can i help you to add support for redmi note 3 ?
[Treble-Enabled Device Development A/AB ROMS] GBouerat:
Same issue on my Mi Pad 4, OpenGAPPS configuration is stuck, but I can't find how to bypass it with tapping the four corner of the screen, can you tell me please ?

EDIT:

add ro.setupwizard.mode=DISABLED in /vendor/build.prop from TWRP recovery did the trick
[Treble-Enabled Device Development A/AB ROMS] Gennesÿs_1:
Can you send a Log to phhusson to solve audio incovenience? I can´t but i'm back to Miui Eu.
[Treble-Enabled Device Development A/AB ROMS] abrfilho:
I can't change my color settings, shows no options here, if I solve this problem, I'll share here.
[Treble-Enabled Device Development A/AB ROMS] tealaforgia:
I don't know how to send log, have you a guide? I must use audio first to make log?

After send log I will return to Lineage, because for now there are some glitch, NFC don't work for me and play service work badly.

I ask you for the second time, in case you have a fix: in any treble ROM, whenever i touch the fingerprint scanner, it work like a "enter" key, not just in text field, but also in any part of system. For example in Pixel launcher, when I touch it, the calendar open.
[Treble-Enabled Device Development A/AB ROMS] kleinholzinferno:
For logs simply connect your device to a pc or laptop. Command is adb logcat. Then send the results.
[Treble-Enabled Device Development A/AB ROMS] omar2005:
Wifi doesn't work for me on oneplus 6
[Treble-Enabled Device Development A/AB ROMS] romen288:
Flash smurfkernel then flash 8.1 vendor in twrp
[Treble-Enabled Device Development A/AB ROMS] altvolt74:
[MENTION=1915408]phhusson[/MENTION]

mi8 running lates miui.eu 10 8.8.16 8.1

audio letancy audio for selected device bug

here are the logs

and again thaks
[Treble-Enabled Device Development A/AB ROMS] droident:
OpenGapps. I've posted some instructions over at the Vince (Redmi 5 Plus) sub forum. Should get things working nicely.

https://xdaforums.com/redmi-note-5/how-to/android-pie-aosp-9-0-phh-treble-t3833007/post77417456
[Treble-Enabled Device Development A/AB ROMS] SageWilliams:
Getting a black screen at launch with and without bitgapps. Honor 7x (L24)
[Treble-Enabled Device Development A/AB ROMS] rhong:
[MENTION=1915408]phhusson[/MENTION] do we need to flash the patches.zip located in the folder of images? Thanks to clarify.
[Treble-Enabled Device Development A/AB ROMS] mikas.vishra:
Sir after flashing the img it showed everything okay on PC but Device went in bootloop in first attempt and was in fastboot mode in second attempt .... I'm using redmi S2 .... Please help
[Treble-Enabled Device Development A/AB ROMS] osk4rin:
Flashlight is not available, huawei stock camera doesn't work on my Huawei mate 9.many bugs showing on the screen. This is experimental, hopefully next build will be more stable.
[Treble-Enabled Device Development A/AB ROMS] NielsvdS:
Flashing ViperFX 1.7 from Magisk will solve the problem! :good:
[Treble-Enabled Device Development A/AB ROMS] tealaforgia:
[MENTION=1915408]phhusson[/MENTION]

Xiaomi Mi Mix 2S global version, with MIUI 8.7.26 CN before flashing your system image (i use the same for your LineageOS without problem).

Audio is very laggy.

Sorry for the big log file
[Treble-Enabled Device Development A/AB ROMS] Sid127:
I been running this GSI on Kenzo for the past 2 days. Except Bluetooth, Hotspot, and Finger print, everything works fine. Couldn't check VoLTE because my carrier doesn't support it.
[Treble-Enabled Device Development A/AB ROMS] arifqur:
Working very smooth on my Redmi Note 5 Pro (Whyred) with Mokee rom Vendor. Is so smooth that I am still trying to find a way to make it lag. The Pixel Experience Pie rom for Whyred also runs pretty well but there are stutters here and there occasionally but no such lags here.

Great job man.

Thank God for Treble
[Treble-Enabled Device Development A/AB ROMS] Suku1509:
Fingerprint working bro....
[Treble-Enabled Device Development A/AB ROMS] Sid127:
Mine isn't working... I have Goodix sensor.
[Treble-Enabled Device Development A/AB ROMS] Jay_1212:
How can I install this gsi on mi a1 ?
[Treble-Enabled Device Development A/AB ROMS] madoxx77:
[MENTION=1915408]phhusson[/MENTION] Can you add huawei supercharging support ?
[Treble-Enabled Device Development A/AB ROMS] NielsvdS:
So when I decompile back the apk back to the source files I have to change some values to the size of the notch?

After recompile I have to push it back to the same place where I pulled from?
[Treble-Enabled Device Development A/AB ROMS] phhusson:
You need to add an entry in res/values/ (take whichever xml in this folder) like this:

<string translatable="false" name="config_mainBuiltInDisplayCutout">XXXXXXX</string>

Where XXXXXXX is the SVG path to describe the notch

Again, look at https://android.googlesource.com/pl...-9.0.0_r1/core/res/res/values/config.xml#2913 on how to draw a basic rectangle

Usually to define the notch, you also need to define status_bar_height, but in your case that has already been done.

Yup