Jump to content
XPEnology Community

Transcoding WITHOUT a valid serial number


likeadoc

Recommended Posts

I patched it but no difference, it works as usual. It would be cool if you could patch the surveilance station so we could add more than 2 cameras without buying the license.

I get this error every time I open it, it works fine nonetheless


2020-06-27T19:35:41+01:00 FileServer synoscgi_SYNO.SurveillanceStation.Notification_1_GetRegisterToken[7464]: pushservice_update_ds_token.c:50 fgets failed
2020-06-27T19:35:41+01:00 FileServer synoscgi_SYNO.SurveillanceStation.Notification_1_GetRegisterToken[7464]: pushservice_update_ds_token.c:145 Can't set api key
2020-06-27T19:35:41+01:00 FileServer synoscgi_SYNO.SurveillanceStation.Notification_1_GetRegisterToken[7464]: pushservice_utils.c:325 SYNOPushserviceUpdateDsToken failed.
2020-06-27T19:35:41+01:00 FileServer synoscgi_SYNO.SurveillanceStation.Notification_1_GetRegisterToken[7464]: pushservice_utils.c:387 GenerateDsToken Failed
2020-06-27T19:35:41+01:00 FileServer synoscgi_SYNO.SurveillanceStation.Notification_1_GetRegisterToken[7464]: Failed to get ds token.

 

Link to comment
Share on other sites

  • 4 weeks later...
19 hours ago, beantje said:

its activated but still no hw transcode on plex ( ore maby its the cpu its a 10th gen )

plex "only" useses the /dev/dri devices and these are uneffected by synology's licensing stuff (that is more about codecs and licensing fees - at least thats my guess)

