yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] terence.tan:
Hi all and Merry Christmas!

I have LineageOS 16.0 and could only get 3G network access, much like other posts in this thread. Also I think it was only on UMTS band 1 (but I didn't confirm). I think this is due to the radio modem stack using vendor libraries from Moto X Style (clark).

I fixed this by recompiling the ROM using vendor libraries from LG H815 v29a. It took many hours of reverse engineering of LG's radio stack, but it works. I can now switch between 4G and 3G, plus I think it will also roam correctly between 4G and 3G (but I didn't confirm, as 4G coverage is better than 3G coverage in my area). Also the carrier name is now reported correctly. Also I added a small (unrelated) patch to allow network carrier scanning, which didn't work earlier.

This was tested with modem firmware 29a and bootloader 20p from @steadfasterX. Thank you for this package!

Device maintainers, would you like a GitHub pull request? Or any other way I can work with you? Code is here and here.

Also I would like to thank @steadfasterX, @kessaras, @ThePiGuy and all the other G4 developers. I have been staring at all your names in so many git logs... I realise now how many hundreds of hours of effort you've all made for us. So, huge gratitude!
[G4 Android Development] Hotdogint:
Hey guys, it's been a while. How's the latest build (h-810 dec 21) running? I've also noticed there's an October build and according to post #1848, it's the best version that has been published. I imagine the latest build has some fixes as well.

In order to flash the latest dec 21 build, I presume following the instructions in post #1848 is the best idea. One thing, last time I tried steps 5-6 in the pre-cautions instructions I wasn't able to do it. I bit the bullet and skipped over steps 5-6 and it worked out. Well luck was on my side that time and perhaps it won't be this time. Telegram links were posted so I'll be joining those groups.

Thank you and happy holidays!
[G4 Android Development] steadfasterX:
Wow.. Thx for taken the time for not just fixing this stuff but also for pushing and pointing out. A PR on the suicide repo would be very appreciated! Could you share some more details about your setup? H815 i guess, UsU or not?

Yea i guess 99.9% of the users didn't do that steps (and 80% might even have never read it). I do the check during my build process and abort if the checksum fails but well sometimes bad things happen so thats why i recommend it anyways. Other then that manual check isn't possible anymore when doing an OTA ...
[G4 Android Development] Hotdogint:
Ok so go ahead and update using the instructions from that post, got it. What happens if I'm not able to do steps 5-6? I believe last time it simply said command not found. I could be wrong, but it said something along those lines.
[G4 Android Development] steadfasterX:
The instructions contain also a hint what to do if you encounter issues . the easiest is to use telegram for support then
[G4 Android Development] terence.tan:
H815, stock EU version, non-USU. Bootloader unlocked officially via the LG website. Actually this was a replacement motherboard that I bought from AliExpress after my original motherboard overheated and had ILAPO :sick:

I'm aware that there are about 8 different LG G4 variants, and the radio modem is important functionality, so we need to test carefully to make sure nothing breaks!

I'll send a Github PR, I am happy to accept feedback on the code, or you (or anyone else) may modify it yourself of course, it's all open source.
[G4 Android Development] cris3:
Hello and happy holidays :-) i updated today the rom 21 december via ota, went all smooth really very convenient so thank you very much. I ask one thing, where you can find the various changes and corrections made in the new version of 21 December? thanks. The only thing I miss and the camera of the original lg, had more settings, with the google and other sometimes give problems, like blocking, or heat, the quality does not seem to equal the 'original. thank you for your dedication to this rom

Translated with www.DeepL.com/Translator (free version)
[G4 Android Development] steadfasterX:
I do not post any new changelogs or announcement posts here anymore. For this check my telegram chan (see my sig or the OP).

The posts were very time consuming and to be able to continue supporting this device i need automation as much as possible. Thats why my support and automation group exist on TG.
[G4 Android Development] uper:
Hello, first of all thank you very much for the rom, in general it works very well and I have not had any bugs for 4 days that I have been testing it, but I have a problem with performance, for normal use it works well but to play it works slow, I have monitored the use of the cpu and kernels 5 and 6 are never activated, I have looked at the faq and I have tried to install kernel adiutor and magisk with the guide you provide to see if it improved and to try to activate kernels 5 and 6 but neither with that I have been able to activate them, I leave you the logcat and a log to see if you can help me:

logcat https://paste.omnirom.org/view/64b1c89a

log https://paste.omnirom.org/view/0e2cd27e

I also leave you an image of the use of the cpu in a game (clash royale):

https://images2.imagebam.com/5e/18/f5/e33baf1364759226.png

Sorry about my English but I have to use a translator
[G4 Android Development] steadfasterX:
Whats your device model? UsU'd or not ?
[G4 Android Development] uper:
Sorry I forgot that, Lg g4 h815 official unlocked
[G4 Android Development] steadfasterX:
Did you ever flashed the ilapo files which replace the aboot img?

Whats the latest stock firmware version you ever flashed?
[G4 Android Development] uper:
edit
[G4 Android Development] uper:
By ilapo you mean if I have had bootloop problems? no, I've never had bootloop problems

The last stock version was nougat, the v29 I think is the number, the last official version in kdz that came out, then I had the lg g6 and v30 roms
[G4 Android Development] steadfasterX:
Ok so first if all v29 isn't official - it's a BETA and never have been released officially for the h815, it was grabbed by somone who got it pushed to his device in a beta test. So i highly recommend to flash the 20p bootloader - 20p modem TWRP zip from my leech server (see OP and the one without UsU in its name).

If that does not fix your issue the most likely reason left is heat . this ROM will disable the big cores when when it gets too hot to avoid the bootloop problem.

thanks for your the log files btw. Unfortunately I haven't had the time to review them yet. There is a command in this thread which greps just temperature information from the log but the new xda app is buggy in many ways so i cant find it atm. Anyways just try the mentioned bootloader TWRP zip first and bring your device to a stable state again by flashing it

EDIT: ah got it. If you still encounter this after flashing the stable bootloader follow FAQ 12
[G4 Android Development] laurentpavot:
Hey, I just finished flashing this rom ! thanks for keeping this alive :)
[G4 Android Development] stlstl:
Hi,

I also have an official unlocked H815 and have installed the CPU/GPU Meter App to replicate your issue. In my phone when in heavy load, using the camera App for example, I do get activity in the last two CPU's. Before this LOS ROM I had the latest official Android 6 ROM available, can't remember the version number.

PS: The board of my phone was replaced about 2 years ago for other issues than the bootloop.
[G4 Android Development] uper:
I already did it in question 12, it didn't work, you have the log in the post above.

You mean flase this https://leech.binbash.rocks:8008/stock/LG/h815/20p/? would I have to re-unlock the bootloader?

Thanks for the help
[G4 Android Development] steadfasterX:
exaclty that one: h815_20p_bootloader_20p_modem_TWRP-flashable.zip (without UsU in its name). No this does not lock the bootloader it just does the same as a KDZ flash does and replaces "just" the bootloader stack.

yea thx got the log of FAQ #12 now that I am at my pc I can see it :P anyways it does not show what I would have expected so if the bootloader flash does not help let me know.
[G4 Android Development] atlus666:
Thanks for the rom ! I use it 2 month , it's very good!

But I find some bugs? (My model is h815-usu)

when flash ver 20210113 or 20120114 , the system show can't find SIM card

but flash ver 20201221 , the SIM card come back !

Please check it !

Thank you !
[G4 Android Development] aoleary:
The camera on custom ROMs will never equal the quality of stock LG as we dont have access to the LG camera framework to provide the same quality. Many tried but all failed.

The best camera on custom ROMs is the GCam camera.
[G4 Android Development] Over567:
Hi! So after a long time of use my carrier app (My Vodafone) stopped working because the system is not certificated. Is there anything I can do to make it work?

Thanks for helping.
[G4 Android Development] steadfasterX:
will be fixed with the next release. workaround: just wait ~15 min then it will work.

u mean "google not certified"? Did u checked FAQ #4?
[G4 Android Development] Over567:
No, Google play still says its certificated but when I try to open the app it says operation system is not certificated roughly translated from my language. It's strange because safetynet passes too and my other phone which is a poco f1 with custom rom not pass it and this app still works.
[G4 Android Development] steadfasterX:
then it is your app. I cannot do anything about it. you can try to install magisk, enable magisk-hide for that app and if that does not work select re-package magisk within its settings to hide even more. if that also does not work try https://f-droid.org/en/packages/com.oasisfeng.island.fdroid/ and install that app within. do not remove the app from the main profile though as you would still need magisk hide enabled here.
[G4 Android Development] steadfasterX:
Ok guyz! Thanks to @terence.tan we have a fix for the 3G/4G issue (where you were not able to switch) now.... and as a bonus the network search is working as well finally! Hooray :)

