yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] mkrts:
dear sir what is the differece between modem and baseband

you had written about modem

This single very first step is for UsU'd devices only:

If you have ever flashed the UsU baseband package: Clean flash the modem partition from your backup in TWRP.

If you do not know if you ever flashed it simply flash your modem partition again and you can be sure. This can't do any harm.

If you have no backup:

- TWRP flashable MM modems (N will not work)

you had written about baseband

<model>_UsU_baseband_flash-in-twrp.zip

when to be flashed:

once, after flashing another modem partition (e.g. H-ROM still containing the modem partition! which is incredible bad practice btw)

what it is:

model dependent baseband / radio / modem files (the stuff needed to make your cell service work).

I extracted for every model these files and provided a flashable ZIP as this ensures the modem will not crash when on MM or N firmwares.

To be specific these files are always the latest LP basebands I was able to find/extract for each model and yes its still a kind of hackish this way.

If I will be able to get the kernel module working this file will be obsolete on newer ROMs but will be necessary on all which do not have that kernel patch.

i had tested all the usu compatible roms in XDA

i have never flashed modem files

i have always flashed only baseband

than i used my phone

i think baseband contains modem ? isn't it ?

but than modem.zip is useless ? :confused:
[G4 Android Development] steadfasterX:
The modem partition contains much more then just the baseband.

Using the baseband package modifies the modem partition to allow booting non UsU ROMs. Of course when flashed you can also boot UsU ROMs as well.

The thing which irritates most ppl and likely you is the name of the partition "modem". It's just a wrong name for it and should be better named "firmware" as that is what it contains: baseband, audio, video , .. all these are in that partition.

So TLDR

When you want to have the best experience on an UsU'd device flash the modem partition + an UsU ROM. That way you have the optimal baseband firmware running.

Flash the baseband package only when using a non UsU ROM.

Reflash the modem partition when using an UsU ROM and you ever flashed the baseband package before.
[G4 Android Development] sdembiske:
Note

: For those of you who may be building the rom for themselves on an Ubuntu 20.04 (e.g., Linux Mint 20.0) based Linux version show the content of the following:

To get around all the errors I encountered I had to do the following:

In the "Software Manager" confirm all the following are installed to check your installation method

- openjdk-8-jdk

- openjdk-8-jdk-headless

- openjdk-8-jre

- openjdk-8-jre-headless

with no environment path or any other path you might have set for Java.

