yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] asaf400:
Just jumping in here to update:

I was daily driving the 'lineage-17.1-20200506-X86CPU-rs988' build for a long while now,

And I've decided it's time to go back to Official lineage-17.1, I first flashed:

'to-OFFICIAL.zip' (seen it has more keys then 'unofficial-to-OFFICIAL.zip')

Then 'lineage-17.1-20210328-nightly-rs988-signed' which also prompted the magisk addons.d survival script

after that just the latest open Gapps, never had issues with gapps nano 'open_gapps-arm64-10.0-nano-20210403'

And so far so good, clear reboot, magisk present, xposed present, and camera is working..

I flashed in hope to fix some bugs that crop up often after 2 days of os uptime,

those were:

touchscreen completely stops working, while phone and buttons function ok

touchscreen and phone works, but display is stuck on, but all pixels off, so just the screen backlight

randomly either the camera would stop working at some point, or sometimes after a cold boot the camera wouldn't turn on, prompting a 2nd reboot, then works fine..

And lastly, the WiFi 2.4Ghz 5Ghz switching on SSID with both frequencies on the same name,

This issue is nasty because it made Wifi unusable in the scenario described, I had to split SSID names for my home wifi due to this

Hopefully I remember to come back and update on these issues at some point with the new update,

since, I just got my daily driver replacement, the Sony Xperia 5 II..
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Stiesen:
Hi all, after a manual update, my h850 is stuck in bootloop. I could not install the latest updates via OTA, so I eventually decided to manually install the current update (May 2) via TWRP bootloader. During the installation, everything seemed normal. After completing the installation, the device rebooted and it loaded displaying the moving LineageOS-logo for quite some time, as it normally does. Then the screen turned black and it rebooted into TWRP bootloader. I already updated TWRP bootloader and tried installingsix older LineageOS-versions which are still on the phone and worked perfectly normal in the past. Nothing helped, the phone still bootloops. Do you have any ideas how to repair this issue? Thank you!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Stiesen:
PS: Do you think it might help to replace TWRP recovery with LOS recovery?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] VortexHD:
You wont be able to downgrade to an older version after flashing a new version. I believe your only options are to upgrade to LOS 18.1 or wipe data.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Stiesen:
Thank you, VHD. I tried switching to LOS recovery in the meantime; it does not help. So I guess I will have to wipe the phone clean... I have been fool enough not to backup my messengers before the manual update, so that's a lesson learned. I copied the phone's data to my computer, and I may give it a try to simply copy the messengers' folders back on the phone after the re-setup...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Stiesen:
I also tried LOS 15.1 and 16.0 without erasing data; it did not work. So I erased data, too, and that ended bootloop indeed. I could not restore data by copying folders. My Seedvault backup saved some data although it could not restore all apps and it could not restore chats in the restored messenger apps.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Stiesen:
Malware

Avast Antivirus 2021 tells me there is malware in the sms/mms app. I cleared everything reinstalled lineage-18.1-20210502-nightly-h850-signed.zip. Then I installed nothing but Avast Antivirus. It still tells me there is malware in the sms/mms app. I believe this is false alarm, but could anybody check this, pease?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Stiesen:
PS: I tried several other antivirus apps, which did not detect malware.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
I tested on my H850 and no malware is detected.

This thread is unofficial LOS 17.1, you are testing official LOS 18.1. You can find the correct thread here
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Stiesen:
Thank you, etmatrix. I will post it there. Did you use Avast for your scan?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] etmatrix:
Yes I installed the latest version from PlayStore on LOS 18.1 and no malware is detected.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Stiesen:
Thank you. Makes me wonder how the malware — if it is malware— could have made it onto my phone. SD-card? But that is mounted as external memory...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Androi100:
WHERE ARE THE DEVS OF THIS ROM?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
Strange. My encrypted (FDE) H850 was upgraded without any problem from 15.1 to 16.0.

Once 17.1 reaches some maturity I'll upgrade to 17.1 by dirty flash.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gallicos:
Yes, I tried again with the latest 16.0 build. After entering the decryption PIN, the screen says "Android is being started" (in German) and then it just reboots. Same as last time I tried.

Being very bold I just dirty-flashed the latest 17.1 build over the broken 16.0 installation. At the decryption screen, it says my entered PIN is invalid. The same happens when starting the TWRP recovery.

So now I dirty-flashed back to 15.1 and now it decrypts and starts again correctly.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gallicos:
I now tried encrypting from clean flashes of 17.1 and 16.0 as well as from 16.0 directly upgraded from 15.1. When enabling encryption, the black screen with the Android appears for a few seconds, and then the phone reboots. It is not encrypted otherwards.

