[LG V30 Themes, Apps, and Mods] iyurtlu:
Other Mods..

Replace red lines with blue values.

Add magenta lines

1- Answer Call with the Volume key

Decompile services.jar and open with text editor this file "Decompiled_apk\services\smali\com\android\server\policy\PhoneWindowManager.smali"

29498 .line 6996
29499 const-string/jumbo v24, "WindowManager"
29500
29501 const-string/jumbo v25, "interceptKeyBeforeQueueing: VOLUME key-down while ringing: Silence ringer!"
29502
29503 invoke-static/range {v24 .. v25}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
29504
29505 .line 7001
[COLOR="Red"]29506 invoke-virtual/range {v22 .. v22}, Landroid/telecom/TelecomManager;->silenceRinger()V[/COLOR]
[COLOR="Blue"]29506 invoke-virtual/range {v22 .. v22}, Landroid/telecom/TelecomManager;->acceptRingingCall()V

[/COLOR]

2- Power Key End Call - Even if the screen is off (While in the ear during the call)

Decompile services.jar and open with text editor this file "Decompiled_apk\services\smali\com\android\server\policy\LGPhoneWindowManager.smali"

2102 invoke-static {v10}, Lcom/android/server/policy/SmartCoverStatus;->isCoverClosed(I)Z
2103
2104 move-result v10
2105
2106 .line 1644
[COLOR="Red"]2107 if-eqz v10, :cond_8[/COLOR]
[COLOR="blue"]2107 if-nez v10, :cond_8[/COLOR]
2231 invoke-static {v0}, Lcom/android/server/policy/SmartCoverStatus;->isCoverClosed(I)Z
2232
2233 move-result v0
2234
2235 .line 1545
[COLOR="Red"]2236 if-eqz v0, :cond_1[/COLOR]
[COLOR="blue"]2236 if-nez v0, :cond_1[/COLOR]

3- Screen Off Qmemo Shortcut (Volume Key) open Flashlight

This mode required wipe cache/dalvik after every restart.

Decompile services.jar and open with text editor this file "Decompiled_apk\services\smali\com\android\server\policy\FlashLightExecutor.smali"

726	# virtual methods
.
.
738	.method public executeDoublePress()V
739	.locals 0
740
741	.prologue
742	.line 65
[COLOR="Magenta"]743	invoke-direct {p0}, Lcom/android/server/policy/FlashLightExecutor;->executeFlashLightToggle()V [COLOR="Magenta"]------> Add this line[/COLOR]
744
745	.line 66[/COLOR] [COLOR="Magenta"]------> Add this line[/COLOR]
746	return-void
747	.end method
748

open with text editor this file "Decompiled_apk\services\smali\com\android\server\policy\LGPhoneWindowManager.smali"

[COLOR="Red"]32 field private static final EXECUTE_QMEMO_BY_SHORT_CUT:I = 0x2[/COLOR]
[COLOR="Blue"]32 field private static final EXECUTE_FLASH_LIGHT_BY_SHORT_CUT:I = 0x2[/COLOR]

[COLOR="red"]752 iput-object v5, p0, Lcom/android/server/policy/LGPhoneWindowManager;->mQMemoExecutor:Lcom/android/server/policy/QMemoExecutor;[/COLOR]
[COLOR="blue"]752 iput-object v5, p0, Lcom/android/server/policy/LGPhoneWindowManager;->mFlashLightExecutor:Lcom/android/server/policy/FlashLightExecutor;[/COLOR]

[COLOR="red"]764 iput-object v5, p0, Lcom/android/server/policy/LGPhoneWindowManager;->mFlashLightExecutor:Lcom/android/server/policy/FlashLightExecutor;[/COLOR]
[COLOR="blue"]764 iput-object v5, p0, Lcom/android/server/policy/LGPhoneWindowManager;->mQMemoExecutor:Lcom/android/server/policy/QMemoExecutor;
[/COLOR]
[COLOR="red"]5832 iget-object v1, p0, Lcom/android/server/policy/LGPhoneWindowManager;->mQMemoExecutor:Lcom/android/server/policy/QMemoExecutor;[/COLOR]
[COLOR="blue"]5832 iget-object v1, p0, Lcom/android/server/policy/LGPhoneWindowManager;->mFlashLightExecutor:Lcom/android/server/policy/FlashLightExecutor;
[/COLOR]
[COLOR="Red"]5837 iget-object v0, p0, Lcom/android/server/policy/LGPhoneWindowManager;->mQMemoExecutor:Lcom/android/server/policy/QMemoExecutor;[/COLOR]
[COLOR="blue"]5837 iget-object v0, p0, Lcom/android/server/policy/LGPhoneWindowManager;->mFlashLightExecutor:Lcom/android/server/policy/FlashLightExecutor;[/COLOR]

Good Luck..