yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
Hey there! I'm waiting to test BT calling again soon... It's an hour past midnight right now for me, so I'll see what I can do.

A solution to the wide-angle cameras, however, has been found. We will hopefully see a new build soon with it working.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Most likely all msm8996 devices will go official at the same time, which includes the new rs988, as well as all the g6/v20 devices too. They all share a large amount of common code.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
New build is up.

- Dated 20 June 2018

- NFC! :victory:

- Upstream LineageOS updates

Download is in OP.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] otakutw:
can you build one for h850? because skippy seem to abandon it. thx a lot
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
Another new build is up... on the same day :cowboy:

- Dated 20 June 2018

- Wide-angle camera functionality restored

Download link is in OP. Contact me in this thread if you have any issues.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
I'll redirect you to my friend here... ↓↓↓
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Keep an eye out for a new thread for all g5 variants.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rahuldg:
Thanks for the build and updates

So I guess the OpenGApps are

ARM64 and 8.1?

And I guess your RR v6.1.0 build is updated to latest changes of this LineageOS right? Except the thread title where the date in RR in 19-Jun and LOS is 20-Jun.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dimon222:
Can you clarify a bit NFC? I'm not seeing crashes related to NFC anymore, but I also can't enable it, the switch is just not doing anything and turns back off after couple of seconds :(

Also, noticed that Samsung Gear binding not working. App is not able to find the gear via Bluetooth (tho, its possible to find it manually with bluetooth). Actual Samsung Gear apps is stuck in search and eventually just causes reboot.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
If you could try this and tell me what happens... lineage-15.1-20180622-UNOFFICIAL-rs988.zip

Don't know anything about Samsung Gear... Perhaps I'll look into it. On the face of it, if the device can be found in BT via Settings, but not via the Samsung Gear app, it sounds more like a problem with the latter.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
MicroG support?

XDA noob here, who somehow accidentally managed to land an officially supported LineageOS device for his previous phone, but then managed to destroy it on the highway, and quickly learned that it was a unique and marvelous snowflake...

Thank you, thank you, thank you, for your work on the RS998. It's the only phone supported by my carrier with a removable battery!

I ran a totally Google-free ship on my Harpia device with a microG LineageOS build. Is it possible to get MicroG (And UnifiedNLP) set up on this build you've released? I saw you had Magisk tested in your v14 release, and it sounds like that might be helpful, but I can't quite grasp it...

(P.s., your "Donate to me" link is broken)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
You are very welcome :) I like this phone for the removable battery too. The easy disassembly helps if I were to repair my G5 after, well, destroying it on the highway, for example.

I was recently looking into a microG LineageOS 15.1 build for my tablet, not quite sure what it was. I'll look into making one, why not :)

By the way, I fixed that link. Thanks.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
Observations so far with 20180620-v2:

NFC doesn't actually work for me. Lots of possibly relevant noise in logcat. I'm trying your 06-22 build later to see if that makes a difference.

Battery usage seems all over the place to me, but I didn't really use the phone at all with the stock build, so I don't know if it's normal for the model or what. By noon, my battery was at 50%, with 28% shown as used by System and 15% by phone idle. I have wifi and 4 bars for my carrier. I don't know how to gather additional information that might be relevant here.

Phone doesn't move between cell sites very well. I can end up with no data service, and turning airplane mode off and on will bring me 4G service. This was also noticeable with my LineageOS HARPIA phone, so I don't know if it's carrier or just inherent to LOS.

All 3 cameras work, though they're a little clunky to use given the app support.

Other than that... no Bluetooth issues... no dropping of Bluetooth on Wifi changes like my HARPIA did... Fingerprint scanner works though I don't use it. Feels like a miracle. The battery usage is the only thing that is keeping me from moving all of my stuff over, and I'm not sure how to determine if the battery needs replacing or not. And the real LG batteries are outta stock. Aggghh.

---------- Post added at 06:37 PM ---------- Previous post was at 06:32 PM ----------

Thanks!

:good:

My attempts to do it with Magisk failed. Would the MicroG work be posted about here or in a different thread?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
NFC works in the latest build. Always use the latest build before making any reports.

Some have looked into blocking wakelocks to conserve charge. There is an app called WakeBlock (link) that you could try.

What is your carrier? Since switching to a Verizon third-party carrier, I've experienced these issues. Our device has a few issues with Verizon networks in general with this custom firmware.

What do you mean by "real?" Would a third-party battery not work?

That is most likely what I'd do.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ST Dog:
3rd party batteries are notorious for poor quality, below spec capacity, and short life.

Even worse are the counterfeit/fakes claiming to be OEM.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
You do have those, but I've seen some reputable brands out there. It just takes some looking.

