[G4 Android Development] steadfasterX:
Change Verified Boot Screen

The idea is to make the new N boot verified boot screen look like the one of MM/LL.

The main goal here is

not

to disable the bootloader unlock warning completely!

Its just the N one is annoying the ppl more it seems ;)

Before

using this mod:

After

using this mod:

Reason where this request is coming from:

lol.. yea.

I analyzed the bootloader stack of N and the change is that from N on this "verifiedboot" message is splitted:

before (LL, MM) it was just in aboot (and it is still here as a fallback) and the new one with the "visit link" stuff is called from a partition named raw_resources.

now what happens when you restore:

as the raw_resources partition is not part of the TWRP bootloader backup it will not be restored and so after u flashed MM and then restore a backup of N with TWRP it will still have the

raw_resources of MM.

The test scenario 1

If my theory is correct that would means:

If you flash just the raw_resources of N now (because you see the text-only boot screen after TWRP restore) it should display the N verifiedboot boot screen again. would be great if you could try that.

that also means that when u have the N verifiedboot boot screen and flash the raw_resources partition of MM it will be the old boot screen again. would be great if you could try this as well.

The test scenario 2

once the above is tested

and so my theory is verified the correct way on fixing this will be changing the relevant parts of raw_resources.bin accordingly instead of using the one of MM

in the downloads section you find a test with a modified N raw_resources (zeroed out 0x113A up to 0x123D).

The test results

WARNING: There is a risk to flash this... if it is not working as expected which may result in a soft brick. its very unlikely as this partition is not that sensitive but... u have been warned ;)

Recommended installation

Download (click) the LG-G4_N-bootloader_discreet_verifiedbootmsg.zip and LG-G4_N-bootloader_discreet_verifiedbootmsg.zip.md5

boot into TWRP and push both files in the same directory

Flash LG-G4_N-bootloader_discreet_verifiedbootmsg.zip

Reboot & Enjoy

Manual Installation

As usual doing a full backup before starting with DLM Backup - Option B is absolutely recommended!

Download (click) the modified N raw_resources image

boot into TWRP

Push the image to the device: adb push raw_resources_simpleverifiedbootmsg.bin /tmp/raw.img

Flash the image: adb shell "dd if=/tmp/raw.img of=/dev/block/bootdevice/by-name/raw_resources"

Enjoy

All-in-one installation

if you'd prefer to flash a ZIP instead:

@kessaras has created a flashable ZIP containing this modification in his v29 firmware package.

Beware: This will flash the

full

N bootloader stack ! Not the above modification only. Thats usually nothing bad with this but if you use another then v29 you may not like the result..

I understood that the following does contain the full v29 / N firmware

Download

Credits

@kessaras for his brave testing ;)

.

XDA:DevDB Information

disable the N verifiedboot splash, Tool/Utility for the LG G4

Contributors

steadfasterX, @kessaras

Version Information

Status: Stable

Current Stable Version: 1.1

Stable Release Date: 2017-09-01

Created 2017-08-31

Last Updated 2019-07-12