Jump to content
XPEnology Community

Advanced Media Extension will not activate dsm7.1-42661


phone guy

Recommended Posts

Hi folks. This is my setup: 

DS918+

DSM Version 7.2 64570-1

Using TinyCore https://github.com/pocopico/tinycore-redpill 

Setup on BareMetal intel Core i3 

ASRock Rack C236 WSI Mini ITX Server Motherboard LGA 1151 Intel C236 

4disks 3.5 SHA2 + 1xNvme SSD Cache 

image.thumb.png.1e482f06c582f73e26de6f6dcfd59c28.png

Applied amepatch.py

 

sudo python amepatch.py
Patching
MD5 mismatch, not matching any version of AME

 

Applied codecpatch.sh 

 sudo ./codecpatch.sh -p
Password:
Detected DSM version: 7.2 64570-1
Patch for DSM Version (7.2 64570-1) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume1/@appstore/VideoStation/bin/synocodectool
3) /volume1/@appstore/CodecPack/bin/synocodectool
4) /volume1/@appstore/AudioStation/bin/synocodectool
5) Quit
Please choose which binary you want to patch/restore:3
Valid backup and patched synocodectool detected. Skipping patch.

 

Any ideas let me know 

 

Thanks 

Gabe 

 

 

Link to comment
Share on other sites

Hi there
Thank you so much for this page, it did (after a lot of trial and error) solve my problem too.

I am running 

DSM 7.2.1-69057
on Proxmox, virtualized in a VM,

emulating a DS3622xs+

 

I figured I had to prepare as others described: Download Advanced Media Extensions, but do NOT open it yet.

connect to your DSM Admin account via SSH and upload the two files (edit before!)

 

 

First I used these files: 

 

however i got this error, not listing 7.2.1 69057-0

 

ash-4.4# ./codecpatch.sh -p
Detected DSM version: 7.2.1 69057-0
Patch for DSM Version (7.2.1 69057-0) not found.
Patch is available for versions:
6.0 7321-0
6.0 7321-1
6.0 7321-2
.........
...etc...
.........
7.1 42661-4
7.1.1 42962-0
7.1.1 42962-1
7.1.1 42962-2
7.1.1 42962-3
7.1.1 42962-4
7.2 64570-1

 

therefore I added the following lines:

(24)     ["d316d5b2b080346b4bc197ad5ad7994ac043a15d"]="7.2.1-69057-0_7.2.1-69057-0"


(195)    "7.2.1 69057-0"

 

then the codecpatch worked.
 

ash-4.4# ./codecpatch.sh -p
Detected DSM version: 7.2.1 69057-0
Patch for DSM Version (7.2.1 69057-0) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume1/@appstore/VideoStation/bin/synocodectool
3) /volume1/@appstore/CodecPack/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

(edit: i first had to try 1) and 2) which did not work, but 3) did finally.. no idea why but there we go..)

 

 

after that the amepatch worked:

 

ash-4.4# python amepatch.py
Patching
MD5 match version AME 1.1.0-51005 date: 21/06/2023
Checking whether patch is successful...
Successful, updating codecs...
Done

 

hope this helps some other folks out there!

Happy new year!
 

Edited by zehndi77
  • Like 1
Link to comment
Share on other sites

I can confirm, that newest AME (only HEVC codec) is working with DS918+ when using valid SN without any system modifications.

AME 1.1.0-01006 06.01.2024

using loader TCRP with M Shell (by PeterSuh-Q3) v1.0.1.0

DSM 7.2.1-69057 Update 3

VM on ProxMox

 

You can check SN by registering it on Syno website. It it registers than it probably will work inside DSM.

 

Edited by archon
Link to comment
Share on other sites

On 1/3/2024 at 5:15 PM, zehndi77 said:

Hi there
Thank you so much for this page, it did (after a lot of trial and error) solve my problem too.

I am running 

DSM 7.2.1-69057
on Proxmox, virtualized in a VM,

emulating a DS3622xs+

 

I figured I had to prepare as others described: Download Advanced Media Extensions, but do NOT open it yet.

