yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] minomx:
hi,thank you very much for the ROM, im a big fan of the AE Roms, but this time i have a big problem with the LG G4, after i do a clean or dirty install it stuck on the boot screen and the screen go black and the led light go blue and nothing happened after that, until i remove the battery..

so anyone know what is the problem here ?

see the pic's

blue light

http://prntscr.com/nskdpb

frezzing boot screen

http://prntscr.com/nske3m
[G4 Android Development] aha360:
Try continuing without any cards inserted, and if all else fails, reinstall stock ROM via the use of a KDZ then reinstall the custom ROM
[G4 Android Development] Korin67:
I tried to build myself. Followed the step in manifest. It seems there is no aosp_h815-userdebug in lunch menu. What is the right steps to build? I already have the source. Thank you.
[G4 Android Development] minomx:
Ok, i will try.

Btw: i have flashed the lineage Rom, and it works fine but with other problems.
[G4 Android Development] Gigio755:
I moved to LineageOS 16 for the moment, pretty better battery life and less more lag in UI and no more UI glitch with some stuff

The same problem i had with some Oreo roms, the solution was to flash the latest modem bootloader, for h815 you should find HERE the twrp flashable, pay attention to download and flash the correct one
[G4 Android Development] appollokillers1:
hmm, i was trying to find the los 16 for lg g4 h815, but nothing show up, only los 15.1...
[G4 Android Development] Gigio755:
It's here

https://xdaforums.com/g4/development/rom-lineageos-16-0-t3929082

And here for download
[G4 Android Development] aoleary:
New builds up with some measurable speed/smoothness improvements..

********CLEAN FLASH OBLIGATORY********

I tested dirty flashing and it ****ING kills the system, so read the warning and do a clean flash
[G4 Android Development] rotoko:
everything works perfectly, I'm just waiting for DT2W to work...;)
[G4 Android Development] Gigio755:
Clean flashed now, UI graphical glitch (i posted before) still remain :'(
[G4 Android Development] aoleary:
Its either graphics glitch or performance.. The default renderer is more efficient, but introduces some artifacts on the G4. OpenGL has no artifacts but isn't as efficient..
[G4 Android Development] minomx:
i did it, but i get blue screen instead :eek:

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

i tried to do it, but i couldn't, it gave me a problem with the connection.

i used this thread the first method :

https://xdaforums.com/g4/general/guide-lg-g4-stock-firmware-to-stock-kdz-t3107848
[G4 Android Development] aha360:
Odds are that DT2W won't happen because the feature is too buggy and causes excessive battery drain

---------- Post added at 12:39 PM ---------- Previous post was at 11:58 AM ----------

What connection? What problem are you having exactly? Is it the firmware installation process failing midway through by acting like as if you have disconnected the phone midway?
[G4 Android Development] minomx:
after i go to the downloading mod and i open the LG Flash Tool 2014 and doe the CES Flash using my device KDZ and i click on start then ok, its start to prepare the device to process the flash i get massage that there is no connection between the phone and the computer and it suggest to reconnect the phone and nothing happened after.

anyway i have backed to the N Stock Rom .

thank you all for the help. :good::fingers-crossed:
[G4 Android Development] Gigio755:
despite some ui graphics glithcs only in some apps (scrolling contacts in contacts app and whatsapp and scrolling calendar widget), i'm happy about battery life, i think you did a really great job in this release, thank you

I notice something, at some startup (randomly) the device it seems laggy even after a few minutes (in scrolling icons), but sometimes restarting it is really fluid, even now, it's up from this morning and it is very fluid in every operation and without any microlag

I can't way for the 6.6 release :cowboy:
[G4 Android Development] racav1904:
Thanks man I appreciate you're work.

In the last update all the animations on the apps it's very laggy, I don't know why.

