[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lalu:
I tried system wipe and factory reset, install LOS and Magisk (all good until now), reboot, install OpenGApps and logcat says:

2019-10-01 15:18:13.142 1378-3584/system_process E/InputDispatcher: Window handle Window{22a3451 u0 Application Error: com.google.android.setupwizard} has no registered input channel

2019-10-01 15:18:29.913 1378-3301/system_process E/WifiService: Permission violation - getScanResults not allowed for uid=10108, packageName=com.google.android.setupwizard, reason=java.lang.SecurityException: UID 10108 has no location permission

2019-10-01 15:18:29.919 1378-3301/system_process E/WifiService: Permission violation - getConfiguredNetworks not allowed for uid=10108, packageName=com.google.android.setupwizard, reason=java.lang.SecurityException: UID 10108 has no location permission

2019-10-01 15:18:29.927 8383-8383/com.google.android.setupwizard E/AndroidRuntime: FATAL EXCEPTION: main

Process: com.google.android.setupwizard, PID: 8383

java.lang.RuntimeException: Unable to create application com.google.android.setupwizard.SetupWizardApplication: java.lang.SecurityException: WifiService: Permission denied

at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6465)

at android.app.ActivityThread.access$1300(ActivityThread.java:219)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1859)

at android.os.Handler.dispatchMessage(Handler.java:107)

at android.os.Looper.loop(Looper.java:214)

at android.app.ActivityThread.main(ActivityThread.java:7356)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

Caused by: java.lang.SecurityException: WifiService: Permission denied

at android.os.Parcel.createException(Parcel.java:2071)

at android.os.Parcel.readException(Parcel.java:2039)

at android.os.Parcel.readException(Parcel.java:1987)

at android.net.wifi.IWifiManager$Stub$Proxy.getAllMatchingFqdnsForScanResults(IWifiManager.java:1767)

at android.net.wifi.WifiManager.getAllMatchingWifiConfigs(WifiManager.java:1244)

at rc.a(PG:142)

at rc.d(PG:98)

at rc.b(PG:47)

at aym.a(PG:16)

at axa.a(PG:16)

at com.google.android.setupwizard.SetupWizardApplication.onCreate(PG:8)

at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1189)

at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6460)

at android.app.ActivityThread.access$1300(ActivityThread.java:219)*

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1859)*

at android.os.Handler.dispatchMessage(Handler.java:107)*

at android.os.Looper.loop(Looper.java:214)*

at android.app.ActivityThread.main(ActivityThread.java:7356)*

at java.lang.reflect.Method.invoke(Native Method)*

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)*

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)*

Caused by: android.os.RemoteException: Remote stack trace:

at com.android.server.wifi.WifiServiceImpl.getAllMatchingFqdnsForScanResults(WifiServiceImpl.java:1920)

at android.net.wifi.IWifiManager$Stub.onTransact(IWifiManager.java:765)

at android.os.Binder.execTransactInternal(Binder.java:1021)

at android.os.Binder.execTransact(Binder.java:994)