To sum up, I can only successfully enable encryption on 15.1. Upgrading the encrypted phone breaks the installation. Enabling encryption on clean-flashed 16.0 or 17.1 does not work.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] zaptac:
I've encrypted my h850 on 16.0, wich worked without any issues. Haven't tried 17 yet.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] xnibis:
I got boot loops while using "open_gapps-arm64-10.0-nano-20200129.zip", then tried "open_gapps-arm64-10.0-nano-20200124.zip" and it worked, some versions are just borked.

This ROM is working better for me then L16 versions, initial uptime was very good but then I got some random reboots, will try to get a log for that.

Still really big thank you for this ROM, it's really great to enjoy newest Android version on G5 - thank you, thank you, thank you x86cpu
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
open_gapps-arm64-10.0-nano-20200207 works fine here on h830.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ozan2:
Hello guys! I am here asking about G5 custom rom and Gcam compatibility

Gcam v6/v7 works on lineageos G5? I mean Night Sight/HDR+/Astrography?

I have in head to buy G5 new with warranty for 140$
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dlions:
Hello

Try one of these https://www.celsoazevedo.com/files/android/google-camera/dev-fu24/

Thank You

God Bless
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] 心好累夜独醉:
i use hypercam (based GCam)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bryantthesmith:
In other recent LOS ROMs for the G5 the IR functionally is not working correctly. It is not listed in the not working post so does that mean it is working in 17.1 but not 16?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] interista4e:
Link?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] 心好累夜独醉:
u can find it in telegram group by this link "https://t.me/canalhypercam". I use version 7.2 v2 . E4 for Q also work.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ysr32:
I cannot make phone calls with my wireless headset. anyone have a solution suggestion? :confused:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Citb:
hey,my device is h830,i flashed the newest rom,found two bugs

first,when i charge it,it will be in fastboot mode,second,the time will be change after restart
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Charge fastbooot is figured it is latest updates. Time could be off if you have no network when it boots up. But it should set it quickly once booted and connected to the network.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Citb:
Ok,but i dont want to when i charge it in 0 power,it wiil be enter fastboot mode automatic,how to solve it,bro?thk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Scostam:
Same here
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djlooka:
Hi all, I just purchased another G5 after losing mine a while ago.

This one is running the stock Android N - 7.0 firmware (V20s-234-20 - Build NRD90U).

Apart from obtaining the unlock code from LG, what does one need to do to go from stock N to Lineage 17.1?

The OG post only mentions migrating from Lineage 15.1.

Do I have to upgrade to stock Oreo first, then flash Lineage 15.1, and only then 17.1?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
IIRC one can now skip 15.1 and install the target ROM (16.0 or 17.1) directly. If you still want to first install 15.1 and end with 17.1, you probable better not skip the 16.0 upgrade in between.

Trying to install the target ROM directly cannot really hurt, as the installation of a ROM is not much work once you have unlocked the phone and have oreo and TWRP installed.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djlooka:
Thanks for the prompt response. Do I need to upgrade to the latest stock firmware (from v20s [Nougat] to v30c [Oreo]) first?

I know some devices need the Oreo bootloader or some other part of the stock rom before installing newer versions of Lineage OS.

I remember going from stock Nougat to the (now defunct) official Lineage OS 14.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
My own lg-850 has nougat as its base and runs fine. Originally Nougat was required before installing LOS, but according to post #997 LOS16.1 runs on Oreo also - have not verified this myself though. If you prefer running the last baseband, then you might try Oreo as start.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Stay on N for now.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djlooka:
Shoot, I just finished upgrading via OTA :(

Can I downgrade?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Does anyone have a roomservice.xml for 17.1 and h850? I was thinking about trying it on my spare phone.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Was there any progress with Treble-ization? I saw it being mentioned in passing.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
The entire Lineage tree should be up to date with all commits.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djlooka:
I'm posting this here in case someone is in the same situation as I was (starting from stock).

I ended up doing the following:

- downgraded to V20s (latest Nougat), downloaded from here using Uppercut (had to disable the antivirus as it was reporting Uppercut as a false positive)

- installed x86cpu's latest build of LineageOS 15.1 first

- then flashed x86cpu's LineageOS 17.1

Apart from a couple of things not being available on Android 10 yet (mostly F-Droid privileged extension, GSAM battery root companion), everything seems to be working just fine for me :D

Since I'm running 100% Google-free, I need UnifiedNLP for A-GPS. AFAIK the cleanest way to install it is via this flashable zip, but the latest release does not support Android 10 yet. Luckily there's a workaround until the next release.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Although I wouldn't rule it out entirely, it's highly unlikely given the reason listed in the last sentence within the penultimate paragraph of this article.

https://www.androidauthority.com/project-treble-818225/amp/

"It’s also unlikely that custom ROMs will be able to introduce Treble to many older devices, as lower level hardware access isn’t open source."
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ch0d.curry:
Hello, all.

Thanks so much for all the great work on this ROM. My friend gave me this phone to borrow and I thought the stock OS was unbearable, so I flashed this build of LOS 17.1. I've been using it for the past couple of the days and it's been very stable for the most part.

When flashing the image, however, I think I may have made some mistakes, particularly when wiping the existing, stock ROM.

I cannot access the camera, camera flash module, gyroscope, and various other hardware sensors through any app. What would be the recommended course of action?

Thanks.

— ch0d
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-17.1-20200304-X86CPU

lineage-17.1-20200304-X86CPU

March security update. G5 brightness should be working again much better.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] interista4e:
Thanks man for your hard work! Is the bluetooth now working?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
I was not aware it was failing.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Jashan_chakkal:
Bluetooth is working fine. I am using a Bluetooth connected smart watch which remain connected all the time. So no problem in Bluetooth i am sure.

