Skip to content

About

Advanced LSPosed & Morphe patch manager for Android featuring dual Material 3 and official MIUIX design systems.

Topics

Resources

Security policy

Stars

7 stars

Watchers

1 watching

Forks

Latest commit

Β 

History

64 Commits

Folders and files

Repository files navigation

NexAlloyNext Logo

NexAlloyNext

Next-generation root + LSPosed runtime bytecode patch manager for Android.

Latest Release Android 8.1+ LSPosed API 101 Design Systems Hardware Silicon Matrix GPL-3.0

πŸš€ Getting Started β€’ ⚑ Features β€’ 🧩 Patch Bundles β€’ πŸ“± Supported Apps β€’ 🎨 Theming β€’ πŸ” Troubleshooting


πŸ“– Overview

NexAlloyNext is an advanced Android application that applies modular runtime bytecode patches to supported applications via LSPosed / libxposed (API 101) and DexKit.

Unlike traditional ahead-of-time (AOT) patchers that decompile, modify, re-sign, and reinstall target APKs, NexAlloyNext operates purely in-memory at process startup:

  • πŸ”’ Zero APK Tampering: Target applications remain official, unaltered on disk, and preserve their authentic Play Store signatures and Play Protect integrity.
  • ⚑ Dynamic DexKit Interception: Obfuscated classes, methods, and fields are resolved on the fly via bytecode opcode pattern analysis and string fingerprinting.
  • πŸ›‘οΈ Fail-Safe Isolation: Hooks execute within protected runCatching runtime boundaries, preventing target app crashes if non-critical symbols change across updates.
  • πŸ“¦ Modular .nxb Bundles: Patches are packaged into signed .nxb (NexAlloy Bundle) APK containers loaded directly into process memory β€” no APK installation required.

Important

  • Root & Framework Requirements: Android 8.1+ (API 27) with root access and LSPosed or any modern framework implementing libxposed API 101.
  • Security Boundary: Patch bundles execute bytecode within target application processes. Always source bundles from trusted maintainers.
  • Integrity Guarantee: NexAlloy deliberately excludes banking, payment, and security-critical applications from patching.

⚑ Key Features

1. 🌐 Multi-Source Patch Aggregation & Provenance

  • Add, update, and manage multiple independent patch repositories simultaneously.
  • Source Provenance Classification: Clearly badges sources as Official, NexAlloy, Community, or Custom.
  • Conflict Detection: Proactively flags applications whose patches are declared by more than one bundle before enabling.
  • Offline Caching: Instant application startup using local metadata caching with pull-to-refresh synchronization.

2. 🎨 Dual Design Systems: Official Miuix & Material 3

  • Official Miuix Integration: Built directly with the official compose-miuix-ui library (miuix-ui, miuix-blur, miuix-preference, miuix-icons), delivering the authentic MIUI / HyperOS aesthetic.
  • Material 3 Mode: Native AndroidX Material 3 design with dynamic Monet color theming on Android 12+.
  • Cohesive Surface Switching: Changing the design system instantly transforms every screen, dialog, card, and navigation bar in unison.
  • Optional Floating Navigation Bar: An opt-in Miuix arrangement featuring FloatingNavigationBar with real-time blur shaders on Android 13+ and safe fallbacks on older versions.

3. 🎯 Truthful Dynamic Compatibility Engine

  • Version recommendations and compatibility badges are derived directly from the targets declared by active patch bundles at runtime:
    val allTargets: List<AppTarget> = if (matchingBundles.isNotEmpty()) {
        matchingBundles.flatMap { it.targets[packageName].orEmpty() }
    } else {
        known?.targets.orEmpty()
    }
  • Uses semantic version evaluation with trailing zero normalization (2026.42.0 vs 2026.42).

4. πŸ”„ Honest Process Lifecycle & Force-Stop Control

  • Distinguishes genuine root am force-stop termination from background process killing (killBackgroundProcesses), providing truthful feedback.
  • Integrated 1-tap App Info navigation directly from the patch screen for manual force-stop on unrooted configurations.

🎨 Appearance & Theming

Configure via Settings β†’ Appearance:

Setting Options Description
Colour Mode β˜€οΈ Light / πŸŒ™ Dark / βš™οΈ Follow System System-wide theme brightness, persisted across reboots
Design System πŸ“± Material 3 / πŸ’Ž Miuix Seamlessly switches the visual design language across all screens
Floating Navigation Bar 🟒 On / βšͺ Off (Miuix only) Detaches bottom bar with real-time blur shader (Android 13+)

πŸš€ Getting Started

  1. πŸ“₯ Install NexAlloyNext: Download the signed release APK from Releases.
  2. πŸ›‘οΈ Configure LSPosed Scope: Enable the NexAlloyNext module in LSPosed and check the scope for your target apps (e.g. YouTube, Spotify, Reddit, Instagram, Facebook, Telegram, X).
  3. πŸ“¦ Install Patch Bundles: Open NexAlloyNext β†’ Patches tab. The official companion repository (a092devs/NexAlloyNext-Patches) is pre-configured; tap Install on NexFusion Patches.
  4. βš™οΈ Toggle Desired Patches: Open the Home tab, tap any supported application card, and enable your preferred runtime hooks.
  5. πŸ”„ Apply & Restart: Tap Force Stop or use the 1-tap App Info shortcut to restart the target application and let LSPosed attach the updated bytecode hooks.

🧩 Curated Patch Repositories

The official companion patch repository is maintained at:

Included Bundles:

  • nexalloy: Streaming core patches for YouTube, YouTube Music, and Google Photos cloud spoofing.
  • nexfusion (NexFusion Patches): Unified community runtime distribution covering all 17 supported application targets:
    • πŸŽ₯ Video & Audio: YouTube, YouTube Music, Spotify
    • πŸ’¬ Social & Communication: Telegram, Telegram (Web), Instagram, Facebook, X (Twitter), Reddit, Discord, LinkedIn
    • πŸ› οΈ System & Productivity: Google Photos, Gboard, Gmail, Google App (Discover), MiXplorer, Proton VPN

πŸ“± Supported Applications Matrix

Application Package Identifier Key Patch Capabilities
YouTube com.google.android.youtube Ad-free playback, SponsorBlock, background audio, DeArrow replacement, custom speed/quality dialogs, swipe volume/brightness, miniplayer, ambient mode, Litho node bypass, channel search fix.
YouTube Music com.google.android.apps.youtube.music Background playback, audio ad removal, exclusive audio stream playback, hide upgrade buttons, suppress promotional banners.
Spotify com.spotify.music Audio ad muting, hide promotional banners and video interstitial ad views, hide Premium tab, Material You theme, custom rounded corners, tracking link cleaner.
Telegram org.telegram.messenger Remove channel sponsored messages, bot ads, and video promotions; hide Story bar and avatar story rings; keep deleted messages locally; exact unrounded counts; 512 KB fast multi-connection downloads; block update dialogs; disable telemetry; auto-reveal spoilers; pure black AMOLED dark theme.
Telegram (Web) org.telegram.messenger.web Identical full-suite runtime patches as official Telegram for web-distributed standalone builds.
Instagram com.instagram.android Media downloader for feed posts, Reels, Stories, Highlights, and profile pictures; remove sponsored feed posts, Reels, and Story ads; anonymous Story and Live viewing; strip tracking parameters; ghost mode.
Facebook com.facebook.katana Media downloader for videos, photos, Reels, and Stories with DASH stream audio muxing; sponsored post and Reel ad removal; bypass screenshot and screen recording restrictions; telemetry blocking.
X (Twitter) com.twitter.android Promoted post and ad removal; video and GIF media downloader; bypass Compose sensitive media blur interstitials without tap-to-reveal; block forced updates; telemetry blackholing.
Reddit com.reddit.frontpage Feed and comment ad removal; guest browsing mode; sanitize shared URLs; suppress screenshot sharing bottom sheet; unmute Redgifs streams; custom feed sorting.
Discord com.discord Suppress crash telemetry, analytics, touch logging, and advertising identifiers; native system font typography support across chat and UI surfaces.
Crunchyroll com.crunchyroll.crunchyroid Native Picture-in-Picture mode with contextual Skip Intro and Skip Credits controls; remove titles from Continue Watching feed. Verified targets: 3.126.0, 3.117.0.
LinkedIn com.linkedin.android 1-tap media downloader for photos, carousel images, and progressive MP4 videos; sanitize share links; direct URL navigation bypassing safety/go redirects; hide suggested posts, promoted jobs, and premium upsells; feed filters; Material You dynamic theme.
Google Photos com.google.android.apps.photos Device spoofing for unlimited original-quality Google Photos cloud storage backups; DCIM folder backup control.
Gboard com.google.android.inputmethod.latin Rounded keycaps; Google Sans Flex typography & GM3 Expressive styling; proactive post-correction undo controls; Quick & Magic Emoji (Emojify); expanded AI writing tools; spellchecker chips UI; scan text OCR; spacebar cursor trackpad.
Gmail com.google.android.gm Suppress sponsored promotional and advertising cards in personal inboxes.
Google App (Discover) com.google.android.googlequicksearchbox Filter sponsored cards, shopping ads, and promotional recommendations in the Discover feed.
MiXplorer com.mixplorer Fix scoped-storage file sharing by masking unreadable _data paths on Android 11+ (API 30+).
Proton VPN ch.protonvpn.android Suppress upgrade banners and nag dialogs; unlock NetShield UI toggles; disable telemetry and background observability workers.