Tapatalk を使用して私の LG-RS988 から送信
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
Good evening everyone, and Happy Fourth. God bless America ?? ??

I have here for you all (@OverkillTASF) a LineageOS build with microG support. I will probably update it tomorrow for the July 5 security bulletin, but who cares :p gimme the rom now!

- Dated 5 July 2018 (still on June 5 security patch)

- LineageOS for microG — full microG integration without any extra patching. Includes F-Droid, UnifiedNlp, etc.

To allow signature-spoofing: Go to Settings > Apps & notifications > Apps permissions *scroll to bottom* > Spoof package signature > enable microG Services Core > three-dot menu icon > Show system > enable FakeStore. Make sure to open microG Settings from the launcher and do the Self-Check.

Link is right here: https://www.androidfilehost.com/?fid=5862345805528040122

NOTE:This is NOT a regular LineageOS build. Only use if you know what microG is. If not, DON'T.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
YAY! I'll give this a shot soon.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
Using lineage-15.1-20180705_microg-UNOFFICIAL-rs988.zip, I followed the MicroG installation instructions:

Confirmed NFC works, UnifiedNLP is working, the MicroG self check looks good. Buuuut when I run Protonmail from Yalp, which uses Google push notifications, even though I have GCN enabled, I see in Logcat:

I'll see if I can figure out why later.

Edit: Also found on my walk that the compass doesn't seem to work, but it did in one of the prior builds. Used SkyMap (which I know worked) and Osmand, then pared down to SAnd just to simplify logcat output.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
Added an edit up there to add some compass info....

I just saw that MicroG check shows Phonesky installed, but that it doesn't have the correct signature. Gonna try to uninstall whatever is installed as play store and reflash I guess?

Edit: Resolved signature spoofing for Google Play Store... Seems Phonesky isn't a thing yet despite the verbiage, but there is a "fake store" app, and it's not wise enough to request its own signature spoofing permissions. Had to go to Settings / Apps & Notifications / App Permissions / Spoof package signature / ... / Show system / enable for FakeStore. Don't remember having to do this on old phone, but oh well. Let's see if it fixes Protonmail.

Noticed on start up I'm getting a "This build was signed with public keys" alert from Trust. Not sure what that's about, since that sounsd like a good thing...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Ascii3:
From your description, It would seem that this is build allows for use of microG without extra Android patching and does not contain microG itself or F-Droid.

Please clarify whether this is the case.

There is also the "LineageOS for microG" project ( https://lineage.microg.org/ )that is LineageOS forked with modifications for signature spoofing and includes microG and related apps, UnifiedNlp, and F-Droid.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
Yes... this is a new functionality that was implemented just a few days ago by the powers that be. This is differentiating the test-keys ("public keys"), which are used by default to sign unofficial ROM builds, from release-keys ("private") which a dev would create on his own to "officialize" them so you don't accidentally replace his build with a .zip that you downloaded off of cyka-blyat-roms. net.

This is the AOSP explanation:

The Android tree includes test-keys under build/target/product/security.
Building an Android OS image using make will sign all .apk files using the test-keys.
Since the test-keys are publicly known, anybody can sign their own .apk files with
the same keys, which may allow them to replace or hijack system apps built
into your OS image. For this reason it is critical to sign any publicly released or
deployed Android OS image with a special set of release-keys that only you have access to.

I'll be looking into signing my builds.

Thanks for the question! I appreciate your specificity. In fact, I barely got to the thread in time earlier today to put in the note at the bottom to prevent confusion...

Yes, this build allows for use of microG without extra patching via Xposed, etc. It is made from the LineageOS for microG project with all of the signature-spoofing modifications, F-Droid, and everything else. I'll edit the post to include this :good:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
lineage-15.1-20180705_microg-UNOFFICIAL-rs988

Got everything set up and enabled encryption... Now stuck forever booting with the LineageOS loading screen (Blehhhhhhhhp. Blehhhhhp. Blehhhhhhhp). Gonna leave it until the battery runs down in case it's actually doing something.... But, danger danger, for anyone else.

Believe that, and the Compass, are the only things I can't verify are working.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
I like the onomatopoeia. Was everything working before you encrypted your storage?

Encryption should work. I've trialed it on "vanilla" LineageOS with success. I'm testing on the microG build as we speak... and am getting the same result as you...

EDIT: I eventually rebooted the phone while it was looping and, upon login, everything seems to be working now. A second reboot shows no signs of anything. However, my storage is empty, and so encryption will indubitably take longer for you. Did you see a timer go down fully to 00:00 before the phone rebooted?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
I don't have all that much on here. Maybe 2 or 3 gigs of app data and a gig of images (which I foolishly moved over from my old phone before doing this). After a few hours of LineageOS loading, I pulled the battery and rebooted. Got a password prompt, gave it my pattern, sat at LineageOS loading screen for an hour again.

Restarted again in TWRP. TWRP can't decrypt with my pattern either. I can mount my Micro SD card without a password, which I'm pretty sure I formatted for use by the OS, and not as removable storage....

Not sure if my data is totally boned at this point or not. Gonna go read the Internet to find out, as I'm a tad over my head.

> Did you see a timer go down fully to 00:00 before the phone rebooted

I didn't watch it that closely, just left it plugged in while I worked. I know it rebooted into something that basically said it was encrypting, didn't just go straight to TWRP or LineageOS boot or something. The next time I looked at it, it was Blehhhhhhhhhp-ing (LineageOS load screen).

Edit: Decrypting in TWRP yields "E: Decrypt took too long, killing process / Failed to decrypt data." Doesn't seem I can do much else. Left LineageOS to boot for a a few hours again with no luck.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
Yes, I'm still testing multiple solutions for decryption in TWRP. I'll definitely make an announcement when that is working :) maybe you'll have luck decrypting it if nothing else works.

Again, though, that is a bit odd. I've successfully tested encryption multiple times in Oreo and it works. Now that I'm thinking about it, you probably should have left it overnight instead of pulling the battery :( no need to take chances.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
Like some kind of dark magic, I left it alone after giving up, for another few hours, and it came back up. I rebooted a few times to be sure. Will take a bit to notice if there is any data loss. So far so good again.

During one of my freak out sessions I reinstalled TWRP because I couldn't remember if I used your unofficial build or not. If that was part of the solution, it was that and wait several more hours.

Hopefully will make it through the weekend without another flash. Wife and kids are sick of me looking at my new phone. Ha!

Thanks for your help and emotional support. Do you have a BitCoin address? PayPal landed on the no-go list for me a long time ago! (From your donate page)

Edit: Had some weird behavior tonight... I think I've decided that the compass, light sensor, and orientation sensors... maybe all sensors... are unreliable, or get unreliable. My sensor output apps weren't showing anything, I realized that the camera app wasn't rotating pictures, etc. After a reboot, I seem to have all the sensor readouts available again, and the orientation sensor and compass work as expected. The light sensor works, but it really doesn't seem like the auto display brightness does much when I point it at a light source, still. Will try to get a logcat next time it fails.

(Edit continued) Also had some weirdness when my wife would try to unlock with her fingerprint (which was in the system), it would fail, and then when I would unlock it it would just insta-reboot. It happened a few times... Some weird black screen business sometimes when I unlock... and then this evening it locked up entirely, with the time on the screen, buttons did nothing... etc. Had to pull battery.

(Edit continued) Hopefully this will reoccur while I'm home and can pull a logcat.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
Wow, nice, everything survived! I don't have a Bitcoin address, sorry :p

Odd. I have never seen anything like that. [MENTION=2881807]x86cpu[/MENTION] if you could please... :angel:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
Quick update.

- Dated 08 July 2018

- Upstream updates

- 5 July security patch level

Link will be in description.

Regarding the wide-angle camera: recent changes as of 6/29 have broken the previously-working fix...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
Well the sensor thing happened again. Turning the rotation sensor on and off from the quick launch _appears_ to work, but it doesn't actually do anything. Nothing in the logs when I tap it on and off either. But when I launched Gallery to see if orientation was working (it was not), I see this:

Also have found that after a while, or caused by something, the flashlight and the camera stop working. Hitting the flashlight quicklaunch icon does nothing, doesn't even toggle the icon, and doesn't fire anything in the logs. Camera app crashes at launch. This happened yesterday and again today.

Rebooting restores functionality. Will flash to your just-released version tomorrow to see if that fixes.

Edit:

I _moved_ all of my images and videos off in prep to flash the new image... and I have the same problem I had when I did the encryption. Blehhhhhhhp... blehhhhhhhp.... stuck at loading screen after entering decryption pattern. It went on for about 10 hours yesterday. I've got it plugged in and am gonna let it go again today. I definitely don't recommend encryption at this point. If it comes back up, I'm going to try to back up my app data and then do a wipe when I install your latest, just to get away from these issues that may or may not be related to encryption.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
I just noticed this thread where you are also active:

https://xdaforums.com/lg-g5/development/rom-unofficial-lineageos-15-1-g5-t3806842

Is it better to move to that thread / build? What's different about that build, since at a glance it has some of the same sets of problems?

Edit: FYI I just flashed your new MicroG build, but it doesn't have signature spoofing enabled. Not after 2 clean installs.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
New build is up.

- Dated 20 July 2018

- Upstream updates

- Signature spoofing (apparently not previously working?) now fixed.

- Wide-angle camera is working again.

Download link is in the OP.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
And I am back!

Depends on what you want. If you still want to use microG, then this is where it'll be at. As [MENTION=2881807]x86cpu[/MENTION] has taken over the unofficial LineageOS builds for the G5 (as he is one of the maintainers), I've moved to making LineageOS with microG. As of this post, the thread title has been changed to reflect this :) a long time coming.

