Results 1 to 3 of 3
Discuss [1.1.2] Solution for Limits on Recent Calls and SMS messages at the General - Hackint0sh.org; Here's something small I give back to the iPhone community that has given me so ...
  1. #1
    Newbie Array

    Join Date
    Feb 2008
    Posts
    5
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default [1.1.2] Solution for Limits on Recent Calls and SMS messages

    Here's something small I give back to the iPhone community that has given me so much.

    The limit of 100 entries in the Recent Calls log always drove me nuts, so I set out to find a solution for it by reverse engineering the app. Unfortunately for us, the 100 limit is hard-coded in an 8-bit value (byte), which allows us to change the limit from 100 to only 256. But hey, 256 is much better than 100, at least for me.

    To increase the Recent Calls limit on firmware 1.1.1 or 1.1.2 from 100 to 250, open the CommCenter file in hex and change offset 0x00006696 from 64 to FA. (see below for more details).

    The limit of 1000 on SMS messages is also somewhat limiting. Fortunately, this 1000 limit is hard-coded in a 32-bit value, which allows us to set this limit to practically anything we wish.

    Here's how to change the Recent Calls and SMS limits:

    PLEASE NOTE -- DO THIS AT YOUR OWN RISK. I TAKE NO RESPONSIBILITY IF THIS HARMS YOUR PHONE.

    1. Download the CommCenter file to your computer and back it up. CommCenter resides in the following path:

    /System/Library/Frameworks/CoreTelephony.framework/Support

    2. Open up a copy of CommCenter with your favorite hex editor. I use the HxD Windows editor - get it from here:

    http://mh-nexus.de/hxd/

    3. Look below for the offsets to change. In HxD, press Alt-G and enter the offset. You should see 64 for calls, and E7 for SMS. Change the values as detailed below.

    - To change the calls limit, only one byte value needs to be changed, at offset 0x00006696 (for 1.1.1 or 1.1.2). Change 64 to FA.

    - To change the SMS limit, the change needs to be repeated in the 5 different offsets listed below. Note that here 2 bytes need to be changed, at the offset and immediately after it (for example, change E7 03 to 87 13 to increase the limit to 5000 SMSes).

    4. Save the changes and upload the patched CommCenter file back to its original location. Reboot the iPhone.


    Code:
    Recent Calls limit:
    
      1.1.1 / 1.1.2 CommCenter: change offsets:
    
        0x00006696
    
      Change: 64
    
      To    : FA  (limit 250)
    
    
    SMS Messages Limit:
    
      1.1.1 / 1.1.2 CommCenter: change offsets:
    
        0x00011500  
        0x0001162C
        0x000116C8
        0x00011744
        0x000119D4
    
      Change: E7 03
    
      To :  C7 07  (limit  2,000)
              B7 0B  (limit  3,000)
              87 13  (limit  5,000)
              0F 27  (limit 10,000)
              A7 61  (limit 25,000)
              50 C3  (limit 50,000)
    Some notes:

    - Changing these limits to reasonable values should not slow anything down. The data is stored in efficient SQL tables and Apple's queries are decently optimized. Of course having 50,000 SMSes load up into the GUI could take some time.

    - There's a solution floating on the net to increase these limits with triggers. This solution is very inefficient because all records over the limit are deleted each time a new record is added, and then immediately re-inserted by the trigger. So if you have 130 calls in the log, the next new call insertion will cause the 30 records from 101 to 130 to be deleted, and then the trigger will re-insert those 30 records right back in again. This is highly inefficient!

    - The phone app's limit checking functions (the ones we patched) also appear in the CoreTelephony file. I assume these are meant to be used with the SDK. We will have to similarly patch CoreTelephony when the SDK comes out so 3rd party apps also honor our new limits.

    - The CommCenter files of firmwares 1.1.1 and 1.1.2 are identical, so the patch offsets are the same for both. I do not have the CommCenter file for 1.1.3. If someone uploads the file I will try to find the offsets for it.

    Enjoy.

    Sollico
    Last edited by Sollico; 02-24-2008 at 11:40 PM. Reason: 1.1.1 patch offsets same as 1.1.2



  2. #2
    Senior Professional Array Twisty iphoney's Avatar

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

    Default

    hey,
    great work.
    thanks

  3. #3
    Newbie Array

    Join Date
    Feb 2008
    Posts
    5
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Patch offsets for firmware 1.1.1 have been updated in the first post.

    Still waiting for someone to please upload CommCenter for 1.1.3 so I can find those offsets as well....

 

 

Similar Threads

  1. Anyway to hold more recent calls?
    By bigdogjonx in forum General
    Replies: 7
    Last Post: 09-07-2011, 09:04 AM
  2. Missed calls and recent calls dont save
    By 00snipe00 in forum Spirit (jailbreak)
    Replies: 4
    Last Post: 05-08-2010, 07:21 AM
  3. [2.0][SMS] slow to view recent messages/conversations
    By jeimezu in forum Free Toolchain Software (Cydia App's)
    Replies: 3
    Last Post: 07-23-2008, 09:42 PM
  4. [iLog] App to manage Recent calls
    By iLeks in forum Free Toolchain Software (Cydia App's)
    Replies: 155
    Last Post: 07-07-2008, 04:32 AM
  5. Recent Calls List modding
    By Andrea990 in forum General
    Replies: 0
    Last Post: 01-29-2008, 08:12 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 09:07 AM.
twitter, follow us!