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/22 04:26] – [OEM easy installation] csharper2005toh:beeline:smartbox_giga [2023/08/31 11:03] – [OpenWrt installation] csharper2005
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)]]
Line 95: Line 97:
 </WRAP> </WRAP>
  
-1. Downgrade stock (Beeline) firmware to v.1.0.02 (twice if necessary)+1. Install stock Beeline v.1.0.02 firmware twice
  
-2. Remove all dots from the OpenWrt //factory image// 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:
Line 206: 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 329: 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 1644: Line 1702:
 === OpenWrt community builds (unofficial) === === 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