K4L0 Posted June 15 Share #1 Posted June 15 (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! 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 . 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 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 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 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 Then manually update to DMS 7.2 from the web interface using the DSM_DS1517+_64570.pat file. Edited June 15 by K4L0 Quote Link to comment Share on other sites More sharing options...
LyriC Posted June 20 Share #2 Posted June 20 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. Quote Link to comment Share on other sites More sharing options...
K4L0 Posted June 20 Author Share #3 Posted June 20 You can download it here: https://github.com/K4L0dev/Synology_Archive_Extractor Quote Link to comment Share on other sites More sharing options...
K4L0 Posted June 21 Author Share #4 Posted June 21 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 Quote Link to comment Share on other sites More sharing options...
ech1965 Posted July 9 Share #5 Posted July 9 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 Quote Link to comment Share on other sites More sharing options...
Whatsek Posted August 3 Share #6 Posted August 3 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! 1 Quote Link to comment Share on other sites More sharing options...
ech1965 Posted August 9 Share #7 Posted August 9 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 Quote Link to comment Share on other sites More sharing options...
Cazman Posted August 15 Share #8 Posted August 15 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 Quote Link to comment Share on other sites More sharing options...
ds_syno Posted August 17 Share #9 Posted August 17 Any change that you can provide a DS3615xs -> DS3617xs script so one can update to DSM 7.2? Quote Link to comment Share on other sites More sharing options...
xturon Posted August 27 Share #10 Posted August 27 can you make script for 2413+ to 2419+ ? thanks! Quote Link to comment Share on other sites More sharing options...
infinityzx Posted September 11 Share #11 Posted September 11 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? Quote Link to comment Share on other sites More sharing options...
lemonteafox Posted September 14 Share #12 Posted September 14 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! Quote Link to comment Share on other sites More sharing options...
K4L0 Posted September 14 Author Share #13 Posted September 14 I have no idea, I use several 7.2 modded nas and none of them have any problems. Quote Link to comment Share on other sites More sharing options...
infinityzx Posted September 15 Share #14 Posted September 15 @K4L0would you advise to re-flash the latest firmware? Quote Link to comment Share on other sites More sharing options...
Whatsek Posted Tuesday at 12:20 PM Share #15 Posted Tuesday at 12:20 PM I did the manual update to 7.2.1 today: no issues, all is working, NAS is still recognised as an 1517+ I can set quota`s for files shares if the filesystem is btrfs. Not on ext4. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.