ctrl-mietze/Veyra

Veyra

Kotlin

11

24 commits

updated Oct 9, 2026

See the code

See what people are saying

SourceMessageScoreDate

Veyra Root 2.0 - An Android workbench for device analysis and resumable technical workflows (r/SideProject)

**I’ve released version 2.0 of Veyra Root, my Android device-analysis and root-tooling project.** The product problem I’m working on is continuity: when a technical task involves several files, partial findings and device-specific requirements, how do you make it easy to stop and come back later?…

1

Oct 9, 2026

README

Veyra Root — Exact evidence before kernel writes

Latest release Android API 26+ 796 / 796 tests Apache 2.0

Android root · kernel research · privileged-device management
Evidence first. No guessed kernel writes.

⬇ Download v2.0.0  •  Release notes  •  Security  •  Research credits


Veyra Root

Veyra Root is an Android root, kernel-research and privileged-device-management project built around one rule:

Exact evidence before kernel writes.

A matching phone name, kernel family or installed root manager is not treated as proof that a payload is safe to run. When exact evidence is missing, Veyra prefers analysis, source cross-checks and support-bundle collection over guessed offsets.

The current public release is Veyra Root v2.0.0.

✦ At a glance

Root & ProvidersKernel ResearchPrivileged ManagementBuilder Tooling
Real UID 0 verificationMagic BuilderCVeyra Permission Provider 2.0.0Builder Workingbench
Temporary-root awarenessBoot/kernel evidenceVeyraKSU 2.0.0Session + report export
KernelSU / KernelSU-NextKMI / source matchingPermission brokerOTA range extraction
Magisk-style boot-root awarenessAnalysis-only fallbackFirewall + system controlsTermux helper generation

⬇ Public release

Veyra Root v2.0.0 is the current official public build.

Packagectrl.mietze.veyraroot
Version2.0.0
versionCode200000000
APKVeyraRoot-2.0.0.apk
SHA-256edc2af1e93861d60e94e99fff7aa776ba119280d63fa8bd5473e2ed84b55bb7c
Signer SHA-256f1d8f55217d1149f88db9e1642735363d0198c33c8da8d77547987cedf08c582

The official public APK uses the established Veyra signing identity so compatible earlier official Veyra Root builds can be updated in place.

→ Open the complete v2.0.0 release


✦ What makes Veyra different

Veyra separates what can be observed from what is actually proven runnable.

A device can match a family, architecture or kernel generation without automatically receiving a writable/root payload. Veyra keeps those states distinct:

  • Verified runnable — exact evidence is sufficient for the route.
  • Compatible / candidate — the device or kernel matches known constraints but still needs validation.
  • Analysis-only — Veyra can inspect and export evidence, but refuses to invent missing physical addresses, offsets or payload constants.

That boundary is intentional.

⚡ Root detection & provider awareness

Veyra does not mark a device rooted simply because a manager app exists.

It checks whether Veyra itself can execute as UID 0, then classifies the active route. The app can distinguish:

  • Veyra temporary root
  • external temporary-root providers
  • KernelSU root
  • Magisk-style boot root
  • other real root providers

External providers can be routed into Veyra's provider-migration flow instead of being silently mislabeled as a Veyra session.

🧠 Magic Builder

Magic Builder is Veyra's kernel/device research layer.

It can:

  • capture and parse boot images
  • identify ARM64 Android kernel Images from the real Image header
  • identify ELF64 / AArch64 kernels
  • read the Linux kernel banner independently from kallsyms decoding
  • analyze kallsyms and symbol layouts
  • generate analysis artifacts such as target.generated.h and offsets.json
  • cross-check source-derived evidence
  • collect support bundles
  • keep runnable output blocked when required evidence is missing

Kernel-family routing

The analysis architecture covers both legacy and modern Android kernel families, including:

  • 4.x
  • 5.x
  • 6.x
  • 7.x research routing

A family match is not an automatic exploit match.

Deep diagnostics

Magic Builder exposes dedicated diagnostics for difficult ports:

  1. Source Match Matrix — ranks research sources against the current device/kernel.
  2. Kernel Gate — shows the exact baseline/family decision.
  3. KMI Matrix — compares the device with Veyra's local DF/KMI inventory.
  4. Live Symbols — reads selected symbols when the privileged backend permits it.
  5. Boot Evidence Report — exports architecture/version evidence from the captured boot image.

🧩 Builder Workingbench

The current Veyra generation consolidates builder workflows into Builder Workingbench while keeping builder-specific settings where they belong.

Current tooling includes:

  • resumable builder sessions
  • OTA range extraction
  • local image/hash comparison
  • strategy matrices
  • evidence grouping and conflict tracking
  • risk modes
  • report import/export
  • candidate/session export
  • Termux helper generation
  • automatic dependency checks/preparation
  • Android Download output handling with fallback paths
  • ADB and Shizuku/rish-aware helper paths