And when I'm using my Bluetooth headphones and I pause the music, when I tried to play it again, the headphones don't work cause it's disconnected to my phone, it's something rare. And after 5 seconds it's reconnect to the phone.
[G4 Android Development] rotoko:
deleted
[G4 Android Development] rotoko:
Odds are that DT2W won't happen because the feature is too buggy and causes excessive battery drain

---------- Post added at 12:39 PM ---------- Previous post was at 11:58 AM ----------

According to me, higher battery consumption was not , just with some rom.:rolleyes:[/QUOTE]
[G4 Android Development] aha360:
Here you go.
[G4 Android Development] se-guven:
Congratulations for the work of Pie rom for LG G4 H815. Thanks the AEX Team. I have a strange issue and I haven't seen a thread or question about it. When I called somebody while the phone speaker was opened, my voice didn't trasmitted to the other side. It shouted repeatedly "Hello! Hello!"

When I closed the speaker we could continue our conversation. I wonder what the matter is and how I can fix it.
[G4 Android Development] rotoko:
I still think it's nonsense...
[G4 Android Development] steadfasterX:
Sure we do and write nonsense all the time .. feel free to join.
[G4 Android Development] rotoko:
you say it, but I didn't say it ...:confused:
[G4 Android Development] aha360:
You're the one that described the (reasons for its) removal of the DT2W feature as "nonsense". Honestly, the last thing hobbyist developers need is broken features that ruin the functionality of a phone to the point of it being unable to be used.

That said, I liked that feature and it wasn't that bad for me in terms of battery drain though I was always near a power outlet.

As for alternative features, in AOSPextended, you have got wave to wakeup in which you can wave at the phone's front sensors/camera to wake it up.
[G4 Android Development] DenCik85:
and in general, I installed Android 9.0 which you suggested in raw form on LG G4 h811 and it just slows down, but you need to work it out a little more that you did with this Android 9 We still need to work on it:rolleyes::confused:
[G4 Android Development] aha360:
I've got the same problem, albeit with the H815 - it just hilariously struggles to do 3 or 4 tasks from time to time. Still though, I'm just going to stick with it in appreciation for the development haha, though you don't have to. :)
[G4 Android Development] DenCik85:
I past ather android 9 Lineage 16 and cool :good:
[G4 Android Development] rysk29:
same here h811
[G4 Android Development] racav1904:
Me too
[G4 Android Development] aha360:
Rule #1 of bug reports on custom ROMs: Logcat/dmesg/last_kmsg logs or developers won't fix it
[G4 Android Development] aoleary:
We're working on improving the performance all the time.. In the next week or so we should have some more performance improvements..
[G4 Android Development] aha360:
I've grabbed some logs, and I can confirm that I have the same issue that you're having
[G4 Android Development] Spaceboy60:
Bluetooth not working on my H815, keeps crashing.
[G4 Android Development] aoleary:
Unfortunately, there is nothing we can do about this.

The default SkiaGL renderer has issues on older devices.. I have implemented some stuff to minimise it, but I dont think we can ever get rid of it..

One option is to force opengl via a build.prop editor.

Here is the parameter to add:

debug.hwui.renderer=skia

However, this entails a bit of a performance hit, so I will never add this by default..

Its up to you to decide if the performance hit is worth it..
[G4 Android Development] aoleary:
Sorry for the late reply..

You need to synce the trees on my github (pieOSS branch): https://github.com/theKramer77

I presume for this example that you have named the build folder AEX.

Launch these commands in sequence. You can copy them all in one go..

cd ~/AEX/hardware/libhardware

git fetch https://github.com/Cosmic-OS/platform_hardware_libhardware.git

git cherry-pick -x f6f97e7b4b7b6aa1949b1ca668f8281ec9b5df63

cd ~/AEX/hardware/qcom/power

git fetch https://github.com/lite-os/hardware_qcom_power.git

git revert 1da76bc6a3929b3c69a7976d2d73211565cd946c

cd ~/AEX

rm -rf vendor/qcom/opensource/data-ipa-cfg-mgr

build/envsetup.sh

lunch aosp_h815-userdebug

