lolvince Posted February 3, 2020 Share #26 Posted February 3, 2020 Thanks for the work;) Patch successfully applied! System info: DSM version: DSM 6.2.2 24922 UPDATE 4 Loader version and model: JUN'S LOADER v1.03b - DS3615xs Using custom extra.lzma: 1.03b_mod ds3615 DSM 6.2.2 v0.5_test Installation type: BAREMETAL - N40L Quote Link to comment Share on other sites More sharing options...
kggitj Posted February 14, 2020 Share #27 Posted February 14, 2020 since @likeadoc did not keep his word in releasing the serialnumber generator, here the code i sent him (most of the sns will be valid): from random import randrange def get_digit(number, n): return number // 10 ** n % 10 def get_cross_sum(number): return sum([int(i) for i in str(number)]) def get_serial_number(model): """ Generate a serial for the given model :param model: The model shall be between 0 and 1 for 0=DS3615 and 1=DS3617 :return: The serial as string """ model_type = ['LWN', 'ODN'] lwn = range(1640, 1691, 10) odn = [1690] + range(1710, 1791, 10) + range(1810, 1891, 10) model_range = [lwn, odn] model_sn_count = 10 bbb_range = range(000, 901, 100) xyz_range = model_range[model] xyz = xyz_range[randrange(len(xyz_range))] bbb = bbb_range[randrange(len(bbb_range))] element_at = randrange(model_sn_count) # Every block contains 25 serialnumbers digit_x = get_digit(xyz, 3) digit_y = get_digit(xyz, 2) digit_z = get_digit(xyz, 1) aaa = (10 - digit_z + get_cross_sum(bbb)) % 10 increment = [digit_x * 10 + digit_y] if (digit_y + digit_z) <= 10 else [digit_x * 10, digit_y] result = aaa for i in range(1, element_at): result = result + increment[(i + 1) % len(increment)] result = "%d%s%03d%03d" % (xyz, model_type[model], result, bbb) return result if __name__ == '__main__': print "1: DS3615xs" print "2: DS3617xs" input_value = None while input_value is None: input_value = raw_input("Which model (1,2): ") if input_value == "1" or input_value == "2": break input_value = None model = int(input_value) - 1 serial_number = get_serial_number(model) print "SerialNumber: " + serial_number # Algorithm: # SerialNumber is divided by -> XYZ ODN AAA BBB. # ODN is the model specific code # every XYZ/BBB block contains an unknown number of serialnumber and can be 5 or 25, but not too many # AAA = (10 - (Z) + cross_sum(BBB)) modulo 10 # BBB = constant value between 000 - 900 in 100 steps # next value for AAA -> previous value + Offset # # Offset is defined by: # Y + Z <= 10, the offset is +XY, otherwise its alternated +(X*10), +Y Quote Link to comment Share on other sites More sharing options...
IG-88 Posted February 18, 2020 Share #28 Posted February 18, 2020 On 2/14/2020 at 9:34 PM, kggitj said: since @likeadoc did not keep his word in releasing the serialnumber generator, here the code i sent him (most of the sns will be valid): thats only for 3615/3617, if it was for 918+ then some people might get interested Quote Link to comment Share on other sites More sharing options...
trip Posted February 19, 2020 Share #29 Posted February 19, 2020 For the 918+ you could swap out "LWN" for "PDN" in the code. You will then need to adjust the 4 digit prefix range and 6 digit suffix range using a known 918+ serial as a starting point. Quote Link to comment Share on other sites More sharing options...
likeadoc Posted February 19, 2020 Author Share #30 Posted February 19, 2020 @kggitj I am still working on the new serial generator for 918/3615/3617 - unfortunately your script does not detect all possible valid serial numbers! I am currently a little bit stuck at reverse engineering the generation algo - I would appreciate if you could contact me again so I can share my findings with you and get a little help;)! Quote Link to comment Share on other sites More sharing options...
ruchechnik Posted March 28, 2020 Share #31 Posted March 28, 2020 Hi, unfortunately the transwriting on the 3615 version of 6.1.7 has not earned ((Patch all works out, but then everything changes to "success":false,""msg":"SN format is wrong." serial number from the generator, then additionally took a photo from the Internet. What could be the case? Help) Quote Link to comment Share on other sites More sharing options...
ruchechnik Posted March 28, 2020 Share #32 Posted March 28, 2020 everything worked ! Can someone help! in order for the patch to work, it is important that video station is in the volume 1 section, and it is necessary to select the section with /video station/when starting. I have a lot of disks and video station was in another section. This is important ! The author of the patch thank you very much for your work Quote Link to comment Share on other sites More sharing options...
likeadoc Posted March 29, 2020 Author Share #33 Posted March 29, 2020 @ruchechnik hi:) currently there are two versions of synocodectool: 1) /volumeX/@appstore/VideoStation/bin/synocodectool -> this one is specifically for video station, currently the patch only works if it is located on volume1... 2)/usr/syno/bin/synocodectool -> this one is for all other applications the patch script lets you choose which one you want to patch:) Quote Link to comment Share on other sites More sharing options...
IG-88 Posted March 29, 2020 Share #34 Posted March 29, 2020 2 hours ago, likeadoc said: 1) /volumeX/@appstore/VideoStation/bin/synocodectool -> this one is specifically for video station, currently the patch only works if it is located on volume1... as its a script anyone who has this "unusual" case can just change the path in the script to volume2 or anything else, it just needs to be documented so people having trouble can check for this condition Quote Link to comment Share on other sites More sharing options...
Rezdbic Posted April 16, 2020 Share #35 Posted April 16, 2020 Patch is not working on DS3615xs 6.2.2-24922 U6 Quote Link to comment Share on other sites More sharing options...
likeadoc Posted April 16, 2020 Author Share #36 Posted April 16, 2020 @Rezdbic what's the output of sha1sum /usr/syno/bin/synocodectool and, if you are using VideoStation, this (please substitue volumeX for the volume where VideoStation is installed) command? sha1sum /volumeX/@appstore/VideoStation/bin/synocodectool AFAIK 24992-6 does not include an update to synocodectool.. 1 Quote Link to comment Share on other sites More sharing options...
Rezdbic Posted April 16, 2020 Share #37 Posted April 16, 2020 I mean this: rezdbic@homeserver:/$ sudo ./patch.sh -p Detected DSM version: 6.2.2 24922-6 Patch for DSM Version (6.2.2 24922-6) not found. Quote Link to comment Share on other sites More sharing options...
likeadoc Posted April 16, 2020 Author Share #38 Posted April 16, 2020 Did you update to the the latest commit of https://github.com/likeadoc/synocodectool-patch/blob/master/patch.sh ? Quote Link to comment Share on other sites More sharing options...
ruffpl Posted April 17, 2020 Share #39 Posted April 17, 2020 Is t going to work in VM Xpenology also? Quote Link to comment Share on other sites More sharing options...
likeadoc Posted April 17, 2020 Author Share #40 Posted April 17, 2020 yes - it does not make a difference if you run it inside a vm or bare metal Quote Link to comment Share on other sites More sharing options...
richv31 Posted April 20, 2020 Share #41 Posted April 20, 2020 any chance for 6.2.3 support? Quote Link to comment Share on other sites More sharing options...
likeadoc Posted April 21, 2020 Author Share #42 Posted April 21, 2020 @richv31 I updated the repo - should work now:) Quote Link to comment Share on other sites More sharing options...
richv31 Posted April 21, 2020 Share #43 Posted April 21, 2020 awesome - thanks! Quote Link to comment Share on other sites More sharing options...
dyter Posted April 21, 2020 Share #44 Posted April 21, 2020 6.2.3 patch not work for me, cat /usr/syno/etc/codec/activation.conf {"success":true,"activated_codec":["hevc_dec","ac3_dec","h264_dec","h264_enc","aac_dec","aac_enc","mpeg4part2_dec","vc1_dec","vc1_enc"],"token":"123456789987654abc"} cd /dev/dri -ash: cd: /dev/dri: No such file or directory I have official serial 1780PDN645708 & mac 0011327b9be5 perhaps blacklisted ? Quote Link to comment Share on other sites More sharing options...
likeadoc Posted April 21, 2020 Author Share #45 Posted April 21, 2020 @dyter this patch only enables you to transcode (in hardware or software) within videostation or moments - it does not enable hw transcoding in general. For HW transcoding to work you would need to have the appropriate drivers installed, only then /dev/dri will be populated. Quote Link to comment Share on other sites More sharing options...
IG-88 Posted April 21, 2020 Share #46 Posted April 21, 2020 (edited) 5 hours ago, dyter said: cd /dev/dri -ash: cd: /dev/dri: No such file or directory from what you wrote here https://xpenology.com/forum/topic/28131-dsm-623-25423/?do=findComment&comment=141904 i'd say its a driver conflict when using juns original drivers with his i915 drivers and combining this with with 6.2.3 then jun's driver loads first an fail loading with lots of unknown symbols, leaving synology's new i915 driver unused (that is nearly on the same level as jun's) this extra/extra2 is superposed to fix this problem, it deletes jun's driver and let dsm use its own new i915 driver https://xpenology.com/forum/topic/28321-driver-extension-jun-104b-for-dsm623-for-918/ Edited April 21, 2020 by IG-88 Quote Link to comment Share on other sites More sharing options...
dyter Posted April 21, 2020 Share #47 Posted April 21, 2020 Thank to IG-88 and likeadoc , it's work fine with new extra918plus_v0.10 ! Quote Link to comment Share on other sites More sharing options...
richv31 Posted April 21, 2020 Share #48 Posted April 21, 2020 3 hours ago, dyter said: Thank to IG-88 and likeadoc , it's work fine with new extra918plus_v0.10 ! +1 Big thank you! - got it working on 2 machines with 6.2.3 Quote Link to comment Share on other sites More sharing options...
Tuonorosso Posted April 27, 2020 Share #49 Posted April 27, 2020 Hello, i have a question. The patch works until i permit access to internet to NAS. After go online my SN gone wrong. How can i fix it? Thanks Quote Link to comment Share on other sites More sharing options...
Tuonorosso Posted April 27, 2020 Share #50 Posted April 27, 2020 1 hour ago, Tuonorosso said: Hello, i have a question. The patch works until i permit access to internet to NAS. After go online my SN gone wrong. How can i fix it? Thanks Could be a problem with mac address? 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.