[APP][2015-01-12][root][N4] BootUnlocker for Nexus Devices -- version 1.6.1

Search This thread

segv11

Senior Member
Mar 19, 2012
379
526
[SIZE="+2"]BootUnlocker for Nexus Devices -- Unlock your bootloader without fastboot.[/SIZE]

NEW: beta version available!

This is cross-posted from the the Galaxy Nexus forum, where the app got started. The app supports Galaxy Nexus, Nexus 4, and Nexus 10, and we are working on other Nexus devices. Please direct your support questions to the original thread.

Original Thread: https://xdaforums.com/galaxy-nexus/themes-apps/app-bootunlocker-nexus-devices-version-t1731993
How it Works: https://xdaforums.com/showpost.php?p=73069986&postcount=2
Changelog: https://xdaforums.com/showpost.php?p=73069987&postcount=3

STABLE version: (a) XDA post, (b) XDA download, (c) Google Play download
BETA version: (a) XDA post, (b) XDA download



Description
This application REQUIRES a Galaxy Nexus (maguro, toro or toroplus), Nexus 4 (mako), Nexus 5 (hammerhead), Nexus 7 2013 (deb or flo), Nexus 10 (manta), OnePlus One (bacon / A0001), OnePlus 2 (OnePlus2), or OnePlus X (OnePlus / ONE / E1001), with root.

You've rooted your device, and you are trying to decide between the security of relocking your bootloader (with stock recovery and USB Debugging off), and the flexibility of leaving it unlocked.

You know that in order to prevent an unauthorized user from accessing your data by flashing a custom recovery, "fastboot oem unlock" wipes your data. This also means that if you relock your bootloader, you will need to do a full backup-and-restore whenever you decide to unlock it again.

BootUnlocker for Nexus Devices lets you have the best of both worlds by using root privileges to unlock your bootloader from within Android, without wiping your data. This allows you to keep your bootloader locked for security, with this application safely protected behind your lockscreen password. Whenever you want to unlock or relock your bootloader, just unlock your screen and run BootUnlocker.

License
BootUnlocker for Nexus Devices is Open Source Software, licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0.html.
You can redistribute, reuse, or modify this software as permitted under this license.

Source code is maintained on GitHub.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

For support, please leave a comment on this thread, or open an issue on the GitHub page.
 
Last edited:

crachel

Retired Senior Moderator
Jul 13, 2008
3,880
3,029
Texas
I'm really glad you've brought this over to the Nexus 4. This is an excellent contribution to the community.
 

karanrajpal14

Senior Member
Feb 4, 2011
1,035
325
Bangalore
I have a small doubt and i hope you don't mind clearing it. I just got my N4 and i was considering rooting it, my doubt is that once i unlock the boot loader can i relock it? On my old htc explorer it was possible to re lock but it showed the status as re locked instead of locked hence voiding the warranty. Can i relock it and get my warranty back again? Sorry for a probably noobish question.
 
I have a small doubt and i hope you don't mind clearing it. I just got my N4 and i was considering rooting it, my doubt is that once i unlock the boot loader can i relock it? On my old htc explorer it was possible to re lock but it showed the status as re locked instead of locked hence voiding the warranty. Can i relock it and get my warranty back again? Sorry for a probably noobish question.

It won't show as re locked. It'll be simply 'locked' whether you use the app or manually do it via terminal

Sent from my Nexus 4 using Tapatalk 2
 
  • Like
Reactions: karanrajpal14
Thanks. So it's safe to root it then? Won't cause any problems with my warranty right?

Sent from my Nexus 4 using xda premium

If it's a question on being safe, I'm pretty sure most people with sense will always say "do it at your own risk" because we are concerned about your warranty. Nexus devices are the easiest to bootloader unlocked and root and flash and viceversa but the user still has to take responsibility.

Sent from my Nexus 7 using Tapatalk 2
 

karanrajpal14

Senior Member
Feb 4, 2011
1,035
325
Bangalore
That's fine. I'll do it at my own risk! Only thing I was worried about was the warranty. Now that you say it can be locked again I don't have any problem! Thanks!

Sent from my Nexus 4 using xda premium
 

azrash

Senior Member
Sep 18, 2010
1,221
669
Kuala Lumpur
thanks for this. maybe put a a disclaimer like the one said in this link http://xdaforums.com/showthread.php?t=1898664
advantages:
- doesn't require encryption (for those who do not wish to use it).

Disadvantages:
- relies on third-party apps.
- method will not work if you lose root access for whatever reason.
- method will not work when you cannot boot into Android for whatever reason.
i am quite new to this area so my question is, once I have relocked the bootloader, does the stock recovery allows for nandroid backup etc? and since in the worst case scenario that i am not able to boot, i have no other alternative other than doing a fastboot oem unlock?

thanks for your time!
 
Last edited:

segv11

