yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Development A/AB ROMS] phhusson:
You don't need magisk to pass Safetynet, just go in Treble Settings => Misc and click Securize.
[Treble-Enabled Device Development A/AB ROMS] cmglng:
When I enable Securize it throws me into a bootloop. Phone boots to recovery instead of system.

Edit: Well I deleted secure file to make the system boot. But it's all good now cause it now passes safetynet. Thanks!
[Treble-Enabled Device Development A/AB ROMS] shivangshukla:
QA. What does phh stand for ?

QB. I did not understand the vendor section (*) can someone help me and explain it to me in layman terms

* Which vendor to use?

1. Always use your actual device's vendor

2. Always use OEM unmodified vendor, not some custom vendor

3. This includes boot.img. boot.img and vendor MUST BE the same version.

4. If you're on an Android 8.0 vendor, you'll need to stick to vendors with Security Patch Level before April 2019 (that's a bug of my GSI)

QC. In the following site https://github.com/phhusson/treble_experimentations/releases the latest version is AOSP 10.0 v219

there are 24 files in assets. Which file should I download and flash it to my Samsung s10 (beyond1lte) ?

Screenshot of treble app info below
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
You have to install a treble info app to find out your phone is A or A/B

so you can install system-quack-arm64-ab-vanilla.img.xz or one of the three downloads above

after you flash one of the above you should flash the vendor.img and boot.img from your original installed stockrom to prevent bootloop (boot.img)and bad behavior( vendor.img)of the flashed rom

so you need to download stock rom from Samsung s10,extract it and take the vendor.img and boot.img out and flash them over your new rom
[Treble-Enabled Device Development A/AB ROMS] shivangshukla:
i did that here is the screenshot of that.
[Treble-Enabled Device Development A/AB ROMS] LeonardoGC:
It's A/B.
[Treble-Enabled Device Development A/AB ROMS] shivangshukla:
thakns brother can you also answer my questions in post #1010
[Treble-Enabled Device Development A/AB ROMS] rajaumarfarooq:
hi

here are answers to your questions

always use you actual vendor means always use original firmware vendor if you have original firmware your vendor is original and for boot.img normally for original firmware have that if you have custom rom then install original firmware for safe side and then install this rom and for the security patch it has been fixed as said by Phh

as for which files use the file which is arm64-ab you can use any verient but must end with ab ad should contain only arm 64
[Treble-Enabled Device Development A/AB ROMS] LeonardoGC:
phh is phhusson, the developer of the GSI of this thread.
[Treble-Enabled Device Development A/AB ROMS] phhusson:
That's my nick.

GSI uses drivers already on the phone. For best compatibility, it must contain OEM-provided drivers, not some other custom ROM's driver.

Any arm64 ab version.
[Treble-Enabled Device Development A/AB ROMS] brackenhill_mob:
[MENTION=1915408]phhusson[/MENTION]

Just tried installing v217 and v219 on my old Honor V8 Chinese import (great phone btw). In also tried the last but one Pie build

No mobile signal at all on any of them.

If like to give this to my son so how do I get a working radio?

I also cannot use any version later than v217 on my Honor View 10 - no browser works and SMS is totally borked.

What do you need to help me fix?
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
Flashed stock vendor.img over new rom?
[Treble-Enabled Device Development A/AB ROMS] LeonardoGC:
I suspect that he will need log files: logcat and dmesg.

Link:

https://github.com/nathanchance/Android-Tools/blob/master/Guides/Proper_Bug_Reporting.txt
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
My leagoo xrover have the same issue with v218 and v219

The 217 has no problems with that
[Treble-Enabled Device Development A/AB ROMS] ron9:
AOSP 10 v129. Oneplus 6.

Can send sms, but not receive.

Is it possible to get fast charge (oneplus Dash) working?
[Treble-Enabled Device Development A/AB ROMS] siulmagic:
edit: Disregard
[Treble-Enabled Device Development A/AB ROMS] alvinprimo:
Offline charger working on this rom sir?
[Treble-Enabled Device Development A/AB ROMS] xdagee:
Hi there, it's been days since i have been trying to get root to work on my device, after days of trying i still don't seems to get root to work for me. Am on the build (AOSP 10.0 v219) with supperuser app preinstalled and i get notifications that the superuser app is out of date. any links help or guides will be appreciated. thanks.
[Treble-Enabled Device Development A/AB ROMS] DaveyBoy2002:
any clue why i on latest build the launcher crashes? even pixel launcher doesnt work

default launcher crash: https://del.dog/gromethomo.txt

pixel launcher crash: https://del.dog/grovoneryg.txt

also the latest build i seemed to lose the ability to use the 3 button navigation? the button doesnt do anything, it still lets you split screen if you press and hold but cant see recent apps etc etc
[Treble-Enabled Device Development A/AB ROMS] LeonardoGC:
Hi xdagee,

You need to follow these steps:

Go to Settings | Phh Treble Settings | Misc features and press Securize.

With your root checker app verify that there IS NO root.

Install Magisk.

With your root checker app verify that there IS root.

Regards
[Treble-Enabled Device Development A/AB ROMS] xdagee:
what's supposed to happened when i goto Settings->Phh Treble Settings->Misc features and press Secruize? (nothing happens on my side).

Also after installing the Magisk Manager what do i do to properly install Magisk (because what you said it didn't work).
[Treble-Enabled Device Development A/AB ROMS] LeonardoGC:
When you press Securize the default root with the Superuser app is disabled/removed.

Magisk Manager alone is not enough to get root. You need to install Magisk (root) and then Magisk Manager.
[Treble-Enabled Device Development A/AB ROMS] alvinprimo:
I install it, but offline charging no working just like aosp 9. But everything else is working good.

- sim, wifi hotspot

- audio

- stock camera working. Gcam not tested yet

- Bluetooth for transfer file, audio not tested

Rom smooth, thanx phh for your dedicated work for community. Tested on Lenovo S5

Flash gapps with pixel launcer in it. Gesture navigation and recent only work with Pixel launcher.
[Treble-Enabled Device Development A/AB ROMS] ttocs99:
Tried flashing this on Xperia 10. Goes straight into bootloop. Followed instructions on op. Don't know why it won't boot.

Tried flashing via fast boot and twrp.
[Treble-Enabled Device Development A/AB ROMS] shofiulazzamm:
Hey guys can you guys help me with how to flash this rom on my xperia xz2?
[Treble-Enabled Device Development A/AB ROMS] LeonardoGC:
One way is to flash the ROM via TWRP.
[Treble-Enabled Device Development A/AB ROMS] shofiulazzamm:
Can you tell me where I can find boot,img and vbmeta file for xperia xz2? I've been looking for hours and tried so many things.

https://xdaforums.com/project-trebl...velopment/treble-gsi-flashing-tool-b-t4040435

I am trying to use this tool
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
You must get your vendor.img and boot.img from your stock rom,you can get from your phone manufactor

flash rom,than flash vendor.img and boot.img from your stock rom and reboot

flash it with fastboot. fastboot flash system system(your rom)

fastboot flash vendor vendor.img

fastboot boot boot.img

fastboot reboot

you can install android studio,than you can flash it there in the terminal

---------- Post added at 09:53 PM ---------- Previous post was at 09:38 PM ----------

installed root is out of date but works,just ignore the warning
[Treble-Enabled Device Development A/AB ROMS] shofiulazzamm:
is there a way to get gcam workign on this? I am using xperia xz2
[Treble-Enabled Device Development A/AB ROMS] DaveyBoy2002:
You da man! Thanks a bunch :) worked
[Treble-Enabled Device Development A/AB ROMS] ttocs99:
any idea how to get boot and vendor on xperia devices? i have tthe firmware but its all .sin files and no .img files???
[Treble-Enabled Device Development A/AB ROMS] ttocs99:
Right I've managed to get it to boot and works like a dream. But my security patch is still on march, is that normal? I did flash my device OEM vendor which would explain the sec patch but is there anyway to update it to june.

---------- Post added at 11:19 AM ---------- Previous post was at 10:36 AM ----------

ive dirty flashed latest quak over and its went to june security update but after i use securise and reboots it goes back to march security patch why?

---------- Post added at 11:54 AM ---------- Previous post was at 11:19 AM ----------

so i have narrowed it down more. the security patch rolls back when i remove inbuilt roor super user with securize. i dont know why but maybe someone can help
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
on my leagoo xrover only a gcam 7.3.0 52,83mb works,and only in portret mode a 76.44mb 7.3.0 gcam doesnt even in portret mode
[Treble-Enabled Device Development A/AB ROMS] fer15:
[MENTION=1915408]phhusson[/MENTION] I install your rom and it boot succefully, but when I try to install another gsi rom with more personalisation like havoc, that install but when I restart it returns to recovery and dont boot, my divice is a xiaomi cc9e
[Treble-Enabled Device Development A/AB ROMS] xdagee:
I kinda run into this same issue; I don't know if its been fixed or there's a workaround.

https://github.com/phhusson/treble_experimentations/issues/1335
[Treble-Enabled Device Development A/AB ROMS] cmglng:
[MENTION=1915408]phhusson[/MENTION]

How can I fix apps battery usage stats on Settings? Usage after first boot works but after some time it stops working after some time. Now it just says "Battery usage data isn't available".

FIXED: Bug caused by MagiskHide Config module. If you set a fingerprint from a device that doesn't have treble overlay, battery stats won't work. Just set fingerprint to any device that has overlay apk. You can guys can check device list on /system/overlay.

---------- Post added at 06:41 AM ---------- Previous post was at 06:40 AM ----------

This happens to me when I don't format data when switching GSI. You should always format data (type yes) when changing GSI
[Treble-Enabled Device Development A/AB ROMS] LeonardoGC:
Tip:

(Check attached image)
[Treble-Enabled Device Development A/AB ROMS] balrog-kun:
Armor 7 bootup

I'm trying this AOSP 10 gsi on an Armor 7 but it won't boot into the UI, it sits at the Android logo which blinks or flickers although with a strange effect moving from left to right. HOWEVER! I can connect to it with "adb shell" and I can even "su", so at least it boots.. just not into the graphical UI... Any ideas on how to debug the startup problem from the cmdline?

By the way I was able to boot one other Android 9 rom: LineageOS, but their Android 10 rom won't boot in the same way as Quack Phh-Treble -- stuck at logo animation.

I assume that since ADB works, vbmeta is not the issue and dm-verity is not the issue either, is this right?

Update: if I "killall bootanimation", the "Hi there" setup screen is actually there. But the process might well be dead because it's not reacting to the touchscreen or to buttons, including the power button. It's also blinking from time to time.

If I cat /dev/input/event1 I do get all the hardware button inputs and if I cat /dev/input/event4 I do get touchscreen data.

Update: logcat is just a continuous stream of things starting, crashing or beeing OOM killed, java exceptions (some would seem obvious, e.g. ELOOP (too many symbolic links)), selinux denies etc. One thing that crashes a lot is "NDK MediaCodec_" though. Continuously doing "killall media.swcodec" actually triggers a new "Hi there" screen to pop up and it's actually reacting to my inputs where it lets me choose the language, but only for about a second until bootanimation restarts...
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
Have you tried this...

You must get your vendor.img and boot.img from your stock rom,you can get from your phone manufactor

flash rom,than flash vendor.img and boot.img from your stock rom and reboot

flash it with fastboot. fastboot flash system system(your rom)

fastboot flash vendor vendor.img

fastboot boot boot.img

fastboot reboot
[Treble-Enabled Device Development A/AB ROMS] phhusson:
When device is trying to start, do `adb shell setprop debug.stagefright.ccodec 0` this should fix it.

Please get me your `adb shell getprop ro.hardware` so I add it to the list of devices that need this quirk.
[Treble-Enabled Device Development A/AB ROMS] balrog-kun:
Sure enough this gets the system booting all the way. So far confirmed: screen (but colours flicker), touch, buttons, fingerprint reading, vibration, backlight brightness, wifi, bluetooth, audio, flashlight, accelerometer, battery status. Camera preview works but taking pictures doesn't, apps occasionally "can't connect to camera". They also can't switch between the extra rear cameras - wide angle, zoom.

mt6779

Thanks!
[Treble-Enabled Device Development A/AB ROMS] allrightlite:
Has anybody tested the go edition on ZTE Blade L130?
[Treble-Enabled Device Development A/AB ROMS] VZTech:
Sorry for this stupid question, but i want to use this gsi on my Blackshark3pro. Bl is unlocked, but confused as it has a super partition. How would i flash a gsi? Thanks.
[Treble-Enabled Device Development A/AB ROMS] xdagee:
didn't work. after following you advice.
[Treble-Enabled Device Development A/AB ROMS] phhusson:
You need to use `fastbootd` which is recovery's fastboot, instead of bootloader's fastboot.

To go in this mode, from recovery you can do `fastboot reboot fastboot`, or from android `adb reboot fastboot`.

You'll need an Android 10-compatible fastboot, and you'll probably need to free a bit of space by removing extra junk of stock ROM with `fastboot delete-logical-partition product`

Don't forget to also flash vbmeta (probably from bootloader's fastboot, not recovery's fastboot, but I'm not too sure)

