Search This Blog

Saturday, October 17, 2015

Nexus 5 woes - Boot loop / power button sticking

Background:
I've been using the original Nexus 5 since it was first released by Google. It has been a great device and I've enjoyed a couple years' worth of use out of it. However, towards the end of August, it started a random boot loop, as if someone were holding down the power button. After a bit of Internetting, I found some people advising (on reddit) to tap it on the corner of the phone on a hard surface, near the power button. This seemed odd, but after many responses of "I can't believe this worked for me" and the like, I gave it a shot. It didn't work. I contacted Google in the hopes that they could shed some light. No luck there, but they did forward me over to LG and they were very happy to take my money for repair of the phone. So money I gave them, but a repaired phone in exchange I did not get. Here is some history, some of my troubleshooting efforts, and the logs that goes with them.

History:
August 25th: Contacted Google who then forwarded me to LG for repair
Sep 1st: LG sent a product received notification. A couple days later they asked if I wanted to repair the power button or completely refurbish the phone. I chose a complete refurbish for $179 since the battery was pushing 2 years, and my screen had a couple scratches.
Sep 14th: LG sent a product shipped notification. Their "Repair Results" in the e-mail stated "Re-Solder (Must input Part Location No.)". Not sure what that even means since when I got the phone back it seemed completely new.
Sep 25th: Received the phone, booted up, restored from Google backup, everything was running well. Received notification that a system update was available (~10 MB Android 5.1.1 update, likely LMY48M from LMY48I). Installed it, boot loop began.
Sep 29th: Contacted Google again, no help, contacted LG directly
Oct 2nd: LG received the phone again
Oct 6th: LG sent it back to me. Their "Repair Results" in the e-mail stated "S/W upgrade (download)". Seems they did a factory reset of some sort, no hardware work this time.
Oct 16th: received in the mail from FedEx
Oct 17th:
  • Booted up phone (no sim card)
  • Entered all Google account info, restored from backup
  • Phone ran fine, updated all apps from the app store once completely started up
  • Notification of new system update available, same as last time, chose to install (~10.1 MB), again probably the LMY48I to LMY48M update.
  • After install, the phone restarted, got to "optimizing apps" and powered off
  • Phone will not boot into OS. It will only go into fastboot or to the Google logo, then power off
  • Started troubleshooting sequence below

Found forum discussions with the same issue:

Troubleshooting:
1) Plugged in USB cable, battery charging icon appeared on screen
2) Went into fastboot mode with key combo of VolDwn+Pwr
3) Installed marshmallow via the instructions at (https://developers.google.com/android/nexus/images?hl=en#instructions)
  • Unlocked device, acknowledged warning
  • Ran ./flash-all.sh (see update log at the bottom of this doc)
    • This package is MRA58K
  • On reboot, showed Android with spinning blue wireframe ball
  • Restarted again; Google logo w/unlock icon at the bottom of screen
  • Phone turned off, will not turn on with power button alone. Will go into fastboot via Vol Dwn+Pwr
    • New bootloader version: HHZ12k
    • New baseband version: M8974A-2.0.50.2.27
    • Lock state: unlocked
    • (all else the same)
  • Attempt the "Start" option from fastboot
    • Does not get past the Google screen, instead, turns off
    • Unplugged USB cable and re-plugged to see if the phone indeed turned off (as confirmed by a battery charging icon) or if the screen just went dark. Nothing happened when the cable was plugged back in. Waiting 5 min to see if the phone does something
    • No response from phone, unplugged USB and turned on w/power button, go to Google screen and turned off
  • Plugged in USB, went into fastboot via key combo. Ran ./flash-all.sh again (see update log 2 at bottom)
    • During the automatic restart, Google screen showed, then turned off
    • Manually powered on again, same thing happened
  • Went into fastboot, attempted to flash LMY48B (last known stable version of 5.1.1, update log 3 at bottom)
    • New fastboot screen info: Bootloader Version...: HHZ12h; Baseband Version.....: M8974A-2.0.50.2.26
    • Phone rebooted after flashing, then turned off. Showed battery charge icon
    • Manually turned on, got to Google screen, turned off
  • Back into fastboot, attempted flashing 5.0.1 (LRX22C, update log 4 at bottom)
    • New fastboot screen info: Bootloader Version...: HHZ12d; Baseband Version.....: M8974A-2.0.50.2.22
    • Rebooted, got to Google logo, powered off, showed battery charge icon
  • Went into fastboot, locked device via fastboot oem lock.
    • Chose the Start option from fastboot, got to Google logo, turned off. This time it automatically turned back on, and then gets to the Google logo in a boot loop cycle (happened ~7 times)
    • Manually powered on, got to Google logo, stayed there for ~15 minutes. Powered off with all 3 buttons. Powered on, got to Google logo, turned off.
    • Rebooted into fastboot, attempted to go into Recovery Mode. Got to Google logo and powered off. Manually powered on, stuck in boot loop.
  • Ran fastboot oem unlock again
    • Once complete with erase and unlock, attempted to boot device. Got to Google logo, turned off
  • Back into fastboot, attempted flashing 4.4 (KRT16M, update log 5 at bottom)
    • New fastboot screen info: Bootloader Version...: HHZ11d; Baseband Version.....: M8974A-1.0.25.0.17
    • Completed install, Google logo, reboot, Google logo, power off
  • Went into Recovery Mode, showed Google Logo, then showed Android guy with spinning blue wireframe ball
    • Sat there for about 2 minutes, then powered off
    • Automatically rebooted into Android guy again. Powered off after about 45 seconds
    • Powered on, got to Google logo, went into Android guy again
      • The blue bar at the bottom of the screen doesn't appear to be showing progress of any sort, it just has black vertical lines moving across it to the left
    • After about 45 seconds, the screen froze (no more animation) then 10 seconds later it powered off
  • Attempted to go back into recovery mode again, but it went into a boot loop at the Google logo
    • Again, android guy, reboot, android guy, power off
  • Flashed 6.0.0 again
    • Logo, reboot, logo, reboot, logo, power off
    • Recovery: android guy (no blue bar this time) - vol up+pwr tap doesn't go into factory reset screen. stayed on android guy for 1 minute, rebooted, logo, rebooted, logo,
  • Within fastboot, flashed TWRP bootloader via fastboot flash recovery recovery.img
    • (openrecovery-twrp-2.8.5.2-hammerhead.img)
    • Wiped everything
    • Attempted permissions repair
    • Ran fastboot -w then fastboot continue. It restarted into TWRP, formatted cache, and then powered off.
  • FINALLY!! I booted into fastboot, and this time just chose "Start" instead of recovery, and it got past the Google logo and into the new marshmallow animation screen.... progress.
    • The animation started at 14:15. At 19:35 I manually restarted the phone.
    • Back at square one (won't get past Google logo)
  • Tried fastboot -w again, no luck
  • Reflashed 6.0 again, booted into recovery, performed "Wipe data/factory reset". Boot loop. Notice a trend??
  • Hail Mary: Installed TWRP recovery, performed a factory reset (wipe /data and /cache).
    • Performed adb push cyanogenmod.zip. Got half-way through the install, phone rebooted.
  • One more attempt: flashed the stock recovery, restarted bootloader, flashed TWRP recovery, restarted bootloader, entered recovery, wipe > advanced wipe > check everything > wipe.
    • Once complete, checked /system, and "repair system". Phone rebooted.
    • Reflashed stock recovery, reflashed TWRP
    • Won't let me into TWRP again.
    • Performed fastboot -w, got this:
      • erasing 'userdata'...
        FAILED (status read failed (Protocol error))
        finished. total time: 5.266s
      • Then phone turned off
  • I'm done. Sending this log to Google and LG, more to follow.

UPDATE (Oct 18, 2015):
I called Google to see if there was anything they could do since obviously LG doesn't properly repair their products during refurbishment. After being on the phone for close to an hour, I got the same "your device is out of warranty, let me forward you to LG" answer, which, by the way, were not open. Looks like I will be calling tomorrow to try and speak to someone who can promise me a different phone or at least a full repair with this one.

UPDATE (Nov 4, 2015):
I received the phone back from LG repair very disappointed. The sheet they included with the box said that the primary complaint was that it wasn't charging. The fix: replace the charging receptacle. Did they not listen to a word I said?? Apparently not. The good news is that the phone booted to the welcome screen, and that's where I'm leaving it. My Nexus 6P is on the way (good bye LG!), and this phone is going on the shelf.



Update Log:
benmctee@xubuntu-server:~/Documents/Misc/Android/N5/hammerhead-6.0$ ls
bootloader-hammerhead-hhz12k.img  flash-all.bat  flash-all.sh  flash-base.sh  image-hammerhead-mra58k.zip  radio-hammerhead-m8974a-2.0.50.2.27.img
benmctee@xubuntu-server:~/Documents/Misc/Android/N5/hammerhead-6.0$ fastboot oem unlock
...
OKAY [ 31.648s]
finished. total time: 31.649s
benmctee@xubuntu-server:~/Documents/Misc/Android/N5/hammerhead-6.0$ ./flash-all.sh
target reported max download size of 1073741824 bytes
sending 'bootloader' (3120 KB)...
OKAY [  0.358s]
writing 'bootloader'...
OKAY [  0.517s]
finished. total time: 0.876s
rebooting into bootloader...
OKAY [  0.131s]
finished. total time: 0.131s
target reported max download size of 1073741824 bytes
sending 'radio' (45425 KB)...
OKAY [  2.321s]
writing 'radio'...
OKAY [  3.120s]
finished. total time: 5.441s
rebooting into bootloader...
OKAY [  0.129s]
finished. total time: 0.129s
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: HHZ12k
Baseband Version.....: M8974A-2.0.50.2.27
Serial Number........: 02cdeb4dd00afdac
--------------------------------------------
checking product...
OKAY [  0.100s]
checking version-bootloader...
OKAY [  0.100s]
checking version-baseband...
OKAY [  0.100s]
sending 'boot' (9156 KB)...
OKAY [  0.650s]
writing 'boot'...
OKAY [  0.782s]
sending 'recovery' (10016 KB)...
OKAY [  0.729s]
writing 'recovery'...
OKAY [  0.825s]
erasing 'system'...
OKAY [  1.366s]
sending 'system' (1019261 KB)...
OKAY [ 48.476s]
writing 'system'...
OKAY [ 68.888s]
erasing 'userdata'...
OKAY [ 12.307s]
formatting 'userdata' partition...
Creating filesystem with parameters:
    Size: 29236371456
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8192
    Inode size: 256
    Journal blocks: 32768
    Label:
    Blocks: 7137786
    Block groups: 218
    Reserved block group size: 1024
Created filesystem with 11/1785856 inodes and 156120/7137786 blocks
sending 'userdata' (139109 KB)...
writing 'userdata'...
OKAY [ 16.460s]
erasing 'cache'...
OKAY [  0.554s]
formatting 'cache' partition...
Creating filesystem with parameters:
    Size: 734003200
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7472
    Inode size: 256
    Journal blocks: 2800
    Label:
    Blocks: 179200
    Block groups: 6
    Reserved block group size: 47
Created filesystem with 11/44832 inodes and 5813/179200 blocks
sending 'cache' (13348 KB)...
writing 'cache'...
OKAY [  2.128s]
rebooting...

finished. total time: 153.994s


Update Log 2:
benmctee@xubuntu-server:~/Documents/Misc/Android/N5/hammerhead-6.0$ ./flash-all.sh
target reported max download size of 1073741824 bytes
sending 'bootloader' (3120 KB)...
OKAY [  0.368s]
writing 'bootloader'...
OKAY [  0.546s]
finished. total time: 0.914s
rebooting into bootloader...
OKAY [  0.131s]
finished. total time: 0.131s
target reported max download size of 1073741824 bytes
sending 'radio' (45425 KB)...
OKAY [  2.372s]
writing 'radio'...
OKAY [  3.115s]
finished. total time: 5.488s
rebooting into bootloader...
OKAY [  0.133s]
finished. total time: 0.133s
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: HHZ12k
Baseband Version.....: M8974A-2.0.50.2.27
Serial Number........: 02cdeb4dd00afdac
--------------------------------------------
checking product...
OKAY [  0.100s]
checking version-bootloader...
OKAY [  0.100s]
checking version-baseband...
OKAY [  0.100s]
sending 'boot' (9156 KB)...
OKAY [  0.640s]
writing 'boot'...
OKAY [  0.774s]
sending 'recovery' (10016 KB)...
OKAY [  0.736s]
writing 'recovery'...
OKAY [  0.830s]
erasing 'system'...
OKAY [  1.050s]
sending 'system' (1019261 KB)...
OKAY [ 48.406s]
writing 'system'...
OKAY [ 68.847s]
erasing 'userdata'...
OKAY [ 11.317s]
formatting 'userdata' partition...
Creating filesystem with parameters:
    Size: 29236371456
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8192
    Inode size: 256
    Journal blocks: 32768
    Label:
    Blocks: 7137786
    Block groups: 218
    Reserved block group size: 1024
Created filesystem with 11/1785856 inodes and 156120/7137786 blocks
sending 'userdata' (139109 KB)...
writing 'userdata'...
OKAY [ 16.526s]
erasing 'cache'...
OKAY [  0.508s]
formatting 'cache' partition...
Creating filesystem with parameters:
    Size: 734003200
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7472
    Inode size: 256
    Journal blocks: 2800
    Label:
    Blocks: 179200
    Block groups: 6
    Reserved block group size: 47
Created filesystem with 11/44832 inodes and 5813/179200 blocks
sending 'cache' (13348 KB)...
writing 'cache'...
OKAY [  2.125s]
rebooting...

finished. total time: 152.585s



Update Log 3:
benmctee@xubuntu-server:~/Documents/Misc/Android/N5/hammerhead-5.1.1 (LMY48B)$ ./flash-all.sh
target reported max download size of 1073741824 bytes
sending 'bootloader' (3119 KB)...
OKAY [  0.328s]
writing 'bootloader'...
OKAY [  0.519s]
finished. total time: 0.847s
rebooting into bootloader...
OKAY [  0.128s]
finished. total time: 0.128s
target reported max download size of 1073741824 bytes
sending 'radio' (45425 KB)...
OKAY [  2.276s]
writing 'radio'...
OKAY [  3.122s]
finished. total time: 5.398s
rebooting into bootloader...
OKAY [  0.136s]
finished. total time: 0.136s
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: HHZ12h
Baseband Version.....: M8974A-2.0.50.2.26
Serial Number........: 02cdeb4dd00afdac
--------------------------------------------
checking product...
OKAY [  0.100s]
checking version-bootloader...
OKAY [  0.100s]
checking version-baseband...
OKAY [  0.100s]
sending 'boot' (8980 KB)...
OKAY [  0.640s]
writing 'boot'...
OKAY [  0.764s]
sending 'recovery' (9696 KB)...
OKAY [  0.716s]
writing 'recovery'...
OKAY [  0.809s]
erasing 'system'...
OKAY [  1.331s]
sending 'system' (1021744 KB)...
OKAY [ 48.736s]
writing 'system'...
OKAY [ 68.953s]
erasing 'userdata'...
OKAY [ 11.491s]
formatting 'userdata' partition...
Creating filesystem with parameters:
    Size: 29236371456
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8192
    Inode size: 256
    Journal blocks: 32768
    Label:
    Blocks: 7137786
    Block groups: 218
    Reserved block group size: 1024
Created filesystem with 11/1785856 inodes and 156120/7137786 blocks
sending 'userdata' (139109 KB)...
writing 'userdata'...
OKAY [ 16.441s]
erasing 'cache'...
OKAY [  0.503s]
formatting 'cache' partition...
Creating filesystem with parameters:
    Size: 734003200
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7472
    Inode size: 256
    Journal blocks: 2800
    Label:
    Blocks: 179200
    Block groups: 6
    Reserved block group size: 47
Created filesystem with 11/44832 inodes and 5813/179200 blocks
sending 'cache' (13348 KB)...
writing 'cache'...
OKAY [  2.124s]
rebooting...

finished. total time: 153.338s


Update Log 4:
benmctee@xubuntu-server:~/Documents/Misc/Android/N5/hammerhead-5.0.1 (LRX22C)$ ./flash-all.sh
target reported max download size of 1073741824 bytes
sending 'bootloader' (2579 KB)...
OKAY [  0.338s]
writing 'bootloader'...
OKAY [  0.484s]
finished. total time: 0.822s
rebooting into bootloader...
OKAY [  0.133s]
finished. total time: 0.133s
target reported max download size of 1073741824 bytes
sending 'radio' (45521 KB)...
OKAY [  2.364s]
writing 'radio'...
OKAY [  3.131s]
finished. total time: 5.495s
rebooting into bootloader...
OKAY [  0.137s]
finished. total time: 0.137s
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: HHZ12d
Baseband Version.....: M8974A-2.0.50.2.22
Serial Number........: 02cdeb4dd00afdac
--------------------------------------------
checking product...
OKAY [  0.100s]
checking version-bootloader...
OKAY [  0.100s]
checking version-baseband...
OKAY [  0.100s]
sending 'boot' (8852 KB)...
OKAY [  0.660s]
writing 'boot'...
OKAY [  0.762s]
sending 'recovery' (9552 KB)...
OKAY [  0.718s]
writing 'recovery'...
OKAY [  0.802s]
erasing 'system'...
OKAY [  1.318s]
sending 'system' (981472 KB)...
OKAY [ 46.696s]
writing 'system'...
OKAY [ 66.356s]
erasing 'userdata'...
OKAY [ 11.487s]
formatting 'userdata' partition...
Creating filesystem with parameters:
    Size: 29236371456
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8192
    Inode size: 256
    Journal blocks: 32768
    Label:
    Blocks: 7137786
    Block groups: 218
    Reserved block group size: 1024
Created filesystem with 11/1785856 inodes and 156120/7137786 blocks
sending 'userdata' (139109 KB)...
writing 'userdata'...
OKAY [ 16.510s]
erasing 'cache'...
OKAY [  0.494s]
formatting 'cache' partition...
Creating filesystem with parameters:
    Size: 734003200
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7472
    Inode size: 256
    Journal blocks: 2800
    Label:
    Blocks: 179200
    Block groups: 6
    Reserved block group size: 47
Created filesystem with 11/44832 inodes and 5813/179200 blocks
sending 'cache' (13348 KB)...
writing 'cache'...
OKAY [  2.121s]
rebooting...

finished. total time: 148.756s


Update Log 5:
benmctee@xubuntu-server:~/Documents/Misc/Android/N5/hammerhead-4.4 (KRT16M)$ ./flash-all.sh
target reported max download size of 1073741824 bytes
sending 'bootloader' (2506 KB)...
OKAY [  0.339s]
writing 'bootloader'...
OKAY [  0.467s]
finished. total time: 0.806s
rebooting into bootloader...
OKAY [  0.130s]
finished. total time: 0.130s
sending 'radio' (42033 KB)...
OKAY [  2.189s]
writing 'radio'...
OKAY [  2.896s]
finished. total time: 5.086s
rebooting into bootloader...
OKAY [  0.131s]
finished. total time: 0.131s
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: HHZ11d
Baseband Version.....: M8974A-1.0.25.0.17
Serial Number........: 02cdeb4dd00afdac
--------------------------------------------
checking product...
OKAY [  0.100s]
checking version-bootloader...
OKAY [  0.100s]
checking version-baseband...
OKAY [  0.100s]
sending 'boot' (8620 KB)...
OKAY [  0.630s]
writing 'boot'...
OKAY [  0.746s]
sending 'recovery' (9202 KB)...
OKAY [  0.684s]
writing 'recovery'...
OKAY [  0.770s]
erasing 'system'...
OKAY [  1.320s]
sending 'system' (692940 KB)...
OKAY [ 33.045s]
writing 'system'...
OKAY [ 47.173s]
erasing 'userdata'...
OKAY [ 13.525s]
formatting 'userdata' partition...
Creating filesystem with parameters:
    Size: 29236371456
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8192
    Inode size: 256
    Journal blocks: 32768
    Label:
    Blocks: 7137786
    Block groups: 218
    Reserved block group size: 1024
Created filesystem with 11/1785856 inodes and 156120/7137786 blocks
sending 'userdata' (139109 KB)...
writing 'userdata'...
OKAY [ 16.423s]
erasing 'cache'...
OKAY [  0.521s]
formatting 'cache' partition...
Creating filesystem with parameters:
    Size: 734003200
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7472
    Inode size: 256
    Journal blocks: 2800
    Label:
    Blocks: 179200
    Block groups: 6
    Reserved block group size: 47
Created filesystem with 11/44832 inodes and 5813/179200 blocks
sending 'cache' (13348 KB)...
writing 'cache'...
OKAY [  2.119s]
rebooting...

finished. total time: 117.786s

No comments:

Post a Comment