[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Bernie_nix:
[IMG="LineageOS4Microg"]http://lineage.microg.org/images/screen_logo.jpg[/IMG]

/*
* I'm not responsible for bricked devices, damage, loss of Google services, you getting fired because the alarm app failed, etc. Do this at your own risk.
* Please do some research if you have any concerns about features included in the products you find here before flashing it!
* YOU are choosing to make these modifications.
* Your warranty may/will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/

About LineageOS4MicroG & LineageOS

Rom Built by Bernie_nix​

Why build Oreo Now? What about other variants of the G5?:

Oreo is very stable on the h830 and works great with microg. I'm using this build now. This is also a build I am interested in maintaining and comparing to a future Pie build with microg built-in. Unfortunately, Android 17/Q is not yet fully compatible with microg.

Working:

5ghz WiFi, camera, calling, bluetooth, great battery life. USB-C audio earbuds work great. Reported that NFC works.

You tell me.

Known issues:

Please test WiFi, NFC. IR blaster not working for me but I may need to find a suitable app; please test. FM radio reported not working.

Automatic updates not yet implemented but will be in next build.

You tell me.

Install Instructions (If coming from another rom):

Prerequisites: Coming from another rom with Developer settings enabled, android debugging enabled.

(1) Boot into twrp (or ofox)

(2) Wipe your device. Select Wipe button, Advanced Wipe, Choose: Dalvik/ART Cache, Data, Internal Storage, System. Then Swipe to Wipe all of these (if in twrp. if in ofox, wipe system but do not wipe system 10)

(3) Select Format Data Button. Type yes

(4) Select Install button. Choose rom zip. Swipe to confirm flash.

(5) Install Magisk if you choose.

(5) Press back arrow button 2x to get back to main screen. Select Wipe button. Select format data button. Type yes.

(6) Reboot. Phone may or may not mention "no os installed." Ignore it. Proceed with reboot. Phone will boot twice, then boot into lineageos4microg.

DO NOT install twrp installer/orange fox installer until after phone boots into lineageos4microg or it will not boot. After you have setup lineageos, you can then reboot into twrp and install orange fox or twrp and magisk if you choose.

Do not ever install any GAPPS on this ROM

. Reinstall of TWP/Ofox should not be required if upgrading (at least on Ofox).

Upgrade Instructions (If coming from my previous build):

Prerequisites: Developer settings enabled, android debugging enabled.

(1) Boot into twrp (or ofox)

(2) Select Install button. Choose rom zip. Swipe to confirm flash.

(3) Wipe caches.

(4) Magisk should persist after reboot but if not, go back into twrp/ofox and flash it.

DO NOT install twrp installer/orange fox installer until after phone boots into lineageos4microg or it will not boot. After you have setup lineageos, you can then reboot into twrp and install orange fox or twrp and magisk if you choose.

Do not ever install any GAPPS on this ROM

. Reinstall of TWP/Ofox should not be required if upgrading (at least on Ofox).

Tips for Use

1. Root can be enabled in this build (if not installing Magisk) by going to Developer Settings->Manage Root Access->Apps and ADB

2. To turn off battery led when charging, Settings>Apps & notifications>Notifications>Battery Light

3. To set up Microg,

(1) open MicroG app,

(2) press self-check, press battery optimizations ignored and allow,

(3) go back one screen, select unified nlp settings, configure location backends, press the checkbox next to mozilla location service and ok, configure address lookup backends, press checkbox next to nominatum and ok,

(4) then go through Google services from top to bottom and enter your information.

(5) Enable location from pull-down shade. Open maps, get your location. Go back to Microg. Run self-check. All boxes should show a check.

(6) Microg is setup in less than 5 minutes and fully working.

(7) Turn off location from pull-down shade bc they're tracking you :p​

4. Want a better GPS experience? Install Deja Vu Location Service, GSM Location Service and Radiocells.org Unified Network Location Provider Backend from F-Droid. Works great with Google Maps or OSM.

5. I've found Hypercam to take excellent pics with our cameras. Please download for the G5 here: https://gcambrasil.com.br/lg

Reporting bugs:

DO NOT Report bugs if you're running a custom kernel or you installed Xposed.

Please report bugs in this thread.

Logcats are helpful but not required. Grab a full logcat right after the problem has occurred.

Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.

Thread Purpose & Limits

This thread has been created to discuss the installation and use of this rom. If you have questions about building roms, this thread is not the place to do it. Please create a thread under Q/A; doing so allows many users to assist you and will help to keep this thread on-topic. Failure to follow this request will result in a warning followed by report to XDA if continued. Some excellent resources for building microg include https://lineage.microg.org/ and https://8192.one/post/lineage_build_with_docker/.

New Builds:

Mar. 5, 2020 Change log

1. Latest security update

Status: Stable

ROM OS Version: 8.x Oreo

Security Patch level: Mar. 5, 2020

H830 Download link: https://www.androidfilehost.com/?fid=4349826312261742170

H830 MD5: 8bd86770d84b94a5d999489c7f993db6

H850 Download link: https://www.androidfilehost.com/?fid=4349826312261742710

H850 MD5: 6fe7febb5b4f994a1f32af18390a988c

Older Downloads:

Feb 29, 2020 Change log

1. Latest sources

2. Root option enabled in development settings

Status: Stable

ROM OS Version: 8.x Oreo

Security Patch level: Feb. 5, 2020

H830 Download link: https://androidfilehost.com/?fid=4349826312261734920

H830 MD5: 017e4f8352f670e1d409bbce34490178

H850 Download link: https://www.androidfilehost.com/?fid=4349826312261735367

H850 MD5:fb428e8a245e06d66037a4254b519ebf

Source and Additional Links

https://github.com/LineageOS

https://github.com/LineageOS/android_device_lge_msm8996-common

Last Updated Mar. 11, 2020

Thanks to x86cpu's posts, Dark98, Electimon, Gabi and the countless others who helped me out!​