Bootloader unlocking is the process of disabling the bootloader security that makes secure boot possible. It can make advanced customizations possible, such as installing custom firmware. On smartphones, this can be a custom Android distribution or another mobile operating system. Some bootloaders are not locked at all and some are locked, but can be unlocked with a command or with assistance from the manufacturer. Some do not include an unlocking method and can only be unlocked through a software exploit.
Bootloader unlocking is also done for mobile forensics purposes, to extract digital evidence from mobile devices, using tools such as Cellebrite UFED.
Unlocking the bootloader usually voids any warranties and may make the device susceptible to data theft. [1] On Chromebooks, enabling developer mode makes the system less secure than a standard laptop running Linux. [2] Unlocking the bootloader may lead to data loss on Android and ChromeOS devices, as some data is impossible to back up without root permission. This will also lead to certain security apps not working, such as Samsung Knox for which the counter would be stuck at "0x1."
Sascha Segan from PCMag considered a locked bootloader a mistake on the Qualcomm Snapdragon Insiders phone, which is targeted at advanced users. [3]
Unlocking the bootloader is typically a prerequisite of obtaining root access and/or installing a custom ROM.
Manufacturer | Difficulty level | Method |
---|---|---|
Easy (non-Verizon) Impossible (Verizon) | Command-line (unlocked variant, not restricted to carrier, and non-Verizon carrier variants when paid off fully) | |
Samsung | Easy (EU and others) Impossible (US) | Development settings (except North American cellular variants), however, if modified or custom firmware is flashed, Samsung Knox will be permanently tripped, so Samsung Wallet, Secure Folder and applications made use of the Knox framework will be permanently unusable even if the bootloader is re-locked. (Not all Samsungs device have Knox, for example: J7 Prime do not have Knox eFuse.) [4] |
OnePlus | Easy (non-T-Mobile) Medium (T-Mobile) | Command-line, except on T-Mobile US variants where an unlock code is needed |
Xiaomi | Hard (outside China Mainland) Very Hard (China Mainland) | Add Mi account, request code via Windows-only software, wait for 3 days on HyperOS or 1 week for MIUI (limited to one device per month and three devices per year). On devices with Xiaomi HyperOS outside mainland China, you need to request for bootloader unlock permission for your Xiaomi account in the Xiaomi Community app before you can proceed with bootloader unlocking. Your Xiaomi account needs to be at least 1 month old to be eligible. For Mainland China devices with HyperOS, you need to reach Xiaomi Community Level 5 and take an exam and pass the manual grading before you can add your account. On some devices with Mediatek system on a chip it might be possible to unlock using MTKClient, a third-party tool. |
Asus | Impossible | Unlocking was performed via a first-party unlocking tool, but servers and app were removed. |
Sony | Medium | Command-line, request code at Sony website |
Fairphone | Medium | Command-line, request code at Fairphone website or forum |
Motorola | Medium (non Verizon, AT&T, Tracfone) Impossible (Verizon, AT&T, Tracfone) | Command-line, request code at Motorola website |
Realme | Medium-Hard (China Mainland and India) Impossible (global) | Command-line, after installation of the in-depth test app and submitting an application for in-depth testing. |
Nothing | Easy | Command-line |
Huawei | Medium-Hard (Kirin SoCs, select Huawei phones) Impossible, due to unlocking services being shut down (Other devices) | Select Huawei phones using the Kirin SoC can have their bootloader unlocked via potatonv: https://www.xda-developers.com/huawei-honor-bootloader-unlock-potatonv/ Other devices: N/A |
OPPO | Easy (MediaTek) or phones that bought in mainland China [5] Medium (Snapdragon) Only any phones in support list are possible to unlock Snapdragon-powered OPPO phone, [6] any phones that's not in support lists is still possible if using paid tool also known as UnlockTool, without paid tool. It would be impossible to unlock. Unlocking is possible on some mediatek SoCs via MTKClient. Note that about fastboot binaries were removed, or locked by RSA key | Snapdragon: https://us.docs.wps.com/l/sIIS95rToAcW2x7AG?v=v2 [7] MediaTek: MTKClient, sometimes MTK bypass utility are required beforehand Any phones that's bought from mainland China and in device support lists of depth-test: Unlock by depth test regardless of SoC, depth test app can be downloaded from https://www.oppo.cn/thread-397164526-1 then unlock via adb with simple command line while in fastboot state If you are getting "Handshake failed" on MTKCilent, then it is necessary to test point to force boot into boot ROM |
HMD-Nokia | Impossible | N/A |
vivo | Impossible [8] Unless there are XDA forums that have methods to unlock, but some method cannot be used after updated phone patched exploit. The user can access fastboot, but the manufacturer has modified the bootloader so that it does not respond to any commands to unlock bootloader. | Vivo X70 Pro+ https://xdaforums.com/t/vivo-x70-pro-bootloader-unlock-how-to-guide.4444989/ Vivo Y31 2021 https://xdaforums.com/t/unlocking-bootloader-rebooting-in-edl-without-testpoint-vivo-y31-2021.4440801/ |
LG | Hard | Possible, with the help of leaked engineering bootloaders available to be flashed via QFIL utility |
Tecno | Medium | Command-line, (requires Tecno ID account on the phone, registered in two weeks or more, to activate OEM unlocking.) |
Infinix | Medium | Command-line, (requires Infinix ID account on the phone, registered in two weeks or more, to activate OEM unlocking.) |
Itel | Medium | Command-line, (requires Itel ID account on the phone, registered in two weeks or more, to activate OEM unlocking.) |
TCL | Medium (Ion V only) Unknown (other phones) | For the Ion V mobile phone, you can use a Python tool to reboot to a normally hidden fastboot, then use the fastboot command 'fastboot flashing unlock' to unlock it. |
Amazon (fire hd) | Medium | Brick while fastbooting via adb command line (only Linux) |
The bootloaders of Nexus and Pixel devices can be unlocked by using the fastboot command fastboot oem unlock
or if it doesn't recognize the command fastboot flashing unlock
. [9]
When Motorola released a bootloader unlocking tool for the Droid Razr, Verizon removed the tool from their models. [10]
In 2011, Sony Ericsson released an online bootloader unlocking tool. [11] Sony requires the IMEI number to be filled in on their website. [12] For the Asus Transformer Prime TF201, Asus has released a special bootloader unlock tool. [13]
In 2012, Motorola released a limited tool for unlocking bootloaders. [14] They require accepting terms and conditions and creating an account before the bootloader can be unlocked for your Motorola device. [15]
A 2012 article by The Verge called the unlockable bootloaders a 'broken promise' and called for a fix. [16]
HTC phones have an additional layer of lock called "S-OFF/S-ON".
Bootloaders can be unlocked using an exploit or using a way that the vendor supplied. The latter method usually requires wiping all data on the device. [17] In addition, some manufacturers prohibit unlocking on carrier locked phones. Although Samsung phones and cellular tablets sold in the US and Canada do not allow bootloader unlocks regardless of carrier status, a service has allowed users on an earlier version to unlock their US/Canadian Samsung phone(s) and/or tablet(s) [18] [19]
In 2018, a developer from XDA Developers launched a service which allowed users to unlock the bootloader of some Nokia smartphone models. [20] Similarly, another developer from XDA Developers launched a service to allow users to unlock the bootloaders of Samsung Galaxy S20 and Samsung Galaxy S21 Phones.
Huawei announced plans to allow users to unlock the bootloader of the Mate 30 series, but later retracted that. [21] Huawei has stopped providing bootloader unlock codes since 2018. [22] A bootloader exploit named checkm30 has been developed for HiSilicon based Huawei phones. [23] [ non-primary source needed ]
When the bootloader of the Samsung Galaxy Z Fold 3 was unlocked, the camera became less functional. This could be restored by re-locking the bootloader. [24] This issue was later fixed by Samsung. [25] For the Samsung Galaxy S22 series, unlocking the bootloader has no effect on the camera. [26]
The WPInternals tool is able to unlock bootloaders of all Nokia Lumia phones running Windows Phone, but not phones like the Alcatel Idol 4 or HP Elite x3. [27] [28] Version 1.0 was released in November 2015. [29] In October 2018, the tool was released as open source software when the main developer René Lergner (also known as HeathCliff74) stepped down. [30]
The slab bootloader used by Windows RT could be unlocked using a vulnerability, but was silently patched by Microsoft in 2016. [31] UEFI Secure Boot on x86 systems can generally be unlocked.
The boot ROM protection on iOS devices with an A11 processor or older can be bypassed with a hardware exploit known as checkm8, which makes it possible to run other operating systems including Linux. [32]
The bootloader on Apple Silicon-based Macs can be unlocked. [33] However, other Apple devices like the iPhone and iPad cannot be bootloader unlocked even when using the same chip used in a Mac.
The equivalent of bootloader unlocking is called developer mode in Chromebooks. [34] Chromebooks use custom bootloaders that can be modified or overwritten by removing a Write-protect screw. [35] Some models lack a screw and instead may or may not require disabling the onboard Cr50 chip.
In 2013, the bootloader of the Chromecast was hacked using an exploit. [36] In 2021, it was hacked again for newer versions. [37] In 2023, it was reported that the Chromecast HD could be unlocked without exploit. [38]
Asus used to provide an Unlocking tool for both of their smartphone lines, the Zenfone and ROG Phone. This worked as an installable .apk file that the user could install on their phone, then unlock the bootloader. The app worked by contacting Asus unlocking servers, then prompting the user to perform a factory reset.
In 2023 Asus removed the tool from their website and closed the unlocking servers, so even phones with the .apk file installed couldn't unlock their bootloaders. Representatives on the Asus forums claimed the tool would be available again, but as of March 2024 no additional information has been provided, even after the release of their latest device the ROG Phone 8 and the upcoming release of the Zenfone 11 Ultra.
A user on the popular forum XDA (website) filed a court claim application against Asus due to the unlock tool never being released and alleged that Asus censored comments about the unlock tool on their form. [39]
In August 2022, security researcher Lennert Wouters applied a voltage injection attack to bypass firmware verification of a Starlink satellite dish from SpaceX. [40]
On Android, it is possible to relock the bootloader. [41]
According to information from technology groups in Vietnam, after updating version 2.1.6 of the VNeID application released on May 30, 2024, some Android phone users have received warnings : "Your device is not safe, there is a risk of containing malicious code...". As a result, users are thrown to the main screen and cannot use the VNeID application, even though before the update they could still log in and use it normally.
This is because VNeID 2.1.6 update has added new security measures to stop working on Android devices with root access, unlocked bootloader and developer mode enabled. To use, users must disable root access to the device, relock bootloader and turn off developer options. [42]
In 2018, Huawei stopped providing bootloader unlock codes. [43] On 31 December 2021, LG shut down their website which provided bootloader unlock codes. [44] In August 2023, ASUS removed the unlocking tool from their website and shut down the servers used to unlock the bootloader. [45]
Android is a mobile operating system based on a modified version of the Linux kernel and other open-source software, designed primarily for touchscreen-based mobile devices such as smartphones and tablets. Android has historically been developed by a consortium of developers known as the Open Handset Alliance, but its most widely used version is primarily developed by Google. First released in 2008, Android is the world's most widely used operating system; the latest version, released on October 15, 2024, is Android 15.
The Android Dev Phone (ADP) is a SIM-unlocked and bootloader unlocked Android device that is designed for advanced developers. While developers can use regular consumer devices purchased at retail to test and use their apps, some developers may choose not to use a retail device, preferring an unlocked or no-contract device.
Rooting is the process by which users of Android devices can attain privileged control over various subsystems of the device, usually smartphones and tablets. Because Android is based on a modified version of the Linux kernel, rooting an Android device gives similar access to administrative (superuser) permissions as on Linux or any other Unix-like operating system such as FreeBSD or macOS.
Google Nexus is a discontinued line of consumer electronic mobile devices that ran a stock version of the Android operating system. Google managed the design, development, marketing, and support of these devices, but some development and all manufacturing were carried out by partnering with original equipment manufacturers (OEMs). Alongside the main smartphone products, the line also included tablet computers and streaming media players; the Nexus started out in January 2010 and reached its end in October 2016, replaced by Google Pixel family.
The hacking of consumer electronics is a common practice that users perform to customize and modify their devices beyond what is typically possible. This activity has a long history, dating from the days of early computer, programming, and electronics hobbyists.
The Nexus S is a smartphone co-developed by Google and Samsung and manufactured by Samsung Electronics for release in 2010. It was the first smartphone to use the Android 2.3 "Gingerbread" operating system, and the first Android device to support Near Field Communication (NFC) in both hardware and software.
The Motorola Atrix 4G is an Android-based smartphone developed by Motorola, introduced at CES 2011 along with the Motorola Xoom, Motorola Droid Bionic, and Motorola Cliq 2 on January 5, 2011. It was made available in the first quarter of 2011.
The HTC Sensation is a smartphone designed and manufactured by HTC Corporation that runs the Android 2.3 Gingerbread software stock. Officially announced by HTC on April 12, 2011, the HTC Sensation was launched by Vodafone in key European markets including the United Kingdom on May 19, 2011 and by T-Mobile in the United States on June 12, 2011. It was HTC's fifth flagship Android phone and the first HTC phone to support the HTC Sense 3.0 user interface. At the time of its release, the Sensation XE was the world's fastest Android phone.
The Verizon Droid Razr is an Android-based, 4G LTE-capable smartphone designed by Motorola that launched on Verizon Wireless on November 11, 2011. It was announced on October 18, 2011 in New York City.
Miracast is a wireless communications standard created by the Wi-Fi Alliance which is designed to transmit video and sound from devices to display receivers. It uses Wi-Fi Direct to create an ad hoc encrypted wireless connection and can roughly be described as "HDMI over Wi-Fi", replacing cables in favor of wireless. Miracast is utilised in many devices and is used or branded under various names by different manufacturers, including Smart View, SmartShare, screen mirroring, Cast and Connect, wireless display and screen casting.
Wear OS is a closed-source Android distribution designed for smartwatches and other wearable computers, developed by Google. WearOS is designed to pair with mobile phones running Android or iOS, providing mobile notifications into a smartwatch form factor and integration with the Google Assistant technology.
The Xiaomi Redmi 1S, code-named armani HM 1S, is a smartphone released in May 2014, developed by the Chinese company Xiaomi Inc. It is a part of the Redmi series of smartphones, and succeeded the Redmi 1. Visually similar to its predecessor, it comes with a 4.7-inch screen, a quad-core 1.6 GHz Cortex-A7 processor and runs Android version 4.3 (Jellybean), bundled with the proprietary MIUI v5 user interface, which can be upgraded to MIUI v9 based on Android 4.4.4 KTU84P.
Odin is a utility software program developed and used by Samsung internally which is used to communicate with Samsung devices in Odin mode through the Thor (protocol). It can be used to flash a custom recovery firmware image to a Samsung Android device. Odin is also used for unbricking certain Android devices. Odin is the Samsung proprietary alternative to Fastboot.
Custom firmware, also known as aftermarket firmware, is an unofficial new or modified version of firmware created by third parties on devices such as video game consoles, mobile phones, and various embedded device types to provide new features or to unlock hidden functionality. In the video game console community, the term is often written as custom firmware or simply CFW, referring to an altered version of the original system software inside a video game console such as the PlayStation Portable, PlayStation 3, PlayStation Vita/PlayStation TV, PlayStation 4, Nintendo 3DS, Wii U and Nintendo Switch. Installing custom firmware on some devices requires bootloader unlocking.
The Moto G4 is a line of Android smartphones manufactured by Motorola Mobility, a subsidiary of Lenovo. It is the successor to the third-generation Moto G, and was first released in Brazil and India on May 17, 2016, with other markets following.
Samsung DeX is a feature included on some high-end Samsung handheld devices that enables users to extend their device into a desktop-like experience by connecting a keyboard, mouse, and monitor. The name "DeX" is a contraction of "Desktop eXperience".
postmarketOS is an operating system primarily for smartphones, based on the Alpine Linux distribution.
One UI is a user interface (UI) developed by Samsung Electronics for its smart devices, including Android devices running Android 9 (Pie) and later. Succeeding Samsung Experience, it is designed to make using larger smartphones easier and be more visually appealing. It was announced & unveiled at Samsung Developer Conference in 2018, and was updated in Galaxy Unpacked in February 2019 alongside the Galaxy S10 series, Galaxy Buds and the Galaxy Fold.
A foldable smartphone is a smartphone with a folding form factor. It is reminiscent of the clamshell design of many earlier feature phones. Some variants of the concept use multiple touchscreen panels on a hinge, while other designs utilise a flexible display. Concepts of such devices date back as early as Nokia's "Morph" concept in 2008, and a concept presented by Samsung Electronics in 2013, while the first commercially available folding smartphones with OLED displays began to emerge in November 2018.
CalyxOS is a Android-based operating system for select smartphones, foldables and tablets with mostly free and open-source software. It is produced by the Calyx Institute as part of its mission to "defend online privacy, security and accessibility."
{{cite book}}
: CS1 maint: location missing publisher (link){{cite book}}
: CS1 maint: location missing publisher (link){{cite book}}
: CS1 maint: location missing publisher (link){{cite web}}
: CS1 maint: numeric names: authors list (link){{cite web}}
: CS1 maint: numeric names: authors list (link)