yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] puzzimassa:
OH my goodness, you're amazing. Thank you so much and thank you [MENTION=957498]phr00t[/MENTION]. You guys are so awesome and I am so thankful and happy about this. I'm going to flash right away :)
[LG V20 Guides, News, & Discussion] Phoenix591:
Definitely don't forget [MENTION=5103965]omar-avalar[/MENTION] who keeps on putting in loads of work into Gamma kernel itself, all I did was the simple step of changing a single config line.
[LG V20 Guides, News, & Discussion] puzzimassa:
Well he deserves my thanks too :)
[LG V20 Guides, News, & Discussion] Grillac:
US996 checking in here. Using x86cpu's 0802-SS build and Phoenix591's gamma kernel. AOSPSignBoard crashes when I try to open the SS settings. BoredSigns also doesn't install. Dirty flashed over from latest x86cpu normal build.
[LG V20 Guides, News, & Discussion] Phoenix591:
Might be an issue with his build or maybe needs a clean flash.. I know if it was a kernel problem it usually manifests with the display being messed up. At least wipe cache/dalvik. Beyond that I'd check his thread
[LG V20 Guides, News, & Discussion] puzzimassa:
Aospsignboard is working for my on my H918. Boredsigns never worked even on the stock kernel of lineage 15.1, it only added to the aospsignboard settings and gave me more stuff to enable. I barely was able to use boredsigns without it crashing. Maybe it's because I don't have Google play services on my phone. Anyways, the second screen works and that's the important part. If someone has boredsigns working let me know and if you have Google play services, I installed microg instead like normal.
[LG V20 Guides, News, & Discussion] vijaysh80:
Can the H990 be used for H990DS also?
[LG V20 Guides, News, & Discussion] Phoenix591:
Looks like it glancing through a search of the gamma kernel thread

---------- Post added at 04:06 AM ---------- Previous post was at 04:02 AM ----------

Doing things within boredsigns itself is buggy/crashy but the widgets it adds are not, and those are what really matter imo. (Running slightly trimmed super opengapps)
[LG V20 Guides, News, & Discussion] Grillac:
Last time I flashed the 0802-SS build there was no gamma for it. BoredSigns and AOSPSignboard both worked fine for me. There were a lot of bugs though. Like adding the volume buttons on the second screen crashed something and then my hardware buttons didn't work for adjusting the volume anymore. Yeah, I have Google Play Services installed.
[LG V20 Guides, News, & Discussion] puzzimassa:
Were you able to actually use boredsigns without it crashing and no lag? For me it was like it was really struggling to even start. I'll get to spoofing Google play in a minute and see how it goes
[LG V20 Guides, News, & Discussion] Tilde88:
Were the cflag changes the ones phroot pointed out in the makefile a few posts above? If not, can you specify what change? Thanks in advance :)

Hey there. Great work! Any chance you could tar up the necessary files for 2nd screen support? I'm just using stock los kernel and i added kcal to it, want to try with 2nd screen see whats up, and keep kcal lol. ty sir
[LG V20 Guides, News, & Discussion] Grillac:
Clean flashed any everything works now.

---------- Post added at 05:00 PM ---------- Previous post was at 04:58 PM ----------

Clean flashed and now it works. BoredSigns seems to really just add more content to the SignBoard settings. It all runs pretty well.
[LG V20 Guides, News, & Discussion] phr00t:
The Gamma kernel I built has kcal & second screen support. You also need a Lineage build with second screen support. I don't think it is as simple as tarring up the changes, and if it is, I don't now how. I'm only going to build it as these packages.
[LG V20 Guides, News, & Discussion] Tilde88:
Gotcha. Gamma is giving me performance issues atm, so i cant use it. Take care! :)
[LG V20 Guides, News, & Discussion] Phoenix591:
Need to replace parts of the lineage manifest with repos from Zacharee. Here's a manifest file to stick in .repo/local_manifests

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remove-project name="LineageOS/android_frameworks_base" />
<project name="zacharee/android_frameworks_base" revision="lineage-15.1-signboa" path="frameworks/base" remote="github" depth="99999"/>
<project name="zacharee/android_packages_apps_AOSPSignBoard" path="packages/apps/AOSPSignBoard" remote="github" revision="master" depth="9999" />
<remove-project name="LineageOS/android_system_sepolicy" />
<project name="zacharee/android_system_sepolicy"
path="system/sepolicy" remote="github" depth="999"/>
</manifest>