Use the Switch Manager command to set Python2 as the default version (refer to this how to - https://linuxconfig.org/ubuntu-20-04-python-version-switch-manager)

Insert (if not already included) export LC_ALL=C and export CCACHE_EXEC=/usr/bin/ccache in, save it and source it for the /.bashrc file.

If you haven't already done so, make sure you install the additional language packs noted in the System Reports.

That should get you going to successfully build for LineageOS on any Ubuntu 20.04 based system
[G4 Android Development] bel57:
Hello, ROM is great but Wi-Fi hotspot is still not working. My home Wi-Fi is spotty sometimes so I wanted to use that but the trigger automatically goes back to off when tapping it. :(

Btw, it's already been reported last year, not a new issue.
[G4 Android Development] masemoel:
Use the 2,4GHz hotspot. But I think you can only use it with LTE/H+, not with WiFi
[G4 Android Development] kessaras:
Thank you for informing users about magisk , etc. Since I'm not rooting, it's helping.

No need to do anything outside your daily use. Just use the phone like you always do and if you have any issues tell me.

Any problem you see report it so I fix it.

Up to now , no problems detected here.
[G4 Android Development] rundumdieuhr:
Thank you, kessaras, for further tweaking the kernel! And all the best for job hunting! :fingers-crossed:

I did flash the boot partition image two days ago and, so far, I haven't encountered anything strange nor any novel problems. Just continues to work stably like the previous kernel in the ROM did. If I hadn't flashed, I couldn't tell. But I'm sure you've placed some background improvement and magic inside. ;)

A side note: battery continues to drain rather quickly on my device (exclusively), which seems to be related to my individual setup. Currently, I am too comfortable to wipe and set it up from scratch (it's been a while). Which would probably help anyway. :) Battery stats are not attributing the battery usage to a specific daemon or app either, so I can't correct that accurately. For my usage pattern, with the phone sitting on my bedside instead of a daily companion, that's no problem right now. All good! :)

Another thing, just to follow up on my previous post and to clarify how I see the behavior when the cover lid is placed on the back. I think everything is working as designed. I do agree with you that the kernel or ROM need no adjustment. In the first place, I only wanted to clarify and confirm what the other user reported.

I figured, too, that the cover magnet is too strong in the "wrong" place to therefore coincidentially trigger the screen lock. I am rarely folding the lid back, so it is not problem to me. Applying another case would always be an option.

Anyway, thank you for your replies and advice! Please don't change the settings, geolocation is more important. ;)
[G4 Android Development] bel57:
Thanks. This is my use, I was looking to share my cellular data over Wi-Fi since residential Wi-Fi isn't working well.

5 GHz is returning an error status but 2,4 GHz does work. Why tho, bug?
[G4 Android Development] breversa:
So far so good, actually even better than the previous kernels. :)

I still sometimes encounter screen freeze/lockup when taking a picture with OpenCamera, but pressing the the power button to switch the screen off *now* effectively switches the screen off, and I can switch it on again.

The phone still feels warm from time to time but I’ve been using new apps so I don’t know what to blame yet.
[G4 Android Development] quetzaltr:
Yeh, thanks for advice but ı used to do that in way you told. This time ı’d just want to see how microG set up in the rom - ı mean specificies, additions- but ı needed gaps for soundcloud, vanced youtube and may other apps... [MENTION=5545101]steadfasterX[/MENTION] may you'd understand backup data from taken earlier rom.. so I meaning prefer to download apps in while setting up the google account.

...

Lineage 16.0 - 25 May

Gapps 9.91.6.21 Nano

..

Note: I did try flash again gapps but didn’t solve anything.

Yeah, sure it’ll okay when ı'd clean all things then flash once more the rom and Gapps after that in way before run the system-...

..

Sorry too much images ı couldn’t delete them.
[G4 Android Development] nesnesnes:
Hello! I have unlocked with SALT, and there it tells me that my cell phone is GPT compatible with H811 but when I want to install from TWRP the ROM for H811 I get the following error:

"E3004: This package is for device: g4,p1,h811; this device is ."

Do I have to install it in another way?

My device model is US991

Thanks!
[G4 Android Development] sdembiske:
Did you remove the Assert line? Refer to post # 947 in the UsU unlock thread for the 'How-to'.
[G4 Android Development] polfrank:
I think that you can do a modification in the installer's script.

I think that this kind of protection is used against flashing another device's rom by mistake.

Navigate into the zip to: /META-INF/com/google/android/updater-script

Edit that file and delete the first section of data that starts with the word "assert" and ends with a semi-colon ( ; )

I warn you though, I am not 100% sure that it will work, I do not know if this action will harm your device or cause you to lose your data. You are the one who takes responsibility for your own actions.
[G4 Android Development] nesnesnes:
Thanks to both! That was the solution. Now it allowed me to install the ROM and it works perfect! :highfive:
[G4 Android Development] busattovini:
HBO GO issue

Oh, by the way, HBO GO doesn't play videos, except for Chromecast. Is this something related to the ROM itself or is it just because of the HBO developers?

Lineage is such an amazing ROM. Thank you for the awesome work! <3
[G4 Android Development] Persoda:
H812 Modem

Hello, thanks for all the hard work! I have just UsU'd my G4 (H812) and am following the instructions for installing the Lineage 16.0 ROM. However, I am unable to download the h812_20z_modem.zip from the link in Step 1 as the file hosting service states that no mirrors were found for the download. Would someone be able to direct me to a service where I could grab that file? Thank you!
[G4 Android Development] LukeSlovian:
Hello, what is the baseband package ?

The author of this post, Dear Steadfast X.

He gave the name in the instructions baseband package.

I am asking you with a very heartfelt request for support

I am asking you with a very heartfelt request to explain to me what exactly this term means?
[G4 Android Development] Korin67:
The problem solved. I first tried May 1 version of gapps. The performance looks much better (app starts very quick), but in the home screen the app dock (the bottom raw of five apps) is displayed in two different places. Time/Date also displayed twice in different position. So, I tried 3rd of May version gapps. Bingo, there is no halt of the apps, home screen is normal. Now, my LOS16.0 (h815_usu) is perfect. This might be an FAQ but I learned that regarding gapps, 'the newer the better' does not always apply. There seem good match between LOS16.0 and gapps version. If you experience strange action of the system, change gapps version might solve the problem.
[G4 Android Development] LukeSlovian:
Hello, Can you help me with my LG G4 H815?
[G4 Android Development] sdembiske:
Click on image

:

LukeSlovian

View attachment 4768728​
[G4 Android Development] LukeSlovian:
sdembiske I will not be able to properly upload a sent picture, by you.

vBulletin Message

Invalid Attachment specified. This can happen for a variety of reasons-- most likely because the thread or post you are trying to view has been moved or deleted. Please return to the forum home and browse for another similar post.

I have a message I throw in reply to your post.
[G4 Android Development] Korin67:
Why not write your problem here. There are many advisers (including OP) in this thread. If I could

suggest something, I am willing to write it.
[G4 Android Development] hteles:
Don't feed the troll
[G4 Android Development] Sir Daniel III:
BTW is it possible if the brightness values are rewritten so the brightness slider isn't broken? (Yes it's a known issue in Android Pie, I'm just asking).
[G4 Android Development] LukeSlovian:
Ok Ok I understand, I did not want to troll.

I am sorry that you have received my posts so.

Let's talk about it - writes the author of this Thread, or dear stedfasterX.

Dear steadfast X he wrote the instructions

In the first point of the instruction the author writes about

I am asking you with a very sincere request for a precise explanation of what this term means:

baseband package

---------- Post added at 06:01 AM ---------- Previous post was at 05:50 AM ----------

I am asking you with a very cordial request for your support. I am asking for your posts, you are the honorable users who already have experiences related to Flashing LineageOS 16 for the LG G4 H815 smartphone. I mean information such as:

Which version of the Gapps package,

solves the problem with incorrect display of the device name?

One of the users wrote about it in this Thread.

I am also asking for precise explanation, for what purpose the author writes in the manual to save the downgrade of the modem, the one I currently have, ie for Nugat / Oreo, to the MarsMallow version?

Is there a person who without a downgrade of the modem and the bootloader has updated LineageOS from version 15.1 to version 16 without any problems?
[G4 Android Development] steadfasterX:
The issues are there for 2 reasons: helping ppl to understand that an issue is known but also for me so I remember them and so eventually fix them - if possible.

So when possible it will be fixed (requires free time ofc).

If something is not possible to fix then it will be noted in the particular issue.
[G4 Android Development] LukeSlovian:
Hello, Dear Steadfast X.

I am asking you with a very cordial request for your technical support.

I did a full cleaning.

I launched the installation in this order:

1 - Modem for MarshMallow

2 - LineageOS 16 system

3 - A pack with Pico Gapps

4 - Package with addons

5 - Magisk Mask Pack

I am asking you with a very sincere request for your support

how should I start my cellular network?

After losing a LienageOS 16 on my LG G4 the H815 does not start

cellular network. I have a sim card inserted from my operator,

but he does not search for a signal.

I am waiting for support because I have a problem to solve this problem.
[G4 Android Development] polfrank:
Ok, I will answer to all of your questions. As I get it you want to install LOS16. I suppose that you have an officially unlocked H815 LG G4. The below instructions apply to this model. The steps are:

1. Install TWRP (Pie flavor, if not already installed). You can find it here. The file that you are looking for is called "twrp-3.3.1-PREVIEW-191_g4_P.img". You can install the TWRP recovery through fastboot or through an existing version of TWRP recovery by navigating the "install" seciton and pick to install an image file.

2. Install the N bootloader through TWRP. You can find it here. The file that you are looking for is called "LG-H815_v29A_bootloaderonly.zip"

3. Clean up through TWRP these partitions: data, cache, dalvik-cache

4. Install LOS 16 through TWRP. You can find it here.

5. Install Google Apps through TWRP (optional). You can find the version that you want here. (Pick: Platform ARM64, Android version 9.0, Variant nano - this is what i prefer.)

The other questions that you have regarding the baseband are kind of irrelevant, I believe. Follow the above instructions and if it doesn't work, we are here to help you further with a possible solution. We are here also if you cannot understand/execute any of the above steps.

I just saw that you had posted this too before I posted. As I get it you say that you cannot get the cellular network working with LOS 16. You can try:

1. rebooting some times and let it calm down after every boot.

2. maybe your SIM card is not in the correct position. Try getting it out and reinserting it.

3. perform a new clean flash of everything.

Can you post a screenshot of your phone where we can see that the cellular network is not working?

If all of the above fail, try grabbing and posting a log, so that a developer can look deeper into your problem.
[G4 Android Development] LukeSlovian:
Ok, and if I have a modem for Android MarshMallow installed on the phone, then before re-flashing, I have to do a full partition cleaning by TWRP Recopers? So, select all advanced cleaning options? Currently I have Modem from Android MarshMallow and LineageOS 16, but I do not have GSM / LTE network modem. He does not read the sim card at all. Therefore, I am asking for professional instruction specifically for my situation - as I already have LineageOS 16 but with the modem in the version for MarshMallow, from this link SteadFasterX sent in the instructions on the first page of this thread.
[G4 Android Development] ThePsymoon:
Hi,

I would like to report that during last few days, I experienced random reboots (2-3 / days), while not using the phone (screen off and locked). It is likely related to my mobile network coverage, which is quite erratic in my vacation place... It is due to surrounding buildings, and the mobile connection is most of the time not available, except in some small specific places where LTE or 3G is working.

I can live with these reboots, as I have the feeling it is related to the network coverage... But I would be pleased to help to debug the problem if I can extract and share a log (or in another way?).

My config: last release of the rom, g4 h815, official unlock, no root, opengapps pico. Due to these issues, I did not installed the last kernel from [MENTION=5461026]kessaras[/MENTION]
[G4 Android Development] mkrts:
So what happens if I don't flash only baseband.zip not modem.zip in this rom setup
[G4 Android Development] djibe89:
Hi, small bug report.

Latest build 20200719 flashed.

In Android Settings > About > build number is still showing 190801.

Thanks a lot for your impressive work.

---------- Post added at 01:25 PM ---------- Previous post was at 01:25 PM ----------

Hi, small bug report.

Latest build 20200719 flashed.

In Android Settings > About > build number is still showing 190801.

Thanks a lot for your impressive work.
[G4 Android Development] jjcdennis:
Couple questions,

1- Will the lagix be added to the next version of this rom, or will it still have to be flashed on its own.

2- I haven't used TWRP to import a .zip. I found these instructions on the web and want to confirm they are correct:

Make sure the file to be sideloaded is placed inside the platform-tools folder.

Now, with the device booted to the TWRP Recovery, tap on “Advanced”.

Next, tap on “ADB Sideload” > “Swipe to start Sideload”.

At that instance, enter the following code in the PowerShell window:

adb sideload filename.zip

You will see the progress bar in the command window. As soon as it turns 100%, the zip file would be automatically installed on your device. That’s it.

For example, let’s say we are installing a Magsik Module named ‘Mi_A2_Stock_Camera_app‘. Then the code will be: adb sideload Mi_A2_Stock_Camera_app.zip.

3- Last question, can I not just open TWRP and then flash lagfix from the phone's internal storage?

Would appreciate some help with this prior to flashing.
[G4 Android Development] steadfasterX:
hmm.. maybe read the README or the issue comment or the FAQ on that one.. ?

unfortunately "adb sideload" does not work in TWRP P builds. So you have to push the ZIP (+ md5) to your device (e.g. adb push xxxxx.zip /tmp/) and then go through the install.

sure why not? you would flash the ROM and after that the lagfix. the file can be everywhere and as you flashed it once you have to do that always after every ROM flash/update and so it would make sense to keep it on the phone.

.-
[G4 Android Development] owlery_hk:
Just joined the telegram groups.

Thanks for making them!

Using the OTa will be quite an experience, I have never actually used that before haha
[G4 Android Development] rlvddoes@gmail.com:
I tried to install lineage-16.0-20200824-UNOFFICIAL-h815.zip via TWRP, but it fails on an invalid zip-signature. I've downloaded the file several times, including the md5-file, but to no avail.

So now I'm restoring my TWRP backup (for the time being).
[G4 Android Development] steadfasterX:
uncheck zip signature check in TWRP. this feature does not work there.

.-
[G4 Android Development] rlvddoes@gmail.com:
Oh yes, I did (I normally always do that). But that doesn't make any difference; I still get that zip-verification message.

Only after that I tried using the md5-file and checked the signature verification; now I first get the message that this check is OK, and later on the same verification fault.

---------- Post added at 08:16 AM ---------- Previous post was at 08:12 AM ----------

BTW: there is no TWRP 3.4.0.1 for the G4, only the 3.4.0.0; is that correct?
[G4 Android Development] steadfasterX:
pls share the recovery log (see my signature)

.-
[G4 Android Development] rlvddoes@gmail.com:
Here you are:
[G4 Android Development] steadfasterX:
thx..

...but the idea was that you re-produce the issue and THEN grab the logs ;)

.-
[G4 Android Development] rlvddoes@gmail.com:
I was already afraid for that answer.....

Will do.
[G4 Android Development] rlvddoes@gmail.com:
I hope this is better:
[G4 Android Development] steadfasterX:
it is.

when you wipe cache you HAVE to reboot from recovery to recovery once ..

thats a bug in the 3.4.0 PREVIEW 224 TWRP version.. update to the latest and it should work without that

-.
[G4 Android Development] rlvddoes@gmail.com:
OK, trying that now.
[G4 Android Development] steadfasterX:
what exact TWRP version is that?

.-
[G4 Android Development] rlvddoes@gmail.com:
twrp 3.4.0.0. (from https://eu.dl.twrp.me/g4/), as no 3.4.0.1 seems to exist.

---------- Post added at 10:27 AM ---------- Previous post was at 10:26 AM ----------

That did the trick; thanks!
[G4 Android Development] steadfasterX:
as described in the TWRP main support thread: the official TWRP release is meant for

OREO

only!

When flashing PIE (or Nougat) install my PREVIEW releases. When you install the latest one (#230) the above should be fixed as well.

.-
[G4 Android Development] rlvddoes@gmail.com:
I'm sorry, I must have missed that. And I still can't find it, do you have a link handy please?
[G4 Android Development] steadfasterX:
see my signature ;)

.-
[G4 Android Development] rlvddoes@gmail.com:
Oops......
[G4 Android Development] jjcdennis:
I have seen some overheating with the phone, although it is random. It got quite warm when flashing the latest rom, gapps, addons su and the lagfix (phone was plugged into a usb slot on my laptop, which charges the phone very slowly). It also got warm with the July 20 rom when flashed. I also have noticed that battery life has deteriorated. The phone gets very limited use and in some roms got u to a week life. I have a 6000 mAh battery, which is draining in about half the time (2 days) as compared to roms prior to July 17. The paste is about 12 hours old, the phone has not been restarted since the rom flash. Would appreciate some help with this.

https://pastebin.ubuntu.com/p/57sSscCC9g/
[G4 Android Development] falenjam:
I used to have the same issues (heat, slowness and poor battery life). I did a full clean flash 10 days ago (the first in a year or so) and flashed the test kernel by kessaras. Since then, everything is working great :good:
[G4 Android Development] lerbeso:
Hello.

I just installed lineageos on my LG4 H815, unlocked officialy. All is working fine except wifi.

When I try to enable it, the icon turn off imediatly.

I've look at jotaincubus post, because I've the same symptoms, but nothing solve the issue.

Here my logcat1, logcat2 and dmesg.log if it can help

Sorry, I've to split logcat in 2 parts.

Thanks
[G4 Android Development] stlstl:
Does the latest ROM include that kernel?

Thanks
[G4 Android Development] steadfasterX:
this and more commits by kessaras.

.-
[G4 Android Development] steadfasterX:
grab the boot logs please. FAQ #7

you might also want to try another ROM. Atm it looks like a hardware defect but if that issue does not occur when you flash another ROM its not

.-
[G4 Android Development] Root_newvie:
Sometimes my phone doesn't recognize the sim card after the boot. This would never happen when I used the other roms.
[G4 Android Development] stlstl:
With the previous version the phone would run very hot when using the browsers and the camera apps, the latest one solved the issue. It seems very good so far.

The only thing I really, reeeeeaaaaaaally miss from the stock ROM is the camera app. Anyone can recommend a camera app for the G4 that allows me the control the shutter speed?

Thanks
[G4 Android Development] steadfasterX:
https://github.com/Suicide-Squirrel/issues_pie/issues/15

.-
[G4 Android Development] steadfasterX:
https://xdaforums.com/showpost.php?p=79502872&postcount=3

.-
[G4 Android Development] stlstl:
I installed those apps and wasn't impressed with any of them. I gave up on the ported Google Cam apps, too many issues.