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)

TiagoTiago 2010-10-06 21:10

Re: Request: Disable cameras on the device
 
like i said a few times, you can use AppLocker to get rid of the shortcut icons


Btw MohammadAG, where is it? Did you forget to link it on your post?

MohammadAG 2010-10-06 21:25

Re: Request: Disable cameras on the device
 
Nope, I just switched to a window instead of a dialog, and it took me time to learn some GTK. http://talk.maemo.org/showthread.php...098#post835098

pelago 2010-10-06 21:53

Re: Request: Disable cameras on the device
 
Quote:

Originally Posted by MohammadAG (Post 835103)
I just switched to a window instead of a dialog

I preferred the look of the big yellow banner - it looked more like a genuine error message.

TiagoTiago 2010-10-06 21:56

Re: Request: Disable cameras on the device
 
I see


paddingpadding

MohammadAG 2010-10-06 21:59

Re: Request: Disable cameras on the device
 
Quote:

Originally Posted by pelago (Post 835121)
I preferred the look of the big yellow banner - it looked more like a genuine error message.

I'll make it configurable in the next version then :)

Tumleh 2010-10-07 11:34

Re: Request: Disable cameras on the device
 
I Think I have a great problem. Upon installing togglecamera yesterday and the giving the command togglecamera -e I'm unable to open my N900 camera-ui, neither launching the program nor when I open the camera lens cover.
What can I do to run my camera again? May the problem be released after deinstalling the app togglecamera?

TiagoTiago 2010-10-07 12:17

Re: Request: Disable cameras on the device
 
Have you tried running the command to reenable the camera?

Tumleh 2010-10-07 12:34

Re: Request: Disable cameras on the device
 
Quote:

Originally Posted by TiagoTiago (Post 835346)
Have you tried running the command to reenable the camera?

After installing togglecamera I have entered togglecamera -e with the result, that the camera does not work. Then I have given the command togglecamera -d, an since that my N900 does not work anymore. I only can see the Nokia hands and the boot menu order either internal flash or power off (when not an charger). That procedere is repeating and I cannot start my N900. Running internal flash does not work.

MohammadAG 2010-10-07 12:41

Re: Request: Disable cameras on the device
 
Sigh... why did you enable the camera when it was already enabled, on first run the app can't detect whether the cam is enabled or disabled...

Code:

flasher-3.5 --set-rd-flags=no-lifeguard-reset
should at least get your device to boot up, no you won't lose data.
Post the output of cat /etc/X11/Xession.post/17camera-ui and ls -l /usr/bin/camera*

Tumleh 2010-10-07 12:51

Re: Request: Disable cameras on the device
 
Quote:

Originally Posted by MohammadAG (Post 835372)
Sigh... why did you enable the camera when it was already enabled, on first run the app can't detect whether the cam is enabled or disabled...

Code:

flasher-3.5 --set-rd-flags=no-lifeguard-reset
should at least get your device to boot up, no you won't lose data.
Post the output of cat /etc/X11/Xession.post/17camera-ui and ls -l /usr/bin/camera*

Thanks very much, but my general problem at the time is that I am unable to start my N900. I only can see NOKIA and the hands and the boot menu order either internal flash or power off (when not on charger). That is all. Booting internal flash does not work.

warhawk007 2010-10-07 13:50

Re: Request: Disable cameras on the device
 
Quote:

Originally Posted by MohammadAG (Post 835037)
http://i51.tinypic.com/wwk7yq.jpg

Is enough for me, let me know if you need anything else :P
I'll upload it to devel in a bit

(the script renames /usr/bin/camera-ui to /usr/bin/camera-ui.disabled, changes the Xsession scripts that automatically start up the camera daemon at startup (so this should persist across reboots), and kills the camera-ui (cleanly) so you don't have to reboot the device whenever you enable/disable the camera)

fcamera will still be working mind you, I'll add an icon mover to the script in the future, for now, you can just mv it out of /usr/share/applications/hildon/ or use AppLocker.

Wow!! I just dont know how to thank you.......thank you so much.....I'm going to try it out now......by the way, any side effects?? Fcamera is not a prob....I hide it with applocker.....all I wanted is that the default camera application shouldnt launch....thanks a lot....

AgogData 2010-10-07 13:52

Re: Request: Disable cameras on the device
 
what i cant understand is will the security buy the disabled camera trick ? and r they dumb enough not to think that u can re-enable it after u crossed the checkpoint or whatever is it there ?

warhawk007 2010-10-07 16:02

Re: Request: Disable cameras on the device
 
Quote:

Originally Posted by AgogData (Post 835427)
what i cant understand is will the security buy the disabled camera trick ? and r they dumb enough not to think that u can re-enable it after u crossed the checkpoint or whatever is it there ?

I'm not talking about restricted areas with strong security. Ofcourse, such restricted areas wouldn't allow a camera phone at all, whether actually disabled or not.
What I'm talking about is some insane universities which ban the use of camera phones. Moreover, the popup dialog clearly mentions that a service point should be contacted to re-enable the camera, which most teachers would digest.

AgogData 2010-10-07 16:29

Re: Request: Disable cameras on the device
 
send me some of those idiot teachers :D

TiagoTiago 2010-10-07 17:10

Re: Request: Disable cameras on the device
 
Somthing that would be fun (though somewhat risky) would be if someone secretly videotaped classes and stuff after having passed the check, and then once you're done with the school post the highlights on Youtube and make the raw footage avaiable via BT (or some other free file sharing means)

warhawk007 2010-10-07 18:31

Re: Request: Disable cameras on the device
 
Quote:

Originally Posted by MohammadAG (Post 834945)
Umm, I should've seen this thread before since I'm in the same situation.
I had the hostmode kernel installed, any phone with a camera isn't allowed, the teacher saw the device, I swiped the camera lens and it said Operation Failed.
Turns out fcamera isn't compatible with the hostmode kernel, so I just told them the cam's broken and got away with it.
Removing the modules should do the same, make the camera app and fcamera fail, I'll edit this post in a bit, need to check what the modules are.

Please check your PM. I thought it would be off-topic to post it here.

Anyways here is a link

http://talk.maemo.org/showthread.php...509#post835509

I believe you can help if you have some time to spare.

TiagoTiago 2010-10-08 03:11

Re: Request: Disable cameras on the device
 
guy that got reboot loop, that flasher command is somthing you run on your PC, it's a program to reflash your N900 ; i dunno how exactly to translate what the parameters suggested there mean though

joerg_rw 2011-09-01 20:13

Re: Request: Disable cameras on the device
 
how about *renaming* the camera icon? ;-D Rather than hide it

And if the mere dialog saying "camera defect/disabled" isn't enough to convince them, add a "sleep 5; sudo gainroot -c reboot" to the part that displays the dialog:-D No, NO! Please don't open the lens cover, the camera is broken and it will crash the whole phone! DUH! Thanks mate!
/j


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

vBulletin® Version 3.8.8