Skip to content
项目

关于

对基于 RTL960x 的 xPON ONT 进行黑客分析和逆向分析,以适配你的 OLT。

安全与隐私

这些数字如何统计

实测星标增长

24小时
0
7天
+3
15天
+9
1个月
+13

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

OGI

Open PON Foundation

This repository aims to document and demystify the RTL960x platform for the global xPON community.

Every contribution no matter how small helps expand access and understanding.

Open PON Foundation Website

Community Forum

For discussions, troubleshooting, searchable issues, firmware experiments, tips, tricks, and networking-related topics:

Pururin Collective Forum

Main GitHub repositories will remain focused on vendor-neutral and structured development discussions.
Use the forum for non-neutral discussions, community experiments, ISP-specific tweaks, and informal sharing.

SAFETY NOTICE

Custom GPON SFP ONTs operate outside standard ISP-controlled environments and must be handled with extreme caution.

Improper configuration or non-compliant behavior can destabilize the optical network. A single faulty ONU may trigger a PON-wide disruption, impacting multiple subscribers on the same fiber split. Network operators actively monitor such anomalies and may enforce service suspension, account bans, or financial penalties.

Operational Risks

  • PON Blackout Events
    Misbehaving ONTs can disrupt upstream synchronization, affecting all users on the same GPON segment.

  • ISP Enforcement Actions
    Unauthorized devices or configurations may result in immediate disconnection, blacklisting, or penalties.

  • Unpredictable Stability
    Custom firmware and configurations may lead to intermittent connectivity or complete service failure.

RESPONSIBILITY & SUPPORT

This project promotes open knowledge and interoperability, not reckless deployment.

All experimentation is performed at your own risk.
Contributors may provide guidance when available, but support is voluntary, limited, and not guaranteed.

Do not endanger shared infrastructure.
Do not disrupt others.
Proceed with discipline.

OPEN NETWORKING REQUIRES RESPONSIBILITY!

Hacking RTL960x

RTL9601x Device's

Stick SoC NAND Mode 4-port EthUni 2.5Gb EoL
VSOL V2801F RTL9601CI 8MiB VEIP & PPTP Forced All MOD ✅
T&W TWCGPON657 RTL9601CI 16MiB VEIP & PPTP V1.9.0-240204 MOD ✅
UFiber Instant RTL9601CI 8MiB PPTP LAN 1 NO ✅
DFP-34X-2C2 (A/UPC) RTL9601D 8MiB VEIP & PPTP Selective All YES ✅
Nokia G-010S-Q RTL9601CI 16MiB PPTP NO NO ❓

[!NOTE] OEM no plan to release new firmware, up to the private community build's V2.0 (which illegal to release publicly)

RTL960x Families and their subtypes

Apollomp family of chips (the very early stuff)

Chip Arch Type Info
RTL9601 Lexra? SFU Public Datasheet
RTL9602B Lexra? ???
RTL86906 Lexra? HGU Router PON with 4 ports and wifi, Public datasheet
RTL9606 Lexra?
RTL9607 Lexra? HGU Router PON with 4 ports and wifi
RTL9602 Lexra?
RTL9603 Lexra? HGU Router PON with 100Mb ports and wifi
RTL8696 Lexra?
RTL9607P Lexra?
RTL8198B Lexra? HGU? Non PON variant?

RTL9601B family of chips (still early stuff)

Chip Arch Type Info
RTL9601B Lexra SFU First generation GPON ONT on SFP, 1G only

RTL9602C family of chips

Chip Arch Type Info
RTL9601CI Lexra SFU 2nd generation GPON ONT on SFP, 1G and partial 2.5G. Comes with 32/64MB RAM
RTL9602CP Lexra? SFU? Prototype variant?
RTL9601C Lexra? SFU The older version of RTL9601CI?
RTL9602C-VA Lexra? HGU Router ONT with 2 ports. Comes with 64/128MB RAM
RTL9601D Lexra SFU 3rd generation GPON ONT on SFP, Stable 2.5G. Comes with 32/64MB RAM

RTL9603CVD family of chips

Chip Arch Type Info
RTL9603C-VD MIPS? HGU? Most likely router ONT. Comes with 64/128/256MB RAM
RTL9602C-VD5 Lexra? HGU? Revision of RTL9602C-VA? Comes with 128MB RAM
RTL9603CE-VD MIPS? HGU? Early revision?
RTL9601D-VD Lexra? SFU? Revision of RTL9601D? Comes with 32/64/128MB RAM
RTL9601DW-VD5 Lexra SFU? What could "W" mean? Comes with 128MB RAM

RTL9607C gen 1 family of chips (proper MIPS stuff, codename ApolloPro)

Chip Arch Type Info
RTL9607CP / RTL9607EP MIPS? HGU Early Prototypes? 950MHz CPU.
RTL9603CT MIPS? HGU? What could "T" mean? 600MHz CPU.
RTL9607C-VA MIPS HGU Gen 1 of RTL9607C with 900MHz CPU and comes with 128/256/512MB RAM
RTL9607E-VA5 MIPS? HGU? Early Prototype of gen 1 RTL9607C? 700 MHz and comes with 128 RAM
RTL9603C-VA MIPS? HGU? 950MHz CPU and comes with 64/128/256MB RAM
RTL9603CW-VA MIPS HGU? Same mystery as RTL9601DW. 900MHz CPU and comes with 256/512MB RAM
RTL9603CP / RTL9603CE MIPS? HGU? Early Prototypes? 950Mhz CPU
RTL8198D-VE MIPS HGU RTL9607C but on Non PON routers. 900MHz CPU and comes with 128/256/512MB RAM
RTL9606C-VA MIPS? HGU? 900MHz CPU and comes with 128/256/512MB RAM

RTL9607C gen 2 family of chips (codename ApolloPro Gen 2)

Chip Arch Type Info
RTL9606C-VB MIPS? HGU? 1150MHz CPU and comes with 128/256/512MB RAM
RTL8198D-VG MIPS HGU Non PON variant with 1150/1250MHz CPU and comes with 128/256/512MB RAM
RTL9607C-VB MIPS HGU Gen 2 of RTL9607C with 1150MHz CPU and comes with 128/256/512MB RAM

RTL8277C family of chips (Realtek Stuff of Cortina variety, codename Taurus)

Chip Arch Type Info
RTL9619 ARM HGU?
RTL9619C ARM HGU?
RTL9617C ARM HGU?
RTL9615C ARM HGU?
RTL9607DQ ARM SFU/HGU AIO unit, 4 Core & 1GHz CPU, optional 2.5GbE and POTS
RTL9617CM ARM HGU?
RTL9607DM ARM HGU?
RTL9607DS ARM HGU?
RTL8198XB ARM HGU Non PON variant, 4 core & 1.2GHz CPU
RTL8198XBL ARM HGU Lite version of RTL8198XB?

RTL9607F family of chips (Realtek Stuff of Cortina variety, codename Elnath)

Chip Arch Type Info
RTL9607FQ ARM HGU?
RTL9607FK ARM HGU?
RTL9607F ARM HGU AIO unit, 2 Core & 1Ghz CPU, optional USB and POTS
RTL9607FS ARM HGU?
RTL9607FD ARM HGU?

Here list known RTL960x PON based router/bridge

Other GPON

Device Mode SoC NAND UNI 4-port EthUni EoL
DFP-34X-2C2 GPON SFP ZTE ? PPTP/VEIP NO, NO OMCI EDIT ✅
Huawei MA5671a GPON SFP Lantiq 16MiB PPTP/VEIP LAN 1 ✅
Nokia G-010S-P GPON SFP Lantiq 16MiB PPTP/VEIP LAN 1 ✅
Nokia G-010S-A GPON SFP Lantiq 16MiB PPTP/VEIP LAN 1 ✅

[!NOTE] Lantiq SFP are used/2nd hand, has limited OLT Support, even OLT Stick rejecting it

10G xPON ONU

Stick Mode SoC NAND Mode 4-port EthUni
Hisense LTF7263-BH+ 10GE/XG/XGSPON Realtek ? ? ?
Hisense LTF7267-BH+ XG/XGSPON Realtek ? ? ?
PRX126 XG/XGSPON Maxlinear PRX126 ? VEIP & PPTP Maybe

[!NOTE] For XG/XGS/10GE PON RTL CA series Hacking, checkout @YuukiJapanTech on Hacking CA8271x XGS-PON Stick
For XG/XGS PON MxL PRX series hacking, checkout @up-n-atom on 8311

Guide, Links, Info

  1. Backup env, env2 & config partition Guide by @tdmadam
  2. Setup XPON ONU SFP Stick
  3. flash get, flash set
  4. Health Reporting
  5. Diagnostic
  6. TWCGPON657 × V2801F Firmware
  7. V2801F Auto Reboot
  8. Firmware Emulator
  9. Keygen
  10. SPI/EEPROM Programming

For those interested in learning more about the inner workings of PON technology, Hack-Gpon.org offers extensive resources, tools, and guides for in-depth study. It’s a great resource if you’re ready to dive into the technical details and explore the complexities of GPON—a true rabbit hole of learning!

Success Story

List of users has successfully ditch stock ONU!

  1. @stich86 2.5GbE Internet
  2. My journey connecting fiber internet to my router
  3. Hinet users in TW
  4. @izhamsatria: ~2.5Gbps on TM Unifi before TIME announce 2Gbps plan in Malaysia
  5. Orange Fiber at 2Gbps (MikroTik 10Gbps CCR2004 router & ONT SFP+) In French
  6. MagtiCom Fiber in Georgia
  7. T-Mobile Netherlands replacing Huawei ONT English version
  8. SilkNet Fiber in Georgia
  9. Bangladesh: Dot-Internet Dhaka