🧬 DF Compatible / Veyra DF+

The DF route uses kernel/KMI evidence instead of blindly following the userspace Android version.

The current architecture includes:

  • DF Compatible
  • Veyra DF+
  • Samsung / DEFEX-aware routing
  • OnePlus / Oppo / realme profiles
  • generic GKI routing
  • installed manager / ksud awareness
  • KernelSU-Next package awareness
  • kernel-release-first KMI selection
  • recovery/runtime controls
  • root-on-boot and soft-reboot options where supported
  • module-disable controls
  • image-partition protection controls

Legacy 4.19 targets such as Kona remain evidence-driven and are not silently promoted into modern GKI routes.

💜 CVeyra Permission Provider 2.0.0

CVeyra is Veyra's privileged action broker and permission-management layer.

The 2.0.0 activation flow verifies:

  1. provider information has been read,
  2. VeyraKSU 2.0.0 is installed,
  3. the required KernelSU soft reboot has completed,
  4. the permission bridge is live,
  5. Veyra itself has the required root grant,
  6. existing direct KernelSU grants are backed up,
  7. the CVeyra root broker can be enforced.

After activation, CVeyra Access becomes the always-on privileged broker mode.

Permission Management

ModeBehaviour
OfflineKeeps stored rules but manages no applications.
SelfThe user chooses which applications are managed.
AutoReserved for the later policy engine.

Supported state changes are persisted only after the device-side action succeeds. Impossible transitions are refused rather than displayed as successful fake grants.

🛡 Public Release hardening

The public v2 release includes Veyra's dedicated ReleaseGuard layer.

Current checks include:

  • official signing-certificate pinning
  • package/build identity verification
  • real non-debuggable / non-test-only verification
  • split/repack detection
  • trusted APK source/path checks
  • SHA-256 integrity checks for critical APK entries and native libraries
  • debugger detection
  • TracerPid / tracing checks
  • Frida marker detection
  • Xposed / LSPosed marker detection
  • Substrate marker detection
  • LD_PRELOAD checks
  • suspicious process-map, thread and file-descriptor checks
  • repeated runtime guard/watchdog verification
  • backups disabled
  • cleartext traffic disabled
  • shell profiling disabled

No Android client-side protection is mathematically unbreakable. The goal is to make casual resigning, repacking, asset replacement, binary patching and runtime instrumentation substantially harder without rejecting normal legitimate root use.

See Release protection and Security Policy.

🔄 Mandatory public update channel

The hardened public build uses Veyra's public GitHub update channel.

When the published channel reports a versionCode higher than the installed public build, the update is treated as required. The download path validates:

  • package identity
  • versionCode
  • published APK SHA-256
  • Veyra signer identity
  • HTTPS transport

Public v2 establishes 200000000 as the current stable public versionCode baseline.

🔌 ADB Manager

The Veyra ADB Manager groups the supported startup paths:

  • Start via Wireless Debugging
  • Start via USB debugging
  • Start via Computer

Wireless ADB retains Veyra's own authenticated pairing/session handling.

🧱 System & recovery tools

Veyra also contains system/recovery utilities, including reversible system-update control through CVeyra.

Veyra remembers only updater components it disabled itself so restoring updates does not blindly re-enable unrelated packages that were already disabled by the user.


🔬 Research sources & project lineage

Veyra supports normal runnable payload feeds and built-in Local / Research sources.

Research-only entries remain analysis/reference material until a real Veyra-compatible exact payload definition exists.

Current research references include public work from:

Veyra Root evolved from work based on Root My Galaxy Next / Root My Galaxy and retains compatibility code where required. Those projects and other referenced repositories remain the work of their respective authors.

See THIRD_PARTY_RESEARCH.md.

🛠 Build from source

Requirements

  • JDK 21
  • Android SDK 37
  • Android build tools compatible with API 37
  • arm64-v8a target

Point Gradle at the Android SDK through local.properties or ANDROID_HOME.

Development build:

./gradlew :app:assembleDebug

Release build:

./gradlew :app:assembleRelease

The official hardened public build additionally depends on the official Veyra signing identity. A differently signed build from public source is intentionally not considered an official Veyra binary.

🔐 Release authenticity

Official signing-certificate SHA-256:

f1d8f55217d1149f88db9e1642735363d0198c33c8da8d77547987cedf08c582

APK checksums are published with each GitHub release.

The Public-v2 source baseline completed:

796 / 796 unit tests passed — 0 failures · 0 errors · 0 skipped


Veyra Root
Control. Understand. Verify. Go further.

