[Android Software Development] Exabyter:
I'm having trouble getting the WiFi hotspot working on my LG v20.

Apparently there may be a problem with the hotspot in 5ghz mode on LOS in general, but it's not working for me on 2.4ghz either. (The hotspot does work, at 2.4ghz, on my LG G4 running a late 2017 build of LOS 14.1 and with Gapps pico installed rather than microG.)

Below is a copy of logcat (displaying ERROR level entries) when trying to enable it. (This may be when configured as 5ghz, can re-do at 2.4 if it is more helpful)

[DEVICE INFO]
build.board: MSM8996
build.bootloader: unknown
build.brand: lge
build.cpu_abi: arm64-v8a
build.cpu_abi2:
build.device: us996
build.display: lineage_us996-userdebug 7.1.2 NJH47F 20180701 dev-keys
build.fingerprint: lge/elsa_nao_us/elsa:7.0/NRD90M/162831845a3a3:user/release-keys
build.hardware: qcom
build.host: a6f9ad0f807c
build.id: NJH47F
build.manufacturer: LGE
build.model: LG-US996
build.product: elsa_nao_us
build.radio: unknown
build.serial: LGUS99617964d33
build.tags: release-keys
build.time: 1530423031000
build.type: user
build.user: root
version.codename: REL
version.incremental: 7323eade16
version.release: 7.1.2
version.sdk_int: 25

[LOG LEVEL: ERROR]

[GOT LOTS OF THE FOLLOWING LINE, REMOVED ALL BUT THIS ONE FOR BREVITY]

07-30 10:50:09.562 W/ResourceType(3680): No package identifier when getting name for resource number 0x00000000

07-30 10:50:11.245 W/WindowManager(2442): Attempted to remove non-existing token: android.os.Binder@a28af0f

07-30 10:50:12.590 E/ANDR-PERF-RESOURCEQS(584): Failed to reset optimization [2, 1]
07-30 10:50:12.591 E/ANDR-PERF-RESOURCEQS(584): Failed to reset optimization [2, 1]
07-30 10:50:13.260 W/WindowManager(2442): Attempted to remove non-existing token: android.os.Binder@61979ff
07-30 10:50:13.369 E/ActivityManager(2442): applyOptionsLocked: Unknown animationType=0
07-30 10:50:13.490 E/ANDR-PERF-RESOURCEQS(584): Failed to reset optimization [2, 1]
07-30 10:50:13.491 E/ANDR-PERF-RESOURCEQS(584): Failed to reset optimization [2, 1]
07-30 10:50:13.550 W/TileUtils(21342): Found com.android.settings.Settings$PaymentSettingsActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
07-30 10:50:13.554 W/TileUtils(21342): Found com.android.systemui.tuner.TunerActivity for intent Intent { act=com.android.settings.action.EXTRA_SETTINGS } missing metadata
07-30 10:50:14.037 W/AlarmManager(2442): Unrecognized alarm listener com.android.server.wifi.scanner.SupplicantWifiScannerImpl$2@960108a
07-30 10:50:14.037 E/BatteryStatsService(2442): no controller energy info supplied
07-30 10:50:14.046 E/KernelWakelockReader(2442): neither /proc/wakelocks nor /d/wakeup_sources exists
07-30 10:50:14.058 W/BatteryStatsImpl(2442): Couldn't get kernel wake lock stats
07-30 10:50:14.070 W/NetworkIdentity(2442): Active mobile network without subscriber! ni = [type: MOBILE[LTE], state: CONNECTED/CONNECTED, reason: connected, extra: VZWINTERNET, failover: false, available: true, roaming: false, metered: true]
07-30 10:50:14.077 W/BroadcastQueue(2442): Background execution not allowed: receiving Intent { act=android.net.wifi.STATE_CHANGE flg=0x4000010 (has extras) } to com.here.app.maps/com.here.app.trafficprobegen.WifiIntentReceiver
07-30 10:50:14.215 E/WifiHAL (2442): wifi_event_loop: Read after POLL returned 4, error no = 0
07-30 10:50:14.221 W/BroadcastQueue(2442): Background execution not allowed: receiving Intent { act=android.net.wifi.STATE_CHANGE flg=0x4000010 (has extras) } to com.vonglasow.michael.satstat/.GpsEventReceiver
07-30 10:50:14.221 E/WifiHAL (2442): wifi_cleanup: Read after POLL returned 4, error no = 0
07-30 10:50:14.221 E/WifiHAL (2442): Event processing terminated