mka aex -jxx => where xx is the bumber of CPU cores that you have

If you need any more help, hit me up on telegram: [MENTION=4956374]aoleary[/MENTION]
[G4 Android Development] Korin67:
Thank you for your clear explanation to build. I could start compiling. But an error came:

20:21:03 ninja failed with: exit status 1

build/make/core/main.mk:21: recipe for target 'run_soong_ui' failed

make: *** [run_soong_ui] Error 1

If you think writing this kind of problem is not relevant in this thread, let me know. I will switch to Telegram.
[G4 Android Development] aoleary:
AEX v6.6 is UP!!

Go get it here: https://mega.nz/#F!AR10iADJ!V5A5FEk5JrBjeNIulU8xKQ

Changelog: https://blog.aospextended.com/AospExtended-v6.6-Changelog/

NOTE: GAPPs and clean flash OBLIGATORY!!

We need GAPPs for GCam..
[G4 Android Development] Scooterthedude:
I don't see it or am I blind. Lol
[G4 Android Development] aoleary:
No, you're not blind..

I took it down as there is an issue with livedisplay I need to fix
[G4 Android Development] aoleary:
AEX v6.6 is fixed and uploaded to Mega!!

Go get it!!

You should notice some improvements in overall smoothness of the system..

Changelog: https://blog.aospextended.com/AospExtended-v6.6-Changelog/

NOTE: GAPPs and clean flash OBLIGATORY!!

We need GAPPs for GCam..
[G4 Android Development] rotoko:
excellent, can we also make phone calls with each other?
[G4 Android Development] aoleary:
What do you mean?
[G4 Android Development] rotoko:
when called my wife, I heard her, but she didn't hear it.:(
[G4 Android Development] aoleary:
Did you do a clean flash ?

I haven't had any issues on my h815 device.

Also, I need logs.. Without logs I can't do anything
[G4 Android Development] bazaleem818:
can i flash this to my H815-USU

Is there any special requirement to flash this rom on my h815 UsU phone

thank you developer
[G4 Android Development] aoleary:
I have had confirmation that it can. But I don't know the specifics of how to do it or if there is a specific procedure to follow..

I arrived after all that..

Maybe [MENTION=5545101]steadfasterX[/MENTION] can explain the steps to you in Pie
[G4 Android Development] bazaleem818:
thank you for fast replay

Do you know what is the steps to flash a baseband package of a rom ? please can you give me clear explanation or link to follow
[G4 Android Development] Belaid-7:
Still having the blue light problem.with 6.6 build
[G4 Android Development] steadfasterX:
Read the OP of the UsU thread. Clearly described .
[G4 Android Development] bazaleem818:
sorry i search more than 10 times

it was uner (Downloads YES. ALL of them:) :D

if i flash asope 6.6 i need to flash H815_UsU_baseband_flash-in-twrp after it

is it correct ? because there is no USU-kernal until now for asope pie rom
[G4 Android Development] Korin67:
Yes, I think so. My experience shows, when I had h815_20p_modem.zip, LOS16.0 boots but for AEX 6.6 it stops with blue screen. Then I changed to G4_29a_N_modem_UsU.zip situation is the same. Next, I installed H815_UsU_baseband_flash-in-twrp, AEX 6.6 booted and works fine. Try it.
[G4 Android Development] bazaleem818:
i will check this now

thank you very much for sharing that

Update yessssssssssss

thank you i install RR 5.8.5 on my H815-USU

steps :

1- full clean , format data then factory reset

2-flash the rom RR 5.8.5

3- flash H815_UsU_baseband_flash-in-twrp

4-boot to recovery just to be sure that recovery work

done ^^
[G4 Android Development] steadfasterX:
Come on guys.. This ROM has no UsU tag so it is not UsU compatible so you HAVE to flash the baseband package . LOS has the UsU flag so there you have to clean flash the modem and no baseband package .

