maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Brainstorm (https://talk.maemo.org/forumdisplay.php?f=47)
-   -   Request: Disable cameras on the device (https://talk.maemo.org/showthread.php?t=63033)

warhawk007 2010-09-28 04:26

Request: Disable cameras on the device
 
Though I'm posting for the first time, I'm a constant visitor of this forum.
I have been using the N900 since the past four months and whenever I feel that I'm getting bored of maemo and android looks greener, its the community and the great dedicated developers who keep it intresting with the sudden release of a new app or a new feature update for an existing. Hence, I'm really enjoying in the maemo world. Thanks to you guys!

Recently a new rule came up in my college that camera phones are no more allowed in the campus. N I cant live without my n900 even for a moment. Moreover, as I use my N900 a my primary phone, its difficult for me to keep swapping my SIM between ultra low-end phone & n900 everyday..

So, if possible could someone make a script to disable both cameras on the device??
Note: The camera shouldnt re enable itself upon device reboot. It should be more like a permanent solution until I myself enable the camera though the command line or something of that sort.

Any help?? thanks in advance.

ossipena 2010-09-28 04:37

Re: Request: Disable cameras on the device
 
try renaming
Code:

/usr/bin/camera-ui
as root. it worked at least for me.

warhawk007 2010-09-28 04:57

Re: Request: Disable cameras on the device
 
That didnt work for me, I renamed the camera-ui file to camera-ux using filebox in root mode, but the camera app, still opens on opening the lens cover.
Could some script be made so that a message would be displayed on opening the lens cover, that the cameras on the device have been disabled. In that way, I can convince them to let me take my phone to college.

ossipena 2010-09-28 05:02

Re: Request: Disable cameras on the device
 
don't know about those fileboxes etc, I use purely command line and renamed the file as camera-ui.backup

so if someone can confirm that renaming the file works, I could see if I have time to write a simple script to do it.

simmy 2010-09-28 05:13

Re: Request: Disable cameras on the device
 
I think this thread covers something similar to what you are looking for. Apply it to the camera. http://talk.maemo.org/showthread.php...+accelerometer

F2thaK 2010-09-28 05:42

Re: Request: Disable cameras on the device
 
question is, will they beleive theyre disabled once youve done it...............

warhawk007 2010-09-28 05:56

Re: Request: Disable cameras on the device
 
i renamed the file as told....but now my phone is going through a reboot loop...after te nokia hands...I dont have access to a computer at the moment...pls help!

ossipena 2010-09-28 06:17

Re: Request: Disable cameras on the device
 
Quote:

Originally Posted by warhawk007 (Post 828082)
i renamed the file as told....but now my phone is going through a reboot loop...after te nokia hands...I dont have access to a computer at the moment...pls help!

that seems to be mission impossible. I bet you need flasher in order to get your device back up.

warhawk007 2010-09-28 06:25

Re: Request: Disable cameras on the device
 
Quote:

Originally Posted by ossipena (Post 828088)
that seems to be mission impossible. I bet you need flasher in order to get your device back up.

Will I only have to reflash the firmware? Do i have to flash the emmc too? Hav lots of my data in the emmc.

nicolai 2010-09-28 06:35

Re: Request: Disable cameras on the device
 
only .firmware.

Btw, don'just rename the file camera-ui, because there is
a script in /etc/X11/Xsession.post which autostart
the camera-ui on boot. This causes the reboot loop.


All times are GMT. The time now is 12:13.

vBulletin® Version 3.8.8