Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable device backlight #104

Open
molli1312 opened this issue May 3, 2024 · 1 comment
Open

Disable device backlight #104

molli1312 opened this issue May 3, 2024 · 1 comment

Comments

@molli1312
Copy link

molli1312 commented May 3, 2024

Hi, I am very happy with the app. What I'm missing, however, is Disable device backlight. For me it works with the ADB command echo 0 > /sys/class/backlight/panel0-backlight/brightness.

I would like to see the change in the next update.

Furthermore, after disconnecting the display, the app sets the density DPI. But my preferred standard DPi in "phone mode" is 289. The possibility of setting this when the display is disconnected would be nice.

My Phone: Fairphone 4 with Lineageos

@molli1312
Copy link
Author

" Furthermore, after disconnecting the display, the app sets the density DPI. But my preferred standard DPi in "phone mode" is 289. The possibility of setting this when the display is disconnected would be nice."

I have found a solution to this problem

adb devices
adb root
adb remount
#adb pull /system/vendor/build.prop
#nano build.prop
##change
#ro.sf.lcd_density=VALUE
##to
#ro.sf.lcd_density=289
adb push build.prop /system/vendor/build.prop
adb shell chmod 644 /system/vendor/build.pro
adb reboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant