|
2013-06-06
, 10:02
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#6752
|
cat /sys/devices/platform/i2c_omap.3/i2c-3/3-01fa/enable
#!/bin/sh while true do Call=$(/sbin/mcetool --status | grep Call | awk '{print $4}') Dpkg=$(ps aux | grep dpkg | grep journal | cut -d '-' -f2) GPS=$(cat /sys/devices/platform/i2c_omap.3/i2c-3/3-01fa/enable) if [ $Call == "active" ] then dbus-send --print-reply --dest=com.meego.core.MNotificationManager /notificationmanager com.meego.core.MNotificationManager.addNotification uint32:1000 uint32:0 string:'x-nokia.internet' string:'' string:'Phone is active now ! Waiting to another circle...' string:'' string:'/usr/share/icons/hicolor/64x64/apps/auto-back-on64.png' uint32:0 > /dev/null else if [ $Dpkg == "install" ] then dbus-send --print-reply --dest=com.meego.core.MNotificationManager /notificationmanager com.meego.core.MNotificationManager.addNotification uint32:1000 uint32:0 string:'x-nokia.internet' string:'' string:'Phone in installation process ! Waiting to another circle...' string:'' string:'/usr/share/icons/hicolor/64x64/apps/auto-back-on64.png' uint32:0 > /dev/null else if [ $GPS == "1" ] then dbus-send --print-reply --dest=com.meego.core.MNotificationManager /notificationmanager com.meego.core.MNotificationManager.addNotification uint32:1000 uint32:0 string:'x-nokia.internet' string:'' string:'GPS is active now ! Waiting to another circle...' string:'' string:'/usr/share/icons/hicolor/64x64/apps/auto-back-on64.png' uint32:0 > /dev/null else bash /opt/N9QTweak/Autowall/auto-back2.sh >/dev/null fi fi fi sleep 21600 done
The Following User Says Thank You to Schturman For This Useful Post: | ||
|
2013-06-06
, 11:08
|
|
Posts: 326 |
Thanked: 122 times |
Joined on Sep 2012
@ Italy
|
#6753
|
|
2013-06-06
, 11:12
|
|
Posts: 644 |
Thanked: 480 times |
Joined on Jul 2012
@ Finland
|
#6754
|
|
2013-06-06
, 11:12
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#6755
|
Schturman, have you considered also the possibility of being in the middle of a file transfer (or any other operation) through Wi-Fi, bluetooth, SSH, Telnet, etc.?!
|
2013-06-06
, 11:15
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#6756
|
Heh, I went to the cycling and i put the Meerun on. And guess what, auto-background had closed it.
Please, add that gps-line too!
cat /sys/devices/platform/i2c_omap.3/i2c-3/3-01fa/enable
The Following User Says Thank You to Schturman For This Useful Post: | ||
|
2013-06-06
, 11:25
|
|
Posts: 644 |
Thanked: 480 times |
Joined on Jul 2012
@ Finland
|
#6757
|
The Following User Says Thank You to MK99 For This Useful Post: | ||
|
2013-06-06
, 11:32
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#6758
|
|
2013-06-06
, 12:03
|
|
Posts: 644 |
Thanked: 480 times |
Joined on Jul 2012
@ Finland
|
#6759
|
RM696-21-3_PR_001:~# sh /opt/Refresh/disp.sh initctl: Unknown job: apps/extended-power-menu initctl: Unknown job: apps/extended-power-menu initctl: Unknown job: apps/callrecorder_recorder initctl: Unknown job: apps/callrecorder_recorder initctl: Unknown job: apps/callrecorder_phone initctl: Unknown job: apps/callrecorder_phone initctl: Unknown job: apps/ringingrestorerd initctl: Unknown job: apps/ringingrestorerd /opt/N9QTweak/Autowall/auto-back2.sh: line 179: can't create 0: Permission denied RM696-21-3_PR_001:~#
|
2013-06-06
, 14:47
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#6760
|
Tags |
hebrew vkb, n9 qtweak, n9 quick tweak, n9 quicktweak, root-ssh |
|
PS. and also like I said before, I prefer it without mcetools package... In other way I need to change this tweak for users that have inception or open mode and mcetools installed..
Coderus told me that we can try to find command for checking phone status in dbus commands, but I don't know how
PS2. I spoke with Coderus again
Run dbus-monitor and call to yourself. We need to catch the relevant info when phone in active (speaking) mode
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.
Last edited by Schturman; 2013-06-06 at 09:17.