ctrl-mietze/Veyra

Veyra

Kotlin

11

24 commits

updated Oct 9, 2026

See the code

See what people are saying

SourceMessageScoreDate

Veyra Root 2.0 - An Android workbench for device analysis and resumable technical workflows (r/SideProject)

**I’ve released version 2.0 of Veyra Root, my Android device-analysis and root-tooling project.** The product problem I’m working on is continuity: when a technical task involves several files, partial findings and device-specific requirements, how do you make it easy to stop and come back later?…

1

Oct 9, 2026

README

Veyra Root — Exact evidence before kernel writes

Latest release Android API 26+ 796 / 796 tests Apache 2.0

Android root · kernel research · privileged-device management
Evidence first. No guessed kernel writes.

⬇ Download v2.0.0  •  Release notes  •  Security  •  Research credits


Veyra Root

Veyra Root is an Android root, kernel-research and privileged-device-management project built around one rule:

Exact evidence before kernel writes.

A matching phone name, kernel family or installed root manager is not treated as proof that a payload is safe to run. When exact evidence is missing, Veyra prefers analysis, source cross-checks and support-bundle collection over guessed offsets.

The current public release is Veyra Root v2.0.0.

✦ At a glance

Root & ProvidersKernel ResearchPrivileged ManagementBuilder Tooling
Real UID 0 verificationMagic BuilderCVeyra Permission Provider 2.0.0Builder Workingbench
Temporary-root awarenessBoot/kernel evidenceVeyraKSU 2.0.0Session + report export
KernelSU / KernelSU-NextKMI / source matchingPermission brokerOTA range extraction
Magisk-style boot-root awarenessAnalysis-only fallbackFirewall + system controlsTermux helper generation

⬇ Public release

Veyra Root v2.0.0 is the current official public build.

Packagectrl.mietze.veyraroot
Version2.0.0
versionCode200000000
APKVeyraRoot-2.0.0.apk
SHA-256edc2af1e93861d60e94e99fff7aa776ba119280d63fa8bd5473e2ed84b55bb7c
Signer SHA-256f1d8f55217d1149f88db9e1642735363d0198c33c8da8d77547987cedf08c582

The official public APK uses the established Veyra signing identity so compatible earlier official Veyra Root builds can be updated in place.

→ Open the complete v2.0.0 release


✦ What makes Veyra different

Veyra separates what can be observed from what is actually proven runnable.

A device can match a family, architecture or kernel generation without automatically receiving a writable/root payload. Veyra keeps those states distinct:

  • Verified runnable — exact evidence is sufficient for the route.
  • Compatible / candidate — the device or kernel matches known constraints but still needs validation.
  • Analysis-only — Veyra can inspect and export evidence, but refuses to invent missing physical addresses, offsets or payload constants.

That boundary is intentional.

⚡ Root detection & provider awareness

Veyra does not mark a device rooted simply because a manager app exists.

It checks whether Veyra itself can execute as UID 0, then classifies the active route. The app can distinguish:

  • Veyra temporary root
  • external temporary-root providers
  • KernelSU root
  • Magisk-style boot root
  • other real root providers

External providers can be routed into Veyra's provider-migration flow instead of being silently mislabeled as a Veyra session.

🧠 Magic Builder

Magic Builder is Veyra's kernel/device research layer.

It can:

  • capture and parse boot images
  • identify ARM64 Android kernel Images from the real Image header
  • identify ELF64 / AArch64 kernels
  • read the Linux kernel banner independently from kallsyms decoding
  • analyze kallsyms and symbol layouts
  • generate analysis artifacts such as target.generated.h and offsets.json
  • cross-check source-derived evidence
  • collect support bundles
  • keep runnable output blocked when required evidence is missing

Kernel-family routing

The analysis architecture covers both legacy and modern Android kernel families, including:

  • 4.x
  • 5.x
  • 6.x
  • 7.x research routing

A family match is not an automatic exploit match.

Deep diagnostics

Magic Builder exposes dedicated diagnostics for difficult ports:

  1. Source Match Matrix — ranks research sources against the current device/kernel.
  2. Kernel Gate — shows the exact baseline/family decision.
  3. KMI Matrix — compares the device with Veyra's local DF/KMI inventory.
  4. Live Symbols — reads selected symbols when the privileged backend permits it.
  5. Boot Evidence Report — exports architecture/version evidence from the captured boot image.

🧩 Builder Workingbench

The current Veyra generation consolidates builder workflows into Builder Workingbench while keeping builder-specific settings where they belong.

Current tooling includes:

  • resumable builder sessions
  • OTA range extraction
  • local image/hash comparison
  • strategy matrices
  • evidence grouping and conflict tracking
  • risk modes
  • report import/export
  • candidate/session export
  • Termux helper generation
  • automatic dependency checks/preparation
  • Android Download output handling with fallback paths
  • ADB and Shizuku/rish-aware helper paths

