Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I'm in the same boat. Coming from an jailbroken iphone 3gs that had those things the previous poster listed changed/edited.

I can confirm that without restoring and doing a fresh "setup as new phone" it will work as intended but any attempts to restore either from icloud or itunes results in "Could not activate cellular data network" and "You are not subscribed to a cellular data service".

I've tried multiple variations of icloud and itunes restore none work. Any one else got a clue?

Here is how I am going to solve it. I am in the process of downloading the iPhone 5 firmware right now on an extremely slow connection, so I haven't been able to confirm it will work. I believe it will though.

I updated from an iPhone 4 running iOS 5.1.1 jailbroken. I downloaded iFile (though you could also SSH into the phone if that is easier) and navigated to /private/var/Managed Preference/mobile and delete the com.apple.managedCarrier.plist file.

That should erase the APN profile that was installed previously. I've moved all previous backups of the phone out of the backup folder, and I've backed up the phone from scratch.

I am going to restore my iPhone 5 using this new backup, and it should work correctly. I will update this post when I can confirm it will work.

There was another method I saw where you setup the new iPhone as new and back it up. Then you move a certain folder that contains the APN settings from the new backup to the old backup. You then re-restore the new phone from the now modified old backup. Hope that makes sense, just want to share all the information I've found.
 
Here is how I am going to solve it. I am in the process of downloading the iPhone 5 firmware right now on an extremely slow connection, so I haven't been able to confirm it will work. I believe it will though.

I updated from an iPhone 4 running iOS 5.1.1 jailbroken. I downloaded iFile (though you could also SSH into the phone if that is easier) and navigated to /private/var/Managed Preference/mobile and delete the com.apple.managedCarrier.plist file.

That should erase the APN profile that was installed previously. I've moved all previous backups of the phone out of the backup folder, and I've backed up the phone from scratch.

I am going to restore my iPhone 5 using this new backup, and it should work correctly. I will update this post when I can confirm it will work.

There was another method I saw where you setup the new iPhone as new and back it up. Then you move a certain folder that contains the APN settings from the new backup to the old backup. You then re-restore the new phone from the now modified old backup. Hope that makes sense, just want to share all the information I've found.


Thanks for sharing the information you've found so far on how to fix this. I will try this method and report back of any problems I may have run into and how and or if i solved them.

Update Edit. I can confirm through the first method you mentioned this successfully allowed me to restore my 3gs settings to the new iphone 5. Thanks again for sharing this information, saved me a allot of head aches tonight.
 
Last edited:
There was another method I saw where you setup the new iPhone as new and back it up. Then you move a certain folder that contains the APN settings from the new backup to the old backup. You then re-restore the new phone from the now modified old backup. Hope that makes sense, just want to share all the information I've found.

Can you link that? I tried that on my own and had no love - when I delete the file I got an error that the backup couldn't be restored and when I edited in the IP5 info into the IP4 backup it still didn't work!
 
Hoooly ****. That was a rollercoaster.

I finished downloading the iPhone 5 ipsw, and set to work.

I backed up the iPhone 4 fresh. After it was finished, I plugged in the iPhone 5 and began the restore process. I have an extremely shoddy internet connection right now (just moved and mine isn't setup yet), so when I remembered that iTunes had to connect to the internet for the restore, I was a bit worried. Regardless, after searching every spot for the best wifi signal I could muster, I began the process.

After about 3 minutes of the spinning wheel on the screen for verifying the restore, it finally completed and began restoring the phone. The software updated and verified successfully, and then the firmware began. About 3/4 into the firmware update, the bar stopped, and itunes showed the spinning wheel and verifying firmware. Then it errored and the phone went into recovery mode.

Error 1 was the code it was giving me. I looked at Apple's error codes and saw that Error 1 indicated a hardware problem with the device.

I tried a few more times... placing the ipsw in the default itunes location and using the restore button without pressing option, using the other usb port, etc.

No luck. Error 1, every time.

Some further googling lead me to see some discussions of error 1 happening when there is baseband corruption, and I started to get a very bad feeling. I thought that perhaps at some point I might have unlocked the phone, or prevented a baseband update, and that those hacks had probably carried over and corrupted the baseband. This would not be a fun thing to deal with normally. On day 2 of the device being out, without any tools, jailbreaks, or information out there, this might not be solvable by me. I was having visions of having to send my phone back to Apple and use my iPhone 4 for another 2 or 3 weeks before I was able to get a replacement.

I read somewhere that when people got the error on 5.1.1, they only needed to kick the device out of recovery, so I went to Tiny Umbrella. The iPhone was showing as an unknown recovery device, and gave me the option to exit recovery. The first time I tried, it crashed. I thought that Tiny Umbrella probably hadn't been updated to support the iPhone 5. The second time I launched it, it told me there was a new version. It was only a very minor update though, and the blog didn't mention it. I downloaded it, and tried again. This time, it didn't crash, and the iPhone restarted. The sun began to rise over the horizon, and the light started peaking... and then dark clouds took over the sky as the phone returned into recovery mode.

I decided to restart the computer and try one more time. If it didn't work, I was going to call AT&T and have them return service to my iPhone 4. I should mention that at this point, my phone had been out of commission for about 3 hours (very, very slow internet, so doing research and restoring the phone took a lot of time), and I have to head to work in a few hours, and I absolutely need a phone.

It went through the same process, got stuck at the same place, wheels spinning while verifying the firmware update... and then... it kept going. The restore completed normally. No errors!

I still wasn't out of the woods. After the phone restarted, I began restoring from the iPhone 4 backup. This process went normally as well.

I set up the phone, turned off the wifi, and tested the data connection.

The web page loads without issue. It worked.

Problem:

After activating a new iPhone 5 and restoring it to a backup created by the old jailbroken iPhone, data connection does not work on the new phone. Attempting to use the data connection gives the error "Could not activate cellular data network - You are not subscribed to a cellular data service".

Diagnosis:

This problem is a result of modifying the APN files on your old jailbroken phone at some point, likely from many iOS versions ago. The interface to modify/delete those APN files are no longer around. Since the corrupted APN files are included with the iPhone backup in iTunes, restoring the iPhone 5 using the backup has overwritten the default APN files with the corrupted files.

Solution:

This requires having access to your previous iPhone with all of your data on it, and the previous iPhone must be jailbroken.

1. Use iFile or SSH into the phone and navigate to /private/var/Managed Preference/mobile
2. Delete the file named com.apple.managedCarrier.plist
3. Move all backups of the old jailbroken iPhone into another folder. Backups are located here. ~Library/Application Support/MobileSync/Backup (You can access this by selecting the finder and then going to "Go > Go to folder")
4. Create a completely new backup of the old iPhone (Control click on device name in iTunes and select Backup)
5. Restore new phone using iTunes. After it is complete, setup the phone as normal, and when given the option, choose to restore from iTunes backup. In iTunes, select the backup you just created for the old phone and restore it.

The phone should restore normally, and your data connection will be fixed.

Notes: I do not know what was causing the Error 1 problems I was having. I tried kicking it out of recovering using Tiny Umbrella, switching the USB port, using/not using control-restore, and restarting the computer. I did not use control-restore the time it was successful, I just used the normal iTunes recovery process.

Cheers!
 
Hoooly ****. That was a rollercoaster.

I finished downloading the iPhone 5 ipsw, and set to work.

I backed up the iPhone 4 fresh. After it was finished, I plugged in the iPhone 5 and began the restore process. I have an extremely shoddy internet connection right now (just moved and mine isn't setup yet), so when I remembered that iTunes had to connect to the internet for the restore, I was a bit worried. Regardless, after searching every spot for the best wifi signal I could muster, I began the process.

After about 3 minutes of the spinning wheel on the screen for verifying the restore, it finally completed and began restoring the phone. The software updated and verified successfully, and then the firmware began. About 3/4 into the firmware update, the bar stopped, and itunes showed the spinning wheel and verifying firmware. Then it errored and the phone went into recovery mode.

Error 1 was the code it was giving me. I looked at Apple's error codes and saw that Error 1 indicated a hardware problem with the device.

I tried a few more times... placing the ipsw in the default itunes location and using the restore button without pressing option, using the other usb port, etc.

No luck. Error 1, every time.

Some further googling lead me to see some discussions of error 1 happening when there is baseband corruption, and I started to get a very bad feeling. I thought that perhaps at some point I might have unlocked the phone, or prevented a baseband update, and that those hacks had probably carried over and corrupted the baseband. This would not be a fun thing to deal with normally. On day 2 of the device being out, without any tools, jailbreaks, or information out there, this might not be solvable by me. I was having visions of having to send my phone back to Apple and use my iPhone 4 for another 2 or 3 weeks before I was able to get a replacement.

I read somewhere that when people got the error on 5.1.1, they only needed to kick the device out of recovery, so I went to Tiny Umbrella. The iPhone was showing as an unknown recovery device, and gave me the option to exit recovery. The first time I tried, it crashed. I thought that Tiny Umbrella probably hadn't been updated to support the iPhone 5. The second time I launched it, it told me there was a new version. It was only a very minor update though, and the blog didn't mention it. I downloaded it, and tried again. This time, it didn't crash, and the iPhone restarted. The sun began to rise over the horizon, and the light started peaking... and then dark clouds took over the sky as the phone returned into recovery mode.

I decided to restart the computer and try one more time. If it didn't work, I was going to call AT&T and have them return service to my iPhone 4. I should mention that at this point, my phone had been out of commission for about 3 hours (very, very slow internet, so doing research and restoring the phone took a lot of time), and I have to head to work in a few hours, and I absolutely need a phone.

It went through the same process, got stuck at the same place, wheels spinning while verifying the firmware update... and then... it kept going. The restore completed normally. No errors!

I still wasn't out of the woods. After the phone restarted, I began restoring from the iPhone 4 backup. This process went normally as well.

I set up the phone, turned off the wifi, and tested the data connection.

The web page loads without issue. It worked.

Problem:

After activating a new iPhone 5 and restoring it to a backup created by the old jailbroken iPhone, data connection does not work on the new phone. Attempting to use the data connection gives the error "Could not activate cellular data network - You are not subscribed to a cellular data service".

Diagnosis:

This problem is a result of modifying the APN files on your old jailbroken phone at some point, likely from many iOS versions ago. The interface to modify/delete those APN files are no longer around. Since the corrupted APN files are included with the iPhone backup in iTunes, restoring the iPhone 5 using the backup has overwritten the default APN files with the corrupted files.

Solution:

This requires having access to your previous iPhone with all of your data on it, and the previous iPhone must be jailbroken.

1. Use iFile or SSH into the phone and navigate to /private/var/Managed Preference/mobile
2. Delete the file named com.apple.managedCarrier.plist
3. Move all backups of the old jailbroken iPhone into another folder. Backups are located here. ~Library/Application Support/MobileSync/Backup (You can access this by selecting the finder and then going to "Go > Go to folder")
4. Create a completely new backup of the old iPhone (Control click on device name in iTunes and select Backup)
5. Restore new phone using iTunes. After it is complete, setup the phone as normal, and when given the option, choose to restore from iTunes backup. In iTunes, select the backup you just created for the old phone and restore it.

The phone should restore normally, and your data connection will be fixed.

Notes: I do not know what was causing the Error 1 problems I was having. I tried kicking it out of recovering using Tiny Umbrella, switching the USB port, using/not using control-restore, and restarting the computer. I did not use control-restore the time it was successful, I just used the normal iTunes recovery process.

Cheers!

An easier fix without access to your old iPhone or having to Jailbreak it:
https://forums.macrumors.com/showthread.php?p=15828306#post15828306
 
Issue resolved

hey there all

i had the same issue on my iphone 4 i just bought and i felt like i was going crazy tried everything but heres how i fixed mine

resets and all that are not the problem.. its the way the APN is set .

1)go somewhere with WI FI its so much easier
2) connect to wifi so you can get online on your iphone
3) go to http://www.unlockit.co.nz/ from your iphone
4) go to bottom where it says "ADD APN"
5) select your provider, and follow instructions ... if it wont let you add apn than delete your current one. than it will let you add..

any questions please ask .

hope i helped someone else from going crazy
 
iPhone 5C from online apple store, iPhone 5s/64 from Apple store locally. Both have the same issue. "Could not activate cellular data network". 2 hours with ATT and Apple produced nothing except "take it back and try another one". Very frustrating, as usual. None of the thing listed on this thread had any effect on my phones...
 
Guys try to use this web site if your iPhone NOT shows 3G/4g/lte. Here is the site=http://unlockit.co.nz

And it is free
REMEMBER FIRST TURN Off your cellucar
Instructions-1. Open the site
2. Click on (create APN)
3. Select your country
4. Select your carrier
5. Click create APN AGAIN!!!!
6.clikc yes when it pop up on your settings
7. Close your wifi off.
8. TURN YOUR CELLUCAR ON AND SEE

IT WORKED FOR ME

ANYWAY THANKS FOR READING#####
 
I'm in lanzarote at moment, from UK.
Bought Spain Orange Payg sim... All worked but would not connect to Internet. Said I had not subscribed to a data package - I had.

Orange shop no use... Rang orange help, they never got back to me...

I figured it out myself.

I have IPhone 5. I went to Settings, General, Profiles (just above Reset) and deleted my UK phone provider (Giff Gaff) profile.
Restarted phone and it all worked.

Hope this is useful... Delete your UK profile

Banjo
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.