But their is problem with sound during music playback.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rebelt2i:
Hey, I have problems using the camera:

What I have doneso far:

Device: LG G5 (H850) with stock Android 8.1

Flashed TWRP

Flashed x86.zip

Flashed latest LOS 17.1 -> Bootloop

Flashed latest LOS 15 (tested camera, is working), flashed latest 17.1 -> working/starting

Everything works except the camera. No camera app is working (e.g. OpenCamera is not starting/crashing).

Do you have any ideas?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
I'm receiving a camera isn't connecting error on mine too since newest build on h830.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
I was getting that error too, but oddly enough it works now after I updated magisk and rebooted (I flashed a slightly older magisk build).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Try flashing latest magisk and install the latest magisk manager apk.

---------- Post added at 10:11 PM ---------- Previous post was at 10:08 PM ----------

Thanks, re-flashing the latest magisk build worked for me.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Glad it helped.

Unfortunately Gcam still has issues processing HDR. And NFC still doesn't work for me (not an issue as I don't use it, but just thought I'd share). RS988 btw.

On the plus side, brightness in fact seems to be fixed.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rebelt2i:
I tried that and that did not work for me. I am using the last Magisk build and APK.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Your problem is unrelated to ours then. Can you jump 15 to 17 or do you have to go to 16 first? Try 16, if that works try 17 again. If it dont work go back to 15 and if it works then try 16, if that works try 17 again. X86cpu does actually mention this in the install instructions in the first post. Lets us know which works.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
encryption

Having a lg850 running LOS 16.0 with FDE enabled, I tried an upgrade to 17.1 by dirty flashing.

This did not work out well and could not have gone since FDE is supported by Android 5 up to, but not including version 10, the latter version only supports FBE, see [1].

As encryption is a required for my phone, I've restored my NAND backup with LOS 16.0.

Once FBE is known to be working an upgrade from LOS 16.0 will likely require first disabling FDE (see [2]), then dirty flash 17.1 and after that enable FBE. Not really fun, e.g. if one uses a large SDCARD as adopted storage.

BTW: when using an SDCARD as adopted storage then TWRP backup/restore needs USB-OTG to store the backup, otherwise a restore will destroy the backup storage (like sawing off a branch of a tree that one sits on).

[1] https://source.android.com/security/encryption

[2] https://jomo.tv/android/remove-android-device-encryption
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Anyone else not receiving notifications for reminders in the calendar? Seems to be google app with the problem. Also stock calendar wont let me manually add them.

Update: i managed to get notifications, but had to install google calandar, ensured notifications/ alerting was enabled and manually added them via google calandar itself.

When the force override dark mode setting in developer options is enabled the settings is still lost on reboot in latest build.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] zirdop:
nfc

nfc not work why?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mateobuteler:
Unability to access hardware sensors

Same here! No camera, accelerometer, gyroscope, or lux sensor. We need help!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] blackwind.:
"Note: Full-disk encryption is not allowed on new devices running Android 10 and higher."

This sounds like Google demanding manufacturers stop using FDE in new products, NOT a complete removal of FDE from Android.

Just an extra data point: I got "wrong password" on the encryption screen after upgrading my FDE-encrypted RS988, but the ROM also bootlooped on my device after removing encryption and wiping all data, which was a head-scratcher to say the least. Has anyone running FDE successfully upgraded?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
No problems here on h830, have you followed the install instructions in the first post in the correct order?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mateobuteler:
Yes, i did. I'm on RS988 by the way.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
This occurred to me as well, so lets assume that upgrade while keeping FDE enabled is possible.

Indeed, after flashing LOS 17.1, the decrypt password/pattern is not accepted anymore. This exactly what happened with my phone (using a pattern); both when booting normally and when booting into recovery (see [1]). At that time I decided not to continue, but to restore the NAND backup of LOS16.0.

TWRPs Commandline Guide [2] describes a decrypt command including an instruction on how to determine the password corresponding to a specific pattern. As I found this only later I did not try to mount/decrypt /data from the twrp commandline. If that were to succeed, then finding a work-around of a fix may become much easier (e.g. just changing the password/pattern might already provide a solution).

[1] https://xdaforums.com/showpost.php?p=79137449&postcount=2

[2] https://twrp.me/faq/openrecoveryscript.html
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
I would do a full twrp backup and go back to 15 and see if it clears, you could try a dirty flash but most likely will need a clean flash as it will most likely loop. If that dont work you may have to go back to stock to.see if it clears. If 15 works, flash 16 and test, then 17.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mateobuteler:
I installed 17.1 without installing 16 or 15, i just flashed to-x86cpu.zip and then flashed 17.1. Does that change something?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Yes it does. Reread the install instructions in post 1 too.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] blackwind.:
I confirm that recovery is also unable to decrypt data after upgrade, and I'm using a password, not a pattern. Can you take a look at this for us, [MENTION=2881807]x86cpu[/MENTION]?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mateobuteler:
Sorry, i'm unable to understand the instructions very well, cause actually i'm from Argentina and i don't have such a good english. Could you please explain what should i do to install this ROM properly?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
I would do a full twrp backup and go back to 15 and see if it clears, you could try a dirty flash but most likely will need a clean flash as it will most likely loop. If that dont work you may have to go back to stock to.see if it clears. If 15 works, flash 16 and test, then 17.

Haria una copia de seguridad completa de twrp y volveria a 15 y veria si se borra, podria intentar un flash sucio, pero lo mas probable es que necesite un flash limpio, ya que lo mas probable es que se repita. Si eso no funciona, es posible que deba volver a las existencias para ver si desaparece. Si 15 funciona, flash 16 y prueba, luego 17.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mateobuteler:
Haha translation wasn't needed, also Google Translate "over-translates", if you know what i mean... However, how should i install 15? Just like any other ROM? I mean, wipe everything and then flash? Or should i flash another thing such as x86cpu.zip or something?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mateobuteler:
16 is working perfectly! :D:D:D Now, how do i switch to 17.1?

---------- Post added at 06:26 PM ---------- Previous post was at 06:15 PM ----------

Should i dirty flash 17.1 over 16?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Updated:

Merged with post 136.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mateobuteler:
Really? No wiping before flashing 17.1?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Thats correct, I've followed x86cpus instructions myself without error (only difference was i had magisk and gapps nano already installed in 15/16). ive updated the post above too, ensure you reread it again before proceeding.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mateobuteler:
It's working! Thank you so much!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
No worries, did you flash both magisk and gapps when you upgraded???
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mateobuteler:
Yup, they're both working correctly. I even pass SafetyNet! :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
See posts 136 and 138 to resolve any sensor, camera, nfc, flashlight issues.

---------- Post added at 11:46 PM ---------- Previous post was at 11:00 PM ----------

I pass safetynet too but the ctsprofile check fails.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mateobuteler:
On my case, ctsprofile returns true, i can install Netflix or whatever without issues. Seems like Magisk works on RS988 but it doesn't in your G5...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
If the ctsprofile returns false, apps like netflix will not show as they are listed as incompatible with your device, this is because the device is listed as uncertified in the playstore. Fixing this will result in certification and make these apps downloadable.

Installing and enabling the safetypatch module in magisk solved the ctsprofile returns false issue for me.

Interesting how you don't have to do this.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mateobuteler:
I can install Netflix and stuff
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Updated post

I wrote the reply for the benefit of others who have the same problem as me and search for a solution in the future.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mateobuteler:
Oh, ok.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Ismrocks1234:
when ir blaster will work in rs988????? or any way to use it temporarily....
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] interista4e:
Update: I've made a clean install, amazing rom, good battery , smooth, all the features tried are working. Only a problem. Android auto. The phone crash and have continuous reboots. Is working for u?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Anyone sometimes have freezing when waking at the lock screen and while in apps esp chrome???