10th gen is definitely your problem, you can read about it here (you don't have something in /dev/dri as base for hardware based transcoding)

https://xpenology.com/forum/topic/28321-driver-extension-jun-103b104b-for-dsm623-for-918-3615xs-3617xs/

 

so far one tester for the "experimental" patch and he found it not working, please try the patched i915 and write about your experience in the thread so we know for sure if its a fruitless effort with the 10th gen cpu's

  • Like 1
Link to comment
Share on other sites

Hello,

 

i have tried implementing your patch but being on 6.2.3 25426-2 it does not work.

 

ash-4.3# ./patch.sh -p
Detected DSM version: 6.2.3 25426-2
Patch for DSM Version (6.2.3 25426-2) not found.

 

@likeadoc any chances you have spare time to update your patch?

 

Thanks and Regards,

 

S

Link to comment
Share on other sites

hello, i have error when check status after patch.

 

 cat /usr/syno/etc/codec/activation.conf

{"success":false,"msg":"SN format is wrong."}
 

 

DSM: 6.2.3- 25426

 

its patched but not work for me...

 

how can i get activated?

 

 

 sudo ./patch.sh -p
Detected DSM version: 6.2.3 25426-0
Patch for DSM Version (6.2.3 25426-0) AVAILABLE!
/usr/syno/bin/synocodectool
Valid backup and patched synocodectool detected. Skipping patch.
Backing up libraries...
--2020-08-03 11:53:10--  https://raw.githubusercontent.com/Jlozde/xpenology-6.2.3-easyfix/master/libsynophoto-plugin-detection.so
Resolving raw.githubusercontent.com... 151.101.132.133
Connecting to raw.githubusercontent.com|151.101.132.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 49891 (49K) [application/octet-stream]
Saving to: '/var/packages/SynologyMoments/target/usr/lib/libsynophoto-plugin-detection.so'

libsynophoto-plugin 100%[===================>]  48.72K  --.-KB/s    in 0.02s

2020-08-03 11:53:10 (2.50 MB/s) - '/var/packages/SynologyMoments/target/usr/lib/libsynophoto-plugin-detection.so' saved [49891/49891]

 

Edited by otobcn
Link to comment
Share on other sites

On 7/31/2020 at 7:49 PM, IG-88 said:

you could add the entry for 6.2.3 u2 yourself if you dont want to wait

 


...
declare -a versions_list=(

...

 "6.2.3 25426-2"

)

 

Hi, i modified the file path.sh but the script still says Patch for DSM Version (6.2.3 25426-2) not found. Should i edit something else? Thanks!

Link to comment
Share on other sites

yes, for every patch there is a definition from and to version it is valid

 

#arrays
declare -A binhash_version_list=(
    ["cde88ed8fdb2bfeda8de52ef3adede87a72326ef"]="6.0-7321-0_6.0.3-8754-8"
    ["ec0c3f5bbb857fa84f5d1153545d30d7b408520b"]="6.1-15047-0_6.1.1-15101-4"
    ["1473d6ad6ff6e5b8419c6b0bc41006b72fd777dd"]="6.1.2-15132-0_6.1.3-15152-8"
    ["26e42e43b393811c176dac651efc5d61e4569305"]="6.1.4-15217-0_6.2-23739-2"
    ["1d01ee38211f21c67a4311f90315568b3fa530e6"]="6.2.1-23824-0_6.2.3-25426-0"
)

the last line needs to be extended so that the valid ends with "6.2.3-25426-2" instead of "6.2.3-25426-0"

    ["1d01ee38211f21c67a4311f90315568b3fa530e6"]="6.2.1-23824-0_6.2.3-25426-2"

Edited by IG-88
Link to comment
Share on other sites

On 8/7/2020 at 11:36 PM, IG-88 said:

yes, for every patch there is a definition from and to version it is valid

 


#arrays
declare -A binhash_version_list=(
    ["cde88ed8fdb2bfeda8de52ef3adede87a72326ef"]="6.0-7321-0_6.0.3-8754-8"
    ["ec0c3f5bbb857fa84f5d1153545d30d7b408520b"]="6.1-15047-0_6.1.1-15101-4"
    ["1473d6ad6ff6e5b8419c6b0bc41006b72fd777dd"]="6.1.2-15132-0_6.1.3-15152-8"
    ["26e42e43b393811c176dac651efc5d61e4569305"]="6.1.4-15217-0_6.2-23739-2"
    ["1d01ee38211f21c67a4311f90315568b3fa530e6"]="6.2.1-23824-0_6.2.3-25426-0"
)

the last line needs to be extended so that the valid ends with "6.2.3-25426-2" instead of "6.2.3-25426-0"

    ["1d01ee38211f21c67a4311f90315568b3fa530e6"]="6.2.1-23824-0_6.2.3-25426-2"

It works! Thanks! 😀 I already modified that line but i was running the patch script in a wrong way. I was running the script as root not as a sudo user. 

Link to comment
Share on other sites

  • 4 weeks later...

Hi,

 

 

 

I applied the patch successfully but when i'm using Plex transcoding, the CPU have 98-99% utilization (just like before the patch). Am i doing something wrong? or i forgot  something?

I had to modify patch.sh file because the version 6.2.3-25426 Update 2 is not supported yet.

 

DSM 6.2.3-25426 Update 2

DS3615xs - with Intel i3 3210 CPU / 4GB RAM

Loader version and model: JUN'S LOADER v1.03b - DS3615xs

Using custom extra.lzma: NO

Installation type: BAREMETAL - HP Microserver Gen8 (onboard NIC disabled, using NIC: HP NC-360T)

 

 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":...""}
 


user@Synology:~$ sudo ./patch.sh -p
Detected DSM version: 6.2.3 25426-2
Patch for DSM Version (6.2.3 25426-2) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume2/@appstore/VideoStation/bin/synocodectool
3) /volume2/@appstore/MediaServer/bin//synocodectool
4) Quit
Please choose which binary you want to patch/restore:1
Valid backup and patched synocodectool detected. Skipping patch.
user@Synology:~$ sudo ./patch.sh -p
Detected DSM version: 6.2.3 25426-2
Patch for DSM Version (6.2.3 25426-2) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume2/@appstore/VideoStation/bin/synocodectool
3) /volume2/@appstore/MediaServer/bin//synocodectool
4) Quit
Please choose which binary you want to patch/restore:2
Valid backup and patched synocodectool detected. Skipping patch.
user@Synology:~$ sudo ./patch.sh -p
Detected DSM version: 6.2.3 25426-2
Patch for DSM Version (6.2.3 25426-2) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume2/@appstore/VideoStation/bin/synocodectool
3) /volume2/@appstore/MediaServer/bin//synocodectool
4) Quit
Please choose which binary you want to patch/restore:3
Valid backup and patched synocodectool detected. Skipping patch.
user@Synology:~$

Link to comment
Share on other sites

On 9/1/2020 at 1:37 PM, Enigel said:

Am i doing something wrong? or i forgot  something?

 

yes

 

-the patch has nothing to do with plex, its for synology's videostation and its licensing

-the pre requirement for hardware transcoding is to have a proper hardware (cpu) and to use loader 1.04b with 918+ installation (minimum 4th gen intel cpu)

 

if you dont have something in /dev/dri then there is no hardware transcoding, plex and videostation both need this device and its driver to work

3615/17 dont have such drivers, only 918+ comes with it and your hardware is not capable of running 918+ because your cpu is to old (3rd gen intel)

  • Like 1
Link to comment
Share on other sites

i dont really know where else to post this as im using legit SN\MAC.. i use loader 1.04b, dsm 6.2.3 update 2, i have plex pass, and hw transcoding used to work just fine. just noticed this evening someone is streaming from my plex server, transcoding but now hw. so i checked my activation file;

 

admin@DiskStation:/$  cat /usr/syno/etc/codec/activation.conf

{"success":true,"activated_codec":["h264_dec","h264_enc","mpeg4part2_dec","hevc_dec","vc1_dec","vc1_enc","aac_dec","aac_enc"],"token":""}

 

what could be the problem?

Link to comment
Share on other sites

10 hours ago, iamheresy said:

Hi! Does the patch work with the Moments app? Moments will not transcode the photos with HEIC format. Thanks. 

if you look into the  script then you will see it patches the "synocodectool" in different location

Moments does not contain this file, so the patch can't  do that

 

 

Link to comment
Share on other sites

Hey guys,

sorry for being absent that long - I had a lot on my plate workwise - thank you @IG-88 & @flyride for keeping this topic active & supported!

I just merged support for DSM 6.2.3 25426-2 into the github repo - there seem to be no changes to the synocodectool binaries in this update.

 

@iamheresy this patch should work fine with the Moments app since it utilizes the synocodectool binary located in /usr/syno/bin (automatic heic conversion in the Moments app was the reason I wrote that patch in the first place:))

 

Link to comment
Share on other sites

  • 4 weeks later...
1 hour ago, stephan1827 said:

I am running DS3615xs but my serial number is not in the correct format. Is there any way to change the serial number without reinstalling the complete system?

just unplug your usb (can be done when the box is booted up, its unmounted when dsm is running)

get it to a different computer, on the 1st partition there is the grub.cfg (remember the part when setting it up for the right vid/pid?) and in there is the serial, just change it, put the usb back and reboot, thats it

Edited by IG-88
  • Like 1
Link to comment
Share on other sites

  • 2 months later...
On 12/8/2020 at 10:16 AM, lokiki said:

hello, is it working with 6.2.3 25426-3 ?

 

when the patch.sh is changed similar to above when u2 came up it will work

 

1st part is for what version the patch is working (from - to version, so the "to" needs to be changed to 3)

2nd is the version list, the new u3 needs to be added

 

...

#arrays
declare -A binhash_version_list=(
    ["cde88ed8fdb2bfeda8de52ef3adede87a72326ef"]="6.0-7321-0_6.0.3-8754-8"
    ["ec0c3f5bbb857fa84f5d1153545d30d7b408520b"]="6.1-15047-0_6.1.1-15101-4"
    ["1473d6ad6ff6e5b8419c6b0bc41006b72fd777dd"]="6.1.2-15132-0_6.1.3-15152-8"
    ["26e42e43b393811c176dac651efc5d61e4569305"]="6.1.4-15217-0_6.2-23739-2"
    ["1d01ee38211f21c67a4311f90315568b3fa530e6"]="6.2.1-23824-0_6.2.3-25426-3"
)

...

    "6.2.3 25423-0"
    "6.2.3 25426-0"
    "6.2.3 25426-2"
    "6.2.3 25426-3"
)

#functions
print_usage() {
printf "

  • Thanks 1
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...