yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] vsTerminus:
So I installed this on my phone. Installation itself went well - I wiped everything and formatted data, then flashed LOS, GApps, and Magisk.

Some issues I've run into so far:

1. Cannot connect to my 5GHz AC WiFi. (The 2GHz Wireless-N network connects fine - Edit: Seems to be AC-Only mode that is the problem. If I set it to AC/N Mix or N-Only it connects fine.)

06-21 01:57:45.295 5273 5273 I wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=b0:7f:b9:9c:90:48 status_code=18
06-21 01:57:45.296 5273 5273 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="My WiFi SSID"
auth_failures=1 duration=10 reason=CONN_FAILED
06-21 01:57:45.425 990 7124 I WifiService: getWifiEnabledState uid=1000
06-21 01:57:45.434 990 5121 I WifiService: getConfiguredNetworks uid=1000
06-21 01:57:45.452 990 2081 D WifiStateMachine: Assocation Rejection event: bssid=b0:7f:b9:9c:90:48 reason code=18 ti
medOut=false

This worked fine in AOSCP Nougat. It's still possible this is just a problem on my end - I will keep messing with it.

2. GCams so far all seem to crash immediately once I've granted permissions. (Tried GCMod5, Pixel2Mod, and Snapdragon Camera)

3a. Video recording with the included camera does work, but framerate is pretty poor at 1080p. It's better at 720p, but not perfect.

3b. OpenCamera cannot record if I enable Camera2 API still, and seems to perform about as well as the included camera if I disable it.

3c. Cinema FV-5 does nothing when I tap the Record button, even with Compatibility mode enabled

It's an improvement that the included camera app can record video, but a step backwards that GCams all seem to crash immediately now. They were never all that stable in Nougat, but better than this.

4. HD video playback still has issues. I've tried this in YouTube and Twitch so far.

- 480p or below works fine

- 720p (30fps) seems to work ok

- 1080p (30fps) stutters a little bit but overall seems to be ok too now

- 1440p (30fps) stutters a lot, slow playback rate.

- 720p (60fps) video plays then freezes, then plays, then freezes, repeat

- 1080p (60fps) video freezes and largely does not play at all.

Audio is always fine, it's just video that has issues.

Video Playback's not perfect yet, but it's an improvement over my experience on AOSCP Nougat :)

I have yet to attempt any calling, bluetooth, or GPS. I'll update this post as I do more things. I have not installed Greenify or Amplify yet - I want to see how battery life is without anything like that initially.

Otherwise so far so good. Thank you to everyone for your efforts on this! I never imagined my G4 would ever go beyond rooted LP or unrooted MM, much less be on LOS Oreo. Please let me know if there is anything in particular I can provide to help troubleshoot.

Update 1:

- No ability to edit my APNs. The default ones from my SIM were detected and work, but I don't have the option to add new ones.
[G4 Android Development] steadfasterX:
doing a crash log may help:

adb shell
su
logcat -b all -c (will clear the log)
[I]now: let cam crash[/I]
logcat -d -b all > /cache/camcrash.txt
adb pull /cache/camcrash.txt

paste that camcrash.txt to http://bpaste.net

consider to do the same for your WiFi issue..

,
[G4 Android Development] bdasmith:
Strange! No issues with any of those things you described on my h812!
[G4 Android Development] steadfasterX:
whats your bootloader firmware version and first 3 digits of your device serial [MENTION=4302074]bdasmith[/MENTION] and [MENTION=4256326]vsTerminus[/MENTION] ?

device serial:

the sticker behind the battery

bootloader stack firmware:

easiest is to grab it from your SALT backup before UsU has been flashed. described here: https://xdaforums.com/showpost.php?p=76861239&postcount=1122

only valid if you havent upgraded/downgraded the bootloader stack after the SALT backup ofc..

.
[G4 Android Development] vsTerminus:
Device Serial: 709

Bootloader stack: Rogers V20x (MM)

~/salt_backup % strings misc.bin | grep LG
LGH812AT-01-V20x-302-720-JUL-12-2016+0
LGH812AT
LGH812AT-00-V20x-RGS-CA-JUL-12-2016+0
LG-H812

Also, I sent you a PM with the logs you requested.
[G4 Android Development] sdembiske:
[MENTION=4256326]vsTerminus[/MENTION]; [MENTION=4302074]bdasmith[/MENTION]; [MENTION=5545101]steadfasterX[/MENTION]:

I was on the V20X from Fido/Rogers as well but ...

- Have had no issues at all connecting to 5.0 GHz. WIFI

