NewPipe on Linux, Using Android_translation_layer (flathub.org)
from OsrsNeedsF2P@lemmy.ml to linux@lemmy.ml on 27 Oct 21:13
https://lemmy.ml/post/21855984

This is really interesting stuff, found it on Hacker News. It’s like WINE, but for Android <-> Linux: gitlab.com/…/android_translation_layer/

#linux

threaded - newest

potentiallynotfelix@lemmy.fish on 27 Oct 21:23 next collapse

Interesting concept, if it gets good enough I hope ubuntu touch adopts this because I’m not a big fan of waydroid.

Quackdoc@lemmy.world on 28 Oct 01:35 collapse

It’s still really basic, but has loads of potential, Unforunately it has a hard requirement on GTK, otherwise there are a few things that would have been nice for greater AX86 in general, for instance they have mediacodec->vaapi support, something ax86 has… struggled with in the past. but we can’t use it since we can’t use gtk.

PureTryOut@lemmy.kde.social on 28 Oct 06:43 collapse

Ubuntu Touch can’t use GTK? Why not?

Quackdoc@lemmy.world on 28 Oct 21:44 collapse

what does Ubuntu touch have to do with this? I explicitly refered to the greater ax86 ecosystem.

PureTryOut@lemmy.kde.social on 29 Oct 06:39 collapse

You were responding to a comment talking about Ubuntu Touch. You then talking about “we” without any explaining of who you meant made me assume you meant Ubuntu Touch users.

Quackdoc@lemmy.world on 29 Oct 18:04 collapse

ah my bad, I had thought I made it clear, I mean the greater android x86, Blisslabs projects like Bliss OS and waydroid, other projects like WSL2, tho that is dead… some chromeOS stuff too.

chemicalwonka@discuss.tchncs.de on 27 Oct 21:43 next collapse

It didn’t work on my Arch (btw) nor Fedora

vinnymac@lemmy.world on 28 Oct 03:15 collapse

Someone on HN earlier today mentioned they would fix the Arch issues

boredsquirrel@slrpnk.net on 27 Oct 21:50 next collapse

Wow this is awesome! Waydroid is insecure (outdated, rootful container), slow in development and only sandboxed on Fedora.

But that they take Newpipe… which is notoriously broken as Youtube tries to block everything…

Other apps are

  • OSMAnd~
  • OrganicMaps
  • Grayjay
  • Jerboa, Fedilab, Pixeldroid
  • Amethyst, Voyage

Those are really unique on Android

Bogasse@lemmy.ml on 27 Oct 22:38 next collapse

I’m using NewPipe daily and it doesn’t seem broken at all?

boredsquirrel@slrpnk.net on 27 Oct 22:53 collapse

You use a VPN?

sic_semper_tyrannis@lemmy.today on 28 Oct 00:57 collapse

I use a VPN with NewPipe, no problems. I’m using the NewPipe repo for the app

Grangle1@lemm.ee on 28 Oct 17:42 collapse

Ditto here. NewPipe + VPN works fine on my tablet I use as a YouTube machine. The only problems have been when YT messes with stuff to try to block them, and then NewPipe will have it fixed usually within a day. And that doesn’t happen as often as people think.

boredsquirrel@slrpnk.net on 28 Oct 19:27 collapse

Depends on what VPN server you use then I guess.

freebee@sh.itjust.works on 28 Oct 20:44 collapse

Newpipe breaks very often for me. Freetube breaks less

Backlog3231@reddthat.com on 31 Oct 03:51 collapse

I’m the opposite. I want to like freetube more but it never works for me. I don’t really have any problems with NewPipe.

SweetCitrusBuzz@beehaw.org on 27 Oct 23:34 next collapse

Which version of Newpipe are you using? You’ll want to use their latest release repository rather than the ‘stable’ one, that seems to make it work.

boredsquirrel@slrpnk.net on 28 Oct 07:59 collapse

I get the Nightly from Github

SweetCitrusBuzz@beehaw.org on 28 Oct 09:11 collapse

Oh, hmmm, no idea then.

fushuan@lemm.ee on 28 Oct 00:36 next collapse

I went from newpipe to tubular since it comes with sponsorblock, but iirc the backend is the same.

No VPN or anything, it works great.

boredsquirrel@slrpnk.net on 28 Oct 07:59 collapse

Yes with no VPN it will work easier

uzay@infosec.pub on 28 Oct 11:46 collapse

It’s most likely watching Youtube with your VPN that’s broken then, not NewPipe. Youtube implemented Captchas for IPs that generate a lot of traffic/a lot of people are using. That’s how they are trying to kill frontends like invidious that proxy the requests. NewPipe by default uses your own IP so it doesn’t have that problem. If you use a VPN IP that a lot of others are using too, you’ll get that same problem though.

