yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
I'm trying to install a GSI on a Pixel 3a, but on initial boot I get the "Your device is corrupt" error and then a Google splash screen. Boot never completes (I've left it on the splash screen for upwards of 20 minutes).

I've tried three different images:

system-quack-arm64-ab-vanilla.img

system-quack-arm64-ab-floss.img

lineage-17.1-20200309-UNOFFICIAL-treble_arm64_avN.img

All three images are the latest versions linked from the GSI list. The two PHH variants are from v215 on the treble experimentations release page, and the Lineage image is from Andy Yan's personal builds // GSI at Sourceforge. I get the same result across all three images.

Steps to reproduce:

I start from a factory image (I've tried both last month's image, sargo-qq2a.200305.002, and this month's, sargo-qq2a.200405.005, both obtained from Google's Factory Images for Nexus and Pixel Devices page). I start my phone in fastboot mode by holding Volume- and Power, and then run flash-all.sh from a terminal. I let the script run through until it boots all the way to initial setup.

Then I reboot back to recovery. I get the Android icon with the "No command" message; I hold down Power and press Up, which gives me the recovery menu. I run Wipe data/factory reset, then when that's done I run Enter fastboot and run the following commands from a terminal (using the Lineage image in this example):

Code:

$ fastboot erase system

Erasing 'system_b' OKAY [ 0.091s]

Finished. Total time: 0.093s

$ fastboot delete-logical-partition product_b

Deleting 'product_b' OKAY [ 0.045s]

Finished. Total time: 0.045s

$ fastboot flash system lineage-17.1-20200309-UNOFFICIAL-treble_arm64_avN.img

Resizing 'system_b' OKAY [ 0.005s]

Sending sparse 'system_b' 1/4 (524284 KB) OKAY [ 14.024s]

Writing 'system_b' OKAY [ 3.528s]

Sending sparse 'system_b' 2/4 (524284 KB) OKAY [ 14.373s]

Writing 'system_b' OKAY [ 3.568s]

Sending sparse 'system_b' 3/4 (524284 KB) OKAY [ 14.218s]

Writing 'system_b' OKAY [ 3.519s]

Sending sparse 'system_b' 4/4 (264960 KB) OKAY [ 7.273s]

Writing 'system_b' OKAY [ 1.984s]

Finished. Total time: 62.533s

$ fastboot reboot

Rebooting OKAY [ 0.000s]

Finished. Total time: 0.051s

And then I get the "Your device is corrupt. It can't be trusted and may not work properly." error, with a "Press power button to continue" prompt. I press the power button, I get the Google splash screen, and that's it; it never gets past the splash screen.

Here's what I've looked over so far in trying to get it set up:

phh's FAQ

How to flash a Generic System Image (GSI) on Project Treble supported devices

Generic System Images page on the AOSP site

Any ideas? Can anyone tell me what I'm doing wrong, or let me know if there's any more information I can give you?

did you unlock your bootloader?
[Treble-Enabled Device Development A/AB ROMS] txenglan:
Is anyone else getting higher battery drain on this or the last version of this GSI? I have a Umidigi F1 Play which has a pretty big battery and while I still get decent SOT, something is definitely draining the battery faster. I've gone though logcat and examined which apps might be too blame using Accubattery but nothing seems out of the norm.
[Treble-Enabled Device Development A/AB ROMS] elm_bacchus:
Same here, I had to flash stock rom back because of battery drain!
[Treble-Enabled Device Development A/AB ROMS] allrightlite:
Don't have battery drain on this GSI (on Z Play)
[Treble-Enabled Device Development A/AB ROMS] txenglan:
Which phone are you using?
[Treble-Enabled Device Development A/AB ROMS] Thad Boyd:
Yes; sorry, should have mentioned that. I've successfully installed several other (non-GSI) images but they didn't fit my use case. (I really liked GrapheneOS, but it doesn't work with Sprint data, so as a Sprint user I can't use it as a daily driver.)

I got the warning that my bootloader is unlocked after the warning that my ROM is corrupt, and before the Google splash screen.
[Treble-Enabled Device Development A/AB ROMS] elm_bacchus:
Sony xperia xz..
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
ok
[Treble-Enabled Device Development A/AB ROMS] Thad Boyd:
I've got it working. The missing piece appears to have been the vbmeta.img file from the latest AOSP GSI. Working from a factory image, I went into recovery, did a factory reset, and then the following:

$ fastboot erase system
Erasing 'system_b' OKAY [ 0.105s]
Finished. Total time: 0.106s
$ fastboot delete-logical-partition product_b
Deleting 'product_b' OKAY [ 0.045s]
Finished. Total time: 0.045s
$ fastboot flash system system-quack-arm64-ab-floss.img
Resizing 'system_b' OKAY [ 0.005s]
Sending sparse 'system_b' 1/5 (524284 KB) OKAY [ 15.136s]
Writing 'system_b' OKAY [ 3.389s]
Sending sparse 'system_b' 2/5 (524284 KB) OKAY [ 14.632s]
Writing 'system_b' OKAY [ 3.612s]
Sending sparse 'system_b' 3/5 (524284 KB) OKAY [ 14.625s]
Writing 'system_b' OKAY [ 3.559s]
Sending sparse 'system_b' 4/5 (524284 KB) OKAY [ 14.773s]
Writing 'system_b' OKAY [ 3.610s]
Sending sparse 'system_b' 5/5 (301188 KB) OKAY [ 8.417s]
Writing 'system_b' OKAY [ 2.393s]
Finished. Total time: 84.194s
$ cd aosp_arm64-exp-RPP2.200227.014-6343719/
$ fastboot flash vbmeta vbmeta.img
Sending 'vbmeta_b' (4 KB) OKAY [ 0.001s]
Writing 'vbmeta_b' OKAY [ 0.003s]
Finished. Total time: 0.045s
$ fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.050s

That did it; I was able to boot.

Hope this helps anybody else who has the same issue.

---------- Post added at 02:18 AM ---------- Previous post was at 01:29 AM ----------

New question: while I'm now able to boot, I can't get Sprint data to work. I pull up my mobile data, disable "Automatically select network", and tap "Choose Network".

There are several entries for Sprint, but none of them work. If I tap any of them, I get a "Connecting..." notice, a progress indicator, and then, after awhile, the following error appears in my notifications:

No service

Selected network (Sprint) unavailable

Has anyone gotten the ROM to work with Sprint?
[Treble-Enabled Device Development A/AB ROMS] ManovSteele:
I'm having trouble removing Superuser. Installed magisk when I flashed this rom (didn't know there was built in root) but I'm failing safetynet even with Magiskhide so I want to disable built-in root.

I click the 'Securize' button and grant root access, but it just hangs and eventually crashes. I then can't use Phh settings until I reboot, and Superuser is still there.
[Treble-Enabled Device Development A/AB ROMS] Ekterm:
v215 mostly works with Verizon on my Pixel 3 XL, only visual voicemail and receiving sms and mms don't work. Is there a fix?

Edit: Would an MVNO that uses Verizon's network be easier to activate?
[Treble-Enabled Device Development A/AB ROMS] Jazzda:
Can you please edit this line, maybe changing it to

The current release is here: https://github.com/phhusson/treble_experimentations/releases
[Treble-Enabled Device Development A/AB ROMS] eremitein:
stock sms app have bug, use another app
[Treble-Enabled Device Development A/AB ROMS] Ekterm:
I used Google's Messages app too, same thing
[Treble-Enabled Device Development A/AB ROMS] Ekterm:
Tried it again with v215 on my Xiaomi Mix 2S and I hadn't remembered it quite right, the phone actually goes: MI boot logo, black, MI boot logo, fastboot. I hold the volume up button when it turns black but it still goes to fastboot.

I can reboot into TWRP and check these locations you gave, but:

last_kmsg doesn't exist,

pstore folder is empty,

