[Treble-Enabled Device Development A/AB ROMS] s7aycool:
Hey guys, I have a very strange problem here. I was converting app to system app, moving folders from /data/app to /system/priv-app, creating folders with mkdir, using "remount", and putting xml files in /etc/permissions. And I ended up with wi-fi not working. Also, I faced issues with slide down menu and settings, navigation gestures and OS permissions.

I found this in wi-fi log:

E/HalDevMgr: Cannot start IWifi: 9 ()
E/WifiVendorHal: Failed to start vendor HAL
E/WifiNative: Failed to start vendor HAL
E/WifiNative: Failed to start Hal

Full:

2019-12-10 15:09:50.630 1421-1572/system_process E/LightsService: Light requested not available on this device. 2

2019-12-10 15:09:50.667 1421-5783/system_process I/WifiService: setWifiEnabled package=com.android.settings uid=1000 enable=true

2019-12-10 15:09:50.667 1421-1586/system_process D/WifiController: StaEnabledState.enter()

2019-12-10 15:09:50.667 1421-1587/system_process D/WifiActiveModeWarden: received a message in WifiDisabledState: { when=-1ms what=0 target=com.android.internal.util.StateMachine$SmHandler }

2019-12-10 15:09:50.667 1421-1587/system_process D/WifiActiveModeWarden: Switching from WifiDisabledState to ClientMode

2019-12-10 15:09:50.668 1421-1587/system_process D/WifiActiveModeWarden: Entering ClientModeActiveState

2019-12-10 15:09:50.668 1421-1587/system_process D/WifiClientModeManager: entering IdleState

2019-12-10 15:09:50.668 1421-1587/system_process D/WifiActiveModeWarden: State changed from client mode. state = 2

2019-12-10 15:09:50.669 1421-1587/system_process D/HalDevMgr: startWifi

2019-12-10 15:09:50.669 1421-1587/system_process D/HalDevMgr: initIWifiIfNecessary

2019-12-10 15:09:50.670 1421-1421/system_process D/WifiP2pService: Wifi enabled=false, P2P Interface availability=false

2019-12-10 15:09:55.679 1421-1469/system_process E/LightsService: Light requested not available on this device. 2

2019-12-10 15:10:11.416 1421-1587/system_process E/HalDevMgr: Cannot start IWifi: 9 ()

2019-12-10 15:10:11.416 1421-1587/system_process E/WifiVendorHal: Failed to start vendor HAL

2019-12-10 15:10:11.416 1421-1587/system_process E/WifiNative: Failed to start vendor HAL

2019-12-10 15:10:11.416 1421-1587/system_process E/WifiNative: Failed to start Hal

2019-12-10 15:10:11.416 1421-1587/system_process E/WifiClientModeManager: Failed to create ClientInterface. Sit in Idle

2019-12-10 15:10:11.416 1421-1587/system_process D/WifiActiveModeWarden: State changed from client mode. state = 4

2019-12-10 15:10:11.416 1421-1587/system_process D/WifiClientModeManager: expected stop, not triggering callbacks: newState = 1

2019-12-10 15:10:11.418 1421-1587/system_process E/WifiNative: Could not get Iface object for interface null

2019-12-10 15:10:11.418 1421-1587/system_process E/HalDevMgr: IWifiEventCallback.onFailure: 9 ()

2019-12-10 15:10:11.419 1421-1421/system_process D/WifiP2pService: Wifi enabled=false, P2P Interface availability=false

2019-12-10 15:10:11.419 1421-1587/system_process D/HalDevMgr: dispatchAllDestroyedListeners

2019-12-10 15:10:11.419 1421-1658/system_process D/HalDevMgr: isWifiStart

2019-12-10 15:10:11.419 1421-1587/system_process D/WifiActiveModeWarden: ClientMode failed, return to WifiDisabledState.

2019-12-10 15:10:11.419 1421-1588/system_process D/HalDevMgr: isWifiStart

2019-12-10 15:10:11.419 1421-1587/system_process D/WifiController: ClientMode unexpected failure: state unknown

2019-12-10 15:10:11.419 1421-1657/system_process D/HalDevMgr: isWifiStart

2019-12-10 15:10:11.419 1421-1587/system_process D/WifiClientModeManager: currentstate: IdleState

2019-12-10 15:10:11.419 1421-1587/system_process D/WifiScanRequestProxy: Sending scan available broadcast: false

