Transcoding WITHOUT a valid serial number


Recommended Posts

Hello thanks for the works 

 

I'have update my synology (to DSM 6.2.2) and i see the same error on my log

 

I don't use video station or photo station 

 

Can i ignore this error on SN or should i apply the patch ?  for other application ?

Link to post
Share on other sites
On 4/27/2020 at 2:09 PM, 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

 

No solution for this? 

 

Thanks

  • Like 1
Link to post
Share on other sites

Hi guys,

running DSM 6.2.2 U6 and tried to use this patch, but no luck. Patch is applied but as soon as i try to play movie on TV it bounces back to wrong SN. Tried several SN for 3615xs. What else can we test?

 

Thansk.

Link to post
Share on other sites
3 hours ago, likeadoc said:

@MitkoVIP @Tuonorosso @jeannotmer sorry for the late response...

Did you apply the patch to both copys of synocodectool?

Please kindly provide the output of the following commands:

 


sha1sum /usr/syno/bin/synocodectool

 

93067026c251b100e27805a8b4b9d8f0ae8e291c  /usr/syno/bin/synocodectool

 

 

 

3 hours ago, likeadoc said:

sha1sum /volumeX/@appstore/VideoStation/bin/synocodectool

 

93067026c251b100e27805a8b4b9d8f0ae8e291c  /volume1/@appstore/VideoStation/bin/synocodectool

 

In this moment my xpenology is without internet ... so ...all works fine.

 

If i try to re-index with xpenology connected to internet the patch go ti invalid S/N. If you want i can try so i can post output with S/N error...

 

Let me know

Thanks

 

Link to post
Share on other sites

@jeannotmer you only need this patch if you are using moments or videostation AFAIK

@Tuonorosso that is a little bit weird because both versions of synocodectool seem to be patched - I am going to need a bit more details - which DSM Version, serial number format ((e.g. XXXXPDNXXXXXX for DS918+, XXXXODNXXXXXX for DS3617xs, XXXXLWNXXXXXX for 3615xs), the output of 

sudo cat /var/log/messages

after you went online and lastly 

sudo find / -name synocodectool

to see if there is a third synocodectool executable that overrides those settings...

Link to post
Share on other sites
15 hours ago, likeadoc said:

@jeannotmer you only need this patch if you are using moments or videostation AFAIK

@Tuonorosso that is a little bit weird because both versions of synocodectool seem to be patched - I am going to need a bit more details - which DSM Version, serial number format ((e.g. XXXXPDNXXXXXX for DS918+, XXXXODNXXXXXX for DS3617xs, XXXXLWNXXXXXX for 3615xs), the output of 

 

S/N: XXXXLWN020640 - DS3615XS - DSM 6.2.2-24922 Update 4

 

 

Quote

sudo cat /var/log/messages

after you went online and lastly 

 

2020-05-19T12:07:23+02:00 XXXXXXXX synoddsmd: utils.cpp:35 Fail to get synology account
2020-05-19T12:07:23+02:00 XXXXXXXX synoddsmd: user.cpp:129 get account info fail [100]
2020-05-19T12:07:23+02:00 XXXXXXXX synoddsmd: synoddsm-hostd.cpp:227 Fail to get DDSM licenses, errCode: 0x100
2020-05-20T01:25:56+02:00 XXXXXXXX synocodectool: G1Licence.cpp:79 Licence not Success,error msg "SN format is wrong."
2020-05-20T01:25:56+02:00 XXXXXXXX synocodectool: G1Licence.cpp:79 Licence not Success,error msg "SN format is wrong."
2020-05-20T01:25:56+02:00 XXXXXXXX synocodectool: SYSTEM:      Last message 'G1Licence.cpp:79 Lic' repeated 1 times, suppressed by syslog-ng on XXXXXXXX
2020-05-20T01:25:56+02:00 XXXXXXXX synoflvconv: synoflvconv.cpp:761 Failed to convert video [/volume1/photo/2004/PICT0015.AVI] to mpeg4 mp4.

 

 

Quote

sudo find / -name synocodectool

to see if there is a third synocodectool executable that overrides those settings...

 

/usr/syno/bin/synocodectool
/volume1/@appstore/MediaServer/bin/synocodectool
/volume1/@appstore/VideoStation/bin/synocodectool




Do you need more? 

 

Thanks

Link to post
Share on other sites

on current DSM 918+

error message of

Patch for DSM Version (6.2.3 25426-0) not found.
then a list of the versions it does suport.

 

sudo cat /var/log/messages

tells me 

2020-05-19T18:39:38-06:00 DS2 synocodectool: G1Licence.cpp:79 Licence not Succes                                                                             s,error msg "SN format is wrong."
2020-05-19T18:39:38-06:00 DS2 synocodectool: SYNOCodecPatentG1.cpp:242 ValidateG                                                                             1Licence failed
sudo find / -name synocodectool

tells me

/usr/syno/bin/synocodectool
/volume1/Apps/DS2/Scripts/synocodectool-patch-master/synocodectool
/volume2/@appstore/VideoStation/bin/synocodectool
sha1sum /usr/syno/bin/synocodectool

supplies

1d01ee38211f21c67a4311f90315568b3fa530e6  /usr/syno/bin/synocodectool


 

Link to post
Share on other sites

Hi OP, 

 

Can you kindly update the patch to latest version? 

 

thanks

 


root@DiskStation:/# ./patch.sh -p
Detected DSM version: 6.2.3 25426-0
Patch for DSM Version (6.2.3 25426-0) not found.
Link to post
Share on other sites
2 hours ago, tigs said:

There are actually 3 versions :

/usr/syno/bin/synocodectool
/volume1/@appstore/MediaServer/bin/synocodectool
/volume1/@appstore/VideoStation/bin/synocodectool

 

2 hours ago, tigs said:

Hi OP, 

 

Can you kindly update the patch to latest version? 

 

thanks

 



root@DiskStation:/# ./patch.sh -p
Detected DSM version: 6.2.3 25426-0
Patch for DSM Version (6.2.3 25426-0) not found.

 

Link to post
Share on other sites

@tigs @mervincm @Tuonorosso I updated the patch to work with DSM 6.2.3 25426-0. I also added support for patching the third executable (/volumeX/@appstore/MediaServer/bin/synocodectool) :) - theoretically it should work now.

 

P.S.: Could you run the following command BEFORE patching and post the output here ?  I am curious to see which version of synocodectool the MediaServer application uses.

sha1sum /volume1/@appstore/MediaServer/bin/synocodectool

Cheers

Link to post
Share on other sites
4 minutes ago, likeadoc said:

@tigs @mervincm @Tuonorosso I updated the patch to work with DSM 6.2.3 25426-0. I also added support for patching the third executable (/volumeX/@appstore/MediaServer/bin/synocodectool) :) - theoretically it should work now.

 

P.S.: Could you run the following command BEFORE patching and post the output here ?  I am curious to see which version of synocodectool the MediaServer application uses.


sha1sum /volume1/@appstore/MediaServer/bin/synocodectool

Cheers

 

 

1d01ee38211f21c67a4311f90315568b3fa530e6  /volume1/@appstore/MediaServer/bin/synocodectool

 

 

So, now i restore with ./patch.sh -r and then re-download with wget and re-patch? Is it correct?

 

Thanks again

Link to post
Share on other sites

@Tuonorosso no need to restore :) just download the new version and only patch

/volume1/@appstore/MediaServer/bin/synocodectool

The other versions (/usr/syno/bin/synocodectool and /volume1/@appstore/VideoStation/bin/synocodectool) are already successfully patched:)

Link to post
Share on other sites
22 minutes ago, likeadoc said:

@Tuonorosso no need to restore :) just download the new version and only patch


/volume1/@appstore/MediaServer/bin/synocodectool

The other versions (/usr/syno/bin/synocodectool and /volume1/@appstore/VideoStation/bin/synocodectool) are already successfully patched:)



sorry, i do this:
 

wget https://raw.githubusercontent.com/likeadoc/synocodectool-patch/master/patch.sh

but when i try to patch 
 

Detected DSM version: 6.2.2 24922-4
Patch for DSM Version (6.2.2 24922-4) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume1/@appstore/VideoStation/bin/synocodectool
3) Quit
Please choose which binary you want to patch/restore:2
Valid backup and patched synocodectool detected. Skipping patch.

and if i do cat /usr/syno/etc/codec/activation.conf
 


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

 

I think i make some error.... :)


EDIT: 

my mistake....when download it create patch.sh.1 ... hehe

 

Detected DSM version: 6.2.2 24922-4
Patch for DSM Version (6.2.2 24922-4) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume1/@appstore/VideoStation/bin/synocodectool
3) /volume1/@appstore/MediaServer/bin//synocodectool
4) Quit
Please choose which binary you want to patch/restore:3
Detected valid synocodectool. Creating backup..
Patching...
Patched
Creating spoofed activation.conf..
Spoofed activation.conf created successfully

 

Edited by Tuonorosso
Link to post
Share on other sites

Nothing...same error... :(

 

2020-05-20T10:55:23+02:00 XXXXXXXXX synocodectool: G1Licence.cpp:79 Licence not Success,error msg "SN format is wrong."
2020-05-20T10:55:23+02:00 XXXXXXXXX synocodectool: G1Licence.cpp:79 Licence not Success,error msg "SN format is wrong."
2020-05-20T10:55:24+02:00 XXXXXXXXX synocodectool: G1Licence.cpp:79 Licence not Success,error msg "SN format is wrong."
2020-05-20T10:55:24+02:00 XXXXXXXXX synocodectool: SYSTEM:      Last message 'G1Licence.cpp:79 Lic' repeated 3 times, suppressed by syslog-ng on Fantonax4
2020-05-20T10:55:24+02:00 XXXXXXXXX synoflvconv: synoflvconv.cpp:761 Failed to convert video [/volume1/photo/2011/20111117-20111231 - Mimi 1 anno - 2011/IMG_2388.MOV] to mpeg4 mp4.

 

 


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

 

Link to post
Share on other sites
On 3/29/2020 at 6:56 AM, likeadoc said:

Thanks: here is output and it was a success!!

 

Can we patch all 3 versions? right now it does not seem to allow. Once you patched one of them, the only option is to "RESTORE" even if you do "./patch.sh -p". 

 

Great work!!

 

ash-4.3# sha1sum /volume1/@appstore/MediaServer/bin/synocodectool
1d01ee38211f21c67a4311f90315568b3fa530e6  /volume1/@appstore/MediaServer/bin/synocodectool

 

Link to post
Share on other sites
46 minutes ago, likeadoc said:

@tigs you should definitely be able to patch more than one version - you just have to do it one by one. if that doesnt work could you please send a screen grab ?

@likeadoc

never mind. figured out and No issues!!! 

 

thanks a lot!!

 this is amazing

Link to post
Share on other sites

sudo find / -name synocodectool

tells me

/usr/syno/bin/synocodectool

/volume1/Apps/DS2/Scripts/synocodectool-patch-master/synocodectool

/volume2/@appstore/VideoStation/bin/synocodectool

 

so I don't have the tool in a "MediaServer" folder like others have listed, so I targetted the latest Video station app (2.4.8-1611) via self modified pkg. 

 

sha1sum /volume2/@appstore/VideoStation/bin/synocodectool
1d01ee38211f21c67a4311f90315568b3fa530e6  /volume2/@appstore/VideoStation/bin/synocodectool
 

 

Patched the 2 copies it found. not sure if it worked our not, but the script didn't complain. I still have driver issues to work on I think as I don't have a /dev/dri folder yet.

 

I believe it is working as

 

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

and

sudo cat /var/log/messages | grep SN
does not seem to be incrementing SN errors any longer

 

Edited by mervincm
Link to post
Share on other sites

Hi there

DS3615xs guest on kvm running DSM 6.2-23739 

Had this problem and applied the patch as instructed

No more SN in /var/log/messages and no errors in Log Center

Seems to work well, thanks!

Will report in case of errors!

g

Edited by grumpymonk
Link to post
Share on other sites

Thanks for the patch, it's seems that's working really well with my config, I really appreciate.

Soon I'll try to activate hw transcoding using integrated GPU but I'm not confident it will run.

 

Edited by bonzoxxx
Link to post
Share on other sites
  • 4 weeks later...

thanks for the patch. I also have a synocodectool  in:

/volume1/@appstore/SurveillanceStation/bin/synocodectool

does it need to be patched too?

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

Link to post
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.