[Guide/tutorial] LG G4 h811/h815 any version to Android 9 Pie/LineageOS 16

djibe89

Senior Member
May 24, 2014
568
353
83
First of all, thank you for this post, everything worked like a charm besides a little problem, there's no connection when enabling mobile data. Wi-fi is fine. Is there anyone who ran into a similar problem after the upgrade? Thanks.
Hi, I didn't experience thios problem wiath any of the Lineage OS roms.
Did you make sure your data APN (Access Point Name) are correct ?
 

Rorschach_7

New member
Sep 14, 2019
2
0
0
Hi, I didn't experience thios problem wiath any of the Lineage OS roms.
Did you make sure your data APN (Access Point Name) are correct ?
I ended up adding the APN manually because the automatic settings through sms weren't applying for some reason, it worked once then after disabling the mobile data for the first time I'm back where I started...
 

Acolis

Member
Apr 30, 2013
22
2
0
Video from camera is not saving

Hi,

Part of my setup and testing I tried to record a video and take pictures.
Video recorded from the rear camera does not save at all.
Tried multiple settings, multiple resolutions.
Selfie Video does work and record.

Can you look into it please?
 

fastmike

Senior Member
Jul 6, 2007
126
33
0
Hi
Thanks for the great guide. I went for 7.1 (14.1 files) as recommended. After first boot, I noticed that rom is fast, but battery is going down very quickly with no active task in the background (I am loosing about 8-10% every 20 minutes) when the phone was lasting for about a day and a half when unused...

I have tried a reboot, and noticed the same...

Any idea?
 

djibe89

Senior Member
May 24, 2014
568
353
83
Hi
Thanks for the great guide. I went for 7.1 (14.1 files) as recommended. After first boot, I noticed that rom is fast, but battery is going down very quickly with no active task in the background (I am loosing about 8-10% every 20 minutes) when the phone was lasting for about a day and a half when unused...

I have tried a reboot, and noticed the same...

Any idea?
Hi, we are many to use this ROM and didn't experiment this.
My aunt now uses it for daily usage and juice is good.

Have you tried to go to recovery, wipe cache/dalvik.
Reboot.
Use battery calibration app.

Keep in touch
 
  • Like
Reactions: fastmike

wondalf

New member
Oct 11, 2020
2
0
0
Update error

Hi,

I have to say, that this is my first expierence with custom roms at all. I was happy to find such a good guide, which I could follow.

I did everything as described in the guide and downloaded the lineage OS 16.0 build from August 24th.

First problems occured in the step
Go to Wipe -> Advanced Wipe.
Check following partitions : Dalvik, System, Data, Internal Storage, Cache
and Swipe to Wipe.
### Don't try to format partitions to F2FS, it won't work.
### If you get this error : Failed to mount '\data' (Operation not supported on transport endpoint),
### format all partitions back to EXT4

It was unable to mount \data and \cache both with (invalid argument)
I solved that somehow with formating.

I finaly failed in this step
Go back to Home Screen.
Now go to menu Install > Select Storage button > select Micro SD Card, confirm with OK.
select ROM file LineageOS*.zip,
then tap on Add more zips button and select Magisk*.zip,
then Add more zips : opengapps*.zip.
Now swipe to confirm flash and wait while flash occurs.

The flash failed with error 7. The log says the following:
Code:
I:operation_start: 'Flashing'
Installing zip file '/external_sd/lineage-16.0-20200824-UNOFFICIAL-h815.zip'
Checking for Digest file...
Unmounting System...
I:Update binary zip
Verifying package compatibility...
Package doesn't contain compatibility.zip entry
I:Extracting updater binary 'META-INF/com/google/android/update-binary'
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
SELinux: Loaded file_contexts
Target: lge/p1_global_com/p1:6.0/MRA58K/152940055675e:user/release-keys
Extracted file "/tmp/install/bin/backuptool.sh"
Extracted file "/tmp/install/bin/backuptool.functions"
Extracted 2 file(s)
Target: lge/p1_global_com/p1:6.0/MRA58K/152940055675e:user/release-keysabout to run program [/tmp/install/bin/backuptool.sh] with 4 args
Patching system image unconditionally...
performing update
Patching system image unconditionally...blockimg version is 4
maximum stash entries 0
creating stash /cache/recovery/2bdde8504898ccfcd2c59f20bb8c9c25f73bb524/
script aborted: mkdir "/cache/recovery/2bdde8504898ccfcd2c59f20bb8c9c25f73bb524/" failed: No such file or directory
E1001: Failed to update system image.
mkdir "/cache/recovery/2bdde8504898ccfcd2c59f20bb8c9c25f73bb524/" failed: No such file or directoryE1001: Failed to update system image.error: 1001
cause: 101
Updater process ended with ERROR: 7
I:Install took 1 second(s).
Error installing zip file '/external_sd/lineage-16.0-20200824-UNOFFICIAL-h815.zip'
Updating partition details...
I:Data backup size is 0MB, free: 23199MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
Please help me.
 

wondalf

New member
Oct 11, 2020
2
0
0
Update error SOLVED

I tried several things and finally the following worked for me.

Go to Wipe -> Advanced Wipe.
Check following partitions : Dalvik, System, Data, Internal Storage, Cache
and Swipe to Wipe.

Go back to Home Screen.
Go to Reboot -> Recovery and Swipe to Reboot

Go back to Home Screen.
Install > Select Storage button > select Micro SD Card, confirm with OK.
select ROM file LineageOS*.zip,
then tap on Add more zips button and select Magisk*.zip (Don't add opengapps*.zip in this step)
Swipe to Flash

Go back to Home Screen.
Install > Select Storage button > select Micro SD Card, confirm with OK.
select opengapps*.zip
Swipe to Flash

Reboot

Best regards Wolfgang
 

djibe89

Senior Member
May 24, 2014
568
353
83
I tried several things and finally the following worked for me.

Go to Wipe -> Advanced Wipe.
Check following partitions : Dalvik, System, Data, Internal Storage, Cache
and Swipe to Wipe.

Go back to Home Screen.
Go to Reboot -> Recovery and Swipe to Reboot

Go back to Home Screen.
Install > Select Storage button > select Micro SD Card, confirm with OK.
select ROM file LineageOS*.zip,
then tap on Add more zips button and select Magisk*.zip (Don't add opengapps*.zip in this step)
Swipe to Flash

Go back to Home Screen.
Install > Select Storage button > select Micro SD Card, confirm with OK.
select opengapps*.zip
Swipe to Flash

Reboot

Best regards Wolfgang
Hi, thx for sharing, I updated tutorial.
enjoy your nearly new phone.
 

laurentpavot

New member
Jan 2, 2021
2
1
13
Hello,
I just completed my instalation, thanks for the tutorial it went smoothly (once I did found it).
I try to recycle old phone my family doesn't want and every time I hope to find a comunity still active to instal custom rom, so thank !

I just feel like the phone is verry slightly slow on some animation or transition, compare to stock but it might be just an impresion.
Now I need to search if I can solve problem from the knockon as it doesn"t wake the phone randomly...
thanks