[APP][2013-03-08][root][GNex/Dev] BootUnlocker for Nexus Devices -- version 1.3.1
BootUnlocker for Nexus Devices -- Unlock your bootloader without fastboot.
This application REQUIRES a Galaxy Nexus (maguro, toro or toroplus), Nexus 4 (mako), or Nexus 10 (manta), with root.
You've rooted your Galaxy Nexus, Nexus 4, or Nexus 10, 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.
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 Google Code project page.
BootUnlocker for Nexus Devices avoids using "fastboot oem unlock", with its associated "userdata" wipe by writing directly to the "param" (or "misc") partition of your device's internal storage. On the Galaxy Nexus, the PRIMELA03 bootloader stores the lock status at position 0x000007C (124 decimal) of this partition: fastboot updates this when locking and unlocking the bootloader.
On the Nexus 10, the MANTALJ12 bootloader uses position 0x0000224 (548 decimal).
On the Nexus 4, the MAKOZ10l bootloader uses position 0x0004010 (16400 decimal) of the "misc" parition.
BootUnlocker uses root privileges to write to to the appropriate location directly, bypassing fastboot. This allows you to lock and unlock your bootloader from within Android, without wiping your "userdata" partition.
Special thanks go to those who posted raw images of their "param" partitions for analysis (Archpope, AdamOutler, efrant, NCguy, Raftysworld, and others) as well as to the beta testers of this application (efrant, Mach3.2, Meep70, and others). This application could not have been written without their contributions.
Adds status area (bottom-left) to display information about the device and app.
Version 1.1:
Adds support for "toroplus" (Sprint Galaxy Nexus)
Corrects multiple-su-request issue for users of ChainsDD's Superuser app
Version 1.0:
Initial Release
Known Issues:
Some users may experience a race condition where the display does not immediately update after locking or unlocking the bootloader. Changing device orientation or restarting the app will update the display.
Users whose phones are in "Tablet Mode" using a custom ROM such as Paranoid Android may be unable to download from the Play Store. Switching back to Phone Mode should resolve the issue.
Does this now also mean that a tech-savvy thief would be able to unlock the bootloader without wiping data? Assuming that my phone is rooted and I don't place a PIN on the lockscreen.
I had to backup my ROM before I jumped in feet first. Tested a lock and a unlock and I can now say it worked without a hitch. Thanks to everyone involved in the production of this APP.
Does this now also mean that a tech-savvy thief would be able to unlock the bootloader without wiping data? Assuming that my phone is rooted and I don't place a PIN on the lockscreen.
Yes, if your phone was rooted and you had no PIN/password the thief could use this to unlock the bootloader without wiping data. But if you were rooted with no PIN, you've got bigger problems than this app.
For example: a thief (or even a "visitor") could run Titanium Backup and then copy the backup off the device.
Does this now also mean that a tech-savvy thief would be able to unlock the bootloader without wiping data? Assuming that my phone is rooted and I don't place a PIN on the lockscreen.
If your phone is already rooted and you don't have a pin then the thief doesn't need to unlock, he can just walk in and help himself.
From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?