VEIP vs PPTP

Code Full name Meaning
PPTP Physical Path Termination Point Directly binds to a specific LAN port, with OLT managing VLANs and settings on the ONT.
VEIP Virtual Ethernet Interface Point Acts like a virtual interface (e.g., tap0), allowing ONT firmware to assign to LAN ports, router mode, management, or VoIP.

[!NOTE] Since a PON SFP Stick has only one interface to the host, its firmware may struggle to manage VLANs from both PPTP and VEIP. Many firmware versions simply bridge all VLANs from both, regardless of configuration, which can lead to issues:

  • If the same VLAN ID is used for different services on PPTP and VEIP, the stick’s firmware might bridge them together without distinction, potentially causing issues with DHCP/IPoE.
  • Most firmware prioritizes PPTP first, using VEIP only if PPTP is unavailable. A few firmware versions allow manual VLAN selection for bridging, independent of PPTP/VEIP.

Also, note that if your ISP uses ME 148 (which enforces PPPoE and routing on the ONT), you may not be able to bridge directly to your own router. For bridge mode, it's best to contact your ISP for assistance.

4-Port LAN (UNI)

Many ISPs use PPTP to bind specific LAN ports to different service providers, allowing one ONT to support multiple ISPs. For instance, LAN 1 might be configured for ISP 1, LAN 2 for ISP 2, and so forth. This setup is common in areas served by single fiber vendors that host multiple ISPs.

However, this multi-ISP setup can pose issues for PON Sticks, as they might struggle to bridge VLANs on any port other than LAN 1. This limitation occurs because PPTP configurations, along with the Forwarding Operation (FwdOp), are often designed specifically for ONTs and may not be fully recognized by PON sticks. Some advanced setups attempt to resolve this by using an HGU MIB file to "trick" the OLT (Optical Line Terminal) into accepting the ME 84 and ME 171 operations, allowing better compatibility.

Fake O5 State

Some OLTs from manufacturers like Fiberhome, Calix and Nokia, which support Universal ONU, may provide a “false O5” state, which can be misleading. A device might reach the O5 state (the operational stage where data transmission typically begins) even with incorrect Serial Number or PLOAM Password. In this scenario, the OLT might allow the connection to reach O5 but won’t actually push any VLAN configurations (typically ME 84 & ME 171).

To resolve this, double-check all configuration parameters, including the serial number and password. If the connection still doesn’t work after verification, the OLT may be requiring Vendor-Specific Managed Entities (ME) (IDs 350-399) which are sometimes mandated by ISPs for authentication or additional configuration.

O2-O5 Loop

A device entering an O2-O5 loop (oscillating between states) could indicate a similar issue as the "Fake O5" scenario. Another common reason for this loop is low optical receive power (RX), where the power level drops below the acceptable threshold (e.g., <= -23 dBm). When this happens, the OLT may refuse to allow a stable O5 state to maintain PON performance.

To address an O2-O5 loop caused by low RX power:

  • Inspect and clean the fiber connector to ensure there’s no dirt or damage impacting signal strength.
  • Check RX readings after cleaning, as improved optical power might stabilize the connection and help maintain a steady O5 state.

⚠️

[!CAUTION] If you have attempted all troubleshooting steps and are still unable to establish a connection, it’s recommended to stop further adjustments. Persistent errors or invalid configurations will be flagged by your ISP, and further experimentation can unintentionally disrupt the entire PON network in your area, affecting other users.

Please remember to use these tools responsibly and respect the shared network environment.

Thank you for your consideration and cooperation.

Repository Scope and Legal Considerations

Please note that this repository does not contain ISP-specific configurations or sensitive information, both for legal reasons and to ensure responsible use. We aim to provide general guidance without supporting any unauthorized activity.

If you’re looking for a reliable GPON Stick solution that is ready to use with minimal setup, consider checking with resellers in your country. Many resellers offer modified PON Sticks pre-configured for local ISPs, including:

  • Pre-configured serial numbers (S/N) and PLOAM passwords:
    Some resellers can program these credentials before shipping, making installation seamless and avoiding configuration hassle.
  • Enhanced compatibility:
    In many cases, these units are plug-and-play, tailored for compatibility with specific ISPs.

[!NOTE] By choosing a pre-configured unit from a reputable source, you can save time and ensure stability without needing to adjust settings manually.

Nijika Firmware

Modern, Bootstrap WebGUI, community patches for RTL9601D based is W.I.P. NIJIKA FW Pixiv Artwork by @しみずけいたろう

OLT-Info Preview of OLT Info on Nijika Firmware

Community Support

For community support and discussions, consider joining these groups. Please remember to be respectful and mindful that members are helping in their free time. PON settings can be very complex and difficult to understand,

AI Agents

This repo has AGENTS.md, if file is missing, user might delete it, re-download/git/fetch from here: https://raw.githubusercontent.com/Anime4000/RTL960x/refs/heads/main/AGENTS.md

探索相关项目

加载中…