Moto Hell - The Motorola Modding Community
September 03, 2010, 04:03:35 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Want a @motohell.com email account? Click Here
 
   Home   Help Facebook Search Arcade Calendar Chess Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: Missed Calls Alert  (Read 4874 times)
RWolf
Newbie
*

Karma: 1
Offline Offline

Posts: 9


View Profile
« on: October 09, 2007, 12:14:30 am »

Well, it does exactly what it is named for: produces periodical sound alerts when missed calls are present, like in E398 and some other motophones.
Current version is 0.3.
Check README file for help.



Below are the details for version 0.1 (outdated)
by now, the program has minimal functionality.
It does the trick by recognizing (actually, just comparing) missed calls window pattern on screenshots, so you have to provide that pattern with pattern editor attached.
Installation:
1. Copy missed_calls to phone FS, in this example I copy it to /ezxlocal/download/mystuff/unKnown/
2. Get your phone show "Missed calls" window, then take a screenshot:
cp /dev/fb0 /mmc/mmca1/my_screenshot
3. Load the screenshot into missed_calls.exe, mark the key pattern (e.g. something which differs the missed calls window screen from others) and save it to missed_calls.pat.
4. Copy missed_calls.pat to phone FS (again, to /ezxlocal/download/mystuff/unKnown/).
5. Add the program to autorun, like this:
/ezxlocal/download/mystuff/unKnown/missed_calls -pattern /ezxlocal/download/mystuff/unKnown/missed_calls.pat -wait 180
then reboot to get it work.

Command line keys:
-pattern filename - use the pattern,
-playvol N - sound volume 0-63, default 10,
-wait N - alert repeat time in seconds, default 300.
« Last Edit: October 11, 2007, 11:19:36 am by RWolf » Logged
RWolf
Newbie
*

Karma: 1
Offline Offline

Posts: 9


View Profile
« Reply #1 on: October 09, 2007, 09:21:16 am »

ok, got rid of those patterns and screenshots with a little help from guys at motofan.ru; now the program doesn't depend on current skin and language, installation also became easier.
1. Copy missed_calls to, say, /ezxlocal/download/mystuff/unKnown/
2. Add the program to autorun:
/ezxlocal/download/mystuff/unKnown/missed_calls -wait 180
3. Reboot.
Logged
aku46
Really experienced
****

Karma: 7
Offline Offline

Posts: 269


DROID DOES!


View Profile
« Reply #2 on: October 09, 2007, 02:14:21 pm »

great work!!

how about SMS alert like i hav in my c650&e398?
Logged

PirraDoZe
Graduated modder
*****

Karma: 11
Offline Offline

Posts: 640


Indonesian ROKR MODR


View Profile WWW
« Reply #3 on: October 09, 2007, 08:16:27 pm »

downloading now. U don't give us a source, maybe someone can learn it. Cheesy
Logged

RWolf
Newbie
*

Karma: 1
Offline Offline

Posts: 9


View Profile
« Reply #4 on: October 09, 2007, 11:16:35 pm »

downloading now. U don't give us a source, maybe someone can learn it. Cheesy
that's ok, now I have to solve some issues and make sure the program works fine; also thinking of SMS alert. The next version will be GPL'ed.
Logged
Exploited
Administrator
Moding emperor
*****

Karma: 105
Offline Offline

Posts: 4903



View Profile WWW
« Reply #5 on: October 09, 2007, 11:23:50 pm »

The idea with the screenshots comparison is great!

PM me if you want me to mirror it on E2mod.com


P.S. I am moving this thread to "Phone software"
Logged

ilove3d
Trusted user
***

Karma: 49
Offline Offline

Posts: 221



View Profile
« Reply #6 on: October 10, 2007, 02:18:22 am »

opened with hexeditor ( no source, so... )

it seems read file from ezx_user, the recent call history binary file
maybe sms alert will come soon, as author has found out the secret of the binaries stored in phone
Logged
RWolf
Newbie
*

Karma: 1
Offline Offline

Posts: 9


View Profile
« Reply #7 on: October 10, 2007, 02:27:14 am »

By now, there's a problem with the app: when phone is being charged, it works fine, but when phone enters power-saving mode, it seems that OS pauses the program. Any ideas how to prevent it?
Logged
ilove3d
Trusted user
***

Karma: 49
Offline Offline

Posts: 221



View Profile
« Reply #8 on: October 10, 2007, 02:46:32 am »

By now, there's a problem with the app: when phone is being charged, it works fine, but when phone enters power-saving mode, it seems that OS pauses the program. Any ideas how to prevent it?
maybe make it as a daemon program, using fork() and setsid().
I'll be very glad if everyone shares the source of his modding programs
Logged
RWolf
Newbie
*

Karma: 1
Offline Offline

Posts: 9


View Profile
« Reply #9 on: October 10, 2007, 03:25:11 am »

maybe make it as a daemon program, using fork() and setsid().
I'll be very glad if everyone shares the source of his modding programs
I'll share the source in the next version, this one is still kind of test app and needs to be improved.
Logged
ilove3d
Trusted user
***

Karma: 49
Offline Offline

Posts: 221



View Profile
« Reply #10 on: October 10, 2007, 06:27:13 am »

I'm doing some kind of strong and powerfull QT programs.
but, sure, it's not stronger than the Kaleidoscope
Logged
Raunamaxtor
Admin is traitor
Global Moderator
PHD modder
*****

Karma: 48
Offline Offline

Posts: 2274


as a human being to slave a machine


View Profile
« Reply #11 on: October 10, 2007, 09:52:37 am »

it so great.. but i didnt understand how to mod it.. can someone give it the easy step..

thanks
Logged

RWolf
Newbie
*

Karma: 1
Offline Offline

Posts: 9


View Profile
« Reply #12 on: October 11, 2007, 05:25:37 am »

As I realize the problem, the phone suspends sound subsystem in absence of external power supply, that's why alerts are muted.
I need a hint how to wake phone (sound subsystem, to be exact) from power saving mode programmatically.

Here goes version 0.3 with sources. I've made an attempt to keep sound awake (use -force to switch this option on); unfortunately, it results in periodical quiet clicks.
Also, sound files are supported (-playsound filename).
Check README file for help.
Logged
ilove3d
Trusted user
***

Karma: 49
Offline Offline

Posts: 221



View Profile
« Reply #13 on: October 11, 2007, 06:43:03 am »

it so great.. but i didnt understand how to mod it.. can someone give it the easy step..

thanks

do you mean QT programming ?
use Lasly's SDK.
Logged
crz
New, but not n00b
**

Karma: 0
Offline Offline

Posts: 73



View Profile WWW
« Reply #14 on: October 11, 2007, 07:51:35 am »

Great program, but I don`t need it.
Logged

-------------------------------------------------------------------
It has been said that something as the flutter of a butterfly's
wing can ultimately cause a typhoon halfway around the world         
------------------------------------------------ Chaos Theory -------
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Design By simply sibyl and Forum Hosting
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC