yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] orclex:
Please help!

I installed latest weekly 170502 and now I'm stuck in a lineage boot loop (lineage boot animation). After I tried restoring my full backup with TWRP (all partitions), it is booting again to lineage login screen but it does not accept my PIN. After doing a factory reset I'm again stuck in the linage boot loop.

What can I do?

Thanks in advance!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
After you restore your TWRP backup you need to delete the locksettings.db file. After restore, go to main menu, then advanced --> File manager. Go into data --> system --> locksettings.db and delete that file and then reboot. In the future it's best to do your backup after disabling lock screen security in the rom.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] orclex:
How can I unroot?

I downloaded the extra addons from lineageos.org addonsu-arm64-signed.zip and addonsu-remove-arm64-signed.zip. Installing the first I gained root permissions. After installing the second one to remove su it didn't change anything. The installation succeded without errors but after logging in with adb I'm still root:

$ adb shell
~ # whoami
root

After rebooting my device into lineageos I cannot login by adb into it:

$ adb devices
List of devices attached
???????????? no permissions

$ adb shell
error: insufficient permissions for device

What's wrong?

OS: lineage-14.1-20170502-nightly-h850-signed
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] obol2:
If normal methods doesn'T work then reinstall rom + supersu/magisk?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] orclex:
Reinstalling latest ROM fixed it for lineageOS. Thanks!

$ adb devices
List of devices attached
LGH8504c155d76 device

$ adb shell
h850:/ $ whoami
shell

But in TWRP using adb I'm still root?!

adb shell
~ # whoami
root

So is my device still rooted?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gismo2004:
If you would not have "root" in twrp how should it install something on system?

And in LineageOS you always can deactivate it in dev options... (that's where you have enabled adb and root access)

Cheers
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] orclex:
Of course! :eek:

thanks!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] simpz:
Using the latest Weekly build the H850 still has terrible Bluetooth quality on phone calls (handsfree). Unusably bad,(seems poor inbound but unusable outbound).

Anything we can do to help find the issue?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bonotheedge:
I also have that issue.

Edit: I found the following article that helped to resolve this issue:

https://droidsay.com/supersu-break-all-sensor/
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Chiko-HH:
Same here
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bonotheedge:
I am having the same issue. Couldn't find a solution yet. Anybody has an idea?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] matthaab2:
Encryption still not working?!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] obol2:
No
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Haphim:
I saw it very briefly touched upon earlier in this thread, but is support for the RS988 anticipated?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] obol2:
Fortunately yes. But now only H850/83
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
That's not 100% true. Currently it's only h830 / h850, but [MENTION=7348083]King_lilrowrow[/MENTION] did say he would try and bring the RS988 and H840 up on LOS when he gets a chance in the future but his main focus currently is the G6. So it probably will happen in the future, but RS988 / H840 owners just have to be patient.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ContextM:
On this rom, the lineage os camera works but there is no 4k recording, open camera can't save any video, only photos. Tried the mx camera and it does the same, it can't save the videos. That's on the 1080p recording and the 4k recording too. Does anyone know why the open camera can't save the videos and others? It seems like this phone has too many problems for some reason
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] LittlePlumb:
On newest patch. Open camera saves videos for me, regardless of resolution. Saving to external SD. H850, not sure which device you're on...

I flashed aroma gapps though and removed los stock camera. (Essentially on first boot i didn't have a cam app)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] andrerodr:
Try to reset your opencamera definitions it should be good then.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I had the same problem with open camera. As suggested, I reset the defaults in open camera. That seemed not to work. I then also cleared data and cache in settings, and did a full reboot. That did work. (It may be that a full reboot after resetting defaults in open camera would have made it work.)

After I found that saving video worked, I changed to the Camera2 API and external storage using Storage Access Framework in open camera's settings. It continued to work.

I only recently got the phone, and simply transferred apps from the old to the new using Titanium Backup, and I probably had some incompatible stuff in the app's data (the phone from which it came was rather old, a Samsung Note 2).

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Csetoue:
Does this ROM works with the modules (Cam Plus and B&O)?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I've been trying to get it to work with slimport without much success. When I can get the display (sort of) working, the phone interface freezes, and eventually, it reboots.

It's difficult to tell whether it is the ROM, cable, monitor or, simply, operator error. I'm going to keep experimenting, as I don't have (and don't want) a laptop. So, if I can get it working well enough to have a terminal on a portable monitor, with one of those linux on adroid installations running, allowing me to use vim and latex, I would be a happy camper.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] 4r44444:
Flashed the ROM, after restart from Recovery it's stuck at Lineage OS Boot Animation :/ Wat do?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I had trouble booting after updating the ROM, and wiping cache/dalvik cache from recovery sorted it.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] antpalfer:
How can i solve this ? No imagen in apps..

Enviado desde mi LG-H850 mediante Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] obol2:
try clearing app cache
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] OldHemp:
Has anyone had success getting it going on the H830? Tried once but got stuck in boot loop and went back to stock rooted 10D. Should I be flashing from a different OS?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] andrerodr:
My b&o it's on the phone for like 3 weeks or a month, sometimes it reboots when I plug the charger but the sound seems to work properly.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] erikneitor:
I flashed rom yesterday and NFC don't work. And I can't record with camera, with any resolution, the video don't save in memory.

Enviado desde mi LG-H850 mediante Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] LittlePlumb:
I use open camera, I did however have to change something in the options, about how they are saved. (not the location, but the something "5" xD)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] fede_rico:
same problem here :crying:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] LittlePlumb:
Go to:

More camera controls

Then turn on:

Use Storage Access Frameworks

That worked for me.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] fede_rico:
oh,:laugh::laugh::laugh::laugh: love you man
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] maxniper:
Does the rom has FM radio in it?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] godhand96:
I have battery problem..in standby it go under 50% in 6h..all by system android:crying::crying:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
No FM radio didn't work on Los based ROMs for the G6.

Download better battery stats XDA app (search XDA for it) and see what wakelocks are killing your battery. Make sure NFC is disabled too, it doesn't work and creates wakelocks. Use greenify to kill background apps as well.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] PhrostB:
Same here.. no NFC, no video, no longer passing safetynet (i was before), also OK google detection doesn't work (although this is most likely an opengapps issue)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] fede_rico:
i have battery problems..in standby in 12h it goes 0%...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
You should probably search XDA for better battery stats app and install it to see what's draining the battery. You also may want to try an earlier release of LOS. From what I can tell any LOS based rom recently updated (last week or two) is not allowing the phone to deep sleep when in standby, therefore draining battery very quickly. Using the older versions of LOS or LOS based ROMs fix this as they let the phone sleep without issues. When I checked there was a powermanagementhal and bluesleep wakelocks keeping phone up and it was same on latest LOS & RR.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] King_lilrowrow:
Isn't android 7.1 enough? Haha ;P
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] sjcali566:
Hahaha, you're right. No more complaining from me. :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
Watching the election in the UK, just to pass the time to get the updated rom :)

Just had my tonsils out @22 :crying: need something to cheer me up
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] drinfernoo:
Is Quick Charge 3.0 working on H830? What about dual rear cameras? Which things are still broken here, now that RIL is fixed?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
Check out post 4 has a change log i can see H850 had updated not sure H530 has. Still waiting for RIl to work 100% with Kings new build which drsn0w will then implement to H830 i believe. Look @ post 1 that shows whats not working.

All this information is easy to find on this fourm

King feel free to correct me if im wrong
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ted presley:
Is the latest update has been uploaded? I can't find download link for build 20161109.

I have tested the previous 20161107 build, android 7 is really quick and I love that.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
I hasn't been uploaded just yet, i beilive there was a small issue he was taking care of before uploading it.

I think his is the UK and its 3:20am here now so i wouldn't expect anything tonight !
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] KillerofJoy:
Hotspot and stuff should be fixed .. Offcial nighties should be coming very soon the repo was just updated..
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
Battery isn't that great. During night i lost about 35% and I have really few apps at the moment (basically just pico-gapps + chrome, gmail and xda labs) :(

With stock (well it actually was genesys' rom) phone stayed in deep sleep almost all the time and during night I virtually didnt lose anything at all.

Also interstingly XDA is at 25% in process

Just wondering why deep sleep isnt there at all :confused:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gwolfu:
what kernel wakelocks you got?

also alarms!?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] DoubleJOption:
brightness bar doesn't work properly :(
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] King_lilrowrow:
New 20161109 build is up for H850!

