Jump to content
XPEnology Community

Converting ds1515+ into ds1517+ DSM 7.2


K4L0

Recommended Posts

I compared the v7.1.1 files of the two dsm files.

  • The kernel image file is the same for both devices.
  • In the synoinfo.conf file 3 important things are different: PCI slot, number of LAN ports, configurable LED brightness

                1515+:  enable_etron_ssc="yes"
                1515+: esataportcfg="0xc0" 1517+: "0x60"
                1515+: eunitseq="sdg,sdh"   1517+: "sdf,sdg"
                1515+: maxlanport="4"       1517+: "8"
                1515+: mem_max_mb="6144"    1517+: "16384"
                1515+: s2s_task_max="8"     1517+: "32"
                1515+: support_led_brightness_adjustment="no" 1517+: "yes"
                                   1517+: eth4_mtu="1500"
                                   1517+:  eth5_mtu="1500"
                                   1517+:  eth6_mtu="1500"
                                   1517+:  eth7_mtu="1500"

 

  • There are a few more files that are not needed:

               /etc.defaults/extensionPorts
               /etc.defaults/sysconfig/network-scripts/ifcfg-eth4
               /etc.defaults/sysconfig/network-scripts/ifcfg-eth5
               /etc.defaults/sysconfig/network-scripts/ifcfg-eth6
               /etc.defaults/sysconfig/network-scripts/ifcfg-eth7

 

  • The 1515+ BIOS version number is M111, the 1517+ BIOS version number is M405.

              The contents are different.
              DSM update automatically checks and updates the BIOS if necessary. This should be disabled.
              Do not update the 1517+ BIOS! It will lead to brick. Downgrade is not allowed.

 

