Since https://www.reddit.com/r/linux/comments/1gdhy7u/experimental_flathub_release_of_newpipe_on_linux/ got a bit of traction yesterday, this is WhatsApp straight from Meta running on Linux desktop using android-translation-layer.
android-translation-layer (ATL) is a Wine-like approach to run Android applications on Linux. Rather than running an Android container like for example Waydroid does this instead implements the Android API. Note that right now it’s very much work in progress and almost no app will work yet, but the fact that they have apps like Newpipe and WhatsApp running already is very promising!
Join the Matrix chat at #android-translation-layer:matrix.org and follow along!
I hope this makes it easier to do TLS sniffing and security research on Android apps. A lot of developers seem to rely on no one simply looking at how much information is exposed in the APIs apps use. Currently because it’s much more difficult to sniff Android apps, a lot of privacy/security issues are not raised.
As long as it’s installed on a device you control it’s pretty easy to sniff TLS traffic from an Android application, even if they’re pinning certs. I do this all the time for work. Frida makes it extremely easy, even giving you the ability to edit boringssl if something important is happening in native code. I’ve had to do this a couple times.
If you don’t have root you’ll have to recompile the application though which could matter if you need the signature to not change, but that isn’t a common requirement.
It’d be nice to have a better way to test though; I’ve wanted to check out Waydroid. Some coworkers just use an emulator which works great if it doesn’t need specific hardware.
I can feel it in the air. This is going to take off just like how wine and proton took off. We are going to go through another “Linux gaming” rush all over again and this shit is going to be fun. Let’s go!!!
Wine was first released in 1993. I hope our children are there to see the take off.
I don’t think you should compare the two progresses. Technology is much better now. So, things will definitely move much faster than they did back in the 90s.
There is slightly more openness to androids layers than the win32 layers as well.
I still remember symlinking to binaries in my windows system folder back in the late 90s to be able to run office 95 under Linux. (The MSFT system files permitted some things to work properly that just didn’t with the wine provided libraries back then)
Should have been called AITL (AITL Is a Translation Layer)
Fascinating stuff. I’m glad we’re entering this new era of Linux application compatibility! And all through the honorable work of developers who are doing stuff just for the fun of it.
This Android Translation Layer looks amazing for Linux phones. Waydroid is already pretty awesome, but it’s just running full fat Android on top of your Linux system and has all the limitations that brings (poor to no notification integration with the host system, poor integration of filesystem, extra resource usage for all of the Android services, issues with power management and suspend, inability to change resolution on the fly, poor integration with host onscreen keyboard, etc). I’ve used Waydroid on postmarketOS and it’s nice to be able to have Android apps available, but it almost feels like still carrying around a second phone, just that second phone is virtual. Something like ATL sounds like it properly integrates Android apps into the host OS. I need to give this a try soon.