Nexus 5 flash fails; Universal ADB Driver installed - 32-bit Win 7 Pro SP1

  • Installer version 0.1.21-beta

  • @judderman2 one pretty common issue with windows is that the necessary tools are not in the user's $PATH. Check that or run the installer with admin powers

  • Always run installer as admin. Fastboot and ADB installed globally, but have also tried putting the path in.

  • @judderman2 you can try an older installer version then. This version for example has a great success rate on windows

  • ok, thanks, i'll give it a go and get back to you

  • @judderman2 good luck!

  • Nope, same thing, goes through fastboot stage quite quickly (after manual selection, never auto detects), reboots into UBports recovery, but installer doesn't see it. Are files available to flash with fastboot, or is it o different to android that that won't work?

  • @judderman2 is there anything relevant in the installer log?

  • where would they be? Do you mean the recovery logs UBports recovery?

  • @judderman2 nope. I don't really know about windows but it should be somewhere in %APPDATA% (I think).

    You can try as well. That's another version with a high success rate

  • Nah, same result. Many thanks for your time, but I've taken too much up of it, especially so near to Christmas. Maybe someone in the UK would be prepared to flash it for me, for a "consideration"?

  • @judderman2 yeah, that would be great 🙂

    Anyway, another good way for windows users is to use a Ubuntu usb stick ( and install there the necessary tools. You also need to enable the universe repository in your sources.list to install them).

  • I have a duel boot machine which I have tried, but know about universe repository, will try that when I get home after Christmas and report back.
    Thanks again
    Seasons Greetings

  • @judderman2 you're welcome!

    Have a great holidays!!

  • Unfortunately, my results have not improved either. My bootloader remains locked. I appreciate others jumping in here as it helps the cause. I have tried three methods:

    1 - Download zipfile for full Android SDK and extract only. As stated here ( and above in my response. This presents itself as a less involved means of accomplishing the goals required for the ubports installer. Nonetheless, I was unable to locate the sdkmanager.exe referenced in this xda thread and this should have been stupid simple. This thread was written in 2013. I must allow for doing something wrong but, these are simple tasks to perform.

    2 - Download full Studio and install - Could not find relevant information on how to proceed with this method, so I migrated to #1 above. Note, I uninstalled Studio before proceeding so as not to confuse zipfile extraction, sdkmanager.exe, etc. I have no interest in developing apps but, the Studio may well be the best way to go. If I can determine how to accomplish this I will but, this should not be necessary to unlock the bootloader.

    3 - Shimp208's Minimal ADB & Fastboot - This is the 15 s tool mentioned above. I have focused on using v 1.4.3 because, this is suggested for the version of Android on my N5 (6.0.1). My hardware configuration should meet the prerequisites listed under "How to Install." Notice he references guides for ADB and Fastboot. The ADB guide references the Java Runtime Environment (jre) or Java SDK. The only significant comment I can make here is that I use ImageJ/Fiji. These digital image processing applications require Java and they are working on this same laptop (i.e., lenovo X201, 8 GB RAM, 64-bit Win7 Pro SP1) so, I suspect I am okay in meeting this requirement but, have not determined a means to prove this. Maybe and environment variable issue? I will look into this.

    Driver - I have been using the Universal Adb Driver for most of this. This permits me to see the Nexus 5 in the Windows System Tray when connected to the X201 and USB Debugging is enabled. I also see a Google USB Driver under "Android Device" located at the top of the listings in "Device Manager." These indicators give me confidence this driver is okay to use. However, I finally located a driver on the LG website but, it appears to be a universal one. This is LGMobileDriver_WHQL_Ver_4.2.0 and my results with these tasks have not improved.

    I have also located methods to unlock the bootloader of Android phones using key press combinations or sequences. I do not know if these work for the N5 and have not attempted to use these.

    I am not sure what to think at this time. Giving it a rest for Christmas. More later... All this suggests this is something simple that is being overlooked so, a clear mind is best.

    Thanks for the assistance! Merry Christmas!

  • Good news, I have now finally managed to install under Ubuntu. Couldn't find ADB or Fastboot in the app store, but when I tried to call them from within a terminal (to see if Ubuntu was detecting the phone), it very helpfully gave me the commands to install them. Once they were both installed, I ran the Ubports installer again, it still didn't auto detect, but under manual select, it ran to completion, I now have Ubuntu Touch on my Nexus 5 🙂
    Many thanks for your help

  • @judderman2 Well done and enjoy.

  • I prepared my pc with Ubuntu 18.04 LTS, downloaded the installer, extracted files to my desktop, and installed ADB via sudo apt install adb in terminal. I type "adb version", obtain correct response (i.e., 1.0.36 w/Rev specified as well). I then try "adb devices" and it tells me "daemon not running. starting it now on port 5037."

    Edit - It ran the second time I issued the command the echoed my N5 serial number... Installing fastboot as above now. What can anyone tell me regarding the command issued in this thread from early November 2013.

    following the use of "fastboot oem unlock." The command is "fastboot reboot." I have not seen anyone in the UTouch porting community mention this so, I want to be careful before executing this additional command.

    What next? I see no point in running the installer until I can get Ubuntu to recognize my phone as much as Windows did.

    I chose to abandon Windows in view of the recent successes I have seen with Linux.

  • @rvan When you have satisfied youself that adb and fastboot are installed, disconnect your phone.
    Start the installer and wait to be asked to connect your device. Do that and follow the instructions. That should be it. Think my nexus took about 30-40 Mins to complete. Things may appear to pause after Ubports Recovery is installed, by patient and give it time. If nothing does happen you can unplug and then replug in the phone to try and force things along or restart the installer, disconnect the phone and run it again you will not brick the phone. Good luck.

    A couple of other things to keep in mind.
    If/when you get the new version message ignore it. Choose the install with wipe option if you can

  • @rvan fastboot reboot just restarts the phone

Log in to reply