JCG Q30 Pro

JCG Q30 Pro is a router around 100RMB tailored for CMCC. The original firmware is a OEM fork from OpenWrt. As the original firmware was rumored having monitoring software from CMCC and the router itself can be “locked” by CMCC remotely, some people would eager to replace the original firmware with immoralWrt or “official” OpenWrt.

While original version of JCG Q30 Pro is equipped with 256MB ram, most sellers in pinduoduo and taobao are selling mod version of JCG Q30 Pro, which is having 512MB ram (Reported 486.98MiB available in OpenWrt status page).

FIXME Any text with a light background (like this one) provides instructions for creating the Details Page. When you have filled in correct/useful information (instead of any template that's there) remove the instructions, as well as the <WRAP> that encloses it.

JCG Q30 Pro

FIXME

  1. This is an empty template that suggests the information that should be present on a well-constructed Device Page. This means, that you have to fill it with life and information.
  2. There are several “fixme” tags with text on a light background (like this text) throughout this template. As you fill in the page, remove those tags so that people can judge its completeness.
  3. When there are no more “fixme” tags left, delete this one too, along with the <WRAP> that encloses it.
  • Please include only model specific information, omit bla,bla and put everything generic into separate articles
  • If you have no time to write certain stuff, link to docs
  • base-system should lead the way, do not explain this again
  • DO NOT provide a complete howto here! Instead groom the general documentation.

None at this time.

Install OpenWrt (generic explanation)

You may either refer to the installation procedure mentioned in git or instructions below:

REF 1: https://mary.kevinmx.top/default/JCG-Q30-Pro.html

REF 2: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=626344c9926dcf2db2e10681c19aab0328fee160

REF 1 is in Chinese. Use Google translate.

1. Software preparation

a. Putty
b. tftpd64
c. (optional) nc

2. Backup OEM partition (optional)

Check REF 1 for backing up mtd 0-5
* According to REF 2, NMBM is disabled and therefore every Q30 pro shall have its own mtd 0-5 and not interchangeable.

3. Flash U-Boot

a. With reference to section 4.2 in REF 1 , Grab https://mirror-01.infra.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-jcg_q30-pro-bl31-uboot.fip and flash FIP in OEM U-Boot via Serial using tftp.
b. type "reset" when done.
c. wait for around 15 seconds until U-Boot console appears. Never touch the keyboard before U-Boot console appears, as U-Boot is writing partition changes in Rom.
d. type reset when U-Boot console appears.

4. Flash BL2 preloader

By using Openwrt's U-Boot, Flash BL2 preloader and write NAND ( https://mirror-01.infra.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-jcg_q30-pro-preloader.bin) using tftp.

reset when done.

5. Load recovery from tftp Server

The Openwrt's U-Boot shall automatically looking for openwrt-mediatek-filogic-jcg_q30-pro-initramfs-recovery.itb from tftp server (ip 192.168.1.254). Recovery file can be downloaded from https://firmware-selector.openwrt.org/?target=mediatek%2Ffilogic&id=jcg_q30-pro

6. In recovery, login to Web interface and perform firmware upgrade using SYSUPGRADE file downloaded from OpenWrt firmware selector

You may take reference from 360t7_1.0. Both routers are pretty much similar.

FIXME Find out flash layout, then add the flash layout table here (copy, paste, modify the example).

Please check out the article Flash layout. It contains examples and explanations that describe how to document the flash layout.

Unlike immoralWRT, there is no easy installation at the moment. You need to open the case and attach serial for first flashing OpenWRT U-boot. See Installation Section

Specific values needed for tftp

FIXME Enter values for “FILL-IN” below

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain “tftp”)
TFTP transfer window FILL-IN seconds
TFTP window start approximately FILL-IN seconds after power on
TFTP client required IP address FILL-IN
  • Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
  • Upload image file for sysupgrade to LuCI
  • Wait for reboot

:!: If OpenWrt version does not bump after upgrade, try using sysupgrade as descried below

If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line.

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-jcg_q30-pro-squashfs-sysupgrade.itb
sysupgrade /tmp/openwrt-mediatek-filogic-jcg_q30-pro-squashfs-sysupgrade.itb

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, etc.

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi bridge 192.168.1.1/24
eth0 LAN interface None
lan1 First LAN port bridged to br-lan
lan2 Second LAN port bridged to br-lan
lan3 Third LAN port bridged to br-lan
wan WAN port DHCP
phy0-ap0 2.4GHz WiFi bridged to br-lan, radio disabled, 40Mhz, no country code set
phy1-ap0 5GHz WiFi bridged to br-lan, radio disabled, 80MHz, no country code set

:!: WiFi may not work as expected if country code is not set

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) EXAMPLE 4
LAN 1 EXAMPLE 3
LAN 2 EXAMPLE 2
LAN 3 EXAMPLE 1
LAN 4 EXAMPLE 0

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The JCG Q30 Pro has the following buttons:

BUTTON Event
EXAMPLE Reset reset
EXAMPLE Secure Easy Setup ses
EXAMPLE No buttons at all. -

Front:
Insert photo of front of the casing

Back:
Insert photo of back of the casing

Backside label:
Insert photo of backside label

Note: This will void your warranty!

Remove four screws at the bottom. Check demo in Youtube

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:

JCG Q30 Pro UART port

Serial connection parameters
for JCG Q30 Pro
115200, 8N1

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

None so far.

COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE


COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING


Space for additional notes, links to forum threads or other resources.

  • ...
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/03/31 07:32
  • by hazuki