and for good measure last_mcrash contains "none".
[Treble-Enabled Device Development A/AB ROMS] ManovSteele:
So I think I managed to get around it - having two roots enabled kept crashing the Settings, so I started from scratch without Magisk, then ran Securise, then wiped and installed Magisk.

It's at least passing Basic Integrity now, so I can look at the cts options.
[Treble-Enabled Device Development A/AB ROMS] Eisen2:
No Sound

Dear phhusson,

Could you give me any idea how to fix my problem?

I have a Ulefone Armor 6, MT6771, I have installed AOSP 10.0 v215, and with this update, my device sound bug is not fixed either. No sound. I hope I can pay you for that coffee. Thank you
[Treble-Enabled Device Development A/AB ROMS] Eisen2:
No Sound

I update, I have sound through the headphones.
[Treble-Enabled Device Development A/AB ROMS] jwhan:
If you use magisk, please uninstall it and see whether the sound problem is fixed.

通过我的 Phh-Treble vanilla 上的 Tapatalk发言
[Treble-Enabled Device Development A/AB ROMS] Eisen2:
No Sound

Thank you. I don't use Magisk.
[Treble-Enabled Device Development A/AB ROMS] txenglan:
Battery drain seems to have mysteriously disappeared on my phone. I noticed that the Google app was updated at the same time I noticed the drain had seemingly disappeared so perhaps it was that....
[Treble-Enabled Device Development A/AB ROMS] :
So the solution was to change "persist.sys.phh.mainkeys" from value 0 to value 1. :good:

I now have removed all navigation softkeys on my mi a1.
[Treble-Enabled Device Development A/AB ROMS] ChessPiece:
Looks like MagiskHide doesn't work, it is because SuperSU is installed?

Anyone know what is "Securize" menu actually do? because it's hang on my device.

Is it just removing the SuperSU app? If yes then maybe I could remove it manually using other apps.
[Treble-Enabled Device Development A/AB ROMS] exzemat:
hello,

I used AOSP 9, by Phh, on huawei nova 2 (PIC-LX9), emui 8.0.

no problem.

But now, I can't boot AOSP 10, arm64only-gapps, (bootloop on logo "android")or others rom based.

(see logcat with phh201 build)

View attachment 4996103

I don't know why ?
[Treble-Enabled Device Development A/AB ROMS] drgabrielsy:
AOSP GSI 10 V215 system IMG file system-quack-arm64-aonly-gapps.img.xz

Work perfect on Huawei Gr5 2017 bln-l21 rebranded to bln-l22

Issues were as many devices

-No offline charging I tried the fix but had no chance to work.

-Battery state error the device turns off when battery at 12% but actually it's 0

-Some times when working with heavy application it freezes and UI system not responding message pops up till I do force power off.

- Brightness control isn't accurate it's high too much

- Google Assistant hot word doesn't work and can't activate option

-In about menu device unknown , hardware unknown How can I change this values with Root explorer ?

Thanks you for this nice work.
[Treble-Enabled Device Development A/AB ROMS] Gilbot:
Are you able to make voice calls over LTE? I can't seem to get Voice/MMS/SMS on a Galaxy Note 10+ with a verizon sim in. Data works, but the rest doesn't.
[Treble-Enabled Device Development A/AB ROMS] Ekterm:
Bump. [MENTION=1915408]phhusson[/MENTION] what can I do next?
[Treble-Enabled Device Development A/AB ROMS] rajaumarfarooq:
still not working

i am on phhusson gsi 215 vanilla
[Treble-Enabled Device Development A/AB ROMS] R3xXDA:
I installed one of the first versions successfully on Doogee S55. My question is: if I flash newer version will the phone retain its settings or will go back to factory mode? Thank you.
[Treble-Enabled Device Development A/AB ROMS] darren1:
I was looking at the Doogee S range this morning, what's your experience with this ROM any problems?
[Treble-Enabled Device Development A/AB ROMS] R3xXDA:
My son is using it - mainly to play games, watching Youtube, some videoconferencing to school. There is no SIM installed in it. So far I do not know about any problems. The only thing I am lacking a bit is TWRP for this phone. The one supposedly for it is too large to fit into the partition.
[Treble-Enabled Device Development A/AB ROMS] Fatact:
unable to call on AOSP 10

