An LSPosed module for Android that automatically replaces Twitter/X links (twitter.com / x.com) with vxtwitter.com when copying or sharing from the official X app.
- Copy link: when you copy a post link in the X app, the module intercepts the clipboard and changes the domain.
- Share: when you use the share button, the module modifies the outgoing
Intentbefore it reaches other apps (WhatsApp, Telegram, etc.).
https://x.com/i/status/2079124440336458101
↓
https://vxtwitter.com/i/status/2079124440336458101
- Android 8.0+ (API 26).
- LSPosed installed and active.
- Official X app (
com.twitter.android) installed.
- Download the latest APK from Releases.
- Install it like any other app.
- Open LSPosed → Modules → enable betterXshare.
- Make sure the module scope includes
com.twitter.android. - Restart the phone (or force stop the X app).
./gradlew assembleDebugThe generated APK is located at:
app/build/outputs/apk/debug/app-debug.apk
app/src/main/java/com/betterxshare/hooks/MainHook.kt # Main hook logic
app/src/main/AndroidManifest.xml # LSPosed module metadata
app/src/main/assets/xposed_init # Module entry point
app/src/main/res/values/arrays.xml # Scope: com.twitter.android
libs/api-82.jar # Xposed API (compile-only)
The module uses two hooks in the X app process:
ClipboardManager.setPrimaryClip(ClipData): intercepts copied text.Intent.putExtra(String, String)andIntent.putExtra(String, CharSequence): intercept shared text (the X app usesCharSequenceviaShareCompat).
When the text contains a twitter.com or x.com URL, the domain is replaced with vxtwitter.com, keeping the rest of the text intact.
- Only works with the official X app (
com.twitter.android). - The Xposed API is not included in the APK; it is used as
compileOnly. - The module has no functionality without LSPosed.
MIT
- Developed by mathygamersYT.
- Based on the Xposed/LSPosed API.
- Inspired by BetterTwitFix.
Módulo LSPosed para Android que reemplaza automáticamente los enlaces de Twitter/X (twitter.com / x.com) por vxtwitter.com al copiar o compartir desde la app oficial de X.
- Copiar enlace: cuando copias el enlace de un post en la app de X, el módulo intercepta el portapapeles y cambia el dominio.
- Compartir: cuando usas el botón de compartir, el módulo modifica el
Intentde envío antes de que llegue a otras apps (WhatsApp, Telegram, etc.).
https://x.com/i/status/2079124440336458101
↓
https://vxtwitter.com/i/status/2079124440336458101
- Android 8.0+ (API 26).
- LSPosed instalado y activo.
- App oficial de X (
com.twitter.android) instalada.
- Descarga el último APK desde Releases.
- Instálalo como cualquier otra app.
- Abre LSPosed → Módulos → activa betterXshare.
- Asegúrate de que el alcance del módulo incluya
com.twitter.android. - Reinicia el teléfono (o fuerza la detención de la app de X).
./gradlew assembleDebugEl APK generado se encuentra en:
app/build/outputs/apk/debug/app-debug.apk
app/src/main/java/com/betterxshare/hooks/MainHook.kt # Lógica principal de los hooks
app/src/main/AndroidManifest.xml # Metadatos del módulo LSPosed
app/src/main/assets/xposed_init # Clase de entrada del módulo
app/src/main/res/values/arrays.xml # Alcance: com.twitter.android
libs/api-82.jar # API de Xposed (compile-only)
El módulo usa dos hooks en el proceso de la app de X:
ClipboardManager.setPrimaryClip(ClipData): intercepta el texto copiado.Intent.putExtra(String, String)yIntent.putExtra(String, CharSequence): interceptan el texto compartido (la app de X usaCharSequencea través deShareCompat).
Cuando el texto contiene una URL de twitter.com o x.com, se reemplaza el dominio por vxtwitter.com manteniendo el resto del texto intacto.
- Solo funciona con la app oficial de X (
com.twitter.android). - No se incluye la API de Xposed en el APK; se usa como
compileOnly. - El módulo no tiene funcionalidad sin LSPosed.
MIT
- Desarrollado por mathygamersYT.
- Basado en la API de Xposed/LSPosed.
- Inspirado en BetterTwitFix.