[HTC U11+ Guides, News, & Discussion] Shrenade514:
I am still testing the Android 11 GSI, but it booted! I had a lock screen issue that I am still investigating, but there is hope.

Update #1:

Ok so the issue appears to be that the Setup Wizard (aka "Pixel Setup") is not working? After booting it is a black screen. I found a fix on the Telegram chat for the GSI...

>adb shell

>settings put global device_provisioned 1

>settings put secure user_setup_complete 1

This lets me skip the buggy/broken setup wizard. But now if I try to add my Google account it will open up the setup again. Sometimes it becomes responsive again, but sometimes it goes to black screen again and freezes. I will keep trying to get it to work. Otherwise I will try flashing Havoc without Gapps and then try flashing Gapps separately.

Update #2:

So during the "black screen" phase, if I touch the navigation pill (at the bottom edge of the touchscreen) it will cause the system ui to re-draw what is on the screen and undo the black screen. When doing this I will be at the first stage of the Setup Wizard, which is scanning for Wi-Fi networks. But it doesn't let me press continue while doing this, so I cannot progress in the setup.

If there was a way to setup my Google account using ADB commands then I would be able to get around this setup bug. :/

Update #3:

A quick tip with TWRP: To access internal storage and microSD, go to ADB Sideload and cancel the process, this will let you access files on the device!

I've tried both of these methods:

https://xdaforums.com/t/fix-setup-wizard-has-stopped-working.3274219/

checking info loop - Google Account Community

As far as I can tell there are 3 ways of adding your Google account, via the "add accounts" settings menu, via the Pixel Setup notification and via the Google app. When disabling the Pixel Setup app, attempting via the Google app method will open the "Android Setup" app, which doesn't seem to work at all. The "add accounts" method will attempt to open the Pixel Setup app. If you disable both the "Pixel Setup" and "Android Setup" apps and perform the data storage wipes from this thread (https://support.google.com/accounts/thread/4861545?hl=en), you will get an infinite loop from Google Play Services trying to contact some server?

I've tried a lot and couldn't find any way to add my Google account, there doesn't seem to be a way around this either. Maybe using Titanium Backup you could restore a Google account? Maybe MicroG would work? I'm not sure, but I'm gonna try flashing Havoc and Gapps separately now. If that doesn't work then I will give up on Android 11 for now, until the next HavocOS version is released, or until I try a different GSI image...

Update #4:

So I've tried all my options and given up on "Havoc-OS-v4.1-20210208-arm64-aonly-Official-GApps.img", I think a solution might be to just use "fastboot boot twrp.img" instead of flashing TWRP, but I couldn't get it to work and from what I read it seems like the fastboot boot method is only for A/B partition devices? I'm not sure...

I thought I would just settle for HavocOS 3.12 (last A10 build) if HavocOS 4.1 failed (newest A11 build), but I have already spent so much time testing that I have decided to test out the other A11 GSIs as well.

Update #5:

Use this guide when looking for GSIs: https://github.com/eremitein/treble-patches/issues/20

"descendant_gsi_arm64aonly-XI-20210213-Official.img" causes a bootloop, doesn't even show a boot animation, just crashes and restarts to the beginning of the boot process.

Same thing for "caos-v300m-210219-arm64-agZ.img".

Update #6:

"lineage-18.1-20210212-UNOFFICIAL-treble_arm64_avS.img" booted and appeared to be stable, but doesn't come with Gapps (no Gapps build available), so I'm going to try some of the suggestions from the main thread: https://xdaforums.com/t/gsi-11-lineageos-18-x-gsi-all-archs.4205461/post-84384687

These are:

FlameGApps (https://xdaforums.com/t/gapps-arm64-flamegapps-for-android-9-0-10-0-11-0.4020917/#post-81225103),

NikGApps (https://nikgapps.com/ and https://sourceforge.net/projects/nikgapps/files/),

Beta OpenGApps (https://sourceforge.net/projects/opengapps/files/arm64/test/)

Update #7:

"FlameGApps-11.0-full-arm64-20210221-BETA.zip" causes a bootloop, I will have to try a different GApps package from Nik or Open tomorrow. When I was testing vanilla LOS (no GApps) the sRGB toggle in Developer Settings didn't seem to work, I didn't test call audio or other things either. I hope that everything works, if I can't get LOS to work I will test AOSP and if that doesn't work I will give up and try HavocOS 3.12.

Update #8:

So I can get LOS 18.1 and HavocOS 4.1 to both boot, non-gapps/vanilla versions of both. Flashing "open_gapps-arm64-11.0-pico-20210130-TEST.zip" seems to work, but I have to resize /system partition before flashing the GApps package. The only problem is that audio playback does not work on either of the A11 GSIs.

I am trying to do the audio fix (see OP's comment), but to do this I need root access for Solid Explorer, to access "root/vendor/etc/". From what I've read from the Havoc GSI Telegram chat, I need to flash phh superuser and install the apk to get root access, then if I want to then I should be able to get Magisk, but for now I'm testing SU root.

Update #9:

https://xdaforums.com/t/phh-treble-...or-phhusson-source-based-treble-gsis.3811563/

phh's SuperUser 1.0.3.3 APK Download by Pierre-Hugues Husson - APKMirror

phh's SuperUser 1.0.3.3 APK Download by Pierre-Hugues Husson - APKMirror Free and safe Android APK downloads

www.apkmirror.com

This method worked and got me root permissions. I tried the audio fix but it made no difference. HavocOS 4.1 has instabilities for SystemUI, cannot take phone calls, cannot playback audio, cannot playback video, cannot access the camera, and I assume even more bugs. The brightness slider also does nothing until 50% on the slider.

Just tested LOS with OpenGApps Pico package, same audio playback issues. About to test AOSP A11 GSI and then if that fails (I think it will), then I will try HavocOS 3.12 (final A10 build).

Update #10:

Tested AOSP A11 GSI with OpenGApps Pico package, no boot animation and restarts the boot process every 30-60 seconds.

I will now test HavocOS 3.12 and hopefully everything will work as expected...