boredsquirrel@slrpnk.net on 28 Oct 19:28 collapse

Yes I assume this increases many issues.

This might also explain why sometimes the one, sometimes the other app (desktop vs phone) is broken

Quackdoc@lemmy.world on 28 Oct 01:34 next collapse

it’s worth noting that no actual security problems have been presented that haven’t been dealt with, Sandboxing is available on any distro assuming the tools are made availible. Waydroid supports both apparmor and selinux, please report any security issues and tag the maintainers when doing so.

EDIT: you do need to set apparmor into enforce mode manually though.

boredsquirrel@slrpnk.net on 28 Oct 07:58 collapse

Interesting, so the Android SELinux sandbox can work with Apparmor?

Quackdoc@lemmy.world on 28 Oct 21:45 collapse

It’s less secure, but the host<->guest seperation is there.

richardisaguy@lemmy.world on 28 Oct 01:35 next collapse

hey! don’t be mean like that to my baby…

shekau@lemmy.today on 28 Oct 08:29 next collapse

Newpipe works perfectly fine with only small issues sometimes. OrganicMaps is available on flathub

PureTryOut@lemmy.kde.social on 28 Oct 09:05 collapse

The OrganicMaps for “regular” Linux is very different from the Android app though. Completely different UI tech (Qt vs native Android widgets) and lacks important things like turn-by-turn navigation.

red@lemmy.zip on 28 Oct 10:12 collapse

in what situation would you need turn by turn navigation on Linux???

teolan@lemmy.world on 28 Oct 10:47 collapse

For a linux phone

prole@lemmy.blahaj.zone on 28 Oct 11:59 collapse

I’ve been using FreeTube on desktop and it has worked great (with VPN)

boredsquirrel@slrpnk.net on 28 Oct 19:27 collapse

Freetube uses Electron. The Flatpak is 240MB in size, the Newpipe + Translation layer is 40MB

It also doesnt bundle an often outdated version of Chromium, as found in Electron

But I tried Newpipe Flatpak and it was blocked totally. May have been because of my VPN though. Freetube had the same issues.

Grayjay is king at block circumvention

prole@lemmy.blahaj.zone on 29 Oct 13:48 collapse

Good to know, thanks. If the FreeTube flatpak is working for me, I might as well try the Newpipe one if it’s that much better. I guess I just assumed that the translation layer would add CPU overhead.

I’ll have to look into Grayjay. Is there a flatpak? I’m on immutable, so flatpak is much preferred.

boredsquirrel@slrpnk.net on 29 Oct 17:31 collapse

Newpipe flatpak is totally broken XD

but it is more efficient, the translation layer is not an issue.

Actually, I am not sure what LocalSend and ConverterNOW use but those also look kinda like Android apps with GTK decorations.

Grayjay is android-only but a really nice cross-platform player. It is a framework with plugins, for nearly all streaming services… apart from Peertube??

banghida@lemm.ee on 27 Oct 22:11 next collapse

Wow

SweetCitrusBuzz@beehaw.org on 27 Oct 23:33 next collapse

[Genuine] Okay, why when Freetube exists though?

OsrsNeedsF2P@lemmy.ml on 27 Oct 23:46 next collapse

People who are used to NewPipe can use it

Also this is more of a testament to Android on Linux rather than NewPipe on Linux

SweetCitrusBuzz@beehaw.org on 28 Oct 00:33 collapse

Ah, okay. Thanks for explaining!

penquin@lemm.ee on 28 Oct 00:44 next collapse

FreeTube doesn’t always have 4k. I don’t remember which format, but a video has to be a certain format to show as 4k. Majority of videos that are shot in 4k show as only 1080p on FreeTube. I welcome new pipe to linux and will actually be using it

SweetCitrusBuzz@beehaw.org on 28 Oct 02:15 collapse

Well, good news the newest update to Freetube now adds 4K+ support since they changed the library used to get the videos or something. I have tested it and the video says 4K and seems to be that. Feel free to correct me if you try the latest update and find any discrepancies.

penquin@lemm.ee on 28 Oct 10:51 next collapse

That’d be great then. Will be checking soon. Thank you

penquin@lemm.ee on 28 Oct 16:24 collapse

It has indeed been fixed, and I love it. Thank you

SweetCitrusBuzz@beehaw.org on 28 Oct 16:31 collapse

Yay! Sure, we are happy to help!

PureTryOut@lemmy.kde.social on 28 Oct 06:44 collapse

This is not about Newpipe itself but more that fact that this is an Android app ran on desktop Linux, without any containers like Waydroid does. This is like Wine, but for Android apps.

SweetCitrusBuzz@beehaw.org on 28 Oct 07:41 collapse

Thanks for explaining!

jmf@lemm.ee on 28 Oct 00:04 next collapse

really buggy on fedora kinoite

