Прошивка роутера OpenWrt для Beeline SmartBox FLASH

Прошивка роутера OpenWrt для Beeline SmartBox FLASH

inflabz

Свежие обновления выкладываются https://t.me/inflabz_channel

1.Сохранить оригинальную прошивку.

Все действия описываются для оригинальной прошивки версии v1.0.12

Подключаем в порт LAN1 к SmartBox FLASH компьютер и включаем питание роутера.

Берем USB-флешку, вставляем в компьютер и форматируем в файловую систему FAT32.

Затем подключаем флешку в роутер.

Запускаем PuTTY

IP 192.168.1.1

Telnet, порт 23

Подключаемся к роутеру и вводим команду:

mount

Вывод будет примерно такой:

BusyBox v1.18.5 (2020-07-08 21:55:13 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ # mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=123992k,nr_inodes=30998,mode=755)
devfs on /dev type ramfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type ramfs (rw,relatime)
tmpfs on /mnt type ramfs (rw,relatime,size=16k)
ubi0_0 on /data type ubifs (rw,relatime)
/dev/sda4 on /tmp/media/USBFlash type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)

Определяем адрес USB-флешки и переходим на флешку командой

cd /tmp/media/USBFlash

Выполняем команды резерного копирования

for i in 0 1 2 3 4 5 6 7 8 9 10 11 12; do nanddump -f mtd$i /dev/mtd$i; md5sum mtd$i >> mtd.md5; done
umount /data
nanddump -f mtd13 /dev/mtd13; md5sum mtd13 >> mtd.md5

Вывод будет примерно такой:

/tmp/media/USBFlash #    for i in 0 1 2 3 4 5 6 7 8 9 10 11 12; do nanddump -f mtd$i /dev/mtd$i; md5sum mtd$i >> mtd.md5; done
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x07f80000...
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00100000...
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00100000...
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00100000...
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x02000000...
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x01be0000...
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x02000000...
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x01be0000...
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00200000...
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00100000...
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00200000...
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00100000...
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x03680000...
/tmp/media/USBFlash #    umount /data
/tmp/media/USBFlash #    nanddump -f mtd13 /dev/mtd13; md5sum mtd13 >> mtd.md5
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 126976, page size 2048, OOB size 0
Dumping data starting at 0x00000000 and ending at 0x031e4000...

* ECC failed и Number of bad blocks - количество некорректируемых ошибок и бэдблоков на NAND-флешке вашего роутера.

Если все сделали верно на флешке появятся файлы mtd0-mtd13.
Сохраните эти файлы в надежное место!

Если вы не получили файлы mtd0-mtd13 на флешке - дальше не продолжать, строго выполнить первый этап

[продолжение следует...]