Alternative Firmware (Debian Jessie, Synology DSM6)

I’ve done several “reinstalls”, no problem.libsynostoragemgmt.so.pdf (515.3 KB)
But here you go. remove .pdf o/c

@Fox_exe I assume you know your domain expired?:wink: Sent you a few bucks for renewing:)

@Rand, Yeah, i know.
My provider has raised the prices for extension, without having warned the clients. So I have decided to replace him with another, here only to transfer the domain it is necessary to fill a lot of papers and to send them to the Registrator (Main domain control company). Much simple (quicker) to wait until domain expires and register it again in another company.

Anyway my repo still available on Google Drive and here: Anionix.ddns.net

okie dokie :smile:

First of all, great work of everybody here! Awesome work!!

I hope someone can help me: I have MyCloud 3 TB Gen2 (Single Bay) and trying to install DSM.
Created and started from USB stick and selected DSM-wdmc-gen2-8451.pat file in DSM web interface. Everything goes well and completes, but when it restarts, the led is just blinking red, so it fails to boot?

I believe somewhere I read that I have to format the hdd from mbr to gpt when HDD is smaller than 4TB, because DSM will format it then to MBR, but I absolutely don’t know how to do that without instructions. I would really appreciate any help so that I can enjoy DSM as well. Thanks to anybody who can offer me help! :slight_smile:

P.S. Keep up your hard work :wink: really, really nice!

Hello Fox,

Thank you for your hardwork :smile:
I really appreciate your work.

I tried the DSM for WD Mirror Gen 2 on my My Cloud EX2 Ultra
All works but the iSCSI could not enable the targets.

I then followed the instructions to revert back to the WD Firmware and that where I got stuck.

Used Steps for rollback :

Rollback / Change firmware

  1. Enable “SSH Access” in web interface
  2. Login via SSH from your first login (Or any of ligin with Admin privileges)
  3. Type “sudo su” and enter your password again.
    You are “root” now.
  4. Type dd if=/dev/zero of=/dev/mtdblock1
  5. Type reboot

The EX2U is now in safe mode and does not take any new .bin. I have tied Chrome, Firefox, IE, Safari, Browser on OnePlus 3, Windows Phone nothing lets me upload the .bin or any file to the EX2U. I tried to access the NAS by NAME and IP both but still the upload does not work.

Is there any alternative way to upload the firmware to this device?

Regards,
George

Strange…
WD Recovery work, right? But not take any .bin files (Need original firmware for your device. Also try firmware for MyCloud Mirrr Gen2).

Another way - UART access to bootloader and manually reupload firmware to internal flash…

Any idea when the next release will be ready?:slight_smile:
@Fox_exe ?:slight_smile:

Could you make USB and hdd sleep support for MC gen2 3tb (no mirror)?
Everything works well but USB and sleep support would be really nice

Hello Fox,

I get the WD Recovery page but the .bin file upload does not happen. I see a spinning circle on the page after I click upload but I have let that spinning spin for over 5 days but it did not work. Also I do not see any network traffic from my computer to the NAS when I start the upload.

I am not sure how or what to do for the UART that you mentioned. I am no engineer, just a home user. I can buy a UART kit but I dont know what to do next. Can you please help with this?

Regards,
George

Hello Fox,

I got the UART connected and got in the EX2 Ultra. I have sent you a PM with the log file.

Would you please suggest how to recover from this state.

Regards,
George

Hello,

can’t install DSM on EX2 Ultra. Neither with the files under http://anionix.ddns.net/WDMyCloud/WDMyCloud-Mirror-Gen2/DSM/ nor with the files under http://anionix.ddns.net/WDMyCloud/WDMyCloud-Mirror-Gen2/DSM/work-in-progress/. I followed _Info_en.txt.

If I upload pat file ext2 ultra boots to WD Safe Mode.

UART says after pat file upload:

[  127.962762] md: bind<sda1>
[  127.965866] md/raid1:md0: active with 1 out of 2 mirrors
[  127.971239] md0: detected capacity change from 0 to 2549940224
[  131.018988] md: bind<sda2>
[  131.022119] md/raid1:md1: active with 1 out of 2 mirrors
[  131.027569] md1: detected capacity change from 0 to 2147418112
[  131.038402]  md1: unknown partition table
[  131.070319]  md0: unknown partition table
[  132.448130] EXT4-fs (md0): barriers disabled
[  132.463327] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts:
[  132.520425] EXT4-fs (md0): barriers disabled
[  132.533299] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts:
[  132.559100] EXT4-fs (md0): barriers disabled
[  132.573265] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts:
UPDATER: Updater started...
UPDATER: Got params: -v /tmpData
UPDATER: Found hda1.tgz. Installing...
UPDATER: Found uImage. Installing...
UPDATER: Found uRamdisk. Installing...
[  200.651562] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  200.658658] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  200.665921] end_request: I/O error, dev mtdblock2, sector 5120
[  200.671780] Buffer I/O error on device mtdblock2, logical block 640
[  200.678071] lost page write due to I/O error on mtdblock2
[  200.683518] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  200.690597] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  200.697860] end_request: I/O error, dev mtdblock2, sector 5128
[  200.703717] Buffer I/O error on device mtdblock2, logical block 641
[  200.710008] lost page write due to I/O error on mtdblock2
[  200.715450] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  200.722529] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  200.729789] end_request: I/O error, dev mtdblock2, sector 5136
[  200.735648] Buffer I/O error on device mtdblock2, logical block 642
[  200.741940] lost page write due to I/O error on mtdblock2
[  200.747381] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  200.754467] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  200.761719] end_request: I/O error, dev mtdblock2, sector 5144
[  200.767596] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  200.774682] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[...]
[  205.662685] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  205.669769] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  205.677028] blk_update_request: 683 callbacks suppressed
[  205.682362] end_request: I/O error, dev mtdblock2, sector 7880
[  205.688220] Buffer I/O error on device mtdblock2, logical block 985
[  205.694510] lost page write due to I/O error on mtdblock2
[  205.699953] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  205.707038] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  205.714297] end_request: I/O error, dev mtdblock2, sector 7888
[  205.720155] Buffer I/O error on device mtdblock2, logical block 986
[  205.726446] lost page write due to I/O error on mtdblock2
[  205.731886] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  205.738970] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  205.746229] end_request: I/O error, dev mtdblock2, sector 7896
[  205.752088] Buffer I/O error on device mtdblock2, logical block 987
[  205.758378] lost page write due to I/O error on mtdblock2
[  205.763818] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  205.770896] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  205.778155] end_request: I/O error, dev mtdblock2, sector 7904
[  205.784032] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  205.791110] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[...]
[  210.691194] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  210.698280] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  210.705540] blk_update_request: 479 callbacks suppressed
[  210.710874] end_request: I/O error, dev mtdblock2, sector 5768
[  210.716730] Buffer I/O error on device mtdblock2, logical block 721
[  210.723021] lost page write due to I/O error on mtdblock2
[  210.728461] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  210.735547] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  210.742799] end_request: I/O error, dev mtdblock2, sector 5776
[  210.748655] Buffer I/O error on device mtdblock2, logical block 722
[  210.754946] lost page write due to I/O error on mtdblock2
[  210.760386] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  210.767471] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  210.774730] end_request: I/O error, dev mtdblock2, sector 5784
[  210.780588] Buffer I/O error on device mtdblock2, logical block 723
[  210.786878] lost page write due to I/O error on mtdblock2
[  210.792316] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  210.799399] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  210.806659] end_request: I/O error, dev mtdblock2, sector 5792
[  210.812528] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  210.819614] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[...]
[  215.700002] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  215.707085] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  215.714345] blk_update_request: 679 callbacks suppressed
[  215.719680] end_request: I/O error, dev mtdblock2, sector 8512
[  215.725537] Buffer I/O error on device mtdblock2, logical block 1064
[  215.731916] lost page write due to I/O error on mtdblock2
[  215.737356] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  215.744441] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  215.751693] end_request: I/O error, dev mtdblock2, sector 8520
[  215.757549] Buffer I/O error on device mtdblock2, logical block 1065
[  215.763928] lost page write due to I/O error on mtdblock2
[  215.769368] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  215.776454] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  215.783714] end_request: I/O error, dev mtdblock2, sector 8528
[  215.789572] Buffer I/O error on device mtdblock2, logical block 1066
[  215.795950] lost page write due to I/O error on mtdblock2
[  215.801387] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  215.808471] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[  215.815730] end_request: I/O error, dev mtdblock2, sector 8536
[  215.821600] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  215.828686] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
[...]
[  216.512435] nand_erase_nand: attempt to erase a bad block at page 0x000018c0
[  216.519527] mtdblock: erase of region [0x260000, 0x20000] on "uRamdisk" failed
UPDATER: Done.
The system is g[  224.011388] md: md0 in immediate safe mode
Sent SIGKILL to[  224.015530] md: md1 in immediate safe mode
 all processes
