admin管理员组

文章数量:1123589

I am building AOSP 13 and am trying to enable my custom setup wizard, which doesn't use any GSM. I am using it on my custom device (tablet). In my current build, I don't see a default setup wizard, but I want to include my custom wizard for testing purposes.

For example, I am using the GrapheneOS-SetupWizard, but I am encountering the following issue in the logcat output.

$ logcat | grep setup
01-01 00:00:00.000     0     0 I         : Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
01-10 09:30:01.199   614   639 I SystemConfig: Reading permissions from /system_ext/etc/permissions/privapp_whitelist_org.lineageos.setupwizard.xml
01-10 09:30:05.395   614   614 W PackageManager: Adding duplicate shared id: 1000 name=org.lineageos.setupwizard
01-10 09:30:06.215   614   614 E PackageManager: There should probably be exactly one setup wizard; found 0: matches=[]
01-10 09:30:26.472   614   830 I WifiNative: Successfully setup Iface:{Name=wlan0,Id=0,Type=STA_SCAN}
01-10 09:30:26.603   614   614 W DefaultPermGrantPolicy: Permission not found: com.google.android.setupwizard.SETUP_COMPAT_SERVICE
01-10 09:30:28.659   614   923 D CCodec  : setup formats input: AMessage(what = 0x00000000) = {
...

As you can see, there seems to be an issue with duplicate shared IDs and missing permissions, leading to a failure in setting up the wizard correctly. Can anyone provide insights into how to fix this?

本文标签: androidchange AOSP 13 build setup wizardStack Overflow