Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:beeline:smartbox_giga [2022/08/21 14:37] – [OEM easy installation] csharper2005toh:beeline:smartbox_giga [2023/08/31 11:03] – [OpenWrt installation] csharper2005
Line 13: Line 13:
 /*****/ /*****/
  
-{{media:beeline:beeline-giga.png?200|Beeline SmartBox GIGA}}+{{media:beeline:beeline-giga.png?300|Beeline SmartBox GIGA}}
  
  
Line 28: Line 28:
 ===== Experimental firmware ===== ===== Experimental firmware =====
  
-  * Community builds - https://forum.openwrt.org/t/add-support-for-beeline-smartbox-giga/99390/4+  * [[https://forum.openwrt.org/t/add-support-for-beeline-smartbox-giga/99390/4|Community builds]]
  
  
Line 44: Line 44:
 It's recommended to make a mtd backup before you start: It's recommended to make a mtd backup before you start:
  
-1. Get SSH access - [[:toh:beeline:smartbox_giga#obtaining_ssh_access_on_the_stock_firmware]]+1. [[:toh:beeline:smartbox_giga#obtaining_ssh_access_on_the_stock_firmware|Get SSH access]] 
  
 2. Set up a tftp server (e.g. tftpd64 for windows) 2. Set up a tftp server (e.g. tftpd64 for windows)
Line 85: Line 85:
 ---- ----
  
 +
 +{{page>meta:infobox:attention_trunk&noheader&nofooter&noeditbtn}}
  
 -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]] -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]
  
 +==== OpenWrt installation ====
  
 <WRAP round info 100%> <WRAP round info 100%>
Line 94: Line 97:
 </WRAP> </WRAP>
  
-1. Downgrade stock (Beeline) firmware to v.1.0.02+1. Install stock Beeline v.1.0.02 firmware twice
  
-2. Give factory OpenWrt image a shorter name, e.g. 1001.img. Or just remove all dots (except before file extension) from the file name.+2. Remove all dots from the OpenWrt //factory image// file name 
  
-3. Upload and update the firmware via the original web interface.+3. Install OpenWrt //factory image// via the original web interface
  
 Remark: Remark:
 You might need make the 3rd step twice if your running firmware is booted from the Slot 1 (Sercomm0 bootflag). The stock firmware reverses the bootflag (Sercomm0 / Sercomm1) on each firmware update. You might need make the 3rd step twice if your running firmware is booted from the Slot 1 (Sercomm0 bootflag). The stock firmware reverses the bootflag (Sercomm0 / Sercomm1) on each firmware update.
  
 +==== OEM easy installation ====
 +
 +See [[:toh:beeline:smartbox_giga#openwrt_installation|OpenWrt Installation]] section
 +
 +==== OEM installation using the TFTP method ====
 +
 +->  [[docs:guide-user:installation:generic.flashing.tftp]]
 +
 +Not applicable
 ===== Obtaining SSH access on the stock firmware ===== ===== Obtaining SSH access on the stock firmware =====
  
Line 139: Line 151:
  
  
-==== OEM installation using the TFTP method ==== 
  
-->  [[docs:guide-user:installation:generic.flashing.tftp]] 
- 
-Not applicable 
  
 ===== Upgrading OpenWrt ===== ===== Upgrading OpenWrt =====
Line 185: Line 193:
 -> [[docs:guide-user:troubleshooting:generic.debrick]] -> [[docs:guide-user:troubleshooting:generic.debrick]]
  
-==== 1. Sercomm recovery utility ====+==== sercomm-recovery utility ====
 1. Compile [[https://github.com/danitool/sercomm-recovery|sercomm-recovery]] under the Linux: 1. Compile [[https://github.com/danitool/sercomm-recovery|sercomm-recovery]] under the Linux:
 <code bash> <code bash>
Line 200: Line 208:
 3. Wait until the router is flashed and rebooted. 3. Wait until the router is flashed and rebooted.
  
-[[https://mega.nz/folder/tlIm1JLK#bBRJXq-DVkzJBOR2dC1K5w|Download ready recovery images]] for Turbo+ and GIGA.+[[https://mega.nz/folder/tlIm1JLK#bBRJXq-DVkzJBOR2dC1K5w|Download ready recovery images]] for Sercomm devices.
  
  
Line 216: Line 224:
 </code> </code>
  
-==== 2. TFTP method ====+==== tftp method ====
  
 1. Run tftp server on IP 10.10.10.3/24 1. Run tftp server on IP 10.10.10.3/24
Line 286: Line 294:
  
 //Front://\\ //Front://\\
-{{media:beeline:smartbox-giga_case_front.png?200|Beeline SmartBox GIGA Case Front}}+{{media:beeline:smartbox-giga_case_front.png?400|Beeline SmartBox GIGA Case Front}}
  
 //Back://\\ //Back://\\
-{{media:beeline:smartbox-giga_case_rear.png?200|Beeline SmartBox GIGA Case Rear}}+{{media:beeline:smartbox-giga_case_rear.png?400|Beeline SmartBox GIGA Case Rear}}
  
 //Backside label://\\ //Backside label://\\
-{{media:beeline:smartbox-giga_backside_label.jpg?200|Beeline SmartBox GIGA Label}}+{{media:beeline:smartbox-giga_backside_label.jpg?400|Beeline SmartBox GIGA Label}}
  
 ==== Opening the case ==== ==== Opening the case ====
Line 301: Line 309:
  
 //Main PCB://\\ //Main PCB://\\
-{{media:beeline:smartbox-giga_pcb_1.jpg?200|Beeline SmartBox GIGA PCB}}+{{media:beeline:smartbox-giga_pcb_1.jpg?400|Beeline SmartBox GIGA PCB}}
  
-{{media:beeline:smartbox-giga_pcb_2.jpg?200|Beeline SmartBox GIGA PCB}}+{{media:beeline:smartbox-giga_pcb_2.jpg?400|Beeline SmartBox GIGA PCB}}
  
-{{media:beeline:smartbox-giga_pcb_3.jpg?200|Beeline SmartBox GIGA PCB}}+{{media:beeline:smartbox-giga_pcb_3.jpg?400|Beeline SmartBox GIGA PCB}}
  
 ==== Serial ==== ==== Serial ====
Line 311: Line 319:
  
 How to connect to the Serial Port of this specific device:\\ How to connect to the Serial Port of this specific device:\\
-{{media:beeline:smartbox-giga_serial.jpeg?200|Beeline SmartBox GIGA UART connection}}+{{media:beeline:smartbox-giga_serial.jpeg?400|Beeline SmartBox GIGA UART connection}}
  
 ^ Serial connection parameters\\ for Beeline SmartBox GIGA | 57600, 8N1, 3.3V | ^ Serial connection parameters\\ for Beeline SmartBox GIGA | 57600, 8N1, 3.3V |
Line 323: Line 331:
 ===== Bootloader mods ===== ===== Bootloader mods =====
  
-==== Breed bootloader ====+ 
 + 
 +==== Restoring the original U-boot bootloader and stock firmware  ====
  
 {{page>meta:infobox:dangerous&noheader&nofooter&noeditbtn}} {{page>meta:infobox:dangerous&noheader&nofooter&noeditbtn}}
-Original Breed for Xiaomi R3G can be used, but breedenter utility is required to enter the Breed. Breed web interface shouldn't be used for flashing firmware or EEPROM backup or recovery. Telnet should be used instead.  
  
-See //Notes -> Breed bootloader// section for links+**Input conditions:**  
 +  * router with Breed bootloader installed
  
-Breed settings for Beeline Smartbox GIGA:+**You will need:** 
 +  * PC or Virtual machine with Linux 
 +  * mtd partitions backup (**mtd0.bin** - //u-boot bootloader//, **mtd1.bin** - //dynamic partition map//, **mtd2.bin** - //Factory//
 +  * http server with mtd partitions backup (i.e. with IP 192.168.1.2) 
 +  * recovery image (see [[https://openwrt.org/toh/beeline/smartbox_giga#sercomm-recovery_utility|sercomm-recovery]])  
 + 
 + 
 +=== U-Boot and stock firmware recovery steps === 
 + 
 +**<color #ed1c24>After executing each command, carefully read its output before executing the next one.</color>** 
 + 
 +1. Enter the Breed telnet shell (IP: 192.168.1.1) 
 + 
 +2. Download //dynamic partition map// backup from your http server and write it: 
 +<code bash> 
 +wget http://192.168.1.2/mtd1.bin 
 +</code> 
 +<code bash> 
 +flash erase 0x100000 0x200000 
 +</code> 
 +<code bash> 
 +flash write 0x100000 0x80001000 0x100000 
 +</code> 
 + 
 +2. Download //Factory// backup from your http server and write it: 
 +<code bash> 
 +wget http://192.168.1.2/mtd2.bin 
 +</code> 
 +<code bash> 
 +flash write 0x200000 0x80001000 0x100000 
 +</code> 
 + 
 +3. Download //u-boot bootloader// backup from your http server and write it: 
 + 
 +**<color #ed1c24>The most dangerous part of the instruction. Be extremely careful.</color>** 
 + 
 +<code bash> 
 +wget http://192.168.1.2/mtd0.bin 
 +</code> 
 +<code bash> 
 +flash erase 0x0 0x100000 
 +</code> 
 +<code bash> 
 +flash write 0x0 0x80001000 0x100000 
 +</code> 
 + 
 +4. Check written data and reboot: 
 +<code bash> 
 +flash dump 0x0 
 +</code> 
 +<code bash> 
 +flash dump 0x100000 
 +</code> 
 +<code bash> 
 +flash dump 0x200000 
 +</code>
  
-^ Setting                    ^ Value                 ^ +5Use [[https://openwrt.org/toh/beeline/smartbox_giga#sercomm-recovery_utility|sercomm-recovery]] utility for stock firmware recovery
-| autoboot.command            boot flash 0x400100  |+
  
 ===== Hardware mods ===== ===== Hardware mods =====
Line 348: Line 412:
 Rating 100-330 uF x 16V. Rating 100-330 uF x 16V.
  
-{{media:beeline:smartbox-giga_capacitor.jpeg?200|Beeline SmartBox GIGA capacitor mod}}+{{media:beeline:smartbox-giga_capacitor.jpeg?400|Beeline SmartBox GIGA capacitor mod}}
  
 ===== Bootlogs ===== ===== Bootlogs =====
Line 1636: Line 1700:
   * [[https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=ramips%2Fmt7621&id=beeline_smartbox-giga|Build Smartbox GIGA firmware]]   * [[https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=ramips%2Fmt7621&id=beeline_smartbox-giga|Build Smartbox GIGA firmware]]
  
-=== OpenWrt unofficial firmware ===+=== OpenWrt community builds (unofficial===
   * [[https://forum.openwrt.org/t/add-support-for-beeline-smartbox-giga/99390/4|Community builds]]   * [[https://forum.openwrt.org/t/add-support-for-beeline-smartbox-giga/99390/4|Community builds]]
- 
-=== Breed bootloader === 
-  * [[https://github.com/legale/breed-mt7621-xiaomi-r3g.bin-reset-button-changer/tree/main/smartbox-flash-giga-turbo-pro|Breed bootloader (MOD) r1338 for Smartbox Flash / MTS WG430223, GIGA, Turbo, PRO (github)]] 
-  * [[https://t.me/smartboxgiga/27744|Breed bootloader (MOD) r1338 for Smartbox Flash / MTS WG430223, GIGA, Turbo, PRO]] 
-  * [[https://breed.hackpascal.net/breed-mt7621-xiaomi-r3g.bin|Breed bootloader (original) Xiaomi R3G]] 
-  * [[https://4pda.to/forum/index.php?showtopic=954030&st=2740#entry104489218|Breedenter utility]] 
  
 ===== Tags ===== ===== Tags =====
  
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>ramips mediatek mt7621 GigabitEthernet wlan 3port 802.11abgn 802.11a 802.11bgn 802.11ac 128nand 128RAM serial u-boot beeline sercomm mt7603 mt7613 dual_firmware breed}}+{{tag>ramips mediatek mt7621 GigabitEthernet wlan 3port 802.11abgn 802.11a 802.11bgn 802.11ac 128nand 128RAM serial u-boot beeline sercomm mt7603 mt7613 dual_firmware}}
  • Last modified: 2024/09/05 19:01
  • by csharper2005