Senior Member
Mar 19, 2012
379
526
The stock recovery does not do nandroid backups. You don't have to flash the stock recovery in order to lock the bootloader, but it is a good idea...

Sent from my 4.1.2 toro Bugless Beast.
 

osm0sis

Senior Recognized Developer / Contributor
Mar 14, 2012
16,773
40,450
Halifax
GT-i9250
Google Nexus 4
Sorry, not wanting to thread hi-jack here or anything, but this seems like the best place to mention it. If you've ever had the experience of rebooting to bootloader and you've forgetten to unlock in BootUnlocker first, or, you really screwed something up and can't boot the OS in the first place to unlock with the app, I made a recovery flashable zip that will do the same thing. Always handy to have on hand in case of emergencies. :)

Available in my Odds and Ends thread: http://xdaforums.com/showthread.php?t=2239421

Cheers! :good:

Edit: I see it answers all of @azrash's disadvantages list too. :cool:
 
Last edited:

chrone

Senior Member
May 5, 2012
1,050
369
Surabaya
Sorry, not wanting to thread hi-jack here or anything, but this seems like the best place to mention it. If you've ever had the experience of rebooting to bootloader and you've forgetten to unlock in BootUnlocker first, or, you really screwed something up and can't boot the OS in the first place to unlock with the app, I made a recovery flashable zip that will do the same thing. Always handy to have on hand in case of emergencies. :)

Available in my Odds and Ends thread: http://xdaforums.com/showthread.php?t=2239421

Cheers! :good:

Edit: I see it answers all of @azrash's disadvantages list too. :cool:

Will the script able to lock it again if flashed on top of unlocked one?

Thanks for this. :)

Sent from my Nexus 4 using Tapatalk 4 Beta
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    [SIZE="+2"]BootUnlocker for Nexus Devices -- Unlock your bootloader without fastboot.[/SIZE]

    NEW: beta version available!

    This is cross-posted from the the Galaxy Nexus forum, where the app got started. The app supports Galaxy Nexus, Nexus 4, and Nexus 10, and we are working on other Nexus devices. Please direct your support questions to the original thread.

    Original Thread: https://xdaforums.com/galaxy-nexus/themes-apps/app-bootunlocker-nexus-devices-version-t1731993
    How it Works: https://xdaforums.com/showpost.php?p=73069986&postcount=2
    Changelog: https://xdaforums.com/showpost.php?p=73069987&postcount=3

    STABLE version: (a) XDA post, (b) XDA download, (c) Google Play download
    BETA version: (a) XDA post, (b) XDA download



    Description
    This application REQUIRES a Galaxy Nexus (maguro, toro or toroplus), Nexus 4 (mako), Nexus 5 (hammerhead), Nexus 7 2013 (deb or flo), Nexus 10 (manta), OnePlus One (bacon / A0001), OnePlus 2 (OnePlus2), or OnePlus X (OnePlus / ONE / E1001), with root.

    You've rooted your device, and you are trying to decide between the security of relocking your bootloader (with stock recovery and USB Debugging off), and the flexibility of leaving it unlocked.

    You know that in order to prevent an unauthorized user from accessing your data by flashing a custom recovery, "fastboot oem unlock" wipes your data. This also means that if you relock your bootloader, you will need to do a full backup-and-restore whenever you decide to unlock it again.

    BootUnlocker for Nexus Devices lets you have the best of both worlds by using root privileges to unlock your bootloader from within Android, without wiping your data. This allows you to keep your bootloader locked for security, with this application safely protected behind your lockscreen password. Whenever you want to unlock or relock your bootloader, just unlock your screen and run BootUnlocker.

    License
    BootUnlocker for Nexus Devices is Open Source Software, licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0.html.
    You can redistribute, reuse, or modify this software as permitted under this license.

    Source code is maintained on GitHub.

    Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

    For support, please leave a comment on this thread, or open an issue on the GitHub page.
    6
    New version

    New Version 1.3.1: Adds koush's android.permission.ACCESS_SUPERUSER permission

    OP updated.
    5
    Sorry, not wanting to thread hi-jack here or anything, but this seems like the best place to mention it. If you've ever had the experience of rebooting to bootloader and you've forgetten to unlock in BootUnlocker first, or, you really screwed something up and can't boot the OS in the first place to unlock with the app, I made a recovery flashable zip that will do the same thing. Always handy to have on hand in case of emergencies. :)

    Available in my Odds and Ends thread: http://xdaforums.com/showthread.php?t=2239421

    Cheers! :good:

    Edit: I see it answers all of @azrash's disadvantages list too. :cool:
    5
    Re: [APP][2012-12-24][root][N4] BootUnlocker for Nexus Devices -- version 1.3

    I just want to confirm that this tool is working with the newest bootloader MAKOZ10o from the 4.2.2 OTA upgrade.
    :thumbup:
    4
    Just a quick note to confirm that this fantastic tool works with the new nexus4 MAKOZ20i bootloader (android 4.3 JWR66N & JWR66V).