DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
Mountain View desk4 min

Relocking an Android Bootloader: Check These Things Before You Lock It

Relocking is safest only when the phone runs software accepted for its exact model. Back up first, check verification and anti-rollback instructions, and avoid treating generic fastboot commands as universal.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Before relocking an Android bootloader, make sure the phone is running software the manufacturer accepts for that exact model, back up your data, and follow the manufacturer’s current instructions. Relocking makes the bootloader verify the operating system against a trusted root of trust. If the installed software is modified or unsupported, verification can fail and the phone may not boot. These checks reduce avoidable risk; they cannot guarantee a device will never become unbootable.

Why the software state matters before relocking

An unlocked bootloader can allow software that is not signed by the device’s trusted root of trust to start. When the bootloader is locked, Android’s verified-boot process checks that the operating system is trusted and unmodified. If the phone contains a custom ROM, patched boot image, modified recovery, or mismatched firmware, it may fail that check after relocking.

As an Amazon Associate I earn from qualifying purchases.

Only relock when the device is in a manufacturer-approved state, or when the manufacturer or ROM project explicitly documents a supported signed-key relock path for your exact device and configuration. A build that merely boots while unlocked is not proof that it will pass verification while locked. AOSP describes the relationship between device state and verified boot in its Device state documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Preflight checklist: what to do before you relock

  1. Identify the exact device and build. Record the phone’s model, regional variant, Android version, and current build number. Firmware and locking instructions can differ between variants of the same phone.
  2. Find the current official instructions. Read the manufacturer’s relocking and firmware-restoration directions for that exact model and build. Do not assume a generic Android command or a guide for a similar phone applies.
  3. Back up data and prepare for a reset. A device-state transition can wipe data. AOSP says transitions wipe data partitions, and Google warns that manually locking a Pixel may require a factory reset. Save files and confirm you can restore accounts and other important data before proceeding. See AOSP’s Lock and unlock the bootloader instructions.
  4. Restore all relevant software components. Return firmware and partitions to the vendor-approved state for your model. Remove root, patched images, custom recovery, and unsupported ROM components unless a documented signed-root workflow specifically supports them.
  5. Confirm the phone boots and passes the available verification check. Use the manufacturer’s verification method to confirm the expected trusted state. A successful boot while unlocked alone is not enough.
  6. Check anti-rollback and boot-slot instructions. Follow any model- and build-specific firmware sequencing directions before locking. These precautions can change with security updates.
  7. Use only the exact relock procedure for your device. Stay with the phone, read and confirm its on-screen prompt, and let the operation finish without interruption. Afterward, check that it boots normally and reports the expected locked and verified state.

Do not run a relock command, flash a package, or attempt a rollback based only on a general guide when the phone model and installed build have not been identified.

#1 Best Overall
iFixit Essential Electronics Toolkit - PC, Laptop, Phone Repair Kit
  • COMPLETE: This set contains a variety of tools - Besides various opening tools, it includes 16 precision bits (4 mm) and a precision screwdriver with a magnetic bit socket, knurled grip, and swivel top for easy operation.
  • STARTER SET: You want to replace a broken screen or battery in your smartphone? This toolkit provides the necessary tools for a basic electronic repair. Compatible with Apple, Samsung, Huawei, Sony and many more devices!
  • FUNCTIONAL: Thanks to the foam insert and magnetic closure of the case, tools, components and bits can be safely stored and transported. Additionally, the inside of the lid serves as a sorting tray.
  • MUST-HAVE: This tool-set was designed to repair any smartphone, game console, tablet, PC, etc. It also serves for most household DIY fixes.
  • IFIXIT QUALITY: These 16 precision-bits (4 mm) are made of high-quality S2 steel. The precisely machined bits fit properly into the screws and protect both the bit and the fasteners from damages.

Why a generic fastboot command is not a universal recipe

AOSP documents fastboot flashing lock as a generic command for locking the bootloader and resetting the device. That documentation does not establish that every manufacturer, model, or firmware version uses the same command or sequence. AOSP’s instruction is to “lock the bootloader and reset the device” with that command; use it only if the instructions for your exact device call for it.

Before acting, get the current procedure from the manufacturer for the precise model, regional variant, and installed build. If those instructions are unavailable or do not clearly cover your configuration, do not guess at a command or firmware sequence.

Rank #2
iFixit Pro Tech Toolkit - Electronics, Smartphone, Computer & Tablet Repair Kit
  • The original electronics toolkit: Designed for computer, smartphone, tablet, and gaming repair, backed by thousands of free instructions.
  • Intentional selection: All the tools you need. A 64 precision bit driver set, tweezers, flex extension, opening tools, and anti-static wristband.
  • Secure design: Magnetic case and foam insert ensure secure storage and transportation. Additionally, the inside of the lid serves as a sorting/organization tray.
  • Lifetime Warranty: We'll replace anything that breaks, as long as you own it.

Pixel-specific checks and update cautions

The following details apply to Pixel devices, not to Android phones generally. Google’s Verify your Android operating system page describes Pixel verification results. “Locked” under the Bootloader check needs no further action; an “Unlocked” result can be manually locked, but Google warns that a factory reset may be required. For Boot state, “Verified” means the OS is official and unmodified. “Self-signed” indicates a custom signing key, and “Failed” means the OS is corrupted. Google directs users who need repair toward a Google-approved public build or the Pixel Repair tool.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Google’s Factory Images for Nexus and Pixel Devices page says factory images restore original factory firmware, but a full OTA image is typically easier and safer to sideload. Factory-image installation erases data. Google recommends relocking after factory-image work is complete. The page was last updated 2026-10-06 UTC; check it again immediately before acting because its model-specific instructions can change.

