• Welcome, Guest. Please login.
 

Missed Calls Alert

Started by RWolf, October 09, 2007, 10:14:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RWolf

October 09, 2007, 10:14:30 AM Last Edit: October 11, 2007, 09:19:36 PM by RWolf
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.

RWolf

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.

aku46

great work!!

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

pizzadox619

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

RWolf

Quote from: Pizzadox619 on October 10, 2007, 06:16:27 AM
downloading now. U don't give us a source, maybe someone can learn it. :D

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.

Exploited

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"

ilove3d

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

RWolf

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?

ilove3d

Quote from: RWolf on October 10, 2007, 12:27:14 PM
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

RWolf

Quote from: ilove3d on October 10, 2007, 12:46:32 PM
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.

ilove3d

I'm doing some kind of strong and powerfull QT programs.
but, sure, it's not stronger than the Kaleidoscope

error398

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

thanks

RWolf

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.

ilove3d

Quote from: Raunamaxtor on October 10, 2007, 07:52:37 PM
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.

crz

Great program, but I don`t need it.