If you booted after placing it there, it's gone between reboots.
it does not seem to like the firmware it was still in /tmp, no reboots.
C:\Users\Foz\Desktop\Router\Dynalink DL-WRX36\Stock image>certutil -hashfile dynalink-dl-wrx36.oem.ubi MD5
MD5 hash of dynalink-dl-wrx36.oem.ubi:
c368dbf24e24df16d61b97a40feb5a92
CertUtil: -hashfile command completed successfully.
How did you place the file in /tmp ?
i use Winscp, this is not user error unless i am mistaken, there is a problem with the file, this is why i asked if this was the stock firmware or if the fw needed to be dumped as per thread. The wiki reads like I can just download the file provided and return to stock with the commands. this does not seem to be the case?
i am booting from openwrt-23.05.3-ipq807x-generic-dynalink_dl-wrx36-initramfs-uImage.itb on usb drive not sure if this makes any difference.
cheers
ubiformat: error!: cannot open "dynalink-dl-wrx36.oem.ubi"
error 2 (No such file or directory)
Does kind of sound like an user error
downloaded the mega.nz, checksum correct, renamed file, sent to /tmp with winscp ran
ubiformat /dev/mtd18 -y -f /tmp/dynalink-dl-wrx36.oem.ubi
get the error.
where am i going wrong please?
is the USB itb image wrong?
ls -l /tmp/dynalink-dl-wrx36.oem.ubi
The file was in there, no reboots, the file was still in there when i popped it on dd-wrt rather than leave in none bootable state over night. I did the same procedure, winscp factory_image.ubi to /tmp to flash dd-wrt and that worked but I want to go to stock.
Has anyone got a working oem.ubi stock image so i can return to Dynalink stock please?
There's info to return to stock on the wiki
As per the last few posts above, this file doesn't seem to work hence the reason for asking.
I'm just following the wiki....
the md5 checksum matches the file downloaded from mega.nz.
Now from that file you need to extract the stock rootfs
.
Follow the information starting at:
From a PC:
1: Identify position of rootfs ubi from OEM firmware image:
That's where the confusion is, I asked if this was stock firmware above and was told to flash it then implied i had not transfered the file to /tmp correctly, The wiki not clear as this states "Capture an OTA image or download from the forum post.
There seems to have been some u-boot issue reading the thread, where is the u-boot version? is this in the initramfs-uImage.itb usb version? 2022.Q4 u-boot dumpimage?
cheers
I haven't kept up with the u-boot issue, I'm not sure sorry.
Hopefully someone else may chime in.
Like I mentioned, I just read the wiki and noticed that you were missing a step.
The image from mega.nz is version 1.10.01.201. The following user was able to restore to OEM using the image.
You need to follow the instructions in the post and use dumpimage to extract the ubi file rather than just renaming the .bin file to ubi. If you have trouble with this, I can extract and upload this for you.
So would need a linux pc for dumpimage?
It seems I wrongly assumed that dumpimage program was built into the bootable recovery initramfs-uImage.itb USB version i was using. (My bad)
It would be great if someone would share the return to stock firmware for the Dynalink.
The way the file was created
user@machine ~/Downloads ❯ md5sum Dynalink-RT5010W-d350-V1.10.01.201_sysupgrade_firmware_wififw.bin
c368dbf24e24df16d61b97a40feb5a92 Dynalink-RT5010W-d350-V1.10.01.201_sysupgrade_firmware_wififw.bin
user@machine ~/Downloads ❯ dumpimage -l Dynalink-RT5010W-d350-V1.10.01.201_sysupgrade_firmware_wififw.bin
Image contains unit addresses @, this will break signing
FIT description: Dynalink_RT5010W-D350 Sysupgrade_Image 1.10.01.201
Created: Wed Mar 23 19:05:07 2022
Image 0 (askey-rootfs)
Description: rt5010w-d350-ubi-root.img
Created: Wed Mar 23 19:05:07 2022
Type: Firmware
Compression: uncompressed
Data Size: 42729472 Bytes = 41728.00 KiB = 40.75 MiB
Architecture: ARM
OS: Unknown OS
Load Address: unavailable
Hash algo: crc32
Hash value: 64531456
Image 1 (wififw_v1-rt5010w)
Description: rt5010w-d350-ubi-wififw.img
Created: Wed Mar 23 19:05:07 2022
Type: Firmware
Compression: uncompressed
Data Size: 2097152 Bytes = 2048.00 KiB = 2.00 MiB
Architecture: ARM
OS: Unknown OS
Load Address: unavailable
Hash algo: crc32
Hash value: daa41489
Image 2 (wififw_v2-rt5010w)
Description: rt5010w-d350-ubi-wififw_v2.img
Created: Wed Mar 23 19:05:07 2022
Type: Firmware
Compression: uncompressed
Data Size: 2490368 Bytes = 2432.00 KiB = 2.38 MiB
Architecture: ARM
OS: Unknown OS
Load Address: unavailable
Hash algo: crc32
Hash value: a5d44389
user@machine ~/Downloads ❯ dumpimage -T flat_dt -p 0 -o dynalink-dl-wrx36.oem.ubi Dynalink-RT5010W-d350-V1.10.01.201_sysupgrade_firmware_wififw.bin
Image contains unit addresses @, this will break signing
Extracted:
Image 0 (askey-rootfs)
Description: rt5010w-d350-ubi-root.img
Created: Wed Mar 23 19:05:07 2022
Type: Firmware
Compression: uncompressed
Data Size: 42729472 Bytes = 41728.00 KiB = 40.75 MiB
Architecture: ARM
OS: Unknown OS
Load Address: unavailable
Hash algo: crc32
Hash value: 64531456
user@machine ~/Downloads ❯ md5sum dynalink-dl-wrx36.oem.ubi
8271049b70a4eb7c6847918064588bc6 dynalink-dl-wrx36.oem.ubi
Here is the file
Thank you so much, i really appreciate your time helping me. I will download when home on pc.
Just wanted to say that's worked thank you very much.