Jump to content
XPEnology Community

Advanced Media Extension will not activate dsm7.1-42661


phone guy

Recommended Posts

6 hours ago, zexx said:

Hi

my os - Synology DSM 7.2-64570 Update 3 (DVA1622)

files attached

 

Thanks

libsynoame-license.so 93.53 kB · 1 download synoame-bin-check-license 12.06 kB · 1 download

Hi zexx,

I have checked both the binaries. Everything is as expected and nothing is unusual. synoame-bin-check-license is patched.

I managed to execute my amepatch.py on a new install of DVA1622. Everything is working correctly. can you try to uninstall AME and reinstall ?
Screenshot2023-09-24235401.thumb.png.fbe9a3367bfeb36d9708b9b3e4d160eb.png

Link to comment
Share on other sites

Hi,

 

maybe  synoame.log will be usefull:

2023-09-22T14:36:36+03:00 jim synoscgi_SYNO.AME.License_1_check[29086]: license_manager.cpp:34 Failed to get "uuid" from "SLGetUUID()"
2023-09-22T14:36:36+03:00 jim synoscgi_SYNO.AME.License_1_check[29086]: license.cpp:42 Not login sa
2023-09-22T14:55:46+03:00 jim synoame-bin-auto-install-needed-codec[15568]: license_manager.cpp:34 Failed to get "uuid" from "SLGetUUID()"
2023-09-22T14:55:46+03:00 jim synoame-bin-auto-install-needed-codec[15568]: auto-install-needed-codec.cpp:17 Failed to create "LicenseManager"
2023-09-22T14:59:10+03:00 jim synoscgi_SYNO.AME.License_1_check[3441]: license_manager.cpp:34 Failed to get "uuid" from "SLGetUUID()"
2023-09-22T14:59:10+03:00 jim synoscgi_SYNO.AME.License_1_check[3441]: license.cpp:42 Not login sa
2023-09-22T14:59:13+03:00 jim synoscgi_SYNO.AME.License_1_check[3816]: license_manager.cpp:34 Failed to get "uuid" from "SLGetUUID()"
2023-09-22T14:59:13+03:00 jim synoscgi_SYNO.AME.License_1_check[3816]: license.cpp:42 Not login sa
2023-09-22T15:00:25+03:00 jim synoscgi_SYNO.AME.License_1_check[10021]: license_manager.cpp:34 Failed to get "uuid" from "SLGetUUID()"
2023-09-22T15:00:25+03:00 jim synoscgi_SYNO.AME.License_1_check[10021]: license.cpp:42 Not login sa



maybe something wrong with SN/MAC ? i installed OS using arpl-i18n-23.9.1.img , how i can validate SN/MAC pair ?

Edited by zexx
Link to comment
Share on other sites

1 hour ago, zexx said:

Hi,

 

maybe  synoame.log will be usefull:

2023-09-22T14:36:36+03:00 jim synoscgi_SYNO.AME.License_1_check[29086]: license_manager.cpp:34 Failed to get "uuid" from "SLGetUUID()"
2023-09-22T14:36:36+03:00 jim synoscgi_SYNO.AME.License_1_check[29086]: license.cpp:42 Not login sa
2023-09-22T14:55:46+03:00 jim synoame-bin-auto-install-needed-codec[15568]: license_manager.cpp:34 Failed to get "uuid" from "SLGetUUID()"
2023-09-22T14:55:46+03:00 jim synoame-bin-auto-install-needed-codec[15568]: auto-install-needed-codec.cpp:17 Failed to create "LicenseManager"
2023-09-22T14:59:10+03:00 jim synoscgi_SYNO.AME.License_1_check[3441]: license_manager.cpp:34 Failed to get "uuid" from "SLGetUUID()"
2023-09-22T14:59:10+03:00 jim synoscgi_SYNO.AME.License_1_check[3441]: license.cpp:42 Not login sa
2023-09-22T14:59:13+03:00 jim synoscgi_SYNO.AME.License_1_check[3816]: license_manager.cpp:34 Failed to get "uuid" from "SLGetUUID()"
2023-09-22T14:59:13+03:00 jim synoscgi_SYNO.AME.License_1_check[3816]: license.cpp:42 Not login sa
2023-09-22T15:00:25+03:00 jim synoscgi_SYNO.AME.License_1_check[10021]: license_manager.cpp:34 Failed to get "uuid" from "SLGetUUID()"
2023-09-22T15:00:25+03:00 jim synoscgi_SYNO.AME.License_1_check[10021]: license.cpp:42 Not login sa



