Reply
Thread Tools
Posts: 96 | Thanked: 51 times | Joined on Jul 2010 @ India
#51
Originally Posted by MohammadAG View Post


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's Avatar
Posts: 870 | Thanked: 133 times | Joined on Aug 2010
#52
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 ?
 
Posts: 96 | Thanked: 51 times | Joined on Jul 2010 @ India
#53
Originally Posted by AgogData View Post
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's Avatar
Posts: 870 | Thanked: 133 times | Joined on Aug 2010
#54
send me some of those idiot teachers
 
Posts: 1,522 | Thanked: 392 times | Joined on Jul 2010 @ São Paulo, Brazil
#55
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)
 
Posts: 96 | Thanked: 51 times | Joined on Jul 2010 @ India
#56
Originally Posted by MohammadAG View Post
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.
 
Posts: 1,522 | Thanked: 392 times | Joined on Jul 2010 @ São Paulo, Brazil
#57
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's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#58
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
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2011-09-01 at 20:17.
 

The Following User Says Thank You to joerg_rw For This Useful Post:
Reply


 
Forum Jump


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