Kernel wise: you just need to edit

arch/arm64/configs/lineageos_elsa_common

and comment out CONFIG_LGE_DISABLE_SECOND_SCREEN=y

And as of this post there are two minor build issues: lineage made some changes that need to be merged in frameworks/base and packages/apps/Settings. Go to packages/apps/Settings and

git pull https://www.github.com/lineageos/android_packages_apps_Settings lineage-15.1

.

and go to frameworks/base and

git pull https://www.github.com/lineageos/android_frameworks_base lineage-15.1
[LG V20 Guides, News, & Discussion] TheLoonyRebel:
New builds dated from 8/9 are up on Zach's site. However at least for the H918 going into SignBoard crashes Settings which much like the 8/4 build points to the latest Lineage Settings needing to be pulled in. But alas we're still in the beta phase of this so dragon's lurking around, right? On that note the Gamma kernel posted earlier today works great on both Zach's 8/2 build and x86's 8/4 build. Feels a bit more smoother and polished oh and KCAL support which helps.
[LG V20 Guides, News, & Discussion] rjavc:
Just checked x86 builds, the only build he posted dated 8/2. Where did you checked it?
[LG V20 Guides, News, & Discussion] Grillac:
Check the op for Zach's builds/site. x86 has their own thread with their own builds.
[LG V20 Guides, News, & Discussion] TheLoonyRebel:
Oops I meant 8/2 not 8/4 sorry.
[LG V20 Guides, News, & Discussion] karismakaris:
Are there builds for vs995 yet?
[LG V20 Guides, News, & Discussion] dark_prince:
Can u upload to afh or gdrive please. For some reason DL server doesn't work even after using VPN , I can't download kernel and stuck with 2nd screen on main screen

---------- Post added at 06:04 PM ---------- Previous post was at 05:46 PM ----------

NFC is greyed out in settings at ON and right now the most battery is used by com.android.nfc

Is there a fix? It had been like this for x86's and RR builds too. Forcing me to roll back to stock everytime
[LG V20 Guides, News, & Discussion] phr00t:
I seem to be able to turn NFC on & off via my settings screen, although I generally leave it off since I have no current use for it. It must be a bug with Lineage, perhaps specifically for your device variant... :confused:
[LG V20 Guides, News, & Discussion] puzzimassa:
Can you put those builds back up? My friend flashed v24 and it isn't working on his vs995. It's putting the 2nd screen on his main screen but the ones you posted worked on mine
[LG V20 Guides, News, & Discussion] c0mpl3xy:
Puzzimassa's friend here. I just tried flashing lineage without flashing gamma
[LG V20 Guides, News, & Discussion] Zacharee1:
So I'm going to be sort of ducking out of this one.

This does NOT mean I'm not working on the project anymore. But I just can't wrap my head around AOSP itself to make the needed modifications. I know what needs to be done, just not how to do it, because of the lack of documentation. If someone here is good with C++, that would be really helpful, since we need to add the second screen backlight to the Lights HAL, which is mostly C++.

Instead, I'll still be making widgets, and probably working on the API itself for adding pages and such. It'll be slow though, since I have other stuff to do.
[LG V20 Guides, News, & Discussion] DarkFamiliarity:
Out of curiosity, is an always on 2nd screen something that would be possible on AOSP ROMs in the future?
[LG V20 Guides, News, & Discussion] Redline:
So just because there's now a second screen build that's up to date available, as well as a latest Gamma kernel with second screen support, I'm just wanting to verify the process for it.

1. Flash LOS SS build (currently using non SS)

2. Flash Gamma kernel with SS support

3. Install the Boredsigns app from the play store.

4. Probably reboot for good measure.

Is there anything else?

---------- Post added at 12:32 PM ---------- Previous post was at 12:28 PM ----------

SS support is available on LineageOS 15.1, which is an AOSP ROM, by x86cpu in his thread for it. There's a V20 second screen folder under the downloads.
[LG V20 Guides, News, & Discussion] TheLoonyRebel:
Add in Xposed if desired but otherwise that's a good summary.

I'm running the latest second screen build that just came out yesterday. Fantastic all around with a nearly flawless second screen when the main screen is off. Combine that with the Gamma kernel posted a few days ago and it's very solid.
[LG V20 Guides, News, & Discussion] Redline:
Squashed screen on H990 with latest LOS SS build and Gamma kernel SS build. My reply and process is in the LOS thread HERE
[LG V20 Guides, News, & Discussion] DougWare:
Same for me on my US996.
[LG V20 Guides, News, & Discussion] phr00t:
I made a new build for H910, with the latest Lineage 15.1 changes & Gamma v24.1 with second screen enabled. I've also fixed the duplicate notification bug in my build of BoredSigns -- now an app will only show at most 1 notification each in the status bar in your second screen (aka "Information Widget").

Lineage 15.1: https://drive.google.com/file/d/1FQ5YgEDNdYTiFi55MJpMzJp41O3iPtBK/view?usp=sharing

Gamma v24.1 H910 /w Second Screen: https://drive.google.com/file/d/1RgIEHV-_HiOxnhotLdDcLMjw_jJmeyz3/view?usp=sharing

BoredSigns is included in my Lineage build, but here is the APK with the duplicate notification fix for anyone else who wants it: https://drive.google.com/file/d/13sk3mqnn9hwDo0qkEH-LXwt1rFphAcNF/view?usp=sharing

I'll be updating my github repo here: https://github.com/phr00t/BoredSigns with the changes to fix the duplicate notification bug if Zach wants to merge it (since my build has other limitations, like weather features don't work)
[LG V20 Guides, News, & Discussion] TheLoonyRebel:
Great job fixing the duplicated notification bug. Speaking of bugs testing on the Lineage 15.1 build x86cpu released yesterday when the main screen is off BoredSigns with the information one on the secondary screen does not update the time or anything until the main screen is turned back on.
[LG V20 Guides, News, & Discussion] phr00t:
Don't worry, the second screen backlight is just one request. I'm personally happy with the "hand wave" to show the screen with the whole screen otherwise off, although I know others would like the separate backlight. My personal "wish list" at this point is a "recent apps" widget, like stock LG has. Beyond that, having the rotation bug fixed. If I find time, I'll see if I can make any progress on those fronts (although I know you are far more capable, time permitting). Any tips on getting started on a "recent apps" widget would be really appreciated.
[LG V20 Guides, News, & Discussion] Furline:
I got it all installed and it's working alright. One issue, though. The BoardSigns icon is constantly in my notifications. Is there a way to get it to go away?
[LG V20 Guides, News, & Discussion] Grillac:
Just turn off notifications for the BoredSigns app. That's what I did
[LG V20 Guides, News, & Discussion] Furline:
I might be missing something really obvious since I am fairly new to Oreo, but is there a way to do it that I am not seeing?

When I try to hide notifications from it, it says "Notifications for this app can't be turned off" as shown in this screenshot:

https://i.imgur.com/gsAWGXT.jpg

Is there some other method I am overlooking?
[LG V20 Guides, News, & Discussion] Zacharee1:
You can't turn off notifications for system apps. If you want BoredSigns without the notification, you'll need to install my build and either buy BoredSigns, ask me for a promo code, or build it yourself.

