Storage Redirect

Verified safeOpen sourceExclusive
—
No reviews reviews
22
downloads
5.0
android

AI summary

Xposed module for LSPatch and LSPosed that redirects a scoped app’s storage to a customizable shared-storage folder. Version 2.24 adds unified storage containers, native library protections, public-folder handling, and a diagnostic test utility.

Generated by AI. May contain inaccuracies.

About this app

Storage Redirect

Xposed module for rootless LSPatch (also works under LSPosed). Redirects the hooked app's storage to a custom folder on shared storage, so data is read and written there from the first millisecond instead of the default paths.

It is generic: it redirects whichever app it is embedded in / scoped to (no hardcoded package). Each redirect has its own fully customizable destination folder (absolute, or relative to /sdcard; {pkg} = package name). Defaults: CustomData/{pkg}/internal, .../external, .../storage. Inside a destination the app keeps its usual sub-folders (files, cache, databases, ...). Don't point internal and external at the same folder: their files/cache would mix (the UI warns).

What's new

v2.24Nov 15, 2026
  • 🚀 What's New & Included in This Update
  • 📦 1. Unified Sandbox Container Redirection Single Root Container: Consolidates all application storage into one main container chosen by the user (e.g. Containers/{pkg} or a custom folder like .fnrod or any user-defined folder name). Virtual SDCard Mapping: The hooked application sees and reads the root of this folder as /storage/emulated/0/. Public folders (Download, DCIM, Pictures, Documents) are created directly inside the container, alongside data/data/<package> and Android/data / Android/obb. Integrated Folder Picker: Interactive directory browser with breadcrumb navigation, folder creation, hidden folder toggling, and instant selection directly in the module UI. 🛡️ 2. Dynamic Linker & Native Library Protection (SoLoader / Meta / LSPatch Fix) Linux noexec & Linker Namespace Compliant: Native shared libraries (.so), Meta Superpack archives (.spo, files/decompressed/libs.spo/), and LSPatch origin APKs/caches are strictly preserved in real private app storage. Fixed app_lspatch Exemption: ContextImpl.getDir("lspatch") (app_lspatch) and raw file constructors now remain in /data/user/0/<pkg>/app_lspatch, preventing clns linker namespace UnsatisfiedLinkError crashes in apps like WhatsApp/LiteX. 📁 3. Public Storage & Downloads Verification Public Directory Auto-Creation: Resolved an issue where Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) bypassed directory creation under fake path mode. Public folders now resolve properly, exist on disk, and support persistent file writing. 🧹 4. Phantom Folder Pruning & Clean Storage Defaults Default to Containers/{pkg}: Purged all legacy CustomData references from defaults. Unconfigured apps now default external = false to prevent unwanted folders from being generated on storage. Automatic Empty Directory Cleanup: Added recursive empty directory pruning (cleanupEmptyTree) triggered during startup and path switching. Old directories like CustomData are automatically removed and will never be recreated. 🧪 5. Included Diagnostic Test Suite (Redirect Tester v1.1) Included RedirectTester-v1.1.apk: A standalone automated testing tool that exercises all Android storage APIs (internal files, cache, databases, shared_prefs, exemptions, external app storage, NIO file channels, random access file streams, and public storage) with one-click clipboard test report generation.
  • 📦 Release Assets StorageRedirect-v2.24.apk — Storage Redirect Xposed Module (Version Code: 17, Version Name: 2.24) RedirectTester-v1.1.apk — Storage Redirect Diagnostic Test Utility

About this version

Version
2.24 (17)
Size
112.51 KB
Requires Android
5.0
Min SDK
21
Architecture
universal
Downloads
22
Updated
Nov 15, 2026
Package
io.github.expirt.storageredirect

Similar apps

Ratings & reviews

—
0 ratings
  • 5
    0
  • 4
    0
  • 3
    0
  • 2
    0
  • 1
    0

Write a review

Tap a star to rate this app