The following actions are required for the mod:

  Everyone should perform the mod at their own risk!

  1. Download and unpack the latest 1515+ DSM 7.1.1 pat file.
    root@test:/volume1/1# python3 sae.py -k SYSTEM -a DSM_DS1515+_42962.pat -d .

     

  2. Change the version number of the bios from M111 to M911 (the important thing is that it is higher than M405)
    root@test:/volume1/1# cp ./bios.ROM ./bios.ROM.orig
    root@test:/volume1/1# echo "40B010: 39" | xxd -r - ./bios.ROM

     

  3. Update the bios with the modified file
    root@test:/volume1/1# ./updater -b .
    
           Insyde H2OFFT (Flash Firmware Tool) Version (SEG) 100.00.05.02
        Copyright (c) 2012 - 2014, Insyde Software Corp. All Rights Reserved.
    
                          File loading    100 %
    
                          Current BIOS Model Name :  MohonPeak
                          New     BIOS Model Name :  MohonPeak
                          Current BIOS    Version :  M.111
                          New     BIOS    Version :  M.911
    
                          Flash BIOS Start
    [===================] Updating Block at FFFFE000 (100%)
                          Flash complete

     

  4.  Change the synoinfo.conf file to 1517+ for the device:
    root@test:/volume1/1# sed -i 's/unique="synology_avoton_1515+"/unique="synology_avoton_1517+"/g' /etc.defaults/synoinfo.conf

     

  5. Create a task that runs after every reboot with root privileges.
    This script will check the synoinfo.conf file on every boot and rewrite the necessary values if necessary. The DSM update containing the flash update can be modified.
    /usr/bin/cat << EOF > /tmp/confmod.sh
    #!/bin/bash
    
    if grep -q "enable_etron_ssc" /etc.defaults/synoinfo.conf; then
      echo "enable_etron_ssc already"
    else
      sed -i '/enableRCPower="no"/a enable_etron_ssc="yes"' /etc.defaults/synoinfo.conf
    fi
    if grep -q "enable_etron_ssc" /etc/synoinfo.conf; then
      echo "enable_etron_ssc already"
    else
      sed -i '/enableRCPower="no"/a enable_etron_ssc="yes"' /etc/synoinfo.conf
    fi
    
    if grep -q "eth4_mtu" /etc.defaults/synoinfo.conf; then
      sed -i '/eth4_mtu/d' /etc.defaults/synoinfo.conf
    fi
    if grep -q "eth4_mtu" /etc/synoinfo.conf; then
      sed -i '/eth4_mtu/d' /etcs/synoinfo.conf
    fi
    
    if grep -q "eth5_mtu" /etc.defaults/synoinfo.conf; then
      sed -i '/eth5_mtu/d' /etc.defaults/synoinfo.conf
    fi
    if grep -q "eth5_mtu" /etc/synoinfo.conf; then
      sed -i '/eth5_mtu/d' /etc/synoinfo.conf
    fi
    
    if grep -q "eth6_mtu" /etc.defaults/synoinfo.conf; then
      sed -i '/eth6_mtu/d' /etc.defaults/synoinfo.conf
    fi
    if grep -q "eth6_mtu" /etc/synoinfo.conf; then
      sed -i '/eth6_mtu/d' /etc/synoinfo.conf
    fi
    
    if grep -q "eth7_mtu" /etc.defaults/synoinfo.conf; then
      sed -i '/eth7_mtu/d' /etc.defaults/synoinfo.conf
    fi
    if grep -q "eth7_mtu" /etc/synoinfo.conf; then
      sed -i '/eth7_mtu/d' /etc/synoinfo.conf
    fi
    
    if grep -q "esataportcfg=\"0x60\"" /etc.defaults/synoinfo.conf; then
      sed -i 's/esataportcfg="0x60"/esataportcfg="0xc0"/' /etc.defaults/synoinfo.conf
    fi
    if grep -q "esataportcfg=\"0x60\"" /etc/synoinfo.conf; then
      sed -i 's/esataportcfg="0x60"/esataportcfg="0xc0"/' /etc/synoinfo.conf
    fi
    
    if grep -q "eunitseq=\"sdf,sdg\"" /etc.defaults/synoinfo.conf; then
      sed -i 's/eunitseq="sdf,sdg"/eunitseq="sdg,sdh"/' /etc.defaults/synoinfo.conf
    fi
    if grep -q "eunitseq=\"sdf,sdg\"" /etc/synoinfo.conf; then
      sed -i 's/eunitseq="sdf,sdg"/eunitseq="sdg,sdh"/' /etc/synoinfo.conf
    fi
    
    if grep -q "maxlanport=\"8\"" /etc.defaults/synoinfo.conf; then
      sed -i 's/maxlanport="8"/maxlanport="4"/' /etc.defaults/synoinfo.conf
    fi
    if grep -q "maxlanport=\"8\"" /etc/synoinfo.conf; then
      sed -i 's/maxlanport="8"/maxlanport="4"/' /etc/synoinfo.conf
    fi
    
    if grep -q "support_led_brightness_adjustment=\"yes\"" /etc.defaults/synoinfo.conf; then
      sed -i 's/support_led_brightness_adjustment="yes"/support_led_brightness_adjustment="no"/' /etc.defaults/synoinfo.conf
    fi
    if grep -q "support_led_brightness_adjustment=\"yes\"" /etc/synoinfo.conf; then
      sed -i 's/support_led_brightness_adjustment="yes"/support_led_brightness_adjustment="no"/' /etc/synoinfo.conf
    fi
    
    if [ -f "/etc.defaults/extensionPorts" ]; then
      rm /etc.defaults/extensionPorts
    fi
    if [ -f "/etc/extensionPorts" ]; then
      rm /etc/extensionPorts
    fi
    
    if [ -f "/etc.defaults/sysconfig/network-scripts/ifcfg-eth4" ]; then
      rm /etc.defaults/sysconfig/network-scripts/ifcfg-eth4
    fi
    if [ -f "/etc/sysconfig/network-scripts/ifcfg-eth4" ]; then
      rm /etc/sysconfig/network-scripts/ifcfg-eth4
    fi
    
    if [ -f "/etc.defaults/sysconfig/network-scripts/ifcfg-eth5" ]; then
      rm /etc.defaults/sysconfig/network-scripts/ifcfg-eth5
    fi
    if [ -f "/etc/sysconfig/network-scripts/ifcfg-eth5" ]; then
      rm /etc/sysconfig/network-scripts/ifcfg-eth5
    fi
    
    if [ -f "/etc.defaults/sysconfig/network-scripts/ifcfg-eth6" ]; then
      rm /etc.defaults/sysconfig/network-scripts/ifcfg-eth6
    fi
    if [ -f "/etc/sysconfig/network-scripts/ifcfg-eth6" ]; then
      rm /etc/sysconfig/network-scripts/ifcfg-eth6
    fi
    
    if [ -f "/etc.defaults/sysconfig/network-scripts/ifcfg-eth7" ]; then
      rm /etc.defaults/sysconfig/network-scripts/ifcfg-eth7
    fi
    if [ -f "/etc/sysconfig/network-scripts/ifcfg-eth7" ]; then
      rm /etc/sysconfig/network-scripts/ifcfg-eth7
    fi
    EOF
    bash /tmp/confmod.sh

     

  6. Then manually update to DMS 7.2 from the web interface using the DSM_DS1517+_64570.pat file.

 

Edited by K4L0
Link to comment
Share on other sites

Hello,

 

thanks for your Howto and your work.

i just have a question, what is the sae.py my syn does not have this.

python3 sae.py -k SYSTEM -a DSM_DS1515+_42962.pat -d .
python3: can't open file 'sae.py': [Errno 2] No such file or directory

 

thanky you for your answer.

Link to comment
Share on other sites