Download here: BasketBuild

This should have been up last night but it was already over 3am, I have college today so had to sleep :)

Enjoy, guys!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
The fact is that I flashed this yesterday evening and so I dont have any info at all. Look at it yourself :P

Imgs are in Italian but it tells that for what concerns alarms there is not enough info, while for kernels it tells that "the file can't be read".

Weird :eek:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Joe199799:
I have the 830 model so idk of its going to make a difference but I downloaded greenify gave it root permissions put on aggressive dose and whitelisted a few of my social apps and lost 0% of battery in 7 hours while on standby I highly recommend it
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ted presley:
In the latest build data connection is still unreliable, It's continuously on and off...

However, the weird error of formating micro SD card is gone, now I could use the removable SD card.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Lukijs:
Same about data. Did you clean flash? Maybe we should have clean flashed
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
I did a clean flash and unfortunately data is still on and off every few seconds, making it unusable :confused:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ted presley:
Did both way, dirty and clean, same result.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] xlxcrossing:
+1 you gotta reign in the wakelocks after a fresh install. [MENTION=7558131]Placobravo[/MENTION] Your phone is staying awake while the screen is off so it's not in deep sleep like it should be.

---------- Post added at 03:15 AM ---------- Previous post was at 03:12 AM ----------

Can anyone confirm reboot issue as fixed?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] A Christian Guy:
Any news for h830 build thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] LittlePlumb:
So, is it safe to assume that BT will never work 100% and NFC just simply will never work?

With all the new devices coming out I have the feeling this forum will be rather empty soon. :(
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gismo2004:
Wtf are you guys doing?!

~2hrs sot
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] andrerodr:
Last 4 or 5 updates were dirty
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] obol2:
Latest lineage, RR and other los based rom has the wakelock bugs... Phone never go to sleep
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gismo2004:
Oh really? I'm on latest source?!

What is causing your wake lock?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] obol2:
This
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gismo2004:
Are you using stock kernel?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] obol2:
No but i tested it with custom kernel and without. Same result
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
That wakelock is on stock kernel and my kernel. I've tried both and it is affecting all latest Los based ROMs on h830.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] LittlePlumb:
Last build i tested was 18/05 (or was it 16 :D)

Anyways I flashed 22.04 first and then dirty flashed on top. Didn't have these extreme battery issues.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
I think it's only affecting the ROM if it's a clean flash somehow. I saw another post on DU saying they dirty flashed the update and didn't have the wakelock but when others clean flashed it had the wakelocks. Doesn't really make sense but oh well, might try dirty flashing (even though I hate doing it) and see what happens :)

Edit: tried dirty flashing at least with RR (latest version over version without the wakelocks) and still had issues with the wakelocks. I'll try on los and du but not sure if results will be different. Not sure what's causing the wakelocks either so can't really disable whatever it is :(

Edit 2: Wakelock is being caused by NFC and option in settings menu is greyed out so can't turn it off normally. Just add NFC to quick settings and use that title to turn it off and wakelock is gone and phone sleeps just fine.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] simpz:
That's depressing if true, maybe the original developer can comment? I know you'll likely be very busy, but it would be nice to know things will still get fixed.

I donated as a thank you and in the hope that the Bluetooth and device encryption would get fixed (my two main wants).

I'll donate again if they get fixed as my device will be complete from my point of view.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gismo2004:
If you are not donating to Rashed, you will not get anything fixed... ;)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] simpz:
I donated to King_lilrowrow, didn't see a way to donate to Rashed.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gismo2004:
Yeah that's what a lot of us have done, but the one who is really developing stuff is Rashed. Just building a rom does nothing to improve things...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bonotheedge:
I tried what you suggested to do in "Edit 2". you said to add NFC to the quick tiles and then toggle the NFC off with that tile. So, I did that, but unfortunately it didn't work in my case and the NFC is still on, and greyed out. I don't know if I did something wrong.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gismo2004:
I'm on h850 and for me nfc is working without problems... No wakelock and reading tags... (clean install)

What am I doing differently?!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
Sometimes you have to press let it sit and try again. On RR I had to click it a few times for it to go off finally. If it still doesn't work, may just have to wait until the issue forcing NFC on and not allowing us to disable is fixed. You could also uninstall NFC if that still doesn't work.

