Differences
This shows you the differences between two versions of the page.
| 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] shahid | inbox:toh:sercomm:s3 [2023/02/02 16:04] – [Return to Stock] shahid | ||
|---|---|---|---|
| Line 37: | Line 37: | ||
| | Beeline | Smart Box TURBO+ | MediaTek MT7621AT | 880 MHz | | Beeline | Smart Box TURBO+ | MediaTek MT7621AT | 880 MHz | ||
| - | ===== Installation ===== | + | ==== OpenWrt installation |
| - | - → [[https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-etisalat_s3-squashfs-factory.img|Obtain | + | |
| - | - → [[docs:guide-user:installation: | + | 1. Login to the router web interface under admin account |
| - | - → [[: | + | |
| + | 2. Navigate to Settings | ||
| + | |||
| + | 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 | ||
| + | |||
| + | 5. Once logged in type | ||
| + | <code bash> | ||
| + | sh | ||
| + | </ | ||
| + | |||
| + | 6. Change bootflag to Sercomm1 and reboot: | ||
| + | <code bash> | ||
| + | printf 1 | dd bs=1 seek=7 count=1 of=/ | ||
| + | reboot | ||
| + | </ | ||
| + | |||
| + | 7. After restart login to web interface with user=admin password=E12345678 & upload | ||
| + | |||
| + | 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=/ | ||
| + | reboot | ||
| + | </ | ||
| + | |||
| + | 2. Stock 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 | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| /*** 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# | + | < |
| + | dev: | ||
| + | mtd0: 00100000 00020000 " | ||
| + | mtd1: 00100000 00020000 " | ||
| + | mtd2: 00100000 00020000 " | ||
| + | mtd3: 00100000 00020000 "Boot Flag" | ||
| + | mtd4: 00600000 00020000 " | ||
| + | mtd5: 00600000 00020000 " | ||
| + | mtd6: 02000000 00020000 "File System 1" | ||
| + | mtd7: 02000000 00020000 "File System 2" | ||
| + | mtd8: 01400000 00020000 " | ||
| + | mtd9: 01b80000 00020000 " | ||
| + | mtd10: 04f80000 00020000 " | ||
| + | </code> | ||
| + | </WRAP> | ||
| - | Please check out the article [[docs: | + | ==== Device Specific Details ==== |
| + | |||
| + | <WRAP center round info 60%> | ||
| + | mtd2 contains | ||
| + | | **Info** | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| </ | </ | ||
| - | ***/ | + | {{ media: |
| + | |||
| Line 150: | Line 228: | ||
| {{media: | {{media: | ||
| ^ 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: | -> [[docs: | ||