[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] djb77:
Here's a patched / fixed version of 5.5

Insecure ADB has been added. I've also replaced the update-binary-installer file with the one I use in TGP, and also re-wrote the permission setting portion of the updater-script, this will help anyone that gets an error 7 status when they try to flash the original version.

Tested on I9305T model with 4.3 (New) Bootloader, and a second I9305T model with 4.1.2 (Old) Bootloader

Enjoy :)

[MENTION=4365701]psndna88[/MENTION], you may want to have a look at the changes in the updater-script. I attached the new files too if you wish to add them, as I'm always having to patch ADB for my own purposes and would always get error 7 with your current script.

updater-script changes:

Changed:

ui_print(" Setting Permissions... ");
set_metadata_recursive("/system/etc/init.d", "uid", 0, "gid", 2000, "dmode", 0777, "fmode", 0777, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_perm(0, 0, 0777, "/data/media/0/AGNi_reset_oc-uv_on_boot_failure.zip");
set_metadata("/system/lib/egl/libEGL_mali.so", "uid", 0, "gid", 2000, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/lib/egl/libGLESv1_CM_mali.so", "uid", 0, "gid", 2000, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/lib/egl/libGLESv2_mali.so", "uid", 0, "gid", 2000, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/lib/libMali.so", "uid", 0, "gid", 2000, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/lib/libUMP.so", "uid", 0, "gid", 2000, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/lib/hw/gralloc.default.so", "uid", 0, "gid", 2000, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/lib/hw/gralloc.exynos4.so", "uid", 0, "gid", 2000, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/lib/hw/hwcomposer.exynos4.so", "uid", 0, "gid", 2000, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");

to

ui_print(" Setting Permissions... ");
set_perm_recursive(0, 2000, 0777, 0777, "/system/etc/init.d");
set_perm(0, 0, 0777, "/data/media/0/AGNi_reset_oc-uv_on_boot_failure.zip");
set_perm(0, 0, 0644, "/system/lib/libMali.so");
set_perm(0, 0, 0644, "/system/lib/libUMP.so");
set_perm(0, 0, 0644, "/system/lib/egl/libEGL_mali.so");
set_perm(0, 0, 0644, "/system/lib/egl/libGLESv1_CM_mali.so");
set_perm(0, 0, 0644, "/system/lib/egl/libGLESv2_mali.so");
set_perm(0, 0, 0644, "/system/lib/hw/gralloc.default.so");
set_perm(0, 0, 0644, "/system/lib/hw/gralloc.exynos4.so");
set_perm(0, 0, 0644, "/system/lib/hw/hwcomposer.exynos4.so");
run_program("/system/bin/toolbox", "chcon", "u:object_r:system_file:s0", "/system/lib/libMali.so");
run_program("/system/bin/toolbox", "chcon", "u:object_r:system_file:s0", "/system/lib/libUMP.so");
run_program("/system/bin/toolbox", "chcon", "u:object_r:system_file:s0", "/system/lib/egl/libEGL_mali.so");
run_program("/system/bin/toolbox", "chcon", "u:object_r:system_file:s0", "/system/lib/egl/libGLESv1_CM_mali.so");
run_program("/system/bin/toolbox", "chcon", "u:object_r:system_file:s0", "/system/lib/egl/libGLESv2_mali.so");
run_program("/system/bin/toolbox", "chcon", "u:object_r:system_file:s0", "/system/lib/hw/gralloc.default.so");
run_program("/system/bin/toolbox", "chcon", "u:object_r:system_file:s0", "/system/lib/hw/gralloc.exynos4.so");
run_program("/system/bin/toolbox", "chcon", "u:object_r:system_file:s0", "/system/lib/hw/hwcomposer.exynos4.so");