Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    OEM unlock problem

    Support
    7
    26
    434
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      shivmahar83 last edited by

      Dear friends,
      I have LG Google Nexus 5 (Hammerhead D821(H) 32GB) model. Some days ago I tried to install Ubuntu Touch OS through UBports Software in my nexus 5 phone. But I forgot to enable USB Debugging first. So when I started the flash process and try to unlock bootloader, one time it show lock state unlocked. But In reality it was not unlocked. Because of this reason Ubuntu Touch OS installation is not completed and it corrupted my phone. Now I am unable to boot in android also. I also tried to re-flash my phone with Google Factory image but it was not completed because of my bootloader is locked. I don't know how i can unlock bootloader now. I used Wipe Data & Factory Reset option in Recovery Mode but it is also vain. I also used ADB sideload to install android os but again vain. Please help me how can I correct my phone and become again able to install Ubuntu Touch.

      Lakotaubp Flohack 2 Replies Last reply Reply Quote 1
      • Lakotaubp
        Lakotaubp @shivmahar83 last edited by

        @shivmahar83 Try seeing if fastboot still detects the device then run fastboot unlock

        First in terminal run
        Fastboot devices you should see your device then
        oem fastboot unlock
        fastboot reboot

        Then try again

        1 Reply Last reply Reply Quote 0
        • S
          shivmahar83 last edited by

          I tried it. But OEM is not unlocking because I didn't on USB Debugging as I said in my post.

          J 1 Reply Last reply Reply Quote 0
          • J
            joe @shivmahar83 last edited by

            @shivmahar83
            According to this, fastboot commands should still work even if usb debugging is off:
            https://forum.xda-developers.com/google-nexus-5/help/unlocking-bootloader-usb-debugging-t3761785

            Which computer OS are you using?

            stanwood S 2 Replies Last reply Reply Quote 0
            • stanwood
              stanwood @joe last edited by

              @joe Did you try the following command in your terminal? : "sudo fastboot oem unlock" 1rst of all be sure you've got fastboot package installed (sudo apt install fastboot) and adb (sudo apt install adb).

              J S 2 Replies Last reply Reply Quote 0
              • J
                joe @stanwood last edited by

                @stanwood said in OEM unlock problem:

                @joe Did you try the following command in your terminal? : "sudo fastboot oem unlock" 1rst of all be sure you've got fastboot package installed (sudo apt install fastboot) and adb (sudo apt install adb).

                @shivmahar83

                1 Reply Last reply Reply Quote 0
                • Flohack
                  Flohack @shivmahar83 last edited by

                  @shivmahar83 There must be something wrong with your description, if you did not unlock your bootloader then it cannot show unlocked.

                  Anyways, you can always go to fastboot mode, unlock the bootloader and re-install the Google factory image or continue from there with the UBports installer. It is virtually impossible to brick a Nexus 5...

                  1 Reply Last reply Reply Quote 0
                  • Lakotaubp
                    Lakotaubp last edited by

                    Just for more info what was on the device before you started. Stock android or something else? Is there a chance the partition sizes have been altered. That will stop UT installation. As Flohack said something is off in some way. I know you have tried before but does - fasboot devices - show your device when run.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      shivmahar83 @joe last edited by

                      @joe Dear sir I try many times "sudo fastboot oem unlock" command in my Ubuntu PC but one time its show unlocked but again it shows unlocked after rebooting bootloader.

                      Lakotaubp 1 Reply Last reply Reply Quote 0
                      • Lakotaubp
                        Lakotaubp @shivmahar83 last edited by

                        @shivmahar83 can you please try just fastboot devices and let us know the result. The more info we have the easier it is to help.

                        1 Reply Last reply Reply Quote 0
                        • S
                          shivmahar83 @stanwood last edited by

                          @stanwood Dear sir I try many times "sudo fastboot oem unlock" command in my Ubuntu PC but one time its show unlocked but again it shows unlocked after rebooting bootloader.

                          1 Reply Last reply Reply Quote 0
                          • S
                            shivmahar83 @Lakotaubp last edited by

                            @Lakotaubp Yes "sudo fastboot devices" command show the fastboot device is connected to my ubuntu pc.

                            Lakotaubp 1 Reply Last reply Reply Quote 0
                            • Lakotaubp
                              Lakotaubp @shivmahar83 last edited by

                              @shivmahar83 Right good. Then run sudo fastboot OEM unlock then sudo fastboot reboot bootloader and ses what happens

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                shivmahar83 @Lakotaubp last edited by

                                @Lakotaubp I did it. its unlock bootloader but when I reboot bootloader its again show state locked.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  shivmahar83 last edited by

                                  if I use sudo adb sideload command this errors showIMG_1142.jpg

                                  Lakotaubp 1 Reply Last reply Reply Quote 0
                                  • Lakotaubp
                                    Lakotaubp @shivmahar83 last edited by

                                    @shivmahar83 Try sudo fastboot oem unlock then sudo fastboot reboot bootloader.

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      shivmahar83 @Lakotaubp last edited by

                                      @Lakotaubp I also used it. One its show unlocked but after rebooting bootloader its again locked.IMG_1144.jpg IMG_1140.jpg

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        Rondarius last edited by Rondarius

                                        @shivmahar83 When it is unlocked, what happens when you run the Ubports installer?

                                        Lakotaubp S 2 Replies Last reply Reply Quote 0
                                        • Lakotaubp
                                          Lakotaubp @Rondarius last edited by

                                          @Rondarius Good idea

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            shivmahar83 @Rondarius last edited by

                                            @Rondarius The installation process stopped and below error shown through picture came.
                                            IMG_1178.jpg

                                            R 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post