Could you make a video of the flickering colors?

What's the device again?

Ok it's already been added, just not in release yet
[Treble-Enabled Device Development A/AB ROMS] LeonardoGC:
exynos7885 (Samsung Galaxy A20 with AOSP 10.0 v219).

Thanks in advance.

Regards.
[Treble-Enabled Device Development A/AB ROMS] Wattsensi:
Hello. ROM doesn't boot on Huawei P9, EMUI 8.0 vendor. Tried system-quack-arm64-aonly-vanilla, phone keeps returning back to logo and cannot reach boot animation. For now I restored my Nandroid backup and am on Phh 9.0

EDIT: Tried version 216, it goes shortly into boot animation and then restarts.
[Treble-Enabled Device Development A/AB ROMS] phhusson:
uh? Your device requires the ccodec property?
[Treble-Enabled Device Development A/AB ROMS] VZTech:
Thanks, could someone pm me, or maybe there is somewhere else with more precise directions for dealing with gsi on devices with supe partition? Thanks dont wanna tie things up here.
[Treble-Enabled Device Development A/AB ROMS] phhusson:
No PM. You can ask on IRC #phh-treble @ irc.freenode.net, or Telegram https://t.me/phhtreble
[Treble-Enabled Device Development A/AB ROMS] darren1:
I have the same problem with my Huawei Mediapad M5's also running EMUI 8.0 vendor. The builds worked up to version 216, but haven't booted since.
[Treble-Enabled Device Development A/AB ROMS] Wattsensi:
Tried with version 216, but it doesn't work either. It gets into boot animation and restarts itself after a while. Version 219 doesn't even get to the boot animation. Both yield the same result. Yes, I did factory reset before and tried the correct variant.
[Treble-Enabled Device Development A/AB ROMS] balrog-kun:
Ulefone Armor 7, here's a shaky video of the effect https://youtu.be/MuiEujlIYnk

