by stusmall · 12y ago · 0 comments
Look at the closed source services google adds. As far as I know they are all related to google services(Someone please correct me if I'm wrong). Their store, their maps, their email, their location services. This isn't needed in the open source distro and it works great without them. Also there are a lot of restriction on the brand and how you use it when release an Android product. That isn't unique to Android. See firefox vs iceweasel.
Sure sometimes it gets annoying that a lot of Android design decisions are made behind closed doors and in working in the framework sometimes I have to play the game of "Guess what the Google engineer was thinking" because documentation can be scarce. Also from what I've heard sending changing upstream isn't an easy process. These things are nice and make it an easy product to work with... but aren't required for it to be truly open source. The code is there in a series of open git repos and under Apache license. That is open source in my book.
Fuck open source, I don't give shit about Samsung/Sony/Motorola developers and how they are happy with Apache license they took AOSP under. I - the user - want free software on my phone and I mean the software that respects my freedoms. In this regard, average Android phone isn't free by any standards.
But, yeah, right, AOSP is open. Like this fact is of any use to an average tech-savvy consumer who's not skilled at reverse engineering.
Just because you've chosen to create your own ill-informed definition of what open means, doesn't make android any less open.
AOSP is open source, I've already said that. It doesn't care about my freedoms (so I don't care about its openness), but it's "open" as in OSI definition. That's true and I've never argued about that.
However, typical Android you get on smartphone (that's called "Android", too) is neither open nor free - it's usually completely proprietary bootloader, firmware and userspace, you won't have any source code for anything except for GPLed parts (i.e. Linux kernel). It just happens that those proprietary binaries were mostly built from unmodified AOSP code (but you can't really tell if code's modified or not), but this doesn't make them open.
You know you can change what's installed on your handset? Cyanogenmod supports a ton of phones... maybe next time you buy a handset, check they support it.
http://www.gnu.org/philosophy/free-sw.html
http://www.gnu.org/philosophy/free-software-even-more-import...
Regardless of whether most users know what to do with the source code, are they free to ask or hire a developer of their choice to study and modify it on their behalf? drdaeman's point, which seems inarguable to me, is that with most Android devices, the answer is no, because Sony/Samsung/Motorola are free to use AOSP code under the Apache license, but they don't pass that freedom on to the user.
This actually makes Android more attractive to Microsoft and generally increases the chance of a divergent, proprietary fork, which I believe Kindle already is.
That is why FSF keeps criticizing "Open Source". This nonsense is awful. Software freedom is extremely important to end-users. They might like to do something as simple as protect their privacy and turn off surveillance or uninstall bloatware! If Open Source isn't about those things at all (even though they do NOT require programming skills!), then we really need to keep focusing on software freedom for real and not your insulting interpretation of "Open Source"
With PC's there was some FCC oversight, being a device without a transmitter meant that there wasn't a whole lot though. With cell phones they are so heavily regulated...and the carrier is such an integral part of the equation. It seems like you might get more of what you want with a wifi handset or device. The carriers have no vested interest in making a handset like you describe and their monopoly status makes market pressures almost non-existent forces for change.
Just rambling...
Have you actually built and installed AOSP on a device? If you have you might not completely agree with that statement above because without proprietary firmware and closed sourced device drivers those devices often become unusable.
That is completely ignored by your post. Is it on purpose?
JBQ (their AOSP "liason" to the community even quit over that issue) -- people complaining that open isn't really that open.
https://plus.google.com/+JeanBaptisteQueru/posts/9HHRURorE7g
So it is not just me raving about.
I understand Google though. They don't design all those sensors and drivers and all the hardware but have other manufacturers make the devices who buy components from others and so on. So they don't have a choice. But regardless of blame assignment here, I can't honestly say the system is completely open.
Now if you are Amazon or Microsoft, ok, you can find a hardware builder with its own custom drivers just for your device, then forking could work out. But for enthusiasts and experimenting you need to download the proprietary drivers to get a usable device, simple as that.
Yes. I work with embedded Android at the driver and framework integration level. This is my every day.
I'm not really concerned that someone can't load AOSP on some cheap AT&T subsidised phone. Does that make the framework less free? No, that means they have non-free hardware.
> No, that means they have non-free hardware.
My Lenovo laptop is also non-free hardware, it works very well without closed source drivers.
AOSP is great to bring up on a framebuffer-based device, but that gets you as far as an Android 2.0 launcher.
Any idea if Chromium can be build for AOSP with similar features as Chrome on Android?
AOSP is open source, and it has parity with commercial distributions of Android in a number of areas.
I have been working with Android and Linux on Qualcomm MSM-based devices for a few years, navigating their portal at codeaurora.org, tearing into Android kernel commits and following the upstreaming process. The changes that Android makes to Linux are minor, and most of the them have been merged into the upstream kernel in some form.
The Linux framebuffer started out as a device wrapping the memory-mapped display memory of the Amiga and similar RISC devices, then it was ported to the Netwinder, which was an early embedded ARM computer in a screen. It has a minimal set of operations for accelerated graphics, it can do fast fills or clear the screen for instance. It does not support 3D graphics, it does not support most of the 2D primitives that X and the Android rendering libraries (such as surfaceflinger) require. Android had an extended protocol for using some of the features to enhance fast blits of of data from an offscreen buffer to the main display buffer. This was implemented using IOCTLs on top of the framebuffer, and by reusing some of the features in a different way.
This is sufficient to get you a basic Android launch screen, you won't get the 3D launcher screen, you won't get the enhanced gallery plugin, you won't get fast Google Maps/Earth rendering, and you won't be able to play 3D games. For that you need a 3D graphics driver. Most of these drivers are tightly controlled by the company that makes the chip, are closed source, and are not readily reverse engineered. Some projects have made progress, but it's been a slow process. LIMA is an implementation of the ARM Mali driver for instance. Recently, Nvidia submitted a patch to Nouveau for their Tegra device. This breaks with years of not cooporating with development of 3D drivers for their devices on Linux, and has the potential for a bright future of AOSP 3D graphics support on Tegra devices.
No. This is a problem that extends far beyond Android and existed before it showed its face on the scene. Non-free graphics drivers are common on desktop Linux too.
Edit: Noticed people might be taking offense to my strong wording.
The same thing happened with the HTC devices and Linux ports, it took years to get a port working and by the time it did everybody had a newer Android device (or whatever). A few people still use the HD2 and I still see questions on our (HTCLinux) Facebook page from people, but, for the most part, even XDA has moved on.
The 'current and future hardware' part is what Linux is really about, it's an abstraction layer over the specific hardware so that the user experience can be implemented once and used on many devices. Unfortunately, the lack of support for current 3D hardware means that the abstraction is incomplete. The development processes of the OEMs also break this abstraction, with everything build around one version of the kernel, one version of the phone HAL, one version of the camera driver and module, and the rest. Android, as delivered by OEMs, is not designed to adapt to other hardware. It's open in the sense that the core code is available, but not in the sense that the higher layer can be used as is on a new device.
Support for future hardware is not neccesary, but a profile that allows that hardware to be used once drivers are provided is desirable. This requires a strong abstraction between the Android userland and Linux kernel, GLES with standard DRI/DRM interfaces, UVC for the camera module (or an SoC-specific open specification much like ASoC is for audio), standard IOCTLs and sockets for network devices (wifi could use net80211 for instance), upstream Bluetooth stack including WiPHY, HE, and LE support, with working A2DP audio routing, input devices with valid metadata in the driver so they can be probed, supported flash filesystem, and probably some others.
Then Google takes this and builds a set of tests that verify that these requirements have been met, and states that the next 3 versions of Android will use this base.
They also provide an ABI guideline (so version) for the phone interface, the audio playback, sensors, and other aspects provided by libhardware. They make the same commitment: the next 3 versions will require this so version of libhardware.
The OEMs get this set of guidelines and build a device to meet them, passing the tests provided by Google.
Then Google releases an OTA version of Android that works on top of this base. Then they release another, and another.
As features require it, they amend the guidelines, adding NFC for instance. Not all devices support NFC and on those that don't, the functionality is not exposed by Android.
Don't you think that's more due to the way ARM / mobile hardware scene is than due to Android? There isn't something like a BIOS or ACPI type of standardization to make that kind of thing happen. Also the pace of obsoletion is way faster in the mobile space than it ever was in the PC space.
The fact that you could theoritically "fork it and change it" doesn't change the fact that Android, the thing that is actually shipped, is not open itself, in the sense that it's not a community project, where everybody's opinion has equal weight based on their work, community standing, etc.
Without an actual community behind it, like Gnome or KDE, or FreeBSD have, one cannot influence it much, one's vote doesn't count, and "fork it and change it" is not really feasible -- who'll be paying for that?
>The code is there in a series of open git repos and under Apache license. That is open source in my book.
Well, that's the least interesting part of being open source. The actual important attribute of being open source is being a community project (cathedral vs bazaar etc).
In China, most Android phones are already sold without Google services: http://www.radiofreemobile.com/android-in-china-no-google-he...
Difference between systemd and GMS is, developers aren't making money off of systemd being in their control, Google relies almost wholly on it for Android profits.
Android is a fully functional Linux based operating system. To expect GMS to just be handed out like it was a keg party flier without considering the actual economic reality of running Google is ridiculous.
OEMs like Samsung weren't fooled back in ~2004 to think they'd get an amazing OS for their phones for free, and the deal Google is offering is beyond amazing compared to how other (tech) firms do business. imo.
If the consumers expect that they will get email, cloud storage, calendars, and maps then it would likely be fine for Microsoft to create similar integrations. If consumers expect that they will get Gmail, Google Drive, Google Calendars, and Google Maps, then they will likely be disappointed.
There are other ways too - Sky hook for example seems to offer location services SDK http://www.skyhookwireless.com/location-technology/sdk.php for the Kindle Fire which doesn't ship with GApps.
All this came up because of a couple of articles that said Microsoft should dump Windows Phone and do Android phones instead. So, would Microsoft have more problems getting developers to write for Windows Phone (and Windows 8 Metro) or for a forked version of Android?
Also, technically, you don't need an Android phone or tablet (or Linux) to run Andoid apps, since Bluestacks does this... though you might run into the same problem with GMS.
- Learn a new language (C# is awesome but odds are the dev you are talking to already knows Java or ObjC. Telling an Android dev to learn C# is more work than telling him/her to tweak his/her Android app)
- Get Windows (a huge number of mobile devs are on MacBooks. Getting Windows costs some combination of time, money, and precious SSD space)
- Get Windows 8 (a lot people who are on Windows are on Windows 7 and have no desire to go to Windows 8)
bottom line: telling devs to tweak their Android apps for some kind of "MSMS" over GMS would represent a whole lot of lower barriers to entry.
Problem is just going Android without great differentiation is almost a guaranteed failure for Microsoft. And at this stage in the game coming up with great differentiation is going to be very hard. But if they do something like put out great Nokia handset with great camera, guaranteed OS updates, a tiles based launcher an thriving alternate app store, more focus on privacy of the user and great Microsoft services and apps - that could work well. I am not sure about the practicaility of all that and if it will mean significantly more revenue for Microsoft. Besides, by all accounts Microsoft is still badly bullyish on the Windows everywhere strategy so to change course with Ballmer being the biggest share holder and Gates doing product advisor role it's just not easy. On top of that the market is just too irrational and hyper competitive for them to feel confident about doing something this drastic.
Also device integrators are free to fork away from the base APIs to add their own functionality in the same way google has. If an app wants to be portable, they shouldn't build against these proprietary APIs. This isn't a unique problem to android and doesn't make the source any less open.
What I love so much about open source is that once a project is out there it can take on a life of its own. People can/have/will start cramming Android in places Google would have never expected. It makes a great base for POS systems, high end touch screen vending machines, in flight entertainment consoles, and any number of other things I can't think of but I'm sure the community will.
At this point in time, it would be nearly impossible to make an open source, fully compatible, version of OS X. Replicating the APIs and user interface would probably cost hundreds of millions and a few patent lawsuits.
>AOSP is open source.
Clever switch there from Android to AOSP, no wonder its the top comment. The difference between them is what the author is talking about. You just prove his point.
The license is not what the author is referring to, he's referring to the fact that YOU, or I or ANYONE cannot sign up to develop AOSP and contribute to the project because its just a code dump from google with a license.
Thats NOT open source and if you think the license makes it so then you need to go up and try to make a commit no matter how trivial to AOSP. Dont be a fool...fool.
There's no rule that free software requires accepting pull requests from the entire world.
If a text blob of nonsense at the top of a source file makes you open source then WOW. How about Doge-Source? Such open, very free.