yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] phr00t:
My build of BoredSigns crashes when clicking "Edit AOD Widgets", saying:

07-31 23:05:58.334 E/AndroidRuntime(3539): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.zacharee1.boredsigns/com.zacharee1.boredsigns.activities.AODActivity}: android.content.pm.PackageManager$NameNotFoundException: Application package com.lge.signboard not found

07-31 23:10:01.688 E/AndroidRuntime(6843): at com.zacharee1.boredsigns.activities.AODActivity.onCreate(AODActivity.kt:44)

https://github.com/zacharee/BoredSi...ree1/boredsigns/activities/AODActivity.kt#L44 refers to com.lge.signboard, which isn't installed on Lineage OS. The first option gives me instructions for turning on the second display "when the main screen is on", similar to how the LG configuration window is. It says it can't launch configuration, which leads me to believe it is trying to get me to the LG configuration page (which doesn't exist either). Are you doing anything more to build BoredSigns for AOSP?
[LG V20 Guides, News, & Discussion] Zacharee1:
I'm going to add in support for AOSP in BoredSigns' UI at some point. RIght now, it just lets you use the widgets.
[LG V20 Guides, News, & Discussion] phr00t:
How do I make it use the widgets? Clicking "Add Window" still doesn't show anything in AOSPSignBoard even with the broken UI BoredSigns build...
[LG V20 Guides, News, & Discussion] Zacharee1:
Once you add the window, you have to go to Settings>>Display>>Advanced>>SignBoard, just like I've said multiple times since I released this.
[LG V20 Guides, News, & Discussion] phr00t:
For some reason, I don't see Settings>>Display>>Advanced>>Signboard on my Lineage builds. I tried just having it start the service (and not check for a setting) anyway, but haven't had much luck with that either so far.
[LG V20 Guides, News, & Discussion] Ak7J4:
So just flashed and for some reason when I try to access the about phone info in the settings so I can get Dev options it keeps crashing. (Setting app) Other Wise the Second Screen Works fine .
[LG V20 Guides, News, & Discussion] phr00t:
Well, look at that: https://github.com/zacharee/android_packages_apps_Settings

That is why I wasn't seeing the settings -- I wasn't pulling this project. So many modules -- hard to keep track of which custom ones are needed. Hopefully this is the last puzzle piece.

Is the potential offset fix from [MENTION=1852121]Blaises[/MENTION] committed anywhere, [MENTION=7055541]Zacharee1[/MENTION]? I didn't see it on his github repos... I can merge and test too.
[LG V20 Guides, News, & Discussion] Zacharee1:
It's a different branch, but it also causes its own set of issues, which I've detailed in the offset issue on the GH page. I think I may have found why the original offset issue is happening, though.
[LG V20 Guides, News, & Discussion] Zacharee1:
Yep, found the issue, and the offset is gone AFAICT. Cherry-pick the latest commit on the lineage-15.1-signboa branch in android_frameworks_base [MENTION=957498]phr00t[/MENTION]
[LG V20 Guides, News, & Discussion] TheLoonyRebel:
I'm assuming is the offset fix included in the H918 build that just went up?
[LG V20 Guides, News, & Discussion] Zacharee1:
Latest H918 build includes it, yes.
[LG V20 Guides, News, & Discussion] TheLoonyRebel:
Just tested the build right after posted my question... yeah should of just gone ahead and tested it, right? Anyways works perfectly in those regards. The "about phone" crashing issue however remains but hopefully that's a quick fix.
[LG V20 Guides, News, & Discussion] Zacharee1:
I don't keep my code fully up to date with Lineage, because syncing overwrites my changes, meaning I have to manually pull and sync each repository. Someone pushed the About Phone stuff into the Lineage SDK, which I didn't have updated. The next builds will work.
[LG V20 Guides, News, & Discussion] phr00t:
Finally, a tested & working build of Lineage 15.1 for the V20 H910 AT&T version with Second Screen working:

https://drive.google.com/open?id=1UpEPLhZc2o33bAIqOnOughyeXhaZUu--

This includes BoredSigns + AOSPSignBoard + all latest Lineage commits (e.g. I haven't noticed any Settings crashes & was able to enable developer mode). This also includes the offset fix, which works. I've also been using the modified Gamma kernel which Pheonix posted awhile back (and I've linked to a few times). The weather feature doesn't work, because I don't have an API key programmed... I'll likely fix this in a future build.

I'm having some other issue, which I suspect is unrelated to the second screen: trouble turning the screen back on with a lock screen. Sometimes the phone just doesn't want to show the ambient screen & pressing the power button doesn't bring up the screen. If I unlock the phone with my finger, the screen does come back on after a few seconds.

I used to use the recent app launcher, but I've been liking the "information screen" which puts all of the status bar in the second screen. Then, I use Extended Desktop to hide the "normal" status bar -- which gives me an effectively larger screen.

Rotation bug still exists, as we all known.

I would like a "flashlight" Quick Toggle :)

EDIT: Looks like Pheonix removed his Gamma kernel links. I have the H910 AT&T Gamma kernel that works, so I reuploaded it here for all: https://drive.google.com/open?id=1iXTDlSiQM6o7JVFNC5fnK5c7Jri4yHy2
[LG V20 Guides, News, & Discussion] Ak7J4:
Suggestion :

Something that would possibly help lower battery usage would be doing something like limiting the ant. of system resources given when the phone is locked. I noticed on stock when using the second screen while locked, the refresh rate on the display was turned down. Assuming for battery.

Again this is just a suggestion, so if this seems like too much work for not a good benifit feel free to ignore. Just wanted to throw the idea out there.
[LG V20 Guides, News, & Discussion] Geners:
Thanks for your work on this, guys. You all rock for the time you put into trying to make our devices better and it's VERY appreciated.

I'm sorry for hijacking this thread but I asked in the Unofficial Lineage thread and haven't gotten an answer. And I see the screen offset was addressed here so the two issues might be related... Can anyone tell me why the display doesn't extend to the top of the main screen? I realize there would be a blank spot where the second screen resides, but I also have a gap between the Lineage status bar and the second screen. Is there a fix for this? I'm open to suggestions. Thank you ( And please don't beat me up too bad for posting an off topic question )
[LG V20 Guides, News, & Discussion] Zacharee1:
Because you're using Gamma Kernel.
[LG V20 Guides, News, & Discussion] Geners:
Hmmmm.... I didnt install the Gamma Kernel. I only flashed the rom posted above as is ( Formatted and wiped before install ) . Is Gamma packaged in the rom? Is there a way to install just the standard lineage kernel or do I need to format and start over?

Nevermind ... I shouldn't be dealing with this issue in this thread. Zacharee1, Thanks for answering my question ( All of the things you do for development are pretty damn amazing BTW ). I'll do some digging and figure it out.
[LG V20 Guides, News, & Discussion] :
My goodness. I can't wait to use the second screen as a status bar and using expanded desktop.
[LG V20 Guides, News, & Discussion] phr00t:
This Gamma variant for H910 AT&T version has been working for me: https://drive.google.com/open?id=1iXTDlSiQM6o7JVFNC5fnK5c7Jri4yHy2

Looks like Pheonix removed his builds, but the above works for me -- so I reuploaded it.

---------- Post added at 08:12 PM ---------- Previous post was at 08:05 PM ----------

I just modified the post to add the proper kernel you should install after installing Lineage. It is a modified Gamma kernel Pheonix did awhile back.
[LG V20 Guides, News, & Discussion] Geners:
That fixed it!!!! Thank you so much!!!
[LG V20 Guides, News, & Discussion] rjavc:
[MENTION=4459682]Phroot[/MENTION] its been like weeks since zach posted a vid about the progress. And i dont have the h918 to test it out. Can you do it for us non-h918 users (for me) ? Hahaha
[LG V20 Guides, News, & Discussion] phr00t:
Do you have an H910? That is what I've been building for & you can test that out now. I should have another build tomorrow with some improvements from Zach & a weather API key, among other goodies. There isn't much more to see than what was already shown in his video -- the latest improvements have been trying to fix bugs, make things more reliable etc. although Quick Toggles are new....
[LG V20 Guides, News, & Discussion] rjavc:
No... But i do have the h990. I would love to know how to build for my device but i just dont have the time, school works etc. But thanks anyway!
[LG V20 Guides, News, & Discussion] phr00t:
This post might have some useful debug info for the lock screen problem, and might also point to a layout issue with the signboard (I keep seeing something about a layout repeating too many times & being skipped):

https://xdaforums.com/showpost.php?p=77235178&postcount=1612

---------- Post added at 11:02 PM ---------- Previous post was at 10:56 PM ----------

Yes! It appears turning off "Accessibility Options" for BoredSigns fixes the lock screen blackout problem, probably due to the crash it creates described in the link above.

EDIT: May have spoke too soon... seems to work for a little bit, then starts blacking out... might still be related, because the blackout problem seems to be harder to create, now...
[LG V20 Guides, News, & Discussion] TheLoonyRebel:
Info on x86cpu's builds

https://xdaforums.com/showpost.php?p=77232942&postcount=1600

Downloads

https://drive.google.com/drive/folders/10N9Qz9YgFns4Ty572HIcBHj5pVv53h3e
[LG V20 Guides, News, & Discussion] Ak7J4:
So after x86CPU's version it works just fine. Not really any complaints besides wanting to make the thickness of the actual second screen less thick. Only other request is to have time on the second screen show. This was on H918.

---------- Post added at 05:48 AM ---------- Previous post was at 05:39 AM ----------

So on the Lineage OS build from Zach on 8/2 the new second screen functions show sometimes. Not sure the reason but the entire second screen is black but when tapping there is a little white box around it. The Signboard option in the settings tho crash. It randomly appears and disappears. Fix rn is spam the open app again and then press "Send Feedback" and it shows. "About Phone" in settings works.
[LG V20 Guides, News, & Discussion] LeTerrible:
Is there any other way to purchase Boardsign without Google Playstore? I don't use Playstore and really want to try the new builds for second screen.
[LG V20 Guides, News, & Discussion] TheIronMaiden:
You can build it yourself for free

Sent from mTalk
[LG V20 Guides, News, & Discussion] Ak7J4:
Second Screen functionality is in the Lineage build. Boardsigns is in the play store and you can build it for free.
[LG V20 Guides, News, & Discussion] phr00t:
New H910 AT&T V20 build with BoredSigns + AOSPSignBoard + compatible with the modified Gamma kernel:

https://drive.google.com/open?id=1nzmvPFYaj_09p4p_zJJxCxOfnq3kFspM

Gamma kernel w/ second screen enabled for H910:

https://drive.google.com/open?id=1iXTDlSiQM6o7JVFNC5fnK5c7Jri4yHy2

I built BoredSigns "release" this time (instead of debug), so it should perform better. I also haven't noticed the same lock screen blackout problems after flashing this. Also, both cameras are now working in the camera app. Rotation still doesn't appear to work, but so far that is the only (relatively minor) bug I've noticed. I'm using this as my daily driver now!

EDIT: I think the trick to avoiding the lock screen blackout is to not enable BoredSigns via the Accessibilty screen, even though it asks you to do it. I'm not sure why you would need to.... the widgets (except the weather one, which still has key problems) work fine.
[LG V20 Guides, News, & Discussion] jl10101:
Thanks for all the progress you're making in this! I'd really like to give the modified gamma kernel a go. Is there any way you'd be able to build an H990 gamma kernel? I'm not sure how long it takes to build / compile and how much labour goes into setting up. Thanks so much!
[LG V20 Guides, News, & Discussion] phr00t:
I was pulling my hair out trying to get Gamma to compile. [MENTION=2563630]Phoenix54[/MENTION] (or was it [MENTION=8372354]phoenix520[/MENTION]?) came to the rescue awhile back & got the h910 kernel working after a few attempts. I'm not sure if the other ones worked, but last I checked yesterday, he removed them.
[LG V20 Guides, News, & Discussion] TripOG:
I don't think the lock screen bug is related to boredsigns, I know at least one other person had that bug besides me before these second screen ROMs started poping up. RainbowJudge101 was the other dude.
[LG V20 Guides, News, & Discussion] phr00t:
My two feature requests which I may try and tackle myself: remove the forced BoredSigns notification & flashlight Quick Toggle.
[LG V20 Guides, News, & Discussion] Zacharee1:
Just hide the notification and there's already a flashlight toggle.
[LG V20 Guides, News, & Discussion] phr00t:
On the notification pulldown, it says notifications can't be turned off for BoredSigns. I couldn't find another way to hide it... am i missing something?

For Quick Toggles, I only see volume, wifi, Bluetooth, airplane mode & GPS. Where is the flashlight toggle?
[LG V20 Guides, News, & Discussion] Zacharee1:
You can edit them by tapping the item in the settings...

Don't build BoredSigns into the ROM.
[LG V20 Guides, News, & Discussion] LeTerrible:
Thanks guys. I don't know how to code or use GitHub. I'll try and look online for instructions. Cheers
[LG V20 Guides, News, & Discussion] sjavvaji:
I have an H918 PRE-10P. I see that there's both an x86cpu build and an a Zacharee1 build. Does anyone know what the differences are or which one works better?
[LG V20 Guides, News, & Discussion] Zacharee1:
x86 builds for 10p. I build for 10k.
[LG V20 Guides, News, & Discussion] sjavvaji:
I saw that there's a PRE-10P version of his, too. That's why I'm asking.
[LG V20 Guides, News, & Discussion] phr00t:
Yes, thank you -- got the Flashlight via editing.

I think the notification is required because it is a foreground service, which according to all Android documentation requires a persistent notification. Would not building it with the ROM change that? Anyway, I hid it with the AutoNotification app for the meantime which seems to work.

Looks like the weather features requires a non-free OpenWeatherMap API key, which I don't have. I rarely get errors about weather information not being received, even though I don't have the widget enabled...
[LG V20 Guides, News, & Discussion] WhiteWidows:
Can I get a play store link? Also I'm on ls997 just got x86's SS build, can run Gama Kernel or is there a modified version for the second screen?
[LG V20 Guides, News, & Discussion] Phoenix591:
Use the kernel that came with the build. Boredsigns (Play Store)
[LG V20 Guides, News, & Discussion] phr00t:
[MENTION=7055541]Zacharee1[/MENTION], I successfully removed the Toast message from the weather app if no API_KEY is provided -- now I'm trying to remove the long press to bring up the info screen configuration page (I sometimes accidentally do this and would rather it not do anything). I suspected the code was here: https://github.com/phr00t/BoredSign...ree1/boredsigns/activities/AODActivity.kt#L93 but commenting that block out didn't seem to do anything. Is this the part I need to comment out? https://github.com/phr00t/BoredSign...com/zacharee1/boredsigns/proxies/InfoProxy.kt

EDIT: Just realized that first link is in the setupDrag function, duh. I'll keep looking, but if you could point it out, that'd be really appreciated!
[LG V20 Guides, News, & Discussion] phr00t:
New Lineage 15.1 + BoredSigns + AOSPSignBoard build for LG V20 H910 (AT&T variant):

https://drive.google.com/open?id=1ZdDgsFcWWtHBBggR38l0KcagcbdLEKjD

Use the above ROM with the following modified Gamma kernel:

https://drive.google.com/open?id=1iXTDlSiQM6o7JVFNC5fnK5c7Jri4yHy2

I've also separately built BoredSigns for those looking for it (don't need to install this if using the ROM above, since it is included):

https://drive.google.com/open?id=1rVOfaAGovXYJ2oGm3X1hXEfLNW2BJJlt

I still recommend purchasing Zacharee's BoredSigns from the market, not just to support him but because the weather features don't work in my build. You need a paid API key to access weather data, and my build doesn't have that. I fixed my build to not complain about a missing API key, which it normally would if you built it yourself. My BoredSigns also has disabled the "information screen" configuration dialog, which appeared when touching the second screen (which is really easy to do when not desired, like on a phone call). I do want to bring it back just when in the BoredSigns configuration screen, but I haven't gotten there yet. The configuration screen would let you change colors & turn off individual icons -- but by default, it is white and mimics the status bar contents. Everything else should work fine.
[LG V20 Guides, News, & Discussion] phr00t:
I've paid out half of my $20 bounty to Zach, but I don't know where to send the other half for [MENTION=1852121]Blaises[/MENTION] -- can you update your account with your PayPal so I can send you money?
[LG V20 Guides, News, & Discussion] :
I just thought of an idea for the second screen. You know how Download Progress++ (Aka Statusbar Download Progress via Xposed) shows you a download bar when downloading stuff? Can it be placed on the second screen by any chance?
[LG V20 Guides, News, & Discussion] phr00t:
I've noticed notifications often show up twice in BoredSigns info screen... particularly mail & missed calls. If I pull down the status bar, there is only one notification entry... yet double the icons in BoredSigns.... hmmmmmmmmmmmm....

[MENTION=9172235]RainbowJudge101[/MENTION] it could, but you'd need a developer with the time & motivation to do so :P If the download progress was shown as a notification icon, the BoredSigns "info" screen might already show it...
[LG V20 Guides, News, & Discussion] rjavc:
Well i really hope everyone would keep their promises just like [MENTION=957498]phr00t[/MENTION]. Guy's been all hands helping the devs and other users. Thank you!
[LG V20 Guides, News, & Discussion] puzzimassa:
Would it be possible to flash this and have it work on the H918? Pretty much the same phone :P

If not, how would i port this to the H918? I want gamma kernal but it doesn't work with the ss version or else the second screen will be on the main screen. Also, what is the x86cpu.zip? It would not install because of no xml file and there was not one on the download page. Sorry for so many questions, thanks to anyone who helps
[LG V20 Guides, News, & Discussion] Zacharee1:
The H918 is actually the different one among the US variants. Trying to flash any other firmware will mean a hard brick.

Don't install x86cpu's ZIP unless you're flashing his ROM and not clean flashing.

Every variant I can build for is available on my site, linked in the OP.
[LG V20 Guides, News, & Discussion] TheLoonyRebel:
I notice the same thing on the x86cpu build (H918 ARB1). The build that Zach had before x86cpu put his first build up (forgot the date) didn't have this issue however so I suspect it's something within SignBoard itself that is triggering this. On that note the last H918 build Zach posted (on 8/4) when you try to go into SignBoard settings in Display it would cause Settings to force close.
[LG V20 Guides, News, & Discussion] phr00t:
I think the Settings crash is because he didn't pull in the latest Lineage Settings for his build, which I have for mine... but I'm only setup to build for H910... x86cpu's builds don't include BoardSigns, so you wouldn't see anything in the second screen without it... I did post my build of BoardSigns earlier, which you should be able to use with x86cpu's builds that I suspect wouldn't crash when trying to enter Settings.
[LG V20 Guides, News, & Discussion] TheLoonyRebel:
x86cpu did second screen builds on 8/2. Runs pretty good but no second screen when the main screen is off.
[LG V20 Guides, News, & Discussion] phr00t:
That is the current behavior on all current builds. I did see some changes Zach made to play around with the ambient display, but I haven't tested them or know what is trying to be accomplished. I'm generally happy with enabling the "hand wave" to quickly show the ambient display, instead of having the second screen always on. Ideally it should be an option for just the second screen to display, though.
[LG V20 Guides, News, & Discussion] TheLoonyRebel:
I believe the eventual goal is to have it to where the second screen is on when the display is off without needing the ambient display on. As is I'm running Zach's H918 8/2 build (with the ARB1 patch in use) which has been very solid even with the few lingering issues left. I'll get my bounty money sent out this weekend just waiting for pay day so I can budget that in.
[LG V20 Guides, News, & Discussion] Redline:
IMO, for the sake of screen and battery longevity, I'd want at least a toggle to have the second screen on or off when the main one is off. If that's not the plan, perhaps a poll is in order.
[LG V20 Guides, News, & Discussion] phr00t:
I'm trying to build again, now that Gamma is up to v22. I actually got it to build, and Image.gz files were created. However, when I try to boot from them, I get a green screen of death. I'm not sure if I'm packaging them correctly, though... I go into more detail here: https://xdaforums.com/showpost.php?p=77299660&postcount=271

.... I was hoping you could help, [MENTION=8639605]Phoenix591[/MENTION]!
[LG V20 Guides, News, & Discussion] Phoenix591:
Image.gz-dtb is the one to use, but it's been acting up on my builds too, which is why I haven't put anything back up.
[LG V20 Guides, News, & Discussion] phr00t:
Are you getting green screens of death? I'm trying again with linaro 4.9, instead of 7.3.1... I'm also pulling in all of oxavelar's KCFLAGS, since he has another Makefile here: https://github.com/oxavelar/Android...c763ad6843/projects/V20-Kernel-Gamma/Makefile

Your H910 kernel has been working for me, though. It was v17 & I'm hoping to figure out how to build myself & get v22 working.

---------- Post added at 10:25 PM ---------- Previous post was at 09:43 PM ----------

I got the kernel to boot! However, on my lock screen, none of my buttons worked & then it went to a kernel panic complaining about a NULL pointer dereference @ 000000014

wificond

PC @ ieee0O211_get_num_supported_channels+0x10/0x3c

LR @ nl80211_trigger_scan

Looks related to the wifi kernel module...
[LG V20 Guides, News, & Discussion] phr00t:
New Lineage 15.1 & Gamma v23 builds, with second screen support (including my build of BoredSigns) for the H910 AT&T V20:

Lineage 15.1: https://drive.google.com/open?id=1YEIpWRekzx_rdP7B_X-BBnJHsuKPSnCE

Gamma v23 kernel: https://drive.google.com/open?id=1zUO-2IQYN0lm-XGq0VvJJTyN2s7yUXam

As linked above, I got Gamma to compile with second screen changes successfully. I was building the wrong branch! Apparently oxavelar has another branch called gamma-integration, and I was using the integration branch. I forked his project & merged his Makefiles, so it is easier to build (with the linaro 6.4.1 toolchain).
[LG V20 Guides, News, & Discussion] puzzimassa:
Nice job, hope someone gets gamma working with the h918
[LG V20 Guides, News, & Discussion] Phoenix591:
Saw [MENTION=957498]phr00t[/MENTION] 's post, checked and looks like there was also a slight cflag change. A few clean builds later and back in business. New gamma kernel builds attached with second screen enabled.

Big thanks and full credit to [MENTION=5103965]Omar-Avelar[/MENTION] who keeps putting loads of work into this awesome kernel, I simply commented out comment out CONFIG_LGE_DISABLE_SECOND_SCREEN=y in the config and rebuilt.

Omar is now doing his own builds!
[LG V20 Guides, News, & Discussion] Phoenix591:
Hope fulfilled