Reply
Thread Tools
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#5931
Haaaa 2 ! I got the same result with one file
PS. I will repackage it later...
 
MK99's Avatar
Posts: 644 | Thanked: 480 times | Joined on Jul 2012 @ Finland
#5932
Sorry about question, but what does this secure-icon should do?
Is not LockScreen-icon do the same thing?
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#5933
Yep it like LockScreen-icon, but lockscreen icon only switch off your screen (as far as I remember) and this one switch your screen off and activate security code...
 

The Following User Says Thank You to Schturman For This Useful Post:
MK99's Avatar
Posts: 644 | Thanked: 480 times | Joined on Jul 2012 @ Finland
#5934
Ok, I tested it again and now i see the point. Excellent!
 

The Following User Says Thank You to MK99 For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#5935
OK... I repackaged and tested... This trick not work
Going do something else...
 

The Following User Says Thank You to Schturman For This Useful Post:
Posts: 61 | Thanked: 12 times | Joined on Jul 2012 @ Fornaci di Barga ITALY
#5936
Originally Posted by Schturman View Post
nessuno0986, no.. Its not in my mind
take it like a challenge! =D
seriously thanks for the reply and very good work!
 
MK99's Avatar
Posts: 644 | Thanked: 480 times | Joined on Jul 2012 @ Finland
#5937
Here you go!! Fix the correct paths.

Code:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=Lock
Exec=/usr/bin/invoker --type=e /usr/bin/aegis-exec -s -u user -l "echo rootme | devel-su -c /opt/Refresh/lock"
Icon=
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
chmod 4755
Code:
#!/bin/sh

echo rootme | ariadne sh -c "dbus-send --system --type=method_call --print-reply --dest=com.nokia.devicelock /request com.nokia.devicelock.setState int32:1 int32:1;dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"locked""

Last edited by MK99; 2013-03-28 at 10:51.
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#5938
No.... Already tried something like this.. No, Also I want change pass only in one file..
I got it work after repackage with this files:
1.
Code:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=Secure Phone
Exec=/opt/N9QTweak/Secure/device_secure.sh
Icon=/usr/share/icons/hicolor/80x80/apps/device_secure80.png
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
2.
Code:
#!/bin/sh 

sed -n '3p' /opt/N9QTweak/Secure/device_secure2.sh > /opt/N9QTweak/Secure/back 
line=$(sed -n '1p' /opt/N9QTweak/Secure/back)
sed -i -e "3c$line" /opt/N9QTweak/Secure/device_secure2.sh
rm -f /opt/N9QTweak/Secure/back
sh /opt/N9QTweak/Secure/device_secure2.sh

exit 0
3.
Code:
#!/bin/sh

echo root | ariadne sh -c "dbus-send --system --type=method_call --print-reply --dest=com.nokia.devicelock /request com.nokia.devicelock.setState int32:1 int32:1;dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:locked"

exit 0
Now it work immediately after reboot
Ugly way I know, but it work perfectly...
 

The Following 2 Users Say Thank You to Schturman For This Useful Post:
MK99's Avatar
Posts: 644 | Thanked: 480 times | Joined on Jul 2012 @ Finland
#5939
OK, Great! Main thing we get the working icon.
 
Posts: 103 | Thanked: 21 times | Joined on Sep 2012 @ romania
#5940
its ok now to update on v 9.6.8 and use secure device?its work?
 
Reply

Tags
hebrew vkb, n9 qtweak, n9 quick tweak, n9 quicktweak, root-ssh


 
Forum Jump


All times are GMT. The time now is 03:54.