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
inbox:toh:sercomm:s3 [2023/01/11 13:22] – [Table] shahidinbox:toh:sercomm:s3 [2023/02/02 16:04] – [Return to Stock] shahid
Line 37: Line 37:
 | Beeline | Smart Box TURBO+ | MediaTek MT7621AT | 880 MHz    128 MiB  |  128 MiB  |  MediaTek MT7603EN, MediaTek MT7615N  |  b/g/n   | a/n/ac | 5 | Yes | 1x 3.0  |   Yes    | | Beeline | Smart Box TURBO+ | MediaTek MT7621AT | 880 MHz    128 MiB  |  128 MiB  |  MediaTek MT7603EN, MediaTek MT7615N  |  b/g/n   | a/n/ac | 5 | Yes | 1x 3.0  |   Yes    |
  
-===== Installation ===== +==== OpenWrt installation ==== 
-  - → [[https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-etisalat_s3-squashfs-factory.img|Obtain firmware]] + 
-  - → [[docs:guide-user:installation:generic.flashing|Install OpenWrt]] +1.  Login to the router web interface under admin account 
-  → [[:downloads|Latest OpenWrt release]]+ 
 +2.  Navigate to Settings -> Configuration 
 + 
 +3.  Upload this modified config file (config file password is E1234) . [[https://github.com/Shahid247/sercomm_s3_change_bootflag/blob/main/Sercomm_s3_config.cfg]] 
 + 
 +4.  Login via Putty SSH 192.168.1.1 under user=SuperUser  password=E12345678 
 + 
 +5.  Once logged in type 
 +<code bash> 
 +sh 
 +</code> 
 + 
 +6. Change bootflag to Sercomm1 and reboot: 
 +<code bash> 
 +printf 1 | dd bs=1 seek=7 count=1 of=/dev/mtdblock3 
 +reboot 
 +</code> 
 + 
 +7. After restart login to web interface with user=admin password=E12345678 & upload etisalat_s3-squashfs-factory.img 
 + 
 +8. Now openwrt boots & boot flag will automatically changes to "Boot Flag : Sercomm0" 
 + 
 +9. Now we have Successfully installed Openwrt in slot 0, while we still have OEM Firmware stored in slot 1. If you want to revert back to oem follow the section. 
 + 
 + 
 +==== Return to Stock ==== 
 +1. Change the bootflag to Sercomm1 in OpenWrt CLI and then reboot: 
 +<code bash> 
 +printf 1 dd bs=1 seek=7 count=1 of=/dev/mtdblock3 
 +reboot 
 +</code> 
 + 
 +2. Stock firmware will boot from slot 1 & automatically replaces OpenWrt in slot 0 with OEM Firmware. 
 + 
 + 
 +==== Backup ==== 
 + 
 +It's recommended to make a mtd backup before you start: 
 + 
 +1. Set up a tftp server (e.g. tftpd64 for windows) 
 + 
 +2. Set your pc ip address 192.168.1.2 
 + 
 +3. Connect to a router using SSH shell with SuperUser and run the following commands: 
 +<code bash> 
 +sh 
 +cd /tmp 
 +for i in 0 1 2 3 4 5 6 7 8 9 10; do nanddump -f mtd$i /dev/mtd$i; \ 
 +tftp -l mtd$i -p 192.168.1.2; md5sum mtd$i >> mtd.md5; rm mtd$i; done 
 +tftp -l mtd.md5 -p 192.168.1.2 
 +</code> 
 + 
 + 
 + 
  
 /*** if info available: uncomment and fill in /*** if info available: uncomment and fill in
Line 113: Line 167:
  
  
-/*** if info available: uncomment and fill in+
 ==== Flash Layout ==== ==== Flash Layout ====
 <WRAP BOX> <WRAP BOX>
-FIXME //[[:docs:techref:flash.layout#discovery_how_to_find_out|Find out flash layout]], then add the flash layout table here (copy, paste, modify the [[docs:techref:flash.layout#partitioning_of_squashfs-images|example]]).//+<code> 
 +dev   size   erasesize  name 
 +mtd000100000 00020000 "u-boot" 
 +mtd100100000 00020000 "dynamic partition map" 
 +mtd200100000 00020000 "Factory" 
 +mtd300100000 00020000 "Boot Flag" 
 +mtd4: 00600000 00020000 "kernel" 
 +mtd5: 00600000 00020000 "Kernel 2" 
 +mtd6: 02000000 00020000 "File System 1" 
 +mtd7: 02000000 00020000 "File System 2" 
 +mtd8: 01400000 00020000 "Configuration/log" 
 +mtd9: 01b80000 00020000 "application tmp buffer (Ftool)
 +mtd10: 04f80000 00020000 "ubi" 
 +</code> 
 +</WRAP>
  
-Please check out the article [[docs:techref:flash.layout|Flash layout]]. It contains examples and explanations that describe how to document the flash layout.+==== Device Specific Details ==== 
 + 
 +<WRAP center round info 60%> 
 +mtd2 contains following information 
 +| **Info**    | Offset        | 
 +| ''Macaddr'' | 21000         | 
 +| ''Serial Number / SuperUser password'' | 21010   | 
 +| ''WPS PIN'' | 21070 | 
 +| ''admin password'' | 210E0 |
 </WRAP> </WRAP>
-***/+{{ media:s3_macinfo.jpg?600 | mtd2-HXD Output}} 
 + 
  
  
Line 150: Line 228:
 {{media:sercomm_s3_serial.jpg?500|Sercomm Model S3 Serial}} {{media:sercomm_s3_serial.jpg?500|Sercomm Model S3 Serial}}
 ^ Serial connection parameters for Sercomm S3 | 56700, 8N1 | ^ Serial connection parameters for Sercomm S3 | 56700, 8N1 |
 +Built in shell access
 +
 +User: SuperUser
 +
 +Password: SN (Printed on the back of your router) & can also be found in oem bootlog
  
 +once logged in type sh press enter for shell access.
 ==== JTAG ==== ==== JTAG ====
 -> [[docs:techref:hardware:port.jtag]] general information about the JTAG port, JTAG cable, etc. -> [[docs:techref:hardware:port.jtag]] general information about the JTAG port, JTAG cable, etc.
  • Last modified: 2024/02/12 10:03
  • by 127.0.0.1