- Video recording in 1080p with the stock camera app does not seem to present any issues for me on my phone and the recorded videos play well.

- Cinema FV5 video recording is still working extremely well for me with legacy camera driver and the recorded videos play very well.

- I too have experienced problems with all but one of many modded Google cam apps I have tested - camera either closes immediately after allowing permissions or if loads presents a black screen, crashes on video app switch etc. I have put this down at least partially that a lot of these mods are prepared on or for different phones and may be using the blobs from their originally stalled camera apps.

- 1080p and UHD 4K videos are playing very well in YouTube on my phone.

Note

:

Experiencing

as of the June 19th H812 build,

much better sim card recognition now

- as good as I had on AOSCP N it seems - not getting anywhere so far the failure to load or the complete drop-offs I was experiencing on the previous H811 build I had installed.

S.
[G4 Android Development] vsTerminus:
What is the Wireless Network Mode set to? Mine will connect if I set it to "N-Only" or "AC/N-Mixed", but it will not connect if I set it to "AC-Only".

Do me a favor and try setting it to AC-Only and try again?

Cinema FV-5 is working for me now, but it performs about as well as the included camera app does.

Put the camera on Video mode but don't start recording. Pan across the room, reasonably quickly. Pay attention to how smooth it looks.

Now hit record and do exactly the same thing. Is it just as smooth? Mine is not. It gets choppy while recording, but is nice and smooth once I stop.

The only thing is, I know some of these camera mods worked on AOSCP Nougat. They weren't the most stable apps in the world, but at least I could load them up and take a few pictures. Now I can't get the apps to even open.

What about a 1080p 60fps video? Mine seems to work fine up to 1080p as long as it's only a 30fps video.

If you need help finding something in 1080p60, try this: https://www.youtube.com/watch?v=4KNwl8nvMvQ

In the YouTube app if you tap the screen while the video is playing you'll get the 3-dot menu button at the top right corner. From there you can go to Quality and choose "1080p60". Skip ahead in the video to force it to switch quality levels, and let me know how your video plays then.

I don't doubt you, I just want to make sure we're trying the same things here. Thanks!
[G4 Android Development] sdembiske:
Set to A-Only - don't have AC. Problem may reside with C perhaps.

Panning is what I always test. I test with a relatively slower pan ... perhaps that is your issue.

Most of the one's I tested were on ASOCP N, same issues - tested three so far on O and all closed immediately after allowing permissions.

Here's the thing ... I had problems with your recording in 1080p 60fps. I tried another one Battlefield 1 PS4 Gameplay (1080p 60fps) and guess what, played flawlessly - confirmed it was playing in 1080p 60fps. As I have stated to you before, I believe it depends in large part on the quality of the uploaded video recording ...
[G4 Android Development] vsTerminus:
We'll need someone else who can test with a 5GHz Wireless-AC network then to confirm. Thanks for trying.

You would notice it more when panning a bit faster. I'm not saying shake the phone around violently or anything, but mine is visibly choppy even with slow panning.

Could you send me the link? I'd like to try the same video you did.
[G4 Android Development] sdembiske:
I do not get choppiness with slow panning on mine.

Link: https://www.youtube.com/watch?v=xCJsrd983To

Most issues I believe may be related to buffering problems with longer playing videos. I don't have issues with shorter plays but they seem to arise with longer plays from the number I have tested now.
[G4 Android Development] steadfasterX:
Ok I guess [MENTION=4302074]bdasmith[/MENTION] you have a serial lower then 700 ?

I see problems always on 7xx devices and not on 6xx and 5xx devices.

We already saw that LG changed something in newer product lines due to issues with the camera ( aoscp thread a while ago) so I guess that makes the difference..
[G4 Android Development] bdasmith:
Hey there...just got home from work. After dinner i will take a look at that for you!
[G4 Android Development] bdasmith:
Well....i opened her up my serial number is 708...etc

Not sure if that helps or not lol.

Is there a way to get bootloader version read from an app of some sort?

From now on i jave to be very vwry careful with what i do. The drive i had my salt backup on died and is unrecoverable! Yikes
[G4 Android Development] bdasmith:
Yes...i noticed lag on some videos when played in 1080p 60fps

And some others played just fine. It did seem to be shorter ones that played okay for me as well.

Edit: i take that back. All 1080p 60fps lag and audio out of sync. Sorry [MENTION=4256326]vsTerminus[/MENTION]

---------- Post added at 10:40 PM ---------- Previous post was at 10:35 PM ----------

