Thought some of you might find this interesting.
I got tired of the bugs in the Android Telegram app, and it hit me that with the free time I could just make my own fork.
https://github.com/jagajaga/Telegram/releases/latest
TL;DR
* Attachments: gallery: a photo you just took shows up instantly (this annoyed me the most)
* Background battery: media downloads only while the app is open, channels and muted chats load when you open the chat; adaptive keep-alive
* Battery: ~1 h of CPU/day on the official app, ~2–3 min on mine
* Calls and CPU: during a call the app behind the call screen no longer keeps rendering (that was the main battery hog)
* Voice call: ~40–50% of a CPU core → ~8%
* Bluetooth in calls: audio goes to the headphones on the first try (it also drove me crazy how often the earbuds didn't connect)
* Scheduled posts in channels were corrupting the history: you tap a photo and a different one opens (thanks Maxim). Fixed now; already corrupted history is fixed via Settings → Data and Storage → Clear local database
I've been on this fork for a couple of weeks — finally I can use Telegram without grumbling. Commits are signed, so this isn't some AI scam that's taken over my account 😂
PS I'm a developer myself