Sorry about that! I've been away for a while, so I'm not sure what happened in that build, but there is a new build up right now that will fix this with one dirty install :good: the wide-angle camera should be working again as well.

Also, if anyone is able, please test calling with BT devices. It is the last "not-working" item on the (former) list, and I want to see the status on it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] supromax:
Hello,

I'm getting FC on first configuration of pixel launcher after install. I got stuck and can't advance on clean install.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
Hmm... I've had that issue before. Try installing a smaller GApps package without the launcher (or going with the Aroma installer if you want) and install that post-setup.

Tapatalk を使用して私の LG-RS988 から送信
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
NextDroid,

Thanks for your work, again. Everything seemed to be good on the latest build, sig spoofing included... however, I had an issue that I don't think is related to your build: Suddenly I stopped getting 4G service and was stuck with 3G: https://xdaforums.com/lg-g5/help/rs988-4g-stuck-3g-t3820284

I've gone back to stock to see if that will resolve, and it does not. Holding pattern until then.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
Hm, I meant to send you this a long while ago: Try going to Settings > Network and Internet > Mobile Network > Advanced Settings > Preferred Network Mode > the option at the top of the list.

Switch between that one and Global in the middle of the list and tell me if anything changes between them.

Tapatalk を使用して私の LG-RS988 から送信
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
Welp... I had to replace my phone. And I accidentally bought a US992 instead of an RS998. And that phone doesn't even have an unlockable bootloader. UGH. Now I'm out of money and don't know what to do with my life.

Thanks for your help! Maybe I'll be back one day.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
Hey there!

Where did you buy it? Maybe you could get a return -- asking wouldn't hurt.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] A1deparagon:
thanks for great job done here.

please can you enlighten me on which of the G5 model i should buy?

i want Dual sim, good camera, and if possible 4G calling, good hardware and i want root to install custom rom also.

from many post and comment i read that there some variant that have unlockable bootloader so i don't want to fall vitim of this variant.

thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
All right guys, this has been a while coming.

- Dated 15 August 2018

- August security patch level

- Many upstream updates

Links are in the OP.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
Bought another RS988. I'm back.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Scostam:
TWRP will reboot every time I try to flash the zip file. Any solutions?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
Make sure you're using latest official TWRP... Format (not just wipe) the data partition... That's all I can think of.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Scostam:
Just realized I'm using an old version of TWRP. I'll try it with the newest one. Thanks!

EDIT: It worked
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
I had to do it again... It might be worth adding a sticky, in case others are encountering?

>Settings / Apps & Notifications / App Permissions / Spoof package signature / ... / Show system / enable for FakeStore.

Otherwise you won't have Google Play Store signature spoofing.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
My phone is sllllllllllllllloooow now. Not sure if it's the hardware or what since I went straight to LOS. But there are slowness reports off in the main thread and I'm pretty sure this isn't a MicroG problem... so posting over there.

https://xdaforums.com/lg-g5/develop...ineageos-15-1-g5-t3806842/page45#post77539764
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
I'm going back to 20180720_microG as there seems to be some denial about slowness in the main thread. Will report back if that doesn't fix me up again.

Edit: This definitely fixed it for me. Trying to figure out if I can find what changed between the two builds...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
There were a lot of changes introduced to the kernel recently. That's all I can think of, but I haven't looked into the issue. I think I've experienced the slowness you're referring to, but I've switched ROMs since and haven't had that problem.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
Hello again everyone, it has been a while! Here is an update.

- Dated 03 October 2018

- Upstream updates

- September 2018 security patch level

Download link will be in the description.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] AriesTruong:
Hi All,

I see this Rom for my LGG5. If I install this Rom then whichbGApps should I install?

Thanks.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OverkillTASF:
The MicroG build of LineageOS is specifically to avoid installing ANY GApps. MicroG wants to replace all of the Google software with FOSS alternatives. With MicroG, you don't have any Google services on your phone. That includes the Google Play Store.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] AriesTruong:
Thanks.

So I cannot reuse apps I bought on Google Play :(