I can create a recovery tool that reinstalls the correct firmware on the MyCloud EX2 Ultra, but for that, I need the data from the flash memory (I do not have it anymore).
Can somebody please hook up a root shell to a MyCloud EX2 ultra, and execute the following commands
dd if=/dev/mtdblock1 of=mtdblock1
dd if=/dev/mtdblock2 of=mtdblock2
dd if=/dev/mtdblock3 of=mtdblock3
dd if=/dev/mtdblock4 of=mtdblock4
dd if=/dev/mtdblock5 of=mtdblock5
dd if=/dev/mtdblock6 of=mtdblock6
dd if=/dev/mtdblock7 of=mtdblock7
This will create 7 files, which I need to create a recovery tool for the EX2 Ultra. These files contain parts of the original recovery firmware, which I - sadly - bricked on my device.
So, just use this tool: Fox_exe file archive
for unpack original firmware and get uImage, uRamdisk, image.cfs (rootfs) and config.tar.gz
First 3 - just “dd” into flash.
But for config - need create ubifs partition in /dev/mtdblock5 and upload config.tar.gz into this partition (overwrite all files)
On mtdblock7 (ubifs partition) you can find mac address and serial number (as files)
I have created one at /dev/mtd5, but how should I name the volume?
However, I am stuck creating the ubifs, can you please give me some pointers here?
After that, I think it would be possible for me to create a script that reinstalls WD’s firmware, as it has been adressed multiple times here.
I am still interested in a copy of /dev/mtdblock4, this device includes the recovery firmware. This would allow me to create an even better recovery tool, since it would also fix any broken recovery firmware.
thanks for your reply one last question
Ubiattach command is not available on DSM version any idea how to get it on DSM
also when i try to mount the ubifs i get the following error
mount: unknown filesystem type ‘ubifs’
is it possible to use this revert method
======== REVERT =========
dd if=/dev/zero of=/dev/mtdblock1
After this WDMC runs in “Rescue” mode. Go to webgui and upload original firmware file (.bin)
My Box is EX2 not EX2 Ultra
I am not sure if the copy from it will work on your box they have deferent HW
my recommendations is to get the correct image for your Box EX2 Ultra HW Specifications
Thanks again for your help, I really appreciate that.
I have now dd’ed uImage.bin to mtdblock1, uRamdisk.bin to mtdblock2, rootfs.cfs to mtdblock3, and executed the following commands on mtdblock5:
ubiformat on /dev/mtd5, then i have created an ubifs volume with the name config, that fills the whole device, and extracted config.tgz onto it.
Cool. I analyse this file and get some interesting info:
Header contains same data as Firmware file (model code, version, build version, something like CRC32)
And two files: uImage + uRamdisk
If i’m right - we can write this two files in mtd1 and mtd2 and device will boot into recovery (Force recovery mode)
All files and some info here: Fox_exe file archive