News for hackers. Stuff that matters.
Re:Ask HN: What are the OSS alternatives to iOS/Android? by hannob on Thursday April 06, 2017 @07:01AM (#14049473)
The alternative is Android. Unfortunately the "alternative android" ecosystem isn't very good.

My dream would be an android "distribution", that doesn't rely on some murky "update by getting a new image somewhere if you're lucky enough that someone built one for your device". WOuld work more like a linux distribution (packages and updating) and is generic over a variety of phones. Challenge is probably how to handle drivers.

Re:Ask HN: What are the OSS alternatives to iOS/Android? by jhasse on Thursday April 06, 2017 @07:41AM (#14049659)
> My dream would be an android "distribution", that doesn't rely on some murky "update by getting a new image somewhere if you're lucky enough that someone built one for your device".

LineageOS (http://lineageos.org/) has OTA updates with UI: https://1.f.ix.de/scale/geometry/710x500/q75/imgs/71/2/1/3/6...

So your dream has already came true :)

Re:Ask HN: What are the OSS alternatives to iOS/Android? by mcjiggerlog on Thursday April 06, 2017 @09:35AM (#14050329)
Wow, that homepage provides zero information on what the project is/does.

Much more info on wikipedia - https://en.wikipedia.org/wiki/LineageOS

Re:Ask HN: What are the OSS alternatives to iOS/Android? by nulagrithom on Thursday April 06, 2017 @10:26AM (#14050775)
The 'About' page is a dictionary definition of the word 'Lineage': http://lineageos.org/about/

Wow

Re:Ask HN: What are the OSS alternatives to iOS/Android? by jhasse on Thursday April 06, 2017 @11:01AM (#14051109)
I think they are still working on the homepage (LineageOS is pretty new as it was CyanogenMod previously).
Re:Ask HN: What are the OSS alternatives to iOS/Android? by sparkling on Thursday April 06, 2017 @11:37AM (#14051522)
LinageOS is the successor of CyanogenMod, they just started a few months ago.

The website and everything else is still new and very much work in progress. I guess their main focus was getting up the core infrastructure before making a cute website.

Re:Ask HN: What are the OSS alternatives to iOS/Android? by s73ver on Thursday April 06, 2017 @12:32PM (#14052097)
At the same time, saying "This is who we are, this is what we're doing" is pretty important. It's not part of a "cute" website; it's part of a functional and informative one.
Re:Ask HN: What are the OSS alternatives to iOS/Android? by stOneskull on Thursday April 06, 2017 @03:04PM (#14053546)
i'm sure they will appreciate your help with it.
Re:Ask HN: What are the OSS alternatives to iOS/Android? by david-cako on Thursday April 06, 2017 @05:00PM (#14054555)
With what? Typing up a paragraph on the homepage that says "HEY CHECK THIS SHIT OUT. HEARD OF CYANOGEN? JUST LIKE THAT."

The lineage site is pretty garbage. It tells you nothing about it, and had I not been following the Cyanogen news, I'd have no idea what it is. It's literally impossible to figure out what it is from any page of the website.

Re:Ask HN: What are the OSS alternatives to iOS/Android? by s73ver on Thursday April 06, 2017 @04:43PM (#14054415)
No. Just no. This is not one of those, "You're welcome to contribute" things. This is one of the most basic things to have, and for them not to have it reflects extremely poorly on them. This is like not having the build scripts. So do not try to spin it. They very rightly should be criticized for not having that.
Re:Ask HN: What are the OSS alternatives to iOS/Android? by bigbugbag on Thursday April 06, 2017 @02:48PM (#14053391)
It's CyanogenMod continuation after it got canned.
Re:Ask HN: What are the OSS alternatives to iOS/Android? by NoGravitas on Thursday April 06, 2017 @08:28AM (#14049909)
Still has the "if you're lucky enough that someone built one for your device" problem. But that's more the fault of the hardware ecosystem.
Re:Ask HN: What are the OSS alternatives to iOS/Android? by izacus on Thursday April 06, 2017 @08:31AM (#14049921)
This is why (just like for any other OS) you buy a device with explicit support. You don't buy a random laptop and then complain why macOS doesn't run on it... do you?
Re:Ask HN: What are the OSS alternatives to iOS/Android? by NoGravitas on Thursday April 06, 2017 @09:17AM (#14050192)
It's not exactly the same, though. You can buy a random laptop and throw Windows on it, even if it's not the version it shipped with. You can throw Linux on it, and it will almost certainly be usable; sound may not work, it may not resume from suspend, and graphics may be unaccelerated, but if will basically work.

If you're buying a new device, then yes, certainly you should shop for one that's supported on LineageOS or OmniROM, or whatever. But one of the uses of custom ROMs has been extending the life of older devices, and that ecosystem is very spotty.

Re:Ask HN: What are the OSS alternatives to iOS/Android? by fixermark on Thursday April 06, 2017 @09:38AM (#14050350)
"Sound may not work" and "but it will basically work" being in the same sentence is more-or-less why Linux is still not yet ready to take on Windows and OSX in the desktop space.

What you're describing is similar to the situation with mobile devices, only to a lesser degree. Turns out, making an OS run on hardware is challenging and under-appreciated work, and continuing to gloss over the complexity of it doesn't do solving the problem of open-source OSes any favors.

Re:Ask HN: What are the OSS alternatives to iOS/Android? by michaelmrose on Thursday April 06, 2017 @03:53PM (#14054004)
The problem you are describing is at once intractable and a solved problem. Most oems are at best ambivalent about Linux support. If you are lucky they provide enough documentation for volunteer labor to support their hardware otherwise someone has to for free spend their time reverse engineering their pile o' hacks.

Since there isn't an inexhaustible well of free labor to throw at other peoples hardware there will always be some hardware that either doesn't work right or doesn't work right out of the box because it requires fix foo that is only available in version bar that is the very latest that hasn't made its way into the stable version yet. If you run a bleeding edge distro you may find that you have the needed version of bar but they broke something else!

The solution is to buy hardware with the OS you intend to run in mind. If you are just curious about whether linux might be useful to you the easiest thing in the world to do is try it out either via live usb or virtual machine. If indeed you would like to run linux and it doesn't work with your existing hardware just buy with Linux in mind when you get your next machine.

Instead of asking whether linux can meet the impossible standard of running flawlessly on any pos you happen to throw at it ask whether there exists a reasonable range of hardware that meets your needs and expectations.

If you approach it that way you will most likely be satisfied.

Re:Ask HN: What are the OSS alternatives to iOS/Android? by fixermark on Thursday April 06, 2017 @05:11PM (#14054668)
That's basically my approach; when I want to run Linux (because the applications that run in Linux are useful for a wide range of things, and I'm very used to the command line), I tend to run it in a VM alongside / atop the Windows or OSX install that the hardware I'm using boots to.

The exception I regularly hit is raspberry pi, but in that specific case I (a) don't actually expect anything to really "just work" out of the box (the whole point of the platform is to hack around on it) and (b) I'm not trying to use it as my primary development / work / games / day-to-day environment.

Re:Ask HN: What are the OSS alternatives to iOS/Android? by syrrim on Thursday April 06, 2017 @02:18PM (#14053078)
If that sounds bad, then wait 'til you hear about Apple's situation - they don't support custom hardware, at all. Not only does sound not work, nothing works. Linux is a step above macOS in that it not only does it work very well when it ships with a computer, it also still works ok when you load it on any other computer. And yet, macOS has more users than linux does... Perhaps support on random computers is a bad metric for the readiness of an OS?
Re:Ask HN: What are the OSS alternatives to iOS/Android? by ams6110 on Thursday April 06, 2017 @09:22AM (#14050236)
It is exactly the same. I put Windows 10 on an older Dell laptop. It mostly works, but it's not "supported" and I get blue-screens once in a while. There's just no practical way to keep supporting arbitrarily old devices, even for a company like Microsoft.
Re:Ask HN: What are the OSS alternatives to iOS/Android? by freehunter on Thursday April 06, 2017 @11:44AM (#14051597)
If it's exactly the same, I will hand you an unbranded phone with no OS and see if you can get Android running on it. The only machines you can't get Windows running on right now are Chromebooks, so 99% of personal computers will let you pretty easily install Windows in exactly the same fashion you would on any other computer. It might not run well, but it will certainly install. If it's exactly the same, do that with Android on any random phone.
Re:Ask HN: What are the OSS alternatives to iOS/Android? by heuller on Thursday April 06, 2017 @09:32AM (#14050304)
Generic drivers have made explicit support mostly unnecessary in the desktop space. This doesn't exist on mobile. I've installed Linux effectively on many many pieces of junk whose designers never intended their hardware to be used that way.
Re:Ask HN: What are the OSS alternatives to iOS/Android? by soverance on Thursday April 06, 2017 @10:02AM (#14050555)
I recently tinkered around with putting LineageOS onto a Samsung Galaxy S3. It was super easy to do, and is a really clean, fast, and efficient operating system. I personally enjoy it. I had previous experience with Cyanogenmod, and LineageOS is way better.

Unfortunately, I've got an S6 as my daily user phone, and there is currently no stable version of LineageOS that supports the S6 (as far as I'm aware).

Re:Ask HN: What are the OSS alternatives to iOS/Android? by hannob on Thursday April 06, 2017 @08:56AM (#14050051)
The update part is only one piece, the much bigger piece is having a non-device-dependent infrastructure.

The idea to build an OS for every device simply doesn't scale.

Re:Ask HN: What are the OSS alternatives to iOS/Android? by ce4 on Thursday April 06, 2017 @09:16AM (#14050184)
Isnt Google's Fuchsia the project to tackle this very problem?

On the other hand it has potential for even more 'closed source'-ness on the handset manufacturer side of Android. And maybe even for other industries, once its market share rises.

Re:Ask HN: What are the OSS alternatives to iOS/Android? by jhasse on Thursday April 06, 2017 @09:02AM (#14050083)
That's the problem of proprietary drivers ... :(
Re:Ask HN: What are the OSS alternatives to iOS/Android? by captainmuon on Thursday April 06, 2017 @07:43AM (#14049665)
Right, the monolithic images make sense for the phone manufacturers who want to update a lot of identical devices. Much less for the individual, who wants to install a distribution on their device (which e.g. might no longer be supported by the vendor).

I always found it wierd that people talk about "flashing" "ROMs", like it's firmware. It's not, it is under the hood not too different from installing a desktop OS on a hard disk (except you can't pop in a USB drive, you have to use a cable and ADB).

The (e.g. CyanogenMod) ROMs for different phones are not too different. In principle, you could wrap something around ADB that "flashes" (well, copies) a base OS, and then the needed drivers / radio / apps per model.

Also wierd that you can't easily replace individual components. If I want to make a change to a base package or the kernel, I have to reflash everything, instead of replacing one file (well, you can yourself, but nobody in the scene offers that).

Re:Ask HN: What are the OSS alternatives to iOS/Android? by noisem4ker on Thursday April 06, 2017 @02:39PM (#14053291)
>except you can't pop in a USB drive, you have to use a cable and ADB

You can actually boot your device into TWRP and "flash" the OS zip from USB OTG.

Re:Ask HN: What are the OSS alternatives to iOS/Android? by beefsack on Thursday April 06, 2017 @07:18AM (#14049549)
For me, a very interesting option at the moment is Sony's official AOSP builds for a number of Xperia devices[1].

You're able to build an image yourself from their source if you'd like slightly more comfort, and can run it without gapps if you're privacy or software freedom conscious.

[1]: https://developer.sonymobile.com/open-devices/

Re:Ask HN: What are the OSS alternatives to iOS/Android? by loxs on Thursday April 06, 2017 @10:28AM (#14050782)
Interesting - if this is not buggy as hell, it'll be a good life extender of my Z3 Compact
Re:Ask HN: What are the OSS alternatives to iOS/Android? by la_oveja on Thursday April 06, 2017 @09:43AM (#14050398)
> My dream would be an android "distribution", that doesn't rely on some murky "update by getting a new image somewhere if you're lucky enough that someone built one for your device".

While drivers are supplied as binary blobs, this will be impossible.

Re:Ask HN: What are the OSS alternatives to iOS/Android? by johncolanduoni on Thursday April 06, 2017 @07:32AM (#14049615)
And kernels, and random software the drivers require, and special snowflake bootloaders, ...

I'd love to see it, but considering how long it took desktop Linux distibutions to run semi-reliably on most PCs which have far fewer hardware differences and important components without even partially reverse engineered specifications, I'm very suspicious this is a feasible way forward.