LightBlog

mercredi 26 juillet 2017

Nexus 5X Bootloop Fix Helps you to Finally Boot the Phone

Has your LG/Google Nexus 5X stopped booting, or rather, ends up stuck in an endless boot sequence? This is something we term a “bootloop” and it can occur for various reasons. Most bootloops can be fixed by flashing the stock firmware or factory resetting, but in the case of a hardware bootloop, there’s generally nothing you can do except to RMA the phone. If your Google Nexus 5X has been refusing to boot, and nothing you’ve tried has fixed it, you aren’t alone. The Nexus 5X bootloop issue is notorious in the community, but only recently has a fix been found.

Nexus 5X Bootloop Fix – Context

Over the last couple of years, LG’s smartphone have garnered a bit of a reputation for their bootloop issue. An issue that seemingly started with the LG G4 only became more and more prevalent with each new device the company released. We recently talked about a way to fix the bootloop issue with the Nexus 6P from Huawei, and now there’s a solution available for the Nexus 5X that has been derived from the guide we previously wrote about.

The general consensus here with these fixes seem to indicate that the Snapdragon 808/810 chipsets were rushed out by Qualcomm and have degraded to the point where they’re partially broken. The heat generation issues of the Snapdragon 810 is not something new, but it looks like the 808 is having a similar issue when it comes to what is causing the bootloops. LG had originally stated the issue with the LG G4 bootloops was indeed hardware related, but never went into more detail about the situation.

Some had thought it was due to the solder they used and that it would eventually crack from heating up and cooling down too many times over the lifespan of the device. Whether that is indeed true, we still don’t know for sure what is behind the issue, but this fix for the Nexus 5X bootloop does seem to work around the issue. So today we have a guide for you that will walk you through exactly how to fix the Nexus 5X bootloop issue. While the title in the linked forum thread at the bottom of this post does say it’s untested, multiple people within the community have reported success with this method.

As always though, your mileage may vary with this workaround.


Tutorial

Requirements:

  • Unlockable bootloader from before the bootloop began since you can’t boot into Android and enable the settings required to unlock the bootloader afterwards. If you are able to briefly boot into the phone, then going to Developer Options and ticking “Enable OEM Unlocking” will do the trick.

Tutorial

  1. Download the latest ADB and Fastboot binaries and extract them to a folder on your computer that is easily accessible.
  2. Download and install the Google’s USB Drivers (for those who are running Windows).
  3. Download the N2G47Z_4Cores.img file and save it in the same directory that you have the ADB and Fastboot binaries located.
    • Optional: If you want to use TWRP recovery on your fixed Nexus 5X, this requires you use a modified version of TWRP. So download TWRP3_1_1_5X.img and save it in the same folder you have your ADB and Fastboot binaries located.
    • Optional 2: If you want to speed up your fixed Nexus 5X, you can flash a modified version of XDA Recognized Developer flar2‘s Elemental X Kernel. Download the EX4_10_5X.zip file to your Nexus 5X so it’s stored in the default downloads directory.
  4. Connect the Nexus 5X to the computer with a USB cable.
  5. Go ahead and launch a command prompt or terminal in the same directory where you saved the ADB and Fastboot binaries.Windows users, you can do this by holding shift and right-clicking, then selecting “open command prompt here.” Windows 10 users will see a PowerShell option that replaces the command prompt one.
  6. Boot the Nexus 5X into Fastboot Mode (also known as bootloader mode to some people).
  7. Execute the following command in the command prompt: fastboot devices
  8. If you see your device’s serial number, you are ready to move on. If not, then for some reason the USB drivers are not fully installed.
  9. If your bootloader is not yet unlocked but you have enabled OEM unlocking in Developer Options once before, you can unlock the bootloader now by entering: fastboot flashing unlock. Then, follow the on-screen instructions to unlock the bootloader. Be warned that this will wipe all of the data on your phone.
  10. Now enter the following command in a command prompt to replace your current boot image: fastboot flash boot N2G47Z_4Cores.img
    • Optional: If you want to flash the modified TWRP, then enter this command afterwards: fastboot flash recovery TWRP3_1_1_5X.img

  11. Reboot your phone by typing: fastboot reboot
  12. After some minutes (it may take awhile), you should see your phone’s boot animation and eventually the lockscreen. Congrats, you’ve saved your phone!
  13. Optional: If you want to improve the performance and you followed the steps to install the modified version of TWRP, copy the modified Elemental X kernel over to your phone’s storage, boot into TWRP, and flash the custom kernel. You can even choose to overclock the little cluster during setup to squeeze a bit more performance out of your phone as well.

Explanation

Just like we showed you in the Nexus 6P guide on how to fix its bootloop issue, the cause has something to do with the big cluster CPU cores of the SoC. Based on XDA Member XCnathan32‘s log during their testing of this process, The issue is caused by the VLL being unable to obtain a lock on the A57 cores. So far, we aren’t 100% sure exactly what is causing this issue, but our workaround is actually disabling these broken A57 cores so we bypass the issue altogether.

A more elegant solution could come in the future, but for now we appreciate the developer community coming up with a solution that allows people’s smartphone to boot up again. If someone has been dealing with this issue for a while, at least they can have a functional device for a music player, dash cam, etc. Those who have yet to experience this issue will at least have a solution available to them right when they experience that bootloop for the first time.

As mentioned, we’ve seen multiple people within the community (over in our official XDA thread for this solution) report that this Nexus 5X bootloop solution does indeed work. However, we’ve also had at least one person say that it didn’t work for them. There could be multiple causes for the Nexus 5X bootloop issue so this guide may not be a fix for everyone. If your Nexus 5X is currently in a bootloop, it certainly doesn’t hurt to try it since you can always flash the stock images that Google provides if you want to restore all of these modified files.


Check out the original thread in our Nexus 5X forum



from xda-developers http://ift.tt/2uCD1jv
via IFTTT

Aucun commentaire:

Enregistrer un commentaire