Android Security
#15
Here a good explanation:


https://www.androidauthority.com/project-treble-818225/

To solve the hardware abstraction layer issue, Android O formalized the division between hardware sub systems like audio or camera, and their clients on the software side. These new formal divisions specify the interface between a HAL and its users. There are now around 60 formal interfaces for various hardware components, known as HIDLs.

The goal of a HIDL is to allow the framework to be replaced without having to rebuild HALs. HALs will be built by vendors or SoC makers and put in a /vendor partition on the device, enabling the framework, in its own partition, to be replaced with an over-the-air update (OTA) without recompiling the HALs.

Equally as important, Linux kernel long term support has recently been extended from 2 to 6 years for Project Treble. This means that major fixes to the kernel are no longer missed over a device’s longer term life cycle.


I think, important is also the long term support for the linux kernel:

https://www.xda-developers.com/linux-ker...rt-google/

With the extended long-term support kernel life, OEMs will no longer have to backport security patches from newer versions of the Linux kernel into the kernel version that they use on their devices. Instead, the patches will still be available for their devices

it is still a fantastic move which will help substantially both with Android’s current security update issues and with providing support for IoT devices for years to come. Making it easier to continue to support devices will make manufacturers more likely to extend support lives even further. It also is a key change for the ROM development scene, as it will allow developers to provide updates for older devices on legacy versions of Android with secure kernel versions for longer than before.

IoT devices often use legacy hardware for extended lifecycles (far longer than what we typically see with phones) and have limited budgets for software support, which currently results in an absolute mess of security bugs and unpatched devices that are constantly on and have full network access. It may not be possible to get these devices to be consistently updated to new kernel versions in the near future, across all manufacturers, but simplifying the work to “just” applying the latest patch for the kernel version that they are on may be enough to convince some companies to provide that basic level of ongoing security for their devices.


On GNU/Linux it is different, on android a security patch is in fact an upgrade. For example lineageos, there you have to download an entire image to apply the next security patch level. On GNU/Linux you have only update some packages to have the security fixes. Treble covers not only an upgrade from one android version to another but also upgrading images from the same android version. Security patches covers not only the android framework, it covers also  the kernel.

https://forum.xda-developers.com/project...h-t3742677

I am not a developer, so perhaps i don't understand all, but for what i understand, treble is not only for upgrading from one android version to another but also for upgrading from one android image to another in the same android version. I missunderstand something?
  Reply


Messages In This Thread
Android Security - by isndw - 02-13-2018, 09:37 AM
RE: Android Security - by tllim - 02-14-2018, 05:50 PM
RE: Android Security - by isndw - 02-15-2018, 01:15 AM
RE: Android Security - by isndw - 02-23-2018, 02:40 AM
RE: Android Security - by Luke - 02-23-2018, 03:15 AM
RE: Android Security - by isndw - 02-23-2018, 06:20 AM
RE: Android Security - by joe - 02-23-2018, 08:31 AM
RE: Android Security - by isndw - 02-23-2018, 10:08 AM
RE: Android Security - by joe - 02-23-2018, 05:08 PM
RE: Android Security - by tllim - 02-23-2018, 09:30 PM
RE: Android Security - by geno - 03-18-2018, 02:24 AM
RE: Android Security - by Blinky - 04-05-2018, 10:11 PM
RE: Android Security - by Poincare - 04-06-2018, 06:23 PM
RE: Android Security - by joe - 04-07-2018, 12:57 AM
RE: Android Security - by tllim - 04-09-2018, 04:22 PM
RE: Android Security - by isndw - 02-25-2018, 08:08 AM
RE: Android Security - by birender.s - 03-13-2018, 03:34 AM
RE: Android Security - by isndw - 03-13-2018, 04:33 AM
RE: Android Security - by birender.s - 03-14-2018, 02:10 AM
RE: Android Security - by isndw - 03-17-2018, 05:01 AM
RE: Android Security - by birender.s - 03-25-2018, 11:37 PM
RE: Android Security - by birender.s - 04-27-2018, 08:37 PM
RE: Android Security - by tllim - 05-03-2018, 09:51 PM
RE: Android Security - by xecutioner - 05-18-2018, 03:25 PM
RE: Android Security - by tllim - 05-18-2018, 08:51 PM
RE: Android Security - by xecutioner - 06-11-2018, 05:35 PM
RE: Android Security - by totalgaara - 06-01-2018, 02:03 PM
RE: Android Security - by Poincare - 06-16-2018, 03:37 PM
RE: Android Security - by tllim - 06-20-2018, 04:02 PM
RE: Android Security - by Blinky - 06-17-2018, 07:21 AM
RE: Android Security - by joe - 06-17-2018, 08:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 Android Oreo 8.1 TV-Install adventures (Now Android 9.0) Rocklobster 5 5,253 08-04-2021, 07:35 PM
Last Post: Rocklobster
  How do I prepare/put Android on an SD card using etcher cdotsubo3000 3 6,018 06-27-2021, 02:43 PM
Last Post: clach04
  Android and SD Card gigagames 2 4,544 06-27-2021, 02:38 PM
Last Post: clach04
  Android Images (ROCK64) pineadmin 73 168,331 05-04-2021, 01:58 AM
Last Post: zet_lab
  Android 9.0 and Pluto on Rock64-1G missdeenola 1 4,015 03-12-2021, 01:38 PM
Last Post: Wizzard
  broken android microsd images jbach50 1 3,497 01-16-2021, 09:57 PM
Last Post: jimsurvak
  Android on Rock64 SD Problem ElBoluTony 3 6,005 10-07-2020, 12:10 PM
Last Post: ElBoluTony
  Error! Android Rockchip tools method BowerR64 0 2,574 09-18-2020, 08:12 PM
Last Post: BowerR64
Lightbulb Any older versions of Android for the Rock64? BowerR64 2 4,722 09-18-2020, 07:58 PM
Last Post: BowerR64
  Can't boot android 9 on rock64 maks2204 5 8,770 09-09-2020, 08:44 AM
Last Post: BowerR64

Forum Jump:


Users browsing this thread: 5 Guest(s)