[Android Software Development] Diamorphoses:
I've been trying in a kazilion diferente ways, and still same error :(

Could not find 'META-INF/com/google/android/update-binary' in the zip file.

Error installing zip file '/external_sd/freecyngn-flashable-cm12.zip'

I tried with ZipSigner, MixExplorer, tried to edit in my laptop and compress and sign in my phone, tried to edit directly in the ZIP file (which corrupted it), I don't know... I tried hard :( I allways get the same error.

Log:

__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 3.0.2-0 on Tue Jan 6 19:55:38 1970

(pid 190)

TW_POWER_BUTTON := 107

TW_NO_USB_STORAGE := true

I:Find_File: Error opening '/sys/class/backlight'

I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'

I:Got max brightness 255 from '/sys/class/leds/lcd-backlight/max_brightness'

I:TWFunc::Set_Brightness: Setting brightness control to 255

I:LANG: en

Starting the UI...Overlay graphics may work (mdssfb_80000), but not enabled. Use TW_TARGET_USES_QCOM_BSP := true to enable.

setting DRM_FORMAT_RGB565 and GGL_PIXEL_FORMAT_RGB_565

cannot find/open a drm device: No such file or directory

fb0 reports (possibly inaccurate):

vi.bits_per_pixel = 32

vi.red.offset = 0 .length = 8

vi.green.offset = 8 .length = 8

vi.blue.offset = 16 .length = 8

setting GGL_PIXEL_FORMAT_RGBA_8888

double buffered

framebuffer: 0 (720 x 1280)

Using fbdev graphics.

I:TWFunc::Set_Brightness: Setting brightness control to 255

I:Loading package: splash (/twres/splash.xml)

I:Load XML directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/splash.xml' directly

I:Checking resolution...

I:Scaling theme width 0.666667x and height 0.666667x, offsets x: 0 y: 0

I:Loading resources...

I:Loading variables...

I:Loading mouse cursor...

I:Loading pages...

I:Loading page splash

I:Switching packages (splash)

=> Linking mtab

Renaming regular /etc/recovery.fstab -> /etc/recovery.fstab.bak

Moving /etc/twrp.fstab -> /etc/recovery.fstab

=> Processing recovery.fstab

I:Processing '/aboot'

I:Processing '/abootbak'

I:Processing '/boot'

I:Processing '/recovery'

I:Processing '/splash'

I:Processing '/system'

I:Processing '/persist'

I:Created '/persist' folder.

I:Processing '/cache'

I:Processing '/data'

I:Processing '/misc'

I:Processing '/firmware'

I:Created '/firmware' folder.

I:Processing '/sbl1'

I:Processing '/sbl1bak'

I:Processing '/rpm'

I:Processing '/rpmbak'

I:Processing '/tz'

I:Processing '/tzbak'

I:Processing '/hyp'

I:Processing '/hypbak'

I:Processing '/fsg'

I:Processing '/fsc'

I:Processing '/modemst1'

I:Processing '/modemst2'

I:Processing '/external_sd'

I:Created '/external_sd' folder.

I:Processing '/usbotg'

I:Created '/usbotg' folder.

I:Using automatic handling for /data/media emulated storage device.

I:Setting up '/data' as data/media emulated storage.

I:Created '/sdcard' folder.

I:mount -o bind '/data/media' '/sdcard' process ended with RC=0

I:Backup folder set to '/data/media/0/TWRP/BACKUPS/8b1bca46'

I:Settings storage is '/data/media/0'

Updating partition details...

I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0

I:Data backup size is 367MB, free: 11655MB.

I:Unable to mount '/usbotg'

I:Actual block device: '', current file system: 'auto'

...done

I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0

I:Unmounting main partitions...

Partition Logs:

/aboot | /dev/block/mmcblk0p18 | Size: 1MB

Flags: Can_Be_Backed_Up Has_SubPartition IsPresent

Primary_Block_Device: /dev/block/mmcblk0p18

Display_Name: Aboot

Storage_Name: Aboot

Backup_Path: /aboot

Backup_Name: aboot