Hello hello , I have a serious problem with GSI AOSP 10 ROM, I can't call anybody :( .

As soon as I make a call, it immediately stops saying "call ended". When i go to the call settings it says "Network or SIM card error". My SIM card works fine on other devices and when I switch back to a stock ROM, I can call again :mad: .

In the network settings, the automatic search does not find anything, and when I search manually, it takes a long time until I find my network (Bouygue Telecom in France), but after that I can't still call. However, I can still send SMS and use 4G :eek: . I have this problem with all other GSIs ROMs like Lineage OS 17.1 or Havoc OS :rolleyes: ....

I don't know what to do :confused: , someone would have any idea please :highfive: ??
[Treble-Enabled Device Development A/AB ROMS] CodingAddict704:
installed the GSI on my rebranded honor 6X and other than the known issues it's been great but i had this interesting thing happen to me, when i went into the settings to remove the preinstalled superuser i pressed "securize" which resulted in my phone rebooting and the superuser app being removed but the device still fails both safety-net checks (basic and CTS).

does anyone know why is this happening and whether installing magisk would fix it ?

(BTW thank's a lot for making this GSI because it saved me hard because all pie ROMS that were available to my device had the BLE issue and i couldn't use my mi band but now thanks to you i can use it :D)
[Treble-Enabled Device Development A/AB ROMS] eremitein:
when you did securizing, you had magisk installed or no?
[Treble-Enabled Device Development A/AB ROMS] CodingAddict704:
No I just had installed the GSI, I'll install magisk later when I finish setting up the phone but I do need to solve the safetynet check to use my banking app.
[Treble-Enabled Device Development A/AB ROMS] AssBlast:
So I tried this and everything except my in-screen fingerprint reader works. Also it's missing the APN for visible wireless. Moto Z4.
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
on my leagoo xrover the hotspot doesnt work.

It wil goes on, but it is not recognised on my computer,i called the hotspot leagooxrover,no sign of it anywere,with stockrom it works.

usb internet works.

somebody knows how to fix this,

thanks in advance
[Treble-Enabled Device Development A/AB ROMS] eremitein:
in twrp mount system and check is this content exist:

system/xbin/su

system/bin/phh-su

system/etc/init/su.rc

system/bin/phh-securize.sh

/data/su (folder)

send report here
[Treble-Enabled Device Development A/AB ROMS] crazyrexz:
device redmi note 8 got boot stuck, boot and turn off boot again repeated, cant boot. steps i take is flashing miui stable 11.0.4.0 , boot to twrp and format data, install latest 8 april ab img, install permisivver v5, then boot and that happening. is something wrong in my step? or not compatible on my phone?

tia
[Treble-Enabled Device Development A/AB ROMS] brackenhill_mob:
Securize (phh-securize.sh) removes access to bootloader (with workaround)

Honor View 10

I've written this up as a bug report with a workaround. Hopefully someone will find this useful if they have the same issue.

https://github.com/phhusson/treble_experimentations/issues/1272
[Treble-Enabled Device Development A/AB ROMS] CodingAddict704:
I can't install either magisk or twrp, twrp just fails and when using a patched ramdisk.img to get magisk it just bootloops
[Treble-Enabled Device Development A/AB ROMS] brackenhill_mob:
Try with a pre v20 magisk. From memory 19.1 works
[Treble-Enabled Device Development A/AB ROMS] cHawk:
I installed version (system-quack-arm64-ab-vanilla.img) on my Samsung Galaxy A30 (SM-A305F) and the rounded corners are extra thick with extra dark overly than the default rounded corners of my phone's screen.

Setting rounded corners diameter in Phh treble settings> misc features, doesn't help

How do I fix this?
[Treble-Enabled Device Development A/AB ROMS] needmypandora:
I am on v215-arm64-aonly-vanilla with Gapps pico on SM-G610F (J7 Prime) and the only problem I have is that the moment you try to use camera the phone reboots itself.

