NewPipe on Linux, Using Android_translation_layer
2 years ago by OsrsNeedsF2P to c/linux
This is really interesting stuff, found it on Hacker News. It's like WINE, but for Android <-> Linux: https://gitlab.com/...
You use a VPN?
I use a VPN with NewPipe, no problems. I'm using the NewPipe repo for the app
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.
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.
Interesting, so the Android SELinux sandbox can work with Apparmor?
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
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.
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??
Yes with no VPN it will work easier
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.
Yes I assume this increases many issues.
This might also explain why sometimes the one, sometimes the other app (desktop vs phone) is broken
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.
hey! don't be mean like that to my baby...
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
Kudos to devs though. This is awesome
Yeah it's not open source unless the title is a garbage fire.
Interesting concept, if it gets good enough I hope ubuntu touch adopts this because I'm not a big fan of waydroid.
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.
Ubuntu Touch can't use GTK? Why not?
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.
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.
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.
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.
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.
Android apps on flathub will be lovely.
How is ATL's architecture different than Waydroid's?
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
Sober uses the same method as mcpe-launcher with android minecraft
Does anyone know if this is the same way Sober is running the port of Roblox?
No, it's the same way as how mcpe-launcher works with android minecraft
It didn't work on my Arch (btw) nor Fedora
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.
feel you, brother
It translates the Android API to Linux desktop-compatible calls, just like Wine does for Windows apps.
Newpipe works great on tablets too, a lot of Android apps have a landscape mode
@lemmy.ml
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
go to feed...
@lemmy.ml
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
go to feed...
Wow this is awesome! Waydroid is insecure (outdated, rootful container), slow in development and only sandboxed on distros that use SELinux.
But that they take Newpipe... which is notoriously broken as Youtube tries to block everything...
Other apps are
Those are really unique on Android
save