Sometime soon, I'll be working on avoiding foreground services altogether.
[LG V20 Guides, News, & Discussion] Furline:
Ah thanks for the reply. I might go back to your build, then. When I was on it and tried to get BoredSigns to work, I was having issues. I think I know what I was doing wrong then. I already bought the app last night.
[LG V20 Guides, News, & Discussion] phr00t:
I'm using AutoNotification, a free app, which allows me to hide the BoredSigns app.
[LG V20 Guides, News, & Discussion] phr00t:
New build for H910 V20 AT&T Version, Lineage 15.1 + BoredSigns + AOSPSignBoard (e.g. everything you need for a 2nd screen). This version removes the BoredSign notification icon from the 2nd screen's status bar where it was the most annoying -- no hiding or AutoNotification app needed. The BoredSigns notification icon will still show in the standard status & notification bar, but you don't look at that one that often anymore :P This update also includes a fix from Zach that allows you to easily pull down the notification drawer, even starting from the second screen. Zach also had some interesting ambient display progress that just lit the 2nd screen's background, but it is too buggy to be useful yet -- so I commented that feature out. Finally, this pulls in any recent changes from the whole Lineage source:

Lineage 15.1 Combo Package: https://drive.google.com/file/d/1fUma5ILzystFe-DfEMR4Lz-byd33IqGh/view?usp=sharing

Gamma H910 v24.1 Kernel w/ second screen: https://drive.google.com/file/d/1RgIEHV-_HiOxnhotLdDcLMjw_jJmeyz3/view?usp=sharing
[LG V20 Guides, News, & Discussion] sjavvaji:
I'm not sure if this feature has been requested before. The x86cpu build enabled AOD for just the second screen like stock which is amazing. However, I don't really want to look at my status bar twice after I unlock my phone. Is there a way to have BoredSigns/AOSPSigns display the notication bar (information screen) when on AOD mode but switch to something else like Music Controller when the phone is unlocked?
[LG V20 Guides, News, & Discussion] phr00t:
Settings > Display > Advanced > Extended Desktop > Hide Status Bar

That feature hasn't been requested yet, but try the above.
[LG V20 Guides, News, & Discussion] TheLoonyRebel:
Trust me when I say I am very thankful for all the hard work all devs have put into the V20. I wish I could learn how to do all this myself so I could contribute more myself other than getting occasional logs for issues. Maybe one day. :)
[LG V20 Guides, News, & Discussion] elijah420:
With the rapid fire rate of release of new devices, there is no way for any one to gain traction over the next really. The only way is thru marketing i think. While i watch next to no television to begin with,i am still familiar with Samsung products being shown on tv. When was the last time I saw a LG ad? Legitimately? I cannot remember.

****.. The v30 has had images of it leaked.. This ****ing phone (the v20) isnt even a year old yet and its replacement is already being touted.

My next replacement will be something root friendly from the get-go (e.g. HTC O+O etc.) LG, Samsung, et al are for the most part off my buy list.

Even the note 8 is off the table most likely as my carrier will carry it bootloader locked.

The v20 is a niche device disguised as a flagship. Itll be treated as such.. Lackluster support and the whole lot.

Unless the v30 just knocks it the **** outta the park in all areas of execution, this will be my first and last LG device.

I will miss the hell out of the 2nd screen when it comes time to change to whatever catches my eye whenever it catches my eye.
[LG V20 Guides, News, & Discussion] speculatrix:
Could the secondary display be set up to behave like an oddly shaped android wear device?

That would give you the APIs for sending notifications to it, as well as maybe touch interface?
[LG V20 Guides, News, & Discussion] emdroidle:
Ping!

Any news? Any publicly visible source code? (GitHub I imagine?)
[LG V20 Guides, News, & Discussion] Gabe2014:
Hello just went to greet everyone and find out if there is any news ?
[LG V20 Guides, News, & Discussion] TheLoonyRebel:
If there was any news it would be posted here. Just saying.
[LG V20 Guides, News, & Discussion] wickedninjalo:
We should start a bounty. I'm willing to throw $20 at a fully functional second screen on AOSP.
[LG V20 Guides, News, & Discussion] ASMstudent:
Sorry if this seems repeated, I was thinking to get myself a LG V20 but without the second display supported in custom ROMs LG g5 will be a cheaper alternative, so I just needed to know the likelyhood this will work out regardless of the ETAs .
[LG V20 Guides, News, & Discussion] uppon2:
That's not a bad idea at all
[LG V20 Guides, News, & Discussion] Zacharee1:
I can certainly convert the thread.
[LG V20 Guides, News, & Discussion] Gabe2014:
Not a bad idea my friend

+ $20
[LG V20 Guides, News, & Discussion] Zacharee1:
If you all give me a few hours, I'll make a new thread or convert this one. If someone else is bent on making a bounty thread, that works for me too.
[LG V20 Guides, News, & Discussion] Gabe2014:
Just a opinion I guess is better idea to convert this one because already have all the information about the second screen progress bro .

But waiting for the bounty thread , thanks :good:
[LG V20 Guides, News, & Discussion] Zacharee1:
Alright, a couple of you should have gotten pings, because I edited the post to show bounty info!

I set up a little list of requirements for an eligible project. It is very rough, and things can be added or removed freely.
[LG V20 Guides, News, & Discussion] Gabe2014:
Thanks hopefully we give up Whit the bounty

Count other $20
[LG V20 Guides, News, & Discussion] Zacharee1:
You're going to $40?
[LG V20 Guides, News, & Discussion] Gabe2014:
Just $ 20 for now but if I can I'll
[LG V20 Guides, News, & Discussion] TheLoonyRebel:
I'll throw in $10
[LG V20 Guides, News, & Discussion] Zacharee1:
Put you down for $20-$40
[LG V20 Guides, News, & Discussion] Zacharee1:
Added.
[LG V20 Guides, News, & Discussion] sjavvaji:
Thanks for the idea although it's not exactly what I'm looking for. I'll see if I can set it up with Tasker when I have time.
[LG V20 Guides, News, & Discussion] DarkFamiliarity:
Really? I'm running that build on my h918 (the one from the google drive downloads), but I think this is the build from august 14. Second screen doesn't work when the main screen is off and AOSPsignboard only has 2 options. How can I update? Thanks.
[LG V20 Guides, News, & Discussion] Redline:
[MENTION=957498]phr00t[/MENTION] Any chance you could change the "config_lge_disable_second_screen=y" in the h990 defconfig on the latest v26 or v24 Gamma if that's the one that works for the second screen, and build it? I've cloned the repo myself, changed it but I'm stuck on how to actually build it now, and this isn't the thread for that.
[LG V20 Guides, News, & Discussion] phr00t:
I don't particularly have time to build for other devices... but to build it yourself, make sure you have the linaro cross compiler toolchain v6.4.1 installed (starting from https://releases.linaro.org/components/toolchain/binaries/6.4-2018.05/) then run "make lineageos_h990_oxavelar_defconfig" (which should also be the defconfig you changed the disable_second_screen line with) to setup the build environment for your device. Then, run make. Hopefully it compiles. You will get a Image.db-dtz file (or something like that, it will say at the end of a successful build), and that is what you put into the flashable ZIP (feel free to replace an existing Gamma flashable ZIP Image.db-dtz contents).

Found a bug with BoredSigns, which I'm hoping [MENTION=7055541]Zacharee1[/MENTION] could help with (I've yet to look into it) -- the Information Widget stops updating if no cell service exists.
[LG V20 Guides, News, & Discussion] Redline:
Yeah I can't work it out haha. I get given file not existing errors and I don't know if I've got the right linaro setup (there's a ton of different ones under the downloads and I've no idea which to use) and I've tried scripts to pre-build a linaro 6 for me, ah well.
[LG V20 Guides, News, & Discussion] Phoenix591:
Omar's (or my forked version) own build scripts have the compilers with them
[LG V20 Guides, News, & Discussion] Redline:
Okay [MENTION=957498]phr00t[/MENTION] I think building it is all good to go, except when I do the final make -j$(nproc --all) it gets stuck on "gcc: error: unrecognized command line option '-mlittle-endian'; did you mean '-fconvert=little-endian'?" so I'm not sure what to do now. I got it to build successfully without specifying a defconfig file, but it just booted into a kernel panic when I flashed it and rebooted (as it obviously would). So just needing help to get past this and then I should be okay. I've specified the ARCH, SUBARCH, run "make clean" "make mrproper" "make defconfighere" It would seem that Gamma v26 has a form of detection for second-screen built in automatically, without having to specify manually if the second screen is on.
[LG V20 Guides, News, & Discussion] Phoenix591:
Looking at his build script it appears he's trying to override the defconfig of having the second screen disabled on the command line by specifying CONFIG_LGE_DISABLE_SECOND_SCREEN=n when calling make (same way as ARCH) . I'd double check the actual resulting .config in the working directory (out/kbuild if using the android_kernel_gamma makefile) because all the reports of squashed screens point to that not actually working.
[LG V20 Guides, News, & Discussion] Redline:
So. Apologies for the message spam in PMs but I pulled a silly and forgot to dump the contents of the kernel folder itself into the kernel folder in your fork to build it :eek::eek::eek: that's what happens when you're at something for hours on end..

I checked, and it's still set to disable in the .config, so that's probably the issue. I manually enabled it in the defconfig for the h990, re-built it (finally got it working after hours of working out doing it on Ubuntu) and while it shows in the .config under output as disable_second_screen is not set, when it builds the kernel it pulls the options from the defconfig, which I have set to NOT disable it, so it works. Only downside I see is the LOS boot-logo is put down while booting but hey, that doesn't bother me. I'm just glad I finally built my first kernel with some options to how I like them :D

If anyone is interested in using the second screen with a LOS 15.1 build, let me know and I'll build them for all the variants and upload them somewhere, providing it's okay with Omar. The builds are based off his latest Github commits, so presumably somewhere between v26 and what he's working on currently.

I'm going to go back to using single-screen until the second screen is more stable overall, but I've loved working out how to get something done myself and I'm looking forward to what's to come! :D
[LG V20 Guides, News, & Discussion] Jerry SQ:
you definitely have my vote for that kernel. Very appreciate with your works. Thank you!!!! :good::good::good:
[LG V20 Guides, News, & Discussion] phr00t:
New H910 (AT&T version) LG V20 Lineage 15.1 + BoredSigns + AOSPSignBoard bundle installer:

https://drive.google.com/open?id=1mcdQkU6LTl38X85RAdxK-h6sXg7M-nri

This version includes all of the latest Lineage updates & seems to fix the bug that prevented BoredSigns from updating notifications & wifi information when cell service was lost (on the "Information" widget, which acts as a status bar).

Here is the H910 Gamma v24.1 again with second screen enabled: https://drive.google.com/open?id=1RgIEHV-_HiOxnhotLdDcLMjw_jJmeyz3

Here is the fixed BoredSigns APK for other builds who want to use it: https://drive.google.com/open?id=1rkCwo5iOIep7lytAfaFPJwX9OsHti0hy

I've updated my BoredSigns github with the fixes here: https://github.com/phr00t/BoredSigns
[LG V20 Guides, News, & Discussion] puzzimassa:
This would be awesome if you or someone could do this for the H918 and other builds, and I tried your boredsigns apk and didn't install on my H918
[LG V20 Guides, News, & Discussion] TripOG:
Updated boredsigns APK will not install for me, h910 on x86 SS room, gamma 24.1