Use your GSM6 Support account.

• Updated • Abdul Malik (AM) • Android • 8 min

GhostLock Root on Supported Google Pixel Builds with a Locked Bootloader

The Root My Pixel project provides build-specific payloads that use the GhostLock kernel exploit to obtain temporary root while the bootloader remains locked. This is a narrow, firmware-dependent security-research workflow. It is not a general rooting method for every Pixel, Android release, or carrier variant.

The upstream payload repository describes credential and SELinux patching followed by a late-loaded ReSukiSU/KernelSU module. Root access ends after reboot. A locked bootloader does not mean the running system remains trustworthy while the exploit is active, does not prove that hardware attestation or security-sensitive apps will behave normally, and does not guarantee protection from a crash or data loss. Back up the device before testing.

Primary project references: Root My Pixel and Root My Pixel payloads. Check those repositories immediately before use; payload support can change independently of this article.


Technical Anatomy of the GhostLock Exploit (CVE-2026-43499)

The GhostLock exploit targets a use-after-free (UAF) condition within the Linux kernel priority inheritance futex implementation (kernel/locking/rtmutex.c), specifically located within the remove_waiter() function call. This subsystem manages priority inversion handling between real-time and normal threads.

Exploitation StageSubsystem InvolvedExecution MechanismSecurity Boundary Traversed
1. Futex Race Windowsys_futex system callHigh-frequency multithreaded contention triggers a race between waiter removal and thread destructionUnprivileged userspace to unmanaged kernel memory
2. Dangling Pointer ReuseKernel SLUB AllocatorHeap spray reclaims the freed waiter struct with controlled metadata structuresArbitrary kernel read/write primitive obtained
3. Memory Module InjectionDynamic Kernel Module LoaderBypasses module signature verification in memory to inject kernelsu.koSELinux policy enforcement and kernel memory protection
4. Superuser HookingKernel VFS & Syscall TablesKernelSU establishes hooks to manage UID 0 transitions for authorized processesGrants root context without modifying physical boot images

The elevated state is non-persistent and must be re-established after reboot. That fact alone does not prove that every failure leaves the device or user data unchanged.

![Root My Pixel app installing ReSukiSU via GhostLock exploit on Google Pixel locked bootloader](https://dl1.gsm6.com/articles/aaabi/posts/root-my-pixel-app-ghostlock-exploit-installing-resukisu-pixel-gsm6.webp)
Root My Pixel utility injecting the KernelSU module during runtime exploitation.

Architectural Comparison: Traditional Bootloader Unlock vs. GhostLock

Understanding the operational differences between permanent bootloader unlocking and runtime kernel module injection clarifies the use cases and limitations of each approach:

Architectural VectorTraditional Fastboot Unlock (Magisk/KernelSU LKM)Runtime Memory Injection (GhostLock)
Bootloader StateUnlocked (fastboot flashing unlock)Remains locked on an upstream-supported build
Running-system trustModified boot chain is visibleKernel security is actively bypassed during the rooted session
User Data RiskUnlocking wipes user dataNo unlock-triggered wipe, but crashes and exploit failures still require a backup
Carrier Policy RestrictionsOEM unlocking policy can block this routeSupport depends on an exact upstream payload; carrier status alone proves nothing
Persistence Across RebootsPermanent across soft and hard power cyclesEphemeral (Privileges terminate upon reboot)
Attestation and sensitive appsCommonly affectedNot guaranteed; test Wallet, RCS, banking and integrity-dependent apps separately

Environment Prerequisites and Required Components

Before attempting execution, ensure the device meets the targeted software parameters:

  1. Exact payload match: Match both the Pixel codename and full build ID against a target in the upstream payload repository. A security-patch month, Android version, or model family is not precise enough. If the exact pair is absent, stop.
  2. Elevated Shell Bridge (Shizuku): Deploys Android’s native Wireless Debugging service to provide shell (UID 2000) execution permissions required to interact with futex endpoints.
  3. Exploit Wrapper (Root My Pixel): The orchestration tool containing the offset mapping and module payload.
  4. Superuser Manager (ReSukiSU): The userspace interface for controlling superuser privileges granted by KernelSU.

Step-by-Step Google Pixel GhostLock Root Execution

Follow these sequential steps to establish temporary root privileges on a locked Google Pixel handset.

1. Install Required APKs

Download and install the three primary application packages on your Google Pixel handset: Shizuku, Root My Pixel, and ReSukiSU. You can sideload the APKs manually via an on-device browser or push them from a workstation. Once installed, reboot the phone normally to ensure package manager caches are synchronized.

![Install Shizuku, Root My Pixel, and ReSukiSU APKs on Google Pixel for GhostLock root method](https://dl1.gsm6.com/articles/aaabi/posts/install-shizuku-root-my-pixel-resukisu-apks-pixel-gsm6.webp)
The three core packages required for locked-bootloader kernel injection.
Package ComponentVersion TargetRepository Link
Shizukuv13.6.0 or laterDownload Official APK
Root My PixelUse a release that explicitly lists your full buildReview upstream releases
ReSukiSUUse the version required by that Root My Pixel releaseReview upstream releases

2. Pair and Start Shizuku

Launch Shizuku, tap Pair, and navigate to Settings > System > Developer Options > Wireless Debugging. Ensure your handset is connected to an active Wi-Fi network. Select Pair device with pairing code, note the pairing PIN, and enter it into the Shizuku notification prompt. After pairing succeeds, return to Shizuku and tap Start to initiate the background ADB daemon bridge.

3. Run GhostLock Exploit via Root My Pixel

Open Root My Pixel and compare the displayed device codename and full firmware build with the upstream payload target before granting Shizuku access. Tap Install ReSukiSU only after an exact match. An in-app success message is an execution result, not proof that the phone, attestation, radio, Wallet, or RCS state is unchanged.

4. Verify Root in ReSukiSU

Launch the ReSukiSU manager application. The primary dashboard should reflect that the KernelSU core module is active. Navigate to the Superuser tab to verify that root access rules are configured, permitting elevated shell permissions for terminal emulators and diagnostic tools.

5. Verify Root with GSM6 Pixel Tool Pro

Connect your Google Pixel to a diagnostic workstation via USB cable. Launch GSM6 Pixel Tool Pro, ensure ADB communication is active, and click Read Info. Inspect the generated diagnostic output. When root injection is successful, the utility displays Root State: Active.


Diagnostic Verification and CLI Inspection

Technicians can verify elevated shell execution directly from a connected workstation terminal:

adb shell "su -c 'id'"

A properly injected environment will return the superuser context:

uid=0(root) gid=0(root) groups=0(root) context=u:r:su:s0

If the command returns permission denied or fails to locate the su binary, the injection has lapsed or the Shizuku bridge was terminated prior to payload delivery.


Architectural Limitations and System Integrity Considerations

While runtime memory exploitation provides substantial utility for forensics and repair, technicians must respect several architectural constraints:

Operational ConsiderationDiagnostic RealityRemediation Protocol
Non-PersistenceAll kernel patches and modules are lost upon system rebootExploit execution must be repeated manually after each restart
Kernel PanicsUnaligned memory access during the race window can trigger an immediate rebootAllow the handset to boot into stock Android and re-execute the injection sequence
Offset DependencyUpdates to newer Android security patch revisions alter kernel structure offsetsCheck tool offset compatibility prior to updating system firmware
SELinux ContextsInjected processes must operate within compatible domain boundariesEnsure utilities request root authorization through the ReSukiSU interface
Wallet, RCS and integrity-dependent appsA locked bootloader does not guarantee normal behavior during or after exploitationTest each required app; do not use this workflow on a primary device that depends on them

Technical and Regulatory Inquiries

Can I root my Google Pixel without unlocking the bootloader?

Only when Root My Pixel provides a payload for the exact device codename and full firmware build. The bootloader can remain locked, but this is still a kernel security bypass with device and data risk.

Is this locked-bootloader root method permanent?

No. The GhostLock exploit provides non-persistent, temporary root access. Because storage partitions remain untouched and cryptographically verified, elevated privileges terminate whenever the handset is rebooted. The exploit must be re-executed after each power cycle.

Which Google Pixel firmware builds support this exploit?

Support is defined by the exact targets in the upstream payload repository. Do not infer support from a patch month or Android version, and do not downgrade merely to reach a listed target.

Does this root method wipe user data or factory reset the device?

The workflow does not invoke the bootloader-unlock wipe, but that is not a zero-data-loss guarantee. Back up first because an exploit failure, kernel panic, or later recovery action can still cause loss.

Why is the Shizuku framework required for this process?

Shizuku leverages Android wireless debugging APIs to grant elevated shell permissions (UID 2000) to the Root My Pixel tool. This shell privilege level is necessary to interact with low-level kernel interfaces and trigger the race condition.

What role does ReSukiSU play in the exploitation chain?

ReSukiSU serves as the userspace manager for KernelSU. Once the exploit late-loads the kernel module, ReSukiSU handles root grant authorization, su daemon lifecycle, and access policies for calling applications.

Can Magisk be utilized instead of KernelSU with GhostLock?

No. Magisk operates by modifying the boot or init_boot partition ramdisk, which requires an unlocked bootloader to pass Android Verified Boot. GhostLock specifically relies on runtime kernel memory patching, which aligns with KernelSU architecture.

How does this method benefit carrier-locked Pixel devices?

Carrier policy does not establish payload compatibility. Proceed only if the exact device codename and full firmware build are listed upstream; otherwise the method is unsupported.

Is a desktop computer strictly required to complete the procedure?

No. The installation and exploitation pipeline can be performed directly on the handset using Shizuku wireless debugging pairing over local Wi-Fi. A workstation is only needed if utilizing GSM6 Pixel Tool Pro for external diagnostic verification.


Video Walkthrough

Observe the physical on-device setup, Shizuku pairing, and ReSukiSU activation demonstrated in the tutorial below:

Step-by-step video guide

Discussion

Use your GSM6 account to join the discussion. Comments that contain external links, images or YouTube videos are reviewed before they appear.

Preparing discussion…