The security used in the boot loader is called "Secure Boot 3.0"
It is a security feature of Qualcom/Code Aurora Forum's "Little Kernel" and each MSM CPU is a bit different. It is found in the CAF sources in bootable/bootloader/lk
It seems LG is taking this code and adding there own to it
"there utility we see if we unbrick" especially this file bootable/bootloader/lk/app/aboot/aboot.c
aboot is not the only boot loader, but it is the one that checks to see if the kernel needs/has a correct signature.
The other boot loaders are sbl1 sbl2 sbl3 maybe more
When those load they check the qfuses to see if security is enforced, you can use the utility viewmem to see this, if you have pushed it to your xbin folder
C:\adb>adb shell
shell@android:/ $ su
su
shell@android:/ # viewmem 0x706000 0x100 |hexdump -C
viewmem 0x706000 0x100 |hexdump -C
[INFO] Reading 256 bytes at 0x706000...
00000000 00 00 00 00 a1 00 20 00 00 00 00 00 01 00 40 7e |...... .......@~|
00000010 67 5d 00 00 00 10 20 00 00 00 00 00 80 00 00 00 |g].... .........|
00000020 00 60 00 00 00 00 f8 1b 00 00 00 00 00 00 31 00 |.`............1.|
00000030 00 00 00 00 0f 00 00 00
20 01 00 00 00 01 00 00 |........ .......|
00000040 00 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 |................|
*
000000a0 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 |................|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000c0 00 00 00 00 00 00 00 00 43 00 00 00 00 00 00 00 |........C.......|
000000d0 00 00 00 00 00 00 00 00 55 34 d2 ef 88 00 00 00 |........U4......|
000000e0 e1 10 6b 40 00 00 31 00 00 00 00 00 01 00 00 00 |..k@..1.........|
000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000100
shell@android:/ #
That is is from my LG Motion, so since that qfuse, that 20 that I high lighted in red is set to 20 it means secured boot is enforced, which means the signatures for sbl1, sbl2, sbl3 are checked
I think what would need to be done, is set that 20 to 00 somehow, modify sbl3 so it does not sig check aboot, modify aboot so that it does not sig check boot.img/recovery.img
or
Figure out what Private key LG is using and figure out how to sign the boot.img and recovery.img
or
Keep nagging LG to release a boot loader that does not require sigs, this is probably going to be the only way to get this done the boot loader way
or
The 2nd init / recovery strap does not rely on the bootloaders, but is not really a true recovery
I have no clue how to do this, and I am not even sure if what I said in this post is 100 percent accurate, but this is what I was able gather from E:V:A's informative thread over at XDA
http://forum.xda-developers.com/showthread.php?t=1856327
.