FindDevicesWithUnsignedBootloaedrs » History » Version 3
Denis 'GNUtoo' Carikli, 03/28/2020 11:15 PM
| 1 | 1 | Denis 'GNUtoo' Carikli | h1. FindDevicesWithUnsignedBootloaedrs |
|---|---|---|---|
| 2 | |||
| 3 | Given the huge number of devices out there, buying each device and checking it doesn't scale. Especially as there are multiple variants and even multiple versions of the variants. |
||
| 4 | |||
| 5 | For instance for the Galaxy SII we have the GT-I9100 that has an Exynos4 and GT-I9100G that has an OMAP4. And for the GT-I9100G, there are multiple versions. |
||
| 6 | |||
| 7 | h2. Making it easy for people to check the devices they have |
||
| 8 | |||
| 9 | The first step would be to document what tools already exist to do that and the ones that are lacking. |
||
| 10 | |||
| 11 | |_. Tool |_. Uses |_. supported hardware |_. Pakckages | Howto | |
||
| 12 | | omap-usb-boot | * checking if the device is signed |
||
| 13 | * Loading bootloaders from USB |
||
| 14 | 3 | Denis 'GNUtoo' Carikli | * booting on a different boot media | OMAP3, OMAP4, OMAP5 | Parabola, Archlinux through AUR | [[OmapUsbBootCheckSignedSOC]] | |
| 15 | 1 | Denis 'GNUtoo' Carikli | | omap-u-boot-utils | * Loading bootloaders from USB |
| 16 | * Loading bootloaders from the UART | OMAP3, ? | Parabola, Archlinux through AUR | ? | |
||
| 17 | | crucible | * checking fuses settings | Some I.MX SOCs | ? | ? | |
||
| 18 | | cbootimage | ? | Tegra ? | | |
||
| 19 | | rcm-utils ? | | Tegra ? | | |
||
| 20 | | 0xFFFF | * Load signed bootloaders (-c) | OMAP3? | | |
||
| 21 | 2 | Denis 'GNUtoo' Carikli | | sunxi-tools | ? | Allwinner SOCs? | Parabola, archlinux | | |
| 22 | 1 | Denis 'GNUtoo' Carikli | |
| 23 | * No tools (beside devmem2 and a good datasheet) to analyze boot settings and dump registers at runtime? |
||
| 24 | |||
| 25 | h2. Checking images at large scale |
||
| 26 | |||
| 27 | The idea would be to find a way to get a very large number of stock images for Android devices make tests on the images and automatically check if the bootloaders are signed. |
||
| 28 | |||
| 29 | If the bootloaders are under a free software license and are unsigned, once we get and identify the corresponding source code we could publish them. |
||
| 30 | |||
| 31 | For the signed bootloaders under a free software license we'd better check with the FSF what is best to do as we need not to redistribute any software that is practically nonfree. |
||
| 32 | |||
| 33 | Constraints: |
||
| 34 | * Check with FSF lawyers how to do it legally |