connect to your DSM Admin account via SSH and upload the two files (edit before!)

 

 

First I used these files: 

 

however i got this error, not listing 7.2.1 69057-0

 

ash-4.4# ./codecpatch.sh -p
Detected DSM version: 7.2.1 69057-0
Patch for DSM Version (7.2.1 69057-0) not found.
Patch is available for versions:
6.0 7321-0
6.0 7321-1
6.0 7321-2
.........
...etc...
.........
7.1 42661-4
7.1.1 42962-0
7.1.1 42962-1
7.1.1 42962-2
7.1.1 42962-3
7.1.1 42962-4
7.2 64570-1

 

therefore I added the following lines:

(24)     ["d316d5b2b080346b4bc197ad5ad7994ac043a15d"]="7.2.1-69057-0_7.2.1-69057-0"


(195)    "7.2.1 69057-0"

 

then the codecpatch worked.
 

ash-4.4# ./codecpatch.sh -p
Detected DSM version: 7.2.1 69057-0
Patch for DSM Version (7.2.1 69057-0) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume1/@appstore/VideoStation/bin/synocodectool
3) /volume1/@appstore/CodecPack/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

(edit: i first had to try 1) and 2) which did not work, but 3) did finally.. no idea why but there we go..)

 

 

after that the amepatch worked:

 

ash-4.4# python amepatch.py
Patching
MD5 match version AME 1.1.0-51005 date: 21/06/2023
Checking whether patch is successful...
Successful, updating codecs...
Done

 

hope this helps some other folks out there!

Happy new year!
 

HI, does anyone know the line for  7.2.1 69057-3 ?

Link to comment
Share on other sites

On 1/3/2024 at 4:15 PM, zehndi77 said:

Hi there
Thank you so much for this page, it did (after a lot of trial and error) solve my problem too.

I am running 

DSM 7.2.1-69057
on Proxmox, virtualized in a VM,

emulating a DS3622xs+

 

I figured I had to prepare as others described: Download Advanced Media Extensions, but do NOT open it yet.

connect to your DSM Admin account via SSH and upload the two files (edit before!)

 

 

First I used these files: 

 

however i got this error, not listing 7.2.1 69057-0

 

ash-4.4# ./codecpatch.sh -p
Detected DSM version: 7.2.1 69057-0
Patch for DSM Version (7.2.1 69057-0) not found.
Patch is available for versions:
6.0 7321-0
6.0 7321-1
6.0 7321-2
.........
...etc...
.........
7.1 42661-4
7.1.1 42962-0
7.1.1 42962-1
7.1.1 42962-2
7.1.1 42962-3
7.1.1 42962-4
7.2 64570-1

 

therefore I added the following lines:

(24)     ["d316d5b2b080346b4bc197ad5ad7994ac043a15d"]="7.2.1-69057-0_7.2.1-69057-0"


(195)    "7.2.1 69057-0"

 

then the codecpatch worked.
 

ash-4.4# ./codecpatch.sh -p
Detected DSM version: 7.2.1 69057-0
Patch for DSM Version (7.2.1 69057-0) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume1/@appstore/VideoStation/bin/synocodectool
3) /volume1/@appstore/CodecPack/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

(edit: i first had to try 1) and 2) which did not work, but 3) did finally.. no idea why but there we go..)

 

 

after that the amepatch worked:

 

ash-4.4# python amepatch.py
Patching
MD5 match version AME 1.1.0-51005 date: 21/06/2023
Checking whether patch is successful...
Successful, updating codecs...
Done

 

hope this helps some other folks out there!

Happy new year!
 

 

Do you have a Valid MAC/SN, Its kind of weird, these things work for me sometimes and sometimes not, i never use a valid mac/sn because whats the purpose of using xpenology if you have a synology hardware, unless you want more power, that could be the case.

 

Well the thing is the only solution I found when things fail its to reinstall my xpenology from scratch and it works only using amepatch.py, have one xpenology machine who upgraded to 7.2.1 and damaged my ame because it updated and i tried all the pages in this thread and nothing works, so i will reinstall all and report back.

 

