[Galaxy S I9000 Android Development] mkfsf2fs:
OK... now I am trying to install the update.zip created by "make otapackage".

Unfortunately it fails....

On my i9000 I use the CWM 6.0.5.1 and I am coming from CM11.0.

However, when I start into CWM.

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting recovery on Sat May 6 14:53:13 2017

framebuffer: fd 4 (480 x 800)
CWM-based Recovery v6.0.5.1
recovery filesystem table
=========================
0 /recovery mtd recovery 0
1 /boot mtd boot 0
2 /radio mtd radio 0
3 /cache yaffs2 cache 0
4 /datadata yaffs2 datadata 0
5 /system ext4 /dev/lvpool/system 0
6 /data ext4 /dev/lvpool/userdata -16384
7 /storage/sdcard0 auto /devices/platform/s3c-sdhci.0/mmc_host/mmc0 0
8 /storage/sdcard1 auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2 0
9 none swap /dev/block/zram0 0
10 /tmp ramdisk ramdisk 0

W:Unable to get recovery.fstab info for /emmc during fstab generation!
W:Unable to get recovery.fstab info for /sdcard during fstab generation!
W:Unable to get recovery.fstab info for /sd-ext during fstab generation!
W:Unable to get recovery.fstab info for /external_sd during fstab generation!
I:Completed outputting fstab.
I:Connected to Vold..
I:110 0 sdcard0 /storage/sdcard0 1 -
I:110 0 sdcard1 /storage/sdcard1 1 -
I:200 0 Volumes listed.
I:Processing arguments.
I:Cannot load volume /misc.
I:Cannot load volume /misc.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"

ro.bq.gpu_to_cpu_unsupported=1
ro.cm.device=galaxysmtd
ro.cm.display.version=11-20160815-NIGHTLY-galaxysmtd
ro.cm.version=11-20160815-NIGHTLY-galaxysmtd
ro.cm.releasetype=NIGHTLY
ro.sf.lcd_density=240
ro.com.google.clientidbase=android-google
ro.com.google.networklocation=1
ro.com.google.locationfeatures=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.com.android.wifi-watchlist=GoogleGuest
ro.cwm.enable_key_repeat=true
ro.ksm.default=1
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.boot.emmc=0
ro.boot.serialno=
ro.emmc=0
ro.hwui.disable_scissor_opt=true
ro.vold.umsdirtyratio=20
ro.wifi.channels=
ro.allow.mock.location=0
ro.board.platform=s5pc110
ro.build.id=KTU84Q
ro.build.date=Sun Aug 14 23:36:46 PDT 2016
ro.build.date.utc=0
ro.build.host=cyanogenmod
ro.build.tags=test-keys
ro.build.type=userdebug
ro.build.user=jenkins
ro.build.display.id=cm_galaxysmtd-userdebug 4.4.4 KTU84Q 35db2d220a test-keys
ro.build.product=GT-I9000
ro.build.selinux=1
ro.build.version.sdk=19
ro.build.version.base_os=
ro.build.version.release=4.4.4
ro.build.version.codename=REL
ro.build.version.incremental=35db2d220a
ro.build.version.security_patch=2016-08-01
ro.build.description=GT-I9000-user 2.3.5 GINGERBREAD XXJVT release-keys
ro.build.fingerprint=samsung/GT-I9000/GT-I9000:2.3.5/GINGERBREAD/XXJVT:user/release-keys
ro.build.characteristics=nosdcard
ro.error.receiver.system.apps=org.cyanogenmod.bugreport
ro.config.low_ram=true
ro.config.ringtone=Orion.ogg
ro.config.alarm_alert=Hassium.ogg
ro.config.notification_sound=Argon.ogg
ro.kernel.android.checkjni=0
ro.secure=1
ro.carrier=unknown
ro.cmlegal.url=https://cyngn.com/legal/privacy-policy
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.name=GT-I9000
ro.product.board=aries
ro.product.brand=samsung
ro.product.model=GT-I9000
ro.product.device=GT-I9000
ro.product.locale.region=US
ro.product.locale.language=en
ro.product.manufacturer=samsung
ro.baseband=unknown
ro.bootmode=unknown
ro.hardware=aries
ro.opengles.version=131072
ro.revision=48
ro.serialno=
ro.telephony.ril.v3=icccardstatus,datacall,signalstrength,facilitylock
ro.telephony.ril_class=SamsungExynos3RIL
ro.bootloader=unknown
ro.debuggable=1
ro.modversion=11-20160815-NIGHTLY-galaxysmtd
ro.rommanager.developerid=cyanogenmodnightly
ro.factorytest=0
ro.setupwizard.enterprise_mode=1
net.bt.name=Android
net.change=net.bt.name
init.svc.adbd=running
init.svc.vold=running
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
init.svc.setup_adbd=stopped
rild.libargs=-d /dev/ttyS0
rild.libpath=/system/lib/libsec-ril.so
wifi.interface=wlan0
dalvik.vm.checkjni=false
dalvik.vm.heapsize=128m
dalvik.vm.lockprof.threshold=500
dalvik.vm.heapmaxfree=2m
dalvik.vm.heapminfree=512k
dalvik.vm.dexopt-flags=m=y
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.dexopt-data-only=1
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.heaptargetutilization=0.25
persist.sys.dun.override=0
persist.sys.usb.config=mass_storage,adb
persist.sys.dalvik.vm.lib=libdvm.so
persist.sys.dalvik.multithread=false
persist.sys.root_access=1
persist.sys.recovery_update=false
service.adb.root=1
keyguard.no_require_sim=true
mobiledata.interfaces=pdp0,eth0,gprs,ppp0

I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
I:Cannot load volume /misc.
I:605 Volume sdcard1 /storage/sdcard1 state changed from 1 (Idle-Unmounted) to 3 (Checking)
I:/storage/sdcard1: Checking
I:613 sdcard1 /storage/sdcard1
I:614 sdcard1 /storage/sdcard1
I:605 Volume sdcard1 /storage/sdcard1 state changed from 3 (Checking) to 4 (Mounted)
I:/storage/sdcard1: Mounted
I:200 0 volume operation succeeded
I:605 Volume sdcard0 /storage/sdcard0 state changed from 1 (Idle-Unmounted) to 3 (Checking)
I:/storage/sdcard0: Checking
I:613 sdcard0 /storage/sdcard0
I:614 sdcard0 /storage/sdcard0
I:605 Volume sdcard0 /storage/sdcard0 state changed from 3 (Checking) to 4 (Mounted)
I:/storage/sdcard0: Mounted
I:200 0 volume operation succeeded

-- Installing: /storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
I:Cannot load volume /misc.
Finding update package...
I:Update location: /storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
Opening update package...
Installing update...
about to run program [/tmp/updater.sh] with 1 args
+ export PATH=/:/sbin:/system/xbin:/system/bin:/tmp:/sbin:/system/bin
+ SYSTEM_SIZE=943718400
+ /tmp/busybox grep -o -E /tmp/updater .*
+ /tmp/busybox grep -v grep
+ /tmp/busybox cut -d -f 3
+ /tmp/busybox ps
+ OUTFD=
+ /tmp/busybox test -e /tmp/update_binary
+ /tmp/busybox cut -d -f 3
+ /tmp/busybox grep -o -E update_binary(.*)
+ /tmp/busybox grep -v grep
+ /tmp/busybox ps
+ OUTFD=24
+ /tmp/busybox test = cdma
+ IS_GSM=/tmp/busybox true
+ SD_PART=/dev/block/mmcblk0p1
+ MMC_PART1=/dev/block/mmcblk0p1
+ MMC_PART2=/dev/block/mmcblk0p2
+ /tmp/busybox sed s/://g
+ /tmp/busybox sed s/mtd/mtdblock/g
+ /tmp/busybox awk {print $1}
+ /tmp/busybox grep efs /proc/mtd
+ EFS_PART=mtdblock4
+ /tmp/busybox sed s/mtd/mtdblock/g
+ /tmp/busybox sed s/://g
+ /tmp/busybox awk {print $1}
+ /tmp/busybox grep radio /proc/mtd
+ RADIO_PART=mtdblock5
+ MTD_SIZE=442499072
+ /tmp/busybox test -n /storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ fix_package_location /storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ local PACKAGE_LOCATION=/storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ PACKAGE_LOCATION=/storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ /tmp/busybox sed -e s|^/sdcard/||
+ echo /storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ PACKAGE_LOCATION=/storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ /tmp/busybox sed -e s|^/emmc/||
+ echo /storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ PACKAGE_LOCATION=/storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ /tmp/busybox sed -e s|^/external_sd/||
+ echo /storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ PACKAGE_LOCATION=/storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ /tmp/busybox sed -e s|^/storage/sdcard0/||
+ echo /storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ PACKAGE_LOCATION=/storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ /tmp/busybox sed -e s|^/storage/sdcard1/||
+ echo /storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ PACKAGE_LOCATION=aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ echo aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ UPDATE_PACKAGE=aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ ui_print Package:aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ [ 24 != ]
+ echo ui_print Package:aosp_7.1.1-galaxysmtd-2017-01-19.zip
+ echo ui_print
+ /tmp/busybox test -e /dev/block/bml7
Package:aosp_7.1.1-galaxysmtd-2017-01-19.zip + /tmp/busybox cat /sys/class/mtd/mtd2/size
+ [ 442499072 != 442499072 ]
+ /tmp/busybox test -e /dev/block/mtdblock0
+ set_log mtd.log
+ /tmp/busybox mkdir -p /sdcard/aries
+ /tmp/busybox rm -rf /sdcard/aries/mtd.log

