yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Development A/AB ROMS] 4C6D74:
EDIT: Using the Magisk version from sourceforge(dot)net/projects/developerluke-roms/files/phh-magisk/ fixed the issue!

I'm on the Samsung Galaxy A6, and I've flashed the newest Stock ROM and TWRP with Odin.

After installing the system image with TWRP, I get stuck in a bootlop, which is fixed with Magisk though.

Now the phone is stuck in the "android" screen, and still not booting.

I think its not booting because of the following error, but Google is not finding anything:

02-16 16:26:46.358 6272 6272 W libprocessgroup: JoinCgroup: controller memory is not found
02-16 16:26:46.361 6272 6272 E Zygote : System zygote died with exception
02-16 16:26:46.361 6272 6272 E Zygote : java.lang.RuntimeException: Socket unset or invalid: ANDROID_SOCKET_usap_pool_primary
02-16 16:26:46.361 6272 6272 E Zygote :	at com.android.internal.os.Zygote.createManagedSocketFromInitSocket(Zygote.java:866)
02-16 16:26:46.361 6272 6272 E Zygote :	at com.android.internal.os.ZygoteServer.<init>(ZygoteServer.java:154)
02-16 16:26:46.361 6272 6272 E Zygote :	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:900)
02-16 16:26:46.361 6272 6272 E Zygote : Caused by: java.lang.NumberFormatException: s == null
02-16 16:26:46.361 6272 6272 E Zygote :	at java.lang.Integer.parseInt(Integer.java:577)
02-16 16:26:46.361 6272 6272 E Zygote :	at java.lang.Integer.parseInt(Integer.java:650)
02-16 16:26:46.361 6272 6272 E Zygote :	at com.android.internal.os.Zygote.createManagedSocketFromInitSocket(Zygote.java:864)
02-16 16:26:46.361 6272 6272 E Zygote :	... 2 more
02-16 16:26:46.361 6272 6272 D AndroidRuntime: Shutting down VM

Here's the full log: pastebin(dot)com/5fUFf31y
[Treble-Enabled Device Development A/AB ROMS] beaverhead:
someone have try this on a op7t pro? thxs

Verstuurd vanaf mijn OnePlus 7T Pro met Tapatalk
[Treble-Enabled Device Development A/AB ROMS] uncleabubear:
I flashed the Disable Verity and Permissiver after Magisk and ran the command adb shell setprop debug.stagefright.ccodec 0

Still stuck on Android logo.

I attached the log.

Thanks
[Treble-Enabled Device Development A/AB ROMS] jwarrior319:
Looking at the log, it appears to be having issues with missing library files. Try flashing back to stock, then flash the gsi system image without wiping system first. Missing libraries seems to be an issue with these Android 10 gsi builds. I had the issue with a cheap mediatek based tablet. I could only play vids from YouTube and the system ui was very laggy. In your case its not finding basic libraries required for the Android framework.
[Treble-Enabled Device Development A/AB ROMS] uncleabubear:
I followed your suggestion but still stuck at android logo.

Logs attached.

Thanks.
[Treble-Enabled Device Development A/AB ROMS] jwarrior319:
The reoccurring problem here is:

" CANNOT LINK EXECUTABLE "/vendor/bin/ipsec_mon": library "liblogwrap.so" not found "

and

" Abort message: 'couldn't find an OpenGL ES implementation, make sure you set ro.hardware.egl or ro.board.platform' "

It looks like the problem is the vendor partition. What stock Android version did you come from? Did you install latest stock update available?
[Treble-Enabled Device Development A/AB ROMS] uncleabubear:
It's a Chuwi Hi9 Air with OEM Android 8.0.0. Arm64 A-only system partition.

Please see image attached.

Thanks.
[Treble-Enabled Device Development A/AB ROMS] hojnikb:
So i have a MT6580 devices with shipped android 8.1 go.

Treble Info says VNDK version 27.0, no system-as-root and is ARM32

Can i flash "system-quack-arm-aonly-gapps.img.xz" or is this not okay ?
[Treble-Enabled Device Development A/AB ROMS] jwarrior319:
Try grabbing the latest firmware from the official thread: https://xdaforums.com/general/devic...9-air-64gb-mt6797-x20-deca-core-t3775682/amp/

( Named "Stock Rom Build number O00623 release-keys 20181122")

Thats the latest available. This way your vendor partition is on newest update. If that dosent work i dont think you'll be able to install android 10 GSI's, at least not aosp. I would try PHH's android 9 aosp v123 GSI. Android 10 seems to be very picky for devices that didn't get a pie update for vendor partition. There were some format/directory changes from 8 to 9.
[Treble-Enabled Device Development A/AB ROMS] uncleabubear:
Thanks 9 v.123 works well. I'll stick with that.
[Treble-Enabled Device Development A/AB ROMS] HueyT:
Yes, should work but anything can not boot
[Treble-Enabled Device Development A/AB ROMS] spancor:
Hello,

I have a umidigi one pro. I have tried flashing the image with TWRP (I used the arm64, a only gapps one?), I flashed it to the system partition and in TWRP there's no errors during flashing etc.

After rebooting, my umidigi boot logo comes up for a few seconds, followed by the android one, but it gets stuck here.

Anyone any ideas as to where I'm going wrong?

Thank you
[Treble-Enabled Device Development A/AB ROMS] aljoscha81:
Sry that i ask again is it possible to use ir scanner for unlock device with this gsi ?aosp they written here on xda got iris scanner driver inbuild since android 9 so device with ir iris scanner you know galaxy s8 and also s9 note9 also(my device) and got seen you got a lot devices you can use for testing so is it possible that it will working with gsi ?

I use stock android 10 for now and would straight change to a gsi if the ir iris scanner would work ;)
[Treble-Enabled Device Development A/AB ROMS] nicmair:
Here is what I do

1, via the flashtool (you can get from UMIDigi support pages) flash the stock ROM and allow it to boot

2, Power off phone

3, open Flashtool, load scatter file (its in the Stock ROM directory)

4, unselect all

5, scroll to system img and click the path to img file, select the phhusion img file you have download and extracted, 7zip is best)

this will change the img file path

6, click the download button

7, plug the phone in

8, when update complete, unplug the phone and power it on

9, wait...... it should boot into the initial setup screen

10, configure

for future updates, if you don't do step 1, it will apply a more recent update over an existing one, which I have found quite successful

I have found the using TWRP has been more problematic and via the Flashtool to be far more sucessfull
[Treble-Enabled Device Development A/AB ROMS] JuanM2020:
Neither face unlock nor iris scanner is built into this gsi. You would have to flash it via twrp or whatever custom recovery you are using.
[Treble-Enabled Device Development A/AB ROMS] spancor:
Thank you so much! I have flashed the stock rom multiple times using flash tool so hopefully with your instructions I can get this sorted :) will give it a go when I get home, and again, thank you! Really appreciate it.

