5 ms·
This seems stupid. Android is hard to update because of closed source drivers - especially really proprietary stuff like Bluetooth, the RIL and graphics. That c
by IshKebab 9y ago
This seems stupid. Android is hard to update because of closed source drivers - especially really proprietary stuff like Bluetooth, the RIL and graphics. That combined with the lack of a stable Linux driver interface means that only the manufacturers can really update the kernel.
I'm guessing this "fixes" that by just disabling everything.
- fixmycode 9y agoThe Linux community is already past the problems of proprietary drivers. We are talking about people that reverse engineered a full network stack, graphic cards, audio devices, you name it. If you build it, they will work.
- rubatuga 9y agoThis statement is horribly wrong. The sad state of even wireless ac drivers in Linux today show that there is a severe lack of driver development. What makes you think that a more proprietary and more guarded cellular modem will have better driver support than the current state of driver support? Isn't this just wishful thinking?
- ac29 9y agoThis is true for a subset of desktop/laptop/server hardware, but is nowhere near correct for other Linux devices like smartphones, routers, or SBCs. And for the most part the mature Linux Desktop/Server ecosystem isnt full of reversed engineered drivers, its full of open source drivers contributed by manufacturers. My Linux Laptop works well without binary drivers (a firmware blob or two excepted) because Intel spends the time and money to employ people to write drivers for their GPUs, WiFi, etc.
- ollieparanoid 9y agoAs it says in the article, the project is no-where complete in a sense where you can just use it as your day to day smartphone OS, so it does not "fix" this yet. The project has just started, but there is a solid base with "pmbootstrap" now. Replicant is working on reverse engineering the userspace drivers (they also found a backdoor in the closed-source drivers by doing that btw): https://redmine.replicant.us/projects/replicant/wiki/Samsung-RIL https://redmine.replicant.us/projects/replicant/wiki/Samsung... Other people are working on mainlining the kernel drivers for certain devices: https://lwn.net/Articles/680109/ https://lwn.net/Articles/680109/ So there is hope, and we need to start somewhere.
- nradov 9y agoIt's even worse than that. The device manufacturers often can't update the kernel on their own; they need cooperation from their peripheral vendors. I see a lot of Android customers criticizing device vendors for fragmentation and failing to release OS updates. But Google really created the problem by failing to build in stable APIs for a hardware abstraction layer and loadable device drivers. Unfortunately the only ways they could really fix the problem would be by forking Linux or building a new kernel from scratch and those would be huge efforts.
- asveikau 9y ago> Unfortunately the only ways they could really fix the problem would be by forking Linux or building a new kernel from scratch and those would be huge efforts. Or they could make their user mode pieces work with multiple kernel versions. In, say, a desktop Linux distro, it's often possible to leave the kernel at one version and upgrade other components.
- nradov 9y agoSecurity fixes and major new features typically require kernel upgrades so that doesn't really solve the fundamental problem.
- asveikau 9y agoAre you sure? Most Android CVEs I have personally read (a small set I will admit) have been user mode components.
- IshKebab 9y agoYes of course. Unless you are suggesting that the Linux kernel contains no bugs...
- asveikau 9y agoI didn't say that. But the kernel (and by that I mean ring 0 only) is a small percentage of android compared to user mode code. Privilege escalations in the kernel are more rare than other issues. So saying you cannot patch user-mode binaries (again, a majority of code in the system) because the kernel cannot be patched sounds an awful lot like throwing out the baby with the bathwater. And on Linux, the user to kernel ABI is fairly stable (see Linus's rants on the subject), which makes patching these pieces independently much more feasible. Put another way, if someone says a vulnerability in libstagefright.so can't be patched because kernel modules, that person is lazy and making excuses, or doesn't know what a kernel is.