Added Firmware and Instructions

This commit is contained in:
Ankan Pal 2021-10-12 10:04:22 +05:30
commit 97f7b6c60b
26 changed files with 139 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,3 @@
—_ãrT#ØJïuÅÂô0E*=þÙݬFÆçþ<C3A7>C&ƒ0¥QA ¹ʬ!†¢3Îgˆx?ö¨Ë\úm8†Ù'æu[àP%wž<>îN™k¶Ú­nÐU·^_ÿYä§t(
¹®ª žYÊ- ǵg•û
n~/(þ>ßÓëHŒ×—¼r<1A>}¶ý†jÝZûÕ³£/jµ_Òc•Âî“<C3AE>(†ÇI.Æö<C386>û¢þ´ÙŒ‰2G,ým ŸðZA»SìJCŒsÓ=wÖí¿o™ðÄ_­È¾PS¶ÈFµ+ ½°v  =³yK¹JzÊF"çd2„zJšuîLµ†f

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,2 @@
~0<EFBFBD>ßyg—ébí-{Mŕ í0dĽ%|˛í:b@XŐŮ É`¶˙<>ŐĆəſƔ <EFBFBD>¬B•đŹco­<V_DTe{v䱄o.żÜi×ěÂŽ';ÇW"|ô<nŻĆ ·ÚČĽäĘ©p=˝O“
˛f{0<>cUďź_$˘ç¶łâ¶Ášq——†ă ţ<EFBFBD>¤źĆÖ.)şł!<21>ěxş1úÂŞúčÉŚ”ěeś˙vX'Ävá1~îĺYńiŤ#ŔxV 86•DQ„»ĂbÖź¦LrëWűť˝Inćř~ üËc,™-+řyF˙˛WŘť

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

15
Firmwares/README.md Normal file
View File

@ -0,0 +1,15 @@
# Instructions
1. The .img and .sig files are the original bundled Release firmware from Jio that can be flashed through the WEB-UI.
2. The extracted firmwares are in the zip files respectively.
**JCOW414 and JCOW4032 Firmwares are same**
**WARNING : (THE EXTRACTED FIRMWARE IS FULL OF SYMLINKS, SO BE AWARE)**
From : Ankan Pal
Telegram : https://t.me/itsyourap
Instagram : https://www.instagram.com/_itsyourap_
Twitter : https://twitter.com/itsyourap
GitHub : https://github.com/itsyourap
*If you have a JioFiber Router ROM that isn't here yet, please inform me (at [Telegram](https://t.me/itsyourap) or [Instagram](https://www.instagram.com/_itsyourap_))*

View File

@ -0,0 +1,40 @@
# Disable TR-069
*Disclaimer: - This is Only for educational purposes, No one is responsible for any type of damage.*
**NOTE : JioCall/Landline/JioSTB/Firmware Auto Update/Changing WiFi settings from MyJio or JioHome apps won't work if TR-069 is disabled.**
1. Make sure you have [**openssl**](https://wiki.openssl.org/index.php/Binaries) **installed** or else install it and **add it to environment variable PATH**.
2. **Download** and **Extract** the **zip** of your respective firmware from [here](https://github.com/itsyourap/JioFiber-Home-Gateway/Firmwares/)
3. Get **`server.key`** file from the Extracted zip at **`/pfrm2.0/etc/server.key`** and Copy it to **`Desktop/JioFiber`**.
4. Go to Your **Router WEB-UI Page** (`http://192.168.29.1`) and Sign in as **Admin**. (The default credentials are **`admin : Jiocentrum`**)
5. Go to **Administrator** --> **Maintenance** and click **Backup**.
6. A file (RSTXXXXXXX_JCXXXXX.enc) will be downloaded with **`.enc`** extension. Save it in **`Desktop/JioFiber`**.
7. Open up **Terminal** or **Command Prompt** in **`Desktop/JioFiber`**
8. **Decrypt** the downloaded **`.enc`** file using the command
`openssl aes-128-cbc -d -kfile "server.key" -in "RSTXXXXXXX_JCXXXXX.enc" -out "RSTXXXXXXX_JCXXXXX.txt"`
9. Open `RSTXXXXXXX_JCXXXXX.txt` with Notepad or other Text Editor
10. **Find** the line
`config.tr69["ManagementServer"][1]["URL"] = "https://acs.oss.jio.com:8443/ftacs-digest/ACS"`
and **replace** it with
`config.tr69["ManagementServer"][1]["URL"] = "http://127.0.0.1"`
11. **Find** the line
`config.tr69["ManagementServer"][1]["tr69Status"] = "1"`
and **replace** it with
`config.tr69["ManagementServer"][1]["tr69Status"] = "0"`
12. **Find** the line
`config.tr69["ManagementServer"][1]["PeriodicInformEnable"] = "1"`
and **replace** it with
`config.tr69["ManagementServer"][1]["PeriodicInformEnable"] = "0"`
13. **Find** the line
`config.checksum = "<SOME_RANDOM_MD5_HASH>"`
and **replace** it with
`config.checksum = "0"`
14. **Save** the file.
15. **ReEncrypt** the file to **`.enc`** using this command :-
`openssl aes-128-cbc -e -kfile "server.key" -in "RSTXXXXXXX_JCXXXXX.txt" -out "RSTXXXXXXX_JCXXXXX_MOD.enc"`
16. Open the **Router Configuration WEB-UI** (`http://192.168.29.1`).
17. Go to **Administrator** --> **Maintenance** and click **Choose File** and choose the file created at step 15 `RSTXXXXXXX_JCXXXXX_MOD.enc` in **`Desktop/JioFiber`**.
18. Click **Restore**. The router will reboot with the new configuration.
19. After the reboot is complete, you will find that TR-069 is disabled.
20. Celebrate.

View File

@ -0,0 +1,34 @@
# Enable FTP
*Disclaimer: - This is Only for educational purposes, No one is responsible for any type of damage.*
**NOTE: FTP username will be admin & password will be your admin password in WEB-UI (Router Configuration Page)**
1. Make sure you have [**openssl**](https://wiki.openssl.org/index.php/Binaries) **installed** or else install it and **add it to environment variable PATH**.
2. **Download** and **Extract** the **zip** of your respective firmware from [here](https://github.com/itsyourap/JioFiber-Home-Gateway/Firmwares/)
3. Get **`server.key`** file from the Extracted zip at **`/pfrm2.0/etc/server.key`** and Copy it to **`Desktop/JioFiber`**.
4. Go to Your **Router WEB-UI Page** (`http://192.168.29.1`) and Sign in as **Admin**. (The default credentials are **`admin : Jiocentrum`**)
5. Go to **Administrator** --> **Maintenance** and click **Backup**.
6. A file (`RSTXXXXXXX_JCXXXXX.enc`) will be downloaded with **`.enc`** extension. Save it in **`Desktop/JioFiber`**.
7. Open up **Terminal** or **Command Prompt** in **`Desktop/JioFiber`**
8. **Decrypt** the downloaded **`.enc`** file using the command
`openssl aes-128-cbc -d -kfile "server.key" -in "RSTXXXXXXX_JCXXXXX.enc" -out "RSTXXXXXXX_JCXXXXX.txt"`
9. Open `RSTXXXXXXX_JCXXXXX.txt` with Notepad or other Text Editor
10. **Find** the line
`config.vsftpd["ftpd"][1]["enable"] = "0"`
and **replace** it with
`config.vsftpd["ftpd"][1]["enable"] = "1"`
11. **Find** the line
`config.checksum = "<SOME_RANDOM_MD5_HASH>"`
and **replace** it with
`config.checksum = "0"`
12. **Save** the file.
13. **ReEncrypt** the file to **`.enc`** using this command :-
`openssl aes-128-cbc -e -kfile "server.key" -in "RSTXXXXXXX_JCXXXXX.txt" -out "RSTXXXXXXX_JCXXXXX_MOD.enc"`
14. Open the **Router Configuration WEB-UI** (`http://192.168.29.1`).
15. Go to **Administrator** --> **Maintenance** and click **Choose File** and choose the file created at step 15 `RSTXXXXXXX_JCXXXXX_MOD.enc` in **`Desktop/JioFiber`**.
16. Click **Restore**. The router will reboot with the new configuration.
17. After the reboot is complete, you will find that FTP is enabled.
18. Plug-in a USB storage device to router.
19. Go to `ftp://192.168.29.1` with **Windows Explorer** or other **FTP client** and type in your **WEB-UI Credentials**.
20. Celebrate.

View File

@ -0,0 +1,24 @@
# Get Logs
*Disclaimer: - This is Only for educational purposes, No one is responsible for any type of damage.*
**NOTE: FTP username will be admin & password will be your admin password in WEB-UI (Router Configuration Page)**
1. Make sure you have [**openssl**](https://wiki.openssl.org/index.php/Binaries) **installed** or else install it and **add it to environment variable PATH**.
2. **Download** and **Extract** the **zip** of your respective firmware from [here](https://github.com/itsyourap/JioFiber-Home-Gateway/Firmwares/)
3. Get **`server.key`** file from the Extracted zip at **`/pfrm2.0/etc/server.key`** and Copy it to **`Desktop/JioFiber`**.
4. Go to Your **Router WEB-UI Page** (`http://192.168.29.1`) and Sign in as **Admin**. (The default credentials are **admin : Jiocentrum**)
5. After you have signed in, change the URL in the address bar from `http://192.168.29.1/platform.cgi` to `http://192.168.29.1/dbglog.cgi`
6. Press Enter and wait a few minutes until a file gets downloaded.
7. Save the downloaded file (**`reliance-dbglog-enc.tgz`**) to **`Desktop/JioFiber`**
8. Open up **Terminal** or **Command Prompt** in **`Desktop/JioFiber`**
9. **Decrypt** the downloaded **.enc** file using the command
`openssl aes-128-cbc -d -kfile "server.key" -in "reliance-dbglog-enc.tgz" -out "reliance-dbglog-dec.tgz"`
10. **Extract** the `reliance-dbglog-dec.tgz` file using **7zip** or use the command `tar -xvf reliance-dbglog-dec.tgz`
11. You will see a lot of files have been extracted to the directory **`Desktop/JioFiber`**. These are the dbglogs.
12. Use [DB Browser for SQLite](https://sqlitebrowser.org/) to open the files with **`.db`** extension.
13. Now experiment with those files on your own.
### The system.db file contains all the configuration data including Wi-Fi passwords, TR-069 Configuration, Router WEB-UI Passwords, and a lot more....
### Anyhow, the TR-069 Password (Maybe also the root password) is encrypted by a cipher which is defined in `/pfrm2.0/lib/lua/5.1/passwdSecureLib.so` . Please inform [me](https://t.me/itsyourap) if you decompile the `passwdSecureLib.so` file successfully and can make a source code out of it. It will be of great help.

21
README.md Normal file
View File

@ -0,0 +1,21 @@
# JioFiber-Home-Gateway
This repository contains all the files and instructions to customize your JioFiber ONT Gateway. You can grab your Gateway's firmware from [Firmwares](https://github.com/itsyourap/JioFiber-Home-Gateway/Firmwares/) or you can find instructions for miscellaneous customizations from [Instructions](https://github.com/itsyourap/JioFiber-Home-Gateway/Instructions/).
### Available Firmwares :-
**[Read the Instructions First](https://github.com/itsyourap/JioFiber-Home-Gateway/Firmwares/README.md)**
1. [JCO110](https://github.com/itsyourap/JioFiber-Home-Gateway/Firmwares/JCO110/)
2. [JCOW401](https://github.com/itsyourap/JioFiber-Home-Gateway/Firmwares/JCOW401)
3. [JCOW403](https://github.com/itsyourap/JioFiber-Home-Gateway/Firmwares/JCOW403)
4. [JCOW404](https://github.com/itsyourap/JioFiber-Home-Gateway/Firmwares/JCOW404)
5. [JCOW414 and JCO4032 (Hopefully Same Firmware)](https://github.com/itsyourap/JioFiber-Home-Gateway/Firmwares/JCOW414)
### Available Instructions :-
1. [Getting Logs from JioFiber ONT Home Gateway](https://github.com/itsyourap/JioFiber-Home-Gateway/Instructions/Get-dbglogs-JioFiber-ONT-Home-Gateway.md)
2. [Enable FTP on JioFIber ONT Home Gateway](https://github.com/itsyourap/JioFiber-Home-Gateway/Instructions/Enable-FTP-JioFiber-ONT-Home-Gateway.md)
3. [Disable TR-069 on JioFiber ONT Home Gateway](https://github.com/itsyourap/JioFiber-Home-Gateway/Instructions/Disable-TR-069-JioFiber-ONT-Home-Gateway.md)
## Disclaimer
*This is Only for educational purposes. No one is responsible for any type of damage.*