Active Topics

 


Reply
Thread Tools
Posts: 143 | Thanked: 57 times | Joined on Jan 2010 @ Stockholm, Sweden
#1
I've got a relatively unique problem and it might have been stupidity that got me into this one. The camera stand was starting to get lose and it started annoying me so I decided to get rid of it. I took it off and then realized the shiny silver thing always ruins pictures with the reflected flash so I decided to take that away too. It broke the camera lens cover, which I don't mind actually, but the camera application wouldn't start because it thought the lens cover was closed.

However, soon I figured that there is a sensor right next to the camera lens which, when covered, tells the phone that the camera is now on. Now for a couple of hours as the phone was in my pocket, the camera application kept getting launched and then exited. I downloaded this application to disable the launching of the application but the phone is still pretty much unusable for taking pictures because I have to cover the sensor with one finger.

Is there any way to just disable the camera lens cover sensor all together? Like can the lens not get activated automatically whenever the camera application is launched? Like on other phones that don't have a camera lens cover.
 
Mike Fila's Avatar
Posts: 412 | Thanked: 480 times | Joined on Feb 2011 @ Bronx, NY
#2
there is a small sensor down and to the left of the lens if that is covered with something white then it will work ...maybe just crazy glue the lens cover back in the open position ..if you do this make sure you take the back case off first
 
Posts: 143 | Thanked: 57 times | Joined on Jan 2010 @ Stockholm, Sweden
#3
I figured that out too but I need time to find something to tape it up with. Is there no software solution to this? Like just disabling the sensor out of the way? The phone keeps getting unlocked again and again in my pocket too, doing random things while I think it is sleeping innocently! :P
 
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#4
I would have said this:

Code:
echo "chmod 666 /sys/devices/platform/gpio-switch/cam_shutter/state; echo open > /sys/devices/platform/gpio-switch/cam_shutter/state; chmod 444 /sys/devices/platform/gpio-switch/cam_shutter/state" | rootsh
However it would appear you cannot write to that sysfs entry. Perhaps if you rolled your own kernel?

Basically you have ****ed it and need a new back cover.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 
Posts: 143 | Thanked: 57 times | Joined on Jan 2010 @ Stockholm, Sweden
#5
There has gotta be a way to at least disable the screen getting turned on every time the sensor is activated!
 
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#6
Originally Posted by shanrizvi View Post
There has gotta be a way to at least disable the screen getting turned on every time the sensor is activated!
Either:

1. Piece of tape over the sensor.
2. Buy a new back cover.
3. Roll your own kernel.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:20.