Patcher for old (v2.0.0) Twitter for Android app
twitt2patcher is a simple "web app" that spits out a modified Twitter v2.0.0 APK with different API URL's, so you can use it with projects like butterflybridge or TwiterAPIBridge. I might provide a publically available instance later, but right now if you want to give it a spin you should probably just selfhost this.
Don't look at the code if you don't like looking at shit though.
- Node.js version 18 or later
- Java JRE 1.8.0 (aka. Java 8) or it's binaries. Note that it has to be this specific version, otherwise stuff will break (believe me, I tried)!
- A copy of ApkRenamer. It's distribution also includes Apktool and SignApk, that are used by this project.
- A copy of Twitter v2.0.0 APK. You can find it on ApkMirror for example.
- Clone the repository.
- Run
npm iin it. - Edit
config.json. - Decompile Twitter v2.0.0 APK using Apktool. You can find it in
binfolder of ApkRenamer. - Put the decompiled Twitter APK's contents in
unpackedTwitterAPK - If running on Linux, make sure that
zipalignbinary in ApkRenamer'sbinfolder is executable. (Just runchmod +x zipalignin it) - Start with
node . - Enjoy!