[Nexus 7 (2013) General] k23m:
Linux' native N7 unbricking solution may be possible. I partially tested unbrick_8960:

- extract MPRG8064.hex and 8064_msimage.mbn from N7-MiFlash-min.zip and copy/overwrite files in the 'unbrick_8960-master\hexmbn\chips\apq8064' folder

- run the 'unbrick' script

lsusb
Bus 003 Device 006: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)

chmod +x ./unbrick.sh

./unbrick.sh

unbrick_8960 v1.1
Originally by Darkspr1te, forked by aureljared.
See README for credits.
Available device files:
GT-I8730 SCH-I535
Enter your device model from above, case-sensitive: GT-I8730
(device model is irrelevant at this stage)

Supported chips:
apq8064 msm8930 msm8960
Enter your chip model from above, case-sensitive: apq8064

Checking for Qualcomm devices in QDLOAD mode... found!

Do you wish to upload MPRG8064.hex & 8064_msimage.mbn now? [y/n]: y
Executing qdload.pl...

Requesting SoftwareVersion...
Version: PBL_DloadVER2.0
Requesting Params...
Params: 08 01 06 00 90 00 00
Uploading file 'hexmbn/chips/apq8064/MPRG8064.hex' to QDLOAD...
Writing 1024 bytes to 0x2a000000; 166014 bytes left.
Writing 1024 bytes to 0x2a000400; 164990 bytes left.
Writing 1024 bytes to 0x2a000800; 163966 bytes left.
Writing 1024 bytes to 0x2a000c00; 162942 bytes left.
Writing 1024 bytes to 0x2a001000; 161918 bytes left.
Writing 1024 bytes to 0x2a001400; 160894 bytes left.
Writing 1024 bytes to 0x2a001800; 159870 bytes left.
Writing 1024 bytes to 0x2a001c00; 158846 bytes left.
Writing 1024 bytes to 0x2a002000; 157822 bytes left.
Writing 1024 bytes to 0x2a002400; 156798 bytes left.
Writing 1024 bytes to 0x2a002800; 155774 bytes left.
Writing 1024 bytes to 0x2a002c00; 154750 bytes left.
Writing 1024 bytes to 0x2a003000; 153726 bytes left.
Writing 1024 bytes to 0x2a003400; 152702 bytes left.
Writing 1024 bytes to 0x2a003800; 151678 bytes left.
Writing 1024 bytes to 0x2a003c00; 150654 bytes left.
Writing 1024 bytes to 0x2a004000; 149630 bytes left.
Writing 1024 bytes to 0x2a004400; 148606 bytes left.
Writing 1024 bytes to 0x2a004800; 147582 bytes left.
Writing 1024 bytes to 0x2a004c00; 146558 bytes left.
Writing 1024 bytes to 0x2a005000; 145534 bytes left.
Writing 1024 bytes to 0x2a005400; 144510 bytes left.
Writing 1024 bytes to 0x2a005800; 143486 bytes left.
Writing 1024 bytes to 0x2a005c00; 142462 bytes left.
Writing 1024 bytes to 0x2a006000; 141438 bytes left.
Writing 1024 bytes to 0x2a006400; 140414 bytes left.
Writing 1024 bytes to 0x2a006800; 139390 bytes left.
Writing 1024 bytes to 0x2a006c00; 138366 bytes left.
Writing 1024 bytes to 0x2a007000; 137342 bytes left.
Writing 1024 bytes to 0x2a007400; 136318 bytes left.
Writing 1024 bytes to 0x2a007800; 135294 bytes left.
Writing 1024 bytes to 0x2a007c00; 134270 bytes left.
Writing 1024 bytes to 0x2a008000; 133246 bytes left.
Writing 1024 bytes to 0x2a008400; 132222 bytes left.
Writing 1024 bytes to 0x2a008800; 131198 bytes left.
Writing 1024 bytes to 0x2a008c00; 130174 bytes left.
Writing 1024 bytes to 0x2a009000; 129150 bytes left.
Writing 1024 bytes to 0x2a009400; 128126 bytes left.
Writing 1024 bytes to 0x2a009800; 127102 bytes left.
Writing 1024 bytes to 0x2a009c00; 126078 bytes left.
Writing 1024 bytes to 0x2a00a000; 125054 bytes left.
Writing 1024 bytes to 0x2a00a400; 124030 bytes left.
Writing 1024 bytes to 0x2a00a800; 123006 bytes left.
Writing 1024 bytes to 0x2a00ac00; 121982 bytes left.
Writing 1024 bytes to 0x2a00b000; 120958 bytes left.
Writing 1024 bytes to 0x2a00b400; 119934 bytes left.
Writing 1024 bytes to 0x2a00b800; 118910 bytes left.
Writing 1024 bytes to 0x2a00bc00; 117886 bytes left.
Writing 1024 bytes to 0x2a00c000; 116862 bytes left.
Writing 1024 bytes to 0x2a00c400; 115838 bytes left.
Writing 1024 bytes to 0x2a00c800; 114814 bytes left.
Writing 1024 bytes to 0x2a00cc00; 113790 bytes left.
Writing 1024 bytes to 0x2a00d000; 112766 bytes left.
Writing 1024 bytes to 0x2a00d400; 111742 bytes left.
Writing 1024 bytes to 0x2a00d800; 110718 bytes left.
Writing 1024 bytes to 0x2a00dc00; 109694 bytes left.
Writing 1024 bytes to 0x2a00e000; 108670 bytes left.
Writing 1024 bytes to 0x2a00e400; 107646 bytes left.
Writing 1024 bytes to 0x2a00e800; 106622 bytes left.
Writing 1024 bytes to 0x2a00ec00; 105598 bytes left.
Writing 1024 bytes to 0x2a00f000; 104574 bytes left.
Writing 1024 bytes to 0x2a00f400; 103550 bytes left.
Writing 1024 bytes to 0x2a00f800; 102526 bytes left.
Writing 1024 bytes to 0x2a00fc00; 101502 bytes left.
Writing 1024 bytes to 0x2a010000; 100478 bytes left.
Writing 1024 bytes to 0x2a010400; 99454 bytes left.
Writing 1024 bytes to 0x2a010800; 98430 bytes left.
Writing 1024 bytes to 0x2a010c00; 97406 bytes left.
Writing 1024 bytes to 0x2a011000; 96382 bytes left.
Writing 1024 bytes to 0x2a011400; 95358 bytes left.
Writing 1024 bytes to 0x2a011800; 94334 bytes left.
Writing 1024 bytes to 0x2a011c00; 93310 bytes left.
Writing 1024 bytes to 0x2a012000; 92286 bytes left.
Writing 1024 bytes to 0x2a012400; 91262 bytes left.
Writing 1024 bytes to 0x2a012800; 90238 bytes left.
Writing 1024 bytes to 0x2a012c00; 89214 bytes left.
Writing 1024 bytes to 0x2a013000; 88190 bytes left.
Writing 1024 bytes to 0x2a013400; 87166 bytes left.
Writing 1024 bytes to 0x2a013800; 86142 bytes left.
Writing 1024 bytes to 0x2a013c00; 85118 bytes left.
Writing 1024 bytes to 0x2a014000; 84094 bytes left.
Writing 1024 bytes to 0x2a014400; 83070 bytes left.
Writing 1024 bytes to 0x2a014800; 82046 bytes left.
Writing 1024 bytes to 0x2a014c00; 81022 bytes left.
Writing 1024 bytes to 0x2a015000; 79998 bytes left.
Writing 1024 bytes to 0x2a015400; 78974 bytes left.
Writing 1024 bytes to 0x2a015800; 77950 bytes left.
Writing 1024 bytes to 0x2a015c00; 76926 bytes left.
Writing 1024 bytes to 0x2a016000; 75902 bytes left.
Writing 1024 bytes to 0x2a016400; 74878 bytes left.
Writing 1024 bytes to 0x2a016800; 73854 bytes left.
Writing 1024 bytes to 0x2a016c00; 72830 bytes left.
Writing 1024 bytes to 0x2a017000; 71806 bytes left.
Writing 1024 bytes to 0x2a017400; 70782 bytes left.
Writing 1024 bytes to 0x2a017800; 69758 bytes left.
Writing 1024 bytes to 0x2a017c00; 68734 bytes left.
Writing 1024 bytes to 0x2a018000; 67710 bytes left.
Writing 1024 bytes to 0x2a018400; 66686 bytes left.
Writing 1024 bytes to 0x2a018800; 65662 bytes left.
Writing 1024 bytes to 0x2a018c00; 64638 bytes left.
Writing 1024 bytes to 0x2a019000; 63614 bytes left.
Writing 1024 bytes to 0x2a019400; 62590 bytes left.
Writing 1024 bytes to 0x2a019800; 61566 bytes left.
Writing 1024 bytes to 0x2a019c00; 60542 bytes left.
Writing 1024 bytes to 0x2a01a000; 59518 bytes left.
Writing 1024 bytes to 0x2a01a400; 58494 bytes left.
Writing 1024 bytes to 0x2a01a800; 57470 bytes left.
Writing 1024 bytes to 0x2a01ac00; 56446 bytes left.
Writing 1024 bytes to 0x2a01b000; 55422 bytes left.
Writing 1024 bytes to 0x2a01b400; 54398 bytes left.
Writing 1024 bytes to 0x2a01b800; 53374 bytes left.
Writing 1024 bytes to 0x2a01bc00; 52350 bytes left.
Writing 1024 bytes to 0x2a01c000; 51326 bytes left.
Writing 1024 bytes to 0x2a01c400; 50302 bytes left.
Writing 1024 bytes to 0x2a01c800; 49278 bytes left.
Writing 1024 bytes to 0x2a01cc00; 48254 bytes left.
Writing 1024 bytes to 0x2a01d000; 47230 bytes left.
Writing 1024 bytes to 0x2a01d400; 46206 bytes left.
Writing 1024 bytes to 0x2a01d800; 45182 bytes left.
Writing 1024 bytes to 0x2a01dc00; 44158 bytes left.
Writing 1024 bytes to 0x2a01e000; 43134 bytes left.
Writing 1024 bytes to 0x2a01e400; 42110 bytes left.
Writing 1024 bytes to 0x2a01e800; 41086 bytes left.
Writing 1024 bytes to 0x2a01ec00; 40062 bytes left.
Writing 1024 bytes to 0x2a01f000; 39038 bytes left.
Writing 1024 bytes to 0x2a01f400; 38014 bytes left.
Writing 1024 bytes to 0x2a01f800; 36990 bytes left.
Writing 1024 bytes to 0x2a01fc00; 35966 bytes left.
Writing 1024 bytes to 0x2a020000; 34942 bytes left.
Writing 1024 bytes to 0x2a020400; 33918 bytes left.
Writing 1024 bytes to 0x2a020800; 32894 bytes left.
Writing 1024 bytes to 0x2a020c00; 31870 bytes left.
Writing 1024 bytes to 0x2a021000; 30846 bytes left.
Writing 1024 bytes to 0x2a021400; 29822 bytes left.
Writing 1024 bytes to 0x2a021800; 28798 bytes left.
Writing 1024 bytes to 0x2a021c00; 27774 bytes left.
Writing 1024 bytes to 0x2a022000; 26750 bytes left.
Writing 1024 bytes to 0x2a022400; 25726 bytes left.
Writing 1024 bytes to 0x2a022800; 24702 bytes left.
Writing 1024 bytes to 0x2a022c00; 23678 bytes left.
Writing 1024 bytes to 0x2a023000; 22654 bytes left.
Writing 1024 bytes to 0x2a023400; 21630 bytes left.
Writing 1024 bytes to 0x2a023800; 20606 bytes left.
Writing 1024 bytes to 0x2a023c00; 19582 bytes left.
Writing 1024 bytes to 0x2a024000; 18558 bytes left.
Writing 1024 bytes to 0x2a024400; 17534 bytes left.
Writing 1024 bytes to 0x2a024800; 16510 bytes left.
Writing 1024 bytes to 0x2a024c00; 15486 bytes left.
Writing 1024 bytes to 0x2a025000; 14462 bytes left.
Writing 1024 bytes to 0x2a025400; 13438 bytes left.
Writing 1024 bytes to 0x2a025800; 12414 bytes left.
Writing 1024 bytes to 0x2a025c00; 11390 bytes left.
Writing 1024 bytes to 0x2a026000; 10366 bytes left.
Writing 1024 bytes to 0x2a026400; 9342 bytes left.
Writing 1024 bytes to 0x2a026800; 8318 bytes left.
Writing 1024 bytes to 0x2a026c00; 7294 bytes left.
Writing 1024 bytes to 0x2a027000; 6270 bytes left.
Writing 1024 bytes to 0x2a027400; 5246 bytes left.
Writing 1024 bytes to 0x2a027800; 4222 bytes left.
Writing 1024 bytes to 0x2a027c00; 3198 bytes left.
Writing 1024 bytes to 0x2a028000; 2174 bytes left.
Writing 1024 bytes to 0x2a028400; 1150 bytes left.
Writing 1024 bytes to 0x2a028800; 126 bytes left.
Writing 126 bytes to 0x2a028c00; 0 bytes left.
Executing file...
Failed to get response.
Sending MAGIC...
Invalid MAGIC response.

If HEX/MBN uploaded correctly, please wait a while and re-run unbrick.sh
to continue the unbricking session. A screen showing device options may appear;
close this new screen.

If there was any error, do NOT disconnect device (or else you might not
get it to connect anymore)! Try running script again.

"Invalid MAGIC response" - MBN was not flashed, the script needs an update.