I'm currently trying out the Lineage 17 build based on your work and I figured out that setting System -> Developer -> HW Accelerated Rendering -> "Disable HW overlays" stops this, I couldn't find the property or setting string corresponding to this setting...

One other issue I have on both ROMs is that putting the device upright from any other position triggers a wakeup, usually unwanted. Not sure if this is just the accelerometer sending an interrupt or it's some complex gesture. Both gestures are disabled in "Doze features".

(for the record, the screen flicker seems to depend on how bright the background is and mostly happens during animation but sometimes is constant, in that clip the effect is pretty light)
[Treble-Enabled Device Development A/AB ROMS] Rush:
When Hw overlays fixes something, try renaming some stuff in the system/product/overlay partition, or even better

Rename the whole /overlay folder to /overlay-disabled

If the phone doesn't boot anymore then sadly I cant help, I also didn't look at logs or else to find out what " hw overlays" means

So I'm only guessing its product/overlay due to it being rom-dependent in most cases
[Treble-Enabled Device Development A/AB ROMS] balrog-kun:
That option refers to screen rendering so I assume the overlay word refers to overlaying some image buffers on the screen with GPU acceleration, but I'm clueless. I'm gonna try tinkering with system/product/overlay though, maybe incidentally it is related.
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Ah sorry, actually I already had another user report that issue on that device, I just didn't think it was the same device -_-'

"Disable HW ovelays" is merely a workaround not a fix, it will eat more battery and make the system slower, though it could be acceptable for you.

However I'll add a toggle in Treble app to have it always enabled (the toggle actually already exists but in Huawei section...)

As for the "wakeup on lift", you can disable it in Settings => Display
[Treble-Enabled Device Development A/AB ROMS] vdbhb59:
I will try it on Samsung M305F running Android 10 March security patch. Hope it works, as Samsung is a big time pain. Will use non-gapps one. Will report back.

I didnt see anyone mentioning using on SM-305F.

Just 1 question. What are the FLOSS files? Containing open sources applications? Vanila, OSM&, MPV, etc?

Also, since my device does not have TWRP for Android 10 yet, will the Pie TWRP work?
[Treble-Enabled Device Development A/AB ROMS] belfastraven:
My m5 (SHT-W09 8.0.0.190(C567) is fine, using the gapps version, on 219. 217 and 218 would boot but there was a problem with google play services... which caused other gapps problems. I always install using fastboot rather than TWRP--don't know why that would make a difference, but, just in case...
[Treble-Enabled Device Development A/AB ROMS] darren1:
Do you know what vendor you have? 8 or 9? I am still using 8 but I might try updating it to see if it helps.
[Treble-Enabled Device Development A/AB ROMS] LeonardoGC:
My bad.

My device didn't boot with AOSP 10.0 v219, but this happened before the post #1047 was posted. I restored a TWRP backup but I didn't have the ccodec property information back then in order to test it.

Regards
[Treble-Enabled Device Development A/AB ROMS] belfastraven:
As far as I remember, I didn't ever update the vendor software, (this device was never updated to PIe by Huawei). If there is some way That I can check through ADB or TWRP, let me know. I'm not sure how I would do that . For sure I'm using the 8 boot, and I thought that vendor and boot versions needed to match...
[Treble-Enabled Device Development A/AB ROMS] Joergelmann:
I´ve installed the system-quack-arm64-ab-gapps.img.xz successful on my Oukitel WP6.

All works fine and smoothy.

But there are two issues:

- In call volume is not working, it is stuck at maximum.

- You can't disable a sim card (Smartphone with multisim function). You must take out the sim cards to deactivate and save up battery.

Any ideas what I can do?

O.k., double tap to wake does not work too. But there are apps for this.
[Treble-Enabled Device Development A/AB ROMS] eremitein:
all Q roms with that, you can't disable sim in settings
[Treble-Enabled Device Development A/AB ROMS] Wattsensi:
I wonder which changes were made which prevent booting on some EMUI 8 vendors.

My phone doesn't work probably because of the old Treble interface
[Treble-Enabled Device Development A/AB ROMS] Joergelmann:
O.k., but how do the manufacturers manage that? It works there.

Just for understanding: When i install Android 9 Pie, then there are no monthly security patches? The last patch is from december, isn´t it?
[Treble-Enabled Device Development A/AB ROMS] eremitein:
stock rom is really Q?

i saw this option only in Android Pie roms
[Treble-Enabled Device Development A/AB ROMS] Joergelmann:
I had a Samsung Galaxy S20 here with Android 10. And of course you could deactivate the individual simcards there.
[Treble-Enabled Device Development A/AB ROMS] TechGuru123:
do you know if you have modified anything since 213 that would stop 220 from booting on a device that 213 booted on

Im specifically referring to the teclast m30 tablet

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

firmware for teclast tablets if you need to look at them/download them

https://docs.google.com/spreadsheet...ciediKQ3-_NW6zAda9xTNdbyqE/edit#gid=794945847
[Treble-Enabled Device Development A/AB ROMS] phhusson:
No I don't see anything I could have broken that prevents that device to boot, you'll have to provide me with logs, and more details.
[Treble-Enabled Device Development A/AB ROMS] alvinbw:
Can install this rom in huawei p30 lite?
[Treble-Enabled Device Development A/AB ROMS] GartimusPrime:
I am currently trying to flash this GSI on my new Lenovo Tab M8 device. It says it is Treble compatible and I have followed all the instructions I can find, unlocking bootloader, erasing system and flashing GSI. All I get is a constant bootloop of the Lenovo logo and telling me its in an Orange State. I downloaded the AB 64 bit version since the playstore app told me to. Am I missing something or is maybe Lenovo not compatible? Thanks
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Does your device have a "vbmeta" partition?
[Treble-Enabled Device Development A/AB ROMS] GartimusPrime:
I am honestly not sure, is there a way I can tell?

Edit: I downloaded a partition manager from the play store and found that I do have one. I flashed the ROM, then the vbmeta IMG. Now I got to the android boot screen waiting to see if it boots.

Edit: Been at the android boot screen for quite some time, not sure how long I should wait.
[Treble-Enabled Device Development A/AB ROMS] jwarrior319:
Try connecting to adb when on Android boot screen. Use the command: adb shell setprop debug.stagefright.ccodec 1 i believe, otherwise replace the 1 with a 0
[Treble-Enabled Device Development A/AB ROMS] LeonardoGC:
Strictly speaking it's not a ROM, it's a GSI. You can install a GSI in any Treble enabled device.

To find out wheter your device is Treble enabled you can install the following app:

https://play.google.com/store/apps/details?id=tk.hack5.treblecheck

Regards
[Treble-Enabled Device Development A/AB ROMS] phhusson:
From my point of view, a GSI is a ROM.
[Treble-Enabled Device Development A/AB ROMS] jwarrior319:
Basically a semi-universal rom
[Treble-Enabled Device Development A/AB ROMS] avievads:
Moto one macro

AOSP 10.0 V220:

Fix boot on Moto One Macro

Fix media on Pie vendors

Home hardware button can wakeup the device

Treble settings now list resolution in addition to FPS, some devices can expose multiple resolutions and multiple FPS.

Fix double tap to wake on Galaxy A51

Fix fingerprint gestures on Moto One Action

Fix various SELinux fixes to improve integrated su on Samsung devices

Fix recent/home/back keys on some Samsung devices

Expose all refresh rates on Razer Phone (originally only 120Hz was available)

How i do install on moto one macro without twrp?
[Treble-Enabled Device Development A/AB ROMS] Nordicus:
Through adb