TL;DR: You should lock your bootloader only after restoring a complete, correctly signed image for your exact device. Property spoofing may hide weak software checks, but it cannot change hardware-backed boot evidence. Relocking improves security and may restore certification, yet it wipes data and can brick a phone with mismatched firmware.

By the PrivacyPortal team
Last updated October 2026.
If Android says “Lock your bootloader to certify”, changing software properties is unlikely to solve the cause. The phone is reporting an unlocked or untrusted boot chain. A safe fix usually means returning to approved firmware and relocking. However, a locked bootloader alone does not guarantee Play Integrity, banking access or certification. The installed operating system must also meet Google and manufacturer requirements.
Why Android wants you to lock your bootloader
The bootloader starts before Android. It verifies the operating system and decides whether the phone may load it. Unlocking permits software that the manufacturer has not approved.
That freedom is useful for rooting and custom ROMs. It also weakens a key security boundary. An attacker with physical access may replace system software more easily. Android therefore records the device as unlocked.
Android Verified Boot uses signed metadata to check partitions before they run. On a locked device, invalid or modified partitions should stop the normal boot process. An unlocked device can display a warning and continue.
Android Verified Boot 2.0 extends verification from the boot partition to other verified partitions through signed metadata and rollback protection.
The official Android Verified Boot documentation explains this chain of trust in detail.
Caption: The boot chain checks signed components before Android reaches the lock screen.
Why property spoofing fails
Android properties are small values that describe the device and build. Apps may read values such as the model, fingerprint or build type. Property spoofing Android tools replace selected values with expected ones.
This can fool a weak local check. It cannot honestly change the boot state measured by trusted hardware. Modern attestation can request evidence produced outside normal Android processes. A Magisk module cannot simply rewrite that evidence.
In practice, users sometimes enable every available spoofing option and still see an uncertified device. The message stays because the failed signal is not the visible model name. It may be the verified boot state, signing identity or image approval status.
A search for “magisk device not certified” often leads to long module recipes. Those recipes may alter with each server update. They also add failure points without fixing the underlying trust state.
Certification and Play Integrity are different checks
Play Store certification means Google recognises the device and installed software as compatible. Play Integrity gives an app several verdicts about the current environment. They overlap, but they are not identical.
| Signal | What it asks | Can a property change fix it? |
|---|---|---|
| Local app check | Does Android report a suspicious model, build or package? | Sometimes, if the check is weak |
| Play certification | Is this device and software build recognised by Google? | Usually not |
| Verified boot state | Did a locked bootloader verify the signed boot chain? | No |
| Play Integrity | Does Google accept the device, image and runtime state? | Not reliably |
| App risk checks | Does the app detect root, hooks or unusual behaviour? | It depends on the app |
For Android 13 and later, MEETS_DEVICE_INTEGRITY requires a locked bootloader and a certified manufacturer image.
Google documents current verdict conditions in its Play Integrity verdict guidance.
Why relocking does not guarantee certification
A locked bootloader proves only that the active image matches a key the device trusts. It does not automatically make that image Google-certified.
A supported custom operating system may provide its own verified boot chain. Some devices can safely relock around that chain. This restores meaningful boot verification, but it need not produce the same Play Integrity result as stock firmware.
On Android 13 and later, the device integrity verdict also expects a certified manufacturer image. A secure, user-controlled operating system can therefore be locked and still fail that verdict.
Certification databases may also take time to update after stock firmware returns. Play Store data can be stale. A manufacturer build may be withdrawn or may not match the phone’s region.
Do not repeatedly lock and unlock while testing. Each transition normally wipes user data. A relock with incomplete or wrongly signed partitions may leave the phone unable to boot.
Decide whether relocking is the right fix
Use the phone’s purpose to guide the decision. There is no single best state for every owner.
| Your priority | Practical choice | Main trade-off |
|---|---|---|
| Strong stock compatibility | Restore complete stock firmware, then relock | You lose root and most custom changes |
| A secure supported custom OS | Follow that project’s official relocking guide | Google certification may still fail |
| Root development and testing | Remain unlocked on a non-critical device | Reduced physical security and app compatibility |
| Banking or Wallet access | Prefer an unmodified, certified stock device | No result is guaranteed for a specific app |
If essential apps require a trusted stock environment, the clean route is usually stock firmware. PrivacyPortal’s guide to installing GrapheneOS is relevant only to officially supported devices. Follow its relocking rules exactly.
How to lock your bootloader safely
This general workflow applies only when your device maker or operating-system project officially supports relocking.
- Back up everything. Copy photos, authenticator recovery details, messages and app data somewhere you can test.
- Identify the exact device. Record its model, region, carrier variant and current bootloader revision.
- Read the official relocking instructions. Confirm that your exact model accepts the intended signed image.
- Download the required files. Use the current Android SDK Platform-Tools and the complete official firmware package listed in the files section.
- Verify the download. Compare its checksum when the manufacturer or project publishes one.
- Remove root and unsupported modifications. Magisk, Shamiko and spoofing modules are not substitutes for clean partitions.
- Flash every required partition. Use the official tool and exact sequence for that device.
- Boot the restored system once. Check that Android starts, storage works and updates recognise the build.
- Return to the bootloader. Run the documented relock command, often fastboot flashing lock, only when the guide specifies it.
- Confirm the on-screen warning. The phone will normally erase its data, restart and initialise a clean system.
Prerequisites before you relock
You need a reliable cable, a charged phone and a computer with working USB drivers. Install Google’s official Android SDK Platform-Tools, not an unknown minimal ADB bundle.
Keep the stock firmware package available until verification is complete. The package must match the exact hardware and permitted bootloader revision. An older package may be blocked by rollback protection.
Check both boot slots if the device uses A/B seamless updates. One slot can contain an old or modified image. Relocking while that slot remains invalid can cause a failure after an update or slot switch.
Unlocking the bootloader wipes data. Relocking normally wipes it again. Treat any different behaviour as device-specific, not as a promise that files will survive.
How to verify the result
First, boot Android without bypassing any warning. Check the bootloader screen or official device command for a locked state. Do not rely only on an app inside Android.
Open the Play Store and review its certification status. Allow normal account and service updates to finish. A result may not change at once.
Then test system updates and hardware features. Check the camera, calls, storage encryption and both boot slots where relevant. Only restore important data after the device has restarted cleanly several times.
Finally, test each essential app on its own. A passing integrity checker cannot promise that a bank, workplace app or payment service will accept the phone.
Caption: Verify the boot state, system updates and essential apps before restoring personal data.
Relocking can brick a modified phone
The most dangerous mistake is relocking while a modified partition remains active. Boot, vendor, recovery, system or verified-boot metadata may no longer match the trusted signature.
A soft brick may leave fastboot or recovery available. A hard failure can require manufacturer service tools. Some devices offer no user-accessible recovery path.
- Never relock merely to remove a warning message.
- Never mix firmware from different regions or model variants.
- Do not flash an older bootloader when rollback protection forbids it.
- Do not assume a factory reset restores modified partitions.
- Do not relock a generic system image unless the device guide permits it.
- Do not change OEM unlocking settings casually on an already-unlocked phone.
If official instructions do not cover your build, stop. Keeping a working phone unlocked is safer than relocking an uncertain image.
What happens to keys, DRM and trusted hardware
Unlocking does not remove the Trusted Execution Environment. That protected environment still exists. However, unlocking changes what the device can trust.
Hardware-backed keys are commonly wiped or invalidated during unlock. This protects data if someone tries to unlock a stolen phone. Widevine playback may fall from L1 to L3, which can reduce streaming quality.
Samsung devices may permanently set the Knox warranty bit. Some older Sony devices also lost DRM material during unlocking. Relocking does not reverse every manufacturer-specific change.
Many devices restore normal attestation after complete stock firmware is installed and the bootloader is locked. That outcome depends on the manufacturer, model and previous modifications.
Warranty terms also vary. A manufacturer may treat bootloader changes differently from a hardware defect. Check the terms for your country before proceeding.
Why root-hiding modules are not a security fix
Magisk and related tools are useful for legitimate development on your own device. Their hiding features target software detection. They do not make an unlocked boot chain equivalent to a locked one.
Module combinations can also conflict. Shamiko may require a particular Zygisk setup. Enforcing Magisk’s denylist can interfere with some Shamiko configurations. ReZygisk compatibility differs between Magisk variants.
SUSFS is a kernel feature and is not directly provided by standard Magisk. Combining unrelated guides can therefore produce an unstable stack with no certification benefit.
Version-specific recipes age quickly. Magisk 29.0, Canary builds and Alpha releases have had different module behaviour. A recipe that passes today may fail after an app or server update.
If security is the goal, lock your bootloader around a fully supported signed system. If experimentation is the goal, keep it unlocked and avoid storing high-value data on that test device.
Some features reject unlocked devices by policy
Not every failure is an integrity puzzle. A service may directly refuse unlocked devices, even when other checks appear healthy.
Google AICore can return error 606, FEATURE_NOT_FOUND, when the device bootloader is unlocked; passing another integrity check does not override that policy.
A spoofed fingerprint cannot safely fix this type of block. The service is making a policy decision from a stronger signal.
The same principle applies to banking, payment and workplace apps. Developers can combine Play Integrity with local checks, account risk and server history. Two apps on the same phone may reach different decisions.
Never assume that “strong integrity” in a checker guarantees Google Wallet or a particular bank. Only the service operator controls its final access rules.
Caption: App access can depend on boot state, certification and the provider’s own risk rules.
What “device not certified” on Android usually means
The phrase “device not certified Android” often appears after installing a custom ROM, unlocking or restoring incomplete firmware. It can also appear on an imported model with unsupported regional software.
Start by checking the Play Store certification entry. Then confirm the build fingerprint matches the genuine installed image. A plausible fingerprint alone does not prove that the rest of the image is certified.
If stock firmware is the goal, restore the whole package. Do not copy properties from another model. That can break updates and mislead apps about available hardware.
If a custom operating system is the goal, accept that Play certification may remain unavailable. Choose software that publishes a clear verified-boot and update model. Security should not depend on pretending to run another device’s firmware.
Frequently asked questions
Will certification return if I lock your bootloader as instructed?
It may return after complete, certified stock firmware is restored. It is not guaranteed. The image, model, region and manufacturer approval must also match. Android 13 and later apply the certified-image requirement to MEETS_DEVICE_INTEGRITY.
Can property spoofing make an unlocked phone genuinely locked?
No. It can change values read by ordinary Android processes. It cannot honestly rewrite hardware-backed evidence about the verified boot state.
Does relocking remove Magisk and root?
Relocking itself is not an uninstaller. You should remove Magisk and restore every modified partition first. Relocking over a patched boot image can stop the device from booting.
Can I relock while using a custom ROM?
Only when that operating system and device officially support it. The ROM needs a valid verified-boot chain trusted by the phone. Never apply a generic relocking guide to an unsupported ROM.
Will my banking apps work after relocking?
They may, especially on clean and certified stock firmware. No method can promise access to a specific bank. Banks use their own checks and can change them without notice.
Why does Android still say “Lock your bootloader to certify”?
The phone may still be unlocked, the active image may be uncertified, or restored partitions may not match. Cached Play service data can also delay a status change. Verify the bootloader state outside Android before troubleshooting software properties.
Should I lock your bootloader for better security?
Yes, when the installed system officially supports secure relocking. A locked, verified and regularly updated boot chain is safer against persistent tampering. Back up first and never relock uncertain firmware.
The practical conclusion
Property spoofing can change surface-level identity. It cannot create a genuine hardware-backed chain of trust. That is why an uncertified phone may keep asking you to lock your bootloader.
The safest route is simple in principle. Back up, restore the exact supported image, verify every required partition, and relock through the official process. Then test certification and important apps without assuming success.
Custom software can still offer strong security when it supports verified boot and prompt updates. It may not satisfy Google’s certified-image rules. Choose between stock compatibility and custom control with that distinction in mind.
Modules, apps & files to try
Here are the actual tools the rooting community uses for this, each linked to its official source. They're third-party community projects, so download only from the official page below, back up your boot.img first, and follow each project's own instructions. PrivacyPortal isn't affiliated with these projects and can't guarantee third-party files — flash at your own risk.
| File | What it is & how to use it safely |
|---|---|
| Magisk (GITHUB) | The original and most widely used Android root manager; systemless root via boot-image patching, with built-in Zygisk, a module system and a DenyList for hiding root. Download ONLY from the official repo github.com/topjohnwu/Magisk — its README states GitHub is the sole official source, and third-party "Magisk Manager" sites/APKs are frequently repackaged with malware. Rooting trips Play Integrity and can brick a device: back up your stock boot.img before patching/flashing, and never flash a Magisk ZIP/APK obtained from a Telegram link or random mirror. |
| ReZygisk (GITHUB) | A community Zygisk implementation that provides the Zygote-injection layer Zygisk modules depend on, usable with Magisk (including Alpha), KernelSU, and APatch. Community FOSS module that runs with root (superuser) access. Download ONLY from the official GitHub releases page (github.com/PerformanC/ReZygisk/releases) — not from Telegram or mirror sites — and back up your boot.img before flashing in case you need to recover. It is a Zygisk provider, not a Play Integrity/keybox 'fix' on its own. |
| Shamiko (GITHUB) | Zygisk module that hides root traces and Zygisk itself from detection; runs on APatch via Zygisk Next (note: pairs with Zygisk Next, not ReZygisk). Legitimate root-hiding module from the LSPosed team, and the candidate link points to a genuine official release (Shamiko v1.2.5 / build 414). Caveats a reader should know: (1) Only download from the official LSPosed.github.io releases page — third-party "Shamiko download" sites and Telegram mirrors are common and unverified. (2) The project is effectively frozen: the LSPosed team halted maintenance and the repos are archived; v1.2.5 (June 2024) is the last release, with no 2025-2026 updates. Modern successors are ReZygisk / NeoZygisk. (3) Shamiko is closed-source, and APatch's own FAQ states it is unsupported ("use at your own risk"). (4) It pairs with Zygisk Next (not ReZygisk). As with any module, back up boot.img before flashing. |
| SUSFS (GITLAB) | Kernel-level filesystem-hiding patch (VFS layer) that hides root-related files and mounts from apps; requires kernel support and is applied via the patched kernel. SUSFS is a kernel-level patch, not a one-click app — it requires a SUSFS-patched kernel, so back up your boot.img/stock kernel before flashing and only use the official simonpunk GitLab repo or a reputable pre-patched kernel. Upstream calls it experimental; a bad flash can bootloop your device. |
PrivacyPortal sells ready-to-use, de-Googled GrapheneOS Pixels — hardened, kept updated, and shipped with our encrypted Graphite messenger. Browse privacy phones →
