Jump to content
XPEnology Community

DS412+ USB flash module pinout


wool

Recommended Posts

16 hours ago, Aetherone said:

Wow, it actually works.
DS1812+ booting DSM from the modified Lexar Jumpdrive 4GB, plugged into the USB2 ports on the back of the motherboard (there's no front ports on this model).
I know it's booting from the jumpdrive because the stock DOM is sitting on the desk next to me 🙃

 

So now I humbly ask: where to?

  • DS1812+
  • DSM 6.2.4-25556 U7 currently installed
  • dd if=/dev/synoboot of=/volume1/myShare/DS1812+synoboot-6.2.4u7.img successfully captured
  • USB stick sorted and working
  • One drive currently, nothing important on it - can wipe and do whatever
  • DS1813+ PATS 25556 & 42218 sitting on my local drives.

Three thoughts for my afternoon

  • Go back and start reading this post from the beginning yet again
  • Spool up a Linux machine to make fiddling with files on the DOM easier?
  • Get out a windows XP machine and see if the Phison DOM I have can be UID/VID modded there

At this stage I'm working with the assumption the Phison DOM I have here can't be modded so I'll do all the experiments with the USB stick and when it's operational, DD it again and then write that image back to the Synology DOM and keep the USB as backup incase the Synology one dies.

 

thanks

 

I hope you only have a maximum of 2GB RAM. Otherwise, the device is only suitable as a door stop ;-)

Link to comment
Share on other sites

2 hours ago, DSfuchs said:

I hope you only have a maximum of 2GB RAM. Otherwise, the device is only suitable as a door stop ;-)


4 & 6Gb were both suffering badly with the CPU usage bug. So it's happily been running with 3 now for several weeks. Whats with 2? I put the spare 1 into it's 1513+ brother and that seems happy as a clam with 3Gb too?

Yes it counted, recognised and passed memtest with 6Gb (2+4). Pity the CPU usage was nuts and the performance severely affected.

 

Post #35 then?  Just the four files seems almost too easy?

Link to comment
Share on other sites

7 hours ago, Aetherone said:


4 & 6Gb were both suffering badly with the CPU usage bug. So it's happily been running with 3 now for several weeks. Whats with 2? I put the spare 1 into it's 1513+ brother and that seems happy as a clam with 3Gb too?

Yes it counted, recognised and passed memtest with 6Gb (2+4). Pity the CPU usage was nuts and the performance severely affected.

 

Post #35 then?  Just the four files seems almost too easy?

Hello, yes if the motherboard has 2 slots for RAM, then 3GB is also great. I was under the assumption that only RackStations had this.

With my RS812+ it was just a matter of finding the right combination of memory module manufacturers. 2x original Synology didn't work.

 

And yes, with #35 it is very easy to change the model in 10 minutes, including a restart and without screwdriver.

  • Like 1
Link to comment
Share on other sites

Posted (edited)
36 minutes ago, DSfuchs said:

And yes, with #35 it is very easy to change the model in 10 minutes, including a restart and without screwdriver.

Thanks. Wish me luck!
 

Before I pull the copy trigger, any idea how the 1813 will deal with the missing two ethernet ports? ... or send it and see?

Is there any need to downgrade from U7 first? ... or send it and see?
 

I'm hoping that with a known good backup of the synoboot that if things don't go to plan, all I'll need to do to un-door-stop it is re-apply the flash image?

Edited by Aetherone
Link to comment
Share on other sites

Posted (edited)
4 hours ago, Aetherone said:

Thanks. Wish me luck!
 

Before I pull the copy trigger, any idea how the 1813 will deal with the missing two ethernet ports? ... or send it and see?

Is there any need to downgrade from U7 first? ... or send it and see?
 

I'm hoping that with a known good backup of the synoboot that if things don't go to plan, all I'll need to do to un-door-stop it is re-apply the flash image?

I don't overwrite the files at all. I create a directory (in mc with F7) such as DSM6.2.4u7 and move (in mc F6) the files there for possible recovery. First change to this directory as the target on one page of the mc.

 