maybe something wrong with SN/MAC ? i installed OS using arpl-i18n-23.9.1.img , how i can validate SN/MAC pair ?


I have seen exact same entries on my log before activating the patch for AME. These are normal entries. FYI, I'm using random MAC address generated by my ESXi and the VMware workstation for the clean install DVA1622. SN is also auto generated by arpl. No custom setting here.

Link to comment
Share on other sites

23 hours ago, zexx said:

I uninstalled AME2 , rebooted and  tried to reproduce:

step1.png

step2.png

step3.png

step4.png

step5.png

step6.png

Unfortunately, I was not able to replicate your errors on my DVA1622. have installed both mediaserver and the videostation so I can get as close as possible to your setup. I'm still getting successful patch. Here is my screenshot.Screenshot2023-09-26110209.png.3580786e7045744583ff86f7ae69073a.png
 

Your setup must have some condition which breaks the library. Do you have any addons from arpl ? I didn't have any, plain vanilla setup in my arpl test.
are you able to test this library? I have added an additional NOP to the library. Since I'm not able to debug the the condition myself and replicate your errors. I'm only able to guess wildly the condition in the library. You have to test the libsynoame-license.so from the attachment I have added. Replace the existing library ( I'm not 100% it will work, give it a try. )

libsynoame-license.so

Link to comment
Share on other sites

some details:

 

# strace ./synoame-bin-check-license  2>&1 | grep netif
openat(AT_FDCWD, "/proc/sys/kernel/syno_internal_netif_num", O_RDONLY) = 3


without parameter "netif_num=X" in cmdline syno_internal_netif_num will return "-1"  , i think that this check should be added to patches


 

Link to comment
Share on other sites

On 9/28/2023 at 12:47 PM, zexx said:

some details:

 

# strace ./synoame-bin-check-license  2>&1 | grep netif
openat(AT_FDCWD, "/proc/sys/kernel/syno_internal_netif_num", O_RDONLY) = 3


without parameter "netif_num=X" in cmdline syno_internal_netif_num will return "-1"  , i think that this check should be added to patches


 

Then If I do this:

strace ./synoame-bin-check-license

I will have -1 result?

 

and If I do this:

strace ./synoame-bin-check-license 2>&1 | grep netif

I will have 0 result?

 

It's correct this?

Link to comment
Share on other sites

On 9/28/2023 at 11:47 AM, zexx said:

some details:

 

# strace ./synoame-bin-check-license  2>&1 | grep netif
openat(AT_FDCWD, "/proc/sys/kernel/syno_internal_netif_num", O_RDONLY) = 3


without parameter "netif_num=X" in cmdline syno_internal_netif_num will return "-1"  , i think that this check should be added to patches
 

easy patch request, can be done. However, question is do we need this ? I didn't put in netif_num in the parameters. How did mine work ?

Edited by killerzac
Link to comment
Share on other sites

  • 2 weeks later...
On 9/16/2023 at 8:08 AM, veersrag said:

Hi,

 

i was able to get AME 1.0.0-00001 with HEVC green tick

 

but now i get this error in photo station 

-The file cannot be displayed due to a conversion failure. IMG_0845.HEIC

 

unable to patch codecpatch.sh is the above issue related to codecpatch.sh?  

 

i am on DSM 7.1.1-42962 Update 6

 

codecpatchfix.sh: command not found

 

thxs

 

same here.

Link to comment
Share on other sites

On 7/24/2023 at 6:27 AM, dj_nsk said:

You need:

codec patch file from the above quote and AME 3.0 patch from wangsiji solves my Synology photos transcoding issues, thxs for all your work @wirgen @wangsiji and @dj_nsk for posting the links!

 

wangsiji AME 3.0 patch i got from here

https://xpenology.com/forum/topic/65643-ame-30-patcher/

 

now after the codec patch, videos take a longer time to load on mobile and mobile web browser I do not see any delay in pc/tv and also ended up with AAC grayed out in AME 1.0.0-00001 and won't update to 1.0.0-50001

Edited by veersrag
added a link
Link to comment
Share on other sites

On 9/25/2023 at 12:38 PM, zexx said:

I uninstalled AME2 , rebooted and  tried to reproduce:

step1.png

step2.png

step3.png

step4.png

step5.png

step6.png

good morning, did you manage to resolve this? i have exactly the same issue. Im unable to login to synology account INSIDE dsm. For example control panel > synology account. Or: Package center > Advanced Media Extensions > Open > Login with synology account. When i click, nothing happens.  

Im on ARC 23.10.5

Link to comment
Share on other sites

On 9/28/2023 at 7:36 PM, zexx said:

Hi,

Thanks for help, problem was fixed by adding "netif_num=2" to cmdline (looks like arpl-i18n skip this parameter by default)

Also  i can confirm, that on  DSM 7.2.1-69057  patches also works:


 

Screenshot from 2023-09-28 13-36-10.png

How did you make it work? I clean installed 7.2.1 few days ago and couldn't get the codec to work 

Link to comment
Share on other sites

Hello everybody,

 

I have the problem Codec AAC now disable.

 

New Version (1.0.0-50001) for HEVC and AAC-Codec is ready to installation.

 

aber Install Button => Download or installation failed. Check your internet connection and try again

 

Have anyone a Solution?

 

Thanks

Regards Dreamscape

Edited by Dreamscape
Link to comment
Share on other sites

On 10/26/2023 at 10:45 PM, Dreamscape said:

Hello everybody,

 

I have the problem Codec AAC now disable.

 

New Version (1.0.0-50001) for HEVC and AAC-Codec is ready to installation.

 

aber Install Button => Download or installation failed. Check your internet connection and try again

 

Have anyone a Solution?

 

Thanks

Regards Dreamscape

You will need to use my Wrapper and use the AAC codec like EAC3 or DTS... With my Wrapper you will be able to play it.

https://github.com/darknebular/Wrapper_VideoStation

Regards.

Edited by darknebular
Link to comment
Share on other sites

I'm on 7.2.1 and I got

Patching
MD5 match version AME 1.1.0-51005 date: 21/06/2023
Checking whether patch is successful...
Patch is unsuccessful, retcode = 256

and now im getting

Patching
MD5 mismatch, not matching any version of AME

any solution? i only need heic and hevc for synology photo

 

Edited by Andrushencia
Link to comment
Share on other sites

Can someone write all the commands to enter in the SSH console from start to finish? I tried several times and unfortunately it stops at the installation option. I can't move on. Regards

Quote

Hello everybody,

 

I have the problem Codec AAC now disable.

 

New Version (1.0.0-50001) for HEVC and AAC-Codec is ready to installation.

 

aber Install Button => Download or installation failed. Check your internet connection and try again

 

Have anyone a Solution?

 

Thanks

Regards Dreamscape

You will need to use my Wrapper and use the AAC codec like EAC3 or DTS... With my Wrapper you will be able to play it.

https://github.com/darknebular/Wrapper_VideoStation

Regards.

Edited November 2 by darknebular

 

Edited by Miodek
Link to comment
Share on other sites

  • 2 weeks later...

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...