πŸ› οΈ Building from Source

Prerequisites

  • JDK 21 (Temurin or OpenJDK)
  • Android SDK with API 37 platform tools (configured via ANDROID_HOME or local.properties)
# Clone the repository
git clone https://github.com/a092devs/NexAlloyNext.git
cd NexAlloyNext

# Run unit tests
./gradlew testDebugUnitTest

# Build debug APK (app/build/outputs/apk/debug/)
./gradlew assembleDebug

πŸ” Troubleshooting

Issue Likely Cause Solution
Module shows Inactive Module not enabled in LSPosed Open LSPosed Manager, enable NexAlloyNext, and reboot device.
Patches not applying Target app not in scope Check LSPosed scope; NexAlloy Home screen displays a yellow scope warning if missing.
Compatibility Warning Installed app differs from target Inspect the target app card in Home to check verified versions; hooks may still resolve dynamically.
Blur missing on Floating Bar Android version limitation Runtime shader blur requires Android 13+ (API 33+); older versions render an opaque surface.
Need Support / Diagnostics Reporting an issue Go to Settings β†’ Copy diagnostics and attach the report when submitting a GitHub issue.

🀝 Contributing

Contributions, bug reports, and pull requests are welcome!

  • Ensure all unit tests pass prior to opening pull requests: ./gradlew testDebugUnitTest
  • All contributions must adhere to the runtime-only architecture (in-memory execution via LSPosed API 101, zero APK tampering).
  • Ensure target application stability by wrapping non-essential hooks in runCatching safeguards.

πŸ“œ Credits & Acknowledgments

NexAlloyNext is developed and maintained by a092devs. We gratefully acknowledge the open-source projects, reverse engineers, and library authors whose research and tools empower our ecosystem:

Project Contribution
LSPosed Core ART runtime hooking framework and official libxposed (API 101)
DexKit High-performance Dex bytecode pattern matching and opcode resolution
compose-miuix-ui Official Compose Multiplatform MIUI / HyperOS design components by YuKongA
Morphe Bytecode runtime hook patterns, fingerprint specifications, and shared utilities
ReVanced Reverse engineering research, feature specifications, and community contributions
SysAdminDoc Stealth, ad-blocking, and media extraction hook specifications
Piko Runtime hook logic and downloader patterns
VenusIsJaded Privacy target tables and font styling
heyymichii Share-link cleaning, direct navigation, and tracking removal
ak800i Scoped-storage file sharing fix for Android 11+
jkennethcarino Screenshot-banner suppression, link sanitization, and UI hooks
gnadgnaoh Inbox promotion and Discover feed ad filtering

βš–οΈ License

NexAlloyNext is open-source software developed by a092devs and licensed under the GNU General Public License v3.0 β€” see LICENSE. Third-party libraries and ported feature specifications retain their respective licenses and attribution.

About

Advanced LSPosed & Morphe patch manager for Android featuring dual Material 3 and official MIUIX design systems.

Topics

Resources

Security policy

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages