Calibrating screen sensitivity - Android Q&A, Help & Troubleshooting

Is there any way to calibrate screen sensitivity? My OnePlus 6 has too much sensitive screen. Device isn't rooted yet so I tried to change sensitivity on Nexus 4. I added touch.pressure.scale=0.3 to build.prop (I checked a few different values from 0.01 to 10) and nothing changed. Also, I found touch_dev.idc file in /system/usr directory. The comment in this file says: "Input Device Calibration File for the Mako touch screen.". There are a few number parameters (like touch.pressure.scale or touch.size.scale). I tried to change them but it didn't make any effect. Of course, I rebooted device after every change.
Should I do something more to apply my changes? Or should I change values in any other places? Maybe some kernel modifications?

Related

[Q] How to change the timeout of the keyboard back light?

I have a Mini Pro and want to change the timeout for the keyboard backlight. I have come across an entry in the X10 forum which talks about changing the parameter in the /sys/module/keyboard/parameters/brl_timeout file. The problem is that after reboot this file gets overwritten and reads 300 again. I have tried changing the permissions to make it read-only but it still doesn't work
On the X10 forum someone suggested to go to sys/devices/platform/msm_pmic_misc_led.0/ and put a 0 in the 'brightness' file and save it. However this file doesn't exist on the Mini Pro.
Anyone have any other ideas?
Bump
I would be interested too. It shouldn't be necessary to switch off the light at all since it is only 3-4 LEDs ...

[Q] Need help tweaking DeskClock - Changes not applying

Hi,
I'm trying to modify the ICS deskclock app for my device so that it simulates being touched when the screensaver mode starts. (if you touch the screen it dims the backlight a lot, and darkens the text).
I have some Android devices on 24x7 and the screens can't power off, so I need to dim the backlight down when the screensaver mode kicks in (deskclock is launched at idle instead of lock screen).
I've got the DeskClock source used on my device and have modified DeskClock.java by adding 'doDim(true);' at the start of 'Private void saveScreen()'
After compiling I got the APK but my device wouldn't load it (reported signature mis-match) so I used the .odex from the original APK not the one with my new package - now the modded APK installed.
But when I launch nothing seems to have changed - I re-compiled after changing the screensaver timeout value in DeskClock.java, but again it doesn't seem to be any different..
Is this because I'm using the original .odex ?
If so, how can I re-create an odex file to match the framework on my device for the new APK? (if I use the odex file generated by compiling the entire ROM is says something like the policy framework signature does not match?!)
If not, any ideas why nothing is changing? (I have no real experience of Java!)
Many Thanks!

[Q] Replacing sensor values

Hi,
I need to somehow be able to replace the sensor values taken from the devices HW sensors, and replace them by other values ( taken from file for example .. ) . I doubt that this change can be done using the SDK and it needs lower development. any one has any idea of any possible way this can be achieved ? changing kernel / changing system files ?
If you mean to replace the real time sensor values with the values you want, it might be gonna tricky I guess. I had the same idea before but was failed. Good luck and sorry I can't help.
Everything is Permitted?

[Q] How to modify the Screen Lock default setting.

Hi All,
New to the forums and have been doing a bit of modifications to my Settings.apk and settings.db files thanks to all the very helpful people in the forum but I'm stuck in changing the default setting for the screen lock.
Essentially I want to stop the Swipe to unlock screen from appearing after a device restart. I have stopped the display from sleeping by modifying the "screen_off_timeout" value in the settings.db file, but that doesn't stop the lock screen from appearing after a restart.
Does anyone know where this setting would be stored? I tried changing "lockscreen.disabled" in the "secure" table to "1" but it seemed to default back to "0" after a reboot. Is this what I should be changing but am doing something wrong?
I am using a generic chinese Allwinner A31s tablet with Android 4.2.2.
Thanks in advance for any help offered.

Can't change LCD density after 5.1

Hi there... recently Flashed 5.1 on my Nexus 5, rooted my device then went ahead and tried to change the DPI like I always do after a flash and its not working...
I have tried setting the value ro.sf.lcd_density to 400 and it wont register.
The setting has definately been modified when i review the build file...
I have tried various apps that change DPI too and none of them work
Any ideas?
can you attach build.prop (from the rom's zip if available and from the phone's system partition) ?
Having the same issue on nexus 6. Changing to 520 DPI will boot loop, using 500 DPI doesn't change anything (some text in some apps is smaller, but everything else is the same).

Categories

Resources