Live data from Hacker News

Linux on Samsung Galaxy smartphones

seap.samsung.com

41–50 of 255 posts

Re: Linux on Samsung Galaxy smartphones

#41
post #30
post #6

Can Galaxy even run without Linux kernel?

In theory yes. Android doesn't expose a proper Linux to userspace and Google has been clapping down what we are allowed to do with the NDK since Android 7.0 (edit: corrected, only started in 7.0). So playing "what if", you can replace Linux with something else that is compatible the NDK APIs and no one would notice, other than the OEMs.

Ah. So it is a direct case of Linux>Fuschia, then.

Makes sense. That way there isn't a massive stockpile of old useless Android devices when the "new Google OS" comes out.

Re: Linux on Samsung Galaxy smartphones

#42
post #13
post #12

I think termux ( https://termux.com/ ) does most of what I need when I need a bit of emergency Linux on my phone. Termux provides a recompiled debian distro which runs as a android App. It doesn't chroot or need root and it works amazingly well. No desktop apps though.

Another vote for termux! It's specially useful on chromeos

It’s more useful to have standard Linux installed, unless you’re incredibly sensitive about security. I treat Chromebooks as cheap Linux machines. You can buy a brand new netbook, and you know Linux will run on it with no driver issues. It’s still chroot, but you get everything you need to do development.

Re: Linux on Samsung Galaxy smartphones

#43
post #12

I think termux ( https://termux.com/ ) does most of what I need when I need a bit of emergency Linux on my phone. Termux provides a recompiled debian distro which runs as a android App. It doesn't chroot or need root and it works amazingly well. No desktop apps though.

Termux is so bloody handy. That and one of the recent Blackberry phones and you've a tool rather than a toy

Re: Linux on Samsung Galaxy smartphones

#44
post #25
post #20

I've been using termux and a fold out bluetooth keyboard for django development & code review for quite a while on my pixel XL. I absolutely love having my dev work on my phone, being able to hack away or do code review for 5 minutes wherever is incredible. At home using a chrome-cast and have it on a big screen. It would be nice to have a window manager I suppose - but i'll probably end up in a full screen terminal…

Yeah, screen size sucks. Didn't Intel build some wireless screen technology a few years ago? Somehow I never saw it in action, but as far as I can imagine I would like to have a >24 inch screen which I could use as a normal Display Port monitor, but also via NFC (+ some magic wireless technology) as a wireless monitor for my smart phone. Does anybody know where I can buy such a device or why it is not yet available?

It's called WiDi / Miracast.

It's in most Android phones. Many TVs support it, or you can buy an adapter.

Re: Linux on Samsung Galaxy smartphones

#45
post #30

Earlier quoted context omitted.

In theory yes. Android doesn't expose a proper Linux to userspace and Google has been clapping down what we are allowed to do with the NDK since Android 7.0 (edit: corrected, only started in 7.0). So playing "what if", you can replace Linux with something else that is compatible the NDK APIs and no one would notice, other than the OEMs.

> Android doesn't expose a proper Linux to userspace and Google has been clapping down what we are allowed to do with the NDK since Android 6.0. Would you have a link to more details/reading on this? I wasn't aware.

Here are the official NDK APIs.

https://developer.android.com/ndk/guides/stable_apis.html

Here are the documentation entries related to clamping down unauthorized use of other on-device libraries or Linux Syscalls.

https://android-developers.googleblog.com/2016/06/android-ch...

https://android-developers.googleblog.com/2016/06/improving-...

https://android-developers.googleblog.com/2017/07/seccomp-fi...

https://developer.android.com/about/versions/nougat/android-...

https://developer.android.com/about/versions/oreo/android-8....

Small correction, it is actually Android 7.0, not 6.0

Re: Linux on Samsung Galaxy smartphones

#48

Earlier quoted context omitted.

USB-C is that standard interface - when working at my desk I can plug a single USB-C cable into my laptop and it gains two monitors, external audio, keyboard, mouse, webcam, and all the other things you'd expect.

I wish wish wish USB-C was that reliable across the spectrum https://marco.org/2017/10/14/impossible-dream-of-usb-c

These things take time. Remember that blue screen when they announced USB plug and play support in Windows 98?

Re: Linux on Samsung Galaxy smartphones

#49
post #43
post #12

I think termux ( https://termux.com/ ) does most of what I need when I need a bit of emergency Linux on my phone. Termux provides a recompiled debian distro which runs as a android App. It doesn't chroot or need root and it works amazingly well. No desktop apps though.

Termux is so bloody handy. That and one of the recent Blackberry phones and you've a tool rather than a toy

Maybe Ballmer was right after all...

Re: Linux on Samsung Galaxy smartphones

#50
We need phone drivers! To enable us to install any distro or OS. I would love to download X distro directly from their website > install on the smartphone somehow > boot > install phone drivers > make calls

I have nothing against Android. I would like to choose who creates the OS used on my smartphone

Post reply on HN