yashsingh1/xdaforums huggingface dataset:
[LG V20 Themes, Apps, and Mods] Zacharee1:
So here's the deal with custom colors. Custom-colored signatures are possible, although it will mean my mod will have to be installed. Custom-colored QuickToggles are another issue altogether. Since the images are vectors with multiple paths, I can't just set an overlay tint, since it also affects the black image inside the toggle.

If the QuickToggles are redesigned to use PNGs (possibility, since they don't ever actually need to be resized), then I think it would be possible to set the icon in the center to transparent, and use an overlay that way. If someone who knows how to create vectors can make a single-path vector for the "ON" states, that would work even better (combine the two paths?). I can provide the original vector XMLs.
[LG V20 Themes, Apps, and Mods] Zacharee1:
And the project is back on track! After spending a few hours trying to figure out Inkscape, giving up, and then asking around online for help, I have successfully migrated the Bluetooth icon! I just need to migrate the rest (should be a lot easier now), and then I can start work on the Settings reading. I don't know if this'll be done today, though. If it is, it'll definitely only be QuickTools.
[LG V20 Themes, Apps, and Mods] Zacharee1:
I have a working prototype for custom colors. Right now, it's only for QuickTools, but signatures should be much easier. It's late now, so I need to go to sleep, but I'll upload what I have so far. You'll have to copy LGQuickTools.apk to /system/priv-app/LGQuickTools/ and set permissions to 0644.

When entering the color value, each box is for Red, Green and Blue, respectively. The textboxes will take either hex (0x*) or decimal (0-255), but if you enter a hex value, it has to be prepended with 0x. Example: Green: 0x00, 0xff, 0x00 or 0, 255, 0.

Have fun!

https://www.androidfilehost.com/?w=files&flid=161631
[LG V20 Themes, Apps, and Mods] fogame:
Sweet! Will test and report back tomorrow.
[LG V20 Themes, Apps, and Mods] Zacharee1:
It works for me, but I've definitely missed something obvious :p

Thanks for testing!
[LG V20 Themes, Apps, and Mods] Zacharee1:
Quick preview of what I'm working on:
[LG V20 Themes, Apps, and Mods] Zacharee1:
New app builds are up on XDA and pending on the Play Store!

The mod now has to be installed for the app to work, but QuickTools and Signature colors are now fully customizable. You will need to update the ModInstaller app and install QuickTools, SignBoard and SBSignature.
[LG V20 Themes, Apps, and Mods] hickmanje2:
How to apply new colors to QuickTools? I change it in ModControl and restart signboard and it's still white.
[LG V20 Themes, Apps, and Mods] Zacharee1:
Did you install the new SignBoard, QuickTools and SBSignature apps from ModInstaller? The newest version of ModControl is also a beta release, so you'll need to opt into the Beta program or download it from XDA Labs.
[LG V20 Themes, Apps, and Mods] hickmanje2:
I'm a beta user for LG V20 Mod Installed and am on the latest update for both installer and control. I clicked Install Mod and the SystemUI restarted. Attempted to change, nothing. Went back to Installer and installed mods separately. Tried to change again, nada. Rebooted, nothing.

Any idea?
[LG V20 Themes, Apps, and Mods] Zacharee1:
You're on the beta channel for Mod Installer, but are you for ModControl?
[LG V20 Themes, Apps, and Mods] hickmanje2:
On both.
[LG V20 Themes, Apps, and Mods] Zacharee1:
And it's the sliders instead of radio buttons? Try getting the latest versions from XDA Labs. See if it makes a difference. Make sure ModControl is installed as a system app (use the button in ModInstaller). Use the Restart SignBoard button after changing the sliders.
[LG V20 Themes, Apps, and Mods] Team DevDigitel:
im testing it now.. its kinda hard to know that there is a commit being done the colors

IE: not sure if they are being saved as the color format.. need like a apply color option maybe?

Edit : colors dont seem to be changing for me either, havent tried to manually move the mod myself, but i know the mod app was working 100% for me before, moved the app correctly etc.
[LG V20 Themes, Apps, and Mods] hickmanje2:
Okay. ModControl on XDA looks different than one on Google Play. XDA shows two quickicon previews versus one (which GP did). Mod Installer only had Stable in release channel, version 1.4a. Still not working for me.
[LG V20 Themes, Apps, and Mods] Zacharee1:
Well for the new version of the app to work, you'll need to get the updated ModInstaller app and install/update SBSignature, LGSignBoard and LGQuickTools. Play Store may not have published the updates yet, so just grab the latest Beta for ModControl and Stable for ModInstaller from XDA Labs.

I was thinking about whether or not to put an Apply button in. I'm thinking if I do, I also want to have a sort of "undo" button, where it puts it back to the previous value as long as Apply hasn't been hit.
[LG V20 Themes, Apps, and Mods] Zacharee1:
Oh shoot. Sorry guys. I forgot to add in the QuickTools installer!
[LG V20 Themes, Apps, and Mods] Team DevDigitel:
Edit : removed all the fat from my post lol.... ill look out for a google notification
[LG V20 Themes, Apps, and Mods] hickmanje2:
Works great now, thanks!
[LG V20 Themes, Apps, and Mods] Zacharee1:
Good!

[MENTION=4731846]Team DevDigitel[/MENTION] grab the latest beta ModInstaller from XDA. It'll fix it.

I also uploaded a new Beta to ModControl. Now, when you rotate the app, it no longer sends you back to the main screen. It'll also remember which view you were in right before you closed it.
[LG V20 Themes, Apps, and Mods] Team DevDigitel:
so mod installer seems to still have some finikyness..

toggles work now, but it dosnt seem to do the signatures or the aod signatures now. no toast message showing its working, but it did manage to delete the old sig.apk
[LG V20 Themes, Apps, and Mods] Zacharee1:
What's not doing them? I've removed the toast messages.
[LG V20 Themes, Apps, and Mods] Zacharee1:
How does this sound:

Instead of three separate slider groups, I put just one in, and add a save button. When you create a color you like, you save it with a name, and then you can select it to use it. Or would it be preferable to keep the three groups and add the save option to that layout, so you still get the individual sliders, but you can save any colors you want, and use them on any of the elements.
[LG V20 Themes, Apps, and Mods] Team DevDigitel:
Mod installer app.

Installed the new quick toggles fine

But i completely lost signatures all together.

Dosnt seem like it installed the new apk correctly.

Verified my rw was on. It did the quick toggles and they theme with new mod control app.

Tried turning everything off then back on.. Re tried just doing the signature option with app and still missing it.
[LG V20 Themes, Apps, and Mods] Zacharee1:
Ugh. I was hoping that problem was just with me...

I'll have to take a look. I know the APK worked before it was in the Installer app.
[LG V20 Themes, Apps, and Mods] Team DevDigitel:
I dont see it in my system/priv-app/

Its LGSig something right

It looks like it deleted it fully but didnt install the new stuff after. The rest did get swapped correctly. The lgsignboard.apk and the lg-quick tools swapped.. But the sig stuff seems 100% gone lol
[LG V20 Themes, Apps, and Mods] Zacharee1:
It's SBSignature, under /system/app/.
[LG V20 Themes, Apps, and Mods] Team DevDigitel:
Humm its there.. Of course it wont install says its corrupt

Perms are correct for it. Maybe a bad apk?
[LG V20 Themes, Apps, and Mods] Zacharee1:
I don't know... I'm almost certain that APK worked when I manually installed it. I'l have to look into it.
[LG V20 Themes, Apps, and Mods] Team DevDigitel:
Edit::::

Nvm. After another reboot apk is there.. No lib folder so i probably shouldn't have erased that lol

Still no sig tho..
[LG V20 Themes, Apps, and Mods] Zacharee1:
No, it doesn't need to be. Did you refresh the folder view? I think it's an issue with SBSignature itself. I tried manually installing it again and deleting /data/data/com.lge.provider.signboard/databases/*, but it didn't reappear.
[LG V20 Themes, Apps, and Mods] Team DevDigitel:
Yeah apk showed up after full reboot.

No expansion from app. Just the apk itself

Must be a issue somewhere in xml;smali edits.
[LG V20 Themes, Apps, and Mods] Zacharee1:
This could come in handy in the future... https://www.xda-developers.com/decompile-and-modify-apks-on-the-go-with-apktool-for-android/
[LG V20 Themes, Apps, and Mods] stangdriver44:
It is a great tool and works well for xml edits or very simple smali mods.

I suggest you get a good text editor app like jota.

Without jota or similar editor smali edits are impossible! Hahaha

Have fun amd good luck!

Congrats on this project btw!
[LG V20 Themes, Apps, and Mods] Zacharee1:
Well I don't plan on using it if I don't have to. I can barely edit Smali on desktop :p

Thanks for the support and suggestion though!
[LG V20 Themes, Apps, and Mods] Zacharee1:
OK. There's something strange about this SBSignature app. If I install the modded one and only restart SignBoard, it works fine. As soon as I try to actually reboot the phone, it disappears.

Looks like the main activity is missing...
[LG V20 Themes, Apps, and Mods] Zacharee1:
It looks like I can't even decompile and recompile the APK without it breaking.
[LG V20 Themes, Apps, and Mods] Zacharee1:
The problem was with the resources. I just have to use the -r flag to not decompile them. I'll be publishing a new build soon.

In preparation, if you installed SBSignature, please delete the following folders and reboot:

/data/data/com.lge.provider.signboard/
/data/data/com.lge.signboard/
/data/dara/com.lge.signboard.settings/
[LG V20 Themes, Apps, and Mods] hickmanje2:
Nevermind. Please delete.
[LG V20 Themes, Apps, and Mods] Team DevDigitel:
Google update just hit. Fixed it brotha

---------- Post added at 09:35 PM ---------- Previous post was at 09:30 PM ----------

On a funny sidenote... Add a ton of spaces to your sig.. Both at the end and the begining.. It will marquee across the screen once hehe
[LG V20 Themes, Apps, and Mods] stangdriver44:
Check the original apk and swe if inside it is the meta-inf folder?

I was having issues with deodexing some apks and found that to be the issue.

The would decompile/recompile fine but would either fc immediately or disappear after reboot.

I know it seems pretty silly, but just make sure the folder and the 3 files inside are present in the apk before you decompile

Just a thought...
[LG V20 Themes, Apps, and Mods] texasaggie1:
Where is the .zip

Been looking for 20 minutes and I can't find the zip file to flash in recovery. Can somebody help me find it please?
[LG V20 Themes, Apps, and Mods] Team DevDigitel:
You just need to download the 2 apps.

ModControl and Mod Installer.

Open modninstall app. Grant root and click install mod.

Wait till the toast messages stop popping up. Then click move modcontrol to system. Once toast messages stop again click hot reboot and profit.
[LG V20 Themes, Apps, and Mods] Zacharee1:
I always use the -c flag with APKTool so it puts the META-INF folder in for me. The problem was the resources for whatever reason. They wouldn't recompile correctly.
[LG V20 Themes, Apps, and Mods] texasaggie1:
Tried that

Ok I tried that. System UI crashes. Soft reboot happens. Then nothing past that point. Moving Modcontrol to system works. But the mods in modcontrol do nothing ?
[LG V20 Themes, Apps, and Mods] Team DevDigitel:
Try turning them all off then back on.. Make sure you have latest mod installer and mod control combo
[LG V20 Themes, Apps, and Mods] Zacharee1:
Make sure you're either on the Beta channel in the Play Store or that you download the latest version from XDA.
[LG V20 Themes, Apps, and Mods] Zacharee1:
New ModControl version out. Now, the color text fields bring up a number pad, so you won't get sent back to the letter view after every keystroke.

I've also removed all the assets that were used for the old color swap method, since they're no longer needed. The app size has gone from about 10MB to a little less than 3MB. I'll have to look into reducing the size of ModInstaller, but that'll probably involve the Expansion API, which will mean you'll need to be connected to the internet to use the app.
[LG V20 Themes, Apps, and Mods] Lmax579:
Anyway to make a color control mod similar to the one on the nss rom by tilde88?
[LG V20 Themes, Apps, and Mods] Zacharee1:
Can you describe that?
[LG V20 Themes, Apps, and Mods] jerrycoffman45:
He is talking about kcal
[LG V20 Themes, Apps, and Mods] Zacharee1:
Ah, well that needs Tilde's kernel.
[LG V20 Themes, Apps, and Mods] Lmax579:
Well on his rom he has color control which lets you change colors to give the v20 screen a better look
[LG V20 Themes, Apps, and Mods] Zacharee1:
That's part of the kernel. If you're on his ROM, you can just use the app. If not, and you use SuperSU, just flash the separate kernel ZIP he provides. If you use Magisk, you'll have to remove the SuperSU flashable from the ZIP and flash MagiskSU after flashing the kernel ZIP.
[LG V20 Themes, Apps, and Mods] Lmax579:
Got it... thanks brother
[LG V20 Themes, Apps, and Mods] Zacharee1:
I've got a question for everyone. I've managed to enable the volume slider right below the brightness slider in the notification area. My plan at the moment is to update ModInstaller with this new version of SystemUI, with the volume slider hardcoded enabled.

Do you want the volume slider permanently enabled, like with ~Adaptive Brightness, or would you want me to add a new page and option to ModControl to toggle the volume slider and ~Adaptive Brightness? (I could also put a toggle for the brightness slider enable.)
[LG V20 Themes, Apps, and Mods] The_Keeper86:
My system ui crashes and I'm forced to reboot and have to dirty flash. I selected move mod control to system apps. I don't get any sort of notification that it work so I assume it did?
[LG V20 Themes, Apps, and Mods] Zacharee1:
As long as you get a SU access toast from your root manager, it should be working. I can't really add in a success or failure message, since I use SH scripts.

Whose ROM are you on?
[LG V20 Themes, Apps, and Mods] The_Keeper86:
Hmm I never got a notification to grant because I have su set to automatically grant. I should probably change that lol..

ROM I'm using is NSS 6.5.
[LG V20 Themes, Apps, and Mods] Zacharee1:
Well auto grant is fine. SuperSU and Magisk should show that little black text box notification at the bottom on the screen (called a toast) when an app is granted or denied SU access.
[LG V20 Themes, Apps, and Mods] The_Keeper86:
Hmm I didn't see a little black icon but it shows mod installer was granted access in super su app.
[LG V20 Themes, Apps, and Mods] Zacharee1:
You should see something like this:
[LG V20 Themes, Apps, and Mods] The_Keeper86:
Yeah, I did after enabling notifications for super su. Though my system ui still crashes and I'm forced to dirty flash :/
[LG V20 Themes, Apps, and Mods] akki7636:
[MENTION=7055541]Zacharee1[/MENTION]

Heya..

Can you make such mods for lg g5... I can be a tester. :)
[LG V20 Themes, Apps, and Mods] Zacharee1:
I can certainly try. I'll need these files:

/system/priv-app/LGSystemUI/LGSystemUI.apk
/system/frameworks/framework-res.apk
/system/frameworks/lge-res/lge-res.apk

What would you want to see, though? Most of these mods involve the V20's second screen. It'd just be the 3Minit toggles at this point on the G5.
[LG V20 Themes, Apps, and Mods] onestyle007:
If you don't mind me asking, since I've analyzed your systemui already, I know that getting aosp signal bar icons include a bit more editing, mind giving some hints on which files? G5 over here,pretty same stuff mostly, consider it a debloated V20 in a way ? credits will be given ;)
[LG V20 Themes, Apps, and Mods] Zacharee1:
As long as you don't use toggles, anywhere any file gets the boolean value for MODELFEATURE_WIDE_DATA_ICON, set the const variable it places it into to const/4 v*, 0x0. I think that's what it takes.
[LG V20 Themes, Apps, and Mods] onestyle007:
Thanks for the hint, gonna try now :)
[LG V20 Themes, Apps, and Mods] akki7636:
I ll provide all files on Gdrive.

It will great if Coloring of aod signature is possible. Or anything which you think can be moded. Im using a rom in which i can use 3minit battery icons in status bar But not in aod screen

Sry for eng its nt my native language. :)
[LG V20 Themes, Apps, and Mods] Zacharee1:
Hang on; one thing I forgot.

Under LGTelephony Icons, change:

invoke-static/range {v1 .. v7}, Lcom/lge/systemui/LGTelephonyIcons;->setDataActivityIcon(IIIZZZZ)V

to:

invoke-static {}, Lcom/lge/systemui/LGTelephonyIcons;->setDataActivityIcon()V

as well.

You should only have to edit ModelFeature.smali and LGTelephonyIcons.smali.
[LG V20 Themes, Apps, and Mods] Zacharee1:
The G5 has a signature view too?
[LG V20 Themes, Apps, and Mods] onestyle007:
Well I've tested your V20 files already on my G5 in a way , and it works, we'll partly lol, signature color changes and aosp network status bar ;)
[LG V20 Themes, Apps, and Mods] akki7636:
Yeah.. in aod display screen.
[LG V20 Themes, Apps, and Mods] Zacharee1:
Huh. Do you have /system/app/SBSignature/SBSignature.apk?
[LG V20 Themes, Apps, and Mods] Zacharee1:
I'm going to PM you both a Telegram link within the next hour. Since I don't have a G5, I can't do the changes alone, but it'd be fun to add G5 options to my app (or make another app).
[LG V20 Themes, Apps, and Mods] akki7636:
Nope..

---------- Post added at 02:53 PM ---------- Previous post was at 02:52 PM ----------

Oke thanks :)
[LG V20 Themes, Apps, and Mods] onestyle007:
Signature is controlled by the LGSignBoard.apk in priv-app, the test I did was pretty rough, double systemui apk in the same folder and replaced the LGSignBoard.apk. Using your app,even though it force crashed a lot ( as expected cause it conflicts) I was able to activate aosp signal status bar,change color of the signature. ( bugs as expected were with 3Minit battery and with signboard clock). So my guess is that it will be an easy port for you. Knowing the similarities between the systems.
[LG V20 Themes, Apps, and Mods] Zacharee1:
Wow. LG really made these two phone similar.
[LG V20 Themes, Apps, and Mods] onestyle007:
So similar mate that your cam works on G5 out of the box,only thing we miss are the manual photo and video cause the buttons are located on your second screen. Most of the apps work with just copy and replace.
[LG V20 Themes, Apps, and Mods] Zacharee1:
That's pretty amazing...
[LG V20 Themes, Apps, and Mods] Zacharee1:
There's a new version of ModControl out. Basically nothing has changed in terms of functionality. Right now, I've just added an option to select your model (V20/G5). Since the G5 doesn't have the second screen, some mods don't apply to it, so those get hidden if you select the G5 option. In the future, there may be some G5-specific mods that'll get added in, but probably not, seeing as the V20 seems to basically be a G5 with a second screen.
[LG V20 Themes, Apps, and Mods] Zacharee1:
So there's some good news. Turns out the V20 SystemUI works perfectly fine on the G5, at least normal usage and Immersive Mode. SignBoard runs, but it messes with the AOD, so I'll make a modded version for that.

If there are any G5 users here, you can use ModInstaller to install the 3Minit resources and SystemUI, and then use the ModControl app to change anything except AOD mods and the signature.

I'll work on SignBoard when I next can, and then see about getting some sort of pointer or redirect on the G5 forum.
[LG V20 Themes, Apps, and Mods] The_Keeper86:
I still haven't found a solution or cause to system ui crashing after selecting system ui in the mod installer. What rom are you using?. Maybe it's the rom :/
[LG V20 Themes, Apps, and Mods] Zacharee1:
Are you using NSS?
[LG V20 Themes, Apps, and Mods] The_Keeper86:
Yeah, NSS 6.5 for my H918
[LG V20 Themes, Apps, and Mods] Zacharee1:
Sorry, but since NSS is deodexed, my mod doesn't work on it :/. As much as I would like to grab the deodexed apps and make the mods, I can't maintain that.
[LG V20 Themes, Apps, and Mods] The_Keeper86:
It's cool no worries man. What roms does it work with?
[LG V20 Themes, Apps, and Mods] Zacharee1:
Should work with any other stock ROM. I personally use OvrDriVE's (with the 10i Settings.apk I took from an older version, so I can use fingerprints), but WETA is also a great ROM.
[LG V20 Themes, Apps, and Mods] The_Keeper86:
Thanks! I'll probably Weta again. It's indeed a very sweet rom. Sorry for detailing the thread bro.
[LG V20 Themes, Apps, and Mods] jal3223:
*Edit* I just saw where deodexed Roms arent supported.
[LG V20 Themes, Apps, and Mods] rick09:
When I install the update that enables us to pick a custom color for 2nd screen quick settings, (;with the sliders) does that mean all have to be the same color? I couldn't find any way to color the icons individually but wasn't sure if I missed something or not.
[LG V20 Themes, Apps, and Mods] Zacharee1:
Yeah. They all have to be the same. There's no way I can change that.
[LG V20 Themes, Apps, and Mods] Zacharee1:
Well I'm actually kind of confused. [MENTION=4731846]Team DevDigitel[/MENTION]'s ROM is deodexed, but it works fine. NSS is deodexed and it doesn't. Maybe I should just say NSS doesn't work.
[LG V20 Themes, Apps, and Mods] jal3223:
I tried his 100% stock rom (only deodexed) and it gave me a bootloop of sorts. Maybe it is something he is doing behind the scenes on them. Im confused too. Lol

---------- Post added at 01:11 AM ---------- Previous post was at 01:11 AM ----------

Maybe one day I can get this working though. It sounds amazing. Keep up the good work.
[LG V20 Themes, Apps, and Mods] Zacharee1:
You could give OvrDriVE or WETA a go. Both are great, and you can run the NSS kernel on them with a little modification to the flashable.
[LG V20 Themes, Apps, and Mods] jal3223:
I might give them a try tonight. Ill have to look through the threads and see which one is closest to stock. I like to add my own tweeks instead of having the code bogged down with stuff I wont use. I'll let you know how it goes.
[LG V20 Themes, Apps, and Mods] Zacharee1:
WETA has a ton of mods, but they're all selectable in the AROMA installer, so you can be bone-stock if you like, or you can play around with some mods. OvrDriVE's has 3Minit stuff replacing Stock, but that's about all that's done.
[LG V20 Themes, Apps, and Mods] jal3223:
Nice! I didn't realize WETA had an AROMA script. I'll probably go with it then. I looked over at OvrDriVEs rom but it doesnt appear to support the unlocked US966. WETA sounds like what I'm looking for anyways though. Thanks for the info!
[LG V20 Themes, Apps, and Mods] mkpcxxl:
One short question: Do this work on Fulmics 1.7 with the LG G5?

Thanks for an answer.

mkpcxxl
[LG V20 Themes, Apps, and Mods] Zacharee1:
Mostly. If you install the entire thing, it'll replace SystemUI, so you'll lose things like network traffic in the status bar. But if you're fine with just the AOD mods, install only SignBoard. If you're fine losing the SystemUI mods from Fulmics, you can install everything. Just make sure to select that you have G5 selected as your model.
[LG V20 Themes, Apps, and Mods] mkpcxxl:
Thanks for the reply. Yes ,the AOD is what is my interest.

I think I will test it in the next days.

Edit: No it doesn't work. I've installd the two apps and when I open the mod-installer I put the switch to the right direction, choose the G5 and to install the AOD mod. But nothing changes (The only thing that works is to make mod-control to a sytem app.) After that I make a reboot and nothing.

Every time I start the mod-installer it starts like in the screenshot.

[IMG="Screenshot"]https://abload.de/img/screenshotbeusj.png[/IMG]

Any suggestions?