Next-generation root + LSPosed runtime bytecode patch manager for Android.
π Getting Started β’ β‘ Features β’ π§© Patch Bundles β’ π± Supported Apps β’ π¨ Theming β’ π Troubleshooting
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
runCatchingruntime boundaries, preventing target app crashes if non-critical symbols change across updates. - π¦ Modular
.nxbBundles: 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
libxposedAPI 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.
- 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.
- 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
FloatingNavigationBarwith real-time blur shaders on Android 13+ and safe fallbacks on older versions.
- 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.0vs2026.42).
- Distinguishes genuine root
am force-stoptermination 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.
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+) |
- π₯ Install NexAlloyNext: Download the signed release APK from Releases.
- π‘οΈ 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).
- π¦ Install Patch Bundles: Open NexAlloyNext β Patches tab. The official companion repository (
a092devs/NexAlloyNext-Patches) is pre-configured; tap Install onNexFusion Patches. - βοΈ Toggle Desired Patches: Open the Home tab, tap any supported application card, and enable your preferred runtime hooks.
- π 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.
The official companion patch repository is maintained at:
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
| 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. |
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. | |
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. |
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. |
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. |
- JDK 21 (Temurin or OpenJDK)
- Android SDK with API 37 platform tools (configured via
ANDROID_HOMEorlocal.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| 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. |
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
runCatchingsafeguards.
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 |
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.