Do It Manually:



- As before, I'm not going to give instructions on decompiling JARs and ODEXes. You'll have to do that yourself.



- If you applied my previous mod, RESTORE YOUR BACKUP before proceeding!



- Decompile your services.jar and open the following file in a text editor (I use Sublime because it has a Smali highlighting plugin):

Code: - com/android/server/audio/AudioService.smali

Code: const-string/jumbo v2, "ro.config.media_vol_steps" .line 743 sget-object v3, Lcom/android/server/audio/AudioService;->MAX_STREAM_VOLUME:[I const/4 v4, 0x3 aget v3, v3, v4 .line 742 invoke-static {v2, v3}, Landroid/os/SystemProperties;->getInt(Ljava/lang/String;I)I move-result v13 .line 744 sget-object v2, Lcom/android/server/audio/AudioService;->MAX_STREAM_VOLUME:[I const/4 v3, 0x3 aget v2, v2, v3 if-eq v13, v2, :cond_1 .line 745 sget-object v2, Lcom/android/server/audio/AudioService;->MAX_STREAM_VOLUME:[I const/4 v3, 0x3 aput v13, v2, v3 .line 746 sget-object v2, Landroid/media/AudioSystem;->DEFAULT_STREAM_VOLUME:[I mul-int/lit8 v3, v13, 0x3 div-int/lit8 v3, v3, 0x4 const/4 v4, 0x3 aput v3, v2, v4 .line 750 :cond_1

Code: sget-object v3, Lcom/android/server/audio/AudioService;->MAX_STREAM_VOLUME:[I const/4 v4, 0x3 aget v3, v3, v4 sput v3, Lcom/android/server/audio/AudioService;->MAX_MUSIC_STREAM_VOLUME:I

Code: if-eqz v2, :cond_2 .line 751 const/4 v2, 0x1 sput-boolean v2, Lcom/android/server/audio/AudioService;->mHifiDacSupported:Z .line 752 const/4 v2, 0x5 sput v2, Lcom/android/server/audio/AudioService;->HIFI_MEDIA_VOLUME_OFFSET:I .line 754 :cond_2



- Recompile, copy in, set permissions, and it should be good to go.

- As before, I'm not going to give instructions on decompiling JARs and ODEXes. You'll have to do that yourself.- If you applied my previous mod, RESTORE YOUR BACKUP before proceeding!- Decompile your services.jar and open the following file in a text editor (I use Sublime because it has a Smali highlighting plugin):- Find the following block of code (it may not be exactly the same, so just search for the string you see at the top):- At the bottom, right above .line ***, add this:- About 24 lines or so down, look for this block:- At the bottom, you'll notice a const/4 v2 variable, with a value of 0x5. Change the value to 0x1.- Recompile, copy in, set permissions, and it should be good to go.

A little while ago I made this mod that lets you set a custom value to apply to all volume sliders. I found it pretty handy, but it got a little annoying how every slider was affected, and a lot would move extremely slowly because of their tiny scaling.Well I'm back, this time with a slightly different mod. This one only affects the HiFi volume step count, but it does it in a standard way. You might know about the build.prop key AOSP uses (ro.config.media_vol_steps) to customize the number of volume steps allowed. For whatever reason, LG disabled this behavior for the media volume (laziness? who knows...), including HiFi. I figured out how to simultaneously make the HiFi steps be 1 and have LG actually listen to that build.prop value.Right now, I have `ro.config.media_vol_steps=100` in my build.prop and can confirm the slider does actually have 100 steps now.I'm attaching two JARs. The US version should work with most variants, while the 990DS version is for the H990 variants, assuming the US version doesn't work.