yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] Aaron_Lloyd:
Thanks for the suggestions! Tried all those now, I can now get it so that I can get to he menu for selecting the type of lock screen I want without settings crashing. But If I try to choose "pattern" and then have the pattern setup, when I get back to the security menu it just stays set to "swipe" regardless of what I do. Same if I try to use a password. :S
[G4 Android Development] sdembiske:
Do the 3rd suggestion again completely but this time follow the modem file flash with the directions in this thread again (steadfasterX references it in the bootloader unlock in the FAQ # 15) : https://xdaforums.com/and...overy-t3530008 for all the gatekeeper. and locksettings.db files. Then reboot and see if you can now set it.
[G4 Android Development] kessaras:
well , i do not own a h811 so i can't possibly know why. in H815 we can encrypt successfully.

And we all use the same kernel.

I do not know whats different in h811 from LG... LG never worked together with us and never shared anything.

yes you can but i do not know the progress of usu unlock atm and what impact it will have to the touch; if it will work or not.

this is starting to get out of hand......

LG hardly released anything even for h815. h810, h812, h818, and any other variant is unlocked unofficially and we got no sources or a device tree for these. We only hope that h815 and h811 trees are compatible. You could try a logcat. In your case its possible. At least we could see why that happens.
[G4 Android Development] Aaron_Lloyd:
I've captured a couple logcat's with Logcat Reader.

This one is for when the Settings app crashes when trying to input the password in order to change the type of lock screen (same behaviour happens with PINs):

https://pastebin.com/2DXaUDN1

This one is from after I delete the lock screen settings in recovery and then go back and (because it now won't ask for the password) am able to set up a pattern, but the setting stays on "swipe" (the default) despite trying to change it twice to "pattern" (same behaviour observed with factory wipe):

https://pastebin.com/JMjuY8sX

I'm not the best at explaining technical Android stuff so let me know if you need any clarification on what I mean.
[G4 Android Development] kessaras:
Try change the local from en-ca to en-us and get me a new log after reboot.

I see a crazy error that it can't index en-ca

language ofc
[G4 Android Development] Aaron_Lloyd:
To be clear, is this referring to the language settings or something else?

EDIT: Tried changing the language to US English, here's the results for when I try to input the password and it crashes the settings app:

https://pastebin.com/K4aMGGYp

EDIT 2: And the equivalent of the second test, using en-us:

https://pastebin.com/pGaw6tYr
[G4 Android Development] ametyst:
Beautiful rom, one of the best i've ever tried, but i'm experiencing a lot of battery drain (about 50%/h ) so i'm forced to use a stock based rom until we'll have a good kernel for android 8.1 .

I guess this battery problem is normal , right?
[G4 Android Development] ThePiGuy:
I think that battery drain is a bit unusual. Is that after as fresh install? Give it half an hour or so, and reboot and see if it still does that.
[G4 Android Development] ametyst:
Nope, using this rom from 3 days.

GSam Battery Monitor shows that more than 60% of my battery usage is from kernel.
[G4 Android Development] ThePiGuy:
Is that 50%/h screen on or when it is in standby? Sounds like you need a clean install with the latest version (5.3.1 official or one of [MENTION=5461026]kessaras[/MENTION]'s more regular builds)
[G4 Android Development] ametyst:
Screen on

But in standby the battery doesn't last half a day.

What do you mean with clean install (sry for dumb question lol) ? I properly installed 5.3.1 (latest) with all data/cache/dalvik wipe
[G4 Android Development] ThePiGuy:
Wipe cache, data and system (<-- that one is important and you didn't include it in your list)

Then try again with the zip followed immediately by gapps if you want play store etc
[G4 Android Development] ametyst:
I will try

I've noticed another problem : half of the time i reboot the phone, It doesn't read the Sim card so i have to reboot once again. Is this only my issue ?
[G4 Android Development] ThePiGuy:
That's a known bug, and has been for a while now. The other bugs are broken bluetooth phone calls (using a hands free set) and the flashlight tile doesn't work - an app in the play store called kenzo flashlight fix (I think) fixes this though
[G4 Android Development] ametyst:
I need a stable rom for daily use, so i'm forced to go back to a stock firmware based one , that i guess has not so many bugs and battery stats improved :crying:

I hope all those Little issues will get fixed as soon as possible because this is a beautiful rom and i love oreo very much

thanks for support, anyway

Edit

noticed that when i charge the phone, the system actually doesn't notice It except for the red fixed led. In fact It stays in 'saving battery' mode (i dont know how do You call 'Risparmio energetico' in english :laugh: ) and the battery icon doesn't change into the recharging one
[G4 Android Development] ThePiGuy:
If you don't need bluetooth hands free calling and you don't mind restarting it until the SIM is detected, then it is actually a very stable ROM (I actually got very good battery life when I used it, but I needed bluetooth calling so I couldn't stay on it).

If you need these features, the AOSCP nougat version also maintained by [MENTION=5461026]kessaras[/MENTION] is available and only has a bug where encryption doesn't work. The rest does
[G4 Android Development] ametyst:
Well my main problem is battery Life, but if you Say so i'll give It another last try.

what do you mean with good battery life? Better than stock firmware ? One day of battery life is good for me , but in my case It doesn't even last one morning of normal usage (using instagram,WhatsApp,Facebook)
[G4 Android Development] ThePiGuy:
Standby time for me was practically unnoticeable (It didn't seem to drain at all). Screen on time was about the same as stock for me
[G4 Android Development] nummer:
Which modem are you on? if you're on LP modem that might be the problem. Flash the MM modem and it should work ;)
[G4 Android Development] Minto107:
Disable ambient play. Mentioned 1000000 times already

---------- Post added at 03:03 PM ---------- Previous post was at 03:02 PM ----------

Reboot on charger if you want system to notice charging status
[G4 Android Development] kessaras:
they r funny.

they haven't noticed that they all use the same kernel everywhere because there is nothing else out there
[G4 Android Development] ametyst:
I'm sorry but I don't understand. Can I flash Titan kernel LOS BASED v1.8 ? Isn't that for nougat roms only ?

As you can notice I'm not very expert about this :laugh:

Thank you

Sorry but I dind't find them using the search bar
[G4 Android Development] Aaron_Lloyd:
I think I might be using the LP one (that's what I had before upgrading.) Would there be a place I could grab the H812 MM modem.bin to try that?
[G4 Android Development] sdembiske:
If you didn't upgrade to MM before unlocking and flashing and don't have a SALT backup of that MM kdz, you will have to extract an H812 MM kdz: You can most likely find one here for your specific carrier: https://lg-firmwares.com/lg-h812-firmwares/

Scroll down to LG H812(LGH812) aka LG G4 Official Firmwares and download the appropriate one - a later version would be best, i.e., 'z' instead of 'a'.

Extract in SALT (only SALT, not any Windows kdz extractors or any others) and you will have your MM modem file.
[G4 Android Development] ThePiGuy:
Can I just ask - why would you stick with LP when you could update to MM?
[G4 Android Development] Aaron_Lloyd:
Before UsU, root on the H812 was only available for LP and for me LP with root was preferable to MM without.
[G4 Android Development] holunder:
Why do you suggest flashing Gapps for ARM64-7.1 whereas this seems to be an Oreo ROM?
[G4 Android Development] ametyst:
In recovery gives error,, you have to use 8.1

Fp is not updated
[G4 Android Development] Minto107:
All OP is still written for Nougat version of the ROM that is EOL since Oreo is in active development(late December)
[G4 Android Development] uPrizZ:
Can someone confirm Snapchat crashing the phone from time to time on latest official oreo build? Only happened to me using snapchat... Basically what happens is, that you get a black screen (sometimes with blue notification LED for whatever reason) and cannot even reboot using the power button. Only way to get out of it is to remove battery which most of the time will result in loss of app data (keyboard is reset, new login required on every social media app etc. -> this also leads to the "home button and recents button not working" issue).

I am currently trying to get some useful logs...
[G4 Android Development] Krappa420:
I have the rom working on Oreo but using nougat twrp. Should I use the new Oreo twrp that was just released
[G4 Android Development] sdembiske:
I'm not convinced that it's just the LP modem causing the issue, it may be related to other LP problems. In hind sight, you could easily have flashed/refurbished your LP stock rom with LGUP-NEW and then upgraded to MM in LG Bridge officially or in LGUP-NEW unofficially before USU'ing. I did exactly that as MM was recommended in the OP.

In any event I think you should do a clean flash in TWRP, i.e., wipe Data, Cache and Dalvik, followed by Format Data > flash the rom again > flash the H812 AOSCP Nougat USU patched kernel (https://xdaforums.com/g4/development/kernel-usu-patched-kernel-versions-t3763679 ) AND the Marshmallow (MM) modem.bin file from your Salt backup or the modem image file extracted from the appropriate MM kdz > then follow the directions in this thread again (steadfasterX references it in the bootloader unlock in the FAQ # 15) : https://xdaforums.com/android/software-hacking/remove-lockscreen-recovery-t3530008 for

all

the gatekeeper. and locksettings.db files.
[G4 Android Development] MUSTANG0012:
I truly love this rom. You've done a great job kessaras and are still doing so. Already looking forward to android P

For the people having issues besides the known ones (sim not always detected, flash tile and bluethooth calling) it is most likely that your phone unexpectedly shutdown, (empty/dead battery or pulling out battery) and this damaged important system files related to magisk (as a lot of people already mentioned) you can only fix this with clean install and you can prevent it by keeping your battery above 5% or just not installing magisk. mine never died above 5% but below 5% sometimes turned of immediately no warning whatsoever just black screen and not turning on until i plugged in the charger and quite a few times it f*cked up, leading to a clean install.

Hope this info is of use for some people looking for answers?

Again thanks a lot [MENTION=5461026]kessaras[/MENTION]
[G4 Android Development] Minto107:
Only if you want to use encryption other than that it doesn't matter
[G4 Android Development] ametyst:
What version of titan kernel can i flash with this rom ?
[G4 Android Development] raptorddd:
weird that 20v worked okey but not despacito.. am thinking or releasing a stock nougat.. same as despacito but in despacito the dialer is from G6 and black theme in dialer you get black on black text. i use my own rom.. all stock. well see haha i just wont give support as am not a dev. it would stress me out . that i want to avoid.
[G4 Android Development] deltadiesel:
Is that what you use?
[G4 Android Development] raptorddd:
sorry for off topic... yes korean port with fix for calls and all apps updated including playservices and google play. and logd and log renamed to .bak also mlt removed.
[G4 Android Development] bedencic:
hi. i have 2 small problems:

how do i get date out of homescreen

and battery percentage not working
[G4 Android Development] Minto107:
If you use pixel launcher(or luna) it's just way it is, change launcher. For second one check battery settings I believe unless you're talking about percentage on lockscreen. That shows only when charging

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] RoboSK:
Hello, I tried Open Camera in 1080p 60fps setting but the video will only save as 30fps. Is it possible to fix it ?

thanks
[G4 Android Development] deltadiesel:
Been using AOSCP for about 2 weeks now.

Best ROM I ever used
[G4 Android Development] kessaras:
well..... i never used that app because its been copied all over play store. Play store has more than 20 camera apps all copy/paste same gui, trying to confuse people that their app has more to offer lol

stock camera app, google camera app, google pro camera app, snapdragon camera app , all in 2nd post, have a lot more to offer than this massive copy/pasted app

and default fps is 60

EDIT:

stock only camera app from the above , is 30fps. i will add 60, i totally forgot about it.
[G4 Android Development] RoboSK:
[MENTION=5461026]kessaras[/MENTION] - 60fps, ok, I will try it

+

after a short test I have found this, is it solvable ?

1) Encryption does not work - after restart is not suited to get into the phone, PIN is invalid, data is probably lost

2) Smart Lock - is without "Face unlock"

thanks
[G4 Android Development] kessaras:
face unlock does not exist due to blobs issue. you may not see face unlock again with the latest sources.

encryption ? but twrp is not yet fixed to work with encryption. these days thats what we r working on with [MENTION=5545101]steadfasterX[/MENTION]. Well, mostly stead. Me im just bricking my g4 and giving him logs until we get it working :p

Do not encrypt....................... in a twrp error you r doomed if you don't know how to get to bootloader using hardware keys. Also LG has disabled the format data in bootloader. So just do not encrypt yet on nougat firmware.
[G4 Android Development] steadfasterX:
absolutely.

I'm working (besides a lot of other stuff in the background) on decrypting Nougat in TWRP but keep in mind that they changed the whole encryption here!

[MENTION=5461026]kessaras[/MENTION] is supporting me with this a lot and we will solve everything. Just it will take time ..

sfX
[G4 Android Development] marn3us:
SteadfasterX + Kessaras = best dev combo in XDA ??

Thanks again guys!
[G4 Android Development] lordc:
JMr. [MENTION=5461026]kessaras[/MENTION]

I would love to have on your ziprom the chdloc biquads modded mixer on the zip (aroma or just as default) so we can enjoy without problem of a system wide user configurable eq

Thanks for your hard work!!
[G4 Android Development] kessaras:
this aint happening. i can only add code. i need a source to add it. i can't just download the work of others and add it. Thats fake and thats something users do. Thats no developing to download apks and adding them this way.
[G4 Android Development] deltadiesel:
Bug: airplane mode does not turn off.....have to find network manually after turning it on/off
[G4 Android Development] kinuris:
Maybe I've found another bug: there's no toggle to turn off/on sync in quick toggles. Like torch.
[G4 Android Development] deltadiesel:
No you just didn't read the thread
[G4 Android Development] Dade97:
The only things i dont like is the manual camera gui.

I tried almost all camera app bit manual control aren't good.

In the stock camera there was a nice gui to control ISO (up to 2700) shutter time (to 30s) and WB with the slider and the "live preview"

I tried to install the oneplus camera that have easy manual control but not work.

There is and app could i use ?
[G4 Android Development] kinuris:
Sorry, I can't find where is mentioned the sync toggle.:confused:

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

Hey, someone has tried the noGapps way, using microG?
[G4 Android Development] deltadiesel:
Sorry I don't even know what your talking about

Yes flashlight tile doesn't work though
[G4 Android Development] ThePiGuy:
It's already titan.

Ps. For next time - aosp is for AOSP based ROMs, stock is for LG based ROMs (I think) and then you have Oreo etc which is for Oreo based AOSP ROMs (as there is no LG based Oreo rom)
[G4 Android Development] ametyst:
Dont know
[G4 Android Development] ThePiGuy:
If you are running AOSCP (which you are), then you do not need to flash titan as that is the default kernel used
[G4 Android Development] Minto107:
You have in ROM title 'TITAN' for some reason. You get all the optimizations as in Titan kernel

Yeah, stock is for stock(LG UX based) ROMs. Regular Titan is for Nougat ROMs based on new Nougat sources from v29 and Korean F500 open source(ie AOSCP 4.x, LineageOS, Resurrection Remix by kessaras, also newer official builds of LineageOS by genesixxbf3) and NO big cores are self-explanatory I think ;)
[G4 Android Development] Flo10Pro:
Battery

Hi,

The Battery is very fast empty. 40% ~ 40 Minutes. Help please.

I have install Gapps 8.1 is that the reason?
[G4 Android Development] choice2rejoice:
Disabled ambient play?
[G4 Android Development] Flo10Pro:
what do you mean?
[G4 Android Development] zeduck:
I can't correctly root my phone.

I tried by flashing SuperSu zip but when I launch the app it says me that root is not detected.

How did you root your phone?
[G4 Android Development] choice2rejoice:
Just like I said. "Disable ambient play". Somewhere in the sound section. I'm not using this rom now so I can't give you directions. Search for "disable ambient play" if you can't find it.
[G4 Android Development] niccotaglia:
For some reason Kernel Adiutor only shows 4 cores
[G4 Android Development] kessaras:
AOSCP N updated to 4.2

i fixed many bugs for our N:

*thermal-engined log spam

*perfd removed until i fix it

*qseecomd service

*libshims new path

*healthd and ueventd communication with battery stats

*removed powerhal log spam

*updated lawnchair launcher (just in case this is a clean flash you will do)
[G4 Android Development] sdembiske:
Thank you for this. Will the other models on steadfasterX's server be updated in time as I see only the H815 has been done so far?

Love the rom. Any chance for a Lineage-type updater in About Phone settings?

Thanks again,

S.
[G4 Android Development] aha360:
Just use Magisk - SuperSU doesn't support the newest Android OSes ever since Jorrit Jongma ended developmental involvement for that project.
[G4 Android Development] steadfasterX:
I have created Jobs in Jenkins so yes they should..

just watch this:

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

So this can take a while ;)
[G4 Android Development] sdembiske:
Very cool !!! Thanks again.

S.
[G4 Android Development] steadfasterX:
Lol well actually I have to restart the build this night as some UsU models are excluded due to my tests..

EDIT: rescheduled.. Watch the link ;)
[G4 Android Development] dbizzy:
Hey I just tried installing the newest Oreo version and everything works good so far but I don't have a nav bar. Did I do something wrong?

Also I can't get into recovery.
[G4 Android Development] StackOverflow13:
same here no nav bar. TWRP is OK for me though
[G4 Android Development] sc17:
nothing wrong, you need to enable Navigation bar in Settings -> System -> Buttons (or simply use search function in Settings)

in case you haven't installed TWRP (properly), it takes quite a while for the aoscp recovery to boot
[G4 Android Development] raptorddd:
wow amazing thank you kessaras :good:
[G4 Android Development] kessaras:
Just like sc17 said.

You got to enable it in settings.

The default is off because of the bugs the other devices have with the hw keys.

Here we do not have any bug besides the Bluetooth audio and p2p.

SystemUI at first will drain a lot of battery until it cache everything it has to cache and then after a couple of reboots it will be stable and not drain any battery. Battery drain in fact in O is less than in N.

At least here for me.
[G4 Android Development] sc17:
Does anyone know how to get Magisk working with encryption (O)?
[G4 Android Development] choice2rejoice:
Tried it more than one time? I always use Supersu with this rom.
[G4 Android Development] saksoo:
Just playing a bit around and not being able to charge it, I let my phone to die of battery twice and weird things happened! First it booted up with lost all android settings, like developers options, sound, screen, couldn't expand the notification bar and other weird stuff, fixed only with clean install, dirty flash didn't fix it. Second died and booted up with many app data missing. So I guess there is not a mechanism in aoscp to do a normal shutdown when is around 3-5% to avoid this loss. and Im using supersu.
[G4 Android Development] kessaras:
As long as mine is fine and I can't replicate such a thing , I can't do anything.

Also same thing people report since 2012 in stock or not stock roms.

I'm tired of reading about it.
[G4 Android Development] saksoo:
sure, not requiring a fix just mentioning in case someone is facing the same issues just to know.
[G4 Android Development] iannisb:
double tap

Does double tap to awake /sleep works now?
[G4 Android Development] zeduck:
I removed su binary and the battery standby time back to normal.

I also installed Magisk (via TWRP zip) and Magisk manager.

But Magisk manager does not seam to see Magisk and the app does not display menus to search/and install modules.

What did I do wrong?
[G4 Android Development] aha360:
That's weird. Try reinstalling the OS in the following order when you are in TWRP:

AOSCP > GApps > Magisk
[G4 Android Development] zeduck:
I just don't want Gapps.

But I don't think it's mandatory to flash Gapps to make Magisk work.
[G4 Android Development] ntnlzr:
Did u fix br call? wow amazing
[G4 Android Development] Minto107:
NO. You just quoted a text saying that we have 2 bugs, Bluetooth calls and p2p(wifi hotspot)
[G4 Android Development] zeduck:
Ah… That's maybe my problem.

I flashed Magisk zip, the Magisk manager app see a version is installed but I don't have menu items related to modules download/installation.
[G4 Android Development] steadfasterX:
Anyone here flashed my UsU versions for aoscp nougat?

Hadn't had the time to test.
[G4 Android Development] sdembiske:
Funny, you should ask ... Yes, tried yesterday and today again on the latest H812 N UsU version. Boot-looped on the ASOCP Android boot screen 3 different times (twice yesterday, once today). No problem restoring to previous ASOCP version.

General process followed

:

In TWRP, did a factory wipe & data format > flashed latest H812 UsU AOSCP version > flashed mini-open-gapps > powered down and rebooted into fastboot > flashed H812 UsU N kernel > flashed MM modem.bin file from SALT backup > fastboot reboot > boot-looped on ASOCP Android screen > removed battery and booted back into TWRP > did another data format > rebooted > boot-looped on ASOCP Android screen again > powered down and booted into TWRP - copied 'recovery.log' & dmesg.log and re-copied to PCdesktop to upload and post link > did a factory wipe & data wipe, restored latest TWRP backup of previous ASOCP version > removed lockscreen files in the Advanced menu > rebooted system & back to where I was before this whole upgrade journey. Uploaded and posted the logs and here we are:

Link to logs

:

recovery.log - https://gist.github.com/sdembis/90bd0a6d7619f1273c1a69d12f393fd0

dmesg.log - https://gist.github.com/sdembis/65bfaf7fd011fbdd509ed993e94ce1ed

Hope it helps.

s.
[G4 Android Development] Ilaancue:
What I have to do in order to update to a new version without losing my data? Do I have to flash the new version and gapps again? Thx
[G4 Android Development] ThePiGuy:
For official, dirty flash newer version. For unofficial, dirty flash followed immediately by gapps
[G4 Android Development] Ilaancue:
Mr [MENTION=5545101]steadfasterX[/MENTION] after dirty flashing, do I have to reflash baseband?
[G4 Android Development] Krappa420:
I currently have SuperSU installed given in this thread. How do I remove it and move to Magisk which is also given in this thread.

Edit: I figured it out by flashing unSU via twrp.