So, I’m wondering if there is any way to get headphone gain settings working in smartpack kernel manager on a vanilla lineageos install. I know it works with elementalx kernel. If I want this setting do I need to compile a lineageos kernel myself and enable a setting somewhere? Is this feature specific to a patch?

  • d3Xt3r@lemmy.nz
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 months ago

    Haven’t used custom kernels in ages, but why not just use Wavelet? It’s made by the same guys who made Viper4Android.

    • 137@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      I see what you mean, but I don’t need an equalizer. I am trying to increase the volume threshold itself. I used to use mixer_paths.xml for this years ago, but even doing that is getting complicated (magisk overlayfs is needed now I guess?). I prefer the smartpack way though as it can be changed on the fly.

      • d3Xt3r@lemmy.nz
        link
        fedilink
        English
        arrow-up
        2
        ·
        11 months ago

        Wavelet is more than just an equalizer though, you can use it to raise just the gain, like you wanted - and it can be changed on the fly, and doesn’t even need root.

        • 137@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

          I think the gain for this app is related to the limiter for audio normalization. What I’m trying to do is increase the loudness itself coming from the system to the output device which cannot be done without root as far as I know. Thanks for the suggestion though.

          My question is specifically about the kernel and whether flar2 sound patch and/or kernel option is a requirement for smartpack headphone gain to work or not.

  • ebd6a8c9051028dc1607
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    have you tried edit /system/vendor/etc/mixer_paths.xml file ? it may include volume and gain config

    • 137@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Yeah, that will have to be the way. I looking into lineageos stock kernel and the paths for smartpack kernel manager do not exist. Probably just run outdated software instead for now.

      • ebd6a8c9051028dc1607
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        afaik gain control sysfs is not a part of vanilla linux kernel. so you may need to port some patch from elementalx kernel, rather than just simply enable some kernel config