Moto Hell - The Motorola Modding Community
November 22, 2024, 08:00:05 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The forum is no longer active and registration is disabled; however you can still fetch everything as guest.
 
   Home   Help Facebook Search Calendar Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: Missed Calls Alert  (Read 21335 times)
RWolf
Guest
« 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
Guest
« 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
Guest
« Reply #2 on: October 09, 2007, 02:14:21 pm »

great work!!

how about SMS alert like i hav in my c650&e398?
Logged
pizzadox619
Guest
« 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
Guest
« 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
Ultimate modder
*****

Karma: 109
Offline Offline

Posts: 5153



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
Guest
« 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
Guest
« 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
Guest
« 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
Guest
« 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
Guest
« 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
error398
Guest
« 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
Guest
« 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
Guest
« 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
Guest
« Reply #14 on: October 11, 2007, 07:51:35 am »

Great program, but I don`t need it.
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Design By Forum Hosting
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines