Live data from Hacker News

NewPipe on Linux, Using Android_translation_layer

flathub.org

21–30 of 100 posts

Re: NewPipe on Linux, Using Android_translation_layer

#21

I feel like the interesting part is mostly https://gitlab.com/android_translation_layer/android_transla... which is probably an alternative to waydroid, but maybe more like WINE so it doesn't need the binder kernel module? EDIT to add: I also think packaging up an application plus the compatibility layer using flatpak[0] is a really nice idea; it lets you 1. make those apps available in a way that nearly appears nati…

Trying to reimplement Android without Binder is a doomed plan. Everything about Android is so intrinsically linked to having Binder available that you're just going to end up piling hacks on hacks to have anything working. At this point, an x86 Android image will be better and more reliable. Somewhat just as fast. Services ? Binder. Intents (even internal ones) ? Binder. Play Services / microG which 90% of apps use ?…

For most of Wine's life it was sufficient to implement the system library ABI, but recent developments mean they also have to trap the (unstable) syscall ABI with ptrace. You could mimic Binder in userspace the same way, without the kernel module. But even that's not a problem since Binder is upstream and enabled by default in many distro kernels now.

Re: NewPipe on Linux, Using Android_translation_layer

#22

This is amazing! Have been using Newpipe for years because of its ability to group subscribed channels into different feeds.

On the desktop, youtube in the browser is tolerable with ublock origin, so I use it in preference to youtube because of the ability to show search results most recent first. Newpipe (maybe due to technical obstacles, idk) doesn't do that and it makes things harder.

Re: NewPipe on Linux, Using Android_translation_layer

#23
post #5

Why would one want NewPipe on desktop when there's https://freetubeapp.io/

Doesn’t work well on Wayland unfortunately. Don’t know if this one does but worth a shot.

I have used FreeTube on wayland now for a long time without any issues. Electron still uses x11 as the default on wayland so you need to enable the wayland mode manually. You can easily do that by setting the ELECTRON_OZONE_PLATFORM_HINT=auto environment variable.

Re: NewPipe on Linux, Using Android_translation_layer

#26
post #21

Earlier quoted context omitted.

Trying to reimplement Android without Binder is a doomed plan. Everything about Android is so intrinsically linked to having Binder available that you're just going to end up piling hacks on hacks to have anything working. At this point, an x86 Android image will be better and more reliable. Somewhat just as fast. Services ? Binder. Intents (even internal ones) ? Binder. Play Services / microG which 90% of apps use ?…

For most of Wine's life it was sufficient to implement the system library ABI, but recent developments mean they also have to trap the (unstable) syscall ABI with ptrace. You could mimic Binder in userspace the same way, without the kernel module. But even that's not a problem since Binder is upstream and enabled by default in many distro kernels now.

When did WINE start doing this? I always love a good read on ptrace hacks.

Re: NewPipe on Linux, Using Android_translation_layer

#28
post #10

Earlier quoted context omitted.

Perhaps because one is accustomed to the NewPipe experience and would prefer consistency across devices? Never heard of Freetube, but it looks pretty snazzy.

I tried it, it didn't feel like what you get on android and had ui glitches

I have been enjoying the new version that just came out yesterday, they implemented a new video player and IMHO the user experience is much improved, if the UI glitches you mentioned were related to the player, maybe you could give it a try.

Re: NewPipe on Linux, Using Android_translation_layer

#30
post #5

Why would one want NewPipe on desktop when there's https://freetubeapp.io/

Perhaps because one is accustomed to the NewPipe experience and would prefer consistency across devices? Never heard of Freetube, but it looks pretty snazzy.

I don't know, it makes sense that UI between desktop and mobile would be different. I use Freetube on desktop and newpipe on mobile.

Having said that, newpipe is not only a youtube client but also a soundcloud, bandcamp and a few others too.

Post reply on HN