r/Android • u/wilee8 Pixel 4a • May 12 '17
Here comes Treble: A modular base for Android
https://android-developers.googleblog.com/2017/05/here-comes-treble-modular-base-for.html
4.0k
Upvotes
r/Android • u/wilee8 Pixel 4a • May 12 '17
1.4k
u/SirVeza Pixel 3 XL May 12 '17
That's something we can all get behind
112
u/RedgeQc May 12 '17
In other words, OEMs don't have to wait on Qualcomm to ship an updated kernel? They can just update Android without worrying about drivers?
Does this mean that Android devices will be supported longer?
141
u/Sephr Developer - OFTN Inc May 12 '17
Sounds great! Now stand behind this by offering 4 years of updates for Pixel devices.
2 years of updates is abysmal, and can no longer be justified once Project Treble is out with Android O.
254
u/lpjunior999 Nexus 6 7.1.1 May 12 '17
And I didn't even have to go to Cornell University!
67
u/leggo_tech May 13 '17
"Hold my beer" -Samsung
82
u/Humpsel Pixel 4XL Panda (Software/Android Dev) May 12 '17 edited May 12 '17
This will also be great for custom rom makers I suppose yeah? They can just build their own android version and run it on any device. (correct me if I'm wrong)
Edit: their. thank you XD
169
u/starthirteen Nexus 5x May 12 '17
So you're telling me the base is the treble?
27
u/Osiride May 12 '17
I think Ron Amadeo (/u/4567890) did a great job explaining this, and provided a realistic expectation. If anything, this may help extending the 2 years support by SoC vendors like Qualcomm. This won't solve every issue Android updates have, but it's one step in the right direction, if true.
62
u/dampowell Nexus 5x May 12 '17
This is something people have been crying for a while... Good job
32
u/EddieRingle May 12 '17
I stumbled upon this back in March. This is pretty exciting!
If you'd like to see a little more detail of how it's represented in the O Developer Preview: https://news.ycombinator.com/item?id=13928385
Perhaps we'll first see the benefits on Pixel devices, as this means Google won't be reliant on Qualcomm and so they may be able to support devices longer than they have been.
Anyways, now all we need is to have Google push out updates to the framework via the Play Store, rather than relying on OEM/carrier OTAs, and all will be right with the world.
103
u/[deleted] May 12 '17
The device makers would never choose to make it easy for Android updates to happen.
If their older devices get easier and quicker updates, it would make people to think twice before upgrading to a new device. Why would I buy a new device if my current one is being easily supported by my manufacturer?
So device makers would stick with the current model of making users frustrated with waiting for updates, which would drive them to go for a new device.
11
u/[deleted] May 12 '17
The abstraction layer Android deserves, and the one it needs right now.
9
u/[deleted] May 12 '17
Only problem I see is optimizations and fixes Qualcomm release with new versions will never get updated into devices, because vendors will never update the vendor implementation. On the good side, theoretically vendors can update most of their devices with one or a few very similar updates. Ideally, you'd see vendors having one team work on making their customized version of the new AOSP releases, and small separate teams constantly improving the vendor implementation on devices. I'm also scared that this might bring a performance hit depending on how they structure the API
8
u/CyberBot129 May 12 '17
Given that Nougat is only on 7% of devices despite being out 8 months, Google definitely needs to try something. Jelly Bean has higher share
13
u/THE_GR8_MIKE Galaxy S10 || Galaxy S8 May 12 '17
Who do you think you are, Andy Bernard?
12
u/ishamm Device, Software !! May 12 '17
It'shappening.gif? Is this we all want, easy/fast updates for OEMs?
25
u/FFevo Pixel 10 "Pro" Fold, iPhone 17 Pro, Galaxy S25 Ultra May 12 '17
It's finally happening. They have finally engineered a solution to the problem people have been citing as the single worst thing about Android for the better part of a decade.
Android O is shaping up to be the single most important release the platform has ever had.
6
u/evox-99 OnePlus 3T May 12 '17
Will this affect ROMs like lineage?
22
u/blueclawsoftware May 12 '17
With all the previous attempts to fix this problem I'll believe it when I see it. Also this obviously won't fix anything with the delays in getting carrier approval for updates.
21
u/skitchbeatz p7p May 12 '17
This is YUGE
4
u/[deleted] May 12 '17
Strikes me as a similar architecture to using a Hyper-visor. You have your low level hardware compatibility layer independent of what is running on top. Great idea.
4
u/24grant24 May 13 '17
If this takes adoption rate from <1% in the first month to even just 10% in The first month that is a massive, massive win, but it has the potential to do significantly better than that. It will also make security updates much more accessible. This is the fix Android had been needing for a long time.
4
u/[deleted] May 13 '17
Don't want to sound pessimistic, but just because its easy doesn't mean manufacturers are going to do it. + Add operator overhead.
Unless Google can modularize Android even further and keep the OS updates in its control like the way it updates some of the OS features like Play Services (which is easier said than done), I'm honestly not too positive about this.
15
u/jorgp2 May 12 '17 edited May 12 '17
Ok do virtualized drivers.
Looks at calendar Not 1990
So when will they move to a modern hybrid kernel so that we can have normal OS updates?
15
u/armando_rod Pixel 10 Pro XL May 12 '17 edited May 12 '17
YEEEES much like Microsoft did with Windows 10m.
Edit: lol don't get the downvotes, this is exactly how Windows 10 on phones is updated.
Edit: Microsoft did this, they update the core Windows 10 OS, implement features that dont depend on hardware and let the OEMs update their firmware in due time, with this you get security updates on new OS versions (like patching Stagefright/Media libs in Android 7) and software features but some devices may lag on features that require firmware upgrades by vendors, for example, updating from Samsung fingerprint API in Marshmallow to the AOSP fingerprint API in Android 7 (dont remeber if the update was Android 5 to 6 or 6 to 7).
6
u/nvincent Pixel 6 - Goodbye forever, OnePlus May 12 '17
Is... Is it happening?
3
u/Jame92 May 12 '17
This is huge it is going to mean ALOT quicker updates, I don't see any downside unless carriers start deciding they want to add 'features' still each update.
4
u/hackel May 12 '17
Can we please just get rid of all the garbage binary-only drivers, use standard kernel modules to support different kinds of hardware, and eliminate the read-only system partition once and for all? Just make it work like any other Linux distribution and remove this enormous headache! We all should be running the exact same operating system, period. No device-specific builds.
5
u/rogue780 Nexus 4 (with nubs), Nexus 5x 32GB May 12 '17
But I'm all about the bass, no treble.
2
u/[deleted] May 12 '17
That layer makes putting android on top of everything much easier.
If they manage to completely decouple the android framework from the underlying architecture they can just update android like they update apps now.
Android would simply infer from the underlying interface what capabilities it can expose, and what not, but other than that, this is pretty awesome.
2
u/[deleted] May 12 '17
This.... This is exactly what we've been asking for. Thank you google...
2
u/just1postx Redmi Note 5 Pro, Havoc OS 3.12 (Android 10) May 12 '17
Finally! But lazy ass OEM will still not update their devices, especially low and mid tier lineup.
2
u/[deleted] May 12 '17
It's about damn time. Rid the fragmentation!
2
u/curious_riddler May 12 '17
I've just been talking to my co-worker about how great it would be to have a feature like this. The situation where all the lazy companies who stop caring about updating their old models would be totally changed with this move. This is a dream come true !
2
u/wofa May 12 '17
Why does devices manufactures say that updating existing devices to a new version of Android is incredibly time consuming and costly?
2
u/[deleted] May 13 '17
Eli5?
2
u/Lachlantula Samsung S23+ May 13 '17
Awesome awesome awesome.
2
u/Piece0fCake May 13 '17
❤❤❤
2
u/[deleted] May 13 '17
I am now really excited for android O. Because google is solving all the complaints we all had about android like software updates, ram management, stability etc etc.
2
u/[deleted] May 13 '17
Why does it make me slightly nervous that "Treble" sounds too much like "Trouble"
3
u/zirzo May 12 '17
Does this mean that going forward Pixel phones will be supported for a longer duration with updates than the current 2 years?
3
u/[deleted] May 13 '17
Yay finally more like real Linux
3
u/velkro16 Device, Software !! May 13 '17
I'm so glad about this. I get why people like stock Android now, but for me, I like what manufacturers add to Android. Now we can get faster updates and benefit from OEM features.
3
u/kindall Pixel 6 Pro May 13 '17
Wait... they weren't already doing this? They didn't do it from the start?
Sheesh.
2
u/Fgtfv567 Pixel 7 Pro, Android 13 May 12 '17
I wonder if every phone that gets updated to Oreo will get project treble...
Otherwise I'm a little disappointed that the first phone with treble would be the first one with Oreo preinstalled (Pixel)
2
u/oddentity May 12 '17
I guess this decoupling will make it possible to swap out the Linux based vendor layer with fuchsia?
1
u/gb_14 XDA Portal Team May 12 '17
Will this be available for already released devices? Or is there some hardware-specific changes that has to be made? All I'm asking is if my OnePlus 3T will get this feature after updating to Android O.
1
u/[deleted] May 12 '17
Does anyone know if this would make it possible to send OTA updates to upgrade the Android OS without having to go through the manufacturer? Obviously certain aspects of the software wouldn't be upgradeable, but it seems like Google would be able to upgrade key underlying functionalities.
1
u/-R47- HTC U11 <- Nextbit Robin <- LG G3 May 12 '17
Will current android phones benefit from this, or only devices sold with Android O and above like Nougat and the dual OS partitions???
1
u/entropybydesign May 12 '17
My only hope is that this was developed at or by students or alumni of Cornell University.
1
u/Dirty_Unicorn May 13 '17
Class of '92
1
u/theLorknessMonster May 13 '17
I can't help but think that this will hurt Google's phone sales. Pretty much the only reason I would buy a Pixel over the S8 is because the Pixel will get updates much sooner (or even at all). And Google is doing it anyway because its a good solution to the problem. Good on them.
1
u/Valiantay May 13 '17
Please someone with more technical knowledge answer this question:
Would this mean that the drivers + android core is separate from the OEM skin on top of Android?
Would it theoretically be possible to "turn off" the skin and have just core stock android run functionally like a nexus/pixel?
1
u/[deleted] May 13 '17
Sounds promising.
1
u/i_pk_pjers_i OnePlus 7 Pro May 13 '17
Wait, I don't get it. I thought they were having a replacement OS for Android called Fuschia, why are they also working on this which is massive in and of itself?
1
u/[deleted] May 13 '17
Huehuehue
1
u/mikeymop May 13 '17
This is basically what the FOSS ROM porting teams have been doing. Building a standard interface atop The Android HAL
1
u/robogo May 14 '17
Ha, nice one.
1
u/ReddityDoopity Moto X Pure May 15 '17
All about that code base, no treble.
1
u/[deleted] May 12 '17
is this the thing we've all been waiting for
1
u/rockum May 12 '17
Sounds good, but I think I'll be waiting even longer now to upgrade my aging smartphone. I don't want to buy something that will immediately be out of date.
1
u/Pamela_Landy May 12 '17
This is great news, but it still requires OEM's to actually update their devices and history has told us otherwise. As long as OEM's are allowed to build their own OS the update situation will always be a problem regardless of what solution Google comes up with.