[Nexus 7 (2013) Q&A] libbkmz:
Hi. I have Nexus 7 2013 WiFi 32Gb. FLO 04.02 bootloader. Stock 4.4.2 android with root and teamwin.

Recently, I start download file and after that my nexus 7 rebooted. And it stuck on Google boot screen. I try to run teamwin, but it also stuck on Teamwin logo.

In fastboot mode i get:

> sudo fastboot -u format cache
formatting 'cache' partition...
Creating filesystem with parameters:
Size: 587202560
Block size: 4096
Blocks per group: 32768
Inodes per group: 7168
Inode size: 256
Journal blocks: 2240
Label:
Blocks: 143360
Block groups: 5
Reserved block group size: 39
Created filesystem with 11/35840 inodes and 4616/143360 blocks
sending 'cache' (10984 KB)...
writing 'cache'...
FAILED (remote: flash write failure)
finished. total time: 89.945s

> sudo fastboot -w
erasing 'userdata'...
FAILED (remote: failed to erase partition)
finished. total time: 0.015s

> sudo fastboot flash bootloader bootloader-flo-flo-04.02.img
sending 'bootloader' (3911 KB)...
OKAY [ 0.130s]
writing 'bootloader'...
FAILED (remote: flash write failure)
finished. total time: 1.068s

e2fsck:

e2fsck /dev/block/mmcblk0
e2fsck 1.41.14 (22-Dec-2010)
e2fsck: Device or resource busy while trying to open /dev/block/mmcblk0
Filesystem mounted or opened exclusively by another program?

e2fsck 1.41.14 (22-Dec-2010)
e2fsck: Device or resource busy while trying to open /dev/block/mmcblk0p30
Filesystem mounted or opened exclusively by another program?

mount:

mount
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)

dmesg: pastebin. com/j4hnHkwg

PS. Can't insert links, and can't insert dmesg here, message are too long... =(

Some other logs:

<4>[ 1013.807952] ------------[ cut here ]------------
<4>[ 1013.807952] WARNING: at drivers/mmc/host/msm_sdcc.c:3538 msmsdcc_disable+0x84/0x10c()
<4>[ 1013.807952] mmc0: msmsdcc_disable: failed with error -22
<4>[ 1013.807983] [<c010cbc8>] (unwind_backtrace+0x0/0x11c) from [<c01730e8>] (warn_slowpath_common+0x48/0x60)
<4>[ 1013.807983] [<c01730e8>] (warn_slowpath_common+0x48/0x60) from [<c0173158>] (warn_slowpath_fmt+0x2c/0x3c)
<4>[ 1013.807983] [<c0173158>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0659b18>] (msmsdcc_disable+0x84/0x10c)
<4>[ 1013.808013] [<c0659b18>] (msmsdcc_disable+0x84/0x10c) from [<c0646130>] (mmc_release_host+0x4c/0xb0)
<4>[ 1013.808013] [<c0646130>] (mmc_release_host+0x4c/0xb0) from [<c06571a0>] (mmc_blk_issue_rq+0x480/0x4c0)
<4>[ 1013.808044] [<c06571a0>] (mmc_blk_issue_rq+0x480/0x4c0) from [<c0657648>] (mmc_queue_thread+0xd4/0x19c)
<4>[ 1013.808044] [<c0657648>] (mmc_queue_thread+0xd4/0x19c) from [<c018f804>] (kthread+0x84/0x90)
<4>[ 1013.808044] [<c018f804>] (kthread+0x84/0x90) from [<c0107228>] (kernel_thread_exit+0x0/0x8)
<4>[ 1013.808074] ---[ end trace c0d52a61d7a24c7c ]---
<6>[ 1013.808074] mmc0: PM: sdcc_suspended=0, pending_resume=0, sdcc_suspending=0
<6>[ 1013.808074] mmc0: RPM: runtime_status=0, usage_count=0, is_suspended=0, disable_depth=0, runtime_error=-110, request_pending=0, request=0
<4>[ 1013.901123] ------------[ cut here ]------------
<4>[ 1013.901245] WARNING: at drivers/mmc/host/msm_sdcc.c:3510 msmsdcc_enable+0x108/0x144()
<4>[ 1013.901306] mmc0: msmsdcc_enable: failed with error -22
<4>[ 1013.901397] [<c010cbc8>] (unwind_backtrace+0x0/0x11c) from [<c01730e8>] (warn_slowpath_common+0x48/0x60)
<4>[ 1013.901519] [<c01730e8>] (warn_slowpath_common+0x48/0x60) from [<c0173158>] (warn_slowpath_fmt+0x2c/0x3c)
<4>[ 1013.901580] [<c0173158>] (warn_slowpath_fmt+0x2c/0x3c) from [<c065db64>] (msmsdcc_enable+0x108/0x144)
<4>[ 1013.901702] [<c065db64>] (msmsdcc_enable+0x108/0x144) from [<c0646018>] (__mmc_claim_host+0x170/0x180)
<4>[ 1013.901824] [<c0646018>] (__mmc_claim_host+0x170/0x180) from [<c0656d54>] (mmc_blk_issue_rq+0x34/0x4c0)
<4>[ 1013.901916] [<c0656d54>] (mmc_blk_issue_rq+0x34/0x4c0) from [<c0657648>] (mmc_queue_thread+0xd4/0x19c)
<4>[ 1013.902038] [<c0657648>] (mmc_queue_thread+0xd4/0x19c) from [<c018f804>] (kthread+0x84/0x90)
<4>[ 1013.902130] [<c018f804>] (kthread+0x84/0x90) from [<c0107228>] (kernel_thread_exit+0x0/0x8)
<4>[ 1013.902221] ---[ end trace c0d52a61d7a24c7d ]---
<6>[ 1013.902343] mmc0: PM: sdcc_suspended=0, pending_resume=0, sdcc_suspending=0
<6>[ 1013.902404] mmc0: RPM: runtime_status=0, usage_count=1, is_suspended=0, disable_depth=0, runtime_error=-110, request_pending=0, request=0
<6>[ 1013.903350] sps:BAM 0x12402000 enabled: ver:0x5, number of pipes:6
<3>[ 1013.908935] mmcblk0: error -110 sending status command, retrying
<3>[ 1013.914428] mmcblk0: error -110 sending status command, retrying
<3>[ 1013.919891] mmcblk0: error -110 sending status command, aborting
<3>[ 1013.919982] end_request: I/O error, dev mmcblk0, sector 4718594
<3>[ 1013.920104] EXT4-fs (mmcblk0p30): unable to read superblock
<4>[ 1013.920104] ------------[ cut here ]------------
<4>[ 1013.920135] WARNING: at drivers/mmc/host/msm_sdcc.c:3538 msmsdcc_disable+0x84/0x10c()
<4>[ 1013.920135] mmc0: msmsdcc_disable: failed with error -22
<4>[ 1013.920135] [<c010cbc8>] (unwind_backtrace+0x0/0x11c) from [<c01730e8>] (warn_slowpath_common+0x48/0x60)
<4>[ 1013.920166] [<c01730e8>] (warn_slowpath_common+0x48/0x60) from [<c0173158>] (warn_slowpath_fmt+0x2c/0x3c)
<4>[ 1013.920166] [<c0173158>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0659b18>] (msmsdcc_disable+0x84/0x10c)
<4>[ 1013.920166] [<c0659b18>] (msmsdcc_disable+0x84/0x10c) from [<c0646130>] (mmc_release_host+0x4c/0xb0)
<4>[ 1013.920196] [<c0646130>] (mmc_release_host+0x4c/0xb0) from [<c06571a0>] (mmc_blk_issue_rq+0x480/0x4c0)
<4>[ 1013.920196] [<c06571a0>] (mmc_blk_issue_rq+0x480/0x4c0) from [<c0657648>] (mmc_queue_thread+0xd4/0x19c)
<4>[ 1013.920227] [<c0657648>] (mmc_queue_thread+0xd4/0x19c) from [<c018f804>] (kthread+0x84/0x90)
<4>[ 1013.920227] [<c018f804>] (kthread+0x84/0x90) from [<c0107228>] (kernel_thread_exit+0x0/0x8)
<4>[ 1013.920227] ---[ end trace c0d52a61d7a24c7e ]---
<6>[ 1013.920227] mmc0: PM: sdcc_suspended=0, pending_resume=0, sdcc_suspending=0
<6>[ 1013.920257] mmc0: RPM: runtime_status=0, usage_count=0, is_suspended=0, disable_depth=0, runtime_error=-110, request_pending=0, request=0

<3>[ 703.888671] EXT4-fs (mmcblk0p30): unable to read superblock
<3>[ 7.323852] mmcblk0: error -110 sending stop command, original cmd response 0x940, card status 0x2400e40
umount: can't umount /dev/block/mmcblk0: Invalid argument
mmc0: msmsdcc_enable: failed with error -22
<3>[ 757.383453] end_request: I/O error, dev mmcblk0, sector 4718592

<6>[ 1364.750000] mmc0: PM: sdcc_suspended=0, pending_resume=0, sdcc_suspending=0
<6>[ 1364.750091] mmc0: RPM: runtime_status=0, usage_count=1, is_suspended=0, disable_depth=0, runtime_error=-110, request_pending=0, request=0
<6>[ 1364.751068] sps:BAM 0x12402000 enabled: ver:0x5, number of pipes:6
<3>[ 1364.756591] mmcblk0: error -110 sending status command, retrying
<3>[ 1364.762145] mmcblk0: error -110 sending status command, retrying
<3>[ 1364.767608] mmcblk0: error -110 sending status command, aborting
<3>[ 1364.767700] end_request: I/O error, dev mmcblk0, sector 4718592
<3>[ 1364.767791] end_request: I/O error, dev mmcblk0, sector 4718593
<3>[ 1364.767852] end_request: I/O error, dev mmcblk0, sector 4718594
<3>[ 1364.767974] end_request: I/O error, dev mmcblk0, sector 4718595
<3>[ 1364.768035] end_request: I/O error, dev mmcblk0, sector 4718596
<3>[ 1364.768127] end_request: I/O error, dev mmcblk0, sector 4718597
<3>[ 1364.768218] end_request: I/O error, dev mmcblk0, sector 4718598
<3>[ 1364.768310] end_request: I/O error, dev mmcblk0, sector 4718599