Force install firmware

Hello,

I’ve messed with my Cloud too much (a mistake, I shall not do again).  I am no longer able to get into the dashboard.

Is there a way I can force install the firmware using a USB or from windows?

I can still SHH with putty, but no longer can get in with WinSP.

I can still acces the box on my lan and copy/write files, but Ive essentially removed the function of remote access.

If you can ssh in, yes you can force a firmware reload.

See my post in this thread 

http://community.wd.com/t5/WD-My-Cloud/Guide-to-direct-backup-unbrick-disassemble-process-video-like/m-p/628611/highlight/true#M2097

Key script to run: updateFirmwareFromFile.sh

Hello thanks for the replies guys, and I do repent :P.

Ive tried using the command you suggested, but it wont update as mycloud is already up to date, is there an additional command to force it to reinstall?

you will need to ‘echo’ an old firmware to trick the mycloud.  The example below is from a MBL, so you will need to change the firmware version numbers to ones that are appropriate for you

echo 01.01.03>/etc/version

Brilliant, just wondering if someone could copy and paste the code from updatefirmwarefromfile.sh.

Mine was removed so I had to create a new one, however it was copied from a My Book Live… So im wondering if that might be causing problems? 

Thanks again!

And this is a reason that when this is all fixed, I will turn SSH off and never touch it again!

I cannot be trusted!

Another problem, i rebooted the WD and its no longer showing and I cant get in via SSH or WinSCP, the light is still white though…  I may have to open it up.

I was able to use updateFirmwareFromFile.sh  to flash the SAME EXACT firmware version I was running.

This was the last version of the firmware, but I would assume the script has not changed.

The script is dated back in June

WDMyCloud:/usr/local/sbin# ls -al update*
-rwxr-xr-x 1 root root 8289 Jun 21 2013 updateFirmwareFromFile.sh

Regarding the concern of flashing only ONE side of the RAID, the MyCloud is designed to split the md mirror on upgrades.  It flashes one side, boots the new code then re-mirrors itself.

Please read the code!!! :slight_smile:

Here is the log from my recent update, note it doing the HOT remove of the md mirror.

Preparing to replace sq 03.01.04-139 (using …/sq-030301-156-20131230.deb) …
isImage=true
Master package name: sq
sq-preinst: action=upgrade
currentRootDevice=/dev/md0
forked-daapd: no process found
disable lazy init
Restore raid device: /dev/sda1
Restore raid device: /dev/sda2
Prepare for upgrade pkg install…
mdadm: set /dev/sda1 faulty in /dev/md0
mdadm: hot removed /dev/sda1 from /dev/md0
Preparing FW upgrade image on: “/dev/md1”
preinst: currentRootDevice=/dev/md0
preinst: upgradePath=/mnt/rootfs
preinst: upgradePart=/dev/sda1