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/02/02 15:12] – [Installation] shahid | inbox:toh:sercomm:s3 [2023/02/02 16:04] – [Return to Stock] shahid | ||
|---|---|---|---|
| Line 60: | Line 60: | ||
| 7. After restart login to web interface with user=admin password=E12345678 & upload etisalat_s3-squashfs-factory.img | 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=/ | ||
| + | reboot | ||
| + | </ | ||
| + | 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; | ||
| + | tftp -l mtd.md5 -p 192.168.1.2 | ||
| + | </ | ||