cross-posted from: https://sh.itjust.works/post/45207780

TIL about Android Translation Layer (ATL), a way to port Android apps to Linux Mobile

I was searching for YouTube clients on my Plasma Bigscreen Linux TV Box, and found NewPipe, a popular Android YouTube frontend. Turns out this tool is how they moved it over.

Great solution alongside projects like Waydroid, as you can post individual apps to Flathub or other Linux storefronts, rather than needing to install a whole ROM to get your Android apps to appear in your Linux app tray.

1 comment

sorted by: hot top controversial new old

Oh man, this is great news! I'm waiting for a couple more to make it, and I'm off the megatrain!

  • source
  • 42 comments in c/technology@lemmy.world view that post
    [–] 205 points 1 year ago* (last edited 1 year ago) (19 children)

    With Google attempting to further lockdown Android, the time is ripe for Linux Mobile. Projects like this can help make it a viable alternative.

    Thank you so much to everyone working on this!

  • source
  • hideshow 19 child comments
  • [–] 40 points 1 year ago (10 children)

    Was just gonna say this. I'm currently using GrapheneOS and am concerned about how long my pixel 8a will last with Google being such assholes. But if this app can solve the issue of not having android, then I'd definitely switch to a Linux phone (with further research of course).

  • source
  • parent
  • hideshow 10 child comments
  • [–] 35 points 1 year ago (8 children)

    Graphene is working with a major phone Maker and will be releasing a Graphene compatible phone in 1-2 years

  • source
  • parent
  • hideshow 8 child comments
  • [–] 13 points 1 year ago (3 children)

    I've heard, which would be mega awesome when it does come out. Maybe I wouldn't have to fight RCS so hard lol. Unfortunately this Pixel 8a I used is only a year old, so getting a new phone in 1-2 years seems like a waste. But if Google goes nuclear in a few years, it's either Graphene hardware, Linux phone, or dummy...

    I refuse to go back to Apple, and I didn't come to GrapheneOS just to go back to stock Android.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 1 year ago

    I'm on a pixel 8 with GrpaheneOS and was hoping not to have to worry until 2027 or whenever the updates end. I would hope the devs at least consider a few years of updates for pixels after they release a me wphone but I guess time will tell.

  • source
  • parent
  • [–] 2 points 1 year ago (1 child)

    Genuine question, how do you do banks and Netflix on your phone?

    Both apps and others with similar paranoia are my biggest hold ups for rooting or custom ROMs. And nope, laptop is not an option for me, I spend too many work hours on it.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 1 year ago

    I don't use official streaming apps, I basically pirate everything on a Fire stick TV. Idk if anyone has reported issues with them on GOS. Some of my banking apps work, others don't. I just do the ones that don't work online in browser instead, I feel like it shouldn't be a problem tbh.

    If you need tap to pay/Google wallet then you unfortunately can't use GOS due to not being approved by Google or smth. Like SafetyNet issues or smth.

  • source
  • parent
  • [–] 9 points 1 year ago

    You should be fine on gOS for 6 yrs+, which is how long google promised to keep up with security updates. The device tree (think hardware drivers), which is what google removed with pixel 10 is what is causing grief, is already there for lower pixels. Unless, of course, google comes up with some new fuckery to invalidate the usability of the security updates (pray I don't alter the deal further...)

  • source
  • parent
  • [–] 9 points 1 year ago (3 children)

    I'm afraid with how insecure mobile networks are, modem manufacturers will never dare to open or document their mobile drivers to Linux. And we'll continue to be stuck in this perfectly controlled and planned scenario.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 7 points 1 year ago (1 child)

    Ideally, the cellular modem just looks like a network device and usb sound card to the OS. Jail it as much as possible.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 1 year ago

    also networks. on my network i can't use volte or 5g with a google pixel 5 because they did not "certify" that.

    They "certify" a handful of samsung + the iphones, no fairphone and they would absolutely never "certify" stuff like the pinephone, if they could i think they would even blacklist their whole IMEI range

  • source
  • parent
  • [–] 8 points 1 year ago (2 children)

    It would likely increase adoption of the OS on people's computers too.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 81 points 1 year ago (2 children)

    This would be a game changer, like how Steam brought games to Linux, that could bring mobile apps to Linux.

    I wish Linux mobile becomes a real option soon

  • source
  • hideshow 2 child comments
  • [–] [S] 19 points 1 year ago (1 child)

    Steam could make this happen faster if more of their user base requested the ability to play (x86 compatible) Android games on their Deck.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 4 points 1 year ago

    The Android dev kit includes a copy of QEMU that's set up to emulate ARM with a selection of popular screen sizes and revisions of the OS, so that you can test your app on a variety of 'potential phones' before you upload it to the marketplace. Snapdragons are amazingly performant CPUs for how gently they sip at the battery, but they're not that strong in the big scheme of things - any random x86 processor should be able to emulate them while using fifty times the power. A Steam deck ought to be able to do it; the request will then be 'we'd like to play Android games better', which to me is a much more reasonable ask.

  • source
  • parent
  • [–] 39 points 1 year ago (2 children)

    You can just open an apk file with this tool; apps don't need to be integrated with it. It's just that the implementation is far from complete and most apps will not work (correctly) right now.

  • source
  • hideshow 2 child comments
  • [–] [S] 12 points 1 year ago (1 child)

    Oh good to know! If you've tried it with any specific apps this way, would love to hear which ones work well and in what ways.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 27 points 1 year ago

    Just to point out a potential misunderstanding: NewPipe devs did not use ATL to move it over, the developers of ATL chose NewPipe as the first app and extend the tool around getting more features of NewPipe to work

  • source
  • [–] 14 points 1 year ago

    I've been following this since the initial Newpipe Linux flatpak release. I find it more exciting than Waydroid even though Waydroid is way more functional today

  • source
  • [–] 12 points 1 year ago

    I enjoy learning about this topic - I’m kinda tired of iOS/android os.

  • source
  • [–] 14 points 1 year ago

    This is the way.

  • source
  • [–] 5 points 1 year ago* (last edited 1 year ago)

    Linux mobile is the way

    Lets goo.

  • source
  • [–] 5 points 1 year ago (4 children)

    my Plasma Bigscreen Linux TV Box

    Nice! What distro are you on? Or did you compile it yourself?

  • source
  • hideshow 4 child comments
  • [–] [S] 14 points 1 year ago (1 child)

    FYI, as well if you're looking for a good remote for a GNU/Linux TV box (or Android, Windows, etc), this remote is the best one I've tried from Amazon.

    https://www.amazon.ca/Backlit-Keyboard-Backlight-Learning-Voogoo/dp/B09Z2X4WGB

  • source
  • parent
  • hideshow 1 child comment
  • [–] [S] 4 points 1 year ago*

    I'm currently using a Raspberry Pi with their Debian based OS. It is on Bookworm, but there are major improvements to Plasma Bigscreen on QT6. They didn't make the updates before it was removed for Trixie, and Trixie is still in beta for Raspberry Pi, so doing an in place upgrade for the OS and compiling Plasma Bigscreen for it to see the improvements.

    I think Manjaro (which works well on mobile too) has the latest one in their repos, and the KDE ARM OS may have it too if you want to try it without compiling it.

    I want to see how difficult it is to drop in OVOS/Neon modules to replace Mycroft ones for voice control too.

  • source
  • parent
  • [–] 4 points 1 year ago (1 child)

    How did you get Plasma Bigscreen? Last time I checked it said that it was "still in development" and the website didn't provide any builds.

  • source
  • hideshow 1 child comment
  • [–] 3 points 1 year ago (1 child)

    what about waydroid? I'm thinking of installing chimera linux with phosh as a de, and for the apps I was thinking mostly linux programs and maybe some android apps with waydroid, but I'll also try this!

  • source
  • hideshow 1 child comment
  • [–] 1 point 1 year ago

    I tried it a few times, did not work for me, I've had android emus on windows work fine, I'm pretty sure I followed the setup correctly, but I couldn't get apps to launch.

  • source
  • parent
  • [–] 3 points 1 year ago

    Oh dang this might be just what i need !

  • source
  • [–] 2 points 1 year ago

    There's some good potential here for sure. I use a project called Sober to run Roblox on my Linux PC, which runs the Android version. It works incredibly well.

  • source
  • 14 comments in c/android@lemdro.id view that post
    [–] 21 points 1 year ago

    Linux Mobile Intensifies

  • source
  • [–] 13 points 1 year ago (2 children)

    Is it possible to get NewPipe on regular desktop Linux?

  • source
  • hideshow 2 child comments
  • [–] 12 points 1 year ago (3 children)

    Amazing to see newpipe on my desktop but wow, over a gigabyte of flatpak trash downloaded. Android app is 12MB for comparison.

  • source
  • hideshow 3 child comments
  • [–] 9 points 1 year ago (2 children)

    Similar apps:

    • Pipeline 8 mb

    https://flathub.org/apps/de.schmidhuberj.tubefeeder

    • VacuunTube 114 mv

    https://flathub.org/apps/rocks.shy.VacuumTube

    • Parabolic 114 mb

    https://flathub.org/apps/org.nickvision.tubeconverter

    Looks like the NewPipe flatpak is very unoptimized compared to what others are doing.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 7 points 1 year ago

    Yeah, but are those Android apps? My understanding is that this Flatpak contains not an emulator, but like a lightweight version of android and the dependencies. That's going to take up a lot of extra space.

  • source
  • parent
  • [–] 4 points 1 year ago (5 children)

    Tangentially related but since they mentioned TVs, are there any ways to flash smart TVs with something barebones? Not just "use pi hole and host jellyfin" but like... actually get rid of all the bloatware. Mines starting to slow down and I have a feeling its mostly that garbage corporate software it came with.

  • source
  • hideshow 5 child comments
  • [–] 5 points 1 year ago

    Not really, no.
    If the TV is running Android you could do some trickery to (maybe) disable the bloat apps, but actually flash a new OS? No.

    Developing a third party OS for a closed device like this is super hard, and there's so many millions of TV models, the developers with the skill to do it end up focusing their time on other devices instead.
    I'd recommend looking into a TV box appliance of some sort.

  • source
  • parent
  • [–] 4 points 1 year ago*

    Some of those OSes are pretty integrated with the TV's features, like picture processing, input settings and such, so I can envision that being problematic.

    I know it feels like I waste, but I think factory resetting it, airgapping it and using some external device is the way.

  • source
  • parent
  • [–] 3 points 1 year ago*

    It's best to never connect a "smart" TV directly to the internet. Bloat and updates to the software will inevitably cause what you mentioned. It's almost intentionally planned obsolescence.

    A Android box, Raspberry Pi, or apple tv, or small pc would be the way to go IMO any day of the week.

  • source
  • parent
  • 1 comment in c/linuxphones@lemmy.ca view that post