yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] ThePiGuy:
I made one if you want to use that one

https://drive.google.com/open?id=1E_7gAZFyT-u1LLz_lmHUvKlEF4AGzCNj
[G4 Android Development] a tiny ant:
[MENTION=8699949]ThePiGuy[/MENTION]

I've installed your kernel and everything seems to work just fine. I don't know how scientific this test will be because I have the following setup:

First I installed the Oreo Lineage rom because it has working encryption, then flashed the Oreo TWRP to decrypt, remove the Oreo installation and replace it with a self built Lineage version, built on 15 september.

I want to have an encrypted phone, as a replacement security measure for the bootloader being unlocked.

I've noticed that when Magisk 16.0 is installed the encryption pattern and the lockscreen pattern get "disconnected". Booting up works fine but the lockscreen won't recognize your pattern. Removing the lockscreen works, but your original pattern will still be required for bootup.

Magisk 17.1 will boot loop no matter how you install it. I'm afraid it just doesn't work with this setup.

For now I'm using the Lineage root solution which I guess is good enough.

Installing your kernel worked fine, it also correctly shows your kernel version and the system hasn't had any real bugs yet. So far so good.

EDIT:

It looks like the encryption pattern and lockscreen pattern disconnect is perhaps not related to Magisk, it happens without Magisk as well. It's quite difficult to get it to reconnect. I can somehow get the encryption pattern to change but the lockscreen pattern won't be recognized after a reboot.

So far the way to remove Secure Boot (encryption settings menu is blocked) is to set a pattern with Secure Boot enabled, open a Terminal, enter "vdc cryptfs verifypw *pattern*".

The result will be 200 xxxxxx 0 if you used the same pattern as the original and 200 xxxxx -1 if it's different. Then change your lockscreen pattern again to something else. Apparently that's how you get rid of the boot password.

Next problem, re-enabling a pattern WITH secure boot will result in a working encryption pattern with a not recognized lockscreen pattern. Will do more testing.

Right now I'm testing the lockscreen disconnect issue without your kernel update to rule out it's not related to that. I have fixed the issue before but that was after flashing your kernel. I have no clue how it got fixed. Maybe your kernel resets something in the /boot partition? What exactly does a kernel flash do in that regard?
[G4 Android Development] crysknife4life:
Can we dirty flash this over the latest official LOS which was released ages ago? I'm asking because it is not my phone but wanted it updated without really saying but you have to setup your phone from scratch.
[G4 Android Development] a tiny ant:
Also [MENTION=8699949]ThePiGuy[/MENTION], are there any tests you recommend with your kernel? Every day use like browsing internet, watching YouTube and the occasional game seems fine.
[G4 Android Development] djibe89:
Thank you very much.

I should learn to build LOS.
[G4 Android Development] a tiny ant:
https://hacksandgeeks.com/single-post/2017/04/02/How-to-Build-Custom-Lineage-OS-ROM

That page really helped me with it. It's just a lot of patience really. And you need a LInux installation.
[G4 Android Development] djibe89:
Thanks, again ;)
[G4 Android Development] ThePiGuy:
Nah I wanted to see if it was stable day to day (which it appears to be)
[G4 Android Development] a tiny ant:
Alright. Do you have any idea what could cause the password disconnect issue? It's apparently not related to your kernel or Magisk, it happens on a pure installation as well.

I can set a pattern or screen lock and it also updates the encryption password, but a reboot causes the lock screen to be no longer recognized. The encryption key is fine however.

Something in the boot script seems to affect the lockscreen settings but I've been unable to find out which script did it.
[G4 Android Development] ThePiGuy:
No unfortunately I don't. It's something in the generic lineage code as Oreo works fine but we don't know what changed it to make it work
[G4 Android Development] Netsab:
Hi, I just read in the 15.1 thread that double tap to awake is terribly battery draining. If I disable it from Android settings, could I get the battery improvement or it needs a kernel intervention? Thx
[G4 Android Development] ntnlzr:
try?
[G4 Android Development] Netsab:
Thank you so much...

Trying cost me days of test to have a good conclusion and no just a placebo effect.

May be a dev just know the answer, avoiding unnecessary waste of time.
[G4 Android Development] steadfasterX:
Disabling it will help just a bit because the driver will be still active in the background so you need the Kernel with that fix to get the full battery improvement
[G4 Android Development] Netsab:
Thank you.
[G4 Android Development] ntnlzr:
use a detailed battery stats app, just 1 day for check usage
[G4 Android Development] owlery_hk:
Seems to be working just fine...

Xposed and magisk is working.

My alarm went off just then...

to be honest, i cannot tell the difference between your build and the older unofficial ones.

one thing i do miss is the titan kernel though.
[G4 Android Development] Abrilabr:
is this rom Usu Compatible? H812
[G4 Android Development] owlery_hk:
Interesting that i just noticed that grab app, which took over uber in malaysia works better with [MENTION=8699949]ThePiGuy[/MENTION] 's build.

Previously on the genesixxbf3 unofficial build with titan kernel I had to switch off xposed and reboot to avoid it force closing on me within a few seconds of launching it.

Now I can use it with xposed on and everything.

Not sure if it is to do with the titan kernel.
[G4 Android Development] a tiny ant:
[MENTION=8699949]ThePiGuy[/MENTION]

So is the kernel update going to be part of the official LineageOS repo from now on?
[G4 Android Development] ThePiGuy:
I submitted it as a patch (https://review.lineageos.org/#/c/LineageOS/android_kernel_lge_msm8992/+/228412/ ) but unfortunately nothing was done.

I mentioned it on Reddit and was told nothing else was likely to be merged (especially a patch that big) until we get the device running lineage to an official standard (no major bugs)
[G4 Android Development] a tiny ant:
Hmm alright. I guess I know about your kernel updates then. Did you use any specific guides for building the kernel? Building the rom itself is fairly easy but I haven't gotten kernel building under control yet.

Also. Maybe you can help with this. I'm trying to add the Lineage security patches to older Lineage based roms (CrDroid). The maintainers of those roms have long given up, but is this something I can do myself? Which parts of the source directory have to do with the android security patches?
[G4 Android Development] ThePiGuy:
I use this guide to build the kernel on it's own - https://xdaforums.com/android/software-hacking/reference-how-to-compile-android-kernel-t3627297

As for adding security patches to an unmaintained rom. I assume you mean the developers of the rom itself have stopped patching nougat. If so then unfortunately I can't help you there (never tried to do it for an entire rom)

Edit: corrected the above sentence (for some reason I put lineage when I meant nougat)
[G4 Android Development] a tiny ant:
Another thing.

Is there any way to get slow motion video recording working on Lineage? So far none of the Gcam ports even show the option and when it does it only crashes.

On stock the camera can record 120fps but the best possible on Lineage is 60fps.
[G4 Android Development] Konstigt:
Trying to install the last genesixx build on top of my current, 20170926-nightly-signed.

I get this in TWRP:

Can't install this package on top of incompatible data. Please try another package or run a factory reset.

Updater process ended with ERROR: 7

Error installing zip file '/sdcard/Download/lineage-14.1-20180517-UNOFFICIAL-h815.zip'

Do I need to wipe data before I can install it? I did a wipe of Cache+Dalvik before flashing.

Edit: Think I found the answer in this post

So here's how to do it:

1. Backup System and Data with twrp (to internal, micro sd, or usb otg)

2. Wipe System, Data, cache, dalvik cache with twrps advance wipe ( wipe/advance wipe

3. Flash the update.

4. Now flash things from what you had had on the system before (EG: Google apps, SuperSU)

5. Restore Data from the backup from before and wipe the cache and dalvik cache
[G4 Android Development] lolg4:
Is this ROM better then the stock one? I have some problems with the stockrom, e.g. :

-If I only have edge, the screen starts to press itself. Like 1000 times a second. With LTE no problem, just with Edge (=2G)

-If I start loading the empty battery, it immediately jumps to 20 %

Can you please tell me, if switching the rom does solve my problems? Thanks a lot!:)
[G4 Android Development] brossovitch:
Sounds like a hardware issue. With the screen.
[G4 Android Development] lolg4:
Thanks for your answer!

The batteryproblem can be a hardware issue, thats true. Maybe its getting old.

But the Screenproblem is there since I moved to another city.

In the subway the mobile phone reception drops vom LTE to Edge and then the screen turns crazy.

I thought it could be some driver issue or something.
[G4 Android Development] brossovitch:
Thats odd. Yea the batteries on my g4 are not great so I have 5. They're compatible with the LG Stylo2 i believe. In case you want to buy another.

The screen issue, i don't know.

The ROM is great overall you should try a few different ones to see what you like..
[G4 Android Development] lolg4:
I will try it! Thanks.

Just for other if they face the same problem. I found a thread: https://xdaforums.com/g4/help/mysterious-taps-touch-input-lg-g4-t3336044/post69637403#post69637403

There is no solution known to fix it. You have to switch the Screen!
[G4 Android Development] Netsab:
Hi guys,

Some thing strange with my g4, sometimes my phone doesn't ring or notify me of call and sms, internet data is OK but callers listen the tone and get my voice mail. When I try to call in this buggy time, no tone, sms seem to be sent but never arrived, internet data ok.

But when I reboot de phone, notifies appear.

Smell like soft or hard issue for you?
[G4 Android Development] spokje:
Hmm I've searched within this thread but I can't seem to find a recent mirror that works. I would really want to try this rom. Can someone help me with a working mirror? :)
[G4 Android Development] ThePiGuy:
If you want a 14.1 build, you can give my unofficial one from a few months ago a go (https://drive.google.com/open?id=1E_7gAZFyT-u1LLz_lmHUvKlEF4AGzCNj)

Officials haven't existed for well over a year due to encryption issues with 14.1 and BT issues with 15.1

(Looking now, my build seems to be H815 only so if you need a H811 build, let me know - I'd be happy to run a new build for H815 and H811 if there is enough interest)
[G4 Android Development] hteles:
Hey.

Thanks for your kind offer, but without encryption working I rather stay on yours h815 Oreo version and sacrifice Bluetooth calls.

PS: Just wanted to clarify because i wanted to give you thanks, but at the same time wanted you to know that.

Regards. :good:
[G4 Android Development] spokje:
Thanks you so much! Mine is a 815 so that should fit just fine. I will download it later today. Awesome!
[G4 Android Development] spokje:
Update:

Seems to work great! I couldn't check the md5 checksum (wouldn't match the md5 file) but it works as advertised :D again, thank you very much!
[G4 Android Development] ThePiGuy:
No worries

Glad it works :)

