yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Yeah, oppo is known to have buggy fingerprint implementation...

Can you recommend a cheap Realme device with fingerprint sensor, bootloader unlockable with Treble support?
[Treble-Enabled Device Development A/AB ROMS] MrHomebrew:
Does superuser have to be included in the builds? Can you not upload builds with no superuser installed.

On the other hand what is the most reliable way to fully remove superuser?
[Treble-Enabled Device Development A/AB ROMS] noobstyle1337:
[MENTION=1915408]phhusson[/MENTION]

In itself, the Realme 3 Pro is not bad ... I also have a Poco f1 and in comparison, the Realme performs well
[Treble-Enabled Device Development A/AB ROMS] MrHomebrew:
Would really love to see an updated version of the magiskphh.zip version 20+ would be great, has better support for android 10
[Treble-Enabled Device Development A/AB ROMS] Daniel47833:
I flashed it on my Moto G6 Plus but I couldn't get it to boot, tried with and without magisk but it wouldn't work either way. I tried clean and dirty flash but still wouldn't work. I used the guide on xda on flashing GSIs don't know if there is a special or specific step that I could be missing.
[Treble-Enabled Device Development A/AB ROMS] wakko42:
Okay, I'm on Pie Vendor - that seem's to be the issue (openkirin gsi's are booting fine)
[Treble-Enabled Device Development A/AB ROMS] al_mat:
What gapps are included?
[Treble-Enabled Device Development A/AB ROMS] dhacke:
That depends on the variant you choose.

Vanilla in the file name=> no gapps

Gapps in the file name => with gapps
[Treble-Enabled Device Development A/AB ROMS] djlukas1983:
I have Huawei P20 Pro and it won't boot without factory reset after flashing. Maybe your is the same. Try
[Treble-Enabled Device Development A/AB ROMS] al_mat:
Sorry, I didn't say correctly.

What app does the gapps have? Just google play and its necessary frameworks? Or the stock?
[Treble-Enabled Device Development A/AB ROMS] koyo:
Is there a way to disable dm-verity and forceencryption on the ROM side? Cause when I try to root magisk or flash dm-verity disabler, it causes this GSI to bootloop. My phone is Moto G6

---------- Post added at 08:40 AM ---------- Previous post was at 08:39 AM ----------

I am using a Moto G6 and without Magisk, it is working. What steps did you take already?
[Treble-Enabled Device Development A/AB ROMS] dhacke:
Sry but then i can't answer your questions exactly. I only use vanilla rom versions.

I guess it's the standard package so in that case it should nearly contain google apps as by stock.

But that's only my assumption.

Here [MENTION=1915408]phhusson[/MENTION] or a user which uses the gapps build must help.
[Treble-Enabled Device Development A/AB ROMS] wakko42:
Thx for your answer, but factory reset does not help.... it always reboots till it ends in erecovery
[Treble-Enabled Device Development A/AB ROMS] longh0rn:
As per https://github.com/phhusson/treble_experimentations/wiki/Frequently-Asked-Questions-(FAQ)#what-is-the-difference-between-floss-gapps-go-and-vanilla it is the nano package plus a few additional apps (Chrome, Calendar, ...)
[Treble-Enabled Device Development A/AB ROMS] brandox0:
Has anyone tried it on an S9 +? I have the snapdragon version, how could I try it?
[Treble-Enabled Device Development A/AB ROMS] adamfirari:
Flash nikgapps or opengapps for android 11 over vanilla image from twrp
[Treble-Enabled Device Development A/AB ROMS] smvsmv:
I have a MTK device that doesn't allow flashing of any zip files.. adb/fastboot or through an unofficial TWRP. I also found that on A11, My phone has no audio on phone calls.. The display shows the call in progress, but I don't hear anything. So, moved back to stock.
[Treble-Enabled Device Development A/AB ROMS] RubenGreg:
@experts How important is the power_profile.xml in the AOSP10/vendor/hardware_overlay/device/model/...

I have a cubot X19 that does have 4000mAh battery. Will it automatically be picked up by AOSP ? (there is no vendor/hardware_overlay for this model) as I could not get any power_profile from the /vendor partition/
[Treble-Enabled Device Development A/AB ROMS] smvsmv:
My UMIDIGI Power 3 is a "A Only" device when I test it using getprop, various apps and also the new magisk. But when I flash an A only GSI, I end up bootlooping into fastboot, without even trying to magisk patch the boot.img.

Strangely, AB GSIs boot and work fine, if I don't try to magisk patch the boot.img.

Any idea what's going on here?
[Treble-Enabled Device Development A/AB ROMS] eremitein:
what shows that app https://play.google.com/store/apps/details?id=tk.hack5.treblecheck
[Treble-Enabled Device Development A/AB ROMS] smvsmv:
Shows as A/B. Does this mean that the device is a confirmed A/B? why isn't getprop showing true?
[Treble-Enabled Device Development A/AB ROMS] hunnia41:
On my Cubot x20 pro

system-quack-arm64-ab-gapps.img works perfectly

What can be the reason that

system-roar-arm64-ab-vndklite-floss.img

changed into a sparsed image and flashed does not boot?
[Treble-Enabled Device Development A/AB ROMS] eremitein:
do not change it to sparse, flash as is
[Treble-Enabled Device Development A/AB ROMS] hunnia41:
First I did that. After showing sparse error in the header, it flashed it, but the problem was the same. Did not boot.. Presenty it works with quack.
[Treble-Enabled Device Development A/AB ROMS] MuddyDog:
Wifi Calling bug:

Currently running AOSP 11.0 v300.j with Gapps on an Essential PH-1.

Installed IMS APK from Settings/Phh Treble Settings/IMS Features

Selected both "Request IMS Network"and "Force the presence of 4G Calling setting"

APN is an IMS APN

VoLTE is working OK

Wifi Calling is not working

When "Call over Wi-Fi" is selected, calls do not connect over Wifi. Instead, calls connect over mobile network and VoLTE shows that it is active

When "Wi-Fi Only" is selected, the error "Connect to a wireless network to make a call" is shown...and the call fails

Here are screenshots from*#*#4636#*#*

View attachment 5153351 which shows "Wifi Calling Provisioned"

View attachment 5153353which shows "Voice over WiFi: Unavailable"

(Note: Both VoLTE and WiFi Calling are supported on my mobile service. Both VoLTE and WiFi Calling work correctly when running Stock PH-1 build.)
[Treble-Enabled Device Development A/AB ROMS] Jsilva124:
Anyone get this working on the LG K30 2019 MN:LM-x320qmg? I checked that my device is treble enabled but I don't have the guts to do it myself plus it is my current daily driver
[Treble-Enabled Device Development A/AB ROMS] NsovoXD:
Hi, Does anyone know how to fix this rom(V), its stuck on android boot logo. I'm using Samsung J4 corelte (sm-j410f)

I tried wiping out all cache, I have also installed correct vendor.img.ext4 and boot.img files.

Also I have problem, gapps are in .img format. I couldn't install them with orangeFox recovery
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
wype data,fastboot -w

wy dont you install rom with apps?
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
On my elephone E10 i have no sound with calling in AOSP 11.0 v300.j ,all the other sound works vlc,timer etc

I havent had that problem in the android 10 aosp.

i had that problem also in aosp10 with my leagoo xrover,wich was resolved by flashing stock vendor.img

my elephone(stock android10) do0esnt have vendor.img so...(for the rest rom works good,only hotspot doesnt work).

problem is also with securise,when you do that to unroot,my elephone wont start anymore,"your device has unlocked bootloader,not to be trusted etc.

i had to flash stockrom...so that is no option on the moment,(problem wasnt solved by locking the bootloader).

thanks in advance for some help

SOLVED

flash stock vendor.img and boot.img over AOSP 11.0 v300.j

extract the vendor.img from super.img with https://xdaforums.com/t/...r-img-and-product-img-from-super-img.4184901/
[Treble-Enabled Device Development A/AB ROMS] Kraya333:
Black Shark 3 bootloop after unrooting with "Securize". It suddenly reboot after giving su permission to an app with the word "Locate" or a term something similar.(I forgot the app's whole name)

Can't boot to former ROM in slot_a or gsi ROM.

AOSP 10.0 v222
[Treble-Enabled Device Development A/AB ROMS] eremitein:
try to wipe data after Securize
[Treble-Enabled Device Development A/AB ROMS] Kraya333:
Thanks.

Also rgb on the back of the phone is always lighting green. That seems to be the only downcast on Black Shark 3.
[Treble-Enabled Device Development A/AB ROMS] jutphaas:
Does anyone know if this "video" glitch is still present in mtk devices and if it is in android 11 Gsi and mtk devices?
[Treble-Enabled Device Development A/AB ROMS] brianmhallahan:
@phhusson

I really like AOSP 10 v.222 but can’t get it to work on my Samsung A6 (SM-A600FN).

I start from stock Android 10, flash TWRP using Odin, reboot to TWRP. For some reason, at this stage, I can never mount the data partition so I always have to format, and reboot to recovery first.

Then factory reset, install system-quack-arm32_binder64-aonly-gapps.img and reboot. Goes straight to download mode. If I install a phh-modded version of Magisk before rebooting, I get a bootloop.

However, if I install Kraken-Kernel ver. 13.1 developed by @SPARTANICUS, it will boot. This version is specially developed for the A6 on Android 10. https://github.com/OGSPARTANICUS/DO...KRAKEN-Kernel-RC13.1-A600X-OneUI-20200325.zip

I’ve tried other kernels, including stock Pie and Q versions, but nothing other than this one work. RC14 and RC15 versions of the Kraken won’t work either.

When it does boot, I have 3 issues… no MTP, periodic reboots for no reason, and absolutely no sound whatsoever. Would anyone have a build.prop command or similar that might enable the sound?
[Treble-Enabled Device Development A/AB ROMS] ccxxx:
Does anyone have linphone working? I first thought it may not be properly working for me because my smartphone is so low end, but it could also be an issue with the rom.

It partially works but it often just freezes, sometimes when opening the app, sometimes when disconnecting a call, sometimes when trying to accept a call...
[Treble-Enabled Device Development A/AB ROMS] karim.a:
use Advanced Charging Controller App

It is compatible with the device CUBOT X19 and saves the battery and stops charging at 80%
[Treble-Enabled Device Development A/AB ROMS] brackenhill_mob:
Linphone isn't the most reliable all at the best of times as I know to my cost over many years. I've just found Softphone in the app store which is better for me so you might want to try that
[Treble-Enabled Device Development A/AB ROMS] eremitein:
try using in-built AOSP SIP in Dialer
[Treble-Enabled Device Development A/AB ROMS] ccxxx:
Android sip support does not seem to be built in, calling accounts settings are empty. But that's kind of besides the point.

1. There are many reasons to use a 3rd party sip client. for example features like call forwarding/conference calls

2. It would still be interesting to know if there is some issue in the rom interfering with linphone. (don't know if that is the case)

If linphone really is buggy I may switch to another open source client, there are a few others in fdroid.
[Treble-Enabled Device Development A/AB ROMS] eremitein:
you should just insert account info, like IP address and port of SIP-server, username/pass etc

1. your SIP-server doesn't support features?.. for sample, i installed and tweaked Asterisk and that server have *2 and # for forwarding calls and 555 number for conference room

2. i guess probably device related. i tested LinPhone few times before in Q/R GSI, on my device works without issues (but finally my choise - in-built SIP integration)

if i remember correctly, i did test LinPhone in CAOS GSI (which is based on AOSP R) and it worked fine. anyway, try another clients
[Treble-Enabled Device Development A/AB ROMS] brackenhill_mob:
Doesn't work on many phones including my Honor V10. It refuses to save the credentials.

Re Linphone, it's not buggy for me but the call quality is poor sometimes. Softphone is consistently better IMHO
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
I installed the latest Android 11 ,AOSP 11.0 v300.j ,on my elephone E10,mediatek device(stock with Android 10)

Everything works fine, except there is no sound with calling,all the other sounds work.

What to do about it,do I have to flash another vendor.img,which one, from where,in my stock rom the vendor.img is unreachable in the super.img...

Thanks for some advice
[Treble-Enabled Device Development A/AB ROMS] Saftpresse99:
Hi,

i tested AOSP 11.0 v300.j from phhusson with my honor 9. But i have one problem:

1. My samsung sd card can't formatted. After 40% i get a bubble at the bottom screen with a stacktrace. Something like: VolumeInfo.GetId was null. After a few seconds phone restarts.
[Treble-Enabled Device Development A/AB ROMS] SingingPotato:
Hello,

i tried to flash the AOSP 10 on my Huawei P Smart 2018, but i got the following problem:

sudo fastboot -u flash system system-quack-arm64-ab-floss.img
target reported max download size of 471859200 bytes
sending sparse 'system' (460796 KB)...
OKAY [ 17.122s]
writing 'system'...
FAILED (remote: sparse flash write failure)
finished. total time: 17.220s

I then used the adb shell, and it seems my system partition is a bit smaller than 2.3Gb when the image size is 2.4Gb (but i am not certain of my interpretation about this problem).

So my question is, can i find a lighter build of this image to try it ?

Building one would be a technical challenge for me and my little laptop, and i don't really know if the resulting image would be smaller than PhHusson's.

I precise that my phone is unlocked but not rooted, and currently running the stock EMUI 9.1 (and i am using the stock recovery too).

If anyone can help, thanks in advance,

a potato
[Treble-Enabled Device Development A/AB ROMS] eremitein:
do not use floss build, use vanilla and install all FOSS apps which you need
[Treble-Enabled Device Development A/AB ROMS] SingingPotato:
@eremitein: it was a space problem.

The vanilla image is 1.7Gb and was flashed successfully.

And i even found PHHusson's SuperSU installed in the middle of the AOSP apps.

Thank for the advice !
[Treble-Enabled Device Development A/AB ROMS] ccxxx:
I mean the settings are empty:

View attachment 5171547

On a different rom on a different phone there are sip account settings:

View attachment 5171549

No idea, it's the SIP server of my ISP. I guess I should run my own relay, especially because they only allow connections from the IPs of their internet connection.

Thanks for testing, I guess it could just be my phone.
[Treble-Enabled Device Development A/AB ROMS] R324D:
Guys please help me, I tried to flash vanilla variant of latest android 10 on mi8/dipper (A-only). After flashing system image, device entering fastboot/bootloader mode after reboot to system.

My flashing step:

1. Format data and wipe everything

2. Flash xiaomi.eu stable

3. Flash system image

4. Reboot

Any feedback appreciate.

TIA
[Treble-Enabled Device Development A/AB ROMS] HueyT:
fastboot -w

OR

format data in twrp (not just wipe data)
[Treble-Enabled Device Development A/AB ROMS] R324D:
I did format data

On step 1 I mentioned "

format data

and wipe everything".
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
Format data after flashing system

Factory reset
[Treble-Enabled Device Development A/AB ROMS] R324D:
That's not working either..

I give up, I think this gsi not comptible on mi8, i'll try another gsi..

But thanks for your response.. appreciate.. 🤝
[Treble-Enabled Device Development A/AB ROMS] massima:
Do you try this?:

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Obviously vbmeta.ing is empty, download it here. Quack and Roar booted on my Huawei M5, but i use Quack because i need RW system partition. Hope it helps
[Treble-Enabled Device Development A/AB ROMS] genlies:
I have a xperia xz1 dsds (G8342). I have unlocked boot loader. Tried many stock based custom roms like LineageOS, all woks well. But I got reboots for any GSI roms. I tried to flash vbmeta.img but failed in "Flashing is not allowed for partition".

View attachment 5174973

I used command

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

or

fastboot --disable-verification flash vbmeta vbmeta.img

Does anyone can help me to solve this issue?
[Treble-Enabled Device Development A/AB ROMS] Archatos:
Yes, please! Although I'm having a Archos Hello 7, it probably won't differ a whole lot.
[Treble-Enabled Device Development A/AB ROMS] Mumiby2:
Got some root issues with the built-in root doesn't work
[Treble-Enabled Device Development A/AB ROMS] svratonzo:
works on my Huawei Mediapa M5 Lite but there isn't USB OTG. I need it to stream music throught usb hst output: how can have it working?

Thank you helping me.
[Treble-Enabled Device Development A/AB ROMS] Saftpresse99:
Hi,

i'm running system-roar-arm64-ab-gapps.img.xz (11.0 v300.j) at the moment. Is it possible to dirty flash 11.0 v300.l and the vndklite version of the image. Because i want r/w access.

Thanks
[Treble-Enabled Device Development A/AB ROMS] brianmhallahan:
If you install a phh-modded version of Magisk, it should be ok. My Samsung A6 wouldn't even boot without installing it. Available here...

ExpressLuke GSI - Browse /Extras/phh-magisk-ten at SourceForge.net

Source built GSIs based on phhusson's great work.

sourceforge.net

That was with AOSP 10 v. 222
[Treble-Enabled Device Development A/AB ROMS] IamTheBRAVE:
Successfully installed system-roar-arm64-vndklite-foss on my samsung galaxy A20. Working good so far, except adaway can't apply host file because of insufficient spsce in system. And other minor bugs with foss apps
[Treble-Enabled Device Development A/AB ROMS] ps000000:
Does it possible to make magisk root working on GSI rom without TWRP ?

I already tested with fastboot flash boot magisk_patched_boot.img but it does not work.

(OnePlus 8 Pro android 11 no working TWRP available.)
[Treble-Enabled Device Development A/AB ROMS] Mumiby2:
I found a solution. I installed magisk root from magisk manager and removed the phh root
[Treble-Enabled Device Development A/AB ROMS] IamTheBRAVE:
Maybe i'm mistaken, but for fastboot you have to rename your patched-boot.img to boot.img, no?
[Treble-Enabled Device Development A/AB ROMS] smvsmv:
I understand that the latest R fixes the VoLTE with MTK devices. can someone please confirm this?

Also, the last time I tried, there was no audio in phone calls.. couldn't hear anyone or even ringing. is this fixed or is there a work around?
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
yes,the problem with the audio with calling,also with the elephone E10 (MTK device MT6762D) for the rest the rom v300j is ok

SOLVED;

i extracted the vendor.img from super.img with https://xdaforums.com/t/extract-system-img-vendor-img-and-product-img-from-super-img.4184901/

than flashed my stock vendor.img over the AOSP 11.0 v300.l

other problem althoug i can only use my 64gb mcard,128gb has to be formatted every time the phone restarts... and i can not enter intern and sdcard memory from computer(usb) with dmesg command it says ...

Product: Phh-Treble with GApps

[12811.171087] usb 2-3: Manufacturer: unknown

[12811.171091] usb 2-3: SerialNumber: ELE2020E10000923

[12811.518806] usb 2-3: USB disconnect, device number 50

[12811.840419] usb 2-3: new high-speed USB device number 51 using xhci_hcd

[12811.968543] usb 2-3: device descriptor read/64, error -71

bluetooth doesnt work,the icon "glitters",on of and doesnt connect with other devices

also after reflashing AOSP 11.0 v300.l also flashing (stock)vendor.img and boot.img, gaves me the old audio problems with calling again,so flashing stock vendor and boot.img doesnt works always.
[Treble-Enabled Device Development A/AB ROMS] smvsmv:
On my MTK phone (UMIDIGI Power 3), incoming calls seem to work with ringing. Audio is good too. Outgoing calls ring on the receiving device, but I can't hear anything on my phone.

So, 50% problem (incoming calls working) is solved. Hoping to see the outgoing calls working too.

Also, latest magisk patched boot img still loops into fastboot.
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
have you flashed your stockrom vendor.img over AOSP 11.0 v300.l? (also stock boot.img)

on my elephone it works
[Treble-Enabled Device Development A/AB ROMS] smvsmv:
My phone has a super partition and below is what it contains. There's no vendor partition that I can see. How did you get your vendor img?

View attachment 5194595
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
lpunpack.zip

have you extract your super.img with lpunpack.zip? see https://xdaforums.com/t/...r-img-and-product-img-from-super-img.4184901/
[Treble-Enabled Device Development A/AB ROMS] smvsmv:
Thanks, this looks promising. I've extracted the vendor.Img. how do I flash it after flashing the gsi?

When I tried in fastboot, it says no such partition. I'm still trying to repack the super.Img, but it will be better if I can just flash vendor directly.
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
Just flash the vendor.img after you flashed your 300l rom
[Treble-Enabled Device Development A/AB ROMS] smvsmv:
When I tried that, I got a "no such partition" error. I tried to flash the vendor partition. What command do you use?
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
./fastboot flash vendor vendor.img

The whole flash proces do I have to do in fastbootd mode,. Fastboot reboot fastboot,and then in that mode ./fastboot flash system....

./fastboot flash boot boot.img

./fastboot flash vendor vendor.img

reboot
[Treble-Enabled Device Development A/AB ROMS] smvsmv:
Rookie mistake! thanks.

Flashed vendor successfully, but that didn't help. Still able to only hear incoming calls. No sound on outgoing calls, although the receiver side phone rings.
[Treble-Enabled Device Development A/AB ROMS] Kencat:
Hello all, I was able to flash system-arm64-ab-gapps-su.img on my cubot quest (TWRP 3.3.1 by Mahanik6). Everything is ok except that my phone gets "encrypted" whenn I reboot (even when I perform a factory reset or a fastboot -w after first reboot). The problem is that when I try to backup my phone with TWRP I'm asked for a password on first screen of TWRP ("none", or "default_password" doesn't work, my phone has no screen pattern or print or else...), when I press cancel on TWRP, my data shows 0Mb and I'm unable to make a backup. I also tried to edit my fstab (joined here) but couldn't find a way to bypass encryption (the only line related to encryption says "encryptable"). Every help is welcome as I've been working on it, with no success, for 5 days now...). many thanks in advance...
[Treble-Enabled Device Development A/AB ROMS] eremitein:
try to delete ",forcefdeorfbe=/dev/block/platform/bootdevice/by-name/metadata" and then format data
[Treble-Enabled Device Development A/AB ROMS] smvsmv:
@phhusson

MTK device - in any dialer app, only incoming calls work. Outgoing calls ring on the receiving device, but no audio. I tried different dialer apps and turning on the speaker.

However, on Duo, calls work very well both ways. Not sure if this tells you something.
[Treble-Enabled Device Development A/AB ROMS] Kencat:
I followed your method but at first reboot phone got encrypted again, thanks for your help anyway....