Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,728,048 Members 46,598 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Problem installing Mackay ROM 4.9.6 - now unable to mount /data or /system

Tip us?
 
Cordial Humanoid
Old
#11  
Junior Member - OP
Thanks Meter 2
Posts: 17
Join Date: Jul 2013
Hi,
I don't understand what you mean here. How can I edit that file without extracting it out of the ZIP file first? Certainly I don't think I have any way to edit the file inside the phone itself; all I could do is to extract the file out of the ZIP file on my computer, edit it, and try to insert it back into the ZIP file. Is that what you mean?

Also, the first lines of the updater_script do not do anything meaningful, they just print out some messages. Below are the first 100 lines of updater_script.

 

ui_print("Welcome to Mackay ROM installation");
ui_print(" ");
ui_print("Checking device ID...");
assert(getprop("ro.product.device") == "galaxys" || getprop("ro.build.product") == "galaxys" ||
getprop("ro.product.device") == "galaxysmtd" || getprop("ro.build.product") == "galaxysmtd" ||
getprop("ro.product.device") == "GT-I9000" || getprop("ro.build.product") == "GT-I9000" ||
getprop("ro.product.device") == "GT-I9000M" || getprop("ro.build.product") == "GT-I9000M" ||
getprop("ro.product.device") == "GT-I9000T" || getprop("ro.build.product") == "GT-I9000T" || abort("This package is for \"galaxys,galaxysmtd,GT-I9000,GT-I9000M,GT-I9000T\" devices; this is a \"" + getprop("ro.product.device") + "\".");
package_extract_file("modem.bin", "/tmp/modem.bin");
set_perm(0, 0, 0777, "/tmp/modem.bin");
package_extract_file("updater.sh", "/tmp/updater.sh");
set_perm(0, 0, 0777, "/tmp/updater.sh");
package_extract_file("make_ext4fs", "/tmp/make_ext4fs");
set_perm(0, 0, 0777, "/tmp/make_ext4fs");
package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
package_extract_file("flash_image", "/tmp/flash_image");
set_perm(0, 0, 0777, "/tmp/flash_image");
package_extract_file("erase_image", "/tmp/erase_image");
set_perm(0, 0, 0777, "/tmp/erase_image");
package_extract_file("bml_over_mtd", "/tmp/bml_over_mtd");
set_perm(0, 0, 0777, "/tmp/bml_over_mtd");
package_extract_file("bml_over_mtd.sh", "/tmp/bml_over_mtd.sh");
set_perm(0, 0, 0777, "/tmp/bml_over_mtd.sh");
assert(run_program("/tmp/erase_image", "boot"));
package_extract_file("boot.img", "/tmp/boot.img");
assert(run_program("/tmp/bml_over_mtd.sh", "boot", "72", "reservoir", "2004", "/tmp/boot.img"));
assert(run_program("/tmp/updater.sh") == 0);
ui_print("Resetting Mackay Settings status");
mount("ext4", "EMMC", "/dev/lvpool/userdata", "/data");
delete("/data/local/mackay/blnactive");
delete("/data/local/mackay/navbaractive");
delete("/data/local/mackay/lowramactive");
unmount("/data");
ui_print("Backup of gapps & settings");
mount("ext4", "EMMC", "/dev/lvpool/system", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
ui_print("Formatting system partition");
format("ext4", "EMMC", "/dev/lvpool/system", "0", "/system");
mount("ext4", "EMMC", "/dev/lvpool/system", "/system");
package_extract_dir("recovery", "/system");
ui_print("Installing Mackay ROM");
package_extract_dir("system", "/system");
symlink("../bin/fsck.f2fs", "/system/bin/dump.f2fs");
symlink("../xbin/su", "/system/bin/su");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chcon",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/chvt", "/system/xbin/clear",
"/system/xbin/cmp", "/system/xbin/comm", "/system/xbin/cp",
"/system/xbin/cpio", "/system/xbin/crond", "/system/xbin/crontab",
"/system/xbin/cut", "/system/xbin/date", "/system/xbin/dc",
"/system/xbin/dd", "/system/xbin/deallocvt", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fbsplash", "/system/xbin/fdisk", "/system/xbin/fgconsole",
"/system/xbin/fgrep", "/system/xbin/find", "/system/xbin/findfs",
"/system/xbin/flash_lock", "/system/xbin/flash_unlock",
"/system/xbin/flashcp", "/system/xbin/flock", "/system/xbin/fold",
"/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fstrim",
"/system/xbin/fsync", "/system/xbin/ftpget", "/system/xbin/ftpput",
"/system/xbin/fuser", "/system/xbin/getenforce", "/system/xbin/getopt",
"/system/xbin/getsebool", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/hwclock",
"/system/xbin/id", "/system/xbin/ifconfig", "/system/xbin/inetd",
"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/ionice",
"/system/xbin/iostat", "/system/xbin/ip", "/system/xbin/kill",
"/system/xbin/killall", "/system/xbin/killall5", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lspci",
"/system/xbin/lsusb", "/system/xbin/lzcat", "/system/xbin/lzma",
"/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/man",
"/system/xbin/matchpathcon", "/system/xbin/md5sum", "/system/xbin/mesg",
"/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
"/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",
"/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",
"/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",
"/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",
"/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",
"/system/xbin/nbd-client", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nmeter", "/system/xbin/nohup", "/system/xbin/nslookup",
"/system/xbin/ntpd", "/system/xbin/od", "/system/xbin/openvt",
"/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
 
pryerlee
Old
(Last edited by pryerlee; 6th July 2014 at 05:50 PM.)
#12  
pryerlee's Avatar
Senior Member
Thanks Meter 113
Posts: 463
Join Date: Nov 2008
Location: Bristol
Just extract the META-INF file and the delete this: ui_print("Welcome to Mackay ROM installation");
ui_print(" ");
ui_print("Checking device ID...");
assert(getprop("ro.product.device") == "galaxys" ||
getprop("ro.build.product") == "galaxys" ||
getprop("ro.product.device") == "galaxysmtd" || getprop
("ro.build.product") == "galaxysmtd" ||
getprop("ro.product.device") == "GT-I9000" || getprop
("ro.build.product") == "GT-I9000" ||
getprop("ro.product.device") == "GT-I9000M" || getprop
("ro.build.product") == "GT-I9000M" ||
getprop("ro.product.device") == "GT-I9000T" || getprop
("ro.build.product") == "GT-I9000T" || abort("This
package is for \"galaxys,galaxysmtd,GT-I9000,GT-
I9000M,GT-I9000T\" devices; this is a \"" + getprop
("ro.product.device") + "\".") ;
The Following User Says Thank You to pryerlee For This Useful Post: [ Click to Expand ]
 
Cordial Humanoid
Old
#13  
Junior Member - OP
Thanks Meter 2
Posts: 17
Join Date: Jul 2013
Hi,
ok, I can try this, but before I do so, can you clarify - why will that help? That seems to be just a basic check that I have the correct type of device. Won't the commands related to /data or /system still fail?

For example, currently I cannot even, from TWRP, wipe /data. That sounds to me like something more general is wrong than anything related to this specific ROM.
 
kasper_h
Old
#14  
kasper_h's Avatar
Recognized Developer
Thanks Meter 15240
Posts: 5,082
Join Date: Oct 2010

 
DONATE TO ME
As this concern my ROM, I will try to help

I have the same error (unable to mount data/system) when upgrading from an older (ICS/JB) rom to kitkat. But...if I install the ROM, reboot recovery, factory reset, install the ROM again, it works...
Galaxy S:
Mackay ROM 4: http://bit.ly/17lGtyw, with Mackay kernel: http://bit.ly/1bNIipy
Nexus 5: Nameless ROMhttp://bit.ly/1nnsDzF
The Following User Says Thank You to kasper_h For This Useful Post: [ Click to Expand ]
 
Cordial Humanoid
Old
#15  
Junior Member - OP
Thanks Meter 2
Posts: 17
Join Date: Jul 2013
Hi kasper_h, thanks a lot for taking the time to help.

It turns out that if I reboot again into recovery, Now the recovery says I have "Mackay Recovery (twrp) v2.7.1.0". Trying again from this new recovery, now I am able to do the factory reset successfully (or at least it claims to be successful).

However, when I try to install the ROM it still fails. In detail, The on-screen messages are:
Quote:
Updating partition details...
Full SELinux support is present.
Installing '/sdcard/cm-Mackay_ROM_4.9.6.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Welcome to Mackay ROM installation

Checking device ID...
assert failed: run_program("/tmp/updater.sh") == 0
E:Error executing updater binary in zip '/sdcard/cm-Mackay_ROM_4.9.6.zip'
Error flashing zip '/sdcard/cm-Mackay_ROM_4.9.6.zip'
Updating partition details...
The corresponding part from the recovery log is below.
 

__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 TWRP 2.7.1.0 on Sun Jul 6 21:58:03 2014
I:Internal path defined: '/sdcard'
I:External path defined: '/emmc'
TW_NO_REBOOT_BOOTLOADER := true
I:Lun file '/sys/devices/platform/s3c-usbgadget/gadget/lun0/file'
I:Found brightness file at '/sys/devices/platform/s3cfb/spi_gpio.3/spi_master/spi3/spi3.0/backlight/s5p_bl/brightness'
Starting the UI...Pixel format: 480x800 @ 32bpp
Pixel format: BGR_565
Not using qualcomm overlay, 's3cfb'
framebuffer: fd 4 (480 x 800)
=> Linking mtab
Renaming regular /etc/recovery.fstab -> /etc/recovery.fstab.bak
Moving /etc/twrp.fstab -> /etc/recovery.fstab
=> Processing recovery.fstab
I:Processing '/recovery'
I:Processing '/boot'
I:Processing '/radio'
I:Processing '/data'
I:Processing '/cache'
I:Processing '/datadata'
I:Created '/datadata' folder.
I:Processing '/sdcard'
I:Created '/sdcard' folder.
I:Processing '/system'
I:Processing '/emmc'
I:Created '/emmc' folder.
I:Created '/and-sec' folder.
I:Creating Android Secure: /sdcard/.android_secure
I:mount '/sdcard/.android_secure' '/and-sec' process ended with RC=0
I:Backup folder set to '/sdcard/TWRP/BACKUPS/323510E0CC2B00EC'
I:Settings storage is '/sdcard'
Updating partition details...
I:Unable to mount '/emmc'
I:Actual block device: '', current file system: 'vfat'
I:Unmounting main partitions...


Partition Logs:
/recovery | /dev/block/mtdblock1 | Size: 7MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mtdblock1
Display_Name: Recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: mtd
Fstab_File_System: mtd
MTD_Name: recovery
Backup_Method: flash_utils

/boot | /dev/block/mtdblock0 | Size: 7MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mtdblock0
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: mtd
Fstab_File_System: mtd
MTD_Name: boot
Backup_Method: flash_utils

/radio | /dev/block/mtdblock5 | Size: 16MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mtdblock5
Display_Name: radio
Storage_Name: radio
Backup_Path: /radio
Backup_Name: radio
Backup_Display_Name: radio
Storage_Path: /radio
Current_File_System: mtd
Fstab_File_System: mtd
MTD_Name: radio
Backup_Method: flash_utils

/data | /dev/mapper/lvpool-userdata | Size: 1492MB Used: 25MB Free: 1466MB Backup Size: 25MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI Has_SubPartition IsPresent Can_Encrypt_Backup Use_Userdata_Encryption
Primary_Block_Device: /dev/mapper/lvpool-userdata
Length: -16384
Display_Name: Data
Storage_Name: Data
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/cache | /dev/block/mtdblock3 | Size: 17MB Used: 2MB Free: 15MB Backup Size: 2MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mtdblock3
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: yaffs2
Fstab_File_System: yaffs2
MTD_Name: cache
Backup_Method: files

/datadata | /dev/block/mtdblock2 | Size: 422MB Used: 18MB Free: 403MB Backup Size: 18MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Is_SubPartition IsPresent Can_Encrypt_Backup
SubPartition_Of: /data
Primary_Block_Device: /dev/block/mtdblock2
Display_Name: DataData
Storage_Name: DataData
Backup_Path: /datadata
Backup_Name: datadata
Backup_Display_Name: DataData
Storage_Path: /datadata
Current_File_System: yaffs2
Fstab_File_System: yaffs2
MTD_Name: datadata
Backup_Method: files

/sdcard | /dev/block/mmcblk0p1 | Size: 5918MB Used: 3006MB Free: 2912MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent Has_Android_Secure Is_Storage Is_Settings_Storage
Symlink_Path: /sdcard/.android_secure
Symlink_Mount_Point: /and-sec
Primary_Block_Device: /dev/block/mmcblk0p1
Display_Name: sdcard
Storage_Name: sdcard
Backup_Path: /and-sec
Backup_Name: and-sec
Backup_Display_Name: Android Secure
Storage_Path: /sdcard
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files

/system | /dev/mapper/lvpool-system | Size: 393MB Used: 370MB Free: 23MB Backup Size: 370MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/mapper/lvpool-system
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/emmc | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Display_Name: emmc
Storage_Name: emmc
Backup_Path: /emmc
Backup_Name: emmc
Backup_Display_Name: emmc
Storage_Path: /emmc
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files

I:Loading package: TWRP (/script/ui.xml)
I:Loading package: TWRP (/sdcard/TWRP/theme/ui.zip)
I:Loading package: TWRP (/res/ui.xml)
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page clear_vars
I:Loading page confirm_action
I:Loading page action_page
I:Loading page singleaction_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Loading page advancedwipe
I:Loading page formatdata
I:Loading page formatdata_confirm
I:Loading page checkpartitionlist
I:Loading page partitionoptions
I:Loading page selectfilesystem
I:Loading page backup
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backupencryption
I:Loading page backupencryption2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page restore
I:Loading page restore_read
I:Loading page restore_decrypt
I:Loading page try_restore_decrypt
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page selectstorage
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page reboot
I:Loading page settings
I:Loading page timezone
I:Loading page screen
I:Loading page Vibrate
I:Loading page advanced
I:Loading page appselect
I:Loading page apprun
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageracction
I:Loading page decrypt
I:Loading page trydecrypt
I:Loading page terminalfolder
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page installsu
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
E:Cannot load volume /misc!
E:Cannot load volume /misc!
Startup Commands: ro.bq.gpu_to_cpu_unsupported=1
ro.cm.device=galaxysmtd
ro.cm.display.version=Mackay_ROM_4.9.6
ro.cm.version=Mackay_ROM_4.9.6
ro.sf.lcd_density=240
ro.adb.qemud=1
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.ksm.default=1
ro.ril.hsxpa=1
ro.ril.gprsclass=10
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=323510E0CC2B00EC
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=KTU84P
ro.build.date=za jul 5 18:57:47 CEST 2014
ro.build.date.utc=0
ro.build.host=UbuntuDesktop
ro.build.tags=test-keys
ro.build.type=userdebug
ro.build.user=kasper
ro.build.display.id=cm_galaxysmtd-userdebug 4.4.4 KTU84P 6bb4077f01 test-keys
ro.build.product=GT-I9000
ro.build.selinux=1
ro.build.version.sdk=19
ro.build.version.release=4.4.4
ro.build.version.codename=REL
ro.build.version.incremental=6bb4077f01
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=default
ro.config.low_ram=false
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=http://www.cyanogenmod.org/docs/privacy
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=323510E0CC2B00EC
ro.telephony.ril.v3=icccardstatus,datacall,signals trength,facilitylock
ro.telephony.ril_class=SamsungExynos3RIL
ro.bootloader=unknown
ro.debuggable=1
ro.modversion=Mackay_ROM_4.9.6
ro.rommanager.developerid=cyanogenmod
ro.factorytest=0
ro.setupwizard.enterprise_mode=1
net.bt.name=Android
net.change=net.bt.name
sys.usb.state=mass_storage,adb
sys.usb.config=mass_storage,adb
init.svc.adbd=stopping
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
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.vold.switchexternal=1
persist.sys.dalvik.vm.lib=libdvm.so
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:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Attempt to load settings from settings file...
I:Loading settings from '/sdcard/TWRP/.twrps'.
I:Backup folder set to '/sdcard/TWRP/BACKUPS/323510E0CC2B00EC'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/emmc'
I:Actual block device: '', current file system: 'vfat'
__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:Switching packages (TWRP)
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:Set page: 'flash_zip'
Installing '/sdcard/cm-Mackay_ROM_4.9.6.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
Welcome to Mackay ROM installation

Checking device ID...
about to run program [/tmp/erase_image] with 2 args
about to run program [/tmp/bml_over_mtd.sh] with 6 args
about to run program [/tmp/updater.sh] with 1 args
+ export PATH=/:/sbin:/system/xbin:/system/bin:/tmp:/sbin:/system/bin
+ busybox test = cdma
+ IS_GSM=busybox true
+ SD_PART=/dev/block/mmcblk0p1
+ MMC_PART=/dev/block/mmcblk0p2
+ MTD_SIZE=442499072
+ busybox test -n
+ busybox cut -d -f 3-
+ busybox tail -n 1
+ busybox grep Update location:
+ busybox cat /tmp/recovery.log
+ UPDATE_PACKAGE=grep Update location:
+ busybox test -e /dev/block/bml7
+ busybox cat /sys/class/mtd/mtd2/size
+ busybox test 442499072 != 442499072
+ busybox cat /sys/class/mtd/mtd2/name
+ busybox test datadata != datadata
+ busybox test -e /dev/block/mtdblock0
+ check_mount /sdcard /dev/block/mmcblk0p1 vfat
+ busybox readlink /sdcard
+ local MOUNT_POINT=
+ busybox test -n
+ busybox echo Using non-readlink mount point /sdcard
Using non-readlink mount point /sdcard
+ MOUNT_POINT=/sdcard
+ busybox grep -q /sdcard /proc/mounts
+ set_log /sdcard/cyanogenmod_mtd.log
+ rm -rf /sdcard/cyanogenmod_mtd.log
+ exec
run_program: child exited with status 9
script aborted: assert failed: run_program("/tmp/updater.sh") == 0
assert failed: run_program("/tmp/updater.sh") == 0
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/cm-Mackay_ROM_4.9.6.zip'
Error flashing zip '/sdcard/cm-Mackay_ROM_4.9.6.zip'
Updating partition details...
I:Unable to mount '/emmc'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'flash_done'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'wipe'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /sdcard/recovery.log
 
kasper_h
Old
#16  
kasper_h's Avatar
Recognized Developer
Thanks Meter 15240
Posts: 5,082
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by Cordial Humanoid View Post
Hi kasper_h, thanks a lot for taking the time to help.

It turns out that if I reboot again into recovery, Now the recovery says I have "Mackay Recovery (twrp) v2.7.1.0". Trying again from this new recovery, now I am able to do the factory reset successfully (or at least it claims to be successful).

However, when I try to install the ROM it still fails. In detail, The on-screen messages are:


The corresponding part from the recovery log is below.
 

__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 TWRP 2.7.1.0 on Sun Jul 6 21:58:03 2014
I:Internal path defined: '/sdcard'
I:External path defined: '/emmc'
TW_NO_REBOOT_BOOTLOADER := true
I:Lun file '/sys/devices/platform/s3c-usbgadget/gadget/lun0/file'
I:Found brightness file at '/sys/devices/platform/s3cfb/spi_gpio.3/spi_master/spi3/spi3.0/backlight/s5p_bl/brightness'
Starting the UI...Pixel format: 480x800 @ 32bpp
Pixel format: BGR_565
Not using qualcomm overlay, 's3cfb'
framebuffer: fd 4 (480 x 800)
=> Linking mtab
Renaming regular /etc/recovery.fstab -> /etc/recovery.fstab.bak
Moving /etc/twrp.fstab -> /etc/recovery.fstab
=> Processing recovery.fstab
I:Processing '/recovery'
I:Processing '/boot'
I:Processing '/radio'
I:Processing '/data'
I:Processing '/cache'
I:Processing '/datadata'
I:Created '/datadata' folder.
I:Processing '/sdcard'
I:Created '/sdcard' folder.
I:Processing '/system'
I:Processing '/emmc'
I:Created '/emmc' folder.
I:Created '/and-sec' folder.
I:Creating Android Secure: /sdcard/.android_secure
I:mount '/sdcard/.android_secure' '/and-sec' process ended with RC=0
I:Backup folder set to '/sdcard/TWRP/BACKUPS/323510E0CC2B00EC'
I:Settings storage is '/sdcard'
Updating partition details...
I:Unable to mount '/emmc'
I:Actual block device: '', current file system: 'vfat'
I:Unmounting main partitions...


Partition Logs:
/recovery | /dev/block/mtdblock1 | Size: 7MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mtdblock1
Display_Name: Recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: mtd
Fstab_File_System: mtd
MTD_Name: recovery
Backup_Method: flash_utils

/boot | /dev/block/mtdblock0 | Size: 7MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mtdblock0
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: mtd
Fstab_File_System: mtd
MTD_Name: boot
Backup_Method: flash_utils

/radio | /dev/block/mtdblock5 | Size: 16MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mtdblock5
Display_Name: radio
Storage_Name: radio
Backup_Path: /radio
Backup_Name: radio
Backup_Display_Name: radio
Storage_Path: /radio
Current_File_System: mtd
Fstab_File_System: mtd
MTD_Name: radio
Backup_Method: flash_utils

/data | /dev/mapper/lvpool-userdata | Size: 1492MB Used: 25MB Free: 1466MB Backup Size: 25MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI Has_SubPartition IsPresent Can_Encrypt_Backup Use_Userdata_Encryption
Primary_Block_Device: /dev/mapper/lvpool-userdata
Length: -16384
Display_Name: Data
Storage_Name: Data
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/cache | /dev/block/mtdblock3 | Size: 17MB Used: 2MB Free: 15MB Backup Size: 2MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mtdblock3
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: yaffs2
Fstab_File_System: yaffs2
MTD_Name: cache
Backup_Method: files

/datadata | /dev/block/mtdblock2 | Size: 422MB Used: 18MB Free: 403MB Backup Size: 18MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Is_SubPartition IsPresent Can_Encrypt_Backup
SubPartition_Of: /data
Primary_Block_Device: /dev/block/mtdblock2
Display_Name: DataData
Storage_Name: DataData
Backup_Path: /datadata
Backup_Name: datadata
Backup_Display_Name: DataData
Storage_Path: /datadata
Current_File_System: yaffs2
Fstab_File_System: yaffs2
MTD_Name: datadata
Backup_Method: files

/sdcard | /dev/block/mmcblk0p1 | Size: 5918MB Used: 3006MB Free: 2912MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent Has_Android_Secure Is_Storage Is_Settings_Storage
Symlink_Path: /sdcard/.android_secure
Symlink_Mount_Point: /and-sec
Primary_Block_Device: /dev/block/mmcblk0p1
Display_Name: sdcard
Storage_Name: sdcard
Backup_Path: /and-sec
Backup_Name: and-sec
Backup_Display_Name: Android Secure
Storage_Path: /sdcard
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files

/system | /dev/mapper/lvpool-system | Size: 393MB Used: 370MB Free: 23MB Backup Size: 370MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/mapper/lvpool-system
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/emmc | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Display_Name: emmc
Storage_Name: emmc
Backup_Path: /emmc
Backup_Name: emmc
Backup_Display_Name: emmc
Storage_Path: /emmc
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files

I:Loading package: TWRP (/script/ui.xml)
I:Loading package: TWRP (/sdcard/TWRP/theme/ui.zip)
I:Loading package: TWRP (/res/ui.xml)
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page clear_vars
I:Loading page confirm_action
I:Loading page action_page
I:Loading page singleaction_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Loading page advancedwipe
I:Loading page formatdata
I:Loading page formatdata_confirm
I:Loading page checkpartitionlist
I:Loading page partitionoptions
I:Loading page selectfilesystem
I:Loading page backup
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backupencryption
I:Loading page backupencryption2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page restore
I:Loading page restore_read
I:Loading page restore_decrypt
I:Loading page try_restore_decrypt
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page selectstorage
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page reboot
I:Loading page settings
I:Loading page timezone
I:Loading page screen
I:Loading page Vibrate
I:Loading page advanced
I:Loading page appselect
I:Loading page apprun
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageracction
I:Loading page decrypt
I:Loading page trydecrypt
I:Loading page terminalfolder
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page installsu
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
E:Cannot load volume /misc!
E:Cannot load volume /misc!
Startup Commands: ro.bq.gpu_to_cpu_unsupported=1
ro.cm.device=galaxysmtd
ro.cm.display.version=Mackay_ROM_4.9.6
ro.cm.version=Mackay_ROM_4.9.6
ro.sf.lcd_density=240
ro.adb.qemud=1
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.ksm.default=1
ro.ril.hsxpa=1
ro.ril.gprsclass=10
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=323510E0CC2B00EC
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=KTU84P
ro.build.date=za jul 5 18:57:47 CEST 2014
ro.build.date.utc=0
ro.build.host=UbuntuDesktop
ro.build.tags=test-keys
ro.build.type=userdebug
ro.build.user=kasper
ro.build.display.id=cm_galaxysmtd-userdebug 4.4.4 KTU84P 6bb4077f01 test-keys
ro.build.product=GT-I9000
ro.build.selinux=1
ro.build.version.sdk=19
ro.build.version.release=4.4.4
ro.build.version.codename=REL
ro.build.version.incremental=6bb4077f01
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=default
ro.config.low_ram=false
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=http://www.cyanogenmod.org/docs/privacy
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=323510E0CC2B00EC
ro.telephony.ril.v3=icccardstatus,datacall,signals trength,facilitylock
ro.telephony.ril_class=SamsungExynos3RIL
ro.bootloader=unknown
ro.debuggable=1
ro.modversion=Mackay_ROM_4.9.6
ro.rommanager.developerid=cyanogenmod
ro.factorytest=0
ro.setupwizard.enterprise_mode=1
net.bt.name=Android
net.change=net.bt.name
sys.usb.state=mass_storage,adb
sys.usb.config=mass_storage,adb
init.svc.adbd=stopping
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
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.vold.switchexternal=1
persist.sys.dalvik.vm.lib=libdvm.so
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:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Attempt to load settings from settings file...
I:Loading settings from '/sdcard/TWRP/.twrps'.
I:Backup folder set to '/sdcard/TWRP/BACKUPS/323510E0CC2B00EC'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/emmc'
I:Actual block device: '', current file system: 'vfat'
__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:Switching packages (TWRP)
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:Set page: 'flash_zip'
Installing '/sdcard/cm-Mackay_ROM_4.9.6.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
Welcome to Mackay ROM installation

Checking device ID...
about to run program [/tmp/erase_image] with 2 args
about to run program [/tmp/bml_over_mtd.sh] with 6 args
about to run program [/tmp/updater.sh] with 1 args
+ export PATH=/:/sbin:/system/xbin:/system/bin:/tmp:/sbin:/system/bin
+ busybox test = cdma
+ IS_GSM=busybox true
+ SD_PART=/dev/block/mmcblk0p1
+ MMC_PART=/dev/block/mmcblk0p2
+ MTD_SIZE=442499072
+ busybox test -n
+ busybox cut -d -f 3-
+ busybox tail -n 1
+ busybox grep Update location:
+ busybox cat /tmp/recovery.log
+ UPDATE_PACKAGE=grep Update location:
+ busybox test -e /dev/block/bml7
+ busybox cat /sys/class/mtd/mtd2/size
+ busybox test 442499072 != 442499072
+ busybox cat /sys/class/mtd/mtd2/name
+ busybox test datadata != datadata
+ busybox test -e /dev/block/mtdblock0
+ check_mount /sdcard /dev/block/mmcblk0p1 vfat
+ busybox readlink /sdcard
+ local MOUNT_POINT=
+ busybox test -n
+ busybox echo Using non-readlink mount point /sdcard
Using non-readlink mount point /sdcard
+ MOUNT_POINT=/sdcard
+ busybox grep -q /sdcard /proc/mounts
+ set_log /sdcard/cyanogenmod_mtd.log
+ rm -rf /sdcard/cyanogenmod_mtd.log
+ exec
run_program: child exited with status 9
script aborted: assert failed: run_program("/tmp/updater.sh") == 0
assert failed: run_program("/tmp/updater.sh") == 0
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/cm-Mackay_ROM_4.9.6.zip'
Error flashing zip '/sdcard/cm-Mackay_ROM_4.9.6.zip'
Updating partition details...
I:Unable to mount '/emmc'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'flash_done'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'wipe'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /sdcard/recovery.log
The recovery.log does not show any error. Are you sure the zip file is correct? Sounds like a bad download.
Galaxy S:
Mackay ROM 4: http://bit.ly/17lGtyw, with Mackay kernel: http://bit.ly/1bNIipy
Nexus 5: Nameless ROMhttp://bit.ly/1nnsDzF
 
Cordial Humanoid
Old
#17  
Junior Member - OP
Thanks Meter 2
Posts: 17
Join Date: Jul 2013
Hi, I've redownloaded the ZIP file, the two downloaded files are identical. I also tried just rebooting, it gets stuck on the "Mackay kernel" logo with the orange droid picture, but I can get back into recovery.

Aren't the following lines in the recovery log errors (in bold below)?

Welcome to Mackay ROM installation

Checking device ID...
about to run program [/tmp/erase_image] with 2 args
about to run program [/tmp/bml_over_mtd.sh] with 6 args
about to run program [/tmp/updater.sh] with 1 args
+ export PATH=/:/sbin:/system/xbin:/system/bin:/tmp:/sbin:/system/bin
+ busybox test = cdma
+ IS_GSM=busybox true
+ SD_PART=/dev/block/mmcblk0p1
+ MMC_PART=/dev/block/mmcblk0p2
+ MTD_SIZE=442499072
+ busybox test -n
+ busybox cut -d -f 3-
+ busybox tail -n 1
+ busybox grep Update location:
+ busybox cat /tmp/recovery.log
+ UPDATE_PACKAGE=grep Update location:
+ busybox test -e /dev/block/bml7
+ busybox cat /sys/class/mtd/mtd2/size
+ busybox test 442499072 != 442499072
+ busybox cat /sys/class/mtd/mtd2/name
+ busybox test datadata != datadata
+ busybox test -e /dev/block/mtdblock0
+ check_mount /sdcard /dev/block/mmcblk0p1 vfat
+ busybox readlink /sdcard
+ local MOUNT_POINT=
+ busybox test -n
+ busybox echo Using non-readlink mount point /sdcard
Using non-readlink mount point /sdcard
+ MOUNT_POINT=/sdcard
+ busybox grep -q /sdcard /proc/mounts
+ set_log /sdcard/cyanogenmod_mtd.log
+ rm -rf /sdcard/cyanogenmod_mtd.log
+ exec
run_program: child exited with status 9
script aborted: assert failed: run_program("/tmp/updater.sh") == 0
assert failed: run_program("/tmp/updater.sh") == 0
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/cm-Mackay_ROM_4.9.6.zip'
Error flashing zip '/sdcard/cm-Mackay_ROM_4.9.6.zip
 
Cordial Humanoid
Old
#18  
Junior Member - OP
Thanks Meter 2
Posts: 17
Join Date: Jul 2013
Hi all,
it seems I have been able to solve the problem!

I was not able to install the 4.9.6 ROM right away, as explained above. So what I did was:

1. I first downloaded the older 4.9.5 ROM. For some reason this ROM installed correctly! I also downloaded and installed a version of Google Apps, "7-5_GApps_Standard_4.4.4_signed.zip" from this place on androidfilehost, which had been suggested in the thread on the ROM.

2. However, when I rebooted into the ROM, it launched, but immediately ran into the "Unfortunately Setup Wizard has stopped working" issue, so I was unable to start using the ROM. I tried going back to recovery and wiping the cache and Dalvik cache; however, this did not help, the same problem occurred again.

3. I then went back to recovery, and tried to install the newer 4.9.6 ROM. Now it succeeded! I guess whatever the problem is with the fresh installation, installing 4.9.5 first corrected it.

4. I then rebooted, and using the Cyanogenmod wizard included in the 4.9.6 ROM, I was able to complete the setup successfully.


So I guess the lessons are:

a) rebooting into recovery after the first failed install provided me an upgraded TWRP which was able to correctly wipe /data and /system;

b) for some reason the 4.9.6 ROM did not install straightaway but installing the older 4.9.5 ROM first somehow fixed the issue. The 4.9.6 ZIP file did not seem to be corrupt as the same ZIP file installed correctly when I installed it on top of 4.9.5, so the original cause of the problem is still unknown.

c) I still ultimately needed the 4.9.6 ROM to get past the setup wizard issue.

For the moment it looks like everything is working. Thanks a lot both to pryerlee and kasper_h for their help!
 
kasper_h
Old
#19  
kasper_h's Avatar
Recognized Developer
Thanks Meter 15240
Posts: 5,082
Join Date: Oct 2010

 
DONATE TO ME
Glad it was solved. I semi-bricked my sgs last night and ran into the same issue, which also existed BTW on stock cm11. It seems that there is a problem in the recent upstream cm11 code preventing the install of the ROM on a device coming from an older ROM
Galaxy S:
Mackay ROM 4: http://bit.ly/17lGtyw, with Mackay kernel: http://bit.ly/1bNIipy
Nexus 5: Nameless ROMhttp://bit.ly/1nnsDzF

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Pale Moon Browser Ported to Android

Having a wide choice of third party applications is one of the most beautiful things that Android has to … more

Partial Android Wear Source Uploaded to AOSP

2014 is certainly shaping up to be theyear of the wearables. And thanks to its innovative … more

Street Panorama Combines Google Maps and Street View into One App

Google Maps is a must have application forevery amateur world explorer. … more

XDA Behind the Scenes, Part 3

This is the last part of a series of articles that reveals some of the processes, technology, and systems that … more