Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27
Discuss The Official word on what changes the Baseband saves and what it discard at the General - Hackint0sh.org; woa! i am excited! would love to finally have voicemail notifications! thanks for looking into ...
  1. #21
    Advanced Array

    Join Date
    Sep 2007
    Posts
    37
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    woa! i am excited! would love to finally have voicemail notifications!

    thanks for looking into this snowbird


  2. #22
    Respected Professional Array

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

    Default

    How annoying! The AT+CSAS command is used to save service settings to a non-volatile memory. All settings specified in commands Service Centre Address +CSCA and Set Message Parameters +CSMP are saved and conserved. The rest can be forced into a profile which will be saved. Issuing a AT+CSAS=? shows that there is already 1 profile defined "0." You can add a second one (0,1 for example), but guess what happens when you reload the CommCenter? You got it, it gets wiped out. If you exit minicom without reloading the CommCenter and check, your changes are still there.

    It's hard to say with any certainly what resets the settings, but the CommCenter plist clearly illustrates that upon unloading that there is a "ResetAtClose" and probably -- somewhere -- a PrepareAtLaunch (but where?) Would be nice to see what replacing the <true> with a <false> would do? Will try that tomorrow night.

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    	<key>Label</key>
    	<string>com.apple.CommCenter</string>
    	<key>MachServices</key>
    	<dict>
    		<key>com.apple.commcenter</key>
    		<dict>
    				<key>ResetAtClose</key>
    				<true/>
    		</dict>

  3. #23
    Respected Professional Array

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

    Default

    BTW, the very best document that I've found to date on AT commands is a Nokia guide. You can find it at:

    www.itruss.com/files/atnokia.pdf

    I haven't run across a single AT command to date that doesn't workwith the iPhone's S-GOLD2 (haven't tested them all though). Clearly a Siemens S75 or equiv guide would be better, but the Nokia manual is perfect.

  4. #24
    Senior Professional Array

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

    Default

    Is it possible to save the changes to AT+CNMI on the default profile 0 which doesn't get wiped, or do changes saved to this profile also get reset?

    The ResetAtClose may just be a restart of the commcenter to apply the changes - if you disable this then my guess is that your changes may persist until you performed a restart but then be lost. Worth a try though
    Last edited by ricochet; 10-08-2007 at 12:54 AM.

  5. #25
    Advanced Array

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

    Default

    Hi there,

    Well, no news on my side. I spent most of sunday attacking the problem from any angle I could. At least I could draw some conclusions that I'm pretty sure about:

    - CommCenter opens the device /dev/h5.baseband so no clear AT commands in the code (I dissasembled it using IDA and a patched macho.ldw found in the dev team wiki). I would love to know what is this h5 protocol, the reset command surely would be found!.

    - CommCenter is in charge of connecting to the Visual Voicemail server (if you are in AT&T and VVM a.k.a EnhancedVoicemail is configured) and adding any new voicemail (with the .amr sound files) to /var/root/Library/Voicemail/voicemail.db. It also opens the file sms.db for some querying but I could not find any CREATE call in the code. I've even found some DELETEs.... why is CommCenter deleting entrys in sms.db???... for a moment I thought the voicemail notification was indeed being stored in sms.db and CommCenter just deleted it... wrong... I left myself a voicemail (with the other 20 yesterday ) and the modification time of sms.db did not change.

    - in the plist file for CommCenter you can add the -p argument and define the stderr and stdout files. Sending a kill -USR2 to CommCenter produces a lot of nice information in the stdout file, but totally useless for our flash sms enterprise . The dump produced by dialing *5005*78283# and entering a name is way more "informational".... BTW, I do not know what I did, but I get a dump .bin file together with the .log file. The bin file is 1.5 MB. Any ideas? a dump of the baseband?

    I have some open questions:

    - who is creating the new entries in sms.db? CommCenter? MobileSMS? AppSupport? other? that I will look tonight.. my disassembling faculties are way too rusty .

    -who is in charge of giving the notification "Text from %s"? SpringBoard?.. maybe the bug with the flash sms is in there... will check tonight.

    A plus tard,

    Rafa (gusano).


  6. #26
    Respected Professional Array

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

    Default

    Pressed for time, but the BIN file is no doubt debug information that can be analysed using Xcode. Since it's not possible to debug locally, that is, unless Apple has created a test Mac that runs iPhone OS (non!), I would assume that's what this file is for. Makes sense I would say.

    Just thought of something, speaking of short codes, I'm wondering if there's not a *5005*...*short code that allows you to change the AT command that I'm trying to make semi-permenant? Need to check this out.

    Re: your questions. I'll take a shot at answering them.

    Let's call the CoreServices the Firmware/CPU to keep things simple. So, who creates the entry in the SMS.db? I don't think that there's only one culprit. The BB (CommCenter) informs the CPU/Firmware that it has received a message and the Firmware informs the SMS.App who then populates the received SMS in SMS.db and fires back a message to the Firmware that it's done. The Firmware fires back a message to the BB to remove the waiting SMS from BB memory. At the sametime, the Firmware informs "notification" services that a new message is received which results in the SMS app icon being updated by 1 and then using hashed configuration details the phone either beeps or vibrates and spreys a alert message across your screen that it gets from the USSD/Springboard string files.

    Re: question 2. I thought of this before. My initial assumption was that the phones knows precisely how to deal with Flash SMS and that the phone WANTs to splash the notification across the screen, but that it hasn't been taught how to do so for the simple and precise reason that "there's no string defined for this option in the SpringBoard.string file." The phone knows exactly what to do with the Flash SMS -- it's on the SIM -- and the Phone CLEARLY know how to get it there, what's missing is just the reporting feature.

    If we could convince the phone via the BB that this message is not special or a "BC" (which is what I'm trying to do), the VM Notication would find it's way into SMS.db, but with either 0 sender details. Whether this will crash the SMS.db, I can't say because I haven't managed to apply the changes. I'm sure that this will crash the SMS.db each time, but at least this is progress and a step in the right direction....

  7. #27
    Respected Professional Array

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

    Default

    From the Dev Site: Re: **5005*78283# asks you "Please add description for this capture", you can hit reply and enter a string. This enables baseband exchanges logging to /Library/Logs/Baseband. These logs will be transferred to the host computer when synced with iTunes again. On a Mac, the files get to /Library/Logs/CrasReporter/MobileDevice/<myiphone's name>/

 

 
Page 3 of 3 FirstFirst 123

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 05:15 PM.
twitter, follow us!