[Xiaomi Mi 2] zipalign:
I tried re-flashing this morning, same result as I stuck on bootloop.

I have extracted recovery.log immediately after TWRP flash.

here it is:

__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.8.5.0 on Mon Jun 15 11:03:34 2015
(pid 160)
BOARD_HAS_NO_REAL_SDCARD := true
I:Lun file '/sys/devices/platform/usb_mass_storage/lun0/file' does not exist, USB storage mode disabled
TW_INCLUDE_CRYPTO := true
I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
Starting the UI...Pixel format: 720x1280 @ 32bpp
Pixel format: RGBX_8888
Not using qualcomm overlay, 'msmfb44_90801'
framebuffer: fd 4 (720 x 1280)
=> Linking mtab
Renaming regular /etc/recovery.fstab -> /etc/recovery.fstab.bak
Moving /etc/twrp.fstab -> /etc/recovery.fstab
=> Processing recovery.fstab
I:Processing '/boot'
I:Processing '/recovery'
I:Processing '/system'
I:Processing '/data'
I:Processing '/cache'
I:Processing '/sdcard'
I:Created '/sdcard' folder.
I:Processing '/usb-otg'
I:Created '/usb-otg' 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/434c0aea'
I:Settings storage is '/sdcard'
Updating partition details...
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Unmounting main partitions...

Partition Logs:
/boot | /dev/block/mmcblk0p18 | Size: 15MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p18
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/mmcblk0p20 | Size: 15MB
Flags: IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p20
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

/system | /dev/block/mmcblk0p23 | Size: 503MB Used: 431MB Free: 72MB Backup Size: 431MB
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

/data | /dev/block/mmcblk0p26 | Size: 3527MB Used: 122MB Free: 3404MB Backup Size: 122MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Can_Encrypt_Backup Use_Userdata_Encryption
Primary_Block_Device: /dev/block/mmcblk0p26
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/mmcblk0p25 | Size: 377MB Used: 7MB Free: 370MB Backup Size: 7MB
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/mmcblk0p25
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

/sdcard | /dev/block/mmcblk0p27 | Size: 24123MB Used: 13726MB Free: 10396MB 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/mmcblk0p27
Display_Name: Internal Storage
Storage_Name: Internal Storage
Backup_Path: /and-sec
Backup_Name: and-sec
Backup_Display_Name: Android Secure
Storage_Path: /sdcard
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
MTP_Storage_ID: 65537

/usb-otg | | 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/sda1
Alternate_Block_Device: /dev/block/sda
Display_Name: USB OTG
Storage_Name: USB OTG
Backup_Path: /usb-otg
Backup_Name: usb-otg
Backup_Display_Name: USB OTG
Storage_Path: /usb-otg
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65538

