Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
android-preprovision-escape — Android's pre-provisioned state: a cross-OEM Setup Wizard escape. Multiple OEMs tested, Android 14–17. Full disclosure after 16 months. | Kitploit
Tools/GitHubGitHub/majorjayyy1/android-preprovision-escape
Android SecurityPrivilege EscalationVulnerability AnalysisExploitationMobile App PentestingMobile SecurityPapers & Research
GitHubmajorjayyy1/android-preprovision-escape

android-preprovision-escape

Android's pre-provisioned state: a cross-OEM Setup Wizard escape. Multiple OEMs tested, Android 14–17. Full disclosure after 16 months.

View Repository
14h 41m agoNot yet reviewed
Share

Android Setup Wizard: Pre-Provisioned State Escape (Multiple Entry Vectors)

Researcher: Major Johnson IV Reported to: Google Android & Devices VRP (Bug Hunters) First reported: July 29, 2025 Vendor status: Accepted as Moderate severity. External ticket closed as Won't Fix (Infeasible) on November 25, 2026, which Google states is how it closes Moderate reports. No fix timeline. Disclosed: November 26, 2026 (GitHub, with a notice to the Full Disclosure mailing list). The repository was private from that day until December 1, 2026 while Google reviewed it for technical accuracy. CVE: None assigned Affected (tested): Google Pixel, Samsung (One UI 7 and 8), Motorola, TCL, OnePlus, Sony, Nothing and Oppo devices, Android 14 through 17 (see OEM scope) Status as of disclosure: Unpatched. Vector 1 last confirmed in November 2026 on a retail Pixel 11 Pro Fold and Galaxy Z Fold 8. Google confirmed the escape in its own testing on November 26, 2026 (comment #31)


TL;DR

On a new or factory-reset Android device, the Setup Wizard (OOBE) can be escaped before setup is complete. The device ends up in a pre-provisioned state (user_setup_complete=0, device_provisioned=0) where apps can be sideloaded and run, settings changed, and the launcher reached, while the device still shows the normal "Welcome" / "Hello" screen to the next person who picks it up.

I found several independent ways into this same state, reported three of them to Google across four tickets, and documented the impact: pre-setup app installs that survive reboot, carrier-lock circumvention, a partial FRP bypass, and Repair Mode access. After 16 months under review, Google accepted the report as Moderate severity and closed the external ticket, with no fix timeline and no further updates planned. Google has since stated that its own testing confirmed the Setup Wizard escape to Chrome, app installation and Repair Mode access. I told Google on the ticket that I would publish, and I'm publishing so device owners, resellers and enterprise admins know about it.

What was reported to Google is documented here in full, including reproduction steps. The only part of those reports withheld is the source code of the callback PoC app.


Contents

Entry vectors

#VectorNeedsInternetGoogle ticketPage
1EMM QR enrollment failure → ChromeA QR codeYes434909818 – accepted as Moderate; ticket closedvectors/01-emm-qr.md
2"Set up using another device" → lock screenA second Android phoneNo438558569 – Duplicatevectors/02-another-device.md
3PUK-locked SIM → lock screenA PUK-locked SIMNo439921166 – Won't Fix (NSBC); 444763720 – Duplicatevectors/03-puk-sim.md

Additional entry vectors into the same state exist. They were not submitted to Google and are not part of this release; they will be published here at a later date.

Impact

  • Supply-chain attack scenario: pre-setup implants, sealed devices, callback PoC, and why the risk has grown since 2025
  • Carrier-lock persistence: full steps
  • Partial FRP bypass: full steps
  • Prepaid carrier setup lockouts

Disclosure

  • Timeline
  • Reproduction history: what happened each time Google said it couldn't reproduce
  • The closed reports: the two Duplicate closures and the NSBC closure, and the responses to each

Background

Android's Setup Wizard is the first thing a user sees on a new or reset device. Until it completes, the platform treats the device as unprovisioned: the launcher is hidden, ADB is blocked, and carrier/enterprise configuration (for example, com.google.android.apps.work.oobconfig, "Device Setup") has not been applied. The protection assumes that the only way out of the Setup Wizard is to finish it.

Each vector below breaks that assumption through a different, legitimate feature of the setup flow, and all of them land in the same place.

The shared root cause: the pre-provisioned state

Every vector ends with the attacker having interactive access to the device while it is still marked unprovisioned:

SettingTableValue in this state
user_setup_completesecure0
device_provisionedglobal0

In this state:

  • APKs can be installed (via Chrome downloads or the Files/Storage tile from USB).
  • Installed apps can run, keep running, and survive a reboot.
  • The Setup Wizard can be uninstalled for the current user, or its activities launched directly, exposing Pixel Launcher.
  • System app settings (network access, storage, permissions) can be changed before carrier/enterprise configuration has been fetched.
  • On reboot the device goes back to a normal-looking "Welcome" / "Hello" screen, and the Setup Wizard gives no warning that the device has been modified.

The individual vectors are the doors; this state is the room they all open into. Fixing one door leaves the rest open, which is why I'm treating them as a single issue.


What can be done from the pre-provisioned state

All of these are interchangeable across vectors:

CapabilityDemonstrated in
Install and run arbitrary APKs before setupV1, V2, V3
Reach Pixel Launcher without completing setupV1, V2, V3
Apps survive reboot back to a clean-looking "Hello" screenV3 + callback PoC
Apps hidden in Private Space with an attacker-chosen passwordV2
Install a work profile / device owner via a third-party DPCV1, V2
Make the Setup Wizard complete itselfV1 (TestDPC), V2 (activity launch)
Persistent carrier-lock circumventionV2 (full steps); a shorter variant via V1
Enter Repair Mode (DSU, device-owner affiliated, ADB available)V1
Partial FRP bypass on an FRP-locked deviceV3
Bypass prepaid carrier setup lockoutsV1 (details)

Google's own testing (comment #31, November 2026) confirmed the escape to Chrome, app installation and Repair Mode access. It found that carrier SIM locks remained enforced, which differs from my results; see Carrier-lock persistence.


OEM scope

I have been testing this since 2024, across Android 14 through 17. Results differ by vendor because each OEM ships its own Setup Wizard and Quick Settings.

Download Tool

Related Tools

  • Mobile-Security-Framework-MobSF

    Automated mobile application security testing framework for Android, iOS, and Windows. Performs static and dynamic analysis, malware detection, and API security testing with CI/CD integration.

  • jadx

    Command-line and GUI tool for decompiling Android Dex and APK files into readable Java source code, with resource decoding, deobfuscation, and Smali debugging capabilities.

  • Apktool

    A tool for reverse engineering Android apk files

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    888
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    433
  • 4

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    385
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    365
  • 6

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    342

Explore all tools

Browse our collection of tools

View all tools →