Backup_Display_Name: Aboot

Storage_Path: /aboot

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/abootbak | /dev/block/mmcblk0p19 | Size: 1MB

Flags: Can_Be_Backed_Up Is_SubPartition IsPresent

SubPartition_Of: /aboot

Primary_Block_Device: /dev/block/mmcblk0p19

Display_Name: abootbak

Storage_Name: abootbak

Backup_Path: /abootbak

Backup_Name: abootbak

Backup_Display_Name: abootbak

Storage_Path: /abootbak

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/boot | /dev/block/mmcblk0p20 | Size: 64MB

Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img

Primary_Block_Device: /dev/block/mmcblk0p20

Display_Name: Boot

Storage_Name: Boot

Backup_Path: /boot

Backup_Name: boot

Backup_Display_Name: Boot

Storage_Path: /boot

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/recovery | /dev/block/mmcblk0p21 | Size: 64MB

Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img

Primary_Block_Device: /dev/block/mmcblk0p21

Display_Name: Recovery

Storage_Name: Recovery

Backup_Path: /recovery

Backup_Name: recovery

Backup_Display_Name: Recovery

Storage_Path: /recovery

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/splash | /dev/block/mmcblk0p14 | Size: 10MB

Flags: Can_Be_Backed_Up IsPresent

Primary_Block_Device: /dev/block/mmcblk0p14

Display_Name: Splash

Storage_Name: Splash

Backup_Path: /splash

Backup_Name: splash

Backup_Display_Name: Splash

Storage_Path: /splash

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/system | /dev/block/mmcblk0p23 | Size: 991MB Used: 686MB Free: 304MB Backup Size: 686MB

Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent

Primary_Block_Device: /dev/block/mmcblk0p23

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

/persist | /dev/block/mmcblk0p25 | Size: 27MB Used: 0MB Free: 27MB Backup Size: 0MB

Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent

Primary_Block_Device: /dev/block/mmcblk0p25

Display_Name: Persist

Storage_Name: Persist

Backup_Path: /persist

Backup_Name: persist

Backup_Display_Name: Persist

Storage_Path: /persist

Current_File_System: ext4

Fstab_File_System: ext4

Backup_Method: files

/cache | /dev/block/mmcblk0p24 | Size: 247MB Used: 0MB Free: 247MB Backup Size: 0MB

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/mmcblk0p24

Display_Name: Cache

Storage_Name: Cache

Backup_Path: /cache

Backup_Name: cache

Backup_Display_Name: Cache

Storage_Path: /cache

Current_File_System: ext4

Fstab_File_System: ext4

Backup_Method: files

/data | /dev/block/mmcblk0p30 | Size: 12057MB Used: 367MB Free: 11655MB Backup Size: 367MB

Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage

Symlink_Path: /data/media/0

Symlink_Mount_Point: /sdcard

Primary_Block_Device: /dev/block/mmcblk0p30

Length: -20480

Display_Name: Data

Storage_Name: Internal Storage

Backup_Path: /data

Backup_Name: data

Backup_Display_Name: Data

Storage_Path: /data/media/0

Current_File_System: ext4

Fstab_File_System: ext4

Backup_Method: files

MTP_Storage_ID: 65539

/misc | /dev/block/mmcblk0p26 | Size: 1MB

Flags: IsPresent

Primary_Block_Device: /dev/block/mmcblk0p26

Display_Name: Misc

Storage_Name: Misc

Backup_Path: /misc

Backup_Name: misc

Backup_Display_Name: Misc

Storage_Path: /misc

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/firmware | /dev/block/mmcblk0p1 | Size: 63MB Used: 44MB Free: 19MB Backup Size: 44MB

Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent

Primary_Block_Device: /dev/block/mmcblk0p1

Display_Name: Modem

Storage_Name: Modem

Backup_Path: /firmware

Backup_Name: firmware

Backup_Display_Name: Modem

Storage_Path: /firmware

Current_File_System: vfat

Fstab_File_System: vfat

Backup_Method: files

/sbl1 | /dev/block/mmcblk0p4 | Size: 0MB

Flags: Can_Be_Backed_Up Has_SubPartition IsPresent

Primary_Block_Device: /dev/block/mmcblk0p4

Display_Name: Firmware-update

Storage_Name: Firmware-update

Backup_Path: /sbl1

Backup_Name: sbl1

Backup_Display_Name: Firmware-update

Storage_Path: /sbl1

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/sbl1bak | /dev/block/mmcblk0p5 | Size: 0MB

Flags: Can_Be_Backed_Up Is_SubPartition IsPresent

SubPartition_Of: /sbl1

Primary_Block_Device: /dev/block/mmcblk0p5

Display_Name: sbl1bak

Storage_Name: sbl1bak

Backup_Path: /sbl1bak

Backup_Name: sbl1bak

Backup_Display_Name: sbl1bak

Storage_Path: /sbl1bak

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/rpm | /dev/block/mmcblk0p6 | Size: 0MB

Flags: Can_Be_Backed_Up Is_SubPartition IsPresent

SubPartition_Of: /sbl1

Primary_Block_Device: /dev/block/mmcblk0p6

Display_Name: rpm

Storage_Name: rpm

Backup_Path: /rpm

Backup_Name: rpm

Backup_Display_Name: rpm

Storage_Path: /rpm

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/rpmbak | /dev/block/mmcblk0p7 | Size: 0MB

Flags: Can_Be_Backed_Up Is_SubPartition IsPresent

SubPartition_Of: /sbl1

Primary_Block_Device: /dev/block/mmcblk0p7

Display_Name: rpmbak

Storage_Name: rpmbak

Backup_Path: /rpmbak

Backup_Name: rpmbak

Backup_Display_Name: rpmbak

Storage_Path: /rpmbak

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/tz | /dev/block/mmcblk0p8 | Size: 0MB

Flags: Can_Be_Backed_Up Is_SubPartition IsPresent

SubPartition_Of: /sbl1

Primary_Block_Device: /dev/block/mmcblk0p8

Display_Name: tz

Storage_Name: tz

Backup_Path: /tz

Backup_Name: tz

Backup_Display_Name: tz

Storage_Path: /tz

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/tzbak | /dev/block/mmcblk0p9 | Size: 0MB

Flags: Can_Be_Backed_Up Is_SubPartition IsPresent

SubPartition_Of: /sbl1

Primary_Block_Device: /dev/block/mmcblk0p9

Display_Name: tzbak

Storage_Name: tzbak

Backup_Path: /tzbak

Backup_Name: tzbak

Backup_Display_Name: tzbak

Storage_Path: /tzbak

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/hyp | /dev/block/mmcblk0p10 | Size: 0MB

Flags: Can_Be_Backed_Up Is_SubPartition IsPresent

SubPartition_Of: /sbl1

Primary_Block_Device: /dev/block/mmcblk0p10

Display_Name: hyp

Storage_Name: hyp

Backup_Path: /hyp

Backup_Name: hyp

Backup_Display_Name: hyp

Storage_Path: /hyp

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/hypbak | /dev/block/mmcblk0p11 | Size: 0MB

Flags: Can_Be_Backed_Up Is_SubPartition IsPresent

SubPartition_Of: /sbl1

Primary_Block_Device: /dev/block/mmcblk0p11

Display_Name: hypbak

Storage_Name: hypbak

Backup_Path: /hypbak

Backup_Name: hypbak

Backup_Display_Name: hypbak

Storage_Path: /hypbak

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/fsg | /dev/block/mmcblk0p16 | Size: 1MB

Flags: Can_Be_Backed_Up Has_SubPartition IsPresent

Primary_Block_Device: /dev/block/mmcblk0p16

Display_Name: Efs

Storage_Name: Efs

Backup_Path: /fsg

Backup_Name: fsg

Backup_Display_Name: Efs

Storage_Path: /fsg

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/fsc | /dev/block/mmcblk0p2 | Size: 0MB

Flags: Can_Be_Backed_Up Is_SubPartition IsPresent