See the UsU thread .. All mentioned ..
[G4 Android Development] aoleary:
Did you unlock your bootloader with UsU? If yes, read a few posts back for the correct bootloader/modem to flash..
[G4 Android Development] TheLostOne:
Hi!

Yesterday I've installed this ROM after using the H-Rom on Nougat from for a long time.

I performed a clean flash but I'm experiencing some Bluetooth problems.

Bluetooth crashes regularly and I hardly get notifications on my Garmin watch.

https://del.dog/gupocaqoro.makefile

This a log from one of the crashes.

I've also attached a logcat from the CatLog app. I hope it provides sufficient information.

Two times also I had to restart the phone because I couldn't turn it in completely. The lock screen appeared only for a very short moment and I couldn't activate it. I don't have created a log unfortunately.

Thanks for your efforts!
[G4 Android Development] aoleary:
Hi.

Thanks for the log, however, I'm not sure the catlog is of the same error, as I see in the catlog the issue is due to root not being provided:

06-17 18:34:42.178 W/m (8468): Cannot obtain root
06-17 18:34:42.178 W/m (8468): java.io.IOException: Cannot run program "su": error=13, Permission denied

Check in Magisk Manager and allow root for any apps that have requested it that you think are safe to allow root and try again..
[G4 Android Development] TheLostOne:
Oh, sorry!

I rooted my device now with Magisk.

https://del.dog/urubelolom

Here are the correct logs now ;)

Thank you!
[G4 Android Development] aoleary:
Hotspot fixed!

Hi all.

Just uploaded new builds today with a fix for the Wi-Fi hotspot bug that would cause a kernel crash..

Nothing else changed though..

Dirty flash should be fine
[G4 Android Development] themms63:
I am sorry to put this here, but I need help urgently:

I have an lg g4 h811 that constantly says please select a known model in LGUP. I want to return to stock firmware from AEX pie rom, and now I am stock in a boot loop. It gets into download mode though, I have tried all methods I know like using flash tool 2014, lgup, updated all the drivers, even changed the com port to 41 ( in case of flash tool ) still no luck. please I need help ASAP.
[G4 Android Development] aoleary:
I will just answer to you this one time since this is totally unrelated to this ROM thread.

You will probably need to flash a TWRP flashable version of LG Stock ROM, as LGUP works by recognising the currently installed ROM, so obviously its not going to recognise a custom ROM.

If you dont know what to do or where to get it, please open a post in the main G4 Android Development forum, as your question has nothing to do with this ROM...
[G4 Android Development] aha360:
Confirmed working without issues, even the dirty, nightly-style flash.

No logcat though, as there aren't any bugs to report, except the ones we already know.

Thank you very much. :)
[G4 Android Development] aoleary:
BT Phone Calls FIXED!!

Hi all,

I have uploaded builds with the fix finally for BT Phone Calls.

Thanks to [MENTION=5461026]kessaras[/MENTION] for creating the commits for the G4, and for [MENTION=7268092]z3DD3r[/MENTION] and [MENTION=7412373]Sashko98[/MENTION] for all their investigative work and creating the fix. Thank you guys soooooo much :highfive:

[MENTION=5461026]kessaras[/MENTION] has also tuned the standard GPU Governor msm_adreno_tz to not scale up as aggressively so that should fix the heat issues when watching videos on youtube!!

Clean Flash OBLIGATORY, so wipe both caches, data and system.

Now to start working on general instability issues in BT and BT file transfer!!
[G4 Android Development] izmenar:
how is the overall stability and performance of the rom ?
[G4 Android Development] kessaras:
We have discussed that many times in the past while i first brought up the "Titan Kernel", but you were not here , so i understand.

No. My commit will not fix that. it will fix the cold temp when doing nothing.

There is no "fix" for temp when we are using all 4 cores (maybe 6 when watching UHD video) and gpu. Thats impossible.

Whats possible is to make the thermal sensor to lower all frequencies at a lower temperature. But that will cause lag at everything.

