Как создать файл официального имиджа любой версии для мультизагрузки на USB флешь с расширением .alt
To be able to pack patch.alt ( Official AzBox HD Firmware ) adopted to be flashed on USB , while Enigma 2 is flashed on DOM, it is needed on Linux based PC or trough Virtual Machine on Windows based PC with linux to do next :
Copy patch.bin ( Official FW e.g. 0.9.5301 ) in /root/
Send next commands :
dd if=/root/patch.bin of=/root/patch_cramfs.bin bs=56 skip=1
rm -rf /root/patch.bin
mkdir /root/official
mkdir /Patch
mount -t cramfs /root/patch_cramfs.bin /Patch -o loop
cd /Patch
tar -cf - . | tar -C /root/official/ -xpf -
Delete all files and folders, and just leave /root/official/MMP
Then, extract DISK1.rar ( File is attached to this post ) , and copy folders with files in /root/official/
So now, we have in /root/official/ 2 folders :
MMP and DISK1
Now send next command :
mkcramfs /root/official /root/patch.alt
When process is done You will have new file called patch.alt in /root folder ( /root/patch.alt ).
Ofcourse You will need file vmlinux , which is already published in archive Offical FW for USB.
NOTE: Keep in mind that patch.alt file can only be flashed with AzUP 2.0.1 !!!
Copy patch.bin ( Official FW e.g. 0.9.5301 ) in /root/
Send next commands :
dd if=/root/patch.bin of=/root/patch_cramfs.bin bs=56 skip=1
rm -rf /root/patch.bin
mkdir /root/official
mkdir /Patch
mount -t cramfs /root/patch_cramfs.bin /Patch -o loop
cd /Patch
tar -cf - . | tar -C /root/official/ -xpf -
Delete all files and folders, and just leave /root/official/MMP
Then, extract DISK1.rar ( File is attached to this post ) , and copy folders with files in /root/official/
So now, we have in /root/official/ 2 folders :
MMP and DISK1
Now send next command :
mkcramfs /root/official /root/patch.alt
When process is done You will have new file called patch.alt in /root folder ( /root/patch.alt ).
Ofcourse You will need file vmlinux , which is already published in archive Offical FW for USB.
NOTE: Keep in mind that patch.alt file can only be flashed with AzUP 2.0.1 !!!
Для создания архива patch.alt (официальной прошивки AzBox HD) принятой для установки на USB, в то время когда на DOOM установлен имидж E2, необходим компьютер с линуксом, или установленную на Windows виртуальную машину на базе линукса.
Делается следующее:
Копируется файл patch.bin любой версии (например официальный 0.9.5301) в /root/
Посылаются следующие команды:
dd if=/root/patch.bin of=/root/patch_cramfs.bin bs=56 skip=1
rm -rf /root/patch.bin
mkdir /root/official
mkdir /Patch
mount -t cramfs /root/patch_cramfs.bin /Patch -o loop
cd /Patch
tar -cf - . | tar -C /root/official/ -xpf -
Удаляются все файлы и папки и просто остается пустой /root/official/MMP
Теперь разархивируют файл DISK1.rar (в подвеске), и копируют папки с файлами в /root/official/
Теперь мы имеем в /root/official/ 2 папки:
MMP и DISK1
Отправляем следующую команду:
mkcramfs /root/official /root/patch.alt
Когда все будет сделано, вы будете иметь нужную версию официального имиджа с расширением .alt в папке /root ( /root/patch.alt )
Конечно вам также понадобится файл vmlinux, который уже выложен раньше, в архиве Offical FW для USB.
(В подвеске, файл vmlinux.zip)
Имейте ввиду, что patch.alt файл может устанавливаться с версией AzUp, не ниже AzUp 2.0.1.
Источник:
http://www.azbox-enigma.eu/RTi/forum/showthread.php?280-How-to-Make-Official-Firmware-for-Dual-boot
Вложения
Последнее редактирование: