phone guy Posted July 22, 2022 Author #51 Posted July 22, 2022 To be clear, has anyone used a real serial/mac from a different model than the platform they build the loader for and successfully authorized AME? Example: used real serial/mac for DS920 on loader build for DS3622 and gotten AME to authorized successfully? Syno HQ is not verifying serial/mac against model number??? Quote
Orphée Posted July 23, 2022 #52 Posted July 23, 2022 (edited) Just my 2 cents but this works : Just need to add "7.1 42661-3" at the right place : Edited July 23, 2022 by Orphée 1 Quote
apriliars3 Posted July 23, 2022 #53 Posted July 23, 2022 10 hours ago, Orphée said: Just my 2 cents but this works : Just need to add "7.1 42661-3" at the right place : Is this patch work like AME? If you not active AME but you have activate this patch ¿Have you HVEC and ACC similar than AME? Quote
Orphée Posted July 23, 2022 #54 Posted July 23, 2022 4 minutes ago, apriliars3 said: Is this patch work like AME? If you not active AME but you have activate this patch ¿Have you HVEC and ACC similar than AME? Did you look my last screenshot ? What option did I choose when I applied the patch ? it IS actually AME patched. Quote
apriliars3 Posted July 23, 2022 #55 Posted July 23, 2022 53 minutes ago, Orphée said: Did you look my last screenshot ? What option did I choose when I applied the patch ? it IS actually AME patched. Well, if I have activated AME, this command not works. cat /usr/syno/etc/codec/activation.conf If I have activated this patch, this command works. {"success":true,"activated_codec":["hevc_dec","ac3_dec","h264_dec","h264_enc","aac_dec","aac_enc","mpeg4part2_dec","vc1_dec","vc1_enc"],"token":"123456789987654abc"} Quote
apriliars3 Posted July 28, 2022 #56 Posted July 28, 2022 @Orphée Patch not works with HEVC videos and photos with Synology Photos. Only when active AME works and watch the small capture of the video, without AME only watch gray screen. Quote
AleAmadoC Posted July 30, 2022 #57 Posted July 30, 2022 On 7/28/2022 at 3:47 PM, apriliars3 said: @Orphée Patch not works with HEVC videos and photos with Synology Photos. Only when active AME works and watch the small capture of the video, without AME only watch gray screen. Yup its the same with synology surveillance, it says its activated but when you try to load an h265+ camera stream it says cant be streamed and have to activate advanced media extensions, thank you for sharing this solution but doesn't work, at least not for my intended use. Best regards 1 Quote
tuanchip1994 Posted August 1, 2022 #58 Posted August 1, 2022 hey guy, how to download old version 1.1.1-0202 of ame Quote
Reclip Posted August 7, 2022 #59 Posted August 7, 2022 Hi, im dealing with the same problem and im considering to downgrade to dsm 7.0.1. Does it fully work on the previous version. If I downgrade will I be able to use SS9 with h265 support? Thank you. Quote
ilovepancakes Posted August 7, 2022 #60 Posted August 7, 2022 I am running TC Redpill with 3622xs loader on 7.1 Update 4. AME doesn't activate, so I changed the grub commands on boot to reflect netif_num=2 and added a 2nd mac address so 2 mac addresses and correct netif_num and AME still does NOT activate. Guess that netif_num isn't the solution? Quote
error403 Posted August 8, 2022 #61 Posted August 8, 2022 On 8/7/2022 at 11:20 AM, Reclip said: Hi, im dealing with the same problem and im considering to downgrade to dsm 7.0.1. Does it fully work on the previous version. If I downgrade will I be able to use SS9 with h265 support? Thank you. In my tests, 7.0.1 worked fine. But you can't always stick to that version. Just a temporary workaround. Quote
Reclip Posted August 9, 2022 #62 Posted August 9, 2022 Why not. I've been on 6.2.3 few years Or is there something different with 7.0.1? Thanks Quote
error403 Posted August 9, 2022 #63 Posted August 9, 2022 If 6.x and 7.0.x get security updates, you're fine. Quote
OiCkilL Posted September 17, 2022 #64 Posted September 17, 2022 Any update for 7.1.1-42962 and AME 3.0? 2 Quote
wangsiji Posted December 8, 2022 #72 Posted December 8, 2022 (edited) How to get AME3.0 to work: Install AME package, and run the following python script to get latest codec! import hashlib import os r = ['669066909066906690', 'B801000000', '30'] s = [(0x1F28, 0), (0x48F5, 1), (0x4921, 1), (0x4953, 1), (0x4975, 1), (0x9AC8, 2)] prefix = '/var/packages/CodecPack/target/usr' so = prefix + '/lib/libsynoame-license.so' print("Patching") with open(so, 'r+b') as fh: full = fh.read() if hashlib.md5(full).digest().hex() != 'fcc1084f4eadcf5855e6e8494fb79e23': print("MD5 mismatch") exit(1) for x in s: fh.seek(x[0] + 0x8000, 0) fh.write(bytes.fromhex(r[x[1]])) lic = '/usr/syno/etc/license/data/ame/offline_license.json' os.makedirs(os.path.dirname(lic), exist_ok=True) with open(lic, 'w') as licf: licf.write('[{"appType": 14, "appName": "ame", "follow": ["device"], "server_time": 1666000000, "registered_at": 1651000000, "expireTime": 0, "status": "valid", "firstActTime": 1651000001, "extension_gid": null, "licenseCode": "0", "duration": 1576800000, "attribute": {"codec": "hevc", "type": "free"}, "licenseContent": 1}, {"appType": 14, "appName": "ame", "follow": ["device"], "server_time": 1666000000, "registered_at": 1651000000, "expireTime": 0, "status": "valid", "firstActTime": 1651000001, "extension_gid": null, "licenseCode": "0", "duration": 1576800000, "attribute": {"codec": "aac", "type": "free"}, "licenseContent": 1}]') print("Checking whether patch is successful...") ret = os.system(prefix + "/bin/synoame-bin-check-license") if ret == 0: print("Successful, updating codecs...") os.system(prefix + "/bin/synoame-bin-auto-install-needed-codec") print("Done") else: print(f"Patch is unsuccessful, retcode = {ret}”) After codec is installed, you have to replace `synocodectool` to an empty bin returning 0. Execute the following shell script as root: cd /var/packages/CodecPack/target/bin mv synocodectool synocodectool.bak echo "#!/bin/sh" > synocodectool chmod 755 synocodectool Enjoy! Please test and feedback! Edited December 8, 2022 by wangsiji Quote
wangsiji Posted December 9, 2022 #74 Posted December 9, 2022 Could you please post more info on your problem? What machine model are you using? Which version of synology? Which version of AME? Could you upload /var/packages/CodecPack/target/usr/lib/libsynoame-license.so for me to have a look? Quote
wangsiji Posted December 9, 2022 #75 Posted December 9, 2022 9 hours ago, ti9errr said: I get MD5 mismatch. Could you please post more info on your problem? What machine model are you using? Which version of synology? Which version of AME? Could you upload /var/packages/CodecPack/target/usr/lib/libsynoame-license.so for me to have a look? Quote
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.