Tuesday, July 3, 2018

OnePlus 5 & OnePlus 5T now support Project Treble on the latest OxygenOS Beta

OnePlus 5 OnePlus 5T Project Treble

OnePlus along with a few other smartphone vendors such as Google, Xiaomi, and Nokia offer a public beta program. OnePlus' OxygenOS Open Beta program lets you receive updates with new features and security patches long before the stable release reaches most other users. The OnePlus 5 and OnePlus 5T is getting a new OxygenOS Open Beta 13 and Open Beta 11 respectively, and they bring something quite surprising to the mix: Project Treble compatibility.

Project Treble was announced ahead of Google I/O 2017 before we even knew most of the new platform features in Android Oreo. The idea behind Treble is to modularize the Android operating system so it's easier for manufacturers to push updates to the software. By separating the vendor HALs from the Android framework and providing a standard interface between the framework and HALs, Google has made it faster for device makers to bring up new versions of Android. This, in turn, gives device makers more time to work on software features to make the user experience more enjoyable, and Google directly credits Project Treble behind the reason Android P is introducing so many new software features compared to Android Oreo. Lastly, Treble support played a big part in the reason non-Google devices like the OnePlus 6, Xiaomi Mi Mix 2S, Sony Xperia XZ2, Nokia 7 Plus, and more have early access to an Android P beta.

Treble support is mandatory for any device manufacturer launching a device with Android 8.0 Oreo and above but is not a requirement for any device that upgrades to Android Oreo. We've seen several devices from the likes of Huawei receive Treble support, where OnePlus and Nokia previously stated that bringing support for Treble wasn't on the table. The reason that OnePlus gave us was that they felt it would be risky to repartition the OnePlus 5 and OnePlus 5T via an OTA update. However, as demonstrated by an independent ROM developer, there's plenty of unused space available on each device which can be repurposed into a vendor partition suitable for moving the HALs. We haven't examined the partition table of the OnePlus 5 and OnePlus 5T running the latest OxygenOS Open Betas yet to confirm how they handled the process, but at the very least this is still exciting news for owners of these devices.

We've talked in great depth about the benefits that Treble brings to custom AOSP-based development, but given that the OnePlus 5/5T already have a strong development community behind them the benefit of Treble won't be felt in this area. Instead, Treble compatibility will make it easier for OnePlus to push security patch updates to better support the devices in the long-term as they have recently promised. We'll have to wait and see if bringing Project Treble support to the OnePlus 5 and OnePlus 5T will yield real benefits for the devices, but we're confident that it'll help.

But enough about Treble support. The latest OxygenOS Open Betas bring more to the table than Treble. Here's the full changelog:

OxygenOS Open Beta 13/11 for the OnePlus 5/OnePlus 5T

  • System
    • A brand new user interface
    • Supported accent color (Settings – Display – Customization)
    • Supported for Project Treble
  • Launcher
    • Improved search tags in the app drawer
    • Added "New installs" category tag in the app drawer
    • Improved app list for hidden space and toolbox
  • Phone
    • Optimized logic for the contacts page
  • Weather
    • Brand new design with improved user experience
    • All forecasts integrated under a single interface leading to a fully immersive experience

We can see from the changelog that OnePlus is still improving the launcher experience by adding search tags in the app drawer, a "new installs" category, and an improved app list. The weather application also has a new look as does the system. We're not yet sure what "a brand new user interface" means as the update hasn't been pushed out to users yet. The changelog also mentions new accent colors, though it's unclear if this means full accent color customization just like the latest Android P beta on the OnePlus 6.

OnePlus warns users to flash earlier OxygenOS Open Beta (12 for OnePlus 5T and 10 for OnePlus 5) build first before the new update to avoid data loss. If you fail to do so and decide to update from the stable version of the system, you have to do a clean flash beforehand. That means clearing cache as well as data from the recovery (using TWRP is always recommended).

As I already mentioned, the update hasn't been pushed to the server yet. You can download the Open Beta builds once they're available from the link here. Those who are already on the Open Beta build will receive an OTA update and won't have to flash the zip file manually. You can also skip the line and get the update by using the Oxygen Updater app as mentioned in our tutorial here.

We'll update the article with more details and screenshots as soon as the update will be available on the server. Stay tuned for more details.



from xda-developers https://ift.tt/2KGtfY5
via IFTTT