Page 11 of 26 FirstFirst ... 23456789101112131415161718192021 ... LastLast
Results 101 to 110 of 257
Discuss iPhone 2G tethering with 3.0 - any news? at the iOS 3.x (iPhone OS 3.x) - Hackint0sh.org; Ok, apparently I was poking around in the wrong ballpark ... hence ... Tethering Option ...
  1. #101
    Newbie Array

    Join Date
    Jul 2009
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Ok, apparently I was poking around in the wrong ballpark ... hence ...

    Tethering Option only stays on and unchanged ONLY when apple mobile device is OFF ...

    Once Apple Mobile Device is started, The Tethering options along with the apple etherner network connection [Unplugged, of course ] magically disappears ...

    Anyone know the file location or the file in general that communicates with apple mobile device ???


  2. #102
    Professional Array

    Join Date
    Aug 2008
    Posts
    66
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    17

    Default

    I updated my 2G iPhone to 3.1 and now there's "Tethering Data" in Settings > General > Usage.
    I'm using custom carrier bundle (the same file as on 3.0) without any special tethering settings.

    Waiting for iPhone3,1...

  3. #103
    Board Hero Array

    Join Date
    Dec 2007
    Posts
    1,044
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    74

    Default

    Quote Originally Posted by blackboxxx View Post
    I updated my 2G iPhone to 3.1 and now there's "Tethering Data" in Settings > General > Usage.
    I'm using custom carrier bundle (the same file as on 3.0) without any special tethering settings.
    A sign that carriers may charge separately for tethered data, I would say.
    iPhone 3GS / 3.1.2 JB (PwnageTool) / 04.26.08 carrier-locked, Carrier Logo Fixer / Cydia / 1000 posts on Hackint0sh

    Installing Cydia programs on a phone that has no internet connection: read this.

    Editing binary .plist, .strings, .nib and .xib files:
    * on your computer: Windows tool / conversion website.
    * on your iPhone: convert those files in a terminal with plutil (installed with Erica Utilities) or edit them with iFile (Cydia links).

  4. #104
    Professional Array

    Join Date
    Aug 2008
    Posts
    66
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    17

    Default

    Quote Originally Posted by Jim Danner View Post
    A sign that carriers may charge separately for tethered data, I would say.
    What's strange is that tethering is not supported on the original iPhone, yet it appears in Usage.
    Waiting for iPhone3,1...

  5. #105
    nrg
    nrg is offline
    Rookie Array

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


  6. #106
    cedoh
    Guest

    Default

    But the tetheringpatch is only for the 3G and 3GS not for the 2G.
    This thread is about the enabling the !native! tethering on the iPhone 2G.

    But would be interesting how this software enables this.
    So... sadly no solution yet

  7. #107
    ttg
    ttg is offline
    Please confirm your eMail or contact staff! Array

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

    Default

    Read the article well.
    myWi SHOULD allow Tether on 2G.

    Too bad we can get just the tether via USB/BT for 2G w/o purchasing myWi.

    Checking it now.

    will update.

  8. #108
    ttg
    ttg is offline
    Please confirm your eMail or contact staff! Array

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

    Default

    Well,
    Bluetooth didn't work.
    However USB DOES work!


    However,
    Since iPhone 3.1 there is a carrier bundle for my Carrier and it does allow Tethering. (for 3G/3GS out of the box)

  9. #109
    cedoh
    Guest

    Default

    That's nice but this thread is about activating the native and free tetheringcapabilities of the iPhone 2G. There are already a few apps via cydia to buy like pdanet the only difference is that they use wlan to share the connection.

    I can also confirm working of this binarypatch for the 3G. But let's keep looking for the 2G!

    Can you look into the modified files by this software? Modified daemon, new daemon anything like this?

  10. #110
    Senior Professional Array

    Join Date
    Dec 2007
    Posts
    100
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    Below are my findings for the past couple of days, so take it with a grain of salt. They're for jailbroken 3.1.2 firmware ONLY!

    /private/var/mobile/Library/Preferences/com.apple.MobileInternetSharing.plist contains State whose value is 1020. The second to last bit of that number means "allow tethering"; the last bit means "tethering is on/off". That is, to allow tethering, set State to 1023 or 1022. The mis daemon starts tethering by calling CoreTelephony, which, in turn, relays the request to CommCenter. If this request is denied, misd will set State back to 1020: tethering disabled, tethering off.

    Start by patching the CommCenter to allow tethering. Set 1 to offset 0x43 into a magic structure (modem init stuff):
    Code:
    # CommCenter offset, old value, new value
    0x0002BC26 0x23 0xA3
    0x0002BC28 0x08 0xDE
    0x0002BC29 0x33 0x77
    0x0002BC2A 0x25 0x06
    0x0002BC2B 0x77 0x33
    0x0002BC2C 0xDD 0x25
    0x0002BC2E 0x38 0xDD
    0x0002BC2F 0x33 0x77
    0x0002BC30 0x1D 0x38
    0x0002BC31 0x70 0x33
    0x0002BC32 0xA3 0x1D
    0x0002BC33 0x1C 0x70
    0x0002BC34 0xDE 0x03
    0x0002BC35 0x77 0x33
    0x0002BC36 0x33 0x32
    But that's not enough. The type-mask of each APN is checked, and the CommCenter will pick the APN with bits 4 and 5 set (aka 0x30 aka 48). These are stored in /private/var/mobile/Library/Preferences/com.apple.carrier.plist. Mine looks like this:
    Code:
    <array>
    	<dict>
    		<key>apn</key>
    		<string>internet</string>
    		<key>type-mask</key>
    		<integer>1</integer>
    		...
    	</dict>
    	<dict>
    		<key>apn</key>
    		<string>mms</string>
    		<key>type-mask</key>
    		<integer>4</integer>
    		...
    	</dict>
    	<dict>
    		<key>apn</key>
    		<string>modem</string>
    		<key>type-mask</key>
    		<integer>48</integer>
    		...
    	</dict>
    </array>
    So it looks like the third APN is the right one. Unfortunately, iPhone 2G has only two pdp_ip contexts, so the third APN is never checked. I guess the first APN (that is, pdp_ip0) will do for now. So let's NOP out the type-mask check:
    Code:
    # CommCenter offset, old value, new value
    0x0001691A 0x15 0x00
    0x0001691B 0xD0 0x46
    And while we're at it, also NOP the signature check (from Answers to random questions [iPhone Dev Team]):
    Code:
    # CommCenter offset, old value, new value
    0x0001692A 0x06 0x00
    0x0001692B 0xD0 0x46
    Now it's working.

    To have tethering over bluetooth we also need to patch BTServer. The iPhone 2G profiles are: 0x1=handsfree, 0x2=phonebook. Aditionally, iPhone 3G has: 0x8=avrcp, 0x10=a2dp, 0x80=wiap, 0x100=netSharing, 0x800=gaming. Next, the BTServer patch:
    Code:
    # BTServer offset, old value, new value
    0x000F913C 0x03 0x9B
    0x000F913D 0x00 0x09
    A few notes:
    1. DON'T do it, unless you REALLY know what you are doing! A fsck'ed up CommCenter MAY and WILL brick your phone if anything goes awry (hello Restore). Maybe someone more knowledgeable can take a look and give his/her opinion.
    2. This hack has no effect if you previously applied the MMS hack: http://www.hackint0sh.org/f207/93057.htm. This probably can be solved, but I'd rather take it step by step.
    3. Tethering data appears in Preferences -> General -> Usage only if done over a different PDP than internet PDP (which is usually pdp_ip0). Since I had to use pdp_ip0, traffic data is added to the regular internet traffic and not shown as a separate item.
    4. There is another CommCenter hack to enable all four PDPs, but then the baseband starts puking, resulting in NO SERVICE. Maybe someone can help with this.
    Code:
    # CommCenter offset, old value, new value
    #0x0002BC0C 0x02 0x04 # or 3
    How to do it:
    1. make sure your 2G is on 3.1.2 jailbroken firmware. It won't work otherwise!
    2. download and unpack (the sourcecode of bpatch is there only for reference, you don't have to compile anything)
    3. scp the files into the phone
    4. ssh into the phone (or use MobileTerminal) and become root
    5. backup your CommCenter and BTServer
    6. edit /private/var/mobile/Library/Preferences/com.apple.MobileInternetSharing.plist and set State to 1023
    7. chmod +x bpatch
    8. ./bpatch /System/Library/PrivateFrameworks/CoreTelephony.framework/Support/CommCenter CommCenter_3.1.2_tether_OK0.bpatch
    You should see:
    [i] updating hash 22
    [i] updating hash 43
    If it says "Killed", just try the command again. If it says anything else, restore CommCenter from backup and maybe forget about it.
    9. ./bpatch /usr/sbin/BTServer BTServer.bpatch
    You should see:
    [i] updating hash 249
    If it says "Killed", just try the command again. If it says anything else, restore BTServer. You wont' be able to tether over bluetooth, only USB.
    A. reboot phone

    Enjoy.
    Last edited by dborca; 11-17-2009 at 11:05 PM. Reason: added support for tethering over bluetooth; removed obsolete download link
    Regards,
    Daniel Borca


 

 

LinkBacks (?)

  1. 11-07-2010, 05:52 PM
  2. 03-18-2010, 08:11 PM
  3. 03-18-2010, 07:43 AM
  4. 02-22-2010, 10:46 AM

Similar Threads

  1. MacNN: Google News gets GPS-aware news on Android, iPhone
    By hackint0sh in forum Latest Headlines
    Replies: 1
    Last Post: 09-09-2011, 12:56 AM
  2. MacNN: News Corp exec confirms tablet-focused news outlet
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 11-17-2010, 11:50 PM
  3. MacNN: Fluent News for iPhone gathers mobile news content
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 06-30-2009, 07:10 PM
  4. Replies: 9
    Last Post: 09-15-2008, 06:14 AM
  5. [NEWS] Status Ticker/iPhone Hacking News-Mailinglist
    By akiacat in forum iPhone "2G" (Rev. 1)
    Replies: 7
    Last Post: 01-17-2008, 02:09 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 10:14 AM.
twitter, follow us!