Recommended Posts

Hi all,

 

It is possible to get the DS412+ to boot from an external USB drive, I have done this successfully with an A-DATA C802.

Normally the NAS will not boot any old USB you connect to it, regardless of whether the drive is in the front USB port or the back. It turns out the BIOS is locked to only boot a certain VID/PID (F400 for both) so even if you clone the internal USB to an external drive it will not boot.

 

This has been a problem for me.. until now!

 

Attached is a ChipGenius dump of the original onboard controller showing VID/PID, device vendor, device name, manufacturer, product model and device revision. This is obtained by connecting the DS412+ onboard flash to a PC using the pinout in my other post. (synology-orig-flash.png)

 

Also attached is a dump of the original A-DATA C802 (a-data-c802-orig.png)

 

And finally, the modified A-DATA C802 (c802-modded.png) - the DS412+ will happily boot from this with a dd'd clone of the original flash. Happily, the size of this disk is 4G, much larger than the original internal flash (128mb), so now I can work on putting a whole Debian install on the USB drive and have the DS boot it.

 

Also attached is a tool that allows you to change USBest UT165 vendor/etc details (hwupgv1010v3.rar). I wouldn't try it on other USB sticks, verify you have a USBest UT165 with ChipGenius before proceeding.

 

Happy hacking...

synology-orig-flash.png

a-data-c802-orig.png

c802-modded.png

hwupgv1010v3.rar

Share this post


Link to post
Share on other sites

I should also note - I don't think the NAS will boot from the rear USB ports, only the front one.

Share this post


Link to post
Share on other sites

hallo,

 

interesting, i kind of think it the other way around, like if i get a dump of a 918+ and write it to usb flash drive on which i can change vid/pid and serial number i will be able to use that usb drive a non synology hardware to boot up the 918+ image? kind of what jun's loader does but instead of changing the vid/pid in the dsm software to the one of the hardware used it will be changing the vid/pid of the hardware to the one dsm expects to find

 

 

Share this post


Link to post
Share on other sites

Sorry - I won't post a flash dump for legal reasons - take the flash daughterboard out (it's probably USB but confirm) and dump it yourself.

I'm focused on running mainstream Linux on the Synology hardware instead of DSM, because I am not sure the Synology DSM code is sufficiently secure for my application.

Share this post


Link to post
Share on other sites

Do you think your method could be used to recover a faulty DS411?

I have one of those and the internal flash got corrupted so it wont boot (blue light of death)

I've tried serial connection to reflash the boot image, but it failed, but if I could create a usb to boot from I've have the NAS back

The boot flash is on-board so cant be removed, but have another working DS411 that I could 'hack' for the image.

Share this post


Link to post
Share on other sites

interssring topic !

my spare DS1511+ is able to boot and install DSM, with the original flash module also connected from the backside usb ports.

I am still not able to boot from my cloned USB stick, cloned from the original flash module of synology.
I also tried adding the PID and VID valeus of my own usb-stick, to the Grub config file but that did not work so far..

 

If I understand what you wrote, than I have to hardmod the PID and VID valeus of my own usb-stick, to get it working ?
I don't really understand this part how it works...

 

Share this post


Link to post
Share on other sites
Posted (edited)

@wool
I'm searching for a compatible USb Stick, is the A-DATA C802 still available to buy ?
I can't find this usb flash drive anymore in stores...
Maybay there is a good other flash drive that would work ??

And using HWUpg tool, saving the configration will back-up everything for emergency ?
What is the best way to back-up the current configuration... ?

My DS1511+ and DS1512+ both use VID/PID F400.. 

How does it actually work ?

Is it just as simple as changing the Vendor name VID PID etc, and click on start ?
How does this changing process works.. ?

Edited by FlorisVN

Share this post


Link to post
Share on other sites
On 10-2-2018 at 12:26 PM, sbv3000 said:

Do you think your method could be used to recover a faulty DS411?

I have one of those and the internal flash got corrupted so it wont boot (blue light of death)

I've tried serial connection to reflash the boot image, but it failed, but if I could create a usb to boot from I've have the NAS back

The boot flash is on-board so cant be removed, but have another working DS411 that I could 'hack' for the image.


Which model is this, DS411+ ??

Share this post


Link to post
Share on other sites
On 04/04/2018 at 8:13 PM, FlorisVN said:


Which model is this, DS411+ ??

its an old 411j

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now