[Galaxy S 4 i9500 Android Development] ashadul.hoque:
Installation failed with ERROR: 1

Thanks for porting nethunter to i9500.

Today I tried to install it to my S4. I followed to steps in the thread but flashing update-nethunter-jfltexx-marshmallow-20170727_174703.zip failed with ERROR: 1.

/tmp/updater[129]: .: env.sh: No such file or directory

Updater process ended with ERROR: 1

I:Legacy property environment disabled.

I:Install took 4 second(s).

Error installing zip file '/external_sd/update-nethunter-jfltexx-marshmallow-20170727_174703.zip'

I also noticed that as per nethunter devices.cfg jfltexx is the devicename of i9505 not I9500. Devicename of my S4 (i500) is ja3gxx

####recovery.log####

Installing zip file '/external_sd/update-nethunter-jfltexx-marshmallow-20170727_174703.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Update binary zip

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment initialized.

##################################################

## ##

## 88 a8P db 88 88 ##

## 88 .88' d88b 88 88 ##

## 88 88' d8''8b 88 88 ##

## 88 d88 d8' '8b 88 88 ##

## 8888'88. d8YaaaaY8b 88 88 ##

## 88P Y8b d8''''''''8b 88 88 ##

## 88 '88. d8' '8b 88 88 ##

## 88 Y8b d8' '8b 888888888 88 ##

## ##

#### ############# NetHunter ####################

Unpacking the installer...

Archive: /external_sd/update-nethunter-jfltexx-marshmallow-20170727_174703.zip

inflating: /tmp/nethunter/META-INF/com/google/android/update-binary

inflating: /tmp/nethunter/META-INF/com/google/android/updater-script

inflating: /tmp/nethunter/boot-patcher/META-INF/com/google/android/update-binary

inflating: /tmp/nethunter/boot-patcher/META-INF/com/google/android/updater-script

inflating: /tmp/nethunter/boot-patcher/boot-patcher.sh

inflating: /tmp/nethunter/boot-patcher/env.sh

inflating: /tmp/nethunter/boot-patcher/patch.d-env

inflating: /tmp/nethunter/boot-patcher/patch.d/01-ramdisk-patch

inflating: /tmp/nethunter/boot-patcher/patch.d/02-no-verity-opt-encrypt

inflating: /tmp/nethunter/boot-patcher/patch.d/03-kernel-modules

inflating: /tmp/nethunter/boot-patcher/patch.d/05-f2fs-fstab

inflating: /tmp/nethunter/boot-patcher/ramdisk-patch/init.nethunter.rc

inflating: /tmp/nethunter/boot-patcher/ramdisk-patch/sbin/usb_config.sh

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/ar9170-1.fw

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/ar9170-2.fw

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/carl9170-1.fw

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/htc_7010.fw

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/htc_9271.fw

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/rt2561.bin

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/rt2860.bin

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/rt2870.bin

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/rt3070.bin

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/rt73.bin

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/rtlwifi/rtl8188efw.bin

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/rtlwifi/rtl8192cufw.bin

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/zd1211/zd1211_ub

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/zd1211/zd1211_uph

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/zd1211/zd1211_uphm

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/zd1211/zd1211_uphr

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/zd1211/zd1211_ur

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/zd1211/zd1211b_ub

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/zd1211/zd1211b_uph

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/zd1211/zd1211b_uphm

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/zd1211/zd1211b_uphr

inflating: /tmp/nethunter/boot-patcher/system/etc/firmware/zd1211/zd1211b_ur

inflating: /tmp/nethunter/boot-patcher/system/xbin/hid-keyboard

inflating: /tmp/nethunter/boot-patcher/tools/bbe

inflating: /tmp/nethunter/boot-patcher/tools/bootimg

inflating: /tmp/nethunter/boot-patcher/tools/busybox

inflating: /tmp/nethunter/boot-patcher/tools/bzip2

inflating: /tmp/nethunter/boot-patcher/tools/chromeos/futility

inflating: /tmp/nethunter/boot-patcher/tools/chromeos/kernel.keyblock

inflating: /tmp/nethunter/boot-patcher/tools/chromeos/kernel_data_key.vbprivk

inflating: /tmp/nethunter/boot-patcher/tools/freespace.sh

inflating: /tmp/nethunter/boot-patcher/tools/installbusybox.sh

inflating: /tmp/nethunter/boot-patcher/tools/lz4

inflating: /tmp/nethunter/boot-patcher/tools/sepolicy-inject

inflating: /tmp/nethunter/boot-patcher/tools/sepolicy-inject-N

inflating: /tmp/nethunter/boot-patcher/zImage

inflating: /tmp/nethunter/data/app/Drivedroid.apk

inflating: /tmp/nethunter/data/app/Hackerskeyboard.apk

inflating: /tmp/nethunter/data/app/OpenVPN.apk

inflating: /tmp/nethunter/data/app/RFAnalyzer.apk

inflating: /tmp/nethunter/data/app/RouterKeygen.apk

inflating: /tmp/nethunter/data/app/Shodan.apk

inflating: /tmp/nethunter/data/app/Term-nh.apk

inflating: /tmp/nethunter/data/app/USBKeyboard.apk

inflating: /tmp/nethunter/data/app/VNC-nh.apk

inflating: /tmp/nethunter/data/app/cSploit.apk

inflating: /tmp/nethunter/data/app/nethunter.apk

inflating: /tmp/nethunter/env.sh

inflating: /tmp/nethunter/supersu.zip

inflating: /tmp/nethunter/system/bin/lualibs/commands.lua

inflating: /tmp/nethunter/system/bin/lualibs/default_toys.lua

inflating: /tmp/nethunter/system/bin/lualibs/getopt.lua

inflating: /tmp/nethunter/system/bin/lualibs/hf_reader.lua

inflating: /tmp/nethunter/system/bin/lualibs/html_dumplib.lua

inflating: /tmp/nethunter/system/bin/lualibs/htmlskel.lua

inflating: /tmp/nethunter/system/bin/lualibs/mf_default_keys.lua

inflating: /tmp/nethunter/system/bin/lualibs/read14a.lua

inflating: /tmp/nethunter/system/bin/lualibs/taglib.lua

inflating: /tmp/nethunter/system/bin/lualibs/utils.lua

inflating: /tmp/nethunter/system/bin/scripts/14araw.lua

inflating: /tmp/nethunter/system/bin/scripts/cmdline.lua

inflating: /tmp/nethunter/system/bin/scripts/dumptoemul.lua

inflating: /tmp/nethunter/system/bin/scripts/emul2dump.lua

inflating: /tmp/nethunter/system/bin/scripts/emul2html.lua

inflating: /tmp/nethunter/system/bin/scripts/formatMifare.lua

inflating: /tmp/nethunter/system/bin/scripts/hf_read.lua

inflating: /tmp/nethunter/system/bin/scripts/htmldump.lua

inflating: /tmp/nethunter/system/bin/scripts/mfkeys.lua

inflating: /tmp/nethunter/system/bin/scripts/mifare_autopwn.lua

inflating: /tmp/nethunter/system/bin/scripts/ndef_dump.lua

inflating: /tmp/nethunter/system/bin/scripts/parameters.lua

inflating: /tmp/nethunter/system/bin/scripts/remagic.lua

inflating: /tmp/nethunter/system/bin/scripts/test.lua

inflating: /tmp/nethunter/system/bin/scripts/test_t55x7_ask.lua

inflating: /tmp/nethunter/system/bin/scripts/test_t55x7_bi.lua

inflating: /tmp/nethunter/system/bin/scripts/test_t55x7_fsk.lua

inflating: /tmp/nethunter/system/bin/scripts/test_t55x7_psk.lua

inflating: /tmp/nethunter/system/bin/scripts/tnp3dump.lua

inflating: /tmp/nethunter/system/bin/scripts/tnp3sim.lua

inflating: /tmp/nethunter/system/bin/scripts/tracetest.lua

inflating: /tmp/nethunter/system/bin/scripts/writeraw.lua

inflating: /tmp/nethunter/system/etc/init.d/90userinit

inflating: /tmp/nethunter/system/etc/nano/asm.nanorc

inflating: /tmp/nethunter/system/etc/nano/awk.nanorc

inflating: /tmp/nethunter/system/etc/nano/c.nanorc

inflating: /tmp/nethunter/system/etc/nano/cmake.nanorc

inflating: /tmp/nethunter/system/etc/nano/css.nanorc

inflating: /tmp/nethunter/system/etc/nano/fortran.nanorc

inflating: /tmp/nethunter/system/etc/nano/groff.nanorc

inflating: /tmp/nethunter/system/etc/nano/html.nanorc

inflating: /tmp/nethunter/system/etc/nano/java.nanorc

inflating: /tmp/nethunter/system/etc/nano/makefile.nanorc

inflating: /tmp/nethunter/system/etc/nano/nanorc

inflating: /tmp/nethunter/system/etc/nano/nanorc.nanorc

inflating: /tmp/nethunter/system/etc/nano/objc.nanorc

inflating: /tmp/nethunter/system/etc/nano/ocaml.nanorc

inflating: /tmp/nethunter/system/etc/nano/patch.nanorc

inflating: /tmp/nethunter/system/etc/nano/perl.nanorc

inflating: /tmp/nethunter/system/etc/nano/php.nanorc

inflating: /tmp/nethunter/system/etc/nano/python.nanorc

inflating: /tmp/nethunter/system/etc/nano/ruby.nanorc

inflating: /tmp/nethunter/system/etc/nano/sh.nanorc

inflating: /tmp/nethunter/system/etc/nano/tcl.nanorc

inflating: /tmp/nethunter/system/etc/nano/tex.nanorc

inflating: /tmp/nethunter/system/etc/nano/xml.nanorc

inflating: /tmp/nethunter/system/etc/terminfo/E/Eterm

inflating: /tmp/nethunter/system/etc/terminfo/E/Eterm-color

inflating: /tmp/nethunter/system/etc/terminfo/a/ansi

inflating: /tmp/nethunter/system/etc/terminfo/c/cons25

inflating: /tmp/nethunter/system/etc/terminfo/c/cygwin

inflating: /tmp/nethunter/system/etc/terminfo/d/dumb

inflating: /tmp/nethunter/system/etc/terminfo/h/hurd

inflating: /tmp/nethunter/system/etc/terminfo/l/linux

inflating: /tmp/nethunter/system/etc/terminfo/m/mach

inflating: /tmp/nethunter/system/etc/terminfo/m/mach-bold

inflating: /tmp/nethunter/system/etc/terminfo/m/mach-color

inflating: /tmp/nethunter/system/etc/terminfo/p/pcansi

inflating: /tmp/nethunter/system/etc/terminfo/r/rxvt

inflating: /tmp/nethunter/system/etc/terminfo/r/rxvt-basic

inflating: /tmp/nethunter/system/etc/terminfo/s/screen

inflating: /tmp/nethunter/system/etc/terminfo/s/screen-256color

inflating: /tmp/nethunter/system/etc/terminfo/s/screen-256color-bce

inflating: /tmp/nethunter/system/etc/terminfo/s/screen-bce

inflating: /tmp/nethunter/system/etc/terminfo/s/screen-s

inflating: /tmp/nethunter/system/etc/terminfo/s/screen-w

inflating: /tmp/nethunter/system/etc/terminfo/s/sun

inflating: /tmp/nethunter/system/etc/terminfo/v/vt100

inflating: /tmp/nethunter/system/etc/terminfo/v/vt102

inflating: /tmp/nethunter/system/etc/terminfo/v/vt220

inflating: /tmp/nethunter/system/etc/terminfo/v/vt52

inflating: /tmp/nethunter/system/etc/terminfo/w/wsvt25

inflating: /tmp/nethunter/system/etc/terminfo/w/wsvt25m

inflating: /tmp/nethunter/system/etc/terminfo/x/xterm

inflating: /tmp/nethunter/system/etc/terminfo/x/xterm-256color

inflating: /tmp/nethunter/system/etc/terminfo/x/xterm-color

inflating: /tmp/nethunter/system/etc/terminfo/x/xterm-r5

inflating: /tmp/nethunter/system/etc/terminfo/x/xterm-r6

inflating: /tmp/nethunter/system/etc/terminfo/x/xterm-vt220

inflating: /tmp/nethunter/system/etc/terminfo/x/xterm-xfree86

inflating: /tmp/nethunter/system/media/bootanimation.zip

inflating: /tmp/nethunter/tools/busybox

inflating: /tmp/nethunter/tools/freespace.sh

inflating: /tmp/nethunter/tools/installbusybox.sh

inflating: /tmp/nethunter/tools/installchroot.sh

inflating: /tmp/nethunter/tools/installsu.sh

inflating: /tmp/nethunter/tools/previnstall.sh

inflating: /tmp/nethunter/tools/screenres

inflating: /tmp/nethunter/wallpaper/1080x1920.png

inflating: /tmp/nethunter/wallpaper/1280x1280.png

inflating: /tmp/nethunter/wallpaper/1280x800.png

inflating: /tmp/nethunter/wallpaper/1440x2560.png

inflating: /tmp/nethunter/wallpaper/1536x2048.png

inflating: /tmp/nethunter/wallpaper/1920x1920.png

inflating: /tmp/nethunter/wallpaper/2048x1536.png

inflating: /tmp/nethunter/wallpaper/2560x1440.png

inflating: /tmp/nethunter/wallpaper/2560x1600.png

inflating: /tmp/nethunter/wallpaper/2560x2560.png

inflating: /tmp/nethunter/wallpaper/720x1280.png

inflating: /tmp/nethunter/wallpaper/768x1280.png

inflating: /tmp/nethunter/wallpaper/setwallpaper.sh

caution: excluded filename not matched: kalifs-*

/tmp/updater[129]: .: env.sh: No such file or directory

Updater process ended with ERROR: 1

I:Legacy property environment disabled.

I:Install took 4 second(s).

Error installing zip file '/external_sd/update-nethunter-jfltexx-marshmallow-20170727_174703.zip'