Confirmed....no option to create new vpn.
[G4 Android Development] mark324:
I was about to try it, but I can't take the SIM out without taking the battery out. thanks anyways
[G4 Android Development] mark324:
In TWRP backups,which one is the modem, is it the EFS? CARRIER?
[G4 Android Development] steadfasterX:
Define what you mean by modem. It's often enough misleading what people expect modem is but I guess that you mean the modem partition which is named Firmware in TWRP.
[G4 Android Development] mark324:
I want to reflash my stock MM modem, I tried to flash the MM zip from here but I still can't get MMS to work, My data and sms works fine but MMS send/receive don't work, and editing APN is locked and can't edit it myself.
[G4 Android Development] sdembiske:
Make sure you have Mobile data enabled in settings.

Assume you carrier unlocked before you UsU unlocked your phone and were on MM when you UsU unlocked? If not, get the unlock code from your carrier (free as of Dec. '17).

To flash your MM modem you will need the modem.bin file from the SALT backup of the MM kdz you had installed when you UsU unlocked or the modem.image file from a SALT extraction of the MM kdz. Flash the file in fastboot mode.
[G4 Android Development] mark324:
I installed AOSCP CYPHEROS Oreo, and it's working fine,I haven't had to flash any modem, I'm not sure why it doesn't work on LineageOs, the only difference I see on AOSCP is in the APN settings ,the "APN TYPE" has more types listed ,default,mms,supl,agps,fota, and hipri. on LineageOs there was only the first three.
[G4 Android Development] Ceezar:
is there a way to keep big cores off on this rom?
[G4 Android Development] steadfasterX:
Sure.

https://xdaforums.com/g4/general/guide-create-custom-x-cores-boot-image-t3718389
[G4 Android Development] synistron:
My camera's working fine, but the flashlight isn't (I do have flash when I take pictures). I tried some third party flashlight apps and they don't work either, I get messages saying that the camera is not accessible or busy....
[G4 Android Development] grantdb:
Same issues/possible bugs as unmodified ROM here:

https://xdaforums.com/g4/development/lineageos-15-1-lg-g4-t3782722

Cheers!

Edit: also [MENTION=6302635]sdembiske[/MENTION] has mentioned over and over the camera apps that work well.
[G4 Android Development] synistron:
Great, thanks. For now I have found a lazy workaround using this: https://play.google.com/store/apps/details?id=io.github.berkantkz.kztorch
[G4 Android Development] m13b:
So if I accidentally uninstalled the stock camera app, is there any way for me to reinstall it? Tried lots of other camera apps and they all crash.
[G4 Android Development] sdembiske:
Here is a copy of the apk for the stock camera from my H812.

Copy it to your adb/fastboot folder on your PC/laptop and install using this command:

adb install Camera2.apk

Not sure it will work for you but test and see if it functions correctly ...

Note

: My go-to camera app is still Camera FV5 Lite and Cinema FV5 Lite (free on Play Store) for video recording. Frankly, I have yet to find an app from Play Store or any of the modded Google camera apps to give me a better quality picture or better video recording than the FV5's.
[G4 Android Development] m13b:
Thanks! Camera installed properly and doesn't crash when I open it. Does crash after I take a photo unfortunately, so I can't save anything...
[G4 Android Development] sdembiske:
OK - here is what I would do in your case: Install the rom again but do a

clean

flash; install the latest TWRP preview version for O, back up Data, and then in TWRP,

wipe

cache

,

Dalvik cache

,

System

and most importantly,

Format Data

, install rom, install gapps, reboot to Recovery and then install your preferred root version and Xposed (if required). Reboot the phone and when you have confirmed camera is working as it should, restore in TWRP your backed up Data.
[G4 Android Development] m13b:
Got it working now finally woohoo! Thanks for all your help. Re-flashed LOS and the camera was working. I then flashed Magisk and restored my /data backup but that broke the camera again. Reflashed LOS and this time skipped flashing Magisk, just restored /data and everything was working fine. Figured I'd take one last gamble and flashed Magisk AFTER /data was restored and everything is still working fine.

Gave Camera FV-5 a shot btw, rear camera doesn't seem to work unless I check "force use of legacy driver" but its a great step up, love the plethora of options. Probably going to buy the full. Thanks for the rec
[G4 Android Development] bobertbill:
Phone not turning on

Hi Everyone,

Alarm went off this morning.

Phone was at about 19% battery.

I was looking at news, and then all of a sudden got a green screen on the phone.

Luckily I had another battery to plugin, the old battery also works on the same model that is running stock Android 6.

The phone turns on but is stuck on the boot screen, "Secure booting Error" OFFICIAL.

Does not go past it.

Any ideas of what I can do to restore the phone?

Thanks
[G4 Android Development] sdembiske:
Have you tried getting into your TWRP recovery manually? If you can, back-up your data if you have the newest preview version of TWRP installed for the rom version you are on. If not install it in TWRP using the image function on install. Reboot into recovery and then back-up your data. Then do a clean flash of the rom in TWRP: wipe Cache, Dalvik cache, System and most important,

format

data ; install gapps ; reboot to recovery and install your preferred root version and then boot the phone back. If all is good, go back into TWRP and restore your data.
[G4 Android Development] conbak49:
Couldn't find in this thread whether wireless charging is possible on this ROM. Is that a software feature or just hardware? I'm thinking about getting the circle case so I can wirelessly charge but don't want to waste my $ if it won't work.

BTW I can't say thanks enough for all the hard work that's made it possible to even flash custom ROMs on this phone. I've been using this ROM for a few days after anxiously completing the USU process and I'm loving it.
[G4 Android Development] conbak49:
No ringtone when earbuds plugged in

I noticed today when my phone rings with my ear buds plugged in I don't hear the ringer either through the phone or the earbuds. Is that normal? Is there a setting where I can change this? Sound is fine otherwise. When I was on stock LP and my phone rang with earbuds connected it would ring through both the earbuds and directly through the phone. I'd love to have that back.

Thanks
[G4 Android Development] steadfasterX:
It's both software and hardware.

That can be fixed but for this read my signature on how to do a logcat while reproducing the issue.
[G4 Android Development] conbak49:
Will do when I get a few minutes.

Thanks!

---------- Post added at 04:08 AM ---------- Previous post was at 03:45 AM ----------

Oh and is it possible to get wireless charging on this ROM with the circle case?

Thanks again
[G4 Android Development] steadfasterX:
Wireless charging should work as long as you have a Back-Cover which adds support for it as it's implemented in the standard Android sources. No guarantees though so up to you. The best would be buying one with returning options.
[G4 Android Development] conbak49:
Here's a logcat I pulled this morning. I did this while calling my phone from another phone with my earbuds plugged in. No ringer sound came through the phone or the earbuds, but the phone did vibrate. Ringer works fine w/o earbuds plugged in. I haven't pulled a logcat before so let me know if this is what you need or if you need something else.

Thanks for your awesome work and great support!
[G4 Android Development] steadfasterX:
ok thanks. Next time (as written in my linked guide) use http://bpaste.net (dropdown and chose never or at least 1 month) for sharing the log!

That makes things a lot easier on my site...

So I have fixed that issue but you need to test it first before I will integrate it in the next build:

download this file (right click -> save as -> ensure its named: mixer_paths.xml)

boot TWRP

backup system (just for the case)

mount system in TWRP

execute:

adb push mixer_paths.xml /system/vendor/etc
adb shell sync

boot to Android and test again. If the issue is not gone: do the logcat again!

pls report back

Cheers
[G4 Android Development] conbak49:
Hey,

Sorry I missed that step for uploading the logcat.

That file did the trick!

Thanks a ton!
[G4 Android Development] conbak49:
Love this ROM! And thanks for sharing it with all of us!

To get a little more space on my status bar I'd like to get rid of the battery icon and just display the percent. I can't figure a way to do this. It looks like I can get rid of icon and percent or just percent but not icon and keep percent. It's a small thing and certainly not a deal breaker. Just wondering if it's possible to do this.
[G4 Android Development] jjcdennis:
steadfasterX, will you be releasing an update for this Lineage ROM similar to the experimental version you issued for H815?
[G4 Android Development] steadfasterX:
yes. I have to finish the selinux tests first but then I will release for all models a new version

.
[G4 Android Development] kebab_boi:
Thank you for all the effort that went into the UsU process and all these roms. I have been using it since yesterday and it mostly works perfectly.

I believe this has been mentioned before. But I want to also report that on applications like youtube, the app has playback stutters on 1080p. For 1080p30 and 720p60 in most videos, fast forwarding with the double tap fixes the issue. But it comes back every time the video is taken out of fullscreen to portrait mode or the other way around. For 1080p60 I think the issue has no workaround.

Also, I'd like to ask how good the battery consumption is on this rom, because I have a powerbear 6500mah battery pack I might be getting distorted figures, but I get around 5 hours of screen on time. For others using the original size batteries and such, how is the battery life on this particular rom? Is it noticeably better or worse compared to stock android or other roms?
[G4 Android Development] sdembiske:
Refer to post # 1264 in the UsU thread for a workaround.

Battery consumption is very much user dependent, i.e., if you're playing a lot of videos, texting a lot etc., your battery drain will be higher and quicker. I'm getting a day+ on a stock battery that is 1 3/4 years old ... with relatively moderate use.
[G4 Android Development] steadfasterX:
New builds are coming.

I have scheduled a new build for all major G4 models - right now.

The build will run in that order:

h815

h811

UsU - h815

UsU - vs986

UsU - h812

UsU - h810

As usual the build process will take approx 6-10 hours until

ALL

models finished and its current progress can be watched here:

Blue Ocean View

Regular View

Summary Changelog:

many selinux policies added - based on our tests and your feedback

selinux set to

enforcing

- the very first 15.1 build which comes with enforcing :highfive:

if you encounter issues: provide a logcat output like this and upload it to http://bpaste.net):

adb logcat -b all -d |grep 'avc: '

a NFC error which might or might not fix things for some of you

camera and sensor related issues (kernel)

security patch level (for the Android framework - NOT the kernel): 5th of December 2018

.. and more

Full Changelog:

https://github.com/LineageOS/androi...f94ae1e64f6e01cd4b...d72e51944133d3617a504c3a

https://github.com/Suicide-Squirrel...2a7aad1003a4562536e38...8fe0f504066707a79930c

Cheers

sfX

UPDATE:

Sorry for the delay but I ran out of disk space on my tmp directory. New builds for the affected models started already again :

https://lets.binbash.it:8800/job/LG-G4/job/LOS-15.1/job/Build all LGE-G4 models/

.
[G4 Android Development] jjcdennis:
Thanks steadfasterX.

All the work you did on the root and rom tools and the great support for this phone (LG G4) is much appreciated. Its keeping the phone alive and working better than ever. I'm anxiously awaiting the update.

Christmas gift is coming your way.
[G4 Android Development] jjcdennis:
steadfasterX, I noticed you posted 2 new TWRP images, one ILAPO 2 cpu and one for ILAPO 4-cpu. I haven't seen this problem on the Lineage OREO rom.

The G4 has Hexa-core (4x1.4 GHz Cortex-A53 & 2x1.8 GHz Cortex-A57). Do I stay with the October 16 144_g4_0 image or update TWRP to one of the new images?
[G4 Android Development] steadfasterX:
Well.. pls note this is not the TWRP thread..

Read the already asked q and its answer here: https://xdaforums.com/showpost.php?p=78421242&postcount=947 :rolleyes:

and you can be sure that I am really aware about the hardware details of the G4 ;)

-
[G4 Android Development] jjcdennis:
steadfasterX is a clean install preferred over a dirty flash to update to Dec. rom? I saw this note just before updating and would like to be sure your recommendation is still a clean install. Thanks for your patience.

https://xdaforums.com/g4/development/rom-lineageos-15-1-t3806629/post77819999#post77819999
[G4 Android Development] steadfasterX:
That ALWAYS highly depends on the current installed version. There is no generic yes or no here.

As long as you do this you shouldn't get into trouble though -> use the latest PREVIEW TWRP and take a full backup:

Backup:

system

Data

"Internal Storage" (!!)

firmware

Wipe:

Advanced Wipe -> system

Now install the ROM.

If for any reason things fail you can recover from your TWRP backup which includes even your internal storage

The new internal storage backup option (still in BETA!!) allows you to even format the whole data partition (so a clean install) if you want to (e.g. testing if an issue is related due to not clean flashing).

.-
[G4 Android Development] jjcdennis:
I'm using the October 16th version, twrp_3.23-preview-144_g4_0.img and it has the following options under backup: boot, recovery, system, data, cache, firmware image, efs, bl unlock state, bootloader, carrier. The modem and internal storage options aren't listed.

I have restored successfully previous TWRP backups that included boot, recovery, system, data, firmware image and efs and recovery has been successful.

Is there a newer TWRP available - I went to your repository to get TWRP - http://leech.binbash.it:8008/

Thanks again,
[G4 Android Development] steadfasterX:
#144 is the latest.

modem = firmware

Backup of the internal storage requires an external sdcard atm and it must be enabled:

Settings -> General -> Include internal storage in backup/restore

https://raw.githubusercontent.com/s...tching/tempdocs/Screenshots/twrp_settings.png

If you dont have an external sdcard but OTG then this MIGHT work too (I can't test OTG here)

.-