Project

General

Profile

BootloadersFreedom » History » Version 37

Denis 'GNUtoo' Carikli, 02/24/2020 02:20 AM

1 1 Denis 'GNUtoo' Carikli
h1. Bootloaders
2
3 36 Denis 'GNUtoo' Carikli
h2. Devices configurations
4
5 30 Denis 'GNUtoo' Carikli
|_. Device and documentation |_. Freedom situation |_. Boot order |
6
| [[NexusSI902xBootloader| Samsung Nexus S (i902x)]] | Proprietary, Signed on the tested devices | ?->USB->?->eMMC->? |
7
| [[I9100Bootloader| Samsung Galaxy S2 (i9100)]] | Proprietary, probably Signed | ? |
8
| [[GalaxyTab2Bootloader| Samsung Galaxy Tab 2]] | Proprietary, signed | ?->USB->?->eMMC->? |
9
| [[OptimusBlackBootloader| LG Optimus black (p970)]] | unsigned, can be replaced with upstream u-boot | eMMC(MMC2)->USB |
10 10 Denis 'GNUtoo' Carikli
| [[Exynos4Bootrom|Galaxy SIII (I9300)
11
Galaxy SIII 4G (I9305)
12
Galaxy Note II (N7100)
13
Galaxy Note II 4G (N7105)]] | * Proprietary, Signed
14 30 Denis 'GNUtoo' Carikli
* There is work in progress to understand if we can avoid the signature | ?->eMMC->?->USB->? |
15 31 Denis 'GNUtoo' Carikli
| Golden Delicous GTA04 | unsigned, free software | * Aux not pressed during boot: ?
16
* Aux pressed during boot: ?->SD->?->NAND
17
SYS_BOOT0 = 1
18
SYS_BOOT1 = 1
19
SYS_BOOT2 = 1
20
SYS_BOOT3 = 1
21
SYS_BOOT4 = 1
22
SYS_BOOT5 = AUX button
23
SYS_BOOT6 = 1 
24
But cannot find Reference manual for the DM370 |
25 36 Denis 'GNUtoo' Carikli
26
h2. System on a chip
27 8 Denis 'GNUtoo' Carikli
28 33 Denis 'GNUtoo' Carikli
|_. SOC and documentation |_. Freedom situation |
29 37 Denis 'GNUtoo' Carikli
| [[Exynos4Bootrom|Exynos 4]] | - Some or all devices are signed
30
- work in progress to understand if it's possible to bypass the signature |
31 35 Denis 'GNUtoo' Carikli
| [[BroadcomVideoCore]] | The SOCs have the ability to check signatures |
32 33 Denis 'GNUtoo' Carikli
33 11 Denis 'GNUtoo' Carikli
h2. Other attempts that involves bypassing the bootrom
34
35 23 Denis 'GNUtoo' Carikli
There have been several security issues in bootrom, which can enable to run fully free software bootloaders, that are under the user control, even on devices that are configured to enforce bootloader signatures.
36
37
The most interesting security issues is when it enables to just replace the nonfree bootloader by a free bootloader that is controlled by the user.
38 24 Denis 'GNUtoo' Carikli
39 32 Denis 'GNUtoo' Carikli
While being able to load a free bootloader through USB is nice, it's not enough per se as it has usability concerns: it's not convenient to need another computer each time you need to power on your smartphone or tablet.
40
41
It seems that according to a "youtube video":https://www.youtube.com/watch?v=REx_qSTulJM small enough USB dongles exist that implemented fusee_gelee for the Nitendo Switch.
42
43
On tegras, as the bootrom can also be patched as part of it ends up being in the fuse memory region, it may be possible to patch the bootrom to bypass the code signature and not need such dongles.
44 23 Denis 'GNUtoo' Carikli
45 15 Denis 'GNUtoo' Carikli
|_. Affected SOCs |_. Type |_. Link |
46 17 Denis 'GNUtoo' Carikli
| Tegra | USB boot | "fusee_gelee":https://github.com/Qyriad/fusee-launcher/blob/master/report/fusee_gelee.md |
47 22 Denis 'GNUtoo' Carikli
| IMX 5 and 6 | Normal boot, and maybe USB boot too | "Ref_QBVR2017-0001.txt":https://github.com/f-secure-foundry/usbarmory/blob/master/software/secure_boot/Security_Advisory-Ref_QBVR2017-0001.txt |
48 15 Denis 'GNUtoo' Carikli
49
Other links to cathegorize:
50
51 14 Denis 'GNUtoo' Carikli
* http://www.droid-developers.org : This attempts to run user code on several Motorolla smartphones. It includes analysis of the boot chain:
52 11 Denis 'GNUtoo' Carikli
** "Application_Processor_Boot_ROM":www.droid-developers.org/wiki/Application_Processor_Boot_ROM
53 13 Denis 'GNUtoo' Carikli
** "Booting_chain":http://www.droid-developers.org/wiki/Booting_chain
54 25 Denis 'GNUtoo' Carikli
* https://www.theiphonewiki.com/ has a list of "Bootrom security issues":https://www.theiphonewiki.com/wiki/Bootrom for apple devices.
55 26 Denis 'GNUtoo' Carikli
* "Ti Nspire":https://hackspire.org ? RSA exponent issues?
56 10 Denis 'GNUtoo' Carikli
57 9 Denis 'GNUtoo' Carikli
== See also ==
58 8 Denis 'GNUtoo' Carikli
59
* [[Upstream]]