Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27
Discuss The Official word on what changes the Baseband saves and what it discard at the General - Hackint0sh.org; ...
  1. #11
    Advanced Array

    Join Date
    Sep 2007
    Location
    Gre, France
    Posts
    32
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Salut Snowbird et al,

    Just wanted to share my findings. After some research, I discovered something that you maybe already know: every time a flash message arrives CommCenter creates an edge connection through the interface ip2 to the apn defined in /System/Library/Frameworks/CoreTelephony.framework/Support/PDPContext_1.plist and all the .amr sound files (the voicemail) are downloaded and stored in /var/root/Library/Voicemail/voicemail.db. This is how the visual voicemail works. I was naive into thinking that removing the PDPContext_1.plist would be enough to receive the flash messages, but no... I even tried to shutdown the ip2 with ifconfig, but it also did not work. I found that the voicemail apn was also defined in the file /var/root/Library/Preferences/SydtemConfiguration/preferences.plist, I remove the dict entry for ip2 thinking that that would work... nada! .

    I really do not see any other solution than hacking CommCenter, and this, I really do not know how to do it... long time since the last time I dissasembled something . The flash messages are indeed being catched by this guy, but it just refrains from storing them in SMS.db and let alone alert us of their arrival. The worst part is that it seems that CommCenter deletes them for good so I guess aSMS will never be able to get them.

    Féchié,

    Rafa.


  2. #12
    Senior Professional Array

    Join Date
    Jul 2007
    Posts
    346
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    26

    Default

    Quote Originally Posted by Snowbird View Post
    That's what I thought, thus my comments regarding aSMS. Will investigate and see what I can come up with. Re: the SMS Solutions guide, I'm familiar with this one however it's far from complete. There are others out there that are a little better. The best of all would be the S-Gold2 technical manual, but it doesn't look like we'll be getting our hands on this one anytime soon. Actually, I doubt we ever will.
    True, however, AT commands are a standard. Issueing commands should work on any modem.
    How about this thread?
    http://discussion.forum.nokia.com/fo...ad.php?t=19745

  3. #13
    Senior Professional Array

    Join Date
    Aug 2007
    Location
    Australia
    Posts
    166
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    15

    Default

    Quote Originally Posted by gusano View Post
    The worst part is that it seems that CommCenter deletes them for good so I guess aSMS will never be able to get them.
    I've had success using aSMS to view the "last received message" and have my voicemail notifications appear there, when the iPhone SMS app had not alerted me of their arrival. So whatever that app is doing to view these "last received" messages, it's got something right... perhaps the author iUnknown can help out!

  4. #14
    Senior Professional Array

    Join Date
    Jul 2007
    Posts
    136
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    Is it possible to just disable voicemail along the same lines of setting a new voicemail number? - and if voicemail is disabled alltogether would the messages then be delivered as normal sms?

  5. #15
    Respected Professional Array

    Join Date
    Aug 2007
    Location
    Paris, France
    Posts
    533
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    Quote Originally Posted by aiphone View Post
    Is it possible to just disable voicemail along the same lines of setting a new voicemail number? - and if voicemail is disabled alltogether would the messages then be delivered as normal sms?
    That's what our friend Gusano above more or less tried to do, but unhappily the end result was the same.


  6. #16
    Respected Professional Array

    Join Date
    Aug 2007
    Location
    Paris, France
    Posts
    533
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    Quote Originally Posted by gusano View Post
    Salut Snowbird et al,

    Just wanted to share my findings. After some research, I discovered something that you maybe already know: every time a flash message arrives CommCenter creates an edge connection through the interface ip2 to the apn defined in /System/Library/Frameworks/CoreTelephony.framework/Support/PDPContext_1.plist and all the .amr sound files (the voicemail) are downloaded and stored in /var/root/Library/Voicemail/voicemail.db. This is how the visual voicemail works. I was naive into thinking that removing the PDPContext_1.plist would be enough to receive the flash messages, but no... I even tried to shutdown the ip2 with ifconfig, but it also did not work. I found that the voicemail apn was also defined in the file /var/root/Library/Preferences/SydtemConfiguration/preferences.plist, I remove the dict entry for ip2 thinking that that would work... nada! .

    I really do not see any other solution than hacking CommCenter, and this, I really do not know how to do it... long time since the last time I dissasembled something . The flash messages are indeed being catched by this guy, but it just refrains from storing them in SMS.db and let alone alert us of their arrival. The worst part is that it seems that CommCenter deletes them for good so I guess aSMS will never be able to get them.

    Féchié,

    Rafa.
    Salut gusano. Looked at the mulicast interfaces as well, actually both of them. I'm still looking at them. Ready for an interesing piece of news? aSMS sees the Flash messages. If you call you're iphone and then tap twice on the power on/off button to send the call to voicemail and then wait a few minutes before clicking on the SMS(SIM) button, you'll see it in LastReceived. I've all but given up on the tty.baseband now and am focusing my attention on tty.debug.

    I'm convinced now that the solution is really staring us in the face and we're just not seeing. The iPhone receives these messages and knows what to do with them, but unhappily, the phone is not alerting as it should be doing.
    Last edited by Snowbird; 10-07-2007 at 06:35 PM.

  7. #17
    Advanced Array

    Join Date
    Sep 2007
    Location
    Gre, France
    Posts
    32
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    aSMS sees the Flash messages
    Cool, I stand corrected!. I actually verified this with minicom:

    at+cmgf=1 (set message mode to text)
    ok

    at+cmgr=0 (read message in position 0)
    +CMGR: "REC UNREAD","88",,"07/10/06,19:35:32+08"
    "888" messagerie Orange : 2 messages.

    So the idea would be to have some daemon running in background executing this command every n seconds. The thing that I do not like is to have a "unload commcenter" executing all the time. Is there a way to read /dev/tty.baseband concurrently?.

    Just another question, where is this message stored? SIM? baseband memory? for info, the preferred message storage in my phone:

    at+cpms?
    +CPMS: "MT",0,30,"MT",0,30,"MT",0,30

    I quote http://www.developershome.com/sms/cpmsCommand.asp

    SM. It refers to the message storage area on the SIM card.

    ME. It refers to the message storage area on the GSM/GPRS modem or mobile phone. Usually its storage space is larger than that of the message storage area on the SIM card.

    MT. It refers to all message storage areas associated with the GSM/GPRS modem or mobile phone. For example, suppose a mobile phone can access two message storage areas: "SM" and "ME". The "MT" message storage area refers to the "SM" message storage area and the "ME" message storage area combined together.
    So the message may be in the sim or in the modem memory .

    I continue my research .

    Gusano.

  8. #18
    Rookie Array pappi's Avatar

    Join Date
    Oct 2007
    Posts
    26
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Good Work Guys...

  9. #19
    Respected Professional Array

    Join Date
    Aug 2007
    Location
    Paris, France
    Posts
    533
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    Gusano,

    You need the full set of values to fully understand what the phone does with the Flash Message and other types of SMS --

    AT+CPMS=?
    +CPMS: ("MT","ME","SM","BM"),("MT","ME","SM"),("MT","ME", "SM","BM")

    AT+CPMS=?
    Responses decrypted
    +CPMS: (list of supported <mem1>s),( list of supported <mem2>s) ,(list of supported <mem3>s)

    <mem1> Memory from which messages are read and deleted

    SM SIM message storage
    ME Mobile Equipment message storage
    MT combination of "ME" and "SM" storages
    BM refers to the broadcast message storage area. It is used to store cell broadcast messages.

    <mem2> Messages will be written and sent to this memory storage:

    SM SIM message storage
    ME Mobile Equipment message storage
    MT combination of "ME" and "MT" storages

    <mem3> Memory in which received messages are preferred to be stored, if routing to is not set (see AT+CNMI command)

    SM SIM message storage
    ME Mobile Equipment message storage
    MT combination of "ME" and "SM" storages
    BM refers to the broadcast message storage area.
    The iPhone's CNMI Values Very weird!

    AT+CNMI?
    +CNMI: 1,0,0,0,0

    CNMI Decrypted:

    +CNMI: <mode>,<mt>,<bm>,<ds>,<bfr>

    <mode>:
    0: buffer in TA;
    1: discard indication and reject new SMs when TE-TA link is reserved; otherwise forward directly;

    <mt>: 0: no SMS-DELIVER are routed to TE;

    1: +CMTI: <mem>,<index> routed to TE;

    2: for all SMS_DELIVERs except class 2: +CMT: .... routed to TE; class 2 is indicated as in <mt>=1;

    3: Class 3: as in <mt>=2; other classes: As in <mt>=1;

    ---> Interesting: Only when <mt> is different from 0, you will get a message that a new SMS has been received. Is this not the problem? Nokia sets their phones to 2.


    <bm>: same as <mt>, but for CBMs;
    <ds>: 0: No SMS-STATUS-REPORT are routed to TE;

    1: SMS-STATUS-REPORTs are routed to TE, using +CDS: ...

    <bfr>: 0: TA buffer is flushed to TE (if <mode>=1..3);

    1: TA buffer is cleared (if <mode>=1..3);
    Ok here's the deal as far as SMS are concerned. Using the aSMS app as my guide, a normal SMS is treated very differently then a Flash SMS message. The storage area of a normal SMS is the SMS.db (via the BB) and the storage area of the Flash Message is on the SIM (via the BB). All traces of the flash message disappears the moment that either a new Flash or Normal SMS is received.

    So whats the workaround?

    Assuming that the settings in AT+CNMI is the cause of all our headaches -- not 100% sure of this -- try and find a way to apply Nokia's default values of AT+CNMI=1,2,0,0,1 (or 1,2,0,0,0 so as not to change the config too much) in the BB. Only problem is that we can't seem to save the commands that you enter in the BB permanently with SMS.

    Would be nice to see that default AT+CNMI setting of another phone running the S-GOLD2.

    Need to focus on the tty.debug...
    Last edited by Snowbird; 10-07-2007 at 05:06 PM.

  10. #20
    Senior Professional Array

    Join Date
    Aug 2007
    Location
    Australia
    Posts
    166
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    15

    Default

    awesome work guys, I hope you have some success getting the baseband changes saved so we can put this one to bed.


 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 02-10-2011, 02:40 AM
  2. Will Baseband 5.14.2 work with official t-mobile unlock
    By kimbante in forum Ultrasn0w (3G(S)/iPhone 4 unlock)
    Replies: 1
    Last Post: 10-20-2010, 07:41 PM
  3. Apple: Pro Tip of the Week: The latest word on Word editing
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 04-30-2008, 08:20 PM
  4. Replies: 11
    Last Post: 01-02-2008, 11:13 PM
  5. Which directory saves movie and mp3?
    By aix in forum General
    Replies: 1
    Last Post: 10-10-2007, 09:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 01:18 AM.
twitter, follow us!