[DISCONTINUED][MOD][ALL VARIANTS] Miscellaneous Mods

Should I try to re-add compatibility with the G5?


  • Total voters
    35
Search This thread

Zacharee1

Recognized Developer / Retired Forum Moderator
PLEASE READ THE ENTIRE POST!!!​


This project has been discontinued! I no longer have the time or energy to develop these mods, and I'll be getting a new phone soon.
Anyone familiar with Smali is welcome to continue development. The Smali "sources" are the mods themselves, and the Mod Control source is available on my GitHub. Just talk to me first.
For future reference: this project was made for 7.0 Nougat, Stock LGUX. IT WILL NOT RUN ON OREO (assuming that actually comes).

DISCLAIMER:
I take no responsibility if something goes wrong. This is an unofficial mod, and is not guaranteed to function. It may leave you with a bricked device, however unlikely, or a dead SystemUI. In any scenario, you choose to flash this free mod of your own volition, and you also take upon yourself the potential risks involved.

-----------------------------------

NOTES:

- This should work on all variants. The H990 series is included, but results are inconsistent on whether or not it actually works.
- If it doesn't work for your device, look under the TROUBLESHOOTING section.
- This mod replaces LGSignBoard, LGQuickTools, LGSystemUI, SBSignature, services.jar, framework.jar, and framework-res.apk, and installs the 3Minit applications.


-----------------------------------

FEATURES:

STABLE
- AOSP Signal Bars and Icons
- Stock (LG) Navbar Icons
- 3Minit Support
- 3Minit Support in the Second Screen
- Fully-Featured Mini Statusbar in Immersive Mode – Includes 3Minit (Thanks, @Mentalmuso!)
- Colored QuickTools, Navbar, Signature and AOD Signature
- Flashable ZIP for installation
- Brightness slider can be moved when Auto Brightness is enabled
- System UI Tuner functionality enabled
- Ripple animations for QuickTools when pressed
- 8 new QuickTools: Settings, Airplane Mode, Location, WiFi Hotspot, Rotation, Location, NFC, Mobile Data, Sync
- 5x4 QS layout
- Adaptive Brightness
- AOSP Power Menu


-----------------------------------

INSTRUCTIONS:
Code:
[B]1. Back up the following:
[CODE]- /system/priv-app/LGSystemUI/
- /system/priv-app/LGSignBoard/
- /system/priv-app/LGQuickTools/
- /system/priv-app/LGSettings/
- /system/app/SBSignature/
- /system/framework/framework.jar
- /system/framework/framework-res.apk
- /system/framework/services.jar
2. Download Mod Control and launch the app. Grant root access and follow the installation prompts.
3. Profit?[/B]
[/CODE]

-----------------------------------

SCREENSHOTS:


-----------------------------------

TROUBLESHOOTING:

- If you get stuck in a bootloop or an app-crash loop, see if you can grab a logcat, while dismissing the crash notification a few times:
Code:
adb logcat > log.txt
Send me that file, and I'll take a look. In the meantime, dirty flash your ROM or restore your backups so you at least have a working phone.

- If a page disappears from SignBoard, delete the following folders (after restoring your backup) under /data/data/ and reboot:
Code:
com.lge.provider.signboard
com.lge.signboard
com.lge.signboard.settings

- If you have a problem not mentioned here, or these solutions did not work, tell me, but include detail.


-----------------------------------

KNOWN ISSUES:

- Null signal icon always Stock.
- Stock signal icon shows 4G instead of LTE.


-----------------------------------

OTHER:

- Request a feature!
- Tell me if there's an issue. I'll do my best to fix it.

- If you're on WETA ROM and you're enjoying the always-on statusbar Immersive Mode feature, you can install this mod and keep that. Just run:
Code:
adb shell settings put global policy_control immersive.status=*
To revert, run:
Code:
adb shell settings put global policy_control null
Remember to also turn on the following option:
Code:
Settings>>Second screen>>More>>Show time while content is shown

- There's stuff I've forgotten to mention here I'm sure, so ask away.


-----------------------------------

USAGE:
Anyone is welcome to package this mod into a ROM or other bundle. I just ask that you tell me and give some form of credit.

-----------------------------------

CREDITS:

- @Team DevDigitel for getting me on Google Play.
- @OvrDriVE for the 3Minit implementation.
- @Mentalmuso for the statusbar implementation in Immersive Mode and the zip binary/
- @syndre for the Sprint SystemUI, which tipped me off to how to get stock icons properly.
- @lingo2012 for testing on the US996 and reporting.
- @daxgirl and @Wuby986 for ROM Control DB-option-change method thingy (https://forum.xda-developers.com/android/apps-games/app-rom-control-app-devs-t3146567).
- @ikrom for Smali implementation of ROM Control DB-changer (https://forum.xda-developers.com/showpost.php?p=62513292&postcount=2975).
- @Serg for SH scripting help.
- @onestyle007 and @akki7636 for testing on the G5. Couldn't have ported it without their help.

- 3Minit Battery: https://forum.xda-developers.com/showthread.php?t=2799958
- 3Minit Clock: https://forum.xda-developers.com/android/apps-games/3minit-clock-mod-v1-0-t3400221
- Advanced Power Menu: https://forum.xda-developers.com/android/apps-games/advanced-power-menu-root-t3227214

-----------------------------------

DOWNLOAD:
Mods ZIP
Use the Mod Control app to download/update the mods.

Mod Control App
https://labs.xda-developers.com/store/app/com.zacharee1.modcontrolredesign

Mod Control Source
https://github.com/zacharee/ModControlRedesign

XDA:DevDB Information
[MOD][ALL VARIANTS] Miscellaneous Mods, Theme for the LG V20

Contributors
Zacharee1

Version Information
Status: Beta

Created 2018-02-07
Last Updated 2018-02-16
 
Last edited:

Zacharee1

Recognized Developer / Retired Forum Moderator
Q&A:

Where is Mod Control?
By default, the launcher icon is disabled. Access Mod Control through System UI Tuner. If you're using the tabbed Settings view, change to List View.

How do I enable System UI Tuner?
Open the notification shade, and hold down on the Settings gear until your phone buzzes (or about 5 seconds). Let go, and System UI Tuner will be enabled.

How can I edit the navigation bar?
Open System UI Tuner >> Navigation bar
 
Last edited:

Zacharee1

Recognized Developer / Retired Forum Moderator
CHANGELOG:

2/5/17
- Initial Release
- Signal bar mod added
-----
- Added data connection icons
2/6/17
- Began correcting the position on the Data Icons.
- The data arrows are behind the signal bars right now. Working on a positioning fix for that.
-----
- Data arrows no longer behind signal bars. No longer show at all. Working on layering.
2/17/17
- Updated to 10j base for T-Mobile.
- Added option for anyone without 3Minit.
- (FOR OvrDriVE USERS) Replaced navbar buttons with stock icons.
-----
- Fixed a layout error. (The version without 3Minit may still be broken! I can't test.)
2/21/17
- Finally finished the data icons -- fully working on TMO
- Should work for all variants -- please test and report
- Will upload 3Minit version later today
-----
- 3Minit version released -- battery still shows and percentage does not -- will fix later
-----
- Actually uploaded the 3Minit version
- Renamed files
- Fixed layout issue in second screen
2/22/17
- Fully featured status bar in Immersive Mode, thanks to @Mentalmuso. -- Only for 3Minit version!
- Fixed null signal bar icon
- Fixing the AOD 3Minit layout caused the icon to get smaller -- working on a fix
- Prepping to phase out non-3Minit version
-----
- Fixed a derp
-----
- AOD 3Minit Battery size and layout fixed.
-----
- Today is a Derpful day
- Fixed Immersive Mode statusbar layout
-----
- Fixed 4G/H+ icon
2/23/17
- Added Experimental build
- Deprecated non-3Minit version
2/26/17
ONLY FOR THE EXPERIMENTAL VERSION!
- Added non-functional QuickTools button (Settings)
- Colors!
2/27/17
- Added some self-customization options for QuickTools
-----
- New color options (all blue, all red, all white, etc)
- (Experimental) Installer will back up files it is modifying. Use the RESTORE ZIP to restore the backups.
-----
- (Experimental) Adaptive Brightness!!!!
2/28/17
- Fixed RESTORE ZIP
-----
- (Experimental) Fixed brightness slider in Settings
-----
- (Experimental) Removed brightness slider enabled on auto brightness in Settings (was causing a crash)
- (Experimental) New flashing method that will enable me to make the mini-customizations flashable as well (I hope)
- (Experimental) This time the RESTORE ZIP should actually be fixed
- Once I get the mini-mods flashable, I think I'll move the current changes over to STABLE
3/1/17
- Made all mini-customizations flashable
3/2/17
- Super-experimental Mod Control app (check DOWNLOADS)
-----
- Added 3Minit Battery toggles
- Added icon
-----
- Couldn't resist -- added purple and green QTs
3/4/17
- EXPERIMENTAL BUILD
- New Experimental flashable that enables future versions of the Mod Control app to work
- Some behind-the-scenes changes to the app to allow further customization options (IT NEEDS TO BE INSTALLED AS A SYSTEM APP NOW!!)
3/5/17
- EXPERIMENTAL
- Ported AOD over to new method (Stock battery layout is very wonky; I don't have time to fix it right now)
- Next addition will be AOSP signal bar toggle.
3/6/17
- EXPERIMENTAL
- AOD Stock battery still broken
- AOSP signal bar toggle added
- Some layout changes to the app
3/7/17
- EXPERIMENTAL
- Fixed AOD Stock battery layout
- More layout changes in the app
- Began work on 3Minit Clock
- Next version will likely be Stable
-----
- Stable versions released
- 3Minit Clock added (no AOD yet)

3/8/17
- Added Signature Colors to app (no flash needed)
- Removed LGQuickTools package from ZIP (colors can still be controlled from the app)
-----
- Added 3Minit Clock statusbar positions
- Changed app behavior slightly
12/9/17
- Upload new Mod Control to Labs
- Add new QuickTools
- Add ripple backgrounds to QuickTools (shown when tapped)
- Restore System UI Tuner functionality
- Changes are now instantaneous
12/11/17
- Up maximum toggle count to 12 (it doesn't look good; please don't do it)
- Color preview layout and draggable items in configuration page
- Add more toggles
- Fix layout formatting on config page
12/19/17
- Add brightness slider to expanded QS panel
- Change brightness slider style to AOSP
- Now 4 rows in QS panel
- True Adaptive Brightness!
12/26/17
- QS layout now 5 columns and 4 rows
- Add sync toggle to QuickTools
12/29/17
- Revert to AOSP navbar – normal "Home touch buttons" menu no longer works
- Change brightness slider in Settings to AOSP-like button to open system brightness slider
- Enable *#*#4636#*#* >> Phone information – many features don't work properly
- Add enable/disable for navigation bar tinting
- Allow changing status bar and navigation bar height
- Possibly more...
1/1/18
- Settings, User Switcher buttons always present in notification shade (including when not expanded)
- Change System UI Tuner to dark theme
- System UI Tuner enabled by default
- Remove Home Touch Buttons menu in favor of shortcut to navigation bar tuner
- Fix settings gear behavior in notification shade
- Add back swipe on navigation bar to activate MiniView
- Change navigation bar button size
- Change navigation bar height
- Change status bar height
- More tweaks to System UI Tuner layout
1/2/18
- Bug fixes
- Mod Control launcher icon DISABLED by default now – enter through Settings >> System UI Tuner
1/25/18
- You can now toggle whether or not the AOD automatically returns to the main page (it's a little buggy)
- You can now toggle whether or not going into Immersive Mode will force the mini status bar over the SignBoard pages.
- It's also possible to actually edit AOD widgets. This functionality, however, has been built into BoredSigns. Build or buy if interested: https://forum.xda-developers.com/v20/themes/discussion-boredsigns-custom-signboard-t3735600
1/26/18
- Fix a calling issue with the H990 variants. This mod should now be fully compatible.
- Center clock is now truly centered (which means it will overlap with other elements if enough are present).
1/28/18
- Fix a bootloop
1/31/18
- Fix another issue on the H990 series
- Add navbar and statbar coloring options
2/7/18
- Screen-On Signature works now (finally)
- Add the option to allow home screen widgets to be shown in the second screen (disabled by default; change in Mod Control)
2/8/18
- Fix Assertive Display functionality
2/8.5/18
- Fix editing QS Tile Layout
2/16/18
- AOSP Power Menu!
- You can also edit what's available in the AOSP power menu
- The Stock power menu is still available. Go to Mod Control >> Power Menu Mods and turn off the switch.
2/16.5/18
- Fix some buttons in the power menu
2/17/18
- Fix a System UI crash
2/21/18
- Add reply from lock screen functionality (enable in Mod Control >> Other Mods >> Other)
4/1/18
- No, this isn't an April Fools joke.
- Add update checker to Mod Control
4/5/18
- Add option to toggle poweroff/reboot confirmation dialogs (Mod Control >> Power Menu Tweaks)
4/6/18
- A bunch of fixes to System UI (should be no more missing status bar and navbar)
- Add Miracast, QSlide, Lock Screen QS Tiles (Night Mode toggle next release)
4/7/18
- More fixes and some cleanup
- Add Caffeine tile (Night Mode tile was already added)
4/8/18
- Launcher icon for Mod Control enabled by default now
4/24/18
- Fix clock and battery on dual-SIM devices
4/30/18
- Add SIM-switch button to navbar options

5/5/18
- Fix headphone media volume being reset on reboot
- Add option to always allow fingerprint unlock (based on @stangdriver44's patch)
 
Last edited:

Zacharee1

Recognized Developer / Retired Forum Moderator
For the life of me, I can't find where the data arrows are being colored. There's an experimental build up that has white arrows, so you'll only be able to see them if you don't have full service.

I think for now I have to give up on fixing it. If there's anyone following this thread, what would you want to see AOSP-ified? Doesn't have to be SystemUI.
 

Negan

Forum Moderator / Recognized Themer
Staff member
For the life of me, I can't find where the data arrows are being colored. There's an experimental build up that has white arrows, so you'll only be able to see them if you don't have full service.

I think for now I have to give up on fixing it. If there's anyone following this thread, what would you want to see AOSP-ified? Doesn't have to be SystemUI.

Adding color to status bar icons is not a good idea given that they are dynamic.
 

Negan

Forum Moderator / Recognized Themer
Staff member

Attachments

  • Screenshot_2017-02-11-20-13-11.jpg
    Screenshot_2017-02-11-20-13-11.jpg
    168.1 KB · Views: 3,486

Negan

Forum Moderator / Recognized Themer
Staff member
Then why do they always show up white, no matter what? It's been bothering the hell out of me; can't find anything in XMLs, in Smali, anywhere. Is there a way to tell it to not be white arrows on a white triangle?
Open up android device manager in studio and see what it says. Thats the best way to find tricky things
 

Top Liked Posts

  • There are no posts matching your filters.
  • 44
    PLEASE READ THE ENTIRE POST!!!​


    This project has been discontinued! I no longer have the time or energy to develop these mods, and I'll be getting a new phone soon.
    Anyone familiar with Smali is welcome to continue development. The Smali "sources" are the mods themselves, and the Mod Control source is available on my GitHub. Just talk to me first.
    For future reference: this project was made for 7.0 Nougat, Stock LGUX. IT WILL NOT RUN ON OREO (assuming that actually comes).

    DISCLAIMER:
    I take no responsibility if something goes wrong. This is an unofficial mod, and is not guaranteed to function. It may leave you with a bricked device, however unlikely, or a dead SystemUI. In any scenario, you choose to flash this free mod of your own volition, and you also take upon yourself the potential risks involved.

    -----------------------------------

    NOTES:

    - This should work on all variants. The H990 series is included, but results are inconsistent on whether or not it actually works.
    - If it doesn't work for your device, look under the TROUBLESHOOTING section.
    - This mod replaces LGSignBoard, LGQuickTools, LGSystemUI, SBSignature, services.jar, framework.jar, and framework-res.apk, and installs the 3Minit applications.


    -----------------------------------

    FEATURES:

    STABLE
    - AOSP Signal Bars and Icons
    - Stock (LG) Navbar Icons
    - 3Minit Support
    - 3Minit Support in the Second Screen
    - Fully-Featured Mini Statusbar in Immersive Mode – Includes 3Minit (Thanks, @Mentalmuso!)
    - Colored QuickTools, Navbar, Signature and AOD Signature
    - Flashable ZIP for installation
    - Brightness slider can be moved when Auto Brightness is enabled
    - System UI Tuner functionality enabled
    - Ripple animations for QuickTools when pressed
    - 8 new QuickTools: Settings, Airplane Mode, Location, WiFi Hotspot, Rotation, Location, NFC, Mobile Data, Sync
    - 5x4 QS layout
    - Adaptive Brightness
    - AOSP Power Menu


    -----------------------------------

    INSTRUCTIONS:
    Code:
    [B]1. Back up the following:
    [CODE]- /system/priv-app/LGSystemUI/
    - /system/priv-app/LGSignBoard/
    - /system/priv-app/LGQuickTools/
    - /system/priv-app/LGSettings/
    - /system/app/SBSignature/
    - /system/framework/framework.jar
    - /system/framework/framework-res.apk
    - /system/framework/services.jar
    2. Download Mod Control and launch the app. Grant root access and follow the installation prompts.
    3. Profit?[/B]
    [/CODE]

    -----------------------------------

    SCREENSHOTS:


    -----------------------------------

    TROUBLESHOOTING:

    - If you get stuck in a bootloop or an app-crash loop, see if you can grab a logcat, while dismissing the crash notification a few times:
    Code:
    adb logcat > log.txt
    Send me that file, and I'll take a look. In the meantime, dirty flash your ROM or restore your backups so you at least have a working phone.

    - If a page disappears from SignBoard, delete the following folders (after restoring your backup) under /data/data/ and reboot:
    Code:
    com.lge.provider.signboard
    com.lge.signboard
    com.lge.signboard.settings

    - If you have a problem not mentioned here, or these solutions did not work, tell me, but include detail.


    -----------------------------------

    KNOWN ISSUES:

    - Null signal icon always Stock.
    - Stock signal icon shows 4G instead of LTE.


    -----------------------------------

    OTHER:

    - Request a feature!
    - Tell me if there's an issue. I'll do my best to fix it.

    - If you're on WETA ROM and you're enjoying the always-on statusbar Immersive Mode feature, you can install this mod and keep that. Just run:
    Code:
    adb shell settings put global policy_control immersive.status=*
    To revert, run:
    Code:
    adb shell settings put global policy_control null
    Remember to also turn on the following option:
    Code:
    Settings>>Second screen>>More>>Show time while content is shown

    - There's stuff I've forgotten to mention here I'm sure, so ask away.


    -----------------------------------

    USAGE:
    Anyone is welcome to package this mod into a ROM or other bundle. I just ask that you tell me and give some form of credit.

    -----------------------------------

    CREDITS:

    - @Team DevDigitel for getting me on Google Play.
    - @OvrDriVE for the 3Minit implementation.
    - @Mentalmuso for the statusbar implementation in Immersive Mode and the zip binary/
    - @syndre for the Sprint SystemUI, which tipped me off to how to get stock icons properly.
    - @lingo2012 for testing on the US996 and reporting.
    - @daxgirl and @Wuby986 for ROM Control DB-option-change method thingy (https://forum.xda-developers.com/android/apps-games/app-rom-control-app-devs-t3146567).
    - @ikrom for Smali implementation of ROM Control DB-changer (https://forum.xda-developers.com/showpost.php?p=62513292&postcount=2975).
    - @Serg for SH scripting help.
    - @onestyle007 and @akki7636 for testing on the G5. Couldn't have ported it without their help.

    - 3Minit Battery: https://forum.xda-developers.com/showthread.php?t=2799958
    - 3Minit Clock: https://forum.xda-developers.com/android/apps-games/3minit-clock-mod-v1-0-t3400221
    - Advanced Power Menu: https://forum.xda-developers.com/android/apps-games/advanced-power-menu-root-t3227214

    -----------------------------------

    DOWNLOAD:
    Mods ZIP
    Use the Mod Control app to download/update the mods.

    Mod Control App
    https://labs.xda-developers.com/store/app/com.zacharee1.modcontrolredesign

    Mod Control Source
    https://github.com/zacharee/ModControlRedesign

    XDA:DevDB Information
    [MOD][ALL VARIANTS] Miscellaneous Mods, Theme for the LG V20

    Contributors
    Zacharee1

    Version Information
    Status: Beta

    Created 2018-02-07
    Last Updated 2018-02-16
    10
    Q&A:

    Where is Mod Control?
    By default, the launcher icon is disabled. Access Mod Control through System UI Tuner. If you're using the tabbed Settings view, change to List View.

    How do I enable System UI Tuner?
    Open the notification shade, and hold down on the Settings gear until your phone buzzes (or about 5 seconds). Let go, and System UI Tuner will be enabled.

    How can I edit the navigation bar?
    Open System UI Tuner >> Navigation bar
    8
    So this is long overdue, but I'm going to be fixing up this mod.

    Problems I've seen from you all:
    • QuickToggles and Navbar buttons are black by default.
    • Mod Control has to be a system app, otherwise it crashes.
    • Mod Control also just crashes a lot.
    • Mod Installer doesn't always work, and it's basically random chance whether or not it will.

    Problems I have with it:
    • Mod Control and Mod Installer are a mess on the backend. They're open source, and anyone can confirm that.
    • Mod Control and Mod Installer are a mess on the frontend. Anyone who uses either knows that.
    • I made this mod before I even made an Android app, which definitely was not a good idea.

    My plan:
    • I've already made it so the defaults will be white. It'll be like that when I release.
    • Instead of writing to Settings.System, which is pointless and what's causing crashes, I'll write to Settings.Global. The app technically won't even require root to operate, and won't need to be a system app.
    • I'm going to rewrite Mod Control, using more standard UI decisions and such.
    • I think I'm going to just go back to a flashable ZIP. I know that works fine, and you have to reboot to use the mod properly anyway, so it won't be much different.
    • Like I said above, I'm going to rewrite Mod Control and just get rid of Mod Installer.
    • Now I've had a bit more experience in Java programming, and that transfers, at least partially, to the Smali stuff I need to do.

    Currently, I'm considering re-releasing Mod Control under a different package name. That means that it won't come as an update to the current app, but I'll be able to put it up on the Play Store again and start fresh.

    NOTE: I will need someone who has the mod installed on their G5 to send me LGSignBoard, SBSignature, framework-res and lge-res. This project was pretty disorganized, so I want to start with files I know are correct.

    Tell me what you all think.
    6
    Hi zacharee. Thanks for your work. Is possible you add always on display like Samsung devices? The second screen is too small . The time Not detectable from a distance.
    And is possible to add round corners to notification panel and all system windows like ussd code response, and phone screen
    Like Samsung s8 and lg g6
    This is going to sound rude, but if you like the Samsung UI so much, maybe it's better to just get a Samsung phone.

    An AOD on the main screen of this phone might be possible, but it's simply not practical. Samsung phones have OLED panels, so only the active pixels are lit. The V20 has an LCD, so the main backlight would need to be on to display any content; it would be just as power efficient as having the lockscreen never time out and go to sleep.

    As for rounded corners, install a theme that has them. Even if I liked rounded corners in Material Design (I don't), I wouldn't want to force it on everyone else.
    6
    I was wondering if it would be possible to request a few options for the next release. Would we be able to hide the bluetooth pop up and wifi pop up screens and also would it be possible to change the recent apps menu style or move the clear all option to the bottom right of the screen? Thanks for everything.

    There aren't going to be any more releases.