Edit: just checked the MD5 and it matches up with the hash generated on my pc. Not sure what's going on with yours
[G4 Android Development] spokje:
This is perfect! My phone feels like it's new again :D
[G4 Android Development] Netsab:
Is it a Titan kernel or stock one? If not Titan, I'm interested to update my 1800517 build. Titan makes my phone freeze on PIN once Android is started...
[G4 Android Development] ThePiGuy:
It's the stock lineage kernel + I updated it to 3.10.108 (by default lineage is 3.10.84) and added a few security patches
[G4 Android Development] steadfasterX:
The kernel has nothing to do with the pin wait delay.
[G4 Android Development] Netsab:
I know but the fact is when I flash titan and boot, first boot ok till the pin, freeze and crash and after that, I got infinite boot.

Could we have access to your drive once again? I miss it and now, no more access. Thanks
[G4 Android Development] steadfasterX:
My drive?
[G4 Android Development] Netsab:
ThePiGuy gave a link
[G4 Android Development] ThePiGuy:
Oh my personal Gdrive (you quoted [MENTION=5545101]steadfasterX[/MENTION], hence the confusion)

Does the link not work any more?

Edit: I think I see the problem

Try this

https://drive.google.com/open?id=1E_7gAZFyT-u1LLz_lmHUvKlEF4AGzCNj
[G4 Android Development] jovanv:
I don't know what the general interest would be, but I am personally interested in new 14.1 builds for H815, as the BT problem is a showstopper for me and I don't care too much about encryption. So, I have to stick to Nougat. I know people are on the move to Pie, but I am afraid the BT problem will also be present in P,

So, I was planning to learn how to update a ROM on my side, so if you could send me some links on where to start, I'd really appreciate it.
[G4 Android Development] ThePiGuy:
Ok so to build 14.1, you should follow this guide by Lineage

https://wiki.lineageos.org/devices/h815/build

When you get to the part where it asks you to repo sync, first create a directory in the .repo folder called "local_manifests". Then create a file inside that directory called "roomservice.xml" and copy the following into it.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<remote name="ThePiGuy"
fetch="https://github.com/ThePiGuy0" />

<remote name="TheMuppets"
fetch="https://github.com/TheMuppets" />

