Procedure for installing old firmware?

1. v03.04.01-230 and it wont stop you upgrading. 

  1. No

  2. Not sure I don’t move a lot of large files so not sure if transfer speeds are any different

as a failsafe - we need an option to downgrade firmware properly not via ssh

Thanks for your quick reply. I did it and it works flawlesly.

I folowed this guide :

http://community.wd.com/t5/WD-My-Cloud/GUIDE-Transmission-2-82/td-p/619597/page/10

My speeds are back to 45-50 megs and the dashboard is quite responsive.

Of course I was hoping for a quick fix from WD , like a resigned v3 FW, but my lesson is learned here  :NEVER TRUST WD SOFTWARE UPDATES !!!

1 Like

*repeats*

we need a guide that dosn’t involve ssh

Worked perfectly for me.

Sadly, without SSH enabled I don’t think a downgrade is possible.

i , whitch command i have to send to edit “updateFirmwareFromFile.sh” file ?

Hi,

i found to myself .

First this :

cp  /usr/local/sbin/updateFirmwareFromFile.sh /shares/Public/./updateFirmwareFromFile.sh

after edit the file (i used textpad)

and after this:

cp  /shares/Public/./updateFirmwareFromFile.sh /usr/local/sbin/updateFirmwareFromFile.sh

if you need to download the deb fie , it can be found here :

http://drivers.softpedia.com/get/HDD-SSD-NAS-USB-Flash/Western-Digital/

Worked like a champ.  

Now I have to update the other 3 that I have deployed at customer locations to get them back up to proper operating status. 

What a pain in the arse.  

Unless you know your way around Linux and vi, this is best left alone and pray that WD fixes this Fv(|< up soon.

OK, I’m going to try to make this easy.  Please don’t use this until other experienced users here have verified I’ve not missed anything.  

1.) Download a copy of putty from here:  http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe

2.) Copy these two files to your Public folder on your MYCloud:

  a:)   https://drive.google.com/file/d/0B-0paIVBKCR2bmhDX1Vwb3hRRnM/edit?usp=sharing  #This is the .deb file

  b:)   https://drive.google.com/file/d/0B-0paIVBKCR2bEJuU3ZrS3psMU0/edit?usp=sharing   #This is the updateFirmwareFromFile.sh file that has been edited to allow downgrading.

3.) Run putty and ssh to your mycloud.  username: root   password: welc0me

4.) copy and paste the below commands one at a time in order, into the ssh window.  Do not include the # symbol at the beginning.

cp /usr/local/sbin/updateFirmwareFromFile.sh /usr/local/sbin/updateFirmwareFromFileOLD.sh (this creates a backup of the old update file)

cp /shares/Public/updateFirmwareFromFile.sh /usr/local/sbin/updateFirmwareFromFile.sh

cp /shares/Public/sq-030401-230-20140415.deb /CacheVolume/sq-030401-230-20140415.deb

cd /CacheVolume

 ls (you should see sq-030401-230-20140415.deb listed here), if not STOP and start over).

 updateFirmwareFromFile.sh sq-030401-230-20140415.deb

That’s it.  There will be several long pauses during the process, be patient in about 10 mins the NAS will reboot and be back on 3.x firmware.

Again, until someone post below this and verifies all the steps are proper DO NOT USE THIS!

1 Like

Your linked file  “updateFirmwareFromFile.sh” is original, unedited one.

I Hashed out the 4 lines, and now it is working.

Try to change the link.

So:

The tutorial worked, but my WD My Cloud page still reports firmware 4.0…

You can’t downgrade without SSH.  To downgrade in SSH, change the version number to the one you want, i.e. 03.04.01-230 in the file /etc/version

Then just manually update it via Dashboard.

3 Likes

So simple, Tnynyn.

Thanks.

It worked.

Added in a few details to tquame’s instructions (which are awesome by the way) to help the newbie to ssh complete the firmware downgrade successfully…hopefully this helps. Thanks again to tqaume, Lorrenzo and JoaquinAR which helped me to figure it out for myself: 

1.) Download a copy of putty from here:  http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe (and make sure via the WD My Cloud dashboard to enable ssh in settings)

