[One (M7) Q&A, Help & Troubleshooting] kaijura:
Been working on this for a few days but I am running out of ideas. I originally consulted [MENTION=2605798]nkk71[/MENTION] privately about this but we've been unable to find anything to resolve the issue. Hopefully, someone has experienced this before or has a fix, if this is not a hardware issue.

I have a m7att that appears to be unable to flash newer recoveries. It only seems to accept certain old versions and I haven't been able to exactly pinpoint why, this is my last resort before trying to go through the trouble in reviewing github commits for the recovery updates. Before you say "fastboot erase cache"; yes, I've done that hundreds of times (literally).

I can run adb commands in certain recoveries even when they are frozen on "Entering recovery..." screen. See the table I posted below under the adb? column for more info on which.

symptoms

- Can't flash certain recoveries (see list, especially newer ones)

- fastboot commands sometimes/very seldom lag or don't carry through (or I'm just impatient to wait and I just rebooted the bootloader)

- fastboot sometimes shows hbootpreupdate: 11 randomly while parsing commands (e.g. on fastboot getvar all)

status of the m7

- S-off, rooted

- fastboot getvar all info

fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.60.0000
(bootloader) version-baseband: 4T.33.3218.15
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 7.15.401.1
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4235mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-91bb20e1
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.132s

- emmc chip info:

root@m7:/sys/class/block/mmcblk0/device # cat name hwrev fwrev manfid oemid date type serial cid

name MBG4GA
hwrev 0x0
fwrev 0x4
manfid 0x000015
oemid 0x0100
date 02/1998
type MMC
serial 0x6f160877
cid 1501004d4247344741046f1608772138

Partition info and other misc, just in case maybe something is off about this one

1|root@m7:/ # fdisk -l /dev/block/mmcblk0
fdisk -l /dev/block/mmcblk0
Warning: omitting partitions after #60.
They will be deleted if you save this partition table.

Disk /dev/block/mmcblk0: 31.3 GB, 31268536320 bytes, 61071360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 1 256 128 4d QNX4.x
/dev/block/mmcblk0p2 257 768 256 51 OnTrack DM6 A
ux1
/dev/block/mmcblk0p3 769 262110 130671 5d Unknown
/dev/block/mmcblk0p4 262111 61071358 30404624 5 Extended
/dev/block/mmcblk0p5 262112 262143 16 5a Unknown
/dev/block/mmcblk0p6 262145 262656 256 73 Unknown
/dev/block/mmcblk0p7 262658 293812 15577+ 5b Unknown
/dev/block/mmcblk0p8 293814 294325 256 5c Priam Edisk
/dev/block/mmcblk0p9 294327 296374 1024 45 Unknown
/dev/block/mmcblk0p10 296376 296887 256 47 Unknown
/dev/block/mmcblk0p11 296889 300984 2048 46 Unknown
/dev/block/mmcblk0p12 300986 305146 2080+ 4c Unknown
/dev/block/mmcblk0p13 305148 315387 5120 34 Unknown
/dev/block/mmcblk0p14 315389 317436 1024 36 Unknown
/dev/block/mmcblk0p15 317438 319485 1024 0 Empty
/dev/block/mmcblk0p16 319487 442368 61441 50 OnTrack DM
/dev/block/mmcblk0p17 442370 458750 8190+ 74 Unknown
/dev/block/mmcblk0p18 458752 524287 32768 0 Empty
/dev/block/mmcblk0p19 524289 526333 1022+ 76 Unknown
/dev/block/mmcblk0p20 526335 534526 4096 4a Unknown
/dev/block/mmcblk0p21 534528 542719 4096 4b Unknown
/dev/block/mmcblk0p22 542721 583680 20480 19 Unknown
/dev/block/mmcblk0p23 583682 583689 4 0 Empty
/dev/block/mmcblk0p24 583691 584202 256 23 Unknown
/dev/block/mmcblk0p25 584204 584235 16 0 Empty
/dev/block/mmcblk0p26 584237 586797 1280+ 0 Empty
/dev/block/mmcblk0p27 586799 586926 64 0 Empty
/dev/block/mmcblk0p28 586928 588975 1024 0 Empty
/dev/block/mmcblk0p29 588977 786431 98727+ 0 Empty
/dev/block/mmcblk0p30 786433 894973 54270+ 0 Empty
/dev/block/mmcblk0p31 894975 1048575 76800+ 77 Unknown
/dev/block/mmcblk0p32 1048577 1245182 98303 0 Empty
/dev/block/mmcblk0p33 1245184 1277951 16384 48 Unknown
/dev/block/mmcblk0p34 1277953 1310719 16383+ 71 Unknown
/dev/block/mmcblk0p35 1310721 5111806 1900543 83 Linux
/dev/block/mmcblk0p36 5111808 6422526 655359+ 83 Linux
/dev/block/mmcblk0p37 6422528 60948479 27262976 83 Linux
/dev/block/mmcblk0p38 60948481 60999680 25600 83 Linux
/dev/block/mmcblk0p39 262112 262143 16 5a Unknown
/dev/block/mmcblk0p40 262145 262656 256 73 Unknown
/dev/block/mmcblk0p41 262658 293812 15577+ 5b Unknown
/dev/block/mmcblk0p42 293814 294325 256 5c Priam Edisk
/dev/block/mmcblk0p43 294327 296374 1024 45 Unknown
/dev/block/mmcblk0p44 296376 296887 256 47 Unknown
/dev/block/mmcblk0p45 296889 300984 2048 46 Unknown
/dev/block/mmcblk0p46 300986 305146 2080+ 4c Unknown
/dev/block/mmcblk0p47 305148 315387 5120 34 Unknown
/dev/block/mmcblk0p48 315389 317436 1024 36 Unknown
/dev/block/mmcblk0p49 317438 319485 1024 0 Empty
/dev/block/mmcblk0p50 319487 442368 61441 50 OnTrack DM
/dev/block/mmcblk0p51 442370 458750 8190+ 74 Unknown
/dev/block/mmcblk0p52 458752 524287 32768 0 Empty
/dev/block/mmcblk0p53 524289 526333 1022+ 76 Unknown
/dev/block/mmcblk0p54 526335 534526 4096 4a Unknown
/dev/block/mmcblk0p55 534528 542719 4096 4b Unknown
/dev/block/mmcblk0p56 542721 583680 20480 19 Unknown
/dev/block/mmcblk0p57 583682 583689 4 0 Empty
/dev/block/mmcblk0p58 583691 584202 256 23 Unknown
/dev/block/mmcblk0p59 584204 584235 16 0 Empty
/dev/block/mmcblk0p60 584237 586797 1280+ 0 Empty

Partition table entries are not in disk order

root@m7:/ # cat /proc/partitions
cat /proc/partitions
major minor #blocks name

179 0 30535680 mmcblk0
179 1 128 mmcblk0p1
179 2 256 mmcblk0p2
179 3 130671 mmcblk0p3
179 4 1 mmcblk0p4
179 5 16 mmcblk0p5
179 6 256 mmcblk0p6
179 7 15577 mmcblk0p7
179 8 256 mmcblk0p8
179 9 1024 mmcblk0p9
179 10 256 mmcblk0p10
179 11 2048 mmcblk0p11
179 12 2080 mmcblk0p12
179 13 5120 mmcblk0p13
179 14 1024 mmcblk0p14
179 15 1024 mmcblk0p15
179 16 61441 mmcblk0p16
179 17 8190 mmcblk0p17
179 18 32768 mmcblk0p18
179 19 1022 mmcblk0p19
179 20 4096 mmcblk0p20
179 21 4096 mmcblk0p21
179 22 20480 mmcblk0p22
179 23 4 mmcblk0p23
179 24 256 mmcblk0p24
179 25 16 mmcblk0p25
179 26 1280 mmcblk0p26
179 27 64 mmcblk0p27
179 28 1024 mmcblk0p28
179 29 98727 mmcblk0p29
179 30 54270 mmcblk0p30
179 31 76800 mmcblk0p31
179 32 98303 mmcblk0p32
179 33 16384 mmcblk0p33
179 34 16383 mmcblk0p34
179 35 1900543 mmcblk0p35
179 36 655359 mmcblk0p36
179 37 27262976 mmcblk0p37
179 38 25600 mmcblk0p38

root@m7:/ # cat /proc/emmc
cat /proc/emmc
dev: size erasesize name
mmcblk0p19: 000ffa00 00000200 "misc"
mmcblk0p34: 00fffe00 00000200 "recovery"
mmcblk0p33: 01000000 00000200 "boot"
mmcblk0p35: 73fffc00 00000200 "system"
mmcblk0p26: 00140200 00000200 "local"
mmcblk0p36: 27fffe00 00000200 "cache"
mmcblk0p37: 680000000 00000200 "userdata"
mmcblk0p22: 01400000 00000200 "devlog"
mmcblk0p24: 00040000 00000200 "pdata"
mmcblk0p27: 00010000 00000200 "extra"
mmcblk0p31: 04b00200 00000200 "radio"
mmcblk0p16: 03c00400 00000200 "adsp"
mmcblk0p15: 00100000 00000200 "dsps"
mmcblk0p17: 007ffa00 00000200 "radio_config"
mmcblk0p20: 00400000 00000200 "modem_st1"
mmcblk0p21: 00400000 00000200 "modem_st2"
mmcblk0p28: 00100000 00000200 "cdma_record"
mmcblk0p18: 02000000 00000200 "reserve_1"
mmcblk0p30: 034ffa00 00000200 "reserve_2"
mmcblk0p32: 05fffc00 00000200 "reserve_3"
mmcblk0p29: 06069e00 00000200 "reserve"
mmcblk0p25: 00004000 00000200 "control"

Here's a list of the result of all the recoveries I've tried so far on the L firmware (7.15.401.1)

What I've tried:

- Pastebin of typical process, this one was with 7.15 firmware. http://pastebin.com/wwM2GYdR

- Various FW, 1.29.401.12 up to 6.09.401.5 official firmware (current ROM)

- RUU'ed with 1.26.502.12, (was originally on 1.26.502.10 at bone stock)

- Flashed a stock firmware/recovery (1.26.502.10 , 6.09.401.5, 7.15.401.1) and then tried custom recovery right after

- [MENTION=2605798]nkk71[/MENTION] & [MENTION=4513061]cschmitt[/MENTION] misc partition corruption guide.

Attached in this post is the original mmcblk0p19 (rename the file) from this mainboard.

(tags: [MENTION=5116541]Danny201281[/MENTION] [MENTION=2895182]clsA[/MENTION] maybe you guys might have seen something similar to this before)