<project name="LineageOS/android_device_lge_h815" path="device/lge/h815" remote="github" />
<project name="LineageOS/android_device_lge_g4-common" path="device/lge/g4-common" remote="github" />
<project name="android_kernel_lge_msm8992" path="kernel/lge/msm8992" remote="ThePiGuy" revision="cm-14.1-updated" />
<project name="LineageOS/android_device_lge_common" path="device/lge/common" remote="github" />
<project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="LineageOS/android_hardware_sony_thermanager" path="hardware/sony/thermanager" remote="github" />
<project name="LineageOS/android_hardware_sony_timekeep" path="hardware/sony/timekeep" remote="github" />
<project name="LineageOS/android_packages_apps_FlipFlap" path="packages/apps/FlipFlap" remote="github" />
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
<project name="proprietary_vendor_lge" path="vendor/lge" remote="TheMuppets" />
</manifest>

If you are interested, the above is what is created when you run "breakfast h815" - it trawls through all the "lineage.dependencies" files to create a set of repos that need to be synced. This is one I generated, and then I have modified it to use my kernel instead of the lineage one and it also pulls the proprietary files).

By putting all this in before the repo sync, we can pull all the needed files in one go.

Back to the instructions from lineage - run repo sync, skip the breakfast h815 and the proprietary blobs steps, and then continue as instructed
[G4 Android Development] coast2coast:
I am also interested in future updates for this nougat-based rom. May do some building as well. I just moved from Oreo CypherOS to this one and so far so good! The BT bug is a big no-no for me as well.
[G4 Android Development] sperelli:
Thank you so much for your work.

Which security patches are in this 20180916?

Are BT phone calls working?

Regards
[G4 Android Development] ThePiGuy:
If I remember correctly, I did update the kernel to the most recent patch level when I created the build (please bear in mind that this was my first attempt at updating the kernel and it is possible I missed a few patches - however, stability is good as I have had multiple users test it for extended periods of time and encounter no issues)

And yes, BT phone calls are working as this is an N rom (which does mean unfortunately the encryption is broken)
[G4 Android Development] sperelli:
hq video rec still broken as in genesixxs'?
[G4 Android Development] ThePiGuy:
I haven't tested it, but I haven't changed anything todo with it either so I would imagine so
[G4 Android Development] djibe89:
Hi everyone,

any new build for this ROM ?

The Pi Guy ones (https://drive.google.com/drive/folders/1OMRafjgakTaTcAeo5OL0MZtE1Rh_t-92) date back to September.

Thank you all for your precious help
[G4 Android Development] Njoatun:
Hi everyone too!

I flashed the Pi Guy build from September on my friend's G4.

Everything works fine except one bug which occurs occasionally.

So sometimes when she locks her phone nothing is reacting anymore.

Neither pushing the power button nor holding all buttons for at least 10sec leads to any reaction of the phone.

She has to remove the battery to reboot the phone.

Any solution on that problem? Thanks in advance!
[G4 Android Development] Netsab:
With this build, my G4 sometimes stuck in sleep. I have to stress the power button to wake. I don't remember same problem with later builds
[G4 Android Development] hero4712:
Compile Problem

Hi, I tried to compile it (H815), but I always get the error

../../../../../../kernel/lge/msm8992/kernel/futex.c:336:2: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
mapping = READ_ONCE(page_head->mapping);

Anyone having the same problem?

---------- Post added at 01:14 PM ---------- Previous post was at 12:36 PM ----------

@ThePiGuy:

The Kernel is 3.10.108, but futex.c looks like being from a newer kernel > 4.4. Maybe we have to add some lines to include/linux/compiler.h?
[G4 Android Development] pocepoke:
i got some problems with the video recording,

it record but no saving in the internal or sd card

if i using google camera it works fine

and no 4k recording on LOS camera

im using default kernel and titan kernel the result is same

and there 1 problems ( for me) i cannot remap the capative buttons for menu []

im all ready edited the .kl file in /system/usr/keylayout for menu but still no change
[G4 Android Development] Netsab:
Video recording is a know issue. Use other app like Google Camera or Open Camera
[G4 Android Development] hero4712:
I added the needed Macros in include/linux/compiler.h and was able to create a new build. I tested only a few things and it looks o.k.

Here is the Download: https://homeator.com/lineage/

Security-Patches from December 2018

Thx to ThePiGuy!

Edit: Version 20190208 with Security-Patches from January 2019 (But maybe without Kernel-Patches)
[G4 Android Development] pocepoke:
running open camera app make the processor very hot even i dont recording or take a picture

so better using google camera
[G4 Android Development] levider:
What version do u recommend?
[G4 Android Development] hero4712:
New build with Security-Patches from February:

https://homeator.com/lineage/
[G4 Android Development] hteles:
Would that have Encryption working and I would jump that bandwagon..

Thanks, a great gift for so many people.
[G4 Android Development] hero4712:
Sorry I can't answer this. I have never tested it. I took the kernel-Sources from ThePiGuy and the official Build-Environment to compile ist. Thats all. I do not have the time to look for other fixes.
[G4 Android Development] hteles:
Yes, we are aware that is a harder and inner problem. It is only working on Oreo.

:good:
[G4 Android Development] hero4712:
New build with Security-Patches from March:

https://homeator.com/lineage/
[G4 Android Development] hero4712:
Time for a new build: Security-Patches from April 2019
[G4 Android Development] ThePiGuy:
Nice work :good:

Just out of interest, are you merging kernel patches as well?
[G4 Android Development] hero4712:
No, I only use your Kernel Sources as described some Posts before with only one file changed (compiler.h).

If you tell me how to merge Kernel-Patches, I can do it. Some Shell-commands are enough. Or you can include them into your Repository and they will be included next time.
[G4 Android Development] pmarion427:
any recent builds for H812, having no luck searching
[G4 Android Development] VladMatao:
How do you update the os without losing the data? Is it trough twrp?
[G4 Android Development] polfrank:
If you have LineageOS 14.1 installed, you can install the newer version of 14.1 over the last one (Dirty flash) through TWRP. This will not cause any problems in most cases and you get to keep your data. However, you'd better do a backup of your data before any modification through TWRP, just in case something goes wrong.
[G4 Android Development] pmarion427:
Tried this, they are marked as H815 and return error 7
[G4 Android Development] adam_s_459_:
You need to remove the assert line in the rom located in:

/META-INF/com/Google/Android/updater-script. Remove all text above where you see the first "ui_print" in the text file and you shouldn't get an error anymore. The reason for this is because you are flashing a rom for another model (which is fine in this case) and it is trying to prevent you from installing the wrong software and bricking your phone (which in this case it will not). :good:
[G4 Android Development] Ponder Stibbons:
Thank you so much!
[G4 Android Development] owlery_hk:
are you going to build one with may patches?
[G4 Android Development] hero4712:
When the changes are available. See https://www.lineageoslog.com/14.1
[G4 Android Development] owlery_hk:
thanks a lot mate!
[G4 Android Development] hero4712:
It's done.

New build with Security-Patches from May:

https://homeator.com/lineage/
[G4 Android Development] steadfasterX:
Yea or here

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

;)
[G4 Android Development] hero4712:
Untested new build with Security-Patches from June:

https://homeator.com/lineage/
[G4 Android Development] hero4712:
New Version with Patches from July available
[G4 Android Development] hero4712:
It's August
[G4 Android Development] hero4712:
New untested Build with Patchlevel from September:

https://homeator.com/lineage/
[G4 Android Development] hero4712:
I get "Bluescreens" since some weeks. Anybody else? Maybe it's a Problem with my Smartphone or some Apps.
[G4 Android Development] avro04:
fresh & clean flash your last build and no have blue screen yet. 3 hours after flash only. sory.
[G4 Android Development] sisssou:
I get some too, but rarely... (could not get any logcat)
[G4 Android Development] masemoel:
Guys, what is the reason that makes you stay in Nougat?
[G4 Android Development] sisssou:
Responsiveness, and regular security patches.

And lot of crashes with LOS 16 for me....
[G4 Android Development] N1ghtH0wler:
which one i should i use for h811? the links dont work
[G4 Android Development] sisssou:
Is this ROM still builded for 811 ?
[G4 Android Development] hero4712:
Is Bluetooth Audio/Call working in a newer Version?

P.S. new Build will be available soon
[G4 Android Development] hero4712:
New Version available https://homeator.com/lineage/
[G4 Android Development] hero4712:
I tested 15.1. Bluetooth calls are working (Showstopper for me). No Bluescreens, but some reboots (Better, cause Display will not stay on all the time). So I switched to 15.1.
[G4 Android Development] gioyann:
In last version I have a minor, but annoying, bug: when I play music on my car infotainment system, the bluetooth trasmission only show the title of the song, not the second line with artist's name. If I tried another smartphone (stock ROM) it will display both the lines (Author and Title of the song). What's the point?
[G4 Android Development] ntnlzr:
it's a2dp version i've similar issue with my car i'see previous title of the track, first it's right, second one display the first one, third the second.....
[G4 Android Development] hero4712:
New untested Version with Patches from November: https://homeator.com/lineage/14.1/

I use 15.1 now.