SubPartition_Of: /fsg

Primary_Block_Device: /dev/block/mmcblk0p2

Display_Name: fsc

Storage_Name: fsc

Backup_Path: /fsc

Backup_Name: fsc

Backup_Display_Name: fsc

Storage_Path: /fsc

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/modemst1 | /dev/block/mmcblk0p12 | Size: 1MB

Flags: Can_Be_Backed_Up Is_SubPartition IsPresent

SubPartition_Of: /fsg

Primary_Block_Device: /dev/block/mmcblk0p12

Display_Name: modemst1

Storage_Name: modemst1

Backup_Path: /modemst1

Backup_Name: modemst1

Backup_Display_Name: modemst1

Storage_Path: /modemst1

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/modemst2 | /dev/block/mmcblk0p13 | Size: 1MB

Flags: Can_Be_Backed_Up Is_SubPartition IsPresent

SubPartition_Of: /fsg

Primary_Block_Device: /dev/block/mmcblk0p13

Display_Name: modemst2

Storage_Name: modemst2

Backup_Path: /modemst2

Backup_Name: modemst2

Backup_Display_Name: modemst2

Storage_Path: /modemst2

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/external_sd | /dev/block/mmcblk1p1 | Size: 30019MB Used: 743MB Free: 29275MB Backup Size: 743MB

Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage

Primary_Block_Device: /dev/block/mmcblk1p1

Alternate_Block_Device: /dev/block/mmcblk1

Display_Name: External SDcard

Storage_Name: External SDcard

Backup_Path: /external_sd

Backup_Name: external_sd

Backup_Display_Name: External SDcard

Storage_Path: /external_sd

Current_File_System: vfat

Fstab_File_System: auto

Backup_Method: files

MTP_Storage_ID: 65537

/usbotg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB

Flags: Can_Be_Mounted Can_Be_Wiped Removable Is_Storage

Primary_Block_Device: /dev/block/sda1

Alternate_Block_Device: /dev/block/sda

Display_Name: Usb-Otg

Storage_Name: Usb-Otg

Backup_Path: /usbotg

Backup_Name: usbotg

Backup_Display_Name: Usb-Otg

Storage_Path: /usbotg

Current_File_System: auto

Fstab_File_System: auto

Backup_Method: files

MTP_Storage_ID: 65538

I:Loading package: TWRP (/data/media/0/TWRP/theme/ui.zip)

I:Loading zip theme

I:Loading package: TWRP (/twres/ui.xml)

I:Load XML directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/uk.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/tr.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sv.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sl.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sk.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/ru.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_BR.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pl.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/it.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/hu.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/fr.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/es.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/el.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/cz.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly

parsing languageFile

parsing languageFile done

I:PageManager::LoadFileToBuffer loading filename: '/twres/ui.xml' directly

I:Checking resolution...

I:Scaling theme width 0.666667x and height 0.666667x, offsets x: 0 y: 0

I:Loading resources...

I:Failed to load image from indeterminate013, error -1

I:Loading variables...

I:Loading mouse cursor...

I:Loading pages...

I:Including file: /twres/portrait.xml...

I:PageManager::LoadFileToBuffer loading filename: '/twres/portrait.xml' directly

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 flashimage_confirm

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 refreshfilesystem

I:Loading page selectfilesystem

I:Loading page backup

I:Loading page backup_options

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:Unable to open '/data/media/0/TWRP/BACKUPS/8b1bca46'

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 mount

I:Loading page usb_mount

I:Loading page usb_umount

I:Loading page system_readonly_check

I:Loading page reboot

I:Loading page system_readonly

I:Loading page settings

I:Loading page settings_timezone

I:Loading page settings_screen

I:Loading page settings_vibration

I:Loading page settings_language

I:Loading page advanced

I:Loading page partsdcardsel

I:Loading page partsdcardcheck

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 filemanageraction

I:Loading page decrypt

I:Loading page decrypt_pattern

I:Loading page trydecrypt

I:Loading page terminalcommand

I:Loading page sideload

I:Loading page fixcontexts

I:Loading page installsu

I:Loading page slideout

I:Loading page select_storage

I:Loading page select_language

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Switching packages (TWRP)

SELinux contexts loaded from /file_contexts

Full SELinux support is present.

Startup Commands:

av.offload.enable=true

av.streaming.offload.enable=true

mm.enable.smoothstreaming=true

mm.disable.sec_smoothstreaming=true

ro.cm.build.version.plat.rev=0

ro.cm.build.version.plat.sdk=6

ro.cm.device=trunk

ro.cm.display.version=13.0-20160405-UNOFFICIAL-trunk

ro.cm.version=13.0-20160405-UNOFFICIAL-trunk

ro.cm.releasetype=UNOFFICIAL

ro.qc.sdk.izat.premium.enabled=0

ro.qc.sdk.izat.service_mask=0x0

ro.qc.sdk.audio.fluencetype=none

ro.sf.lcd_density=320

ro.com.google.clientidbase=android-trunk

ro.com.android.dateformat=MM-dd-yyyy

ro.com.android.dataroaming=false

ro.com.android.wifi-watchlist=GoogleGuest

ro.frp.pst=/dev/block/bootdevice/by-name/config

ro.gps.agps_provider=1

ro.ril.multi_rat_capable=true

ro.sys.fw.bservice_age=5000

ro.sys.fw.bservice_limit=5

ro.sys.fw.bservice_enable=true

ro.sys.fw.use_trim_settings=true

ro.sys.fw.dex2oat_thread_count=4

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=true

ro.boot.console=ttyHSL0

ro.boot.selinux=permissive

ro.boot.baseband=msm

ro.boot.hardware=qcom

ro.boot.serialno=8b1bca46

ro.boot.bootdevice=7824900.sdhci

ro.twrp.boot=1

ro.twrp.version=3.0.2-0

ro.wifi.channels=

ro.allow.mock.location=1

ro.board.platform=msm8916

ro.build.id=MHC19J

ro.build.date=Tue Apr 5 23:19:26 SGT 2016

ro.build.date.utc=1459869566

ro.build.host=debian-server

ro.build.tags=test-keys

ro.build.type=eng

ro.build.user=daniel

ro.build.flavor=cm_trunk-eng

ro.build.display.id=trunk-eng 6.0.1 MHC19J 415c224b0c test-keys

ro.build.product=trunk

ro.build.selinux=1

ro.build.version.sdk=23

ro.build.version.base_os=

ro.build.version.release=6.0.1

ro.build.version.codename=REL

ro.build.version.incremental=415c224b0c

ro.build.version.preview_sdk=0

ro.build.version.all_codenames=REL

ro.build.version.security_patch=2016-03-01

ro.build.description=trunk-eng 6.0.1 MHC19J 415c224b0c test-keys

ro.build.fingerprint=trunk/trunk/trunk:6.0.1/MHC19J/415c224b0c:eng/test-keys

ro.build.characteristics=default

ro.config.ringtone=Orion.ogg

ro.config.alarm_alert=Helium.ogg

ro.config.max_starting_bg=8

ro.config.notification_sound=Argon.ogg

ro.dalvik.vm.native.bridge=0

ro.kernel.android.checkjni=1

ro.secure=0

ro.vendor.extension_library=libqti-perfd-client.so

ro.zygote=zygote64_32

ro.carrier=unknown

ro.cmlegal.url=https://cyngn.com/legal/privacy-policy

ro.product.cpu.abi=arm64-v8a

ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi

ro.product.cpu.abilist32=armeabi-v7a,armeabi

ro.product.cpu.abilist64=arm64-v8a

ro.product.name=trunk

ro.product.board=MSM8916

ro.product.brand=trunk

ro.product.model=Elephone Trunk

ro.product.model.platform=1

ro.product.device=trunk

ro.product.locale=en-US

ro.product.manufacturer=elephone

ro.baseband=msm

ro.bootmode=unknown

ro.hardware=qcom

ro.opengles.version=196608

ro.qualcomm.bt.hci_transport=smd

ro.revision=0

ro.serialno=8b1bca46

ro.bootimage.build.date=Tue Apr 5 23:21:12 SGT 2016

ro.bootimage.build.date.utc=1459869673

ro.bootimage.build.fingerprint=trunk/trunk/trunk:6.0.1/MHC19J/415c224b0c:eng/test-keys

ro.telephony.ril.config=simactivation

ro.telephony.call_ring.multiple=false

ro.telephony.default_3g2g=0

ro.telephony.default_network=9,1

ro.alarm_boot=false

ro.bootloader=unknown

ro.debuggable=1

ro.min_freq_0=800000

ro.modversion=13.0-20160405-UNOFFICIAL-trunk

ro.rommanager.developerid=cyanogenmod

ro.recovery_id=0x4728e8f2bbd22c764f963020b23a89514a9eaefe000000000000000000000000

ro.setupwizard.enterprise_mode=1

ro.core_ctl_max_cpu=4

ro.core_ctl_min_cpu=2

ro.use_data_netmgrd=true

ro.disableWifiApFirmwareReload=true

drm.service.enabled=1

net.bt.name=Android

net.change=net.bt.name

sys.usb.ffs.ready=1

use.voice.path.for.pcm.voip=true

init.svc.adbd=running

init.svc.healthd=running

init.svc.ueventd=running

init.svc.recovery=running

init.svc.set_permissive=stopped

rild.libargs=-d /dev/smd0

twrp.crash_counter=0

twrp.action_complete=0

vidc.enc.narrow.searchrange=1

wifi.interface=wlan0

audio.offload.min.duration.secs=30

audio.offload.pcm.16bit.enable=false

audio.offload.pcm.24bit.enable=true

audio.offload.buffer.size.kb=64

audio.offload.gapless.enabled=true

debug.sf.gpu_comp_tiling=1

debug.atrace.tags.enableflags=0

debug.enable.sglscale=1

debug.mdpcomp.idletime=600

debug.composition.type=c2d

media.sf.omx-plugin=libffmpeg_omx.so

media.sf.extractor-plugin=libffmpeg_extractor.so

media.aac_51_output_enabled=true

dalvik.vm.isa.arm.variant=cortex-a53

dalvik.vm.isa.arm.features=default

dalvik.vm.isa.arm64.variant=generic

dalvik.vm.isa.arm64.features=default

dalvik.vm.usejit=true

dalvik.vm.heapsize=512m

dalvik.vm.lockprof.threshold=500

dalvik.vm.dex2oat-Xms=64m

dalvik.vm.dex2oat-Xmx=512m

dalvik.vm.heapmaxfree=8m

dalvik.vm.heapminfree=512k

dalvik.vm.dex2oat-flags=--no-watch-dog

dalvik.vm.heapstartsize=8m

dalvik.vm.dex2oat-filter=verify-at-runtime

dalvik.vm.dex2oat-threads=3

dalvik.vm.heapgrowthlimit=192m

dalvik.vm.stack-trace-file=/data/anr/traces.txt

dalvik.vm.image-dex2oat-Xms=64m

dalvik.vm.image-dex2oat-Xmx=64m

dalvik.vm.image-dex2oat-filter=verify-at-runtime

dalvik.vm.heaptargetutilization=0.75

persist.gps.qc_nlp_in_use=0

persist.hwc.ptor.enable=true

persist.hwc.mdpcomp.enable=true

persist.sys.dun.override=0

persist.sys.usb.config=mtp,adb,adb

persist.sys.dalvik.vm.lib.2=libart.so

persist.sys.root_access=0

persist.data.qmi.adb_logmask=0

persist.data.target=dpm1

persist.rild.nitz_plmn=

persist.rild.nitz_long_ons_0=

persist.rild.nitz_long_ons_1=

persist.rild.nitz_long_ons_2=

persist.rild.nitz_long_ons_3=

persist.rild.nitz_short_ons_0=

persist.rild.nitz_short_ons_1=

persist.rild.nitz_short_ons_2=

persist.rild.nitz_short_ons_3=