07-30 10:50:15.143 E/SoftApManager(2442): Failed to set country code, required for setting up soft ap in 5GHz
07-30 10:50:15.147 E/WifiController(2442): WifiControllerSoftAP start failed
07-30 10:50:15.149 E/WifiHAL (2442): wifi_event_loop: Read after POLL returned 4, error no = 0
07-30 10:50:15.149 E/WifiHAL (2442): wifi_cleanup: Read after POLL returned 4, error no = 0
07-30 10:50:15.150 E/WifiHAL (2442): Event processing terminated

07-30 10:50:15.442 E/WifiMonitor(2442): killSupplicant p2ptrue init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
07-30 10:50:16.061 E/WifiHW (2442): Unable to open connection to supplicant on "@android:wpa_wlan0": No such file or directory
07-30 10:50:16.204 W/WifiNetworkHistory(2442): Upgrading network 0 to android.uid.system:1000
07-30 10:50:16.206 W/WifiNetworkHistory(2442): Upgrading network 1 to android.uid.system:1000
07-30 10:50:16.206 W/WifiNetworkHistory(2442): Upgrading network 3 to android.uid.system:1000
07-30 10:50:16.207 W/WifiNetworkHistory(2442): Upgrading network 2 to android.uid.system:1000
07-30 10:50:16.340 W/AlarmManager(2442): Unrecognized alarm listener com.android.server.wifi.scanner.SupplicantWifiScannerImpl$2@960108a
07-30 10:50:16.341 E/BatteryStatsService(2442): no controller energy info supplied
07-30 10:50:16.365 E/KernelWakelockReader(2442): neither /proc/wakelocks nor /d/wakeup_sources exists
07-30 10:50:16.367 W/BatteryStatsImpl(2442): Couldn't get kernel wake lock stats
07-30 10:50:16.372 E/BatteryStatsService(2442): no controller energy info supplied
07-30 10:50:16.380 E/KernelWakelockReader(2442): neither /proc/wakelocks nor /d/wakeup_sources exists
07-30 10:50:16.381 W/BatteryStatsImpl(2442): Couldn't get kernel wake lock stats
07-30 10:50:16.391 W/NetworkIdentity(2442): Active mobile network without subscriber! ni = [type: MOBILE[LTE], state: CONNECTED/CONNECTED, reason: connected, extra: VZWINTERNET, failover: false, available: true, roaming: false, metered: true]
07-30 10:50:16.394 W/BroadcastQueue(2442): Background execution not allowed: receiving Intent { act=android.net.wifi.STATE_CHANGE flg=0x4000010 (has extras) } to com.here.app.maps/com.here.app.trafficprobegen.WifiIntentReceiver
07-30 10:50:16.421 E/WifiHAL (2442): wifi_event_loop: Read after POLL returned 4, error no = 0
07-30 10:50:16.424 E/WifiHAL (2442): wifi_cleanup: Read after POLL returned 4, error no = 0
07-30 10:50:16.424 E/WifiHAL (2442): Event processing terminated
07-30 10:50:16.441 W/BroadcastQueue(2442): Background execution not allowed: receiving Intent { act=android.net.wifi.STATE_CHANGE flg=0x4000010 (has extras) } to com.vonglasow.michael.satstat/.GpsEventReceiver