Thank you for your work, by the way.
[Treble-Enabled Device Development A/AB ROMS] hussain_mdj:
Recent apps button dosen't work

Navagiation bar also doesnt work[only recent apps button] and my device is j7 prime g610f
[Treble-Enabled Device Development A/AB ROMS] :
Is there a way to pass SafetyNet without rooting, so basically doing the things that the "securize" option does manually? In the SafetyNet test there's only a CTS profile mismatch. (I'm using HavocOS on S9 but I'll post it here because I guess that's something about the phh-treble base)

(I can't install Magisk because the newest version of my banking app will detect root, doesn't matter which fix I try)

Edit: Also, is there a launcher that works flawlessly with the Android 10 gestures? The Pixel Launcher of the GApps version is very laggy.
[Treble-Enabled Device Development A/AB ROMS] rajaumarfarooq:
hi

any chance this bug is fixed in your current release or still the same bug

i have mate 10 lite

i am asking regarding that as there are no more updates for our set.
[Treble-Enabled Device Development A/AB ROMS] ahmed.nasser.hk:
the big bug and it's there with many of mtk, volume in call, i can't control the volume of sound when in call, i see panel get up and down well, but no any effect, please help this really big problem about sound in calls.

thanks.....
[Treble-Enabled Device Development A/AB ROMS] AssBlast:
Would it be possible to get the fingerprint reader working on the Moto Z4? I'll help any way I can. (It's an in screen one.)
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Yes this has been fixed some versions ago.

This is a known issue of floss variant which will be fixed in next release.

Sure. However XDA isn't an usable media for that, could you ping me on telegram on t.me/phhtreble, or on irc #phh-treble@irc.freenode.net?

No just flash the system image, and your data will be kept.

Well when i did that, to test, I did a factory reset after "Securize". From what I've been told you need to clear data of play store app? Or google play services? I don't really know

And thanks for your thanks :)
[Treble-Enabled Device Development A/AB ROMS] AssBlast:
Cool I'll get on there.
[Treble-Enabled Device Development A/AB ROMS] theorgin:
Can you release a ims-q apk for armv7?

Can you release a ims-q apk for armv7? I got "INSTALL_FAILED_NO_MATCHING_ABIS" when I try to install it on my armv7 phone.:)
[Treble-Enabled Device Development A/AB ROMS] devrieshh:
on my leagoo xrover alarm and phone ringing is almost not to hear,doesnt make any difference to put volume on max.

also the wifi hotspot isnt recogniseble for other phones or desktop,it does turn on,but than not to be seen on other wifi devices

somebody know how to fix this,thanks in advance
[Treble-Enabled Device Development A/AB ROMS] Fatact:
When I click on Securize, nothing is happening and I don't know why, I'm on Lineage 17.1 . Do you have an idea plz ?
[Treble-Enabled Device Development A/AB ROMS] eremitein:
lineage haven't inbuilt root

you can try next: reboot to twrp, mount system, create empty file /system/phh/secure (or /system/system/phh/secure if SaR/AB)
[Treble-Enabled Device Development A/AB ROMS] Fatact:
thank you but before doing that, I reflashed magisk, then I clicked on Securize, but it freezes the Misc features application everytime and I have to force it to stop...

---------- Post added at 04:00 PM ---------- Previous post was at 03:44 PM ----------

I uninstall magisk and install phh's supersu, now securize works !

thank you

---------- Post added at 04:25 PM ---------- Previous post was at 04:00 PM ----------

Basic integrity and CTS profile continue to fail: /
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Depending on whether your vendor is binder32 take:

http://treble.phh.me/stable/ims-q.32.apk

or binder64:

http://treble.phh.me/stable/ims-q.64.apk

You can try clearing play store's or google play service's cache. if it doesn't work, you can factory reset (securize persist after factory reset, though it doesn't persist updates)
[Treble-Enabled Device Development A/AB ROMS] icebergREAL:
First of all thank you for your hard work on this project, Mr. Pierre-Hugues Husson! I have been following you and your work since september from the last year, and you do awesome stuff!

SM-A530F (Samsung Galaxy A8 (2018))

I successfully installed FLOSS and vanilla v215 variants, and FLOSS v216. I haven't tried vanilla v216 yet but I suppose it's working.

Nice fix to "recents" button on FLOSS v216, it acted very strangely in v215, like "always on top" feature when inside some app.

The device is running fine globally, but got random reboots, from the lock screen especially. I managed to get a Descendant quack ROM boot aswell, and it haves the same bug. As it probably is device specific I'll post about this in the A8 section.

Haven't tried to put a SIM in yet so I don't know about network issues or not.

Thank you again - your efforts are very appreciated!

Edit: Reboots happen from a sleeping state, not really from the lock screen. LineageOS 17.1 behaves the same way. Could it be due to undervoltage too low from custom kernel (prashantp's quantum v4)? So far, only CAOS from eremitein looks stable and got no *random reboot*. I wonder what was done, as it uses your GSI as a base. I'll push the tests further this weekend, I still have many GSI's to try and my logcat skills to improve.
[Treble-Enabled Device Development A/AB ROMS] AT-12:
I have the exact problem on my J600F. Tried both los 17.1 and havoc 3, both ended up in random reboots on the "sleeping state". This probably isnt a device specific problem
[Treble-Enabled Device Development A/AB ROMS] eremitein:
which version CAOS you using?
[Treble-Enabled Device Development A/AB ROMS] icebergREAL:
The latest, according your Github's page: 2020-04-14 CAOS "v215" arm64 A-only vanilla.

I didn't try the System as Root patch yet so I'm sticking with A-only GSI's for now.

You could test this one too ^.

On the 11 different quack images I tried, I managed to boot to 7 of them, and it is the only one that doesn't get this bug so far.
[Treble-Enabled Device Development A/AB ROMS] AT-12:
I like the customisation features of havoc os more. Sticking with havoc 2.9 for now. But I'd love to see this problem fixed since it's the only reason i haven't switched to a Q gsi.
[Treble-Enabled Device Development A/AB ROMS] icodix:
still not working on my a750x

---------- Post added at 02:13 AM ---------- Previous post was at 02:11 AM ----------

can you guys give me the version of this rom that will work on my a750 (a7 2018) ive tried all the version but still doesn't work.
[Treble-Enabled Device Development A/AB ROMS] Rush:
Check if your device is even compatible with project treble, and if you dont know how it works, DONT USE IT
[Treble-Enabled Device Development A/AB ROMS] VZTech:
[MENTION=1915408]phhusson[/MENTION] running latest build on my redmagic 5g. I have 4 options for screen fps...60, 62,90,144. Only 60 and 62 work. Any ideas to get 90, or 144 to work??? Also, what does the FPS diviser do. Thanks so much
[Treble-Enabled Device Development A/AB ROMS] phhusson:
How do you know only 60 and 62 work?

FPS divisor is for devices that don't properly declare frequency rates, for instance the Razer Phone only declares 120fps and nothing else, so you have to fake 60fps by ignoring one every two frames.
[Treble-Enabled Device Development A/AB ROMS] VZTech:
I am using a fps tester, and can see its not working. I tried messing with the both, and only 60, and 62 work unfortunately. Thanks for replying.
[Treble-Enabled Device Development A/AB ROMS] icebergREAL:
I flashed HavocOS from here. Those are officials according phhusson's GSI list on Github.

I used the v3.4, arm64, A-only, vanilla, nosu (build from 2020-04-22). This version doesn't have this sleeping random reboot bug. Which one have you tried? Also, the v3.5 went out 2 days ago, you might want a try with these.
[Treble-Enabled Device Development A/AB ROMS] speedyjay:
[MENTION=1915408]phhusson[/MENTION] I am running your repacked GSI on the S20 Ultra. Please can you advise how to get 120hz or even 90hz working? At the moment, I'm only getting 48hz, and its soooo choppy! Thanks bud!