Restoring 5 GHz Wi-Fi on an LG C5 by changing its webOS region hawshemi / lg-c5-webos25-region-change Public Notifications You must be signed in to change notification settings Fork 0 Star 11 mainBra
By Coderz Club · 2026-09-04 · Tags: aws, git
Restoring 5 GHz Wi-Fi on an LG C5 by changing its webOS region
hawshemi / lg-c5-webos25-region-change Public Notifications You must be signed in to change notification settings Fork 0 Star 11 mainBranchesTagsGo to fileCodeOpen more actions menuLatest commit History12 Commits12 CommitsFolders and filesNameNameLast commit messageLast commit dateREADME.mdREADME.md View all filesRepository files navigationLG C5 / webOS 25 Region Change for 5 GHz WiFi ImportantThis is a region configuration change, not a firmware update or firmware fix. It will not repair a Wi-Fi hardware or router problem. Use this guide when 5 GHz Wi-Fi is unavailable because of the TV's factory region configuration. Seriously, LG? The hardware supports 5 GHz, but the Middle East region config disables it anyway. Change the region and it magically works. This is a stupid, artificial limitation that should not exist on a premium TV. WarningChanging the region can affect tuner behavior, the LG Content Store, installed or available apps, country settings, and warranty or service handling. A wrong area option may leave the TV with unsuitable regional settings. Read and save the original area option before writing anything. Continue at your own risk. This procedure is for Windows 11 and PowerShell. It uses LG Developer Mode and the upstream lg-geolock-bypass script. Root access is not required. Confirmed result Item Confirmed value TV LG OLED55C56LA.AMQQLJD Software webOS 25 / 10.3.0-1902 Firmware 33.31.68 Original configuration Middle East, area option 4956 Target configuration EU, area option 3122, country set to Germany Result 5 GHz Wi-Fi restored; channel 36 tested; all available 5 GHz channels worked Other functions No problems observed with the tuner, apps, or country settings Rollback Not tested The TV remained stable with Germany selected as its country. This result applies only to the configuration above. Other models, firmware versions, and hardware groups may behave differently. Before you start Requirements LG C5 TV running webOS 25 TV and Windows 11 PC on the same local network LG Developer account PowerShell with curl.exe, ssh.exe, and scp.exe This repository intentionally contains only this README. Download change_region.sh from its upstream project when instructed; do not add a copy to this repository. Procedure Developer Mode → Key Server → SSH key → key permissions → script upload → save original value → write target value → reboot → verify → roll back if needed 1. Enable LG Developer Mode Follow the official LG Developer Mode documentation: Install and open Developer Mode on the TV. Sign in with your LG Developer account. Turn Dev Mode Status on. Let the TV reboot. Open the Developer Mode app again. Developer Mode has a limited session time. Extend it in the app if needed. 2. Enable Key Server In the Developer Mode app, turn Key Server on. Note the case-sensitive six-character passphrase shown by the app. Note the TV's IP address shown in the Developer Mode app. In PowerShell, set the TV address and create a temporary working folder: $TV = "<TV_IP>" $WorkDir = Join-Path $env:TEMP "lg-c5-region-change" New-Item -ItemType Directory -Path $WorkDir -Force | Out-Null Set-Location $WorkDir Replace <TV_IP> before continuing. Optional port checks: Test-NetConnection $TV -Port 9991 Test-NetConnection $TV -Port 9922 Both should report TcpTestSucceeded : True. if not, turn the TV on and off, then in the Developer app in TV turn the Key store option off and on (or on and off). Then try again. 3. Download webos_rsa While Key Server is on, download the TV's SSH private key: curl.exe -f "http://${TV}:9991/webos_rsa" -o .\webos_rsa Get-Item .\webos_rsa 4. Fix SSH key permissions if needed Try the next step first. If OpenSSH reports that the private key permissions are too open, run: $CurrentUser = [System.Security.Principal.WindowsIdentity]::GetCurrent().Name icacls.exe .\webos_rsa /inheritance:r icacls.exe .\webos_rsa /grant:r "${CurrentUser}:(R)" If icacls.exe .\webos_rsa still lists another user or group with access, remove that exact entry: icacls.exe .\webos_rsa /remove "DOMAIN\UserOrGroup" 5. Copy change_region.sh Download the current script directly from the upstream project into the temporary folder: curl.exe -fL "https://raw.githubusercontent.com/lennylxx/lg-geolock-bypass/main/change_region.sh" -o .\change_region.sh Copy it to the TV: scp.exe -i .\webos_rsa -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa -P 9922 .\change_region.sh "prisoner@${TV}:/tmp/change_region.sh" Enter the six-character Developer Mode passphrase when prompted. On the first connection, confirm the TV's SSH host-key prompt only if the address is correct. 6. Read and save the original area option Do this before changing the region: ssh.exe -T -i .\webos_rsa -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa -p 9922 "prisoner@$TV" "sh /tmp/change_region.sh read" | Tee-Object -FilePath .\original-area-option.txt The first line conta
hawshemi / lg-c5-webos25-region-change Public Notifications You must be signed in to change notification settings Fork 0 Star 11 mainBranchesTagsGo to fileCodeOpen more actions menuLatest commit History12 Commits12 CommitsFolders and filesNameNameLast commit messageLast commit dateREADME.mdREADME.md View all filesRepository files navigationLG C5 / webOS 25 Region Change for 5 GHz WiFi ImportantThis is a region configuration change, not a firmware update or firmware fix. It will not repair a Wi-Fi hardware or router problem. Use this guide when 5 GHz Wi-Fi is unavailable because of the TV's factory region configuration. Seriously, LG? The hardware supports 5 GHz, but the Middle East region config disables it anyway. Change the region and it magically works. This is a stupid, artificial limitation that should not exist on a premium TV. WarningChanging the region can affect tuner behavior, the LG Content Store, installed or available apps, country settings, and warranty or service handling. A wrong area option may leave the TV with unsuitable regional settings. Read and save the original area option before writing anything. Continue at your own risk. This procedure is for Windows 11 and PowerShell. It uses LG Developer Mode and the upstream lg-geolock-bypass script. Root access is not required. Confirmed result Item Confirmed value TV LG OLED55C56LA.AMQQLJD Software webOS 25 / 10.3.0-1902 Firmware 33.31.68 Original configuration Middle East, area option 4956 Target configuration EU, area option 3122, country set to Germany Result 5 GHz Wi-Fi restored; channel 36 tested; all available 5 GHz channels worked Other functions No problems observed with the tuner, apps, or country settings Rollback Not tested The TV remained stable with Germany selected as its country. This result applies only to the configuration above. Other models, firmware versions, and hardware groups may behave differently. Before you start Requirements LG C5 TV running webOS 25 TV and Windows 11 PC on the same local network LG Developer account PowerShell with curl.exe, ssh.exe, and scp.exe This repository intentionally contains only this README. Download change_region.sh from its upstream project when instructed; do not add a copy to this repository. Procedure Developer Mode → Key Server → SSH key → key permissions → script upload → save original value → write target value → reboot → verify → roll back if needed 1. Enable LG Developer Mode Follow the official LG Developer Mode documentation: Install and open Developer Mode on the TV. Sign in with your LG Developer account. Turn Dev Mode Status on. Let the TV reboot. Open the Developer Mode app again. Developer Mode has a limited session time. Extend it in the app if needed. 2. Enable Key Server In the Developer Mode app, turn Key Server on. Note the case-sensitive six-character passphrase shown by the app. Note the TV's IP address shown in the Developer Mode app. In PowerShell, set the TV address and create a temporary working folder: $TV = "<TV_IP>" $WorkDir = Join-Path $env:TEMP "lg-c5-region-change" New-Item -ItemType Directory -Path $WorkDir -Force | Out-Null Set-Location $WorkDir Replace <TV_IP> before continuing. Optional port checks: Test-NetConnection $TV -Port 9991 Test-NetConnection $TV -Port 9922 Both should report TcpTestSucceeded : True. if not, turn the TV on and off, then in the Developer app in TV turn the Key store option off and on (or on and off). Then try again. 3. Download webos_rsa While Key Server is on, download the TV's SSH private key: curl.exe -f "http://${TV}:9991/webos_rsa" -o .\webos_rsa Get-Item .\webos_rsa 4. Fix SSH key permissions if needed Try the next step first. If OpenSSH reports that the private key permissions are too open, run: $CurrentUser = [System.Security.Principal.WindowsIdentity]::GetCurrent().Name icacls.exe .\webos_rsa /inheritance:r icacls.exe .\webos_rsa /grant:r "${CurrentUser}:(R)" If icacls.exe .\webos_rsa still lists another user or group with access, remove that exact entry: icacls.exe .\webos_rsa /remove "DOMAIN\UserOrGroup" 5. Copy change_region.sh Download the current script directly from the upstream project into the temporary folder: curl.exe -fL "https://raw.githubusercontent.com/lennylxx/lg-geolock-bypass/main/change_region.sh" -o .\change_region.sh Copy it to the TV: scp.exe -i .\webos_rsa -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa -P 9922 .\change_region.sh "prisoner@${TV}:/tmp/change_region.sh" Enter the six-character Developer Mode passphrase when prompted. On the first connection, confirm the TV's SSH host-key prompt only if the address is correct. 6. Read and save the original area option Do this before changing the region: ssh.exe -T -i .\webos_rsa -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa -p 9922 "prisoner@$TV" "sh /tmp/change_region.sh read" | Tee-Object -FilePath .\original-area-option.txt The first line conta