[TOOL] Unblod - Fix your Nexus 5X that's in the bootloop-of-death

Search This thread

theGeekyLad

Senior Member
May 27, 2013
225
254
Thane
thegeekylad.firebaseapp.com
INTRODUCTION
We all know the famous bootloop-of-death on the Nexus 5X and there's finally something we can do about it, thanks to XCnathan32 who devised a fix that works on all security patch updates by Google. What Unblod does is quite simple. It's a tool that automates the entire process of generating a boot.img that runs on 4 of the A53 cores. It's all about just a few taps and right now supports only Windows!

PREREQUISITES

  1. A Windows PC
  2. A boot.imgfrom any ROM of your choice (even stock)
    1. if ( you're unsure which ROM's on your phone ) - [Difficulty = Easy] [Recommended]
      1. Get the stock factory image of the Android version of your choice
      2. Extract the ZIP
      3. Follow the instructions described above to flash the image onto your device
      4. Move into the extracted folder and open the image-bullhead-<build_no>.zip
      5. Copy the boot.img from within to your desired folder (e.g. Desktop)
    2. if ( you know which ROM's on your phone ) - [Difficulty - Intermediate]
      1. Download the boot.img of the build that corresponds to that of the ROM on your phone from here or here (for Android O)
      2. Copy the boot.img from within to your desired folder (e.g. Desktop)
  3. A BLOD-bricked Nexus 5X
    1. With bootloader unlocked
    2. In fastboot / bootloader mode
  4. About 15 minutes

STEPS

  1. Download the attached ZIP
  2. Extract Unblod.zip
  3. Launch Unblod.exe
  4. Tap Load and browse to the location of the boot image that you'd copied sometime back in step 2-1-5 (e.g. Desktop)
  5. [Recommended] Check the auto-flash box if you'd like to flash the modified boot.img automatically onto your phone
  6. Connect your Nexus 5X in bootloader / fastboot mode to your PC
  7. Tap Run and wait for the tasks to complete (i.e. till the status field says idle)
  8. After about a minute or so your device should boot
NOTES

  1. Wait for a while as the first boot would take quite some time on the smaller 4 cores
  2. If you'd like to flash a recovery, a modified TWRP recovery image is required as the unmodified ones fail on 4 cores - get one from here
  3. You'd have lost root by now so consider rooting your device again (by flashing Magisk / SuperSu)
  4. Feel free to lock your bootloader
BUGS
None at the moment. The tool is in BETA right now though it has been tested for complete success on my Nexus 5X as you can see in the attached screenshots. Kindly let me know if there are any bugs! Also if your device is suffering from a motherboard failure or any other kind of hardware fault, Unblod ain't gonna do no magic. It does what it says and I take no ownership of your bricked device!

CREDITS

  • XCnathan32 - for his awesome work on inventing the 4-core fix
  • osm0sis - for his amazing AIK Linux Kitchen
  • T1mb3 - for his thread that houses all the fixed boot images and associated recoveries
DOWNLOADS
Check out the attached file. Thanks!
 

Attachments

  • Unblod.zip
    5.8 MB · Views: 21,592
Last edited:

stifmaster81

Senior Member
Feb 27, 2013
751
47
INTRODUCTION
We all know the famous bootloop-of-death on the Nexus 5X and there's finally something we can do about it, thanks to XCnathan32 who devised a fix that works on all security patch updates by Google. What Unblod does is quite simple. It's a tool that automates the entire process of generating a boot.img that runs on 4 of the A53 cores. It's all about just a few taps and right now supports only Windows!

STEPS
As simple as just extracting the attached ZIP and launching Unblod.exe! The rest just follows and requires just your presence of mind (and a bricked Nexus 5X in fastboot mode, of course). All you need to do is make sure the build of the ROM that's on your device matches that of the boot.img supplied - that's more of a precautionary step. The rest is self-explanatory! Make sure you leave your Nexus 5X in fastboot mode connected to your PC if you choose to use the auto-flash feature that's bundled in.

BUGS
None at the moment. The tool is in BETA right now though it has been tested for complete success on my Nexus 5X as you can see in the attached screenshots. Kindly let me know if there are any bugs! Also if your device is suffering from a motherboard failure or any other kind of hardware fault, Unblod ain't gonna do no magic. It does what it says and I take no ownership of your bricked device!

CREDITS

  • XCnathan32 - for his awesome work on inventing the 4-core fix
  • osm0sis - for his amazing AIK Linux Kitchen
  • T1mb3 - for his thread that houses all the fixed boot images and associated recoveries

DOWNLOADS
Check out the attached file. Thanks!
What is the use of this? cover the two cores?

Enviado desde mi Nexus 5X mediante Tapatalk
 

theGeekyLad

Senior Member
May 27, 2013
225
254
Thane
thegeekylad.firebaseapp.com
What is the use of this? cover the two cores?

Enviado desde mi Nexus 5X mediante Tapatalk
The BLOD as indicated in a popular XDA post is due to the A57 cores breaking (I guess due to thermal throttling). I also heard in a certain Reddit post that it's due to contact pins breaking underneath the A57s. So this fix just disables the A57s and the phone works fine on the A53s.

Thanks stifmaster81!
 
  • Like
Reactions: stifmaster81

curiousbeing

Member
Nov 14, 2017
12
6
Please provide some step by step instruction,and pre-installation requirements to run this tool, thanks.

Okay, fixed the problem, great tool and it works!
 
Last edited:

theGeekyLad

Senior Member
May 27, 2013
225
254
Thane
thegeekylad.firebaseapp.com
Me too...

Me too...

I will waiting for yout step by step!

Enviado de meu Nexus 5X usando Tapatalk

Please provide some step by step instruction,and pre-installation requirements to run this tool, thanks.

Okay, fixed the problem, great tool and it works!

Does the phone need to be rooted/unlocked for this tool to work and fix the bootloop?

Hey guys! I'm really sorry to leave all of you hanging without detailed instructions. I've finally updated the OP with a step-by-step guide that goes right from scratch till the end. Kindly try it out and let me know of your views!

Thanks!
 
  • Like
Reactions: joenun
Nov 14, 2014
16
0
Hi
I'm stuck at fastboot.exe error
AdbWinApi.dll is missing
My Nexus 5X have this version of android: OPP6.171019.012, Nov 2017 (8.1 DP2) and yesterday I got bootloop, my warranty is gone (bough phone over 2 years ago ) and I never modified soft, no root etc.
Thanks for any help.

nvm.
I forgot to check bootloader is it unlocked and it's not.
Probably now there is nothing to fix it :(
 
Last edited:

enqless

Member
Oct 20, 2016
20
6
I've tested, tool works but I faced wrong behaviour and don't know what was the reason - my custom ROM or some kernel error.
I use ABCrom for Nexus 5X and have to combine it with modified EX kernel since my 5X in BLOD. Goal was to use native ABCrom kernel which comes with rom.
I did wipes except data/storage, flashed ROM zip and modified ABC 4-core-boot from unblod tool. As result phone boots up successfully, but all MAC addresses are gone, attemps to switch wifi causes systemui crash so it's unusable and I did all wipes to revert back.
Maybe it works fine with stock kernel or requires some other way of integration modified custom kernel back to ROM zip, not just by flashing it over or by replacing boot.img file in ROM zip.
 

theGeekyLad

Senior Member
May 27, 2013
225
254
Thane
thegeekylad.firebaseapp.com
Hi
I'm stuck at fastboot.exe error
AdbWinApi.dll is missing
My Nexus 5X have this version of android: OPP6.171019.012, Nov 2017 (8.1 DP2) and yesterday I got bootloop, my warranty is gone (bough phone over 2 years ago ) and I never modified soft, no root etc.
Thanks for any help.

nvm.
I forgot to check bootloader is it unlocked and it's not.
Probably now there is nothing to fix it :(

I'm really sorry for such a late reply which is because of not receiving any notifications! Interceptor1910, the issue is because ADB and Fastboot hasn't been configured on your system. The ZIP natively supports systems without Fastboot configured, but looks like there's a small issue. I'll update the ZIP in another 15 minutes and update the OP. Thanks for bringing the issue to light!
 

theGeekyLad

Senior Member
May 27, 2013
225
254
Thane
thegeekylad.firebaseapp.com
I've tested, tool works but I faced wrong behaviour and don't know what was the reason - my custom ROM or some kernel error.
I use ABCrom for Nexus 5X and have to combine it with modified EX kernel since my 5X in BLOD. Goal was to use native ABCrom kernel which comes with rom.
I did wipes except data/storage, flashed ROM zip and modified ABC 4-core-boot from unblod tool. As result phone boots up successfully, but all MAC addresses are gone, attemps to switch wifi causes systemui crash so it's unusable and I did all wipes to revert back.
Maybe it works fine with stock kernel or requires some other way of integration modified custom kernel back to ROM zip, not just by flashing it over or by replacing boot.img file in ROM zip.

Hey enqless, glad to know that you've used the tool. As you stated, the issue seems more of custom kernel specific. Maybe it works well with a few custom kernels (haven't tested it personally). I'll be heading back to college next week when I can test it on my buddy's Nexus 5X that's got a BLOD with the ABCrom kernel that you've mentioned and let you know of experience. Thanks enqless!
 

enqless

Member
Oct 20, 2016
20
6
Hey enqless, glad to know that you've used the tool. As you stated, the issue seems more of custom kernel specific. Maybe it works well with a few custom kernels (haven't tested it personally). I'll be heading back to college next week when I can test it on my buddy's Nexus 5X that's got a BLOD with the ABCrom kernel that you've mentioned and let you know of experience. Thanks enqless!
That's ok) Thanks for your work, first of all, for maintaining all us to stay alive. Otherwise, our 5X would be laid on shelf as brick long time ago.
With unblod tool we can definitely prepare 4-core stock kernels by ourselves, Just to go ahead with further firmware updates as our device is still supported, without waiting and exploring forums until somebody posts modified kernel.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 35
    INTRODUCTION
    We all know the famous bootloop-of-death on the Nexus 5X and there's finally something we can do about it, thanks to XCnathan32 who devised a fix that works on all security patch updates by Google. What Unblod does is quite simple. It's a tool that automates the entire process of generating a boot.img that runs on 4 of the A53 cores. It's all about just a few taps and right now supports only Windows!

    PREREQUISITES

    1. A Windows PC
    2. A boot.imgfrom any ROM of your choice (even stock)
      1. if ( you're unsure which ROM's on your phone ) - [Difficulty = Easy] [Recommended]
        1. Get the stock factory image of the Android version of your choice
        2. Extract the ZIP
        3. Follow the instructions described above to flash the image onto your device
        4. Move into the extracted folder and open the image-bullhead-<build_no>.zip
        5. Copy the boot.img from within to your desired folder (e.g. Desktop)
      2. if ( you know which ROM's on your phone ) - [Difficulty - Intermediate]
        1. Download the boot.img of the build that corresponds to that of the ROM on your phone from here or here (for Android O)
        2. Copy the boot.img from within to your desired folder (e.g. Desktop)
    3. A BLOD-bricked Nexus 5X
      1. With bootloader unlocked
      2. In fastboot / bootloader mode
    4. About 15 minutes

    STEPS

    1. Download the attached ZIP
    2. Extract Unblod.zip
    3. Launch Unblod.exe
    4. Tap Load and browse to the location of the boot image that you'd copied sometime back in step 2-1-5 (e.g. Desktop)
    5. [Recommended] Check the auto-flash box if you'd like to flash the modified boot.img automatically onto your phone
    6. Connect your Nexus 5X in bootloader / fastboot mode to your PC
    7. Tap Run and wait for the tasks to complete (i.e. till the status field says idle)
    8. After about a minute or so your device should boot
    NOTES

    1. Wait for a while as the first boot would take quite some time on the smaller 4 cores
    2. If you'd like to flash a recovery, a modified TWRP recovery image is required as the unmodified ones fail on 4 cores - get one from here
    3. You'd have lost root by now so consider rooting your device again (by flashing Magisk / SuperSu)
    4. Feel free to lock your bootloader
    BUGS
    None at the moment. The tool is in BETA right now though it has been tested for complete success on my Nexus 5X as you can see in the attached screenshots. Kindly let me know if there are any bugs! Also if your device is suffering from a motherboard failure or any other kind of hardware fault, Unblod ain't gonna do no magic. It does what it says and I take no ownership of your bricked device!

    CREDITS

    • XCnathan32 - for his awesome work on inventing the 4-core fix
    • osm0sis - for his amazing AIK Linux Kitchen
    • T1mb3 - for his thread that houses all the fixed boot images and associated recoveries
    DOWNLOADS
    Check out the attached file. Thanks!
    3
    I tried a lot of methods but my wifi wasn't working with any of them. Thanks a lot to this post:
    https://forum.xda-developers.com/showpost.php?p=75203390&postcount=1241

    This method worked and everything (including WIFI) is working now.

    For those who don't know:
    1. Just flash stock oreo image with flash-all.bat
    2. Flash TWRP from: https://www.dropbox.com/s/levla3p5npe24pw/TWRP3_1_1_5X.img?dl=0
    3. Flash this patch from TWRP: https://basketbuild.com/filedl/devs...BLOD_Workaround_Injector_Addon-AK2-signed.zip
    4. Done.

    Original Directory of Patch:
    https://basketbuild.com/devs/osm0sis/osmods
    3
    I see that many of you've got issues with the WiFi. It's tied to some vendor partition meta-data which hasn't been handled which otherwise wouldn't boot stock 8.x. I'll try doing some testing on a couple of kernels (and stock too) after Jan 2nd and let you guys know. Stay tuned for a tool update after this issue is fixed - will be updating the OP anyway. Thanks!
    2
    Hello,

    I managed to resuscitate my boot-looping N5X thanks to this thread. So a big 'thank you' to the original authors.

    I did not want to format my data partition (I suspect 'flash-all.bat' does that) so I followed the steps outlined in 'how-to-install-android-monthly-security-updates' on the ElementalX website.

    Tested and working with the June 2018 Nexus 5X Android image.

    Pre-requisites:
    (as a new user I'm not allowed to post outside links; just check the previous posts in this thread)
    - Unlocked bootloader
    - Android platform tools
    - Latest N5X Android image
    - N5X-6P_BLOD_Workaround_Injector_Addon-AK2-signed.zip
    - TWRP 3.1.1 4-core version
    - [optional] ElementalX N5X 6.01 kernel fix

    Steps:
    1. Extract the Android image .zip file.
    Extract image-bullhead-opm*.zip (June 2018 image: that file is named 'image-bullhead-opm6.171019.030.b1.zip')
    Copy boot.img, system.img and vendor.img to your platform-tools folder (folder that contains fastboot.exe)
    2. Copy TWRP3_1_1_5X.img and N5X-6P_BLOD_Workaround_Injector_Addon-AK2-signed.zip to your platform-tools folder
    3. Reboot to bootloader. Open a command prompt in your platform-tools folder and type the following commands:
    fastboot flash recovery TWRP3_1_1_5X.img
    fastboot flash boot boot.img
    fastboot flash system system.img
    fastboot flash vendor vendor.img
    4. Reboot to TWRP. Skip the 'Decrypt Data' prompt, go to Advanced - ADB Sideload, check both 'Wipe Dalvik Cache' and 'Wipe Cache' then swipe to start sideload
    5. Open a command prompt from your platform-tools folder and type the following command:
    adb sideload N5X-6P_BLOD_Workaround_Injector_Addon-AK2-signed.zip
    6. Reboot the phone when ADB Sideload is complete. This may take a couple of minutes.
    7. [optional]: Reboot to TWRP and flash ElementalX N5X 6.01 'kernel fix'

    Notes:
    - TWRP sometimes fails to decrypt the data partition for some reason. Restarting TWRP usually fixes this issue.
    - I have not found a way to root the phone, flashing the latest SuperSU makes the phone boot-loop again.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone