• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Fix brightness slider and headphone bug for any gsi rom

Search This thread

Shas45558

Senior Member
Dec 9, 2018
373
114
yes....
Now you can use brightness slider and headphone jack without any overly file.....

What is needed?

#Root with magisk.
#Termux

Open termux and type....
su
Then give termux root access....

Then Type Two lines...
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)

setprop persist.sys.overlay.devinputjack true

Then reboot your device...:D:D

Do not Forget to thanks me.It is free:eek::eek:
 
Last edited:

Mido2222

New member
Sep 19, 2020
4
0
yes....
Now you can use brightness slider and headphone jack without any overly file.....

What is needed?

#Root with magisk.
#Termux

Open termux and type....
su
Then give termux root access....

Then Type Two lines...
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)

setprop persist.sys.overlay.devinputjack true

Then reboot your device...:D:D

Do not Forget to thanks me.It is free:eek::eek:

thanks it's working by the way if GSI image already has root then MAGISK itsn't requried to run these commands I tested these commands in descendant X ROM
 

Zubayer365

New member
Jun 26, 2020
4
1
yes....
Now you can use brightness slider and headphone jack without any overly file.....

What is needed?

#Root with magisk.
#Termux

Open termux and type....
su
Then give termux root access....

Then Type Two lines...
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)

setprop persist.sys.overlay.devinputjack true

Then reboot your device...:D:D

Do not Forget to thanks me.It is free:eek::eek:
Thank you sooo much bro!!!!!
 
  • Like
Reactions: Shas45558

...Saurav

Member
Jan 10, 2017
49
6
yes....
Now you can use brightness slider and headphone jack without any overly file.....

What is needed?

#Root with magisk.
#Termux

Open termux and type....
su
Then give termux root access....

Then Type Two lines...
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)

setprop persist.sys.overlay.devinputjack true

Then reboot your device...:D:D

Do not Forget to thanks me.It is free:eek::eek:

Thanks a lot brother !!!!! Works like a charm on Phh's GSI Treble Android 11 on my Realme 7 ( RMX2151 )
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    yes....
    Now you can use brightness slider and headphone jack without any overly file.....

    What is needed?

    #Root with magisk.
    #Termux

    Open termux and type....
    su
    Then give termux root access....

    Then Type Two lines...
    setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)

    setprop persist.sys.overlay.devinputjack true

    Then reboot your device...:D:D

    Do not Forget to thanks me.It is free:eek::eek:
    1
    yes....
    Now you can use brightness slider and headphone jack without any overly file.....

    What is needed?

    #Root with magisk.
    #Termux

    Open termux and type....
    su
    Then give termux root access....

    Then Type Two lines...
    setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)

    setprop persist.sys.overlay.devinputjack true

    Then reboot your device...:D:D

    Do not Forget to thanks me.It is free:eek::eek:
    Thank you sooo much bro!!!!!