yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Alyn2512:
Super , but don t want to start on my phone

I can t use it ,it say from start setup wizard keep stopping,any sugestions?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Thanks. I think I see. The firmware we have from themuppets is for 7.1, as firmware for 8.1 isn't out.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ken1337:
What gapps are you using? I just installed today with the nano package. I always whipe dalvic and cache after install in recovery, maby try that.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Alyn2512:
is not from gapps the problem , i install with and without but i get the same error and i can t do anything
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ken1337:
Just another screenshot, this is the first charging cycle after flash.

This was with 2:30h in call and 2hours in chrome + some other apps.

This is very nice to see :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SergiuStatache:
Everything Works

Hi everyone,

I flashed this 24 hours ago and I can tell that everything works ok, even the BT audio (tested on a bluetooth Samsung audio system). The camera is ok, but sometimes it crashes when I switch to he fron camera (really rare). What about the wide camera? It will work in the future? is there a possible way to add the G6 camera app on this rom?

Thanks!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I'm having a problem with charging. It will only charge if (hard) rebooted with the charging cable plugged in. Otherwise, when I plug in the cable, the lightening bolt shows up in the battery icon, but charging doesn't happen.

I've got ADB turned on and USB set to charging.

Any suggestions concerning this will be welcome.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SkippyDream:
I would like to ask everybody to please don't ask for something that is written in the first lines of the first post.

I'm not wasting my time anymore answering to that kind of questions.

[MENTION=4618911]rfrazier[/MENTION] As you can read in the OP you must enable USB debug before charging
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SkippyDream:
Sure. Wide camera support is inbound. ;)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Apologies, then. As I said in my post, I have ADB (Android Debugging Bridge) turned on, and I don't know of any other USB debugging.

Best wishes,

Boib
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] thewhisper:
The rom is GREAT! Love it, just miss the wide angle camera support. I tried the camera mods from other threads but none of them works. Hope you will be able to fix this soon. Any working wide angle camera apps out there ? Thank you for your hard work keeping our device alive!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SkippyDream:
I'm sorry.

I didn't give enough attention as I thought it was another post about a bug described in the OP (they are a lot).

In your case, something strange and singular happened, as nobody else is still reporting the charging bug.

Did you flash the latest (21/04) build, which fixes charging?

Did you perform a full wipe?

Let me know, please.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
No problem.

I suspect it is singular, and operator error on my part. I'm building the ROM locally, as I want to sign it with my own keys, and make a few changes, for example, using UnifiedNlp for location. I'm reasonably confident that none of my local changes are causing problems.

Upon reflection, I think I may be making some mistake in what I'm pulling in. So, I would be grateful if I could have a copy of your local_manifest(s) for this ROM, for example, roomservice.xml .

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] cla94:
I have iussue bluetooth with my zolo liberty plus!

the microphone volume is very low..

Same iussue of perozu..

Inviato dal mio LG-H850 utilizzando Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
I've searched for "substratum" and "theme" in this thread but no results - do themes work as expected in this rom or does it have those March security updates that prevent Substratum from applying themes without jumping through hoops?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] xlxcrossing:
Can this rom be rooted with supersu instead of magisk? I've tried to flash to no avail. I would like to use xposed and in the past they haven't been compatible.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I don't know about supersu, but there is a lineageos addonsu which can be flashed. Check the "extras" section of the download page.

As an aside, I tried to encrypt my phone with the current 15.1 for h850 (self build). I may not have given it long enough, but after two hours it said it was still encrypting, so I rebooted. This caused difficulties. I got into a TWRP loop. Even wiping data didn't help. (I had a nand backup, so only lost the "external data" on the internal data partition --- I save most important things on the SD card.) To fix this, I finally had to re-install the misc partition from the one I had available from fixing the wifi mac problem. Did I fail to give it enough time (two hours)?

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SkippyDream:
We have 5th April security patches :cool:

That sounds good while talking about security, but not for substratum support.

I'm trying to make this rom oms but it's not easy.

Yes, you should jump through hoops to get it working now (Andromeda).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
Thanks for the reply, but I guess I'll pass and stay on N - I have no intentions of rebooting (or hooking the phone up to a PC) every time I want to test a theme. :rolleyes:

I'll wait until Subs can be used the regular way - thanks for your efforts though :) :good:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Oevi:
loudness

First I have to thank you for this nice ROM, Battery really brought me through the day. And by the way it's the first time I use magisk and already love the hiding feature.

I noticed a little thing. The notification sound is really loud even set to the minimum above mute. Combining the loudness of notifications and ringtones doesn't effect this. So, is it just me?

Greatings from Germany,

Michael
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Yes, it is a pretty good ROM, at least as good as the 14.1 version. Better in many ways (livedisplay, darkmode, etc.) not quite in some ways *yet* (Trebuchet isn't as flexible, weather provider is dodgy). The best feature, I think, is that it is treble enabled. Given that it is, if it goes official, it looks as if it can be supported for quite some time. And, perhaps, the developers won't have nearly as much trouble changing to subsequent versions of Android.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Is it, really?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
It reports itself as enabled.

h850:/ $ getprop ro.treble.enabled
true
h850:/ $

(Or look near the bottom of build.prop.)

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Holy smokes, if that were true it'd be fantastic news!

Now that I think about it, this device has a /vendor partition, so it would theoretically be possible.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
It's there in the build prop but there's no true treble support (yet). This means nothing right now but hopefully someone can do something in the future about that. It requires work on both kernel, rom and twrp
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] YannikM:
The /vendor partition isn't a real partition. It is only a symlink to /system/vendor
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Dang it. That did sound too good to be true
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] AutinDroid:
There are solutions such as phhusson's no-vendor and repartitioning your phone in order to get treble, but I don't exactly know how.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SkippyDream:
New build is up :cool:

Download immediately
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kurotsukiii:
i tested the new build, black screen bug is still here. Other than that everything is great thanks :D
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SaidJan:
I'm confused, I wanna buy G5, but I don't know whether to buy H830 or H850, since H850 gets more Oreo updates and works smoother. There are more H830 options on ebay, and a little bit cheaper.

I had G3 with Android 8.1 with weekly updates and lots of features, but it doesn't turn on anymore.

Would you wanna work on H830, too?

I think yesterday they released Oreo for G6, hopefully G5 gets it, too.

I know Java and could add features or maybe fixing problems, but I don't know how to start. Haven't done it before.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] MoruS_PL:
Hello guys a just got this rom up and running and i am wondering if there was a way to flash lg g5 camera or the one from lg v30 port. BTW the rom runs fluent and reboots only on hot swap of usb transfer mode.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] y2knarayan:
Hi, I have an AT&T unlocked H820 model of G5. Will I be able to intall this custom rom on my phone?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] needlehole:
Had this rom since tommorrow and for now... My God, this is awesome! So smooth, clean and fast. Cant say anything about battery life, but for now, I didnt see any bugs. Is there any chance to port LG camera from V30 and put it here?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] drmilosh:
Any way to get rid of image retention? Color calibration or sth?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
Colour calibration will do it
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] _timtaler_:
Any other facing the WLAN Mac Adress Problem?

Cant change this, any Tips?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
https://xdaforums.com/lg-g5/how-to/guide-fix-wifi-mac-address-changing-t3533841 has an easy and a harder way to change it. I used the easy way almost 2 years ago and haven't had any issues ;)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] markyc25:
Great ROM but how do you stop the NFC wakelock its keeping my phone awake 100% it never sleeps . any advice please
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] AutinDroid:
I'd use some sort of root app uninstaller to get rid of NFC services.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] markyc25:
I tried removing the NFC apps doing it but the phone reboots into the OS then say restarting and there's no way to stop it unless I reinstall the ROM. It Just keeps restarting then gets stuck in twrp.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Jolt151:
If your search the official lineage or Resurrection remix threads, there's a magisk module to disable nfc.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] markyc25:
I've heard of this module but can't seem to find it
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Jolt151:
found it

https://xdaforums.com/lg-g5/development/unofficial-cyanogenmod-14-1-lg-g5-h850-t3494001/post74031645
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] markyc25:
Thank you sir. Edit I've tried the module but its not made any difference I think its because on 15.1 the NFC is located in a different place to 14.1..
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] cyrok:
Sadly blackscreen bug when activating Form sleep.

I tried with other lockscreens, but every time the same.

Some workaround out there?

And thanks for the great work ^^
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Try my removal patch on p310 of the official 14.1 thread. If it is in different locations as you say it won't work but give it a go anyway. If it works simply run the patch after every flashing of the rom o). Let me know either way.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] markyc25:
I've tried the magisk module and the patch to no joy. I've tried freezing the NFC app and services to no joy and I've tried to delete the NFC app with root explorer which causes the phone to say its shutting down and after every reboot it says shutting down until I put the file back.. Can't seem to get rid of the wakelock
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
And the patch that I mentioned??? Backup system first
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] markyc25:
The patch didn't work..

If the NFC app gets removed then the phone says shutting down and when you try to boot it .. It will boot up and then say shutting down
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Expect a new zip this week sometime, and don't delete the file it may corrupt the misc partition and trash your ROM, ensure you have a full backup Inc misc partition o)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
I don't know whether it is useful, but to get rid of NFC I comment out the relevant section in /device/lge/msm8996-common in the source before building as follows.

# NFC
# PRODUCT_PACKAGES += \
com.android.nfc_extras \
com.nxp.nfc.nq \
libnqnfc-nci \
libp61-jcop-kit \
nfc_nci.nqx.default \
NQNfcNci \
nqnfcee_access.xml \
nqnfcse_access.xml \
Tag

# PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/libnfc-brcm.conf:system/etc/libnfc-brcm.conf \
$(LOCAL_PATH)/configs/libnfc-nxp.conf:system/etc/libnfc-nxp.conf

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Try this patch and let me know either way if it works o) You need to flash/auto flash this after every flashing of the rom. I'm sure they will update the magisk component at some point too.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] markyc25:
Works perfect thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hassaan Masroor:
Has the charging issue resolved?

Does the phone charge while it's switched on?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hassaan Masroor:
Superb ROM. Working perfectly fine for the last 5hrs.

Can't comment on battery life as it'd be too early.

1) I can't seem to find wide angle lens while switching from front to back cam.

2) How to root this ROM with SuperSU? I tried flashing the beta as well as stable zip, but both fail in the end.

3) How can I get Viper4Android FX for it?

4) Is there any Xposed framework for Oreo yet?

Thanks.

Did a lil homework, and found the solution to Viper4Android

Here: https://xdaforums.com/android/software/sound-mod-viper

All the credit to respected owners.

Hit thanks if it works out for you! ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NickTheSickDick:
Why do you still use supersu
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
Why new camera app from Lineage 15.1 is not included?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hassaan Masroor:
I feel like it's way more stable than Magisk.

Magisk seems to be very 'young' and doesn't support every device, and the SafetyNet check also fails every single time for me, except in this ROM.

But yeah I trust supersu way more than Magisk.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SkippyDream:
Because org.lineageos.snap is working :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] giaur:
Did you try new app?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vladosyar:
when you turn on the functions of removing the bottom panel and the top bar, lags appear when the phone is unlocked
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Will we see any of this on the h830? looks like the op has bailed out.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] suenky91:
The only issue for me in this rom is the wide camera that is not working, Will be fixed?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] M. .:
can h830 use this ROM?:confused:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ben569:
Thanks for the ROM.

But I have encountered the following issues:

Enabling USB debugging the first time causes a reboot. (Now I can connect my phone to my computer without a reboot).

The notification to allow my phone to connect to my computer does not show up when I attempt something like (on Linux)

sudo adb shell

EDIT: The only output I get is

error: insufficient permissions for device
See [http://developer.android.com/tools/device.html] for more information

So I currently have no way to transfer files to my phone via USB...

The only front camera available (the "narrow-angle" one) does not focus. EDIT: Now it randomly wants to... Definitely does not on first boot.

I have not found a way to connect to any Wi-Fi network. I've tried open, WPA+PSK and PEAP (in a business network) networks, nothing works here.

The headphone jack has some intermittent hissing noises.

I have a regular h850 that works with 7.1 ROMs just fine.

I have an Arch Linux computer with an i7, 16GB of RAM and an SSD. In case you need to have some compilation done...

I can (try to) provide you with logs if you like (you just have to tell me how to).

Thanks for your work in keeping the G5 alive! :victory:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
You can transfer files via USB by entering twrp/ recovery o) hope this helps as a temp workaround. You can also use terminal in twrp for adb and shouldn't have any problems running adb command from your computer in twrp.

Isn't it su enter and then adb shell ???
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ben569:
Yeah I agree I could use TWRP for USB tranfers.

On Linux, it preferred to use sudo instead of su for security reasons. Not because su is insecure by itself but rather because sudo has a timeout. Some references: https://wiki.archlinux.org/index.php/Sudo
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
I don't have Linux but you could install sudo4droid via magisk and run sudo from terminal, as it isn't installed, at least in the h830 o)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ben569:
Alright, but my main problem is the broken Wi-Fi. If there isn't a fix rather rapidly, I'll have to switch ROMs.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
WIFI works fine here. One thing you might try is clearing all caches.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
As it's only yourself having this problem, maybe you should backup your rom and then clean flash the rom again to see if the problem still exists. If WiFi is working and is only dropping sometimes try disabling 5ghz on your router o)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Jolt151:
wifi is probably the mac address problem. You could either try spoofing it with an app or search the threads for the solution
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ben569:
Wi-Fi has never worked on this clean install (system, data, cache, dalvik cache and internal storage wiped) of this ROM.

Interestingly, my Mac address is 00:00:00:00:00:00.

I have reformatted the cache and dalvik/art cache partitions in TWRP and reinitialised the network settings without success.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Definitely the weird wifi problem. I followed the directions in an earlier link and edited the misc partition image. I think that there was also a simplier, but less robust method for fixing it.

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Looks like youve corrupted your misc partition at some point and not recovered it correctly.

Next time try running this

dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc

if after having completed this you have google services errors your going to have to go back to stock and back to los again.

Anyhow firstly if you dont have the box with the mac address on, try getting your mac address first.

dmesg | grep -i bcm_wifi_get_mac_addr

youll have to manually restore it this way

https://xdaforums.com/lg-g5/how-to/guide-fix-wifi-mac-address-changing-t3533841

Once you've fixed all this use an app (play store) to back up the misc partition along with your modem/ efs partition. At least next time you can try flashing the misc partition back.

Also check Bluetooth it working fine.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ben569:
Okay, so I followed that guide.

It corrupted my misc partition (possibly more).

I'm looking at re-flashing with LG UP but even in download mode it gets into a bootloop claiming that the device is corrupt after ~30s...

Guess it didn't like my hex editing...

---------- Post added at 02:27 AM ---------- Previous post was at 02:23 AM ----------

I can't flash my phone with LG UP. What can I do?

---------- Post added at 02:46 AM ---------- Previous post was at 02:27 AM ----------

When I'm in download mode, I'm kicked out.

When I boot into recovery with the hotkey, I end up on the corrupt screen.

When I try to flash twrp onto the recovery partition, I get :

target reported max download size of 536870912 bytes
sending 'recovery' (19132 KB)...
OKAY [ 0.511s]
writing 'recovery'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 0.530s

Including when I try to flash unlock.bin onto the unlock partition...

I've also tried to flash boot.img (from the 20V ROM) onto boot to no avail.

I'm locked, apparently. Any ideas?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Is this the situation?

- You can't boot to system.

- You can't boot to recovery.

- You can't boot to download.

- You can't flash via adb.

- You can't flash via LGUP.

If so, I would work to get it back in a known good state. My guess is that the most likely way to do this is with LG's tools and a stock kernel. So, I would look around for instructions recovering from a bricked phone using LGUP. It may be that setting up LGUP again, with proper drivers, etc., will help.

Best wishes and good luck,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
You've corrupted the misc partition, you need go back to stock. As soon as you enter download mode, hit the button on the lgup software, it will start to update but not complete, reboot back into download mode and repeat, eventually it will stop leaving download mode and complete the restore of stock. Remember to flash the clean install of stock, I think it's upgrade not refurbish o). Once your back in stock, if necessary repair and then backup your misc partition before returning to los. Let us know if this helps.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] f4n471c:
How do you do the calibration? Can you advise which values to use?

Tried kernel adiutor but it does not show an option for editing the screen values.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
Needs to be implemented into the kernel. Suggestion is to wait for stable Oreo then custom kernels will come
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] xlxcrossing:
Why and how can't/can Supersu be installed to root this system and why can't it come pre-rooted? Why isn't the PC connectivity issue in the to do list?

Thank you for your support.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Jolt151:
install magisk instead of supersu
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] f4n471c:
After testing the ROM for 2 Days I reverted back to Fulmics. These were my issues:

- USB debugging can't be enabled. Phone crashes and reboots if tried. However the charging works with debugging disabled anyway.

- Screen is somewhat dark. Especially when doing the first setup it is very dark and can't be turned up until the setup is done.

- The worst topic is the battery live. For me it is worse than Fulmics or Stock. And fulmics is already not the best. Can't really understand the people who say that the power consumtion should be lower than stock....