---------- Post added at 08:35 PM ---------- Previous post was at 08:33 PM ----------

Not sure about h850 but on h830 it's causing wakelocks (usually 100%) and doesn't allow to be turned on or off (it's greyed out in the on position).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tusker:
What exact H850 do you have ? Which exact ROM build are you using ? Maybe the chipset of the NFC on your phone is slightly different ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gismo2004:
No idea how to find out the exact phone version...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tusker:
If you edit the /etc/libnfc-nxp.conf, change the LOGLEVEL to 0x03, stop and start NFC while capturing logcat, you can see the model of the NFC chipset. My guess is that yours somehow has the PN66T rather than the PN548C2.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mirketto89rm:
Hello guys . I have tried repeatedly to install rom aosp (lineage - rr - mokee) but after about a minute from the start the phone crashes and I am forced to take the battery. I did all the necessary wipes. I tried without the gapps but the result is the same. I have a h850 . Sorry for my bad English
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
When I was on crDroid I had the same problem, but since I don't use NFC at all I simply froze it with Titanium Backup. Maybe try that if you don't need to use NFC :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] simpz:
Does Rashed have a way to take donations? And does he monitor this thread at all?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bonotheedge:
I tried also freezing NFC with Titanium backup but unfortunately it didn't stop the wakelock that is coming from the NFC service.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
If freezing it doesn't stop the wakelock and the solution I posted earlier doesn't work either, you'll probably need to actually uninstall NFC using titanium backup or another app.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bonotheedge:
Titanium backup could not uninstall the NFC, see attached photo.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] antpalfer:
I uninstall NFC services with link2sd apk

Enviado desde mi LG-H850 mediante Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
Weird, I wonder why it worked on crDroid :confused:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
It was same issue on RR. Freezing it didn't stop wakelock. It's just like on some of the ROMs.adding the NFC tile to quick settings and disabling from there works and on others it isn't, even though they are all Los based.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
I guess having the same solutions work on every rom would just be too easy :rolleyes: :laugh:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] PhrostB:
I have the same issue. NFC completely broken on h830
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] obol2:
I deleted the app because it cause so much problems lol
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] PhrostB:
how do you delete it? Titanium? is there someone I can pay to fix it? you guys mentioned Rashed, is he still working on LOS? it's been broken for me for about a month now
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] obol2:
Install link2sd, search for NFC , click delete and reboot.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] fede_rico:
and it fix the wakelock?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bonotheedge:
I tried that and as of now it looks like the wakelock stopped. I will keep test it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] AriesTruong:
Please support edition RS988
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] fede_rico:
yeah it s working for me too :D:D:D
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Looking at the changelog site, it looks like they've been working on NFC.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rd-Target:
https://www.lineageoslog.com/14.1/h850 -> "The selected device is not currently supported in LineageOS 14.1" the same goes for H830...

Does anyone know whats going on? The description says "Disable devices with incomplete wiki instructions", but I'm still none the wiser...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] DenyDarko:
https://review.lineageos.org/#/c/175753/

lol
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] simpz:
I was looking around about Bluetooth sound issues problems. I don't suppose the issue is wider that the H850 BT?

This post sounds a bit similar (I certainly am on 3G):

https://xdaforums.com/showpost.php?p=69785791&postcount=470

Not sure if this has ever been fixed on more recent version. So I looked to see how I can turn off the WB-AMR codec. This post says:

https://xdaforums.com/showpost.php?p=34800711&postcount=2

But I can't find this file on LineageOS 14.1. Has it moved in a newer LineageOS?

And for that matter how do you check wb-amr status?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] javlada:
Hi, I have a strange problem with WiFi hotspot and bluetooth. I have an Android car DVD which automatically pairs with my phone. Then I use Tasker to detect this and automatically switch on WiFi hotspot to allow my car radio to connect to internet via my phone.

But since i switched to LineageOS. two strange problems appeared. The car is not able to connect to the WiFi hotspot. I have to switch it off and on manually and then it works. Of course this makes Tasker useless and completely breaks this automation.

The other strange thing is that sometimes bluetooth remains connected even if I switch off my car and I'm hundreds meters away from it.

This never happened with any other phone (even with LineageOS) or with this phone and stock ROM. Do you have any idea what might be wrong or what should I try?