[G4 Android Development] steadfasterX:
New builds are cooking...

I have added a test in my jenkins build process to ensure that the unified device tree is working as it should.

Unifying our device tree makes it much easier to maintain and to add other not-yet added models - while it comes with the risk something goes wrong when it comes to blobs.

Nevertheless:

This is the third round first of my unified device tree so I would highly recommend doing the following (I have done that in my manual builds but you get it from jenkins - so there is a tiny little chance of bad luck .. ):

Pre-Cautions | Flashing instructions

Recommended: Backup (system, userdata in TWRP, your internal storage which contains your photos etc elsewhere)

Required: Do a "REGULAR CLEAN FLASH" (see bottom of this post)

Flash LOS - DO

NOT

choose to reboot afterwards - stay in TWRP.

TWRP menu: "Mount" --> choose "System"

From a terminal execute:

adb shell md5sum /system/etc/firmware/venus.mbn

Compare the value (last 4 characters is fully enough) with these:

If you flash:

h815, f500, h818, h819 it should be: ebc5d32c651bf061787e82258cf78a3c

h810, h811, h812, ls991, us991, vs986 it should be: 78e5cf520d0de4a413ef1cfa7bbbe713

WARNING: If that checksum is NOT as it should be: DO NOT PANIC! simply FLASH the PREVIOUS LOS version BEFORE booting!

. This will ensure you will not blow a fuse.

While the above test should be considered safe: If you are unsure about this procedure:

WAIT before flashing

until someone (or I) had done the above quick test from the builds jenkins is providing at my leech server.

Whenever an error occurs while flashing in TWRP (e.g "E1001: Failed to update system image.Updater process ended with ERROR: 7")

or if the above checksum does not match:

provide the recovery.log (FAQ #4 A)!!

... then flash the previous LOS version to get back to life - without harming your device.

In progress (in that order):

Live - View: https://lets.binbash.it:8800/job/LG-G4/job/LOS-16.0/job/Build all LGE-G4 models/workflow-stage/

all done

Done:

H815

H811

H815 UsU

VS986

H812

H810

Noteworthy Changes:

ATTENTION: VIBRATION issue in this build detected. Pls turn off vibration or wait for next build instead of flashing this one.

several selinux policies updated (e.g fixing Netflix)

If you encounter issues try this first:

adb shell
su
(or adb root when enabled)
setenforce permissive

Try again and if the issue is gone when in permissive mode:

provide me a logcat as described

here

On step 3 I need the SELINUX log (option D)

kernel kernel kernel .. This includes dramatic battery drain fixes and much more .. If you wanna know the details: https://github.com/Suicide-Squirrel/Titan-Kernel-LG-G4/commits/android-9.0_synced

Power up your thumbs to fire the thx button for [MENTION=5144614]pavlaras[/MENTION] for hours of kernel optimizations (again)

corrupt misc partition will no longer lead to empty WiFi and BT mac addresses (thx to the_naxhoo for pointing to the right solution)

and others ... and all the details

IMPORTANT:

Taking a backup before is recommended -

always

As usual a "REGULAR CLEAN FLASH" is

RECOMMENDED

.

See the FAQ #2 of this thread how to do a "regular clean flash": https://xdaforums.com/g4/development/rom-lineageos-16-0-t3929082/post79502871

Keep in mind that almost all pie ROM's sharing the same common device tree (or main parts of it), same model device trees and for sure the same kernel - so you can enjoy most fixes for any pie ROM available..

The above fixes are brought to you by the Suicide Squirrel Team :victory:

ok enough of words, just

one

more thing:

FLASH and ENJOY that life changing and best pie build for LOS -

ever

:D

.-