[Android Software/Hacking General [Developers Only]] ameel:
Installing zip file '/external_sd/superuser-r266-hidesu.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
+ fd=24
+ [ ! -L /proc/self/fd/24 ]
+ zip=/external_sd/superuser-r266-hidesu.zip
+ ui_print Installing seSuperuser...
+ echo ui_print Installing seSuperuser...
Installing seSuperuser...+ rm -Rf /tmp/superuser
+ mkdir -p /tmp/superuser
+ unzip -o /external_sd/superuser-r266-hidesu.zip -d /tmp/superuser/
Archive: /external_sd/superuser-r266-hidesu.zip
creating: scripts/
inflating: scripts/.gitignore
creating: scripts/bin/
inflating: scripts/bin/bootimg-extract
inflating: scripts/bin/bootimg-repack
inflating: scripts/bin/futility-arm
inflating: scripts/bin/hidesu
inflating: scripts/bin/sepolicy-inject
inflating: scripts/bin/sepolicy-inject-v2
inflating: scripts/bin/strip-cpio
inflating: scripts/bin/su-arm
inflating: scripts/bin/su-x86
inflating: scripts/bootimg.sh
inflating: scripts/gitversion
inflating: scripts/kernel_data_key.vbprivk
inflating: scripts/kernel_data_key.vbpubk
inflating: scripts/kernel_subkey.vbprivk
inflating: scripts/kernel_subkey.vbpubk
creating: scripts/keystore_tools/
inflating: scripts/keystore_tools/BootKeystoreSigner.jar
inflating: scripts/keystore_tools/BootSignature.jar
inflating: scripts/keystore_tools/make_key
inflating: scripts/keystore_tools/README
inflating: scripts/README.md
creating: scripts/su/
inflating: scripts/su/changes.sh
inflating: scripts/su/rights.sh
inflating: scripts/su/su-communication.sh
inflating: scripts/zf2_6_sig
inflating: config.txt
creating: META-INF/
creating: META-INF/com/
creating: META-INF/com/google/
creating: META-INF/com/google/android/
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
+ cat /tmp/superuser/config.txt
+ modes=eng verity crypt hidesu
+ cd /tmp/superuser/scripts/su/
+ fstab=/etc/recovery.fstab
+ [ ! -f /etc/recovery.fstab ]
+ grep -E \b/boot\b /etc/recovery.fstab
+ grep -oE /dev/[a-zA-Z0-9_./-]*
+ bootimg=/dev/block/by-name/boot
+ [ -z /dev/block/by-name/boot ]
+ ui_print seSuperuser: Found bootimg @ /dev/block/by-name/boot
+ echo ui_print seSuperuser: Found bootimg @ /dev/block/by-name/boot
+ sh -x ../bootimg.sh /dev/block/by-name/boot eng verity crypt hidesu
seSuperuser: Found bootimg @ /dev/block/by-name/boot+ export TMPDIR=/tmp/
+ which mktemp
/sbin/mktemp
+ [ 5 == 0 ]
+ set -e
+ [ -f eng ]
+ scr=/tmp/superuser/scripts/su/changes.sh
+ trap cleanup EXIT
+ readlink -f ../bootimg.sh
+ dirname /tmp/superuser/scripts/bootimg.sh
+ scriptdir=/tmp/superuser/scripts
+ chmod 0755 /tmp/superuser/scripts/bin/sepolicy-inject
+ chmod 0755 /tmp/superuser/scripts/bin/sepolicy-inject-v2
MtpServer::run fd: 18
E:request read returned -1, errno: 5, exiting MtpServer::run loop
+ chmod 0755 /tmp/superuser/scripts/bin/bootimg-repack
+ chmod 0755 /tmp/superuser/scripts/bin/bootimg-extract
+ chmod 0755 /tmp/superuser/scripts/bin/strip-cpio
+ [[ toto2 =~ toto ]]
sh: =~: unknown operand
+ r_file_perms=getattr open read ioctl lock
+ x_file_perms=getattr execute execute_no_trans
+ rx_file_perms=getattr open read ioctl lock getattr execute execute_no_trans
+ w_file_perms=open append write
+ rw_file_perms=getattr open read ioctl lock open append write
+ rwx_file_perms=getattr open read ioctl lock getattr execute execute_no_trans
+ rw_socket_perms=ioctl read getattr write setattr lock append bind connect getopt setopt shutdown
+ create_socket_perms=create ioctl read getattr write setattr lock append bind connect getopt setopt shutdown
+ rw_stream_socket_perms=ioctl read getattr write setattr lock append bind connect getopt setopt shutdown listen accept
+ create_stream_socket_perms=create ioctl read getattr write setattr lock append bind connect getopt setopt shutdown listen accept
+ r_dir_perms=open getattr read search ioctl
+ w_dir_perms=open search write add_name remove_name
+ ra_dir_perms=open getattr read search ioctl add name write
+ rw_dir_perms=open getattr read search ioctl open search write add_name remove_name
+ create_dir_perms=create reparent rename rmdir setattr open getattr read search ioctl open search write add_name remove_name
+ startBootImgEdit /dev/block/by-name/boot
+ readlink -f /dev/block/by-name/boot
+ f=/dev/block/mmcblk0p1
+ homedir=/tmp/superuser/scripts/su
+ mktemp -d
+ bootimg_extract=/tmp/tmp.rn9OrZ
+ cd /tmp/tmp.rn9OrZ
+ /tmp/superuser/scripts/bin/bootimg-extract /dev/block/mmcblk0p1
/tmp/superuser/scripts/bin/bootimg-extract: line 1: syntax error: unexpected word (expecting ")")
+ cleanup
+ rm -Rf /tmp/tmp.rn9OrZ
Updater process ended with ERROR: 2
I:Legacy property environment disabled.
Error installing zip file '/external_sd/superuser-r266-hidesu.zip'
Updating partition details...
MtpServer::run fd: 18
E:request read returned -1, errno: 5, exiting MtpServer::run loop
I:Data backup size is 10663MB, free: 25181MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
MtpServer::run fd: 18
E:request read returned -1, errno: 5, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 5, exiting MtpServer::run loop
I:Set page: 'reboot_system_routine'
I:Set page: 'rebootcheck'