Best regards

 

 

Link to comment
Share on other sites

Just did it right now, installed a new xpenology RS3621xs+, no valid SN or MAC, installed AME, patched only using amepatch.py and that's it, is running with no problems.

 

>.<

 

I don't Understand why only works on clean install.

 

Mayne some dev can share some knowledge,

 

Best regards

Link to comment
Share on other sites

All rigth,

 

It Worked on the xpenology that was failing,

 

No Valid MAC or SN

 

1. Uninstalled AME

2. Rebooted Xpenology

3. Reinstalled AME (Witouth Opening)

4. Ran codepatch.sh -p (Patched all available instances)

5. Ran Python amepatch.py

6. Opened AME its working

 

I use it for surveillance station, and all my cameras are streaming now at h265+

 

Cheers

  • Like 1
Link to comment
Share on other sites

Le 12/01/2024 à 18:51, AleAmadoC a dit :

All rigth,

 

It Worked on the xpenology that was failing,

 

No Valid MAC or SN

 

1. Uninstalled AME

2. Rebooted Xpenology

3. Reinstalled AME (Witouth Opening)

4. Ran codepatch.sh -p (Patched all available instances)

5. Ran Python amepatch.py

6. Opened AME its working

 

I use it for surveillance station, and all my cameras are streaming now at h265+

 

Cheers

Hi, you process is good, Video Station run now

 

But my Surveilance Station is not run now :( ...

 

Can you help ?

Link to comment
Share on other sites

  • 2 weeks later...

I had do this

Цитата

 

1. Uninstalled AME

2. Rebooted Xpenology

3. Reinstalled AME (Witouth Opening)

4. Ran codepatch.sh -p (Patched all available instances)

5. Ran Python amepatch.py

6. Opened AME its working

 

 

I edit my file codecpatch.sh

and added my system: 7.2.1 69057-3

like here:

Цитата

therefore I added the following lines:

(24) ["d316d5b2b080346b4bc197ad5ad7994ac043a15d"]="7.2.1-69057-0_7.2.1-69057-0"

(195) "7.2.1 69057-0"

 

 

then i run:

~$ sudo bash /volume1/web/codecpatch1.sh -p
Password:
Detected DSM version: 7.2.1 69057-3
Patch for DSM Version (7.2.1 69057-3) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume2/@appstore/CodecPack/bin/synocodectool
3) Quit
Please choose which binary you want to patch/restore:2
Detected valid synocodectool. Creating backup..
Patching...
Patched
Creating spoofed activation.conf..
Spoofed activation.conf created successfully
:~$ sudo python /volume1/web/amepatch.py
Patching
MD5 match version AME 1.1.0-51005 date: 21/06/2023
Checking whether patch is successful...
Successful, updating codecs...
Done

BUT

In Syno Photo - HEVC does not shown. And I don't know what to do.

 

image.png.cf6f0d3e1ccd10e26c76e278e3149a0a.png

image.png.5f2dbe5abacff7b3c2321f1f54e2f218.png

 

AnyOne KNOW HOW to make it WORK? :)

  • Like 1
Link to comment
Share on other sites

On 1/4/2024 at 9:15 AM, zehndi77 said:

Hi there
Thank you so much for this page, it did (after a lot of trial and error) solve my problem too.

I am running 

DSM 7.2.1-69057
on Proxmox, virtualized in a VM,

emulating a DS3622xs+

 

I figured I had to prepare as others described: Download Advanced Media Extensions, but do NOT open it yet.

connect to your DSM Admin account via SSH and upload the two files (edit before!)

 

 

First I used these files: 

 

however i got this error, not listing 7.2.1 69057-0

 

ash-4.4# ./codecpatch.sh -p
Detected DSM version: 7.2.1 69057-0
Patch for DSM Version (7.2.1 69057-0) not found.
Patch is available for versions:
6.0 7321-0
6.0 7321-1
6.0 7321-2
.........
...etc...
.........
7.1 42661-4
7.1.1 42962-0
7.1.1 42962-1
7.1.1 42962-2
7.1.1 42962-3
7.1.1 42962-4
7.2 64570-1

 

therefore I added the following lines:

(24)     ["d316d5b2b080346b4bc197ad5ad7994ac043a15d"]="7.2.1-69057-0_7.2.1-69057-0"


(195)    "7.2.1 69057-0"

 

then the codecpatch worked.
 

ash-4.4# ./codecpatch.sh -p
Detected DSM version: 7.2.1 69057-0
Patch for DSM Version (7.2.1 69057-0) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume1/@appstore/VideoStation/bin/synocodectool
3) /volume1/@appstore/CodecPack/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

(edit: i first had to try 1) and 2) which did not work, but 3) did finally.. no idea why but there we go..)

 

 

after that the amepatch worked:

 

ash-4.4# python amepatch.py
Patching
MD5 match version AME 1.1.0-51005 date: 21/06/2023
Checking whether patch is successful...
Successful, updating codecs...
Done

 

hope this helps some other folks out there!

Happy new year!
 

Hi Zehndi77, I am getting the following error when i run bash codecpatch.sh -p
codecpatch.sh: line 2: $'\r': command not found

 

Am i doing something wrong?

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...
В 13.09.2023 в 16:16, RedwinX сказал:

Hi,

 

Maybe you can help me :). I'm on SA6400, with 7.2 update 3. I have a valid SN/MAC (7!), but cannot activate AME. I can connect to my account in global settings, have all functionnality, including activate the ABB & ABO365, but not AME... The Python script doesn't work. It say unsuccessful. and when I launch AME:

image.thumb.png.8a5bbbd5def1f31647c28f40282668d3.png

I've got the same issue!

 

My setup:

Baremetal installation

Cpu i5 - 12400

Dsm - 7.1 or 7.2 (checked both) 

Loaders - arc, rr, tcrp

Models - sa6400 (I've used it due to new kernel which support igpu gen10+), ds918+ (both with valid pairs sn mac) 

 

Anyone knows why ame can't get licence? May be some parameters are missing in modern loaders? 

 

Ps: i've got old baremetal installation with i5 8400, dsm 7.1, model ds918+ with the same valid sn+mac where  all works fine from the box, ame codecs/hw transcoding /face recognition (but there only very old tcrp boot loader)

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

Hi all,

 

This worked for me, it was a combination of methods I have found here.

 

1st step based on this post

1. Uninstalled AME

2. Rebooted Xpenology

3. Reinstalled AME (Witouth Opening)

2nd step Based on this post

I changed the line 23

["d316d5b2b080346b4bc197ad5ad7994ac043a15d"]="7.2.1 69057-5_7.2.1 69057-5"

 

and added in line 194

"7.2.1 69057-5"

 

3rd step this is post where you will find the patches

 

4. Ran codepatch.sh -p (Patched all available instances)

5. Ran Python amepatch.py

6. Opened AME its working

 

Now, if you have many videos on your DB it could take a couple of minutes or days to index all, after all files are indexed you can go to your syno photos and the videos will work normally.

 

 

Link to comment
Share on other sites

  • 3 weeks later...

Hello everyone,

 

my apologies for the delay, I was on vacation.

Unfortunetely, thise method doesn't work for me. Maybe 'cause I have real SN and MAC, I don't know.

But AME remains hopelessly inactivated.

 

Oh, and the python script gives me an error (256), if anyone knows what that means...

Link to comment
Share on other sites

  • 4 weeks later...

hi everyone,need help plz,

I got DSM 7.2-64561 on DS3622xs+ with Valid SN.

I tried  so many times:

Uninstalled AME- Rebooted -Reinstalled AME (Witouth Opening)-Run codecpatch.sh -p (after added line "7.2 64561-0") success - Ran Python amepatch.py(ret 256)Fail

./codecpatch.sh

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

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

 

 

python ame_patch.py

root@nas:/volume1/nas# python ame_patch.py
Patching
MD5 match version AME 1.1.0-51005 date: 21/06/2023
Checking whether patch is successful...
Patch is unsuccessful, retcode = 256

 

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