[Nexus 5 Q&A, Help & Troubleshooting] flickers:
Hi all,

I think my wife's Nexus 5 is bricked... hoping it's not a hardware issue but I'm starting to think it is.

It started with the phone turning off when ever it felt like it... then one day it wouldn't boot completely and just be stuck on the flying google colors.

I called Google Support and they told me to wipe cache and wipe to factory defaults... It kinda didn't work and the support agent told me to reboot over and over again...

Now I'm trying to use fastboot to flash stock android and nothing seems to work... I'm getting write failures all over the place.

I then installed TWRP and booted to recovery and from there I can see that the NAND seems to be oddly small and with an invalid partition table...

dmesg | grep mmc

dmesg | grep mmc
<5>[ 0.000000] Kernel command line: console=ttyHSL0,115200,n8 androidboot.har
dware=hammerhead user_debug=31 maxcpus=2 msm_watchdog_v2.enable=1 uart_console=e
nable gpt=enable lge.kcal=0|0|0|x lge.rev=rev_11 androidboot.laf androidboot.emm
c=true fastboot=true androidboot.serialno=0315c2990934d564 androidboot.bootloade
r=HHZ12h androidboot.baseband=msm bootreason=power_on androidboot.hardware.sku=D
820 androidboot.hardware.ddr=hynix androidboot.hardware.display=orise
<6>[ 1.515883] mmc0: SDCC Version: 0x00000038
<6>[ 1.518998] mmc0: bam physical base=0xf9884000
<6>[ 1.519201] mmc0: bam virtual base=0xf0378000
<6>[ 1.519766] mmc0: BAM device registered. bam_handle=0xed541c00
<6>[ 1.522174] mmc0: Qualcomm MSM SDCC-BAM at [mem 0xf9884000-0xf988afff flag
s 0x200] [irq 252 flags 0x400]
<6>[ 1.522602] mmc0: Qualcomm MSM SDCC-DML [mem 0xf98a4800-0xf98a48ff flags 0
x200]
<6>[ 1.523032] mmc0: id 2, nonremovable 0
<6>[ 1.527101] mmc0: Qualcomm MSM SDCC-core [mem 0xf98a4000-0xf98a47ff flags
0x200] [irq 157 flags 0x400],0 dma -1 dmacrcri -1
<6>[ 1.527176] mmc0: Controller capabilities: 0x00003ffe
<6>[ 1.527269] mmc0: 8 bit data mode disabled
<6>[ 1.527341] mmc0: 4 bit data mode enabled
<6>[ 1.527380] mmc0: polling status mode disabled
<6>[ 1.527419] mmc0: MMC clock 400000 -> 200000000 Hz, PCLK 0 Hz
<6>[ 1.527490] mmc0: Slot eject status = 1
<6>[ 1.527529] mmc0: Power save feature enable = 1
<6>[ 1.527601] mmc0: SPS-BAM data transfer mode available
<6>[ 1.532221] mmc1: no vmmc regulator found
<7>[ 1.533705] Registered led device: mmc1::
<6>[ 1.535212] mmc1: SDHCI controller on msm_sdcc.1 [msm_sdcc.1] using ADMA
<6>[ 1.655859] mmc1: new MMC card at address 0001
<6>[ 1.657207] mmcblk0: mmc1:0001 SDM032 30.6 MiB
<6>[ 1.661766] mmcblk0: unknown partition table
/sbin # ←[6n

fdisk (take not that disk seems to be only 32MB instead of 32GB)

/sbin # ←[6nfdisk -ul /dev/block/mmcblk0
fdisk -ul /dev/block/mmcblk0

Disk /dev/block/mmcblk0: 32 MB, 32096256 bytes
4 heads, 16 sectors/track, 979 cylinders, total 62688 sectors
Units = sectors of 1 * 512 = 512 bytes

Disk /dev/block/mmcblk0 doesn't contain a valid partition table

mount

/sbin # ←[6nmount
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)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime)

cat /proc/partitions

cat /proc/partitions
major minor #blocks name

179 0 31344 mmcblk0

Does anyone know what is going on?