The mod DS1815+ into DS1817+:

Only the script is different the other steps are the same.

Create a task that runs after every reboot with root privileges.

/usr/bin/cat << EOF > /tmp/confmod.sh
#!/bin/bash

if grep -q "enable_etron_ssc" /etc.defaults/synoinfo.conf; then
  echo "enable_etron_ssc already"
else
  sed -i '/enableRCPower="no"/a enable_etron_ssc="yes"' /etc.defaults/synoinfo.conf
fi
if grep -q "enable_etron_ssc" /etc.defaults/synoinfo.conf; then
  echo "enable_etron_ssc already"
else
  sed -i '/enableRCPower="no"/a enable_etron_ssc="yes"' /etc/synoinfo.conf
fi

if grep -q "eth4_mtu" /etc.defaults/synoinfo.conf; then
  sed -i '/eth4_mtu/d' /etc.defaults/synoinfo.conf
fi
if grep -q "eth4_mtu" /etc/synoinfo.conf; then
  sed -i '/eth4_mtu/d' /etcs/synoinfo.conf
fi

if grep -q "eth5_mtu" /etc.defaults/synoinfo.conf; then
  sed -i '/eth5_mtu/d' /etc.defaults/synoinfo.conf
fi
if grep -q "eth5_mtu" /etc/synoinfo.conf; then
  sed -i '/eth5_mtu/d' /etc/synoinfo.conf
fi

if grep -q "eth6_mtu" /etc.defaults/synoinfo.conf; then
  sed -i '/eth6_mtu/d' /etc.defaults/synoinfo.conf
fi
if grep -q "eth6_mtu" /etc/synoinfo.conf; then
  sed -i '/eth6_mtu/d' /etc/synoinfo.conf
fi

if grep -q "eth7_mtu" /etc.defaults/synoinfo.conf; then
  sed -i '/eth7_mtu/d' /etc.defaults/synoinfo.conf
fi
if grep -q "eth7_mtu" /etc/synoinfo.conf; then
  sed -i '/eth7_mtu/d' /etc/synoinfo.conf
fi

if grep -q "maxlanport=\"8\"" /etc.defaults/synoinfo.conf; then
  sed -i 's/maxlanport="8"/maxlanport="4"/' /etc.defaults/synoinfo.conf
fi
if grep -q "maxlanport=\"8\"" /etc/synoinfo.conf; then
  sed -i 's/maxlanport="8"/maxlanport="4"/' /etc/synoinfo.conf
fi

if grep -q "support_led_brightness_adjustment=\"yes\"" /etc.defaults/synoinfo.conf; then
  sed -i 's/support_led_brightness_adjustment="yes"/support_led_brightness_adjustment="no"/' /etc.defaults/synoinfo.conf
fi
if grep -q "support_led_brightness_adjustment=\"yes\"" /etc/synoinfo.conf; then
  sed -i 's/support_led_brightness_adjustment="yes"/support_led_brightness_adjustment="no"/' /etc/synoinfo.conf
fi

if [ -f "/etc.defaults/extensionPorts" ]; then
  rm /etc.defaults/extensionPorts
fi
if [ -f "/etc/extensionPorts" ]; then
  rm /etc/extensionPorts
fi

if [ -f "/etc.defaults/sysconfig/network-scripts/ifcfg-eth4" ]; then
  rm /etc.defaults/sysconfig/network-scripts/ifcfg-eth4
fi
if [ -f "/etc/sysconfig/network-scripts/ifcfg-eth4" ]; then
  rm /etc/sysconfig/network-scripts/ifcfg-eth4
fi

if [ -f "/etc.defaults/sysconfig/network-scripts/ifcfg-eth5" ]; then
  rm /etc.defaults/sysconfig/network-scripts/ifcfg-eth5
fi
if [ -f "/etc/sysconfig/network-scripts/ifcfg-eth5" ]; then
  rm /etc/sysconfig/network-scripts/ifcfg-eth5
fi

if [ -f "/etc.defaults/sysconfig/network-scripts/ifcfg-eth6" ]; then
  rm /etc.defaults/sysconfig/network-scripts/ifcfg-eth6
fi
if [ -f "/etc/sysconfig/network-scripts/ifcfg-eth6" ]; then
  rm /etc/sysconfig/network-scripts/ifcfg-eth6
fi

if [ -f "/etc.defaults/sysconfig/network-scripts/ifcfg-eth7" ]; then
  rm /etc.defaults/sysconfig/network-scripts/ifcfg-eth7
fi
if [ -f "/etc/sysconfig/network-scripts/ifcfg-eth7" ]; then
  rm /etc/sysconfig/network-scripts/ifcfg-eth7
fi
EOF
bash /tmp/confmod.sh


 

  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...

Wondeful !!

 

I'm contemplating doing this mod on my resurected DS1515+ ( resistor hack + transistor and coin battery)

Did someone try to apply DSM7.2 update to such a modded DS1515+ ?

How about auto updates ? 

What if a new BIOS file shows up in a future DSM 7.2 DS1517+ file ?

 

Many thanis

EC

 

Link to comment
Share on other sites

  • 4 weeks later...
On 8/3/2023 at 4:43 PM, Whatsek said:

Created an account just to thank you for this awesome tutorial!
It worked flawless, I scheduled the latest script from post 4.
 

Lets see when the first update arrives!

 

Thanks!

Please updated us regarding update experience ... Thanks

Link to comment
Share on other sites

Thanks for this guide, I've gone directly to DSM 7.2-64570 Update 3 and it's working fine.

 

for any newbies out there, like me, I logged in via SSH with my normal DSM admin UN and password, the commands wouldn't work.

you need to be logged in as root, you can change to root with the command: sudo -i

 

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Thank you for the guide @K4L0 it worked like a charm!

However, I'm having some weird issues now, it looks like some specific thing is not working!

I cannot enable quotes for file shares, even if my filesystem is BRTFS, and the "File Services" section is completely broken! It reports a red message at the bottom: Failed to load the required resources"  and many things within this section are just not working!

Any idea?

Link to comment
Share on other sites

On 9/11/2023 at 8:19 PM, infinityzx said:

Thank you for the guide @K4L0 it worked like a charm!

However, I'm having some weird issues now, it looks like some specific thing is not working!

I cannot enable quotes for file shares, even if my filesystem is BRTFS, and the "File Services" section is completely broken! It reports a red message at the bottom: Failed to load the required resources"  and many things within this section are just not working!

Any idea?

I wanted to update my 1515+ to 7.2 as well, but I stopped modding the update when I saw your issue. Let me know if your issue is resolved. Thx!

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

So as long term you can just manually update to newer versions without any problems ? I think one poster said about if the update file has a bios update how does that work does doing it manually not check for that??

Edited by Neogx
Link to comment
Share on other sites

2 hours ago, Neogx said:

So as long term you can just manually update to newer versions without any problems ? I think one poster said about if the update file has a bios update how does that work does doing it manually not check for that??

 

IIRC, in first post explain bios patching from M111 to M911 ( This should prevent bios update during DSM auto update)

Link to comment
Share on other sites

I have a DS1815+ and just did the  update steps. But have not updated dsm to dsm 7.2 because i think i have made a terrible mistake.

I read "Only the script is different the other steps are the same" so i did all of that. But now I'm thinking that I perhaps should have downloaded the ds 1815+ file instead of the ds1515+ file...

And should have changed the synoinfo.conf file to 1817+ instead of 1517+

I thought that i could do it all over again but i read "Do not update the 1517+ BIOS!" 

What should i do now? can i still update manualy the dsm 7.2 file for the 1817+ or does the device now think its a 1517+ and im forever stuck at dsm 7.1?

 

 

 

 

Link to comment
Share on other sites

@K4L0Do you think i still can flash my DS1815+ with the DS1817+ bios after i flashed it with the ds1517+ bios?

I did a reboot of the nas and he still works and still thinks he still thinks it an  DS1817+ according to infocenter.

Or can i just edit the  synoinfo.conf file to 1817+?

( I have learned my lesson and will never flash during watching a football game :))

 

Link to comment
Share on other sites

The 1515+ and 1815+ have the same BIOS.

Do the BIOS mod again. (If you already have the current version of M.911, it will not update the bios.)

 

root@test:/volume1/1# sudo python3 sae.py -k SYSTEM -a DSM_DS1815+_42962.pat -d .

root@test:/volume1/1# cp ./bios.ROM ./bios.ROM.orig
root@test:/volume1/1# echo "40B010: 39" | xxd -r - ./bios.ROM

root@test:/volume1/1# ./updater -b . 


Only install the 1817+ pat if the BIOS version is M.911!

If the DSM looks like 1817+, manually update DSM_DS1817+_69057.pat from the web interface.

  • Like 1
Link to comment
Share on other sites

okay, i did the check and at the moment it is still m.111

A little bit strange because when i did the bios flash it said the flash update was complete

I made a picture of it.

I will try al the steps from the beginning again and will not update dsm before it is on m.911

m111.jpg

Schermafbeelding 2023-10-18 233608.jpg

Edited by rava
Link to comment
Share on other sites

This is fine:

 Current BIOS Model Name :  MohonPeak
 Current BIOS    Version :  M.911

 

You can see that it does not upload the 1817+ bios because it has a lower version number than M.911.
New BIOS Model Name : Avoton DS1817+

 

That's it, you can update the 1817+ 7.2 DSM from the web interface

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...