07-30 10:50:17.350 E/SoftApManager(2442): Failed to set country code, required for setting up soft ap in 5GHz
07-30 10:50:17.351 E/WifiController(2442): WifiControllerSoftAP start failed
07-30 10:50:17.352 E/WifiHAL (2442): wifi_event_loop: Read after POLL returned 4, error no = 0
07-30 10:50:17.352 E/WifiHAL (2442): wifi_cleanup: Read after POLL returned 4, error no = 0
07-30 10:50:17.353 E/WifiHAL (2442): Event processing terminated
07-30 10:50:17.683 E/WifiMonitor(2442): killSupplicant p2ptrue init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
07-30 10:50:18.445 W/WifiNetworkHistory(2442): Upgrading network 0 to android.uid.system:1000
07-30 10:50:18.445 W/WifiNetworkHistory(2442): Upgrading network 1 to android.uid.system:1000
07-30 10:50:18.446 W/WifiNetworkHistory(2442): Upgrading network 3 to android.uid.system:1000
07-30 10:50:18.447 W/WifiNetworkHistory(2442): Upgrading network 2 to android.uid.system:1000
07-30 10:50:18.604 W/AlarmManager(2442): Unrecognized alarm listener com.android.server.wifi.scanner.SupplicantWifiScannerImpl$2@960108a
07-30 10:50:18.605 E/BatteryStatsService(2442): no controller energy info supplied
07-30 10:50:18.610 E/KernelWakelockReader(2442): neither /proc/wakelocks nor /d/wakeup_sources exists
07-30 10:50:18.611 W/BatteryStatsImpl(2442): Couldn't get kernel wake lock stats
07-30 10:50:18.613 E/BatteryStatsService(2442): no controller energy info supplied
07-30 10:50:18.620 E/KernelWakelockReader(2442): neither /proc/wakelocks nor /d/wakeup_sources exists
07-30 10:50:18.621 W/BatteryStatsImpl(2442): Couldn't get kernel wake lock stats
07-30 10:50:18.633 W/NetworkIdentity(2442): Active mobile network without subscriber! ni = [type: MOBILE[LTE], state: CONNECTED/CONNECTED, reason: connected, extra: VZWINTERNET, failover: false, available: true, roaming: false, metered: true]
07-30 10:50:18.638 W/BroadcastQueue(2442): Background execution not allowed: receiving Intent { act=android.net.wifi.STATE_CHANGE flg=0x4000010 (has extras) } to com.here.app.maps/com.here.app.trafficprobegen.WifiIntentReceiver
07-30 10:50:18.680 W/BroadcastQueue(2442): Background execution not allowed: receiving Intent { act=android.net.wifi.STATE_CHANGE flg=0x4000010 (has extras) } to com.vonglasow.michael.satstat/.GpsEventReceiver

07-30 10:50:18.746 E/WifiHAL (2442): wifi_event_loop: Read after POLL returned 4, error no = 0
07-30 10:50:18.746 E/WifiHAL (2442): wifi_cleanup: Read after POLL returned 4, error no = 0
07-30 10:50:18.747 E/WifiHAL (2442): Event processing terminated

07-30 10:50:19.689 E/SoftApManager(2442): Failed to set country code, required for setting up soft ap in 5GHz

07-30 10:50:19.696 E/WifiController(2442): WifiControllerSoftAP start failed
07-30 10:50:19.701 E/WifiHAL (2442): wifi_event_loop: Read after POLL returned 4, error no = 0
07-30 10:50:19.702 E/WifiHAL (2442): wifi_cleanup: Read after POLL returned 4, error no = 0
07-30 10:50:19.702 E/WifiHAL (2442): Event processing terminated

07-30 10:50:20.005 E/WifiMonitor(2442): killSupplicant p2ptrue init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
07-30 10:50:20.944 E/ANDR-PERF-RESOURCEQS(584): Failed to reset optimization [2, 1]
07-30 10:50:20.945 E/ANDR-PERF-RESOURCEQS(584): Failed to reset optimization [2, 1]
07-30 10:50:21.039 W/WifiNetworkHistory(2442): Upgrading network 0 to android.uid.system:1000
07-30 10:50:21.040 W/WifiNetworkHistory(2442): Upgrading network 1 to android.uid.system:1000
07-30 10:50:21.041 W/WifiNetworkHistory(2442): Upgrading network 3 to android.uid.system:1000
07-30 10:50:21.041 W/WifiNetworkHistory(2442): Upgrading network 2 to android.uid.system:1000
07-30 10:50:21.158 E/BatteryStatsService(2442): no controller energy info supplied
07-30 10:50:21.165 E/KernelWakelockReader(2442): neither /proc/wakelocks nor /d/wakeup_sources exists
07-30 10:50:21.165 W/BatteryStatsImpl(2442): Couldn't get kernel wake lock stats
07-30 10:50:21.633 E/ActivityManager(2442): applyOptionsLocked: Unknown animationType=0

07-30 10:50:21.725 E/ANDR-PERF-RESOURCEQS(584): Failed to reset optimization [2, 1]
07-30 10:50:21.725 E/ANDR-PERF-RESOURCEQS(584): Failed to reset optimization [2, 1]

07-30 10:50:31.032 W/IInputConnectionWrapper(23328): finishComposingText on inactive InputConnection
07-30 10:50:31.032 W/IInputConnectionWrapper(23328): finishComposingText on inactive InputConnection
07-30 10:50:31.032 W/IInputConnectionWrapper(23328): finishComposingText on inactive InputConnection
07-30 10:50:31.049 W/IInputConnectionWrapper(23328): finishComposingText on inactive InputConnection

07-30 10:50:33.121 W/WindowManager(2442): Attempted to remove non-existing token: android.os.Binder@d33c1