I:Loading package: TWRP (/script/ui.xml)
I:Load XML directly
I:Loading package: TWRP (/sdcard/TWRP/theme/ui.zip)
I:Loading zip theme
I:Loading package: TWRP (/twres/ui.xml)
I:Load XML directly
I:Checking resolution...
I:Loading resources...
open_png /twres/images/menu-button.png
open_png /twres/images/file.png
open_png /twres/images/folder.png
open_png /twres/images/slideout.png
open_png /twres/images/indeterminate001.png
open_png /twres/images/indeterminate002.png
open_png /twres/images/indeterminate003.png
open_png /twres/images/indeterminate004.png
open_png /twres/images/indeterminate005.png
open_png /twres/images/indeterminate006.png
open_png /twres/images/indeterminate007.png
open_png /twres/images/progress_empty.png
open_png /twres/images/progress_fill.png
open_png /twres/images/checkbox_empty.png
open_png /twres/images/checkbox_checked.png
open_png /twres/images/radio_empty.png
open_png /twres/images/radio_selected.png
open_png /twres/images/medium-button.png
open_png /twres/images/sort-button.png
open_png /twres/images/minus-button.png
open_png /twres/images/plus-button.png
open_png /twres/images/home-icon.png
open_png /twres/images/back-icon.png
open_png /twres/images/slider.png
open_png /twres/images/slider-used.png
open_png /twres/images/slider-touch.png
open_png /twres/images/unlock.png
open_png /twres/images/keyboard1.png
open_png /twres/images/keyboard2.png
open_png /twres/images/keyboard3.png
open_png /twres/images/keyboard4.png
open_png /twres/images/cursor.png
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:PageSet::CheckInclude loading filename: '/twres/portrait.xml'
I:Loading included resources...
I:Loading included variables...
I:Loading mouse cursor...
I:Loading included 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 install_image
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 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 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 fixperms
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:
af.resampler.quality=255
ro.sf.lcd_density=320
ro.adb.secure=0
ro.com.google.clientidbase=android-google
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=true
ro.com.android.wifi-watchlist=GoogleGuest
ro.ril.transmitpower=true
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.boot.emmc=true
ro.boot.selinux=permissive
ro.boot.baseband=mdm
ro.boot.hardware=aries
ro.boot.serialno=434c0aea
ro.hdmi.enable=true
ro.hwui.text_cache_width=2048
ro.hwui.texture_cache_size=48
ro.omni.device=aries
ro.omni.version=5.0.2-20150221-aries-HOMEMADE
ro.qcom.audio.ssr=true
ro.twrp.boot=1
ro.twrp.version=2.8.5.0
ro.wifi.channels=
ro.allow.mock.location=0
ro.board.platform=msm8960
ro.build.id=LRX22G
ro.build.date=Sat Feb 21 15:27:08 CET 2015
ro.build.date.utc=0
ro.build.host=m1cha-NB
ro.build.tags=test-keys
ro.build.type=userdebug
ro.build.user=m1cha
ro.build.display.id=omni_aries-userdebug 5.0.2 LRX22G eng.m1cha.20150221.152439 test-keys
ro.build.product=aries
ro.build.version.sdk=21
ro.build.version.release=5.0.2
ro.build.version.codename=REL
ro.build.version.incremental=eng.m1cha.20150221.152439
ro.build.version.all_codenames=REL
ro.build.description=aries-user 5.0.1 LRX22C 1602158 release-keys
ro.build.fingerprint=Xiaomi/aries/aries:5.0.1/LRX22C/1602158:user/release-keys
ro.build.characteristics=nosdcard
ro.config.ringtone=Orion.ogg
ro.config.alarm_alert=Argon.ogg
ro.config.notification_sound=pixiedust.ogg
ro.dalvik.vm.native.bridge=0
ro.haptic.vibrate_ex.enabled=1
ro.secure=1
ro.vendor.extension_library=/vendor/lib/libqc-opt.so
ro.zygote=zygote32
ro.carrier=unknown
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.board=ARIES
ro.product.brand=Xiaomi
ro.product.model=MI 2S
ro.product.device=aries
ro.product.locale.region=US
ro.product.locale.language=en
ro.product.manufacturer=Xiaomi
ro.baseband=mdm
ro.bootmode=unknown
ro.hardware=aries
ro.opengles.version=196608
ro.qualcomm.bt.hci_transport=smd
ro.qualcomm.cabl=0
ro.revision=0
ro.serialno=434c0aea
ro.warmboot.capability=1
ro.bluetooth.hfp.ver=1.6
ro.bluetooth.remote.autoconnect=true
ro.bluetooth.request.master=true
ro.bootloader=unknown
ro.debuggable=1
ro.modversion=OmniROM-5.0.2-20150221-aries-HOMEMADE
ro.factorytest=0
ro.setupwizard.enterprise_mode=1
ro.use_data_netmgrd=true
drm.service.enabled=true
lpa.decode=false
lpa.use-stagefright=true
mmp.enable.3g2=true
mpq.audio.decode=true
net.bt.name=Android
net.change=net.bt.name
ril.subscription.types=RUIM
sys.haptic.up.weak=0,80,30,-50,10,0,10
sys.haptic.up.normal=0,100,30,-100,10,0,10
sys.haptic.up.strong=0,120,30,-120,10,0,10
sys.haptic.tap.weak=0,80,40,-5,5,0,10
sys.haptic.tap.normal=0,100,40,-5,5,0,10
sys.haptic.tap.strong=0,120,40,-5,5,0,10
sys.haptic.down.weak=0,120,10,-50,10,0,10
sys.haptic.down.normal=0,127,10,-80,10,0,10
sys.haptic.down.strong=0,127,20,-80,10,0,10
sys.haptic.long.weak=0,127,10,50,20,-50,10,0,10
sys.haptic.long.normal=0,127,10,80,20,-80,10,0,10
sys.haptic.long.strong=0,127,10,100,20,-100,10,0,10
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
rild.libpath=/system/lib/libril-qc-qmi-1.so
twrp.crash_counter=0
wifi.interface=wlan0
wifi.supplicant_scan_interval=15
debug.sf.hw=1
debug.csc.poll=0
debug.egl.hw=1
debug.egl.recordable.rgba8888=1
debug.hwui.render_dirty_regions=false
debug.mdpcomp.logs=0
debug.mdpcomp.maxlayer=3
debug.enabletr=false
debug.composition.type=dyn
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-http=true
media.stagefright.enable-scan=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-player=true
power.webview.DM=false
dalvik.vm.isa.arm.features=div
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.dexopt-flags=m=y
dalvik.vm.heapstartsize=8m
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.heaptargetutilization=0.75
persist.gps.qmienabled=true
persist.hwc.mdpcomp.enable=true
persist.sys.usb.config=mtp,adb
persist.sys.aries.power_profile=middle
persist.sys.dalvik.vm.lib.2=libart.so
persist.sys.display_ce=0
persist.sys.strictmode.disable=true
persist.sys.root_access=1
persist.sys.display_prefer=0
persist.sys.button_jack_switch=0
persist.sys.button_jack_profile=volume
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.vr.enable=false
persist.audio.vns.mode=2
persist.audio.fluence.mode=endfire
persist.audio.handset.mic=digital
persist.timed.enable=true
persist.service.cdrom.enable=1
persist.fuse_sdcard=true
service.adb.root=1
testing.mediascanner.skiplist=/storage/sdcard0/Android/,/storage/sdcard0/MIUI/browser/.readmode/
keyguard.no_require_sim=true
DEVICE_PROVISIONED=1

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/434c0aea'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/usb-otg'
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:TWFunc::Set_Brightness: Setting brightness control to 255
I:TWFunc::Fixup_Time: Pre-fix date and time: 2015-06-15--06-03-36
I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
I:TWFunc::Fixup_Time: Date and time corrected: 2015-06-15--06-03-36
I:Enabling MTP during startup
I:Starting MTP
Starting MTP
I:Get_Max_FileSize::maxFileSize: 17592186044416
I:sending message to add 65537 '/sdcard' 'Internal Storage'
I:Message sent, add storage ID: 65537
MTP Enabled
I:Switching packages (TWRP)
created new mtpserver object
MtpServer::run fd: 14
mtppipe add storage 65537 '/sdcard'
MtpStorage id: 65537 path: /sdcard
I:Set page: 'wipe'
I:Set page: 'action_page'
I:operation_start: 'Format'
Formatting Data using make_ext4fs function.
Creating filesystem with parameters:
Size: 3758080000
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 14335
Label:
Blocks: 917500
Block groups: 28
Reserved block group size: 223
Created filesystem with 11/229376 inodes and 30530/917500 blocks
Formatting Cache using make_ext4fs function.
Creating filesystem with parameters:
Size: 402653184
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1536
Label:
Blocks: 98304
Block groups: 3
Reserved block group size: 23
Created filesystem with 11/24576 inodes and 3131/98304 blocks
I:Recreating /cache/recovery folder.
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
Wiping Android Secure
Updating partition details...
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'action_complete'
I:operation_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'wipe'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing '/sdcard/cm-12.1-20150614-UNOFFICIAL-aries.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.
minzip: Extracted 4 file(s)
detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
blockimg version is 2
Patching system image unconditionally... erasing 131072 blocks

writing 110837 blocks of new data
wrote 110837 blocks; expected 110837
max alloc needed was 0
about to run program [/sbin/e2fsck] with 3 args
e2fsck 1.42.9 (28-Dec-2013)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/block/platform/msm_sdcc.1/by-name/system: 2087/32768 files (0.0% non-contiguous), 112435/131072 blocks
about to run program [/tmp/install/bin/resize2fs_static] with 2 args
resize2fs 1.42.9 (28-Dec-2013)
The filesystem is already 131072 blocks long. Nothing to do!

about to run program [/sbin/e2fsck] with 3 args
e2fsck 1.42.9 (28-Dec-2013)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/block/platform/msm_sdcc.1/by-name/system: 2087/32768 files (0.0% non-contiguous), 112435/131072 blocks
detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
script succeeded: result was [0.200000]I:Legacy property environment disabled.
Updating partition details...
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
I:operation_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'install'
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:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /sdcard/recovery.log