+ exec
+ restore_modem
+ /tmp/busybox true
+ /tmp/busybox mkdir -p /radio
+ /tmp/busybox grep -q /radio /proc/mounts
+ /tmp/busybox umount -l /dev/block/mtdblock5
umount: can't forcibly umount /dev/block/mtdblock5: Invalid argument
+ /tmp/busybox mount -t yaffs2 /dev/block/mtdblock5 /radio
+ /tmp/busybox test -e /radio/modem.bin
+ /tmp/busybox umount -l /radio
+ /tmp/busybox true
+ copy_ramdisks
+ /tmp/busybox umount -l /dev/block/mtdblock1
umount: can't forcibly umount /dev/block/mtdblock1: Invalid argument
+ /tmp/erase_image ramdisk
can't find ramdisk partition+ check_mount /ramdisk /dev/block/mtdblock1 yaffs2
+ /tmp/busybox readlink /ramdisk
+ local MOUNT_POINT=
+ /tmp/busybox test -n
+ echo Using non-readlink mount point /ramdisk
Using non-readlink mount point /ramdisk
+ MOUNT_POINT=/ramdisk
+ /tmp/busybox grep -q /ramdisk /proc/mounts
+ /tmp/busybox mkdir -p /ramdisk
+ /tmp/busybox umount -l /dev/block/mtdblock1
umount: can't forcibly umount /dev/block/mtdblock1: Invalid argument
+ /tmp/busybox mount -t yaffs2 /dev/block/mtdblock1 /ramdisk
+ /tmp/busybox cp /tmp/ramdisk.img /ramdisk/ramdisk.img
+ /tmp/busybox umount -l /dev/block/mtdblock2
umount: can't forcibly umount /dev/block/mtdblock2: Invalid argument
+ /tmp/erase_image ramdisk-recovery
can't find ramdisk-recovery partition+ check_mount /ramdisk-recovery /dev/block/mtdblock2 yaffs2
+ /tmp/busybox readlink /ramdisk-recovery
+ local MOUNT_POINT=
+ /tmp/busybox test -n
+ echo Using non-readlink mount point /ramdisk-recovery
Using non-readlink mount point /ramdisk-recovery
+ MOUNT_POINT=/ramdisk-recovery
+ /tmp/busybox grep -q /ramdisk-recovery /proc/mounts
+ /tmp/busybox mkdir -p /ramdisk-recovery
+ /tmp/busybox umount -l /dev/block/mtdblock2
umount: can't forcibly umount /dev/block/mtdblock2: Invalid argument
+ /tmp/busybox mount -t yaffs2 /dev/block/mtdblock2 /ramdisk-recovery
+ /tmp/busybox cp /tmp/ramdisk-recovery.img /ramdisk-recovery/ramdisk-recovery.img
+ /tmp/busybox sync
+ /tmp/busybox umount -l /dev/block/mtdblock1
+ /tmp/busybox umount -l /dev/block/mtdblock2
+ /tmp/busybox test -e /dev/lvpool/system
+ /tmp/busybox blockdev --getsize64 /dev/mapper/lvpool-system
+ [ 943718400 != 943718400 ]
+ /tmp/busybox test -e /dev/lvpool/swap
+ check_mount /mnt/sdcard /dev/block/mmcblk0p1 vfat
+ /tmp/busybox readlink /mnt/sdcard
+ local MOUNT_POINT=
+ /tmp/busybox test -n
+ echo Using non-readlink mount point /mnt/sdcard
Using non-readlink mount point /mnt/sdcard
+ MOUNT_POINT=/mnt/sdcard
+ /tmp/busybox grep -q /mnt/sdcard /proc/mounts
+ /tmp/busybox mkdir -p /mnt/sdcard
+ /tmp/busybox umount -l /dev/block/mmcblk0p1
umount: can't forcibly umount /dev/block/mmcblk0p1: Invalid argument
+ /tmp/busybox mount -t vfat /dev/block/mmcblk0p1 /mnt/sdcard
mount: mounting /dev/block/mmcblk0p1 on /mnt/sdcard failed: Device or resource busy
+ echo Cannot mount /mnt/sdcard (/mnt/sdcard).
Cannot mount /mnt/sdcard (/mnt/sdcard).
+ exit 1

run_program: child exited with status 1
script aborted: assert failed: run_program("/tmp/updater.sh") == 0
assert failed: run_program("/tmp/updater.sh") == 0
E:Error in /storage/sdcard1/aosp_7.1.1-galaxysmtd-2017-01-19.zip
(Status 7)
Installation aborted.
I:Cannot load volume /misc.
I:Can't partition non mmcblk device: /devices/platform/s3c-sdhci.0/mmc_host/mmc0
I:Can't partition non mmcblk device: /devices/platform/s3c-sdhci.2/mmc_host/mmc2

[MENTION=5414656]xc-racer99[/MENTION]: I know you said it's best to update from a Android 6 or 7 rom... but i don't know which one i should try :/

Strange... Somehow I have the feeling that my i9000 is very prone to strange errors....

I have already tried to install the recovery from your built packages, mine and the old CM11...

It seems that only the CWM recovery allows me to boot to recovery while the others leave me in a endless reboot loop...

What could I try next... install a different third party recovery? :/

EDIT: Ok from the log the problem does not become clear....

I used parted over adb in recovery to find out the block device is formated in ext4 (i did that some time ago). Unfortunately the it's tried to mount a fat drive :/

EDIT2: THANK YOU :D!!! Finally its working :>