🧬 DF Compatible / Veyra DF+

The DF route uses kernel/KMI evidence instead of blindly following the userspace Android version.

The current architecture includes:

  • DF Compatible
  • Veyra DF+
  • Samsung / DEFEX-aware routing
  • OnePlus / Oppo / realme profiles
  • generic GKI routing
  • installed manager / ksud awareness
  • KernelSU-Next package awareness
  • kernel-release-first KMI selection
  • recovery/runtime controls
  • root-on-boot and soft-reboot options where supported
  • module-disable controls
  • image-partition protection controls

Legacy 4.19 targets such as Kona remain evidence-driven and are not silently promoted into modern GKI routes.

💜 CVeyra Permission Provider 2.0.0

CVeyra is Veyra's privileged action broker and permission-management layer.

The 2.0.0 activation flow verifies:

  1. provider information has been read,
  2. VeyraKSU 2.0.0 is installed,
  3. the required KernelSU soft reboot has completed,
  4. the permission bridge is live,
  5. Veyra itself has the required root grant,
  6. existing direct KernelSU grants are backed up,
  7. the CVeyra root broker can be enforced.

After activation, CVeyra Access becomes the always-on privileged broker mode.

Permission Management

ModeBehaviour
OfflineKeeps stored rules but manages no applications.
SelfThe user chooses which applications are managed.
AutoReserved for the later policy engine.

Supported state changes are persisted only after the device-side action succeeds. Impossible transitions are refused rather than displayed as successful fake grants.

🛡 Public Release hardening

The public v2 release includes Veyra's dedicated ReleaseGuard layer.

Current checks include:

  • official signing-certificate pinning
  • package/build identity verification
  • real non-debuggable / non-test-only verification
  • split/repack detection
  • trusted APK source/path checks
  • SHA-256 integrity checks for critical APK entries and native libraries
  • debugger detection
  • TracerPid / tracing checks
  • Frida marker detection
  • Xposed / LSPosed marker detection
  • Substrate marker detection
  • LD_PRELOAD checks
  • suspicious process-map, thread and file-descriptor checks
  • repeated runtime guard/watchdog verification
  • backups disabled
  • cleartext traffic disabled
  • shell profiling disabled

No Android client-side protection is mathematically unbreakable. The goal is to make casual resigning, repacking, asset replacement, binary patching and runtime instrumentation substantially harder without rejecting normal legitimate root use.

See Release protection and Security Policy.

🔄 Mandatory public update channel

The hardened public build uses Veyra's public GitHub update channel.

When the published channel reports a versionCode higher than the installed public build, the update is treated as required. The download path validates:

  • package identity
  • versionCode
  • published APK SHA-256
  • Veyra signer identity
  • HTTPS transport

Public v2 establishes 200000000 as the current stable public versionCode baseline.

🔌 ADB Manager

The Veyra ADB Manager groups the supported startup paths:

  • Start via Wireless Debugging
  • Start via USB debugging
  • Start via Computer

Wireless ADB retains Veyra's own authenticated pairing/session handling.

🧱 System & recovery tools

Veyra also contains system/recovery utilities, including reversible system-update control through CVeyra.

Veyra remembers only updater components it disabled itself so restoring updates does not blindly re-enable unrelated packages that were already disabled by the user.


🔬 Research sources & project lineage

Veyra supports normal runnable payload feeds and built-in Local / Research sources.

Research-only entries remain analysis/reference material until a real Veyra-compatible exact payload definition exists.

Current research references include public work from:

Veyra Root evolved from work based on Root My Galaxy Next / Root My Galaxy and retains compatibility code where required. Those projects and other referenced repositories remain the work of their respective authors.

See THIRD_PARTY_RESEARCH.md.

🛠 Build from source

Requirements

  • JDK 21
  • Android SDK 37
  • Android build tools compatible with API 37
  • arm64-v8a target

Point Gradle at the Android SDK through local.properties or ANDROID_HOME.

Development build:

./gradlew :app:assembleDebug

Release build:

./gradlew :app:assembleRelease

The official hardened public build additionally depends on the official Veyra signing identity. A differently signed build from public source is intentionally not considered an official Veyra binary.

🔐 Release authenticity

Official signing-certificate SHA-256:

f1d8f55217d1149f88db9e1642735363d0198c33c8da8d77547987cedf08c582

APK checksums are published with each GitHub release.

The Public-v2 source baseline completed:

796 / 796 unit tests passed — 0 failures · 0 errors · 0 skipped


Veyra Root
Control. Understand. Verify. Go further.