Qihoo 360T7 / 360T7M / 360T7U

Qihoo 360T7 / 360T7M / 360T7U is a router family around 100RMB tailored for China Telecom, CMCC and China Unicom respectively. All three models are having same hardware but different OEM firmware. As such, all information below shall apply to all three models.

Generic Router

None at this time.

Install OpenWrt (generic explanation)

FIXME Please add the installation procedure here.

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.

Specific values needed for tftp

Bootloader tftp client IPv4 address 192.168.1.1
Firmware tftp image Latest OpenWrt release
TFTP Server required IP address 192.168.1.254

REF 1: https://www.right.com.cn/forum/thread-8295833-1-1.html

REF 2: https://www.right.com.cn/FORUM/thread-8278255-1-1.html

REF 3: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=dc2d4d73939c3d86a8e9d968c5c3462f92771bc6

REF 1 and 2 are in Chinese. Use Google translate.

1. Software preparation

a. Putty
b. tftpd64
c. (optional for mtd backup) nc

STOP!

If your router is using Gigadevice 5F1GM7UE NAND (and possibly all Gigadevice NAND), DO NOT ATTEMPT to continue on this guide. Updating firmware to 360T7-v4.2.4.7959 will hardbrick your device. If you did so, the only known method to unbrick is to flash the NAND with a programmer.

Routers with ESMT F50L1G41LB, Winbond W25N01GV or Winbond W25N01KV NAND can ignore this warning.

2. Boot into Official firmware, update firmware using file from github. This will update the firmware to 360T7-v4.2.4.7959 in order to allow us to enter failsafe mode.

3. Attach UART (REF 2 & 3), boot the stock firmware until the message about failsafe mode appears.

NOTES ON UART: You might encounter some 360T7 fail to output messages (TX fails) after some time (can be as short as few seconds) since power on. Check resistance between TX and GND while power off and all cables detached using a multimeter. If resistance is <1K ohm, take a 5-10 min break and have a coffee. You may be able to “enjoy” few cups of coffee before successfully update the u-boot.

From experience, those routers with the above-mentioned defects will fail sooner than expected. You may try heating up the PCB using hot gun to eliminate any possible non-wetting defect, in particular area near CPU, RAM and NAND. Quality control in Qihoo is pretty much infamous.

4. Enter failsafe mode by pressing f and Enter.

5. Type fw_setenv bootmenu_delay 3, then reboot.

6. (Optional) Back up all mtd partitions before flashing. (Skip this if you do not know how)

7. Connect to your PC via one of the LAN port of the router, set a static ip on the ethernet interface of your PC. (ip 192.168.1.254)

8. In official firmware bootmenu, select “Upgrade ATF FIP”, then use this file: openwrt-mediatek-filogic-qihoo_360t7-bl31-uboot.fip from OpenWrt Firmware Selector. Put the file in TFTP server. I personally recommend SNAPSHOT for better support.

9. Reboot to OpenWrt bootmenu, select “Flash BL2 preloader and write NAND” , then use this file: openwrt-mediatek-filogic-qihoo_360t7-preloader.bin from OpenWrt Firmware Selector. I personally recommend SNAPSHOT for better support. (If you are severely affected by failing TX, you may consider to skip this step.)

STOP!

If your router is using Winbond W25N01KV NAND, follow step C1-C4 below before continue! Otherwise you will see a message “spi-nand spi0.0: unknown raw ID efae2100” in UART and softbrick your router.

Routers with ESMT F50L1G41LB or Winbond W25N01GV NAND can ignore this warning.

11. Reset and u-boot will self-retrieve recovery file openwrt-mediatek-filogic-qihoo_360t7-initramfs-recovery.itb from TFTP Server (ip 192.168.1.254).

12. Login to http://192.168.1.1 and upload file openwrt-mediatek-filogic-qihoo_360t7-squashfs-sysupgrade.itb for sysupgrade. Please note if you are using SNAPSHOT, LuCI (Web interface) is not included. Please refer to luci.essentials on installing LuCI.

You may take reference from q30_pro. Both routers are pretty much similar.

Self compiling a OpenWrt firmware

As of 30 March 2024, while OpenWrt u-boot supports W25N01KV NAND (in SNAPSHOT, might be 23.05.3 too - not tested), OpenWrt OS does not. As such, we have to apply patch and build OpenWrt ourselves.

C1. Check use-buildsystem and compile a successful 360T7 SNAPSHOT without error.

C2. Credit to ImmortalWRT they provided a patch file in github . Download that file and place it in <buildroot>/target/linux/mediatek/patches-6.1 (or from github to <buildroot>/target/linux/mediatek/patches-6.6 if you are using test kernel).

C3. Compile again after clean (i.e. “make clean”) and other necessary steps as prescribed in Build system usage.

C4. Retrieve openwrt-mediatek-filogic-qihoo_360t7-initramfs-recovery.itb and openwrt-mediatek-filogic-qihoo_360t7-squashfs-sysupgrade.itb and continue from step 11 above.

  • 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 you don't have a GUI (LuCI) available, you can alternatively upgrade via sysupgrade. There are two command line methods for upgrading:

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 http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

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

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

The default network configuration is:

Interface Name Description Default configuration
br-lan EXAMPLE LAN & WiFi EXAMPLE 192.168.1.1/24
vlan0 (eth0.0) EXAMPLE LAN ports (1 to 4) EXAMPLE None
vlan1 (eth0.1) EXAMPLE WAN port EXAMPLE DHCP
wl0 EXAMPLE WiFi EXAMPLE Disabled

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 Qihoo 360T7 has the following buttons:

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

FIXME

  1. This table is automatically generated, once the correct filters for Brand and Model are set.
  2. If you see “Nothing.” instead of a table, please edit this section and adjust the filters with the proper Brand and Model. Just try, it's easy.
  3. If you still don't see a table here, or a table filled with '¿': Is there already a Techdata page available for Qihoo 360T7 1.0? If not: Create one.
  4. If you see a table with the desired device data, everything is OK and you can delete this text and the <WRAP> that encloses it.
  5. If it still doesn't work: Don't panic, calm down, take a deep breath and contact a wiki admin (tmomas) for help.

---- datatemplatelist dttpllist ---- template: meta:template_datatemplatelist cols : Brand, Model, Versions, Device Type, Availability, Supported Since Commit_git, Supported since Rel, Supported current Rel, Unsupported, Bootloader, CPU, Target, CPU MHz, Flash MBs, RAM MB, Switch, Ethernet 100M ports_, Ethernet Gbit ports_, Comments network ports_, Modem, VLAN, WLAN 2.4GHz, WLAN 5.0GHz, WLAN Hardwares, WLAN Comments_, Detachable Antennas_, USB ports_, SATA ports_, Comments USB SATA ports_, Serial, JTAG, LED count, Button count, Power supply, Device Techdata_pageid, Forum topic URL_url, wikidevi URL_url, OEM Device Homepage URL_url, Firmware OEM Stock URL_url, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Comments_ filter : Brand=Qihoo filter : Model=360T7 filter : Versions=1.0


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!

https://youtu.be/g9RUoa-Oyy0?si=scqyN6t8QpeNpVQj&t=77

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

How to connect to the Serial Port of this specific device:
https://www.right.com.cn/FORUM/thread-8278255-1-1.html

https://youtu.be/g9RUoa-Oyy0?si=Pq7worg11mbf-VZW&t=77

Serial connection parameters
for Qihoo 360T7 1.0
115200, 8N1, 3.3V

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/04/05 02:20
  • by hazuki