K4L0 Posted June 15, 2023 #1 Posted June 15, 2023 (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, 2023 by K4L0 Quote
LyriC Posted June 20, 2023 #2 Posted June 20, 2023 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
K4L0 Posted June 20, 2023 Author #3 Posted June 20, 2023 You can download it here: https://github.com/K4L0dev/Synology_Archive_Extractor Quote
K4L0 Posted June 21, 2023 Author #4 Posted June 21, 2023 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 1 Quote
ech1965 Posted July 9, 2023 #5 Posted July 9, 2023 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
Whatsek Posted August 3, 2023 #6 Posted August 3, 2023 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
ech1965 Posted August 9, 2023 #7 Posted August 9, 2023 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
Cazman Posted August 15, 2023 #8 Posted August 15, 2023 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
ds_syno Posted August 17, 2023 #9 Posted August 17, 2023 Any change that you can provide a DS3615xs -> DS3617xs script so one can update to DSM 7.2? Quote
xturon Posted August 27, 2023 #10 Posted August 27, 2023 can you make script for 2413+ to 2419+ ? thanks! Quote
infinityzx Posted September 11, 2023 #11 Posted September 11, 2023 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
lemonteafox Posted September 14, 2023 #12 Posted September 14, 2023 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
K4L0 Posted September 14, 2023 Author #13 Posted September 14, 2023 I have no idea, I use several 7.2 modded nas and none of them have any problems. Quote
infinityzx Posted September 15, 2023 #14 Posted September 15, 2023 @K4L0would you advise to re-flash the latest firmware? Quote
Whatsek Posted September 26, 2023 #15 Posted September 26, 2023 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
Neogx Posted October 7, 2023 #16 Posted October 7, 2023 (edited) 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 October 7, 2023 by Neogx Quote
ech1965 Posted October 7, 2023 #17 Posted October 7, 2023 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) Quote
rava Posted October 13, 2023 #18 Posted October 13, 2023 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? Quote
rava Posted October 15, 2023 #19 Posted October 15, 2023 @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 :)) Quote
K4L0 Posted October 18, 2023 Author #20 Posted October 18, 2023 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. 1 Quote
K4L0 Posted October 18, 2023 Author #21 Posted October 18, 2023 Check your current bios version number: cat /sys/devices/virtual/dmi/id/bios_version If it is M.911, you can install the 1817+ pat file. 1 Quote
rava Posted October 18, 2023 #22 Posted October 18, 2023 (edited) 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 Edited October 18, 2023 by rava Quote
K4L0 Posted October 19, 2023 Author #24 Posted October 19, 2023 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 Quote
rava Posted October 19, 2023 #25 Posted October 19, 2023 Thank you verry much!! Its works like a charm Quote
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.