Snapdragon 808 normal temperature at a 25 to 30 C environment , is around 40 to 50 C and when watching a video is 70 to 80 C. (same temperatures we will get at a hotter environment because of the thermal engine)

When playing games it goes even higher. Thats how sd 808 works and thats just 1 of the many reasons many had hardware issues since g4 was released at the market.

We cannot modify the hardware ofc. We can only make it slaggy and retarted to prevent it from overheating, which im not going to do.

Do not keep trying to look for a way to make this stupid CPU work at a lower temp, its not gonna happen. Not if the manufacturer didn't create this CPU to work at lower temp.

EDIT:

The key here is to fix as many bugs we can. Less bugs, less work the CPU has to do.

strace services, apps, procedures, strace everything you can strace and fix as many bugs you can.

It's normal for N to work at a little lower temp than O and for O to work at a little lower temp than P, etc.

At every new sdk Google adds more and more and on the other side, we add even more to port the old code to the newer sdk so that older devices can use the newer sdk..... as a result an older device will stress more.
[G4 Android Development] Spaceboy60:
This build is on telegram or link at beginning of page?
[G4 Android Development] aoleary:
This ROM can be downloaded from the link in the first post. I added the link to the G4 users group in the second post..
[G4 Android Development] aha360:
You guys are awesome, especially in terms of supporting a maligned cellphone from a company whose reputation in the Android scene is shot to high hell.
[G4 Android Development] Velrix:
Any reason we can not enable the 2 big cores? They are disabled out of the gate.
[G4 Android Development] aoleary:
In fact, they were just disabled when you looked at it as its setup to prefer the small cores as much as possible and then to activate the big cores when the going gets heavy..

The big cores create a lot of heat and battery usage, so we set it up to use the small cores first..
[G4 Android Development] kessaras:
We didnt do it on purpose :)

It's how 808 works. It's a 4 cores CPU +2 big cores to support the other 4 on a heavy load :)

I don't even know how to change that. It's inside arch folder in kernel source.
[G4 Android Development] aoleary:
My bad. I thought I saw a commit in the trees that specified the small cores to be used first..

Thanks for info..
[G4 Android Development] YANNEDEVICE:
Can somebody help me sort this out :

Have issue with animations overall in apps when scrolling or when having transition effects. Text scrolling also gets Tearing.

ps: Got a Kernel Crash when using Retro music - I think it is because of its Equalizer - after a reboot and a while more testing sound got completely distorted when playing.

got same distortion on Blackplayer EX so I assume the EQ applies to the whole system. ( probably surround sound making a loop )

[IMG="Text Tearing"]https://lh3.googleusercontent.com/_mO0PSuW8Tj4bJt45gtykDxMF9jvz5BM3aLCDhSDCVwuSxGya0HYDoiEVef1FmalOw35RgmpTCSs2QzuYcDYf_VGysAV8YrxjZtZzdQnlQx57_L0bH1gC4wB8RjCZfh7YvC9MjQKCX6pYZijJwpfZvLRDUsL58RegSMNqS_kZuLJ7WLiAx6Gr5CKJwRolzYQFD27CVu11P_6EsS3JAUH4bJPomUf62ADUAlir-SggaSwJZE_bpWYI-vxei0pZgXMbw7OGS50PE2R9QeqLYqyc46Mvu1N8hoCaRedeRv4u1jna0V8WxAKHIjGqvQ70DirR1dPY2jrGGjilgdJHzxdrJWE94M6tM-RJWnNLTA_qS_LpDYcIEbyXFV-EyKmgrOpW8pyoNtcubZCJ1wlD9EOH7c2okBKrJ1LesKq4bR_wBtSrXc0-YQjY2oo_n0Eo9mN80-J9M3DXM41Hc_01QXYbFPGi49DGDnGPHrSTWhrCGVk-VLK044BmVspT5KDY2IivvB-rznr7zlFlKGof78c4xO7hfPoaLIelGekVQWe6C7155XF9ef9eXE9ve38zxO2uNY6jr0yTlVq2aq3E-W5XloavidRMc9KO_3fZdq4Chlm8mKI9pVl2zFiOKSe37Owd1J4AjgBs1p66OWMAVQBzu2ITs5vGnPZ=w711-h1262-no[/IMG]

