News for hackers. Stuff that matters.
Re:Galaxy S III beats out iPhone 4S as top selling device in US by cryptoz on Wednesday September 05, 2012 @09:11AM (#4479159)
Doesn't it blow your minds how many people are adopting a linux as a primary user OS? And how irrelevant that is, since they don't even know that's what they're running?

Also, the S III has a barometer. How cool is that?

Re:Galaxy S III beats out iPhone 4S as top selling device in US by bornhuetter on Wednesday September 05, 2012 @09:15AM (#4479173)
Even if people don't know they are using linux, it's still important if it leads to more investment in the development of linux and related software/technology.

Can anyone shed some light on whether this is happening?

Re:Galaxy S III beats out iPhone 4S as top selling device in US by kragen on Wednesday September 05, 2012 @10:51AM (#4479608)
Well, now many people think it's immoral to tell vendors about local-root holes in the Linux kernel, because it could keep people from jailbreaking their Android phones. So there's definitely an effect on Linux.
Re:Galaxy S III beats out iPhone 4S as top selling device in US by bookwormAT on Wednesday September 05, 2012 @11:50AM (#4479879)
You cannot jailbreak Android devices. Android devices usually come pre-jailbroken (able to run arbitrary software) out of the box.

What you mean is getting root access to the linux system that android is based on. Which is a cool hack, but not similar to a jail brake.

Re:Galaxy S III beats out iPhone 4S as top selling device in US by kragen on Friday September 07, 2012 @07:54AM (#4488599)
Android users who don't have root are still in jail, because even if they can run arbitrary application software, they can't choose not to run arbitrary preinstalled software, so jailbreaking is still necessary.
Re:Galaxy S III beats out iPhone 4S as top selling device in US by comex on Wednesday September 05, 2012 @01:00PM (#4480238)
Since an iPhone jailbreak provides full access and is, in fact, usually used for tweaks and other modifications rather than custom apps, that is disingenuous.
Re:Galaxy S III beats out iPhone 4S as top selling device in US by jlgreco on Wednesday September 05, 2012 @03:54PM (#4481136)
An iPhone "jailbreak" both jailbreaks and roots the device. Android phones (except for very cheap ones from certain carriers I think?) only need to be rooted.

It's not disingenuous, just (perhaps overly) pedantic.

That is my understanding of it anyway.

Re:Galaxy S III beats out iPhone 4S as top selling device in US by comex on Wednesday September 05, 2012 @04:22PM (#4481276)
"Jailbreak" is a made up term. As far as I know, it originally referred to accessing arbitrary files on the filesystem (getting out of a chroot jail), but it now refers to a process including gaining access to the bootloader and/or kernel. Either would be an acceptable use of "jailbreak" (though the former might be misleading), but the term has never meant "run unsigned apps". HTH :p
Re:Galaxy S III beats out iPhone 4S as top selling device in US by jlgreco on Wednesday September 05, 2012 @04:27PM (#4481297)
Hmm, my impression was that the process of "jailbreaking" an iPhone was somehow rather related to breaking out of a chroot jail. I don't know where I got that impression though.
Re:Galaxy S III beats out iPhone 4S as top selling device in US by againandagain on Wednesday September 05, 2012 @04:02PM (#4481176)
Android uses a Java-based VM. iOS does not. Is that correct?

Can you boot your own OS (sans Java VM) on an Android device? How easy is that to do?

Re:Galaxy S III beats out iPhone 4S as top selling device in US by css771 on Wednesday September 05, 2012 @04:57PM (#4481429)
The Nexus devices are generally the most open of all Android devices. Consequently, there's a Firefox OS port, in alpha right now, for the Galaxy Nexus. http://forum.xda-developers.com/showthread.php?t=1805282

Many Android phones can also run various other distros using chroot.

Re:Galaxy S III beats out iPhone 4S as top selling device in US by bane on Wednesday September 05, 2012 @11:31PM (#4482726)
"Also, the S III has a barometer. How cool is that?"

The number of sensors in these portable computers is astonishing. If you look at them as a tricorder-like sensor kit, there's very little else on the market that can match them.

The fact that I have something in my pocket right now that can almost detect individual photons, EM fields (within in a limited set of bands), barometric pressure, magnetic fields, orientation, intertial measurements, planetary magnetic bearing, gravitational fields, etc. and can provide global satellite positioning to within 1m, global communications network access on several wire-free networks via voice, video or data, and can translate my voice in near-real-time, scan barcodes,

and then

can play games, movies, music, record my voice, take photos, be a flashlight, compose music, let me paint a picture, take notes, access a global encyclopedia, the internet, be a web server, an ftp server, a wireless headset to my computer, act as a strobe light, act as a visual Morse-code broadcaster, rolodex, email system, several kinds of graphing calculators...and myriad other uses...

it's absurd. I'm living, literally, in a science fiction future.

Re:Galaxy S III beats out iPhone 4S as top selling device in US by huxley on Wednesday September 05, 2012 @09:15AM (#4479174)
Similar situation for *BSD on the iPhone/iPad/iPod touch, it is a golden age for Unix/Linux but, like you say, invisible to the end-user.
Re:Galaxy S III beats out iPhone 4S as top selling device in US by spot on Wednesday September 05, 2012 @09:30AM (#4479232)
Apple's devices are based on Mach which has a different kernel than BSD. Though it does use some BSD code it's not accurate to call it *BSD.
Re:Galaxy S III beats out iPhone 4S as top selling device in US by huxley on Wednesday September 05, 2012 @10:11AM (#4479419)
There's more to iOS/OSX Unix than the kernel.

The Darwin portion is for most intents and purposes based on BSD -- particularly FreeBSD-- running on top of XNU (a hybrid Mach 3.0 microkernel with big chunks of the monolithic BSD kernel embedded).

http://en.wikipedia.org/wiki/Darwin_(operating_system)#Kerne...

Concerning the BSD portions, see this from Apple's Kernel docs: http://goo.gl/1sp69

"Integrated with Darwin is a customized version of the Berkeley Software Distribution (BSD) operating system. Darwin’s implementation of BSD includes much of the POSIX API, which higher-level apps can also use to implement basic app features. BSD serves as the basis for the file systems and networking facilities of OS X. In addition, it provides several programming interfaces and services, including: The process model (process IDs, signals, and so on); Basic security policies such as file permissions and user and group IDs; Threading support (POSIX threads); Networking support (BSD sockets)"

That accounts for an immense amount of what a kernel normally does.

Besides, I have never met a NeXT or Apple employee that didn't consider Darwin to be BSD.

It's a radically modified BSD but I think it's still a descendant.

Re:Galaxy S III beats out iPhone 4S as top selling device in US by ajross on Wednesday September 05, 2012 @11:49AM (#4479867)
iOS ships the darwin libc. Does it use any other major components? I'm pretty sure I remember there being no unix userspace available on iOS. Note that the stuff you quote are kernel features. And again, it's really not a BSD kernel; it has BSD roots, but they're back in the 1980's. There's no relationship between the existing projects and the Free/OpenBSD open source work.
Re:Galaxy S III beats out iPhone 4S as top selling device in US by ryannielsen on Wednesday September 05, 2012 @03:44PM (#4481086)
I'm pretty sure I remember there being no unix userspace available on iOS.

Not exposed to standard users, no.

There's no relationship between the existing projects and the Free/OpenBSD open source work.

That's simply not true. There's more to the BSDs than just the kernel – all of the userland stuff is incredibly important to Apple, especially as they try to further distance themselves from the GPL. There is a relatively strong relationship between the BSDs and OS X/iOS. It's true, the lower you get, the bigger the differences, but even xnu has some relatively current BSD sources. e.g. from OpenBSD:

http://opensource.apple.com/source/xnu/xnu-2050.7.9/bsd/net/...

Re:Galaxy S III beats out iPhone 4S as top selling device in US by X-Istence on Wednesday September 05, 2012 @03:59PM (#4481161)
The last time Darwin was synced with FreeBSD was FreeBSD 5, at which point the features available in FreeBSD 5 were also made available in Darwin, such as kqueue and various other API's.

I, and some other developers I know, have been hoping that Apple in the future will sync with FreeBSD again in the future, hopefully against FreeBSD 10 to get even more feature parity in kernel interfaces available.

There is a lot of a relationship between Darwin and the FreeBSD team. Apple's firewall import from OpenBSD (pf) for example was also used by the FreeBSD team to update their port.

Just because it is not visible on the surface doesn't mean the relationship doesn't exist ...

Re:Galaxy S III beats out iPhone 4S as top selling device in US by againandagain on Wednesday September 05, 2012 @04:05PM (#4481195)
Was "darwin libc" copied from somewhere? Maybe a BSD project? Check your facts.
Re:Galaxy S III beats out iPhone 4S as top selling device in US by sp332 on Wednesday September 05, 2012 @10:00AM (#4479373)
The kernel is a drop-in replacement for a BSD kernel, so the OS is still BSD.
Re:Galaxy S III beats out iPhone 4S as top selling device in US by porlw on Wednesday September 05, 2012 @10:24AM (#4479484)
Does Apple contribute back to BSD on any meaningful level?
Re:Galaxy S III beats out iPhone 4S as top selling device in US by huxley on Wednesday September 05, 2012 @11:16AM (#4479715)
Not anywhere as much as they should. A few things I do know of:

Clang/LLVM (which has substantial support from Apple) will be the primary compiler for FreeBSD.

Apple's Grand Central Dispatch (libdispatch) has been ported to FreeBSD.

http://en.wikipedia.org/wiki/Grand_Central_Dispatch

The TrustedBSD Security Event Auditing and OpenBSM are based on the Mac OS X BSM audit implementation and donated by Apple.

As well, CUPS has been ported to FreeBSD.

Re:Galaxy S III beats out iPhone 4S as top selling device in US by gillianseed on Wednesday September 05, 2012 @02:08PM (#4480598)
>As well, CUPS has been ported to FreeBSD.

Well CUPS did not originate with Apple, they bought it when they needed a mature printing system. It existed for BSD prior to Apple's purchase.

I don't know if the BSD's have made any use of anything from Apple's Darwin release? Perhaps it's not possible due to the licencing (Apple Public Source Licence) which is copyleft'ish.

Re:Galaxy S III beats out iPhone 4S as top selling device in US by X-Istence on Wednesday September 05, 2012 @04:01PM (#4481168)
There is quite a bit of sharing between Apple and FreeBSD. For example libdispatch has been ported to FreeBSD. Also when Apple imported pf into Darwin; FreeBSD used that same port to update their port of pf from OpenBSD.

As others have mentioned, stuff like the TrustedBSD and Audit framework came from Darwin, and features such as Seatbelt and sandboxes are slowly being considered or improved upon by Capsicum for example.

Re:Galaxy S III beats out iPhone 4S as top selling device in US by demallien on Wednesday September 05, 2012 @11:02AM (#4479661)
Define 'contribute back'. I tend to think of Darwin as being a fork of BSD, so in that sense Apple doesn't commit back into BSD source repositories. But Darwin is open source, so the BSD community is free to take any ideas that please them.
Re:Galaxy S III beats out iPhone 4S as top selling device in US by gillianseed on Wednesday September 05, 2012 @02:16PM (#4480644)
AFAIK Darwin is licenced under Apple's APSL which is copyleft-based so it's likely the BSD's can't lift code from Darwin.

There was OpenDarwin though, which the developers shut down due to lack of interest and other problems. Now there's PureDarwin but development seems very slow.

Re:Galaxy S III beats out iPhone 4S as top selling device in US by yardie on Wednesday September 05, 2012 @12:21PM (#4480040)
BSD is a funny beast in that almost know one is required to contribute anything except a license attribution in their code. Apple doesn't contribute anything to BSD because you really can't, there is no one to answer to. All you can do is stamp the license on your code and other BSD forks may use it.
Re:Galaxy S III beats out iPhone 4S as top selling device in US by bornhuetter on Wednesday September 05, 2012 @09:21AM (#4479191)
Do you know whether that has helped or hindered other BSD based OSes?
Re:Galaxy S III beats out iPhone 4S as top selling device in US by lmm on Wednesday September 05, 2012 @11:46AM (#4479847)
Apple have sponsored some major useful things that the BSDs now use e.g. LLVM/Clang.
Re:Galaxy S III beats out iPhone 4S as top selling device in US by huxley on Wednesday September 05, 2012 @10:40AM (#4479557)
It has exposed a lot of people to BSD Unix, which I think helped some.

But outside of developers and hackers, most people have so little exposure to the Unix side of MacOS X (and practically none on iOS) that it wasn't as big an impact as some of us (unrealistically?) hoped.

Re:Galaxy S III beats out iPhone 4S as top selling device in US by eco on Wednesday September 05, 2012 @01:06PM (#4480262)
The Galaxy Nexus, Galaxy Note, and Xoom do too. It's used to speed up GPS fixing (knowing your altitude helps resolve your location more quickly). A Google employee said that he didn't believe the barometer in the Galaxy Nexus was weather grade. There is an app called pressureNet[1] that reports your barometric data and then builds a map of the results that anyone can see. Kind of interesting but I don't know if it's actually useful for anything yet (I welcome Google Weather though).

[1] https://play.google.com/store/apps/details?id=ca.cumulonimbu...

Re:Galaxy S III beats out iPhone 4S as top selling device in US by r00fus on Wednesday September 05, 2012 @01:56PM (#4480526)
I haven't been surprised about consumer Linux from the time I got a Linux-powered TiVo back in 2003. Linux with a very nice UI = win for everyone (except, I suppose the FSF who argue that Google/TiVo's usage of the GPL v2 was a perversion of the intent).

What's more interesting is that it is (assuming you have a boot-unlocked device) running free-as-in-libre software.