|
|
|
@ -202,10 +202,10 @@ def get_android_id():
|
|
|
|
|
|
|
|
|
|
def install_ndk():
|
|
|
|
|
sys_image_mount = "/tmp/waydroidimage"
|
|
|
|
|
ndk_zip_url = "https://github.com/newbit1/libndk_translation_Module/archive/c6077f3398172c64f55aad7aab0e55fad9110cf3.zip"
|
|
|
|
|
ndk_zip_url = "https://github.com/newbit1/libndk_translation_Module/releases/download/v1.0/libndk_translation_Module.zip"
|
|
|
|
|
dl_file_name = os.path.join(download_loc, "libndktranslation.zip")
|
|
|
|
|
extract_to = "/tmp/libndkunpack" #All catalog files will be marked as executable!
|
|
|
|
|
act_md5 = "5e8e0cbde0e672fdc2b47f20a87472fd"
|
|
|
|
|
act_md5 = "5D2F9E3D94906BAEBD3CEFA7860BD7EC"
|
|
|
|
|
loc_md5 = ""
|
|
|
|
|
apply_props = {
|
|
|
|
|
"ro.product.cpu.abilist": "x86_64,x86,armeabi-v7a,armeabi", #arm64-v8a,
|
|
|
|
@ -266,7 +266,7 @@ on property:ro.enable.native.bridge.exec=1
|
|
|
|
|
|
|
|
|
|
# Copy library file
|
|
|
|
|
print("==> Copying library files ...")
|
|
|
|
|
shutil.copytree(os.path.join(extract_to, "libndk_translation_Module-c6077f3398172c64f55aad7aab0e55fad9110cf3", "system"), os.path.join(sys_image_mount, "system"), dirs_exist_ok=True)
|
|
|
|
|
shutil.copytree(os.path.join(extract_to, "libndk_translation_Module", "system"), os.path.join(sys_image_mount, "system"), dirs_exist_ok=True)
|
|
|
|
|
|
|
|
|
|
# Add entries to build.prop
|
|
|
|
|
print("==> Adding arch in build.prop")
|
|
|
|
|