Unmounting all file systems.
Unmounting /sys/kernel/debug ...
Unmounting /proc/bus/usb ...
Unmounting /sys ...
Unmounting /dev/pts ...
Unmounting /dev ...
Unmounting /tmp ...
Unmounting / ...
All file systems unmounted.
Requesting system reboot
[  231.018330] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  231.023722] xhci-hcd f10f8000.usb3: remove, state 1
[  231.028630] usb usb2: USB disconnect, device number 1
[  231.033945] xhci-hcd f10f8000.usb3: USB bus 2 deregistered
[  231.039456] xhci-hcd f10f8000.usb3: remove, state 1
[  231.044372] usb usb1: USB disconnect, device number 1
[  231.049673] xhci-hcd f10f8000.usb3: USB bus 1 deregistered
[  231.055219] Shutting Down Marvell Ethernet Driver
[  231.063270] eth0: link up, full duplex, speed 1 Gbps
[  231.068345] Restarting system.

In Save Mode I can flash original firmware and everything is ok but no other bin because this results in booting to Save Mode.

What can I do?

Greetings
Teekanne

I have done it. I have restart wd ex2 ultra, then i have install wd-to-dsm.bin in recovery mode again and after that i could access dsm webinterface.

One problem i have found, no icons under control panel.

greetings and thanks for the work.

Teekanne

I provide my time for porting dsm to wd my cloud ex2 ultra. Please give me instructions. I have urta cable if needed. C++ coding is possible if i can test code on my own ex2 ultra.

@Fox_exe Hello
Thank you for your time and effort put into those firmware
I have an Ex2 ultra
I’ve read many post from this very very long thread, some on other thread, and your ‘documentation’ on anionix.ddns.net/
I would like to have more freedom and a correct NAS software, and what I understand is that:

  • DSM is available using WDMyCloud/WDMyCloud-Mirror-Gen2/DSM/wd-to-dsm.bin but it’s not stable (reboot) and has file corruption
  • Debian is available without a correct fan support… but from which file? WDMyCloud-Mirror-Gen2/Debian/Debian-Installer_armhf or WDMyCloud-Ex2-Ultra/Debian/ ? And How should it be done, and with which Rollback, please?
    Thank you

you’ve lost the domain anionix.ru : you should update all links or at least the first post on this thread to avoid phishing

Hi, I’m back
@Rand
Become the lib files still corrupted? Or is it fixed in the newest release? I am curious because this was the reason to stop using the firmware.

@Q-Fireball - There has not been a new release that I am aware of sadly :frowning:

@Fox_exe - Is this FW dead or on hiatus only?

@Rand, No time for develop. Too busy at new job.

Good for you- the new job I mean :slight_smile: (I hope;))
Is the expectation that this will calm down in a couple of months? Or don’t you think so?

Yes, i still want to make a full-worked-firmware.