persist.audio.fluence.speaker=false

persist.audio.fluence.voicerec=false

persist.audio.fluence.voicecall=true

persist.radio.multisim.config=dsds

persist.radio.custom_ecc=1

persist.radio.ecc_hard_1=998

persist.radio.ecc_hard_count=1

persist.radio.apm_sim_not_pwdn=1

persist.timed.enable=true

persist.camera.hal.debug.mask=0

service.adb.root=1

keyguard.no_require_sim=true

I:Copying file /cache/recovery/log to /cache/recovery/last_log

tw_get_context got selinux context: u:object_r:media_rw_data_file:s0

I:Got default contexts and file mode for storage files.

I:Attempt to load settings from settings file...

I:InfoManager loading from '/data/media/0/TWRP/.twrps'.

I:Backup folder set to '/external_sd/TWRP/BACKUPS/8b1bca46'

I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab

I:Version number saved to '/cache/recovery/.version'

I:Unable to mount '/usbotg'

I:Actual block device: '', current file system: 'auto'

__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT,M3.2.0,M11.1.0!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

I:TWFunc::Set_Brightness: Setting brightness control to 255

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly

parsing languageFile

parsing languageFile done

I:Translating partition display names

I:Backup folder set to '/external_sd/TWRP/BACKUPS/8b1bca46'

I:Enabling MTP during startup

I:Starting MTP

I:sending message to add 65539 '/data/media/0' 'Internal Storage'

I:Message sent, add storage ID: 65539

I:sending message to add 65537 '/external_sd' 'Micro SDCard'

I:Message sent, add storage ID: 65537

MTP Enabled

Starting MTP

I:Check_Lifetime_Writes result: '4796'

I:Switching packages (TWRP)

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

created new mtpserver object

MtpServer::run fd: 21

E:request read returned -1, errno: 22, exiting MtpServer::run loop

mtppipe add storage 65539 '/data/media/0'

MtpStorage id: 65539 path: /data/media/0

mtppipe add storage 65537 '/external_sd'

MtpStorage id: 65537 path: /external_sd

MtpServer::run fd: 21

E:request read returned -1, errno: 22, exiting MtpServer::run loop

I:Set page: 'install'

MtpServer::run fd: 21

E:request read returned -1, errno: 22, exiting MtpServer::run loop

MtpServer::run fd: 21

E:request read returned -1, errno: 22, exiting MtpServer::run loop

MtpServer::run fd: 21

E:request read returned -1, errno: 22, exiting MtpServer::run loop

I:Set page: 'flash_confirm'

MtpServer::run fd: 21

E:request read returned -1, errno: 22, exiting MtpServer::run loop

MtpServer::run fd: 21

E:request read returned -1, errno: 22, exiting MtpServer::run loop

I:Set page: 'flash_zip'

I:operation_start: 'Flashing'

MtpServer::run fd: 21

E:request read returned -1, errno: 22, exiting MtpServer::run loop

Installing zip file '/external_sd/freecyngn-flashable-cm12.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

Could not find 'META-INF/com/google/android/update-binary' in the zip file.

Error installing zip file '/external_sd/freecyngn-flashable-cm12.zip'

Updating partition details...

MtpServer::run fd: 21

E:request read returned -1, errno: 22, exiting MtpServer::run loop

I:Data backup size is 367MB, free: 11655MB.

I:Unable to mount '/usbotg'

I:Actual block device: '', current file system: 'auto'

...done

I:Set page: 'flash_done'

I:operation_end - status=1

MtpServer::run fd: 21

E:request read returned -1, errno: 22, exiting MtpServer::run loop

(etc...)

I:Set page: 'action_page'

I:operation_start: 'Copy Log'

I:Copying file /tmp/recovery.log to /external_sd/recovery.log

Any suggestions?

On a side note, I get the exactly same error with this forked package: https://github.com/Micha-Btz/freecyngn

P.S. Thank you very much for making me know MIXplorer ;)

EDIT: I also tried with your template and even tried directly with your Resources.ZIP without editing. Same error :(

.