News for hackers. Stuff that matters.
Re:Is there hope for Linux on smartphones? [video] by NuSkooler on Tuesday August 23, 2022 @03:00PM (#32569603)
It's mentioned already, but: Android.

Discounting Android as "Not Linux" enough is a mind boggle to me. Perhaps not "GNU" enough, but certainly the spirit of Linux -- customized for the particular needs, stable, fast, works on a plethora of hardware, etc.

Re:Is there hope for Linux on smartphones? [video] by kitsunesoba on Tuesday August 23, 2022 @03:11PM (#32569796)
Vanilla Android or AOSP might kinda have “Linux Spirit” but I’m not sure what gets shipped on most consumer devices does… lots of random things locked down (including boot loader, sometimes), crapware all over the place, drivers and kernel changes that aren’t upstreamed making it difficult to install anything but carrier/manufacturer-flavored Android, etc.

I think most people rooting for “smartphone Linux” are looking to be able to swap and customize OSes on their phones and tablets as easily as they do on their x86 PCs without futzing around with device specific ROMs and the like.

Re:Is there hope for Linux on smartphones? [video] by colordrops on Tuesday August 23, 2022 @06:03PM (#32572186)
Android has something called GSIs (Generic System Images) that will run on any device that supports Android 9 and above. They don't always support custom hardware, but this isn't really any different from pure Linux. Instead of building a mobile ecosystem from scratch, why not build a community around submitting drivers to a build based on GSI?
Re:Is there hope for Linux on smartphones? [video] by zozbot234 on Wednesday August 24, 2022 @12:47AM (#32575114)
AIUI, GSI's are not quite "generic", there are a few architectural variants. Plus they only give you a "system" partition, so the kernel and low-level userspace code (driver HAL, init-system etc.) are still Android-native and device-specific. Droidian is trying to implement something that's as-close-as-possible to Linux as GSI's, and it's not easy.
Re:Is there hope for Linux on smartphones? [video] by zozbot234 on Tuesday August 23, 2022 @04:09PM (#32570768)
Even AOSP is running something quite far from a mainline kernel, although they've been gradually reducing the delta with Linux proper. It really is a fork.
Re:Is there hope for Linux on smartphones? [video] by azinman2 on Tuesday August 23, 2022 @06:36PM (#32572500)
But why is a fork still not Linux? Every major distributor runs a fork.
Re:Is there hope for Linux on smartphones? [video] by pjmlp on Wednesday August 24, 2022 @05:29AM (#32576951)
Because Linux kernel is an implementation detail in what Android userspace is concerned.
Re:Is there hope for Linux on smartphones? [video] by calvinmorrison on Tuesday August 23, 2022 @03:24PM (#32570043)
My pixel broke (was running CalyxOS, lineage before that), and I had to get a quick burner phone to make work calls. Got a $200 dollar used samsung. I didn't realize what utter trash nonsense is loaded onto normal phones. It's absolutely bonkers what Samsung did to destroy Android with no value add.
Re:Is there hope for Linux on smartphones? [video] by BossingAround on Wednesday August 24, 2022 @03:41AM (#32576042)
To be honest though, there's a huge difference between the Android experience on a $200 Samsung phone, and a $2000 one. I have a Galaxy S10, and the experience is fairly good (though I would prefer at least a vanilla Android).
Re:Is there hope for Linux on smartphones? [video] by giantrobot on Tuesday August 23, 2022 @08:15PM (#32573391)
> It's absolutely bonkers what Samsung did to destroy Android with no value add.

They added value, just not for end users.

Re:Is there hope for Linux on smartphones? [video] by seba_dos1 on Tuesday August 23, 2022 @07:19PM (#32572876)
Each AOSP version is just a big code drop from Google. It's really far away in the spirit. Not even talking about how difficult it is to patch some component as a user.
Re:Is there hope for Linux on smartphones? [video] by morepork on Wednesday August 24, 2022 @01:31AM (#32575291)
No it's not, AOSP is developed in the open. Directed by Google sure, but not just a code drop every release.

Check out the current PRs in gerrit: https://android-review.googlesource.com/q/status:open+-is:wi...

Re:Is there hope for Linux on smartphones? [video] by seba_dos1 on Wednesday August 24, 2022 @03:34AM (#32576000)
I have taken a look at random git repo that seemed important enough: https://android.googlesource.com/platform/system/core.git

There's about 5% of commits made by people with e-mail domain different than google.com, android.com or chromium.org (6% if you count the last one too).

Pretty much the same result on another one: https://android.googlesource.com/platform/frameworks/base.gi...

Do you get to see the code of yet unreleased versions of Android? Sure, they do accept some patches, but "developed in the open" doesn't seem to describe their development model.

Re:Is there hope for Linux on smartphones? [video] by sleepymoose on Tuesday August 23, 2022 @04:51PM (#32571323)
>including boot loader, sometimes

Perhaps in the past, but it feels like more and more this is shifting toward the expectation, rather than the exception.

Re:Is there hope for Linux on smartphones? [video] by nivenkos on Tuesday August 23, 2022 @03:15PM (#32569857)
When I think of a Linux phone, I really want something that supports a full GNU/Linux desktop as convergence.

The Steam Deck does this perfectly!

Re:Is there hope for Linux on smartphones? [video] by Teever on Tuesday August 23, 2022 @03:17PM (#32569903)
Damn, you got me thinking now, that Valve of all people could probably put out a Linux phone.

The Steam Phone could be a game changer.

Re:Is there hope for Linux on smartphones? [video] by saidinesh5 on Tuesday August 23, 2022 @03:40PM (#32570312)
You may actually be onto something here!

Especially if the smaller steam deck clones like Aya neo Air Pro ( https://www.youtube.com/watch?v=Kw-0ngNgGC0 ) can support voice calls and a decent camera (the only other things my "mobile gamer" friends care about in a phone), I think there will be a niche market around it. Nokia N-Gage reborn!

We already have decent enough android apps support on linux using anbox / waydroid. For the edge case android apps.

Re:Is there hope for Linux on smartphones? [video] by coffee_beqn on Tuesday August 23, 2022 @06:48PM (#32572599)
I don’t believe that can happen. The steam deck kind of works because they pack in a bunch of peripherals that won’t fit into a phone. The touchscreen experience on it is miserable. 99% of steam games with touchscreen controls would be totally a sad experience.

What it is is a laptop in a funny case.

Re:Is there hope for Linux on smartphones? [video] by hrbf on Tuesday August 23, 2022 @04:49PM (#32571289)
For a niche market, possibly. However, I just don't see Valve as a company being interested in becoming a phone manufacturer. What would realistically be in for them? It's strategically mostly irrelevant to their core business, with the sole exception of the Steam Store. But to create, develop and support a whole phone platform (hard- and software) just to sell mobile games? I don't see it.
Re:Is there hope for Linux on smartphones? [video] by jnwatson on Tuesday August 23, 2022 @06:00PM (#32572146)
You underestimate the size of the opportunity. The mobile game market was $119 billion in 2021.
Re:Is there hope for Linux on smartphones? [video] by hrbf on Tuesday August 23, 2022 @06:32PM (#32572460)
Given the complexities involved in such an endeavor, I'm still confident in my assessment, especially when confronted with a one-liner just throwing a large number against the wall. If Microsoft couldn't get a mobile OS off the ground, despite trying, I don't see what the opportunity size has anything to do with it. Focusing on (even casual) gamers with specialized hardware works for a gaming-focused company, whereas a general-purpose device would not. Compare Nintendo Switch and Steam Deck. Strictly speaking this is part of mobile gaming, with significantly higher margins.
Re:Is there hope for Linux on smartphones? [video] by ThrowawayR2 on Tuesday August 23, 2022 @11:36PM (#32574717)
> "If Microsoft couldn't get a mobile OS off the ground, despite trying..."

Google was actively sabotaging access to their services, like Youtube, at that time. With the amount of regulatory scrutiny they're under today, they wouldn't dare try it again.

Re:Is there hope for Linux on smartphones? [video] by chiefalchemist on Tuesday August 23, 2022 @08:11PM (#32573361)
Yes. But the gamer niche is just that. A niche. A toe hold. A position every up and coming brand / product dreams about. They can extend out from there.

MS on the other hand, drank its own Kool Aid, threw it's weight around, went all in...and walked away empty handed. There was little value add. There was zero coolness. Etc.

There are some similarities but that was then, this is now. A device that's "proven" - and some privacy tossed in - can probably find a market just beyond the gaming niche.

Re:Is there hope for Linux on smartphones? [video] by GekkePrutser on Wednesday August 24, 2022 @04:11AM (#32576253)
Nothing MS does has coolness. Remember the Zune? Functionally it was a great alternative to the iPod. It just totally lacked cool. I mean dark brown seriously? Or Windows 8, they just lack total feeling with what the market wants (or think they know better)

I think Microsoft is an organisation that's just too fragmented. Different BUs pulling it into different directions without a clear overall strategy.

Like with edge, they do some good stuff like ad/tracking blocking but at the same time introduce really nasty buy now and pay later scams that undermine any chance of it becoming a respected product. And that have no place in a browser at all.

Re:Is there hope for Linux on smartphones? [video] by hrbf on Wednesday August 24, 2022 @02:50AM (#32575726)
Given the possible target market, there is a reason why only a handful of companies are producing competitive smartphones today. It reads as wishful thinking to me that a competitor would arise, bringing “cool” and “privacy” and whatever else along with them.

If nothing else, you simply couldn’t get the parts and manufacturing capacity needed to go beyond a niche product without effectively building the capacity out of pocket. Not to mention the headaches of dealing with network providers. And you basically will have to become an advanced digital camera manufacturer as well. Add battery life, size and price into the mix and you end up with portable consoles instead of phones. Like we have today.

Simply put: by not doing a general purpose device, you skip several metric tons of issues that occupy your focus but gain you very little.

Re:Is there hope for Linux on smartphones? [video] by zozbot234 on Wednesday August 24, 2022 @03:11AM (#32575862)
Look at Fairphone. They're doing a modular, fully repairable phone build in a form factor that's only slightly bigger than current phones. They're not quite perfect wrt. openness, Linux status etc. but getting there.
Re:Is there hope for Linux on smartphones? [video] by hrbf on Wednesday August 24, 2022 @03:38AM (#32576021)
This actually confirms my points. They are a niche company doing a niche device for a completely different target market, entirely not focused on performance but eco-friendliness. They are not mainstream competitive. The devices’ camera is at best usable. Also: needs Android to work at all.
Re:Is there hope for Linux on smartphones? [video] by nivenkos on Wednesday August 24, 2022 @02:08AM (#32575484)
Exactly, maybe they could do a "gaming phone" like Nokia tried before.

The Steam Deck is very impressive.

Re:Is there hope for Linux on smartphones? [video] by pjmlp on Wednesday August 24, 2022 @05:31AM (#32576964)
The taco phone was hardly a success, or the n-gage variants.
Re:Is there hope for Linux on smartphones? [video] by nivenkos on Tuesday August 23, 2022 @03:38PM (#32570285)
Yeah, I think the main issue is getting support for WhatsApp and banking and ID services (that usually block even just rooted Android phones).

I'm literally writing this comment from my Steam Deck.

Re:Is there hope for Linux on smartphones? [video] by Bilal_io on Tuesday August 23, 2022 @03:29PM (#32570129)
I would buy a Steam Phone, and I'd want a big Valve logo on its back, and an easter egg that says "half-life 3 is not coming"
Re:Is there hope for Linux on smartphones? [video] by lrvick on Tuesday August 23, 2022 @03:12PM (#32569817)
Android is Linux but it has nowhere close to the fully open source freedom of a traditional Linux workstation. This is why I carry a tiny linux laptop.
Re:Is there hope for Linux on smartphones? [video] by jcynix on Tuesday August 23, 2022 @03:26PM (#32570085)
I'm quite happy with Termux on Android. Allows me to rsync my data for backup or imports, I can ssh into real Linux machines, process images with ImageMagick, etc. Sharing documents from inside other apps works too (you can set up scripts in Termux as receivers). Sure, full control of a device would be great, but I'm better off with Android after I migrated from IOS.
Re:Is there hope for Linux on smartphones? [video] by cma on Wednesday August 24, 2022 @02:52AM (#32575736)
Bad news: Android blocks exec in newer API versions. Termux isn't going to be able to use newer API features as they release, unless they rewrite their own ELF loader. exec is now only allowed on executables within the apk, nothing fetched from termux's repositories.
Re:Is there hope for Linux on smartphones? [video] by nivenkos on Tuesday August 23, 2022 @03:40PM (#32570320)
What do you use a small laptop? Seems there's nothing ultralight and small like the Asus Eee and Acer Aspire One these days (even though you'd think it'd be easier with ARM now).
Re:Is there hope for Linux on smartphones? [video] by zozbot234 on Tuesday August 23, 2022 @04:17PM (#32570881)
> What do you use a small laptop? Seems there's nothing ultralight and small like the Asus Eee and Acer Aspire One these days

They're called "Ultrabooks" now. Buy an older one on the used market if you don't care about top performance.

Re:Is there hope for Linux on smartphones? [video] by nfriedly on Tuesday August 23, 2022 @04:09PM (#32570774)
Not the OP, but you should take a look at https://www.gpd.hk/ they have a handful of small devices targeted at different niches.
Re:Is there hope for Linux on smartphones? [video] by lrvick on Wednesday August 24, 2022 @06:10AM (#32577299)
The GPD Pocket is what I carry in a leg bag.
Re:Is there hope for Linux on smartphones? [video] by lifeisstillgood on Tuesday August 23, 2022 @07:18PM (#32572866)
which tiny linux laptop? I am in the market, especially if it can survive jogging in backpack!
Re:Is there hope for Linux on smartphones? [video] by lrvick on Wednesday August 24, 2022 @06:14AM (#32577344)
I carry a GPD Pocket in a leg bag. Fantastic for conferences etc. No need for a backpack.
Re:Is there hope for Linux on smartphones? [video] by CharlesW on Tuesday August 23, 2022 @03:17PM (#32569900)
Phones are not PCs/general-purpose computers. Do you want your TV to be a general purpose computer as well? (Having put my family through a Media Center PC and TV remotes with keyboards/trackpads for several years, I don't recommend it.)
Re:Is there hope for Linux on smartphones? [video] by realusername on Tuesday August 23, 2022 @03:33PM (#32570192)
> Phones are not PCs/general-purpose computers.

That's just the opinion of the manufacturer, we don't have to agree.

Phones have banking and government apps, they are general purpose computers from their usage alread

Re:Is there hope for Linux on smartphones? [video] by nine_k on Tuesday August 23, 2022 @07:07PM (#32572774)
If something currently serves as a general-purpose computer for most people, it's an (Android) phone. It's affordable, it has integrated graphics, video, audio, trackpad, and keyboard, it has excellent networking, it's easily programmable and has a plethora of apps for all cases.

It does not have a built-in Basic-like language for immediate fiddling; this is sad, of course.

Re:Is there hope for Linux on smartphones? [video] by lrvick on Wednesday August 24, 2022 @06:19AM (#32577372)
If you do not mind running an endless pile of proprietary software and granting several third parties the right to track you and have remote root access to your device via hundreds of binary blobs, then Android is great. Even CalyxOS and GrapheneOS cannot escape the hell that is the vendor partition. Not to mention binary blobs from Qualcomm etc that target particular kernel versions which guarantee your hardware will be a brick in 2-4 years when it is no longer possible to use modern kernels because Qualcomm moved on to new chipsets and abandoned the last gen.

I spent the better part of a year doing Android OS dev only to conclude there just is no way to trust it or make it sustainable.

The Librem 5, Pinephone, and the Precursor are shaping up to be decent options. For now no phone at all suits me fine.

Re:Is there hope for Linux on smartphones? [video] by pjmlp on Wednesday August 24, 2022 @05:33AM (#32576987)
Plenty of options on the respective stores.
Re:Is there hope for Linux on smartphones? [video] by bitwize on Tuesday August 23, 2022 @06:14PM (#32572304)
Bankers and governments don't want your phone to be a general purpose computer. That's why you can't run your banking app on a rooted phone. From a security standpoint, "general purpose computing" is really just "arbitrary code execution" -- generally a bad thing.

We are approaching the sunset of general purpose computing in the consumer space. There's nothing you can do. Accept it and move on.

Re:Is there hope for Linux on smartphones? [video] by kube-system on Tuesday August 23, 2022 @06:58PM (#32572699)
“General purpose computing” does not imply any particular security model, it refers to a device with a variety of end user purposes.

It is in contrast to a special purpose computer, which smartphones clearly are not.

Re:Is there hope for Linux on smartphones? [video] by GekkePrutser on Wednesday August 24, 2022 @06:58AM (#32577667)
> We are approaching the sunset of general purpose computing in the consumer space. There's nothing you can do. Accept it and move on

I agree that governments and big business (not just banks, think about media services with DRM) don't want us to have full control of our computers for many reasons.

I disagree we just have to accept it though. I will keep fighting that forever.

Re:Is there hope for Linux on smartphones? [video] by megous on Tuesday August 23, 2022 @06:40PM (#32572538)
You missed quite a lot of history then. Smartphones are general purpose computers for the last 12 years or so.
Re:Is there hope for Linux on smartphones? [video] by lrvick on Wednesday August 24, 2022 @06:12AM (#32577325)
Actually yes. All my TVs have attached PCs and run kodi, steam, etc on Ubuntu so I can do whatever I want on them. All my remotes have an airmouse and small keyboard.

We love it. When we want to look up something we see in a video we just open a browser. We also use them to order food etc. No proprietary software required.

Re:Is there hope for Linux on smartphones? [video] by cma on Tuesday August 23, 2022 @03:21PM (#32569983)
I run termux on mine and wish termux wasn't so restricted by google/android.
Re:Is there hope for Linux on smartphones? [video] by pjmlp on Wednesday August 24, 2022 @05:34AM (#32576999)
Maybe Termux can learn to code against Java APIs instead of forcing themselves through the Linux layer that is considered a private API on Android.
Re:Is there hope for Linux on smartphones? [video] by cma on Wednesday August 24, 2022 @10:53AM (#32580231)
Typically the Java APIs are restricted to the bare minimum Chrome Android needs to do sandboxing and native code-gen for V8. Shared memory only works in a more limited way with many less options. They'd really like to restrict these APIs way more and not allow apps any way of loading dynamic native code with the exec bit set, but can't because of Chrome and antitrust worries about just making Chrome system software with access to the APIs it needs that a competitor couldn't replicate in an APK.

I think you can see some of their thinking with the removal of exec; they just want to undercut termux because that isn't needed for V8, but as long as loadable generated native code is still needed for Chrome, termux could potentially create their own ELF loader to replace exec).

Re:Is there hope for Linux on smartphones? [video] by zozbot234 on Wednesday August 24, 2022 @11:19AM (#32580560)
Exec should just be behind a separate permission anyway. A flashlight app has no legitimate reason for exec()ing random code that was not in the APK bundle, but the permission should be there so that JIT's and stuff like Termux can make use of it.
Re:Is there hope for Linux on smartphones? [video] by pjmlp on Wednesday August 24, 2022 @11:14AM (#32580495)
Thing is, exec() was never a public API anyway.
Re:Is there hope for Linux on smartphones? [video] by fsflover on Wednesday August 24, 2022 @08:55AM (#32578807)
My Pinephone is a general-purpose computer, which runs a desktop OS and can be connected to a keyboard and screen. Same for Librem 5, which I preordered.
Re:Is there hope for Linux on smartphones? [video] by notmyaccountt on Tuesday August 23, 2022 @03:15PM (#32569880)
Google created an Android userspace that requires Google services to do anything meaningful. This violates everything Linux stands for.
Re:Is there hope for Linux on smartphones? [video] by colordrops on Tuesday August 23, 2022 @06:06PM (#32572221)
Not great, agreed, but they did at least architect the OS so that they are decoupled and you can build without them very easily. In fact the largest custom ROM doesn't bundle with them by default (LineageOS). What do you need Google services for?
Re:Is there hope for Linux on smartphones? [video] by GekkePrutser on Wednesday August 24, 2022 @07:01AM (#32577704)
LineageOS doesn't bundle Google Play by default because they're not allowed to, not because they don't want to.

In fact they would like to because a majority of their users install it. But there's a lot of legal strings attached to it.

Re:Is there hope for Linux on smartphones? [video] by morepork on Wednesday August 24, 2022 @01:36AM (#32575308)
You can still have a useful experience on a pure AOSP build.

You'll miss features like push notifications, Google accounts outside of the browser, an app store and various other features.

But there's no reason the open source community couldn't add these, a package repo/app store equivalent and push messaging would probably be the deal breakers for me as a phone where chat apps don't work isn't useful to me.

The binary blobs to get driver support are also a problem, but it's also true in desktop linux, see for example Nvidia's graphics card driver.

Re:Is there hope for Linux on smartphones? [video] by est31 on Tuesday August 23, 2022 @06:53PM (#32572644)
I think it's better to come up with replacements for those Google services and apps instead of rewriting the entire operating system. You need to solve the same problems on a linux smartphone as well, so Android gave you a lot of time savings, and I doubt the app sandboxing is even remotely as good on those non-Android linuxes. For Google Play for example there is F-droid, for push messages/FCM there is UnifiedPush, for Google Maps there is Osmand.
Re:Is there hope for Linux on smartphones? [video] by rrdharan on Tuesday August 23, 2022 @07:11PM (#32572808)
Who decides what "Linux" stands for? Linus? RMS? "The community"?
Re:Is there hope for Linux on smartphones? [video] by Dalewyn on Wednesday August 24, 2022 @10:11AM (#32579697)
My personal objective take is if it runs a Linux kernel, it's Linux. Any other factor is subjective and does not matter.

Legally though, Linus Torvalds gets to define what Linux is because he owns that name.

Re:Is there hope for Linux on smartphones? [video] by dannymi on Wednesday August 24, 2022 @06:57AM (#32577663)
Linux is a trademark owned by Linus Torvalds. So Linus decides.
Re:Is there hope for Linux on smartphones? [video] by not2b on Tuesday August 23, 2022 @03:43PM (#32570361)
Yes, articles like this illustrate that RMS had a point, as annoying as he can be about it. Android is obviously Linux. What's missing is all of the things GNU and BSD brought to the party.
Re:Is there hope for Linux on smartphones? [video] by cma on Wednesday August 24, 2022 @02:56AM (#32575761)
Try reading Linux man pages on things like system calls to map shared memory. On Android it won't work, and you have to call into Java code to do it. Google created a monster rather than work to get things merged into the kernel (there was some kind of possible resource leak or DoS with shared memory mapping).
Re:Is there hope for Linux on smartphones? [video] by pjmlp on Wednesday August 24, 2022 @05:36AM (#32577019)
Linux kernel is an implementation detail on Android.
Re:Is there hope for Linux on smartphones? [video] by pxc on Wednesday August 24, 2022 @12:30AM (#32575004)
Yes, Android is absolutely not GNU enough. This terminological goofiness is the flipside of using the term 'Linux' to refer to a whole bunch of GNU/Linux operating systems.

Here's the thing though, this is not even about abstract ideals. When we say Android is not 'real Linux', what it comes down to is this: there's a certain peace, a sense of relief— of being respected— that comes with running Linux on your personal desktop or server. It feels really, really different from using an OS whose main function, which has driven its evolution, is just to sell you paid apps and services. That makes it fun, and it lends itself to a certain fluency.

Running any variety of Android is just an alien experience to all of that. Android doesn't feel good to use the way that Linux does for people who like running Linux on other contexts. And that's why it makes perfect sense to say it's 'not Linux enough'. The experience speaks powerfully enough for itself that it hardly seems worth explaining tbh. If you actually get what is good about running Linux and you've ever sought those virtues in Android, you already get it.

Re:Is there hope for Linux on smartphones? [video] by Dalewyn on Wednesday August 24, 2022 @01:25AM (#32575267)
>When we say Android is not 'real Linux', what it comes down to is this: there's a certain peace, a sense of relief— of being respected— that comes with running Linux on your personal desktop or server. It feels really, really different from using an OS whose main function, which has driven its evolution, is just to sell you paid apps and services. That makes it fun, and it lends itself to a certain fluency.

Might just be me, but I don't feel any respect coming from whoever are the devs that made this week's flavor of Linux I might be trying out.

Yeah, Windows 10/11 and iOS, and to a slightly lesser extent MacOS and Android, all aim primarily to sell me their shit. I hate them all for that. I run an OS to run the shit I want on my computer, not the shit they want on their computer.

Linux, though, aims to primarily sell me their ideological shit: FOSS, free as in freedom, GPL, Command Line Interface or bust. Instead of commercial pursuits, it's dogmatic pursuits.

They're all the same sides of the same shit sandwich. I get to choose what's in the sandwich, but it's still a shit sandwich until the heat death of the universe. Fuck that noise.

That all being said, Android is Linux. Because it runs the Linux kernel. End of. QED. Anyone who argues to the contrary is just being spiteful of Android succeeding where the wider Linux community could not.

Re:Is there hope for Linux on smartphones? [video] by cma on Tuesday August 23, 2022 @03:20PM (#32569959)
When mapping shared memory or checking for the right broadcast subnet requires calling into Java code... it isn't Linux on the user side so much anymore.
Re:Is there hope for Linux on smartphones? [video] by pjmlp on Wednesday August 24, 2022 @05:19AM (#32576864)
Because Linux is not exposed to userspace.

All you have access to are Java, Kotlin, ISO C, ISO C++, and NDK libraries.

Nothing about Linux is public, other than APIs used by OEMs themselves.

Since Android 8, even Linux kernel drivers are considered legacy and all new ones are required to be Treble based.

All the LinuxSE, seccomp,...are also not exposed and can only be customised by OEMs.

People like to pat themselves on the back regarding Android, however it could start using any other kernel and the apps sold on official stores would at most need to be recompiled.

Re:Is there hope for Linux on smartphones? [video] by humanwhosits on Tuesday August 23, 2022 @03:06PM (#32569720)
fuchsia (+starnix for legacy) might make android much less linux-y over the long term
Re:Is there hope for Linux on smartphones? [video] by squarefoot on Wednesday August 24, 2022 @03:35AM (#32576007)
> Perhaps not "GNU" enough, but certainly the spirit of Linux -- customized for the particular needs, stable, fast, works on a plethora of hardware, etc.

True, but you forget being transparent and giving users control, which are vital aspects of Linux that Android is light years away from offering and will never offer.

Re:Is there hope for Linux on smartphones? [video] by seba_dos1 on Tuesday August 23, 2022 @07:21PM (#32572890)
So have you watched the talk? It's mentioned there and the talk describes pretty well why it's not what many people are looking for. You may want to watch it after all.
Re:Is there hope for Linux on smartphones? [video] by gsich on Tuesday August 23, 2022 @07:54PM (#32573221)
You don't interact with Linux by using Android, it's Java. Android could also have been based on FreeBSD, wouldn't have made a difference for the user.
Re:Is there hope for Linux on smartphones? [video] by OJFord on Tuesday August 23, 2022 @06:18PM (#32572338)
I suppose it depends what you mean/want by 'Linux'? In a nutshell I suppose I want systemd & config files.
Re:Is there hope for Linux on smartphones? [video] by NotYourLawyer on Tuesday August 23, 2022 @07:43PM (#32573105)
Android is not an acceptable Linux.
Re:Is there hope for Linux on smartphones? [video] by water-your-self on Tuesday August 23, 2022 @03:12PM (#32569805)
The android operating system is not open soruce.
Re:Is there hope for Linux on smartphones? [video] by CharlesW on Tuesday August 23, 2022 @03:14PM (#32569837)
Re:Is there hope for Linux on smartphones? [video] by blendergeek on Tuesday August 23, 2022 @03:21PM (#32569989)
That is the license for the Android Open Source Project. Unfortunately, Google has spent the last fifteen years moving many parts of the stack and almost (if not) all the core apps to Google Proprietary versions. Most apps in AOSP no longer receive updates at all.

The dream is here is not just that we would be running "an open source stack" but that the active development would be on the open source stack. Sure, there are new releases of AOSP. But take a look at the core apps: Contacts, Calendar, Camera, Email, Location services. These are all proprietary now.

Android is open source in the same sort of way that MacOS is open source. There are some open source bits in there.

Re:Is there hope for Linux on smartphones? [video] by colordrops on Tuesday August 23, 2022 @06:08PM (#32572243)
Who cares about the google user space apps? There are viable open source alternatives for all of them. It's like saying Linux is not open source because Redhat bundles proprietary software with their distro.
Re:Is there hope for Linux on smartphones? [video] by seba_dos1 on Tuesday August 23, 2022 @07:45PM (#32573129)
This could have been a reasonable analogy if a very significant chunk of applications "for Linux" only worked (or offered its full functionality) if you had Red Hat's proprietary addons installed.
Re:Is there hope for Linux on smartphones? [video] by colordrops on Tuesday August 23, 2022 @08:20PM (#32573426)
That's just not true. You'll need to give a specific example of which apps are like this on Android. I'm writing this using a LineageOS phone with no proprietary or closed source apps on it right now.
Re:Is there hope for Linux on smartphones? [video] by seba_dos1 on Tuesday August 23, 2022 @10:21PM (#32574268)
This is true and can be verified by anyone by installing random applications from Google Play Store without having Google Play Services installed. Since relatively recently, you can use some of them via microG, but compatibility varies.

Sure, there's F-Droid and FLOSS software for Android, but if you're already willing to limit yourself to FLOSS Android apps you may very well limit yourself to FLOSS GNU/Linux apps too. When people say "I can't move to Linux phones because I need these Android apps", they usually aren't talking about ones from F-Droid.

Re:Is there hope for Linux on smartphones? [video] by colordrops on Wednesday August 24, 2022 @02:34AM (#32575617)
You've moved the goalposts. The original claim was that you couldn't run open source android with calendar, email, etc. But that is obviously not true because I'm doing that right now. Now you are pointing at a bunch of closed source software on Google Play, but that's irrelevant to the discussion. And even then you admit it mostly works with the microg compatibility layer. MicroG and WINE are not much different in this respect IMO.

Secondly, you claim limiting yourself to FLOSS android means you might as well just use FLOSS Linux. But that doesn't make sense because the purely open source elements of the android ecosystem work far better than the pure Linux ecosystem, which is my original point. There is no advantage that you can point to for GNU/Linux over Android/Linux other than just being "pure Linux". Android is fully open source and can be easily run unencumbered by proprietary google software. And there is vastly more open source software that is mobile friendly and compatible for Android/Linux than GNU/Linux.

Re:Is there hope for Linux on smartphones? [video] by zozbot234 on Wednesday August 24, 2022 @02:54AM (#32575750)
> the purely open source elements of the android ecosystem work far better than the pure Linux ecosystem

This isn't really true, unless you specifically care about compatibility with (1) proprietary Android apps and/or (2) fiddly hardware that's supported in downstream Android builds but lacks complete support on the mainline kernel. Everything else has basically reached and exceeded parity with AOSP. (To be fair, this is a very recent development indeed, and it's quite normal that most would be unaware of it.)

Re:Is there hope for Linux on smartphones? [video] by yyyk on Wednesday August 24, 2022 @04:51AM (#32576625)
> (2) fiddly hardware that's supported in downstream Android builds but lacks complete support on the mainline kernel.

This described just about all modern smartphone hardware.

> (1) proprietary Android apps

What users want to be able to run.

>Everything else has basically reached and exceeded parity with AOSP.

I doubt it reached parity with the open source software available (!= AOSP).

Re:Is there hope for Linux on smartphones? [video] by seba_dos1 on Wednesday August 24, 2022 @03:07AM (#32575834)
> But that doesn't make sense because the purely open source elements of the android ecosystem work far better than the pure Linux ecosystem, which is my original point.

Do they? I'm using a GNU/Linux phone and I'm happy with it. Of course there are things Android is better at, but that it "works far better" sure isn't something I would say without additional qualifiers.

> There is no advantage that you can point to for GNU/Linux over Android/Linux other than just being "pure Linux".

There sure is. Android ecosystem may be much more mature by now, but it's incredibly hard to hack on. I have recently built a LineageOS image in order to apply bunch of small patches and it took me several hours, 200GB of disk space and couldn't even start building without 16GB of RAM, because the build system was going out-of-memory otherwise. I had to use a VPS because I didn't even have any computer around that I could pull this off on, except of Steam Deck I guess :P In the end, I got two image files that I could flash into the device wholesale that messed up some applications that expected the system to be signed with the same keys as previously.

On my Librem 5, however, I'm able to do `apt source phosh`, `apt build-dep .`, change something and then run `dpkg-buildpackage` to have it recompiled right on the phone itself in a matter of minutes, producing a single deb that I can install and immediately test my changes to whichever system component I want to play with. And if I don't want to hack on the system itself, there's stuff like full blown Python interpreter preinstalled, with bunch of compilers available straight from the repos, for easy scripting and app development right on the device.

If Windows had worked 15-20 years ago when I was still using it like Android does now, I would have never learned the vast majority of what I know about computers now. I gained a lot of knowledge simply by tinkering with my PC, breaking it and learning how to fix it. Being able to patch and change various system stuff by myself was very empowering when I switched to GNU/Linux. These days, most computing happens on mobile phones and tablets with children often completely unfamiliar with common PC workflows that aren't mirrored on mobile; the whole new generation of people, despite of using an OS that's technically Open Source at its core, is mostly deprived from ability to play with their own hardware, and even if they're technically not, the learning curve is often prohibitively high and stuff like SafetyNet still gets in the way - while in my youth I used to learn Python by writing, running and debugging scripts on my Openmoko phone while riding a tram back from school.

Re:Is there hope for Linux on smartphones? [video] by midoridensha on Tuesday August 23, 2022 @08:25PM (#32573474)
Many millions of people in China happily use Android smartphones every day without any Google apps at all.
Re:Is there hope for Linux on smartphones? [video] by anthk on Tuesday August 23, 2022 @10:14PM (#32574230)
FDroid. Period.
Re:Is there hope for Linux on smartphones? [video] by realusername on Tuesday August 23, 2022 @03:28PM (#32570115)
Unfortunately there's not a single device on earth that runs AOSP to my knowledge, even the emulator does not.
Re:Is there hope for Linux on smartphones? [video] by morepork on Wednesday August 24, 2022 @01:39AM (#32575317)
I don't know if things have changed, but you definitely used to be able to install AOSP on some phones, the Nexus line were typically the easiest.
Re:Is there hope for Linux on smartphones? [video] by colordrops on Tuesday August 23, 2022 @06:09PM (#32572250)
Are GSI images not built off of AOSP?
Re:Is there hope for Linux on smartphones? [video] by bhedgeoser on Tuesday August 23, 2022 @03:40PM (#32570325)
What they're referring to as linux is actually gnu/linux, or as I like to call it, gnu+linux.