Nokia G-2425G-A - Unlock/Root ~ Step by Step detailed guide

Disclaimer : I'm not responsible if you brick your router in-between the process.

1. Open 192.168.1.1 in any browser
default username password both is admin

2. Go to Maintenance->backup and restore->export config file on your desktop
it will be saved as config.cfg

3. Download & install python on your pc
also download this file(python script) on your desktop

Source

4. Open cmd
type
python C:\Users\XXXXX\Desktop\Nokia-router-cfg-tool.py (replace xxxxx with your windows user)

(4b) now lets decrypt your cfg file first
type
python nokia-router-cfg-tool.py -d OYdLWUVDdKQTPaCIeTqniA==
(4c) now unpack you cfg file to xml
type
python nokia-router-cfg-tool.py -u config.cfg

5. A new file is created on your desktop .xml format
right click & select edit.

(5a) press control+f and type TelnetSshAccount in searchbox then hit enter

now change the values same as below

<TelnetSshAccount. n="TelnetSshAccount" t="staticObject">
<Enable rw="RW" t="boolean" v="True"></Enable>
<UserName ml="64" rw="RW" t="string" v="admin"></UserName>
<Password ml="64" rw="RW" t="string" v="OYdLWUVDdKQTPaCIeTqniA==" ealgo="ab"></Password>

press control s to save the file & close it

6. Go back to cmd & check for repack command to encrypt the edited xml file back to cfg
it will look like this something like this :
type
python nokia-router-cfg-tool.py -ple config-XXXXXXX-XXXXXX.xml 0x4924ea42

(6a) a new cfg file will be created on your desktop.

7. Now go back to router login page 192.168.1.1
(7a) go to Maintenance->backup and restore & click "select" then browse newly created cfg file from your desktop then click import
wait for the router to reboot itself.

8. Now login again 192.168.1.1
Go to Security->Access control and allow both telent & ssh(Wan & Lan)

9. Download MobaXterm_Portable_v21.5 link below

10. Open Mobaxterm & click on Start local terminal
type
telnet 192.168.1.1
user: admin
password: admin

11. After that lets first copy this in your clipboard: '; /bin/sh; #
(11a) go back to mobaxterm
type
enable

type
shell

it will ask for password2, press shift+insert button on your keyboard and hit enter
BOOM now you've root access

(11b) to take the current backup of airtel settings
type
cfgcli dump

type
ritool dump
& save the file by going terminal->save terminal text.

(11c) now to unlock settings
type
ritool set OperatorID ALCL

12. Go back your router login on your browser 192.168.1.1 and BOOOOOOM everything is unlocked, you'll see changes right away

Important : If you plan to stick with everything unlocked using airtel fiber then let it as it is.
Important: If you plan to use this router with any other fiber connection just do a factory reset.
Doing a factory reset will erase, reset & unlock everything. The default router login address will change to 192.168.1.254 with username AdminGPON and password as ALC#FGU

I've personally myself tested this whole process & successfully unlocked 3 routers.

I wish you all good health.
 
I am in a trippy situation myself. I thought Nokia devices were XPON to begin with but that might not be the case per se, but these devices are marketed as GPON and mostly shipped as such. Huawei devices can be switched to GPON/EPON. Can't say about these, even though they have a PonType in the config file but changing that has no effect. So maybe it has Epon too but can't say for sure. I'm trying to extract the firmware from board itself using a programmer but my test clip is a bit of a bust. Might take some days before I am able to have some progress. (gotta find a good working cable)


At what point are you trying to enter the password? You first need to telnet and then login, then type enable, press enter and then type shell and enter. That makes you ask for a new password, which is mentioned in the OP.
If that second password is where you're having issues, well my second Nokia device that I got also didn't take that for some reason too. In that case your only option is to use the ONTUSER user which gives access to shell directly. Also, if that doesn't work if you're on newer firmware, then you have to give access to ONTUSER by unpacking the config and then repacking it.
@alexb
kindly update regarding Gpon to Xpon or epon
 
I have sucessfully unlocked my Nokia g-2425G router and change the operator as well.
But after that my internet is stopped working. I did pppoe configuration and getting ISP timeout (not using airtel internet)any solution?
 


Have successfully unlocked my G-2425G-A without the script. I just followed instructions from step 8. Telnet account in my case was just admin:admin. However, after finishing all the steps, though all settings were unlocked, nothing could be edited/changed. A factory reset was needed in my case to be enable to apply changes.
 
@hunnyhkr are you trying to use the G-2425G-A with another ISP (other than airtel)? In that case it may not work since ONTs are MAC-binded with OLTs. You need to ask your ISP to provison the G-2425G-A from their end (if they allow it at all).
 
Last edited:
@gmaster
Yes i am using another ISP.
And from OLT (GPON Olt) side there no mac restriction. Its has auto provisioning of ONT
Only Nokia device is not working.
Does nokia ont doesnt support auto provisioning?
After unlocking i also changed operator to ALCL and did the hard reset as well.
But i am getting ISP time out.
Although other Huawei ont are working fine.
Any logs required for this issue?
 
Last edited:
@gmaster I have confirgured my router after unlocking i.e wan configuration only username and password provided by my ISP.
And i didnt do tr069 configuration.
Doew it required for Nokia router?
Because Huawei is working fine without tr069.
 
@hunnyhkr May I know what ISP are you using? Is your ISP using VLAN? If yes then you need to configure VLAN also. If possible, share a screenshot of your WAN setup page. But before everything, you should first check the PON link status.
 

Top