2.) Copy these two files to your Public folder on your MYCloud:

  a   https://drive.google.com/file/d/0B-0paIVBKCR2bmhDX1Vwb3hRRnM/edit?usp=sharing  #This is the .deb file (don’t forget to right click and extract or unzip the file to just get to the deb file itself)

  b   https://drive.google.com/file/d/0B-0paIVBKCR2bEJuU3ZrS3psMU0/edit?usp=sharing   #This is the updateFirmwareFromFile.sh file that has been edited to allow downgrading. (if it doesn’t work then in putty type in >>

nano /usr/local/sbin/updateFirmwareFromFile.sh        

and scroll down to the bottom of the file to find where it  should say the following, you’ll need  to enter in the # signs before each line then press ctrl X  and then Y to save the file then you can go onto step 4 and continue on

    # if [-z “${update_container}”] && [“${vnew}” -lt “${vnow}”]; then    

    #         error=“failed 200 "invalid firmware package"”    

    #         pre-update_error $error 

    # fi

3.) Run putty and ssh to your mycloud.   username: root   password: welc0me (this is done by entering in the IP address within the "Host Name (or IP address) field within putty and clicking on “Open” at the bottom, then the username will be prompted for, and then the password, you won’t see the password as you type it in though, then just press enter)

4.) copy and paste the below commands one at a time in order, into the ssh window.  Do not include the # symbol at the beginning (after each command press enter, to paste within putty you simply after copying the text from the instructions “right” click within putty to paste where you see the cursor location)

cp /usr/local/sbin/updateFirmwareFromFile.sh /usr/local/sbin/updateFirmwareFromFileOLD.sh (this creates a backup of the old update file)

cp /shares/Public/updateFirmwareFromFile.sh /usr/local/sbin/updateFirmwareFromFile.sh

cp /shares/Public/sq-030401-230-20140415.deb /CacheVolume/sq-030401-230-20140415.deb

cd /CacheVolume

 ls (you should see sq-030401-230-20140415.deb listed here), if not STOP and start over).

 updateFirmwareFromFile.sh sq-030401-230-20140415.deb (if you get an error that says invalid firmware package look at step 2 again in detail and make sure to edit the FirmwareFromFile.sh file within putty)

1 Like

Hi guys

I cannot update to the previous firmware. I have done all the steps but when I type:

updateFirmwareFromFile.sh sq-030401-230-20140415.deb

I get an error message:

-bash: /usr/local/sbin/updateFirmwareFromFile.sh: /bin/bash^M: bad interpreter: No such file or directory

I think it’s an error on the updateFirmwareFromFile.sh file. I have edited it using WordPad.

Can anybody upload in any server the correct and EDITED updateFirmwareFromFile.sh file??

Thanks in advance

BTW, you may just edit /etc/version file via nano and change version from 4 to 2. Then update will go flawlessly.

CLOUD:~# nano /etc/version

File is here, except it is taken from previous firmware, not latest v4.

  https://drive.google.com/file/d/0B0MkQQVqqs20WWxBTVc1OU43ZEE/edit?usp=sharing

Hi xslip

Thanks for the file but I’m seeing that this is the ORIGINAL file, not the MODIFIED.

I need the MODIFIED one with the # before the lines, because if I modify it with WordPad, I get the error message :frowning:

I do not have modified. I suggest you to run 

nano /etc/version 

then change 4 to 2 in it. Then Contrl+X, then Y to save the result

After that this shell script should run correctly. For me it helped without any changes. Also you can modify shell script with the same nano command, insert ‘#’ where needed, than also Cntrl+X and Y to confirm.

Please do not forget to run 

chmod 777 /usr/local/sbin/updateFirmwareFromFile.sh 

This will give full access to file (including rights to run it) to every user of ssh

there’s an easier way to roll back your FW. if you don’t mind voiding your warranty. ill just finish reading the guidelines so i know if i’m gonna violate anything for sharing something.

I finally got WD support team to assist me to downgrade. It’s fairly simple and requires very minimal SSH. I have created a thread with the instructions. Link to the thread -
http://community.wd.com/t5/WD-My-Cloud/Easy-method-to-downgrade-to-previous-version-of-the-firmware/.

Thanks work great :slight_smile:

I have some great sofftware installed and 64k page size not compatible

I’ll banned the 4.00 from my nas