Nexus 5X and Nexus 6P smartphones have an hardware issue that causes “bootloop of death” (aka BLOD). This issue show Google boot-up animation till battery exhaustion.
If your device is still under warranty follow the the official Google Bootloop solution.
The BLOD was generated by an hardware issue on A57 cores of the SoC(two in 5X and four in 6P). The following fix disables A57 cores so your device will only run on A53 cores (four cores). This generate a performance compromise but four cores are better than nothing!
It consists of a modified kernel file and a modified recovery image that boots your phone only on A53 cores.
This tutorial describes the procedure as of July 2018. Although the author has made every effort to ensure that the information contained in it was correct at publish time, he does not assume and hereby disclaims any liability to any party for any loss, damage or disruption caused by errors or omissions, whether such errors or omissions result from negligence, accident or any other cause.
Step 0: verify communication
$ fastboot devices 00d1473289b99283 fastboot
Step 1: restore stock image
$ fastboot flashing unlock ... FAILED (remote: Already unlocked) finished. total time: 0.022s
Step 2: install recovery image
PC: Flash the modified recovery image (TWRP):
$ fastboot flash recovery twrp-3.2.1-0-fbe-4core-bullhead.img
$ fastboot flash recovery twrp-3.2.1-0-fbe-4core-angler.img
NEXUS: Once flashed, select “Recovery mode” on bootloader menu with volume keys and confirm with power button.
NEXUS: Once started TWRP, go to “Advanced” > “ADB Sideload” and swipe the button on the screen.
Step 3: install Workaround Injector
$ adb sideload N5X-6P_BLOD_Workaround_Injector_Addon-AK2-signed.zip * daemon not running; starting now at tcp:5037 * daemon started successfully Total xfer: 1.37x
This patch will enable only A53 cores on Linux kernel.
PS: Now you could lock again your bootloader