通过更改 webOS 地区来恢复 LG C5 的 5 GHz Wi-Fi 功能
Restoring 5 GHz Wi-Fi on an LG C5 by changing its webOS region

原始链接: https://github.com/hawshemi/lg-c5-webos25-region-change

本指南介绍了如何绕过 LG 电视(特别是运行 webOS 25 的 C5 机型)的人为区域软件锁,以恢复 5 GHz Wi-Fi 功能。默认情况下,某些地区会禁用此硬件功能;将“区域选项 (area option)”更改为欧盟设置(例如 3122)即可解决该限制。 **警告:**此过程属于非官方配置更改,可能会影响调谐器功能、LG Content Store 可用性、应用程序访问以及保修状态。请自行承担风险,并在进行任何更改前**务必保存您原始的区域选项数值**。 **要求:** * Windows 11 电脑与电视处于同一局域网内。 * 电视已开启 LG 开发者模式。 * 已安装并可使用 `ssh`、`scp` 和 `curl` 的 PowerShell 环境。 **流程:** 1. 在 LG 电视上启用开发者模式 (Developer Mode) 和密钥服务器 (Key Server)。 2. 通过 PowerShell 下载 `lg-geolock-bypass` 脚本。 3. 使用 `ssh` 读取并备份电视当前的“区域选项”代码。 4. 执行脚本以写入新的兼容区域选项(例如欧盟地区的 3122)。 5. 电视将自动重启;重启后确认 5 GHz Wi-Fi 是否已启用。 若出现问题,请使用之前保存的原始数值进行回滚操作。

```Hacker News新帖 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交登录通过更改 webOS 地区恢复 LG C5 的 5 GHz Wi-Fi (github.com/hawshemi)12 点 由 hawshemi 41 分钟前发布 | 隐藏 | 过往 | 收藏 | 5 条评论 帮助 pzmarzly 15 分钟前 | 下一条 [–] 如果 LG 以后移除或限制开发者模式,我当天就把电视卖了。回复functionmouse 2 分钟前 | 父评论 | 下一条 [–] 现在这些带锁的间谍软件电视太便宜了,谁会想要买走你那台带锁的间谍软件电视呢?回复hawshemi 40 分钟前 | 上一条 | 下一条 [–] 是啊……LG 的政策真的很烂。我的电视连不上 5GHz Wi-Fi。为什么?因为我在中东!回复sorenjan 9 分钟前 | 父评论 | 下一条 [–] 这听起来更像是频谱使用许可的法律问题,而不是 LG 随意的政策限制。回复jhfdbkofdchk 5 分钟前 | 根评论 | 父评论 | 下一条 [–] “沙特阿拉伯的通信与信息技术委员会 (CITC) 讨厌这个奇怪的小技巧!”回复 准则 | 常见问题 | 列表 | API | 安全 | 法律 | 加入 YC | 联系 搜索: ```
相关文章

原文

Important

This 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.

Warning

Changing 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.

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.

  • 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.

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:

  1. Install and open Developer Mode on the TV.
  2. Sign in with your LG Developer account.
  3. Turn Dev Mode Status on.
  4. Let the TV reboot.
  5. Open the Developer Mode app again.

Developer Mode has a limited session time. Extend it in the app if needed.

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.

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"

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 contains the value to preserve:

Current area option: <ORIGINAL_AREA_OPTION>

Save <ORIGINAL_AREA_OPTION> somewhere safe. Do not guess it later.

For the confirmed TV above, the original value was 4956. Do not assume that value is correct for another TV.

7. Write the target area option

This guide uses area option 3122. It is a known EU value (hwSettingGroup=EU) and worked on the confirmed configuration above. It is not universal and may be wrong for another TV.

The upstream project states that non-US config and settings mappings are best-effort. Review its current notes before proceeding.

Write 3122:

ssh.exe -T -i .\webos_rsa -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa -p 9922 "prisoner@$TV" "sh /tmp/change_region.sh 3122"

Check the output for a successful NVRAM write and verification. Stop if it reports a failure.

8. Wait for the automatic reboot

After the region is changed successfully, the TV will reboot automatically. Wait for it to turn on with the new region. Do not disconnect its power during the reboot.

After the TV turns on, open Settings > Network > Wi-Fi Connection and check that 5 GHz networks are visible.

Caution

Rollback has not been tested on the confirmed configuration. The command below follows the upstream method, but success is not confirmed for this TV.

Turn Key Server on and copy change_region.sh again if the TV has rebooted. Then restore the exact value saved in step 6.

The TV should reboot automatically after the original value is written. After reboot, restore the appropriate country in the TV settings and verify the original region.

联系我们 contact @ memedata.com