richardisaguy@lemmy.world on 28 Oct 01:33 next collapse

feel you, brother

PureTryOut@lemmy.kde.social on 28 Oct 06:42 collapse

Well yes, it’s still early days and very much WIP. But the fact it works at all is amazing and shows what can be done with more work.

penquin@lemm.ee on 28 Oct 00:46 next collapse

This is great. This gives me hope for Linux mobile 🙏🏽

dr_jekell@lemmy.world on 28 Oct 11:30 collapse

They really shot themselves in the foot by going straight to phones.

The better way would have been to work on tablets first and working out all the bugs on larger devices with a limited feature set before moving into phones with the attendant issues of regional cell bands and restrictions.

noodlejetski@lemm.ee on 28 Oct 13:22 collapse

tablets (especially ones that could be flashed with Linux, i.e. not iPads) are way less common than smartphones, so you get fewer devices to choose from for testing, fewer users who can run it, report bugs, and support the project, and less interest in general.

dr_jekell@lemmy.world on 28 Oct 14:59 collapse

The hardware isn’t so much of a problem as there are companies who can make or source compatible tablets like the PineTab2 and the PineNote.

It’s making the software compatible with a lower power mobile device and learning what needs to fixed.

It would have been much easier to deal with getting a tablet up and running before dealing with getting a mobile device functional.

Making the small steps from laptop to tablet then to phone would have saved them a lot of grief and software mistakes.

xthexder@l.sw0.com on 28 Oct 20:52 collapse

What are the chances of everyone interested in this project already having a tablet? I don’t own any, and I certainly wouldn’t be going out to buy one just to test running Linux on it. I do have multiple old phones I could turn into development test devices however. Anything is better than nothing.

Mwrp@discuss.tchncs.de on 28 Oct 03:37 next collapse

I wonder how does it work? New pipe is originally a portarit application for Android.

PureTryOut@lemmy.kde.social on 28 Oct 06:45 next collapse

It translates the Android API to Linux desktop-compatible calls, just like Wine does for Windows apps.

tomjuggler@lemmy.world on 28 Oct 15:05 collapse

Newpipe works great on tablets too, a lot of Android apps have a landscape mode

HeerlijkeDrop@thebrainbin.org on 28 Oct 12:10 next collapse

How is ATL's architecture different than Waydroid's?

pokexpert30@lemmy.pussthecat.org on 28 Oct 19:52 collapse

I guess it’s running a free ART implémentation? As Android runs on Linux there’s at least no kernel translation layer to do

tomjuggler@lemmy.world on 28 Oct 15:07 next collapse

Does anyone know if this is the same way Sober is running the port of Roblox?

hankskyjames777@thebrainbin.org on 29 Oct 18:38 collapse

No, it's the same way as how mcpe-launcher works with android minecraft

yogurtwrong@lemmy.world on 28 Oct 18:36 next collapse

As the rule of thumb with FOSS projects, it has a horrible name

Time to rename it to one of the very creative FOSS project names

  • yet another something (YAS)
  • something is not other thing (SINOT)
  • OpenSomething, FreeSomething, LibreSomething
  • Something<framework name>
  • Periodic table
  • Somethingify (this one is new)

Kudos to devs though. This is awesome

[deleted] on 29 Oct 18:51 next collapse

.

captain_aggravated@sh.itjust.works on 29 Oct 18:56 next collapse

  • KDE Advanced Something Editor (KASE)
  • Gsomething
  • Some random word. The worst ones I can think of are simultaneously Kleopatra and Seahorse. Guess what they do.
  • “It’s actually the name of an Indonesian fruit commonly eaten at celebrations…”

Yeah it’s not open source unless the title is a garbage fire.

ikidd@lemmy.world on 29 Oct 18:57 collapse

You forgot -XNG

Unyieldingly@lemmy.world on 29 Oct 00:13 next collapse

Android apps on flathub will be lovely.

Mwa@lemm.ee on 29 Oct 14:01 next collapse

finally a non electron yt client, i also have another question does sober use the same method.

hankskyjames777@thebrainbin.org on 29 Oct 18:44 next collapse

Sober uses the same method as mcpe-launcher with android minecraft

Mwa@lemm.ee on 30 Oct 07:05 collapse

Oh

Wispy2891@lemmy.world on 29 Oct 20:49 next collapse

Electron apps suck and should die but for a YouTube player it seems appropriate

Mwa@lemm.ee on 30 Oct 07:05 collapse

Man Electron takes so much resources tho

woelkchen@lemmy.world on 29 Oct 21:13 collapse

flavio.tordini.org/minitube

Mwa@lemm.ee on 30 Oct 07:04 collapse

Thanks

mariah@feddit.rocks on 30 Oct 04:22 collapse

It won’t show a file picker for importing subscriptions so rip