Today's builds contain these and other fixes (like baseband -> unknown fix) so happy (OTA) flashing.

Just as reminder: as mentioned already i don't provide changelog posts here anymore and also no build announcements. For this check my TG groups.

EDIT:

Unfortunately you have to disable selinux before OTA flashing will work (I promise .. one day.. OTA will just work lol).

follow FAQ #1 to find the guide on how to disable selinux (follow just that then start the OTA).
[G4 Android Development] uper:
Good, to begin with if the flashing of that file "worked", now they are active, even though I have been testing with another android 7 rom for two weeks and the management of the two large cores is very different, in android 7 yes that he uses them a lot more, in this android 9 he rarely uses them, and although for normal use they are not very necessary when playing if he is missing that he takes advantage of them, the other day I installed the new version that you uploaded the other day and it gives me the feeling that this version takes advantage of them a little better I do not know if you have touched something, enter the telegram group to see the changes But I do not understand much the truth haha

But ultimately I'm going to use your android 9 rom, android 9 is the fastest and most stable rom that I have tested, compared to android 7 the latter performs better but I prefer to have the news of android 9 and the latest security patch, Thank you very much for the work you do and that you are still updating this rom, it is magnificent, thank you very much for everything
[G4 Android Development] skrzynkadla:
Hello,

A lot of people say that the battery life is good. What does it mean good? I installed latest image and the battery loses more than 1% per hour when phone is unused (phone drains full battery in 3 days). For me it's quite poor battery usage.

I have:

* image 14-01-2021

* google apps - pico

* no other application installed

The battery is "new". I bought 2 from official LG service 2 years ago and I put unused one to the phone.

So, is that rate (> 1% of battery per hour) of battery usage normal for this image?
[G4 Android Development] sdembiske:
Install Accubattery (free on Play Store) - it will show after a few charging cycles what your actual battery mah is compared to the stated mah of the batteries you bought. No matter if it states that it is an 'official' battery - I ordered one battery that had an indicated mah but on testing it turned out that the estimated mah of the battery was approx. 55% of what was the 'stated' capacity. Just a thought. It may not be your rom.
[G4 Android Development] skrzynkadla:
Hello,

I'm pretty sure that the battery is legit (~2800 mAh looks quite good for battery that was produced at least 2 years ago). I know that this is only one cycle but I was using previous one battery on this device without any problem.

Anyway you didn't answer any of my questions. How long does your device stays in stand by mode with this image?

What do you mean by "It may not be your rom"? This rom should support H815 device, right?

BR,

View attachment 5198589
[G4 Android Development] sdembiske:
One cycle is not enough to get an accurate reading ...

Few things to try, in the event you haven't done them already to improve your battery consumption:

- In your phone's Settings > Security & Privacy > Trust > Privacy guard -- when in Privacy Guard click on the 3 vertical dot menu at top right of the screen > Advanced > horizontal scroll over to 'Device' and turn off the Keep Awake setting in Google Play Services & Google Services Framework and on all your User apps that you do not need to be active at all times - also turn off Start at Boot & Run in background on those User apps that you do not need instant access to on boot-up etc. There is no impact to their functioning when you need to actually use them.

- In Greenify, in settings make sure you have enabled 'Aggressive Doze (experimental)' and turned on 'Automatic hibernation'.

- In the Google app itself, go to ... more > Settings > Google Assistant > click on the 'Assistant' tab and scroll down to 'Phone', click on that and turn off 'Google Assistant' when it's not needed.

- Install EnableDozeGMS-TWRP-by-otonieru.zip in TWRP - download and put on your SD card from this link: [MAGISK 16][Battery Saver][6.0+] ENABLE DOZE on Google Play Services - the module install method in Magisk will not work anymore but installing it using the modified one specifically made to install from TWRP does - it will optimize the battery for Google Play Services, one of the highest draining apps. Ignore the Magisk 16 in the thread title, it will install and work on the latest Magisk version.

- Use a plain dark (black is best) static wallpaper on both lockscreen and system.

- Use a dark Folder background and Dark themes on any apps that provide the option.
[G4 Android Development] Biber_Golge:
@steadfasterX

Wifi-direct not working,

Wifi 5ghz hotspot not working,

Volte not working,

Lte manual band selection property does not exist,

quick charge indicator is not on the lock screen,

I can't adjust the height of the navigation bar,

apart from these, it is a very good rom
[G4 Android Development] steadfasterX:
re: Wifi-direct not working: see https://github.com/Suicide-Squirrel/issues_pie/issues/27

re: Wifi 5ghz hotspot not working: known, no issue exists on the tracker though (so will likely never get attention if no one opens an issue for that)

re: Volte not working: VoLTE never works in custom ROMs (there are some devices out there but very rare. Reason is that this is proprietary implemented stuff. Same for the LG cam which cannot be (easily) ported to a custom ROM)

re: Lte manual band selection property does not exist: no idea what u mean. share screens of where u miss something. open an issue on the tracker as well (if u want that to be fixed some when)

re: I can't adjust the height of the navigation bar: open an issue, describe what u expect, what u tried etc etc
[G4 Android Development] Sofilux:
Hello steadfasterX,

i am using your latest H815 rom, with no GAPPS installed. Great work. Thank you!

I am experiencing just one bug . The phone keeps restarting itself, when moving around with it. This happens now and then and I don't know why. It does not seem to be related to the usage.

First i thought it may be a bluetooth or GPS bug. So i did different tests and narrowed it down to the fact, that it wont restart itself, when using the phone in flightmode. Seems like the phone or rom can't handle the handover from one cell station to the next. The restart problem wont happen when using the phone abroad in a roaming environment.

I have 2 H815 phones. I installed and tested both with your latest rom and the 3 versions before the latest and the bug happens on both. Both H815 were unlocked the official way. I have the latest TWRP versions available for the H815 installed on both.

Maybe you know why this happens. Thank you and keep up the great work!
[G4 Android Development] skrzynkadla:
Hello,

Almost all was done:

* I turn off the Keep Awake setting in Google Play Services & Google Services.

* I installed Greenify with Aggressive Doze

* I did not changed settings in Google app. I could not find this application. Is it included in open-gapps-pico version?

* I installed EnableDozeGMS-TWRP-by-otonieru.zip in TWRP. I did not find any settings for this. Does it provide any interface?

* I already have dark theme but I don't think that it is important as I don't use this phone in any way.

So after all this changes the stand up time is reduced from 72+ hours to ~48h. The phone was on the table and I checked the battery status twice a day. I did not run any application except AccuBattery on this device.

Is there any way to make battery profiling for this phone?

View attachment 5216187
[G4 Android Development] osimobile:
I confirm, I experience the same bug for quite a while, I have GAPPS installed though and thought it would be because of my use of a "Frankenstein device" (H815 Motherboard in another H851 phone case and display, officially unlocked, latest TWRP and ROM).

I still love this ROM anyway! ;-)
[G4 Android Development] steadfasterX:
Could you set selinux to permissive and retry your test?

See faq 1. Also share the logs as described in "specific issue" of that same faq
[G4 Android Development] uper:
What is the difference between this version and the other one that comes out in telegram called eOS v1-pie?
[G4 Android Development] steadfasterX:
Well the eOS thread explains what it is:

https://xdaforums.com/t/rom-unofficial-p-f500-ls991-h81x-us991-vs986-e-os.4142021/
[G4 Android Development] MrKartupelis:
At the time being, I can't access leech server. Anyone has similar issue?
[G4 Android Development] breversa:
Same here. Have you tried asking on @steadfasterX 's Telegram channel ?
[G4 Android Development] JK-FINN:
Hello! After updating from lineage-16.0-20210307-UNOFFICIAL-h815.zip to lineage-16.0-20210420-UNOFFICIAL-h815.zip the phone notification led started to blink alternating red and yellow when charging. This did not happen in previous versions and I find it annoing. Is there a way go back the previous way, I think it was yellow until full charge, then green. Thanks!
[G4 Android Development] breversa:
This has been reported here as well : https://xdaforums.com/t/rom-unoffic...ye-google-hello-privacy.4142021/post-84877319
[G4 Android Development] steadfasterX:
disable the LOS battery handling here:

Settings > Apps & Notifications > Notifications -> Battery light --> disable "battery light"

This will make it blink green until fully charged

I will try to find a better way for the next release(s)
[G4 Android Development] breversa:
Unless it's different from /e/ OS, this solution doesn't work : the led stays on even if the toggle is off.
[G4 Android Development] steadfasterX:
uhm. I have tested it just now and works as described: when disabled in android settings = This will make it blink green until fully charged
[G4 Android Development] JK-FINN:
Thank you! It is just annoing for me the use the phone while charging, if the led is blinking. I prefer steady, different, colors for the led, while using the phone.
[G4 Android Development] breversa:
Well then that's a difference with /e/ OS. Maybe a starting point to look for a solution ?

(I'm heading back to the /e/ thread. Sorry for the hijacking !)
[G4 Android Development] steadfasterX:
its the same for /e/. I have just tested it now there as well (again) . atm you cannot DISABLE the charging light. when you DISABLE it in the android settings it will just work as it was thought in first place (it will blink green on charging and solid green when fully charged)
[G4 Android Development] JK-FINN:
Is there native call recording in this ROM or could you recommend working call recording apps with good audio quality?
[G4 Android Development] ddd4009:
Can it work on g4 beat h735?
[G4 Android Development] Pafel:
There is no native call recording in this ROM. I use https://www.boldbeast.com/ with rooted options and it works even with bt call.
[G4 Android Development] steadfasterX:
the led charging bug has been resolved with lineage-16.0-20210608-UNOFFICIAL
[G4 Android Development] bonbonboy:
Hi there,

still no fix according to the camera issue (freezes/turns black) during video call (like WhatsApp)?

Checked different pages of the thread, in vain.

Thx beforehand :)
[G4 Android Development] MorganXYZ:
Hi Folks,

I'm having some trouble with Signature Spoofing.

I've following the discussion on spoofing, which is v interesting, referenced for good house keeping at the bottom.

I've installed lineage-16.0-20210608-UNOFFICIAL-h815.zip and addonsu-16.0-arm-signed.zip sans gapps over the last official LOS from 07.11.18 (iirc) and the leap in performance is stunning - thanks @steadfasterX for all your work.

From what I've read I should be able to find a toggle under Dev ops for signature spoofing (allow_signature_fake) but there's none there (browsing and searching on allow_signature_fake). MicroG and Signature Spoofing Checker report that it's not happening.

Am I missing something under my nose or is there something wrong?

Thanks

[1] https://xdaforums.com/t/rom-unofficial-p-f500-ls991-h81x-us991-vs986-lineageos-16-0.3929082/page-76#post-82445165

[2] https://xdaforums.com/t/rom-unofficial-p-f500-ls991-h81x-us991-vs986-lineageos-16-0.3929082/page-75#post-82385491

[3] https://xdaforums.com/t/rom-unofficial-p-f500-ls991-h81x-us991-vs986-lineageos-16-0.3929082/page-55#post-80795975

[4] https://xdaforums.com/t/rom-unofficial-p-f500-ls991-h81x-us991-vs986-lineageos-16-0.3929082/page-54#post-80650727

[5] https://xdaforums.com/t/rom-unofficial-p-f500-ls991-h81x-us991-vs986-lineageos-16-0.3929082/page-17#post-79831595

[6] https://xdaforums.com/t/rom-unofficial-p-f500-ls991-h81x-us991-vs986-lineageos-16-0.3929082/page-16#post-79823184
[G4 Android Development] steadfasterX:
spoofing support has been removed as mentioned in the TG automation group (still pinned there). Only builds from before 20210420 will contain it. You may could consider using /e/ OS instead.

(updated FAQ #9 with that)
[G4 Android Development] MorganXYZ:
Thanks @steadfasterX - that's a bit of a drag - after spending the last few days getting this all set up. Oh, well. Where's 'the TG automation group' post - just to complete my reference :) ?

And, I didn't realise you maintained the /e/ port to G4 - that gives me more confidence. And, I see you mention that /e/ is '

the

alternative to the Apple/Google duopoly on the smartphone.' I'm actually waiting for my new Librem 5 - I know, I've been waiting a long time... :rolleyes:
[G4 Android Development] steadfasterX:
in my signature.. ;)
[G4 Android Development] MorganXYZ:
Ah, Telegram. Thanks.
[G4 Android Development] Ponder Stibbons:
Hello steadfasterX

is there a TTS Text-to-Speech Engine for this nice little ROM?
[G4 Android Development] steadfasterX:
I would guess there are hundreds of apps doing that