Rank #3
45PCS Precision Screwdriver Set, Small Screwdriver wtit Flathead Phillips
  • Wide Scope of Application: Suitable for iPhone/Samsung/Huawei and other cell phones; Mini/Air/Pro and Huawei/Honor and other laptops; Macbook/Air/Pro; Kindle/Kindle Fire; Ring Video Doorbell/ Video Doorbell 2/Pro/Elite; PS4/PS5/XOBX game console controllers and consoles, and PC laptops , watches, glasses, jewelry, toys, flight models, drones, cameras, RC cars, and some small appliances like coffee makers
  • High quality material and S2 steel: Small screwdriver sleeve rod Screwdriver sleeve rod is made of chromium-vanadium alloy S2 steel hardening process, durable, corrosion and oxidation resistant and cutter head is magnetic. Handle has a special anti-slip design which is nice to hold. The ESD17 tweezers is made of stainless steel, painted to protect against static electricity, and have prongs that can easily grip small screws
  • Keep Organized: Mini screwdriver set with case is equipped with a transparent storage box to prevent loss, the screwdriver head comes in, so it is easy to remove the screwdriver you want at a glance
  • Ergonomic Design: The head of the precision screwdriver kit is designed with a smooth rotating head, and the handle is covered with a fishscale frosted particle surface, which enables non-slip comfortable control and faster rotation of the screw when screwing
  • What You Get: 45PCS Precision Screwdriver Set has 36 S2 screwdriver bits which are 6 X Phillips: 1.2, 1.5, 2.0, 2.5, 3.0, 4.0; 4 X Flathead: 1.2, 1.5, 2.5, 3.5; 2 X Pentalobe:1/32IN(0.8), 3/64IN(1.2); 4 X Torx: T2, T3, T4, T5; 6 X Torx security: T6H,T8H,T9H,T10H,T15H,T20H; MID-type: MID; SIM; 6 X H-type: H0.9, H1.3, H1.5, H2.0, H2.5, H3.0; 4 X Triwing: Y0.6, Y1.5, Y2.5, Y3.0; U-type: U2.6; Triangle: △2.3; with a screwdriver handle; Long Spudger; Tweezers: ESD17; Anti-static Brush; Double-ended spudger; 4 X Suction Cup; Transparent box

Pixel anti-rollback precautions are tied to particular releases

  • For Pixel 6, Pixel 6 Pro, Pixel 6a, Pixel 8, Pixel 8 Pro, and Pixel 8a, Google says the May 2025 Android 15 update raises the bootloader anti-rollback version. Affected devices cannot flash and boot older Android 15 builds afterward. Google’s instructions say to update and boot the release, then sideload the corresponding full OTA and reboot so both slots have a bootable image.
  • For Pixel 10, Pixel 10 Pro, Pixel 10 Pro XL, and Pixel 10 Pro Fold, Google says the May 2026 Android 16 update raises the anti-rollback version. Google warns that falling back to an inactive slot with an older bootloader can leave the device unbootable. Follow the current page’s instructions for the affected model and build before flashing.

These are release-specific Google instructions, not general Android rules. Do not apply them to another phone or build by analogy.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

If the device is already modified or verification fails

Do not relock while the phone is running unsupported software or reports an unexpected verification state. Restore a manufacturer-approved build using the exact device-specific directions first. On a Pixel, a “Self-signed” or “Failed” Boot state is not the “Verified” state Google describes for an official, unmodified OS; consult Google’s repair or public-build options rather than locking on the assumption that a custom or corrupted build will pass.

Rank #4
iFixit Repair Business Toolkit - Smartphone, Laptop, Tablet Starter Tools
  • COMPLETE: Everything you need to start a repair business—in one handy messenger bag. Get all tools together and save big!
  • UNIVERSAL: Tools chosen by iFixit technicians to tackle any household or professional DIY electronics repair project.
  • FUNCTIONAL: Robust iFixit messenger bag lets you take your business mobile.
  • MUST-HAVE: Includes essentials like the Pro Tech Toolkit, phone-opening Anti-Clamp, tweezers, spudgers, mats, digital multimeter + caliper, tapes, cleaner, cloths, and much more!
  • IFIXIT QUALITY: Covered by iFixit's Lifetime Warranty.

If the phone no longer boots, avoid repeating relock or flash attempts with instructions for another model. Use the manufacturer’s recovery or repair guidance for the exact device and firmware state.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

Bestseller No. 2
iFixit Pro Tech Toolkit - Electronics, Smartphone, Computer & Tablet Repair Kit
iFixit Pro Tech Toolkit - Electronics, Smartphone, Computer & Tablet Repair Kit
Lifetime Warranty: We'll replace anything that breaks, as long as you own it.
$79.95
Bestseller No. 4
iFixit Repair Business Toolkit - Smartphone, Laptop, Tablet Starter Tools
iFixit Repair Business Toolkit - Smartphone, Laptop, Tablet Starter Tools
FUNCTIONAL: Robust iFixit messenger bag lets you take your business mobile.; IFIXIT QUALITY: Covered by iFixit's Lifetime Warranty.
$299.95
Best Value
iFixit Pro Tech Go Toolkit - Portable Electronics Repair Set
  • Grab, Go, Fix! We created a bite-sized version of our best-selling Pro Tech Toolkit, featuring the 32-bit Moray Driver Kit and our most essential repair tools.
  • With the Pro Tech Go Toolkit, you can fix fearlessly with the specialty bits you need to open devices ranging from phones and laptops to smart home gadgets and gaming consoles, while skipping on the niche ones to keep it tidy and slim.
  • Whether you take it with you or keep it handy for fixes around the house, the Pro Tech Go is the go-to option for your everyday repairs, wherever they take you.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.