There is absolutely nothing wrong without a downgrade if nothing essential has been defined on the hard drive anyway.

 

In any case, no MACs are defined for other Ethernet interfaces. To do this you would have to expand the vender file to include this.

Edited by DSfuchs
Link to comment
Share on other sites

On 4/7/2024 at 12:07 AM, DSfuchs said:

I don't overwrite the files at all. I create a directory (in mc with F7) such as DSM6.2.4u7 and move (in mc F6) the files there for possible recovery.

 

Good plan, I did that.

In the end it was deceptively easy to persuade my DS1812+ it is really a DS1813+ instead. I didn't bother to downgrade, just installed a blank old SSD, did the file exchange and booted it up ... tada! DS1813+ reporting for duty!

 

To summarise for those who follow (keeping in ind I kept mine simple - one drive; last DS1812+ OS installed; no important data to lose - even if this works, your DSM version is going to be out of date so I'd be VERY cautious about exposing this to the internet).
 

1. Starting with a working NAS unit, log in to the SSH console and

dd if=/dev/synoboot of=/volume1/myShare/DS1812+synoboot-6.2.4u7.img

I'm not sure if you need any SynoCommunity packages to get DD. They're pretty worth it for lots of useful utilities.

We've started here because a backup image of your Synology is flat out a GOOD thing to have. Remember to put it somewhere safe (NOT on the NAS!)

2. boost your ram to 2 or 3gb. Single rank memory for these old units. Samsung seems to have a decent rep. 4Gb and above trigger the CPU usage bug for me so as nice as that much free ram is, it's at significant performance cost.


3. The really hard part - find a USB stick you can boot the machine from.  It has to be something with an older chipset where the manufacturing tools have been leaked.
USB-A or small port DOM doesn't matter, making the stick F400/F400 is the important bit. For me a Toshiba flash based DOM didn't work even with the MFG tools, but a 4Gb Lexar Jumpdrive Firefly did.

 

Strictly, you don't need the DOM if you have a working stock flash and a backup, but I'm cautious like that.

 

4. Once you have the stick, flash it with the DD image you used up there. I used Rufus under Windows to do mine.

 

5. Open the NAS, remove the stock DOM and see if it'll boot from your DIY media.

 

6. Assuming it booted, you now need the DS1813+ PAT file. Since my unit was updated to 6.2.4u7, I grabbed the appropriate 1813+ version "DSM_DS1813+_25556.pat".

This is where you refer back to post #35 in this thread - open "DSM_DS1813+_25556.pat" with 7zip and extract 4 files (Thanks DSfuchs for the image).

 

1748473103_filestoexchangeonpartition2.JPG.d7c0621bcfe2e67b3523e4b74c7ae7de.thumb.JPG.21efb6c4a27b68a427fca81f5db4785e.JPG

 

Windows didn't want to play ball for me with mounting the tiny DOM partitions so I used a Linux box instead. If you're handy with the command line or "Midnight Commander" you can do this right on the NAS (if you're brave enough, on the stock DOM no less).

 

With an abundance of caution, I made two folders in the second partition - 1812 files and 1813 files. Move the four relevant files to the 1812 folder for safekeeping and copy the 1813 files to the root of the partition.
That's it, job done.
Yeah, it seems too easy but it's really all there is for this.

Dismount the stick, plug it into the bootable port on the NAS, slot in a blank drive and fire it up.

After a couple of nervous minutes, my unit emitted a happy beep and showed up on the network as a DS1813+ (original serial number and MAC addresses to boot). With a blank drive in it, I fed the installer the "DSM_DS1813+_25556.pat" file and let it do it's thing.

 

AFTERHAX.thumb.jpg.255f9d5ebb77d46db8747d3f32466603.jpg

 

Network performance appears unchanged, all my usual swath of apps installed fine, no complaints anywhere I can see. It's just working 🤑

Next step I guess will be to make a new backup of the USB boot image (see step 1 above) and then see if it'll upgrade to DSM 7.

After that, I guess I'll give it a few weeks to be absolutely sure and then look at cloning the USB stick back to the stock DOM and buttoning the old girl up for the next 4-5-6 years.

 

Thanks for the advice DSfuchs!

 

 

Link to comment
Share on other sites

Posted (edited)
49 minutes ago, Aetherone said:

Next step I guess will be to make a new backup of the USB boot image (see step 1 above) and then see if it'll upgrade to DSM 7

 

Bugger. Feeding it the "DSM_DS1813+_42218.pat" (AKA DSM v7.0.1) results in error "Incompatible upgrade file." Guess it's not fully convinced it's an 1813?

Edited by Aetherone
Link to comment
Share on other sites

15 minutes ago, Aetherone said:

 

Bugger. Feeding it the "DSM_DS1813+_42218.pat" (AKA DSM v7.0.1) results in error "Incompatible upgrade file." Guess it's not fully convinced it's an 1813...

 

Ah HA!
Can't upgrade 12-13 Hackinology from DSM 6.2.4 to 7.0.1, it'll throw that "Incompatible upgrade file" error.
Can FRESH install 7.1.1 once you've reset the system (or fed it new drives or whatever). So glad I've got a stash of old small SATA SSDs kicking about.

 

AFTERHAX711u6.jpg.1680b297fc12a53d73d2c59bba07e5e1.jpg

  • Like 1
Link to comment
Share on other sites

3 hours ago, Aetherone said:

 

Bugger. Feeding it the "DSM_DS1813+_42218.pat" (AKA DSM v7.0.1) results in error "Incompatible upgrade file." Guess it's not fully convinced it's an 1813?

That's why the downgrade to update 5 is necessary.

Link to comment
Share on other sites

7 hours ago, DSfuchs said:

That's why the downgrade to update 5 is necessary.


There we go. I missed that note further back up the thread.  Good thing it's solvable with a clean HDD installation - which is probably best practice when screwing around with a NAS at this level - don't have ANY data on it you can't afford to lose!

I imagine this process is vastly more complicated if your original DOM has died. Is there any way of getting the files from a PAT or do you need a kind stranger to share their image?

Link to comment
Share on other sites

Posted (edited)
9 hours ago, Aetherone said:


There we go. I missed that note further back up the thread.  Good thing it's solvable with a clean HDD installation - which is probably best practice when screwing around with a NAS at this level - don't have ANY data on it you can't afford to lose!

I imagine this process is vastly more complicated if your original DOM has died. Is there any way of getting the files from a PAT or do you need a kind stranger to share their image?

If the original DOM has died, it is much more complicated because it can come unprepared without backup and replacement hardware.
The data cannot be restored from a PAT file. Firstly, because files are missing, and the individual license file has also been lost.
For example, I can reconstruct the license file, but you may need a friendly stranger for the bootloader of your Synology model, or you can build a new one from a model of the same CPU family if you have such a device.

Edited by DSfuchs
  • Like 1
Link to comment
Share on other sites

Update: external USB stick partitions DD imaged and restored back to the stock DOM, all buttoned up and running very nicely.

 

While I had the lid off I tried extra ram again under DSM7 - 6GB upset it as expected, just instantly maxing a CPU core with any interaction at all. However, unlike my DSM6 experience, 4GB is running fine and dandy. System is responsive and behaves as expected - no sign at all of the CPU usage bug. Interesting.

Since DSM7.1.1 supports it, I also tested SMB multichannel - which works surprisingly well with some transfers hitting over 200MBps until the tiny ancient 120Gb SSD I've been using for testing runs out of cache 🤐. Watching htop shows SMB-MC pinning the CPU pretty hard though.

Well worth the effort to buy this old workhorse a few more years. 😎

Link to comment
Share on other sites

On 4/10/2024 at 2:08 PM, Aetherone said:

Update: external USB stick partitions DD imaged and restored back to the stock DOM, all buttoned up and running very nicely.

 

While I had the lid off I tried extra ram again under DSM7 - 6GB upset it as expected, just instantly maxing a CPU core with any interaction at all. However, unlike my DSM6 experience, 4GB is running fine and dandy. System is responsive and behaves as expected - no sign at all of the CPU usage bug. Interesting.

Since DSM7.1.1 supports it, I also tested SMB multichannel - which works surprisingly well with some transfers hitting over 200MBps until the tiny ancient 120Gb SSD I've been using for testing runs out of cache 🤐. Watching htop shows SMB-MC pinning the CPU pretty hard though.

Well worth the effort to buy this old workhorse a few more years. 😎

No, the CPU usage problem will always arise sooner or later depending on the usage of applications. That could even be half an hour later. There is no installation where this is not the case. The system throughput, CPU and RAM, drops by approximately 80% to 20% performance.
For example, installing the JAVA package does not take 2, but rather 15 minutes. Scrolling through the inbox in the mail station doesn't take a maximum of 1 second, but almost 5.

Link to comment
Share on other sites

13 hours ago, DSfuchs said:

For example, installing the JAVA package does not take 2, but rather 15 minutes.

 

Exactly what we see with the memory bug & I'm not the first to note it - although I don't think anyone has tried on DSM7 with these older CPUs.

Between 1 and 4GB of ram, system behaves as expected - transfers are wire speed and the UI is nice and responsive. Applications install and perform just fine, everything is ticketyboo for weeks, if not months - and with my tame application requirements, I fully expect a NAS to operate seamlessly for multiple months on end. The only reason for a reboot is a power outage longer than the UPS can sustain or a firmware upgrade.

I'm not quite sure why my 1812 saw the issue with DSM6 on 4Gb and DSM7 doesn't.
 

Going over the 4GB mark has some interesting side effects where the CPU is constantly maxing out with tasks that barely tickle it with <4.
This is fully apparent after a fresh boot with a fresh install with nothing more than stock apps.
The system is affected to the point where writing to it over the network is severely limited - what was a flatline 110MBps copy is now struggling to hold 40-50 with frequent pauses despite there now being more memory available to the system. Immediate fix is remove memory.
Intel did only rate the D2700 for 4Gb of ram so perhaps there's a design flaw or a deliberate performance crippling once you exceed that amount.

Link to comment
Share on other sites

Posted (edited)
10 hours ago, Aetherone said:

 

Exactly what we see with the memory bug & I'm not the first to note it - although I don't think anyone has tried on DSM7 with these older CPUs.

Between 1 and 4GB of ram, system behaves as expected - transfers are wire speed and the UI is nice and responsive. Applications install and perform just fine, everything is ticketyboo for weeks, if not months - and with my tame application requirements, I fully expect a NAS to operate seamlessly for multiple months on end. The only reason for a reboot is a power outage longer than the UPS can sustain or a firmware upgrade.

I'm not quite sure why my 1812 saw the issue with DSM6 on 4Gb and DSM7 doesn't.
 

Going over the 4GB mark has some interesting side effects where the CPU is constantly maxing out with tasks that barely tickle it with <4.
This is fully apparent after a fresh boot with a fresh install with nothing more than stock apps.
The system is affected to the point where writing to it over the network is severely limited - what was a flatline 110MBps copy is now struggling to hold 40-50 with frequent pauses despite there now being more memory available to the system. Immediate fix is remove memory.
Intel did only rate the D2700 for 4Gb of ram so perhaps there's a design flaw or a deliberate performance crippling once you exceed that amount.

As far as I know, I also had it with DSM7. When I get home, I'll check again with the latest DSM7.

Edited by DSfuchs
Link to comment
Share on other sites

HA!
After a whole lot of fiddling I got the right combination of files to flash my Phison drives to F400.  Turns out the various packages on usbdev.ru are incomplete - I needed "Phison_MPALL_v5.13.0C.rar" for an operational flashtool AND "firmware_ps2251-03.rar" for the correct firmware files to flash my units.

Thanks to @Xeondile for the correct settings once this lot was cobbled together.

BEFORE
ChipGenius_OUTPUT_BEFORE.thumb.PNG.61d23463a6735b6003274ed99be91163.PNG

 

AFTER

ChipGenius_OUTPUT_AFTER.thumb.PNG.99c7ee64c9c97807d9c71845bed93af6.PNG

 

The settings once the firmware BIN was loaded into the folder.

Screenshot2024-04-11065015-possiblephisonsettings.thumb.jpg.9ef24acec05ac36bc033c3134fb745aa.jpg

As above, some caution would be advised - a small number of online virus checkers flag these as potentially hostile but none of them can agree on exactly what the malware is so I'm not convinced it's a false positive given what these programs are designed to do. Still, be careful & use them offline, preferably from a disposable temporary Windows install.

 

Link to comment
Share on other sites

On 4/19/2024 at 1:23 PM, Dionutzu said:

My Synology DS412+ is back online!!!
Manny thanks to DSfuchs, is the best!
💪🍻

Dear Dionutzu!

 

Today, after a simple restart, the DS412+ did not restart, only the blue power button LED blinked. I disassembled the NAS, cleaned it up, replaced the basics, tested (RAM, power supply). I concluded that the FLASH drive may have failed. Can you summarize for me what you did to get the NAS to start again? Thank you!

Link to comment
Share on other sites

Posted (edited)
2 hours ago, DjMcM said:

Dear Dionutzu!

 

Today, after a simple restart, the DS412+ did not restart, only the blue power button LED blinked. I disassembled the NAS, cleaned it up, replaced the basics, tested (RAM, power supply). I concluded that the FLASH drive may have failed. Can you summarize for me what you did to get the NAS to start again? Thank you!

We just re-flashed the internal FLASH drive. A cable such as EAN: 4043718082452 is required.

 

If the hardware is defective, you can use a suitable USB stick for it that is plugged into the front socket.

Edited by DSfuchs
Link to comment
Share on other sites

1 hour ago, DSfuchs said:

We just re-flashed the internal FLASH drive. A cable such as EAN: 4043718082452 is required.

 

If the hardware is defective, you can use a suitable USB stick for it that is plugged into the front socket.

Great! I was thinking the same thing. Do you happen to have a downloadable image file for ds412+ that can be written if the factory flash is completely dead? Can any usb stick be connected? Thanks!

Link to comment
Share on other sites

Posted (edited)
55 minutes ago, DjMcM said:

Great! I was thinking the same thing. Do you happen to have a downloadable image file for ds412+ that can be written if the factory flash is completely dead? Can any usb stick be connected? Thanks!

First, it must be determined whether the DOM is working and, if so, whether files are missing or need to be overwritten. There is also an individual device file that enables the unique DSM license purchased with the device to be used. And of course it would be easier and quicker to flash your DOM backup if you had created it beforehand. But it is possible to reconstruct everything.


If you can still create an image of your DOM, I can happily check and if applicable can give you tips on reconstruction.

 

 

Edited by DSfuchs
Link to comment
Share on other sites

37 minutes ago, DSfuchs said:

First, it must be determined whether the DOM is working and, if so, whether files are missing or need to be overwritten. There is also an individual device file that enables the unique DSM license purchased with the device to be used. And of course it would be easier and quicker to flash your DOM backup if you had created it beforehand. But it is possible to reconstruct everything.


If you can still create an image of your DOM, I can happily check and repair it for you, If you don't have the opportunity to verify it yourself with a second Synology hardware.

 

 

Unfortunately, it never occurred to me that such a mistake could be made. If I can, I'll make a backup of the DOM. Tomorrow I'll try to see if it works and what's on it. If I can get it to come back to life, I'll make an img file and send it over. Thanks a lot for your help!

  • Like 1
Link to comment
Share on other sites

Posted (edited)
12 minutes ago, DjMcM said:

Unfortunately, it never occurred to me that such a mistake could be made. If I can, I'll make a backup of the DOM. Tomorrow I'll try to see if it works and what's on it. If I can get it to come back to life, I'll make an img file and send it over. Thanks a lot for your help!

I use this software to save/write a DOM image:

https://www.alexpage.de/download/usbit/usbit.zip

Option to be set for handling a DOM:

image.png.63a7afc21dd36ef991292f6c59222a0f.png

Edited by DSfuchs
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...