Alternative Firmware (Debian Jessie, Synology DSM6)


ok, i tried it but i can not write to md0 right now “dd: failed to open ‘/dev/mtd0’: Permission denied”.

i’m also interested if there is already a chance to control the fan of the wdmcmg2? …spindown would be also a topic for me. Do you have any information on that?


@Fox_exe …i’m still not able to write to mtd0 :-/


Oh. sorry, this for for Gen2 with one disk.

For other devices - just put you MAC address in /etc/network/interfaces like this:

auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp
	hwaddress ether 00:01:02:03:04:05


i already done this a few days ago. i just asked me why to write that on to a disk and read it again for setup when i can also write it directly down to interfaces :wink:

for automatic fan control i decided to us mcm-deamon ( it’s working just fine.

…one thing that is not working till now is spinning down the disks…

i decided to use hd-idle, because hdparm isn’t working like i would expect it. with hdparm the disks are spinning down and up again immediatly when i want to spin them down manually. with hd-idle it’s working…

i’ve setup log2ram, i run samba in tmpfs and also journald is running in persistent mode that everything got written to /var/log (tmpfs). i have dissabled “system health” logging in OMV…

but there are still some processes writing or reading permanently from disks in short intervals, so there is not enough time without reads/writes for spindown…


I think i fugged up my WD Mirror Gen 2, i´ve read a lot of text here, but wasn´t able to get back to WD Firmware.
Only the WDSM 6.0 Login Window shows up.
Tried format my HDD with Linux, ended in DSM, uImage uRamdisk on USB want to create a new HDD for DSM
Cant login, DSM says IP Blocked for false Login (tried to often), and lost my login name and pw
Pls help *and yes, English isn´t my language :slight_smile:

EDIT: Now i´b back into DSM but how can i now go back, there are so many howto´s


Hi everyone, it’s been a long time since 6.0 version of DSM was launched. Now with 6.2 on the market, any plans to release a .pat file for our WD NAS. I know it’s a time consuming process to convert synology system file to our hardware, but still today I see more pros than OMV.


The Mycloud has some problems with DSM (Synology) / corrupted lib files
I‘m really confused but I try to fix it :smiley:

I try to reverse and edit the newest software (DSM 6.2.x) (DS216) but I don‘t know how to edit the checksum and the hda1.tgz

If you see this post, pls send me an pm :slight_smile:
Have a lot of time.


Hello @AirPain
Run that command as root (sudo su) via telnet

dd if=/dev/zero of=/dev/mtdblock1



After reboot you can access to “WD Recovery” web. (Look for your device IP in your Router)


@Alonia check this:


I get Error 13 / need more information to compile the .pat file correctly.


Kernel build error

root@ubuntu://home/alonia/Downloads/dsm-wdmc-mirror-gen2# bash kernel
make: /home/fox/cc-armada380/bin/arm-unknown-linux-gnueabi-gcc: Command not found
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/
In file included from scripts/kconfig/
scripts/kconfig/menu.c: In function ‘get_symbol_str’:
scripts/kconfig/menu.c:567:18: warning: ‘jump’ may be used uninitialized in this function [-Wmaybe-uninitialized]
jump->offset = r->len - 1;
scripts/kconfig/menu.c:528:19: note: ‘jump’ was declared here
struct jump_key *jump;
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig

*** Configuration file “.config” not found!

*** Please run some configurator (e.g. “make oldconfig” or
*** “make menuconfig” or “make xconfig”).

/home/alonia/Downloads/dsm-wdmc-mirror-gen2/kernel/scripts/kconfig/Makefile:36: recipe for target ‘silentoldconfig’ failed
make[2]: *** [silentoldconfig] Error 1
/home/alonia/Downloads/dsm-wdmc-mirror-gen2/kernel/Makefile:504: recipe for target ‘silentoldconfig’ failed
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target ‘include/config/auto.conf’, needed by ‘include/config/kernel.release’. Stop.


Hmm… I forgot changing this to autodetect… Change in (somethere in header)