2019-12-10 15:10:11.419 1421-1589/system_process I/WifiScanningService: wifi driver unloaded

2019-12-10 15:10:11.419 1421-1587/system_process I/WifiScanRequestProxy: Scanning is disabled

2019-12-10 15:10:11.422 1421-1587/system_process D/WifiActiveModeWarden: Entering WifiDisabledState

2019-12-10 15:10:11.422 1421-1587/system_process D/HalDevMgr: isWifiStart

2019-12-10 15:10:11.422 1421-1587/system_process D/WifiActiveModeWarden: received a message in WifiDisabledState: { when=-1ms what=3 target=com.android.internal.util.StateMachine$SmHandler }

2019-12-10 15:10:11.422 1421-1587/system_process D/WifiActiveModeWarden: Switching from WifiDisabledState to WifiDisabled

2019-12-10 15:10:11.423 1421-1587/system_process D/WifiActiveModeWarden: Entering WifiDisabledState

2019-12-10 15:10:11.424 1421-1587/system_process E/WifiNative: Could not get Iface object for interface null

2019-12-10 15:10:13.077 1421-1454/system_process I/DisplayManagerService: Display device changed: DisplayDeviceInfo{"Built-in Screen": uniqueId="local:19260504575090817", 1440 x 3040, modeId 2, defaultModeId 2, supportedModes [{id=1, width=1440, height=3040, fps=90.0}, {id=2, width=1440, height=3040, fps=60.000004}], colorMode 0, supportedColorModes [0, 7, 9], HdrCapabilities android.view.Display$HdrCapabilities@413e3a39, density 560, 537.882 x 539.972 dpi, appVsyncOff 2000000, presDeadline 11666666, touch INTERNAL, rotation 0, type BUILT_IN, address {port=129, model=0x446d53ad64a0}, state ON, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}

2019-12-10 15:10:13.087 1421-1454/system_process I/DisplayManagerService: Display device changed: DisplayDeviceInfo{"Built-in Screen": uniqueId="local:19260504575090817", 1440 x 3040, modeId 1, defaultModeId 2, supportedModes [{id=1, width=1440, height=3040, fps=90.0}, {id=2, width=1440, height=3040, fps=60.000004}], colorMode 0, supportedColorModes [0, 7, 9], HdrCapabilities android.view.Display$HdrCapabilities@413e3a39, density 560, 537.882 x 539.972 dpi, appVsyncOff 2000000, presDeadline 11111111, touch INTERNAL, rotation 0, type BUILT_IN, address {port=129, model=0x446d53ad64a0}, state ON, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}

2019-12-10 15:10:14.382 1421-1454/system_process I/DisplayManagerService: Display device changed: DisplayDeviceInfo{"Built-in Screen": uniqueId="local:19260504575090817", 1440 x 3040, modeId 2, defaultModeId 2, supportedModes [{id=1, width=1440, height=3040, fps=90.0}, {id=2, width=1440, height=3040, fps=60.000004}], colorMode 0, supportedColorModes [0, 7, 9], HdrCapabilities android.view.Display$HdrCapabilities@413e3a39, density 560, 537.882 x 539.972 dpi, appVsyncOff 2000000, presDeadline 11666666, touch INTERNAL, rotation 0, type BUILT_IN, address {port=129, model=0x446d53ad64a0}, state ON, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}

2019-12-10 15:10:21.780 1421-1454/system_process I/DisplayManagerService: Display device changed: DisplayDeviceInfo{"Built-in Screen": uniqueId="local:19260504575090817", 1440 x 3040, modeId 1, defaultModeId 2, supportedModes [{id=1, width=1440, height=3040, fps=90.0}, {id=2, width=1440, height=3040, fps=60.000004}], colorMode 0, supportedColorModes [0, 7, 9], HdrCapabilities android.view.Display$HdrCapabilities@413e3a39, density 560, 537.882 x 539.972 dpi, appVsyncOff 2000000, presDeadline 11111111, touch INTERNAL, rotation 0, type BUILT_IN, address {port=129, model=0x446d53ad64a0}, state ON, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}

2019-12-10 15:10:43.627 1421-1469/system_process V/DisplayPowerController: Brightness [6] reason changing to: 'manual [ dim ]', previous reason: 'manual'.

Seems to me I somehow corrupted vendor partition. But how?)