VegaBobo / DSU-Sideloader

A simple app made to help users easily install GSIs via DSU's Android feature.
Apache License 2.0
1.41k stars 108 forks source link

[Question] using DSU with locked bootloader #160

Closed LeOS-GSI closed 7 months ago

LeOS-GSI commented 9 months ago

Hi, I know, that your sideloader is needing an open bootloader. But on my ViVo with A13, I can't unlock the bootloader. Do you now any way to run my GSI with DSU sideloader ? The stupid thing is, the ViVo OS doesn't have standard DSU in developer options :(

Would be great if you could help me.

(I have tried, but the installed GSI is not booting. After OEM logo, the screen is getting black and then it is reboot into OEM firmware?

VegaBobo commented 7 months ago

When you start your device on locked bootloader, verified boot will verify what OS is booting, if that OS isn't considered trusted, it will refuse to boot, fortunately/unfortunately, in most cases, the only OS considered trusted, are the ones signed by OEM, so, i guess if you can sign a GSI using OEM private keys, you might me able to boot it with locked bootloader? anyway, obtaining that is almost impossible for most of us, so not a practical option :\

Some doc links: https://source.android.com/docs/security/features/verifiedboot/device-state#root-of-trust https://source.android.com/docs/security/features/verifiedboot/boot-flow

Unfortunately, i think unlocking the bootloader is the unique viable option, in some cases, there are some alternative ways to unlock bootloader, like mtkclient (can unlock some MTK devices), PotatoNV (can unlock some Huawei/Honor), CVE-2022-38694 (should be able to unlock some Unisoc SoC devices).

LeOS-GSI commented 7 months ago

Thx for answer / clarification. The Problem is, that there is no way to unlock bootloader on newer ViVo devices :/