Related
Hi there,
Coming from a Blackberry Bold 9700 and being now the proud owner of a Samsung Galaxy S, I have to confess I miss a tiny little feature that I had with the BB and that the SGS doesn't have: when I used to put my BB in its case, it would lock the phone automatically.
Well, I know that is an old feature of all BB and that it works via a magnetic mechanism of some sort.
My question is: would it be possible to develop such a feature for the SGS, using the proximity sensor?
Or... is there any existing app that already does this?
FYI, I use this case: http://www.amazon.co.uk/GENUINE-KRU...1?ie=UTF8&s=electronics&qid=1284032013&sr=8-1
Thanks!
Benny
One small question: is this topic in the appropriate forum or should it be in the "Android Development" one?
This could really belong in any of the forums, it's about accessories, an application for locking the phone, and the development of such an application. Congrats, for what it's worth!
But...I don't think this is possible. I'm just another uneducated user though, so what do I know!
This looks cool :
http://androidforums.com/htc-desire/94942-use-proximity-sensor-disable-screen-while-pocket.html#post930969
Thanks for the info, Danesh!
That tool seems to be quite perfect for the job. But I'm afraid it does not work with my (and, I assume, any) SGS...
Can someone take a look at it and see if it can be modded in order for it to work?
Thanks a bunch!
Sent from my GT-I9000 using XDA App
It works but u need to plugin ur headphones first.
Daneshm90 said:
It works but u need to plugin ur headphones first.
Click to expand...
Click to collapse
Oh, ok... But that kind of defeats the purpose I intended to use it for.
Sorry to be such a pain, but is there someone who can enable the sensor to do its job even with no headphones plugged in?
Thanks again!
Benny_Lx said:
Oh, ok... But that kind of defeats the purpose I intended to use it for.
Sorry to be such a pain, but is there someone who can enable the sensor to do its job even with no headphones plugged in?
Thanks again!
Click to expand...
Click to collapse
Im currently creating such an app. Heres wht imma implement :
Using orientation sensor + proximity sensor, if ur phone is in vertical position and proximity sensor returns a 0 for 5s, then the screen turns off (haven't implemented this part yet).
So far i have it working where it sets the brightness to 0 when its dark for 5s, and sets to original brightness when its not dark. Will keep u posted.
Edit : I might not do orientation sensing, cuz tht'll cause too many variations where its not fathomable.
Neone know of any private api's or nething tht allows an app to disable screen ? Might open tht guys app to see.
Daneshm90 said:
Im currently creating such an app. Heres wht imma implement :
Using orientation sensor + proximity sensor, if ur phone is in vertical position and proximity sensor returns a 0 for 5s, then the screen turns off (haven't implemented this part yet).
So far i have it working where it sets the brightness to 0 when its dark for 5s, and sets to original brightness when its not dark. Will keep u posted.
Edit : I might not do orientation sensing, cuz tht'll cause too many variations where its not fathomable.
Neone know of any private api's or nething tht allows an app to disable screen ? Might open tht guys app to see.
Click to expand...
Click to collapse
Thanks, man! That seems awesome!
I would gladly give you a hand, but the truth is I am just a lawyer... lol
I can help you test that, though.
Thanks again.
Just a bump...
Sent from my GT-I9000 using XDA App
hi there.
first of all i think u dont need something like that .. i was a bb user too.. and trust me u dont need.. sgs touch screen only respond to finger.. u can try pen.. or try touching it with your clothes or trew your clothes the screen and see that nothing hapens GL.. so why is necesary the magnetic lock? i dont see the point
I suppose you could set something like this up with Tasker? Using the orientation sensor?
As title says. The notification LED is very subtle when flashing and not very good in warning about notifications. Is there a way to make it be steady ON/OFF instead of flashing on a notification? Tried ledmeknow, lightflow and blink. Either buggy or app dependant (only for calls or SMS not for all applications).
Request is simple. Instead of a flashing LED (whenever it flashes) have a steady ON LED.
bouss said:
As title says. The notification LED is very subtle when flashing and not very good in warning about notifications. Is there a way to make it be steady ON/OFF instead of flashing on a notification? Tried ledmeknow, lightflow and blink. Either buggy or app dependant (only for calls or SMS not for all applications).
Request is simple. Instead of a flashing LED (whenever it flashes) have a steady ON LED.
Click to expand...
Click to collapse
Not the place to ask but since you're new, most likely hardware related. Q and A
I was hoping for a change that can be flashed in to a ROM that would change the way the LED works.
I could not find a more suitable place to put this since it needs some tweak on the ROM for it to work. It's not a question and I know it cannot be solved with an application.
Blind noob wrong section use the search button
Sent from my HTC Desire using Tapatalk
bouss said:
I was hoping for a change that can be flashed in to a ROM that would change the way the LED works.
I could not find a more suitable place to put this since it needs some tweak on the ROM for it to work. It's not a question and I know it cannot be solved with an application.
Click to expand...
Click to collapse
Perhaps you should PM the developer concerned about your "request".
Very constructive howdid... Now go back to your cave.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums and Read THIS
Moving to Q&A
bouss said:
Very constructive howdid... Now go back to your cave.
Click to expand...
Click to collapse
EDIT: Administration was waaaaay fast this time
erklat said:
EDIT: Administration was waaaaay fast this time
Click to expand...
Click to collapse
Great... Justice has prevailed. But still this is not either a question nor a problem and need some developer to make the changes needed on Rom(s). Delete this thread now. It's useless in here.
Is it just me or is the backlight too bright in a dark room/at night? Even at lowest brightness it feels uncomfortable when using it for a longer time.
There's a 'aat1401_bl.c' file in the kernel source which (according to SGY's built config) is responsible. If I understand this and the datasheet (search for AAT1401) correctly, PWM is used and I guess it could be modified for longer breaks (shorter pulses) and thus allowing an even more dimmed backlight. Didn't try it so far but I think it'd work.
Now my main problem is: How can I modify this in the latest stock kernel which's sources aren't disclosed?
can you find internal variable that resposible to control low offset of lcd back-light brightness ? if you find it, try to find that variable address in /proc/kallsyms. if variable show in symbol table, create kernel module to change that variable. use kallsyms_lookup_name to retrive variable address by it's name. i use same method in my BCM-tweak module. source in https://github.com/irfanbagus/BCM-tweak . but of course, it's not working for every case.
Thanks a lot
I've found it: brt_table_ktd
When I have success modifying your kernel module I'll publish it, maybe it helps someone else.
see thread in dev section for a kernel module which enables lower backlight.
Not what you're looking for but as a temporary solution try screen filter. It's an app in the play store. It dims the screen with a "filter" which you can adjust. Great for reading on your phone at night.
Tapatalked.
Silvane said:
Not what you're looking for but as a temporary solution try screen filter. It's an app in the play store. It dims the screen with a "filter" which you can adjust. Great for reading on your phone at night.
Tapatalked.
Click to expand...
Click to collapse
Thanks but the problem is already solved, I've opened a thread in dev section.
@mods: this thread can be closed.
Is there any mod or app that let me use the hard button's LED in front of my ARc as a Notification with every message or missed call that come??
the existing LED made for that, doesnt help a lot...:crying:
Good idea actually. Using cm9, which isn't that stable on my phone , the notification led is much brighter and more helpful than before..
It's not really using the back lights of the hard buttons but on the play store my wife uses a free app called noled.
It shows up on locked screen.
Hope this helps
Sent from my LT15i using xda premium
I read a few months ago, before I rooted my arc, that this app can control the front LED's. However it did require root, so i couldn't try it. Links below:
https://play.google.com/store/apps/details?id=com.rageconsulting.android.lightflow&hl=en (there is a free version as well)
You've just reminded me about this, I'm going to have a play around with it tomorrow now. Thanks
Jon565G said:
I read a few months ago, before I rooted my arc, that this app can control the front LED's. However it did require root, so i couldn't try it. Links below:
https://play.google.com/store/apps/details?id=com.rageconsulting.android.lightflow&hl=en (there is a free version as well)
You've just reminded me about this, I'm going to have a play around with it tomorrow now. Thanks
Click to expand...
Click to collapse
Thanks.. Im gonna try and let you know any change. :good:
gueszman said:
Thanks.. Im gonna try and let you know any change. :good:
Click to expand...
Click to collapse
Hi!! have you already tried it?? did it work??
Lightflow doesn't seem to work for the "button backlight" LEDs if you're on ICS.
Personally, I use Tasker, and writing a custom task to make the button backlight come on when you receive a text or email isn't too difficult. You can adjust the brightness of the LEDs too, so I have it full brightness for a text, and a bit dimmer for an email.
Hi,
is there any way to change brightness to lower level? My previous phone, Xperia Mini, could decrease brightness to absolute black (I didn't need it, but still...). But my Xperia M is still pretty shining in dark even in the lowest level. It burns my eyes. All I could find were some stupid filters. Is there any better solution (root or not, I don't care).
Thanks.
dave_lister said:
Hi,
is there any way to change brightness to lower level? My previous phone, Xperia Mini, could decrease brightness to absolute black (I didn't need it, but still...). But my Xperia M is still pretty shining in dark even in the lowest level. It burns my eyes. All I could find were some stupid filters. Is there any better solution (root or not, I don't care).
Thanks.
Click to expand...
Click to collapse
Click
Gravitybox has some brightness abilities to reassign lux-brightness pairs. Don't know if it can go under normal brightness though...
FindYanot: That's exactly what I don't want. I want something on HW level (lower led (or what they use) intensity), not just transparent black layer.
KoenGo: Do you think, it can work? I don't have root yet (I want do it, if I find solution), so I can't try.
Nobody faced this problem? Everyone is happy with light intensity?
Yes it's too much but if you lower that level screen will probably start flickering which is much more annoying than just too bright screen. This is common, hw related issue that can be found on other devices with low quality lcd.
I'm trying but it's kinda hard to tell if there's any difference since you have to reboot after applying new minimum. I would say there isn't much difference. I'll retry in the dark some time.
Doesn't crash or flicker or anything though, so that's the good news
Personally, I would not root just for this and just use the filters. What is your problem with them? That it uses more battery than a hardware method would, or just that it's impractical? In the second case, lux might be worth looking into. I've never tried it myself since it isn't free, I just use the filter u hate
Tried it in the dark and I believe there is a difference, although very small (barely noticeable) and imho definitely not worth rooting and installing framework.
OK. That's bad, but thanks for your time
Well I rooted my phone and I tried gravitybox and I don't think there is a difference. But still thanks.
My setup now is that I can (de)activate the filter app by swiping over the navigationbar. It's still a filter so it doesn't prolong battery life or anything, but it is a convenient way to enable or disable it.
If you would ever come across something better, please let us know
dave_lister said:
is there any way to change brightness to lower level?
Click to expand...
Click to collapse
Yes, but you need root.
Execute in Terminal or run attached file as script via Root Explorer / GScript:
Code:
#!/system/bin/sh
su
echo 5 > /sys/class/leds/wled/brightness
Minimal stock value 27, we change it to 5 or any other you want.
Maximum value: 255
Bug: backlight will be flickering.
Thank you. It really works! (I rewrite it manually without any script or terminal)
Just one thing. The brightness file is used for current state and when I change intensity in options (or select auto), it's rewritten. So, is there any way to change minimum level permanently (minimum on bar or 0 lux = 5 or something instead of stock 27)? Or is it possible to make some shortcut to rewrite the file with one click? Or use some tasker for it?
But it doesn't matter much. Even this way, without any shortcuts, is awesome. I'll test it in night, but even now (during a day), I can see a difference.
dave_lister said:
So, is there any way to change minimum level permanently
Click to expand...
Click to collapse
Yes, but only by editing file in kernel, it requires recompiling.
Then pulled slider to the left will set really minimal value.
Here commit from ElixER kernel for 4.1.2, originally this trick comes from there.
dave_lister said:
Or is it possible to make some shortcut to rewrite the file with one click? Or use some tasker for it?
Click to expand...
Click to collapse
Yes, GScript app, as far I know can create shortcuts.
Or in Tasker create task with only one action "Run shell" (tick Root) and then create shortcut in launcher.
iks8 said:
screen will probably start flickering which is much more annoying than just too bright screen. This is common, hw related issue that can be found on other devices with low quality lcd.
Click to expand...
Click to collapse
Always was interesting what exactly causing this flickering at hardware side. Led's controller?
Please can you provide any information and example devices with same issue?
Bonoboo said:
Always was interesting what exactly causing this flickering at hardware side. Led's controller?
Please can you provide any information and example devices with same issue?
Click to expand...
Click to collapse
For example galaxy tab 2 (I have one), on the lowest brightnes level it flicker a lot (especially annoying when it's displays white surface), my sister's asus memo pad 7 hd has this issue too but less noticible. Yes, it's somehow related to device's power managment, in galaxy tab 2 forum people saies that it's flicers more when wifi signal is low so as I understand: low signal -> device need more power for wifi -> device gives less power for leds -> screen is more flickering but I could be wrong since I'm almost total electroinc noob I will test that later
p.s.
This issue is really common, even s4 has this problem according to this https://www.youtube.com/watch?v=5yZaQRr76f8 So Sony has done good move with setting so high the lowest brightnes level (at least this hides unusable levels). Really my eyes hurt when I'm using my gtab2 at night although xperia does the same thing but in different way xD
Tested your method and at least in my device, the LED flickering was barely noticeable and only appeared when I set very low values (like 1). Setting as 3 and onwards gives zero flickering here (or I'm just blind, not noticing it)...
You're right. Values about 3, 4, 5 are quite ok.
I made the GSscript shortcut and I¨m finally happy.
I think the flickering is caused by pwr regulation with low frequency. But I'm not electrician either.