Discuss .mobileconfig vs carrierbundle & parameter wiki at the iPhone OS 3.x - Hackint0sh.org; Hi fellow hackers,
i just messed around with a mobileconfig created by the iphone configuration ...
-
.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
-
-
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.
-
-

Originally Posted by
Locutus73
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
-
@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.
-
-

Originally Posted by
edjumpsthegun
@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
-

Originally Posted by
volkspost
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

Originally Posted by
volkspost
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.

Originally Posted by
volkspost
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" ;-)
-
-

Originally Posted by
edjumpsthegun
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
-
Senior Professional
Array
just use an earlier 8.2.0 build to upload the ipcc.
what the problem is ?
-
-
Senior Professional
Array
better yet:
defaults write com.apple.iTunes carrier-testing -bool TRUE
rep it up =)
-
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 ;-)
-
Similar Threads
-
By HowAbout in forum iPhone OS 3.x
Replies: 11
Last Post: 06-21-2010, 10:17 AM
-
By gertsolo in forum iPhone OS 3.x
Replies: 1
Last Post: 08-24-2009, 04:06 PM
-
By Ad1tya in forum iPhone OS 3.x
Replies: 13
Last Post: 06-23-2009, 02:18 PM
-
By Jameski in forum Installation
Replies: 0
Last Post: 03-19-2009, 12:54 AM
-
By Lilbebo in forum iPhone "2G" (Rev. 1)
Replies: 11
Last Post: 01-20-2008, 08:41 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks