Spoofing sensor values - Android Software/Hacking General [Developers Only]

Hi guys,
I'm looking for a way to spoof android sensor's values, especially the light sensor's readings.
I'm trying to do that in order to trick samsungs to enable their ultra bright screen mode by setting the brightness reading high enough.
Any input on how to do that is helpful.
Thanks.
WRONG SECTION. Please delete. Moving it to the Q&A section.

Related

[Q] Increasing Screen Rotation Speed

Is it possible to make the screen rotation happen any faster? Using an accelerometer app to view the sensors values, it looks like the values for a rotated screen are produced pretty quickly after a screen rotation takes place. Could the process responsible for detecting this change increase the sample rate of the accelerometer values, resulting in a faster response? Or is the pause due to error prevention, to help eliminate false rotations?
I would like to bring this back to the top, as it is a valid concern for me, as well. There is a full 1.5-second delay for switching orientation. Far too slow.
Thank you,
Andy
Hi,
I just asked this same question in another thread yesterday so I would also like to know. I'm using a Huawei u8100 running android 2.1.
Thanks!

Too high brightness?

Is there a way to lower the brightness of the screen, lower than the Low setting? At the Low brightness, its still to high to use in the dark.
Any reg hack or something?
Bump, anyone?
If you use the adaptive lighting (automatic adjustment), it should be pretty dim in a dark room.
If that's not enough, there are probably regisrty settings that control the brightness at each level, but you'll need to find them and figure out how to modify them.
I suggest starting with the Registry Tweaks thread on the dev & hacking sub-forum. Somebody may have discovered it already. Search is your friend!
GoodDayToDie said:
If you use the adaptive lighting (automatic adjustment), it should be pretty dim in a dark room.
If that's not enough, there are probably regisrty settings that control the brightness at each level, but you'll need to find them and figure out how to modify them.
I suggest starting with the Registry Tweaks thread on the dev & hacking sub-forum. Somebody may have discovered it already. Search is your friend!
Click to expand...
Click to collapse
I did search, I'll see again, btw, I am using adaptive lightning, and it hurts my eyes. but on manual setting set to low, it's convenient, thx for the reply
wish there was a lower setting as well.
I notice right before the screen auto turns off after 30 seconds, it dims slightly lower than it can be set to via settings.
Did anyone found the registry to change for the brightness?

[Q] LED flash higher brightness hack?

Tonight I noticed that the flash during picture taking is noticeably brighter than the LED during autofocus/preview and any flashlight apps. If you don't believe me try it in a dark room, preferably your parents basement. Has anyone found a way to use flash brightness mode as a regular flashlight? I feel like I've tried every app out there and they are all the same brightness as Torch, and the Torch high brightness mode does NOTHING. I searched the forums as best as I could and my drunk ass can't find anything. It really bothers me!!!
If the camera app in Cyanogenmod can use some super turbo ultra high brightness mode during picture taking isn't it possible in any other app? I had a similar situation with my HTC Inspire HD but Torch came through and let me use both LED's at once.
Please read forum rules before posting
Questions and help issues go in Q&A and Help section
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator

[Q] Tasker + Proximity Sensor + Display On

Hi,
like the Question Titel show i search for a way to turn the display on when i wave over the proximity sensor with my hand.
It works when i have want to take the display off, but not to turn it on.
Can anybody help me please?
Reply to very old post, but might be handy for future users: have you noticed the display off monitoring in the preferences? I think you need to enable the proximity sensor there.

rotate the AOD? + what is sunlight-booster?

heya good day!
i am working on reusing this second hand xperia 5 ii as a car dash computer.
getting pretty close. I've managed to rotate apple music and edit it's scaling to be fit for landscape use.
i also need to try and get the always on display rotated.
but i cant seem to find the package or whatever is responsible for the AOD
in setting's it's called ambient display. but even with those search tag's i couldn't find the process..
does anyone know what the package name is for sony's AOD? or perhaps know how to modify the AOD to be usable in landscape?
while searching i did find something interesting. a package called "Sunlight-booster"
i did notice whenever i have my brightness maxed. and i then move the phone into a bright light. the display boosts the brightness.
is there a way to get that extra bit of brightness on the normal brightness slider? or to manually activate the extreme brightness?
since this will be mounted in a car's dash. the sensor might never actually face direct sunlight. while the screen could still be hard to see. so I'd like to make it a tad more sensitive.
Thank you in advance!

Categories

Resources