EDIT: So I used the flash tool method, but have ended up with the same results, my phone is just stuck on android boot screen :( is it possible that I have been using the wrong system image from phhusson for my device? I don't know much about this stuff except how to flash TWRP lol so any help is very appreciated :)
[Treble-Enabled Device Development A/AB ROMS] wax_77:
hi everyone,

i'have just installed latest version on my huawei p20 lite via fastboot option (no twrp)

the rom is rooted can I remove root?
[Treble-Enabled Device Development A/AB ROMS] dotKin:
You can go to Settings > Phh Treble Settings > Misc features > Securize

That will remove root but it may cause a bootloop, in that case just reflash the ROM and you should be able to get into the system again without losing data
[Treble-Enabled Device Development A/AB ROMS] xVM:
Legacy SGI

Hi! I have device Teclast M30 which is Android 8.0, and I'm sure Vendor would not update his firmware or make patch for vendor.img

I've found some info here changes-in-legacy-gsis and vendor-binaries-and-vndk-dependencies

Since topic-starter has wrote at 1st post :

Does It possible to build image using Phh-treble sources and Legacy SGI ? And how?

PS: I've tried to install this AOSP.10 rom already but no success
[Treble-Enabled Device Development A/AB ROMS] rajaumarfarooq:
this happens because of missing Disable_Dm-Verity_ForceEncrypt because gsi from 205 to upwords just encrypts the vendor partition and you cant boot into system

you said you can install twrp just install the twrp and flash this file Disable_Dm-Verity_ForceEncrypt_08.18.2019 and you will be able to get it work i have attached the file also
[Treble-Enabled Device Development A/AB ROMS] xVM:
Log of bootloop on Teclast M30

Hi! Maybe you know where can I send my log of bootloop on Teclast M30? (full wipe, flash system + your script)

I've saw somewhere in forum about this ROM that I must attach logs about such problem...
[Treble-Enabled Device Development A/AB ROMS] djlukas1983:
How does it work? Does the camera and fingerprint sensor work?
[Treble-Enabled Device Development A/AB ROMS] wax_77:
thank you very much, works

another question, there is no option to assign different ringtone to different sim (o maybe i can't find)

there is a workaround or an app?

bye
[Treble-Enabled Device Development A/AB ROMS] PoochyX:
Do you need a Android 10 vendor so u can be heard on phone calls like there is this microphone bug on Android 10 GSIs where people don't hear me in phone calls but I can hear them...
[Treble-Enabled Device Development A/AB ROMS] Be_Cruel.:
Use csj1 vendor along with white wolf latest kernel
[Treble-Enabled Device Development A/AB ROMS] datmorgrimm:
Works great on my ROG Phone 2, aside from it no longer detecting LTE data networks :/ I haven't changed the APN settings from stock (and they worked before I flashed), so there's something incompatible.
[Treble-Enabled Device Development A/AB ROMS] GartimusPrime:
wondering if anyone has tried to flash on the pixel 3 xl? I am reading other posts on how to flash a GSI and they all say that I need to flash something called avbctdisable.zip in TWRP but there is no TWRP for Android 10 yet. Thanks
[Treble-Enabled Device Development A/AB ROMS] redbullman:
Anyone tried on a OnePlus 7?
[Treble-Enabled Device Development A/AB ROMS] mtnez.david:
I will do it as soon as I get some time, I expect that fingerprint sensor will not work as in previous versions. Has the fix for onscreen fingerprint been included in this release?
[Treble-Enabled Device Development A/AB ROMS] dhacke:
I managed to get Magisk and AdAway to work instead of the built-in SU.

So at my side this problem is fixed.
[Treble-Enabled Device Development A/AB ROMS] lgkg245:
Moto E5 Play GO - XT1920-16

AOSP 10.0 v201 ARM A-only Vanilla

Boots just fine (previously forgot to flash stock boot image, now bootable)

- Speakers/mic, network/RIL, navigating the UI works

- Rooted with the custom Magisk-phh zip, and is functional

- Camera doesn't work, including 3rd party apps (Open Camera, Simple Camera), no display.

But the screen flickers every now and then, especially when scrolling, with UI materials scrambled all over the place on screen, or just the notification bar regardless of inactivity on screen and visa-versa.

But it does not hinder in navigating overall, just a small annoyance.

Keep up the good work, and I'm looking forward for your future updates.
[Treble-Enabled Device Development A/AB ROMS] allrightlite:
On Z Play looks like this [youtube]jex-L92mS2c[/youtube]

Just a test, but very smooth.
[Treble-Enabled Device Development A/AB ROMS] scamper07:
This looks amazing!

Can anyone help me out with steps for trying this for Moto G5 Plus? Havent flashed GSI image before

I have done the following so far:

1. Flashed Lineage Treble build (according to https://xdaforums.com/g5-plus/development/dev-project-treble-potter-t3801292)

2. Verified that Treble is supported (checked the status in Treble Info app)

3. Factory reset

4. Now flashed AndroidQGSI (Arm64 -A only, gapps) in system partition

5. Reboot

Device always ends up in fastboot(bootloader) mode. Not sure what mistake i'm doing here
[Treble-Enabled Device Development A/AB ROMS] phhusson:
From your computer do:

adb shell phh-su 0 resize2fs /dev/block/by-name/userdata
#Or if it fails
adb shell phh-su 0 resize2fs /dev/block/bootdevice/by-name/USERDATA

Well if you haven't changed APNs, try setting APNs?

Though, does it detect 3G data networks? it's possible your phone is by default in 3G, switch it to 4G in Settings.

No it hasn't. Help is welcome to integrate it.
[Treble-Enabled Device Development A/AB ROMS] datmorgrimm:
I also reset the APNs and edited them back - no dice. The preferred network is set to LTE in the mobile settings, and the phone information menu hasn't changed at all. It detects the 3G networks fine (UMTS voice network is detected, so 3G works fine, just no data).

Apparently it's worked fine for the other ROG 2 user that flashed it, but I wonder if that's because their version has a wider array of supported bands. I'm using a Tencent version in Canada.

Then again, I don't know enough to tell if flashing another system rom would impact the bands the phone can use.
[Treble-Enabled Device Development A/AB ROMS] TheDevelopper:
[MENTION=1915408]phhusson[/MENTION], for arm_aonly all AOSP android 10.0 Q builds including v201 there is only one issue which is the homescreen wallpaper, it is black and can not be changed or it is not displayed, it is black, the wallpaper picker app opens normally and works normally, when a picture is choosed to be as a homescreen wallpaper it says wallpaper is applied successfully but it is no so and it is just black, the lockscreen is fine with no problems, the wallpaper is displayed fine on the lockscreen, it is just for the homescreen

I played around logcats and it says it is the libEGL here is the log:

10-30 21:12:50.499 862 884 I DropBoxManagerService: add tag=system_app_strictmode isTagEnabled=true flags=0x2
10-30 21:12:50.534 1017 1030 I ndroid.systemu: NativeAlloc concurrent copying GC freed 53388(1887KB) AllocSpace objects, 6(120KB) LOS objects, 49% free, 5309KB/10MB, paused 172us total 310.393ms
10-30 21:12:50.628 862 876 I system_server: Background young concurrent copying GC freed 60308(4082KB) AllocSpace objects, 35(1496KB) LOS objects, 32% free, 10MB/16MB, paused 266us total 132.246ms
10-30 21:12:50.697 445 6793 I [Gralloc]: usage1: 0xb02, format: 1 stride: 480 vertical_stride: 800 size: 1536000
10-30 21:12:50.703 445 6793 I [Gralloc]: usage1: 0xb02, format: 1 stride: 480 vertical_stride: 800 size: 1536000
10-30 21:12:50.707 445 650 I [Gralloc]: usage1: 0xb02, format: 1 stride: 480 vertical_stride: 800 size: 1536000
10-30 21:12:50.709 445 650 I [Gralloc]: usage1: 0xb02, format: 1 stride: 480 vertical_stride: 800 size: 1536000
10-30 21:12:50.820 1017 1143 E [EGL-ERROR]: __egl_platform_cancel_buffers:644: surface->num_buffers(4)
10-30 21:12:50.822 1017 1143 E libEGL : eglDestroyContextImpl:1014 error 3006 (EGL_BAD_CONTEXT)
[Treble-Enabled Device Development A/AB ROMS] mtnez.david:
Which kind of help is needed?
[Treble-Enabled Device Development A/AB ROMS] phhusson:
So, it's not LTE data that doesn't work, it's globally data connection?

What do you mean "edited them back" do they indeed appear in APN settings, or they disappear after you added the APNs?

Here are the instructions some guys left to fix that issue, I don't know much about it:

Well, I'd need a developer with such a device that knows how to build AOSP.

There is no reverse-engineering done to do since it has been implemented in device-specific ROMs, and there is not much code to write since the infrastructure for under-display fingerprint is already there for other devices, and I can help with the issues.
[Treble-Enabled Device Development A/AB ROMS] mtnez.david:
Well, I know how to build AOSP, and I have the device although I would not consider myself as "developer". I have a brand new system now running fedora 31 so I can try to set it up it order to compile the rom.
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Meh, should be good enough. Please come chat either on irc #phh-treble @ irc.freenode.net, or telegram [MENTION=1960538]PHH[/MENTION]treble so I can help you setup
[Treble-Enabled Device Development A/AB ROMS] datmorgrimm:
Yeah - turning it to 3G only also doesn't recognize a data connection.

Basically my APN settings require me to use standard AT&T settings, but with a broadband APN instead of phone. I reset the APNs to the SIM defaults, and changed the APN name to broadband to get it working like before. I put the SIM in my Razor Phone 2 and copied the APNs over exactly, and I get 4G perfectly on that one.
[Treble-Enabled Device Development A/AB ROMS] rowihel2012:
Onscreen fingerprints working finewith my Rog 2

But no always on screen and no 90 or120 hz support
[Treble-Enabled Device Development A/AB ROMS] khuy21:
latest v201 booted successfully on my Lenovo S5 Oreo 8.0 vendor, but with visual glitch/flicker when scrolling and when the menu pane (in file app for example) slide in/out (also received report from some 8.1 vendor devices). seems like the scren redraw process bug that affected visual glitch/flicker.

Other one problem is with the camera which cannot be use/open
[Treble-Enabled Device Development A/AB ROMS] I1V1A1N:
Google released android 11 arm64 ab .
[Treble-Enabled Device Development A/AB ROMS] JuanM2020:
For clarification. Google released a developer version of Android 11. No where near complete or anything a user/custom rom developer would like to use. It is simply released so app developers and the sorts can start getting a piece of the pie to see how it works with there apps. Official stable release won't be till around the third quarter of this year.
[Treble-Enabled Device Development A/AB ROMS] rajaumarfarooq:
the changes will be reverted when you flash stock rom and also if you only install vendor image

so you have to flash them again if you going to do either any of the above

---------- Post added at 06:08 PM ---------- Previous post was at 06:05 PM ----------

how to fix device unauthorized after using securize and getting rid of root

before that device was recognized and usable with adb
[Treble-Enabled Device Development A/AB ROMS] eremitein:
when phone plugged to pc, after run "adb shell" unlock phone and allow pc to adb pairing
[Treble-Enabled Device Development A/AB ROMS] hojnikb:
How to flash via fastboot? I tried fastboot -u flash imagename and fastboot flash system imagename and no option is working?

thats on ulefone s1 (same as blackview a20)
[Treble-Enabled Device Development A/AB ROMS] spancor:
Soo after a while I've managed to get TWRP and the rom onto my umidigi one pro, and I am now struggling to get magisk installed on it, after flashing zip in TWRP and rebooting, it gets stuck on android logo.

Separately, I have tried using SP flash tool to flash a patched boot.img that I got from magisk manager (patched the stock boot.img) and I still get the same result.

Is it because I used a boot image from a stock rom (ie not android 10), or does anyone have any other ideas why this is?? Thanks! :)
[Treble-Enabled Device Development A/AB ROMS] hojnikb:
So i was able to recover my device and tried flashing this rom via sp tool. Using stock everying but system image as this rom, i get a reset as soon as the room should be booting...
[Treble-Enabled Device Development A/AB ROMS] darren1:
Try flashing phhusson's modded magisk via TWRP. You can download it from his GitHub page here

https://github.com/phhusson/treble_experimentations/releases/download/v200/magisk-phh.zip
[Treble-Enabled Device Development A/AB ROMS] spancor:
Legend thanks I'll try that!

UPDATE: Now have LineageOS 17.1, TWRP and Magisk (woo!!!), will it break if I update magisk through manager? And does anyone know how to stop my device automatically encrypting? I have formatted data partition in TWRP, all worked, but as soon as I reboot to system the first screen I see is the wee android and some text saying encrypting android, so I can't get my data partition to stay formatted :(
[Treble-Enabled Device Development A/AB ROMS] djlukas1983:
Could you tell me how this GSI works on P20 lite? Does the camera Work? Can you setup your fingerprints?
[Treble-Enabled Device Development A/AB ROMS] Jazzda:
Updating magisk through manager broke my phone. I could't find the "uninstall" option in the new interface so I tried magisk_uninstaller.zip within TWRP but it did not work. From then on the phone always booted to twrp. I had to flash stock rom to make it work again :(

I'm now planing my next move but have so many doubts.

First I want to get rid of encryption but I'm not sure what to do.

Second I have doubts about the real advantage of using android 10 as I believe that lots of issues I had was related to it.

My goal is simply to maximize battery life and getting rid of google and their "services" or any kind of "online account". I believe I don't even need microg.

Root is nice because it makes me feel that the phone is really mine.

I tried /e/, Lineage 17, and a few others, ending with this one (v210).

I trust phhusson, so, what GSI should I pick? Is /e/ still a good option for android 9, even if somewhat outdated? (my phone is a Redmi 7A).
[Treble-Enabled Device Development A/AB ROMS] spancor:
So far, what I've done was flash TWRP for a start, flashed the lineage 17 system image and moved magisk zip from phhusson and gapps to SD storage. Then I started the phone as normal, turned on debugging etc and rebooted to recovery.

Then I formatted data partition, rebooted to recovery, installed magisk phhusson zip and gapps from TWRP then booted phone as normal. Everything seems to be working so far, just trying to get Ed Xposed sorted now ?

Granted I've only learned how to do all this stuff myself the past few days so could be completely wrong process but it might help ya!

EDIT I realise I completely misinterpreted your post soz lok
[Treble-Enabled Device Development A/AB ROMS] phhusson:
It's closed source, so there is nothing I can do with that.
[Treble-Enabled Device Development A/AB ROMS] plarfman:
If u have emui 8 vendor fingerprint wont work after restart and when u charge the phone using fast charge it gets uncontrollably hot also YouTube sound will stutter a lot 113k score on antutu

If u have emui 9.1 vendor fingerprint will work without any problems even after reboot, it unlocks faster than stock emui, the phone will not be hot using fast charge and i get 114k score on antutu

Battery life on both vendors drains a bit faster but thats just emuis good battery optimisation

The rom is unusabke on emui 8 vendor, aosp 9 phh is good on emui 8 vendor tho
[Treble-Enabled Device Development A/AB ROMS] djlukas1983:
Thanks for the answer. I'm p20 Pro user. But if it works well on P20 lite I think it should work the same on the PRO model too with the Emui 9.1 vendor.
[Treble-Enabled Device Development A/AB ROMS] jwarrior319:
Try flashing the disable force encrypt zip file in this post: https://xdaforums.com/project-trebl...p-10-0-quack-phh-treble-t3992559/post81808389
[Treble-Enabled Device Development A/AB ROMS] eradicator006:
Just flashed v211. What is this green dot on the lockscreen for? If I push it the screen dims and the green dot becomes brighter.
[Treble-Enabled Device Development A/AB ROMS] hojnikb:
I was able to get twrp working on this device, but when i try to flash img file, twrp only shows boot or recovery option, but not system (obviously these two partitions are not correct and too small anyway).

Any ideas ?
[Treble-Enabled Device Development A/AB ROMS] PoochyX:
Old version of twrp ...
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Right, that's a fail from me, that will be fixed in next release.

That's intended for devices with optical under-display fingerprint.

I'm respinning a v212 to fix that.
[Treble-Enabled Device Development A/AB ROMS] DarkestSpawn:
Edit: Still not able to receive messages. I never did see a response from you if those logs were any help.

Thanks
[Treble-Enabled Device Development A/AB ROMS] calmet:
I'm having sms not arrive problem with all the verifications of phhuson.(Quackphh v211,crdroid,exui,evolution x etc). When ı am on LTE , sms not arrive me..if I switch to 3g, message is reaching ..

i upload volte.fix(ims,ims setting,device setting) and change build.prob but not solved..

please say me how can ı fix this problem.