Page 1 of 2 12 LastLast
Results 1 to 10 of 14
Discuss .mobileconfig vs carrierbundle & parameter wiki at the iOS 3.x (iPhone OS 3.x) - Hackint0sh.org; Hi fellow hackers, i just messed around with a mobileconfig created by the iphone configuration ...
  1. #1
    Newbie Array

    Join Date
    Jun 2009
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default .mobileconfig vs carrierbundle & parameter wiki

    Hi fellow hackers,

    i just messed around with a mobileconfig created by the iphone configuration utility and finally learned that i simply had to add one parameter with a text editor in order to enable tethering, but a search in this nice forum revealed, that you already know this ;-)

    key: <key>type-mask</key>
    value: <integer>-2</integer>

    Now - wouldn't it make sense to start a wiki and collect all undocumented parameters including their possible values and functions?

    also i wonder if it is possible to add more parameters to the .mobileconfig file which would normally go into the carrier.plist like mms config and the "ShowCallForwarding" parameters and so on.

    Is there maybe already such a wiki?
    And did you already try implementing more carrier.plist setting into a .mobileconfig file?

    If that works, it might be a nice and legitimate way to get those settings into the phone without messing around with older betas of itunes that still allow ipcc uploads.

    Cheers,

    Ed



  2. #2
    Newbie Array

    Join Date
    Jun 2009
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I tried several parameters without any success.
    Basically I created a mobileconfig file with Apple's iPhone Configuration Utility, then I opened a customized carrier.plist from an ippc file with Apple's Property List Editor, exported it as an XML Property List, and finally I added some properties from this file in the mobileconfig file.

    This is my last attempt:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    	<key>PayloadContent</key>
    	<array>
    		<dict>
    			<key>PayloadContent</key>
    			<array>
    				<dict>
    					<key>DefaultsData</key>
    					<dict>
    						<key>AllowEDGEEditing</key>
    						<true/>
    						<key>AllowMMSCEditing</key>
    						<true/>
    						<key>AllowMMSEditing</key>
    						<true/>
    						<key>IsMMSUserEditable</key>
    						<true/>
    						<key>apns</key>
    						<array>
    							<dict>
    								<key>apn</key>
    								<string>iphone.vodafone.it</string>
    								<key>IsAPNUserEditable</key>
    								<true/>
    								<key>password</key>
    								<string></string>
    								<key>type-mask</key>
    								<integer>-6</integer>
    								<key>username</key>
    								<string></string>
    							</dict>
    							<dict>
    								<key>apn</key>
    								<string>mms.vodafone.it</string>
    								<key>IsAPNUserEditable</key>
    								<true/>
    								<key>password</key>
    								<string></string>
    								<key>type-mask</key>
    								<integer>4</integer>
    								<key>username</key>
    								<string></string>
    							</dict>
    							<dict>
    								<key>apn</key>
    								<string>iphone.vodafone.it</string>
    								<key>IsAPNUserEditable</key>
    								<true/>
    								<key>password</key>
    								<string></string>
    								<key>username</key>
    								<string></string>
    							</dict>
    						</array>
    						<key>mms_proxy</key>
    						<string>10.128.224.10</string>
    						<key>mms_proxy_port</key>
    						<string>8080</string>
    						<key>mmsc</key>
    						<string>http://mms.vodafone.it/servlets/mms</string>
    					</dict>
    					<key>DefaultsDomainName</key>
    					<string>com.apple.managedCarrier</string>
    				</dict>
    			</array>
    			<key>PayloadDescription</key>
    			<string>Fornisce la personalizzazione dell'APN del gestore.</string>
    			<key>PayloadDisplayName</key>
    			<string>Impostazioni avanzate</string>
    			<key>PayloadIdentifier</key>
    			<string>it.vodafone.custom.apn</string>
    			<key>PayloadOrganization</key>
    			<string></string>
    			<key>PayloadType</key>
    			<string>com.apple.apn.managed</string>
    			<key>PayloadUUID</key>
    			<string>97DB1808-352B-4E17-ACD7-DEF5312F046F</string>
    			<key>PayloadVersion</key>
    			<integer>1</integer>
    		</dict>
    	</array>
    	<key>PayloadDescription</key>
    	<string>Descrizione profilo.</string>
    	<key>PayloadDisplayName</key>
    	<string>Vodafone IT personalizzato</string>
    	<key>PayloadIdentifier</key>
    	<string>it.vodafone.custom</string>
    	<key>PayloadOrganization</key>
    	<string></string>
    	<key>PayloadType</key>
    	<string>Configuration</string>
    	<key>PayloadUUID</key>
    	<string>5EFEF9D1-D48D-441E-B457-1A630F45A409</string>
    	<key>PayloadVersion</key>
    	<integer>1</integer>
    </dict>
    </plist>
    I can email successfully this file to my iPhone; it imports this profile correctly, but I apparently have no results: the first apn shows in this profile details, but I can't send any MMS for instance.

  3. #3
    iPhone Moderator Array

    Join Date
    Aug 2007
    Posts
    3,620
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    220

    Default

    Quote Originally Posted by Locutus73 View Post
    I tried several parameters without any success.
    Basically I created a mobileconfig file with Apple's iPhone Configuration Utility, then I opened a customized carrier.plist from an ippc file with Apple's Property List Editor, exported it as an XML Property List, and finally I added some properties from this file in the mobileconfig file.

    right now the profiles are limited to whats in the first APN setting. So you can add type-mask but cant edit other parameters. There will be different ways to amnipulate the carrier bundles once fw 3 is out. Apple needs to inject carrier bundle updates aswell as more carriers will add functions and services ;-)
    Read the stickies and search the forum before posting!
    If you want to become a Hackint0sh supporter click here
    ----------
    iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
    iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
    iPad 2

  4. #4
    Newbie Array

    Join Date
    Jun 2009
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    @volkspost:
    well - i don't think that apple really needs mobileconfig profiles for distribution. they have their ipcc bundles.

    maybe we have to hack the law first...
    apple sells legally unlocked devices in several countries forced by the law, so customers with these neverlocked devices should have an option to configure them at will - without any prerelease itunes version and ipcc hacks.

    I'd really love to see an iphone configuration utility that supports all these settings.


    @Locutus73:
    i tried the same, but so far also no luck - maybe we injected the parameters in the wrong node - or maybe we need to add a node with a special name or something.

    in order to start our documentation efforts:
    what exactly does the type-mask key? and what is the meaning of the values?
    we should really document as much as possible in a wiki.

  5. #5
    iPhone Moderator Array

    Join Date
    Aug 2007
    Posts
    3,620
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    220

    Default

    Quote Originally Posted by edjumpsthegun View Post
    @volkspost:
    well - i don't think that apple really needs mobileconfig profiles for distribution. they have their ipcc bundles.

    maybe we have to hack the law first...
    apple sells legally unlocked devices in several countries forced by the law, so customers with these neverlocked devices should have an option to configure them at will - without any prerelease itunes version and ipcc hacks.

    I'd really love to see an iphone configuration utility that supports all these settings.
    Unfortunately injecting the ipcc files is disabled with iTunes 8.2 for now. BUT: Apple used this way to update the carrier bundles and they will have to in the future.

    Profiles are just a nice workaround for now as long as it comes to edit the APN and enable tethering - just a fun project.

    Using a factory unlocked 3G from Otaly I agree with you, Apple should offer a configuration utility, but they wont. Thats why I had the service mentioned here
    http://www.hackint0sh.org/forum/f127/72887.htm
    up and running. It auto-creates ipcc files that could be injected even on a non jailbroken iPhone - woring with iTunes up to 8.1.1. There will be a workaround - be sure.
    Read the stickies and search the forum before posting!
    If you want to become a Hackint0sh supporter click here
    ----------
    iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
    iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
    iPad 2


  6. #6
    Newbie Array

    Join Date
    Jun 2009
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by volkspost View Post
    Unfortunately injecting the ipcc files is disabled with iTunes 8.2 for now. BUT: Apple used this way to update the carrier bundles and they will have to in the future.
    I know, but the ipcc upgrade process via iTunes (or the device itself - don't know) is still working - just not from the user-side.

    Apple is still able to update your phones ipcc, so I am not really sure why the would want to allow it to users again.

    You are able to see their official carrier bundles - which are still distributed fine to your device - via:
    curl -s -L http://phobos.apple.com/version | grep -i carrier


    Quote Originally Posted by volkspost View Post
    Profiles are just a nice workaround for now as long as it comes to edit the APN and enable tethering - just a fun project.
    My guess is, that apple will move on with not allowing ipcc uploads for users (just their "signed" way for carriers) and mobileconfig updates will be extended as the legitimate way for "user-side" configuration.


    Quote Originally Posted by volkspost View Post
    Using a factory unlocked 3G from Otaly I agree with you, Apple should offer a configuration utility, but they wont. Thats why I had the service mentioned here
    http://www.hackint0sh.org/forum/f127/72887.htm
    up and running. It auto-creates ipcc files that could be injected even on a non jailbroken iPhone - woring with iTunes up to 8.1.1. There will be a workaround - be sure.
    Also using an italian iPhone :-) Maybe all we have to do is raise awareness until someone has the time and money to sue apple at the european court of justice. I am quite sure that it is illegal that they aren't offering any possibility to use those legally unlocked devices without any issues. They have to sell them in a way that allows usage on any network by the law, but they are not providing the necessary toolset to adapt the configuration for the respective network - sounds like a half-ass compliance to the "unlock-law" ;-)

  7. #7
    iPhone Moderator Array

    Join Date
    Aug 2007
    Posts
    3,620
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    220

    Default

    Quote Originally Posted by edjumpsthegun View Post
    I know, but the ipcc upgrade process via iTunes (or the device itself - don't know) is still working - just not from the user-side.

    You are able to see their official carrier bundles - which are still distributed fine to your device - via:
    curl -s -L http://phobos.apple.com/version | grep -i carrier
    Wait and see, this may be changed for fw 3. Right now the mechanism (for fw 2.2.1) uses iTunes, thats how we found out how-to. There has been no carrier update via this way in the last month as far as I know.
    We'll have to check the first updates after fw 3 is public. There will be a lot, soon.
    Last not least we'll be able to manually copy and create the symlink once the final version is jailbreakable.
    Read the stickies and search the forum before posting!
    If you want to become a Hackint0sh supporter click here
    ----------
    iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
    iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
    iPad 2

  8. #8
    ac!
    ac! is offline
    Senior Professional Array

    Join Date
    Mar 2009
    Posts
    121
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    16

    Default

    just use an earlier 8.2.0 build to upload the ipcc.

    what the problem is ?

  9. #9
    ac!
    ac! is offline
    Senior Professional Array

    Join Date
    Mar 2009
    Posts
    121
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    16

    Default

    better yet:

    defaults write com.apple.iTunes carrier-testing -bool TRUE

    rep it up =)

  10. #10
    Newbie Array

    Join Date
    Jun 2009
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    It's possible to enable ipcc uploads with final itunes 8.2, too.
    Just type the following in the terminal:

    defaults write com.apple.iTunes carrier-testing -bool TRUE

    oh - lol - ac! already said that ;-)
    lets wait and see - i guess itunes 8.2.1 disables this feature ;-)


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 11
    Last Post: 06-21-2010, 10:17 AM
  2. mobileconfig proxy username and password
    By gertsolo in forum iOS 3.x (iPhone OS 3.x)
    Replies: 1
    Last Post: 08-24-2009, 04:06 PM
  3. Enabling MMS through .mobileconfig (on 3.0 GM)
    By Ad1tya in forum iOS 3.x (iPhone OS 3.x)
    Replies: 13
    Last Post: 06-23-2009, 02:18 PM
  4. Help! How to select voodoo kernel as boot parameter
    By Jameski in forum Installation
    Replies: 0
    Last Post: 03-18-2009, 11:54 PM
  5. [Iphone Dev WiKi] Down ? :S
    By Lilbebo in forum iPhone "2G" (Rev. 1)
    Replies: 11
    Last Post: 01-20-2008, 07:41 AM

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 08:21 AM.
twitter, follow us!