any Clue ?
[G4 Android Development] aoleary:
Unfortunately for the tearing, there is nothing we can do. Its due to an issue with the default renderer on older devices, like the G4..

You can test this parameter via editing with Build Prop editor:

debug.hwui.renderer=opengl

For the other issue, you will need to provide me with a logcat..

Install minimal adb/fastboot to c:\adb

Navigate to c:\adb
cd \adb

****Verify Phone connected via ADB****
adb devices

****Clear all logcat logs****
adb logcat -b all -c

****Capture logcat logs****
adb logcat -d > log.txt
[G4 Android Development] YANNEDEVICE:
You fixed it all actually , I had some jitters when scrolling up and down my articles in the google app ( around the search box ), some other transitions rendered bad too.

Thank you for resolving the issue I installed Build Prop editor and added the line of code "debug.hwui.renderer=opengl" = no more tearing in music players ! issue is gone.

as for the crash I will provide you the log here.

--------

when using Retro Music

My screen got black and there was nothing I could do.

strange ui glitch. no more acces to home screeen ( only an unresponsible back button showing )

Resulting In forced reboot. ( maybe its relevant to the crash I had too )

---------

I'll do some more testing around Audio Quality

I red you added a volume boost somewhere maybe it is possible to tweak this somewhere.

( I still have some Crackling sounds coming out of my voicecalls )

About video is it possible to tweak settings even more somewhere to have lower temps °C ?

just to make video chat more usable ( I don't use games nor anything like that )

the camera stops working because of the heat.

hey here are my impressions , and again thank you for your work on this build ! :)
[G4 Android Development] aoleary:
Whats the performance like with debug.hwui.renderer=opengl ?

We tried that a while back, and it caused too much of a slowdown, but we have improved the performance quite a lot since the time we tried that initially, so maybe now we can implement it permanently if there are no performance issues anymore..

Regarding video heat, we implemented the Adreno idler governor for the GPU, but apparently there were issues with that idler in games, but it definitely helped with video heat..

I might have a look at it again if I have time, as it really helped for calming the heat of the GPU..
[G4 Android Development] YANNEDEVICE:
Hi ,

Performance is very good so far build feels more stable and snappy.

If I can Help with the tweaking of the gpu? What can I install to change these settings and give some feedback.

I would like to optimize camera heat and video heat to gain even more stability

In video calls , Google Maps , camera

:)
[G4 Android Development] busattovini:
How can I edit it? What is the app?

---------- Post added at 02:27 PM ---------- Previous post was at 02:14 PM ----------

BTW, Google Play is taking some time to install apps

---------- Post added at 02:29 PM ---------- Previous post was at 02:27 PM ----------

Now it's working great! Haha

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

Oh, how can I disable the Google search box in the drawer?
[G4 Android Development] aoleary:
For the tearing, change it via a Build Prop editor: https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor

To disable the search box, I have no idea as I use Nova Launcher..
[G4 Android Development] aoleary:
Unfortunately, that needs to be done at kernel level, so its not as simple as installing an app...
[G4 Android Development] busattovini:
Thank you! I'm using Evie launcher now. Great ROM! ?
[G4 Android Development] aoleary:
New Builds up

DT2W workaround..

Go to Settings (the gear icon) of QCview, and enable DT2W..

Adreno Idler has not been fixed yet, but is deactivated by default for gamers. For non-gamers, you can activate it via a kernel manager app to keep the gpu temps down while watching videos..
[G4 Android Development] Pjedr:
Is the blue tooth connection to a car now stable? And wifi hotspot working. No calling audio issues? Battery life at least one day? Then i would upgrade my LG G4. I wil keep my eye on this forum. Cool work guys.