Jump to content
XPEnology Community

Converting ds1515+ into ds1517+ DSM 7.2


K4L0

Recommended Posts

Posted (edited)

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


 

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

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