[Verizon Samsung Galaxy S 4] egalus:
Root working on Asus New Padfone Infinity but...

Thanks for the great root possibility that is even working from linux (in my case debian jessie) and root the Asus New Padfone Infinity A86 with ww_10.12.13.111 firmware.

But I had to change "#!/bin/sh" to "#!/bin/bash" at the beginning of the script to get it working correctly.

With /bin/sh rooting worked, but I had no chance to install busybox and there were some script errors reported. All solved by choosing /bin/bash.

Maybe changing to /bin/bash would help others too.

Output of install.sh with "#!/bin/sh"

./install.sh
--- Samsung i545 VRUEMJ7 Root ---
--- Based on the CVE-2013-6282 exploit by cubeundcube ---

./install.sh: 11: [: X: unexpected operator
[*] Testing adb usability

Plug in your phone and press ENTER to continue ..../install.sh: 67: read: arg count

Watch your phone. If you see the "Allow USB debugging" prompt,
tap on the "Always allow from this computer" checkbox,
then tap OK.

If this script appears to be stuck at "Waiting for your phone to appear",
then you should try unplugging and re-plugging it to get the
permission prompt for USB debugging to appear.
If you've already done that, you should tap on the USB icon
in the notifications area that says "Connected as a media device".
On the "USB computer connection" page, switch between
"Camera" and "Media Device" to see if the device appears.
[*] Waiting for your phone to appear...
Watch your phone. Unlock it and give permission for the install to run.
[*] Your phone is detected and ready for rooting.

[*] Sending files to your device...
./install.sh: 92: [: unexpected operator
./install.sh: 96: [: unexpected operator

[*] Starting rooting program.
ro.build.product=A86
ro.build.id=JDQ39
search kallsyms...
1 2 3 4
(kallsyms_addresses=c077f360)
(kallsyms_num_syms=000118fd)
kernel dump...
1 2 3 4 5 6 7 8 9

prepare_kernel_cred=c009677c
commit_creds=c00962a0
ptmx_fops=c0bf2578
ptmx_open=c026ffb8
tty_init_dev=c0268234
tty_release=c02683b8
tty_fasync=c02672e8
ptm_driver=00000000

Succeeded in getroot!
Remount success!
Copying files..
Error opening /data/local/tmp/busybox for read: No such file or directory
Done.. reboot to enable root!

[*] Checking if rooting succeeded
[*] Removing temporary files...
./install.sh: 118: [: unexpected operator
./install.sh: 119: [: unexpected operator

[*] Rebooting...Please wait.
[*] Waiting for device to re-appear...
Wait until your phone reboots, then unlock it and press Enter:./install.sh: 139: read: arg count
On your phone, open SuperSU and let it update if it asks.
When it is done updating, press Enter to continue:./install.sh: 141: read: arg count
On your phone, watch for the SuperSU permission popup and give
permission for ADB Shell to gain root permissions.

[*] Disabling Knox
Killed
[*] Setting Permissions
./install.sh: 171: [: unexpected operator

--- All Finished ---

Output of install.sh with "#!/bin/bash"

./install.sh
--- Samsung i545 VRUEMJ7 Root ---
--- Based on the CVE-2013-6282 exploit by cubeundcube ---

Do you want to install Busybox on your device [Y/N]? y
[*] Testing adb usability

Plug in your phone and press ENTER to continue ...

Watch your phone. If you see the "Allow USB debugging" prompt,
tap on the "Always allow from this computer" checkbox,
then tap OK.

If this script appears to be stuck at "Waiting for your phone to appear",
then you should try unplugging and re-plugging it to get the
permission prompt for USB debugging to appear.
If you've already done that, you should tap on the USB icon
in the notifications area that says "Connected as a media device".
On the "USB computer connection" page, switch between
"Camera" and "Media Device" to see if the device appears.
[*] Waiting for your phone to appear...
Watch your phone. Unlock it and give permission for the install to run.
[*] Your phone is detected and ready for rooting.

[*] Sending files to your device...

[*] Starting rooting program.
ro.build.product=A86
ro.build.id=JDQ39
search kallsyms...
1 2 3 4
(kallsyms_addresses=c077f360)
(kallsyms_num_syms=000118fd)
kernel dump...
1 2 3 4 5 6 7 8 9

prepare_kernel_cred=c009677c
commit_creds=c00962a0
ptmx_fops=c0bf2578
ptmx_open=c026ffb8
tty_init_dev=c0268234
tty_release=c02683b8
tty_fasync=c02672e8
ptm_driver=00000000

Succeeded in getroot!
Remount success!
Copying files..
Done.. reboot to enable root!

[*] Checking if rooting succeeded
[*] Removing temporary files...

[*] Rebooting...Please wait.
[*] Waiting for device to re-appear...
Wait until your phone reboots, then unlock it and press Enter:
On your phone, open SuperSU and let it update if it asks.
When it is done updating, press Enter to continue:
On your phone, watch for the SuperSU permission popup and give
permission for ADB Shell to gain root permissions.

[*] Disabling Knox
Killed
[*] Setting Permissions
[*] Installing busybox

--- All Finished ---