• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
Sign in to follow this  
Followers 0

Automatic APN setup for the new 2.1

27 posts in this topic

Posted (edited)

I've made this script to automatically set APN settings .

It sets the APN according to the SIM card without entering it manually. It should work for most european countries and providers .

Installation is simple :

Put your phone to USB Debugging mode.

Connect it to your computer via USB.

Download the zip file.

Extract the zip file.

run apnset.bat from the extracted folder.

After the phone restarts , go to settings , wireless & networks,Mobile network settings,Access Point names.

Press the menu button on your LG GT 540 .

Select the Reset to default.

After defaults successfully restored the phone loads the apn settings according to the sim card.

apnset.zip

Edited by joestone
0

Share this post


Link to post
Share on other sites

Posted (edited)

Thanx, should come in useful.

Im editing the xml file so it just has the major UK networks in my phone.

I noticed frmo the bat file that it pushes this file to the phone via adb and replaces the existing file.

Does this mean that even after a factory reset the APN entried will remain? Will be handy if they do. OR will this process have ot be run again after doing a factory reset?

Edited by new123
0

Share this post


Link to post
Share on other sites

Posted

Thanx, should come in useful.

Im editing the xml file so it just has the major UK networks in my phone.

I noticed frmo the bat file that it pushes this file to the phone via adb and replaces the existing file.

Does this mean that even after a factory reset the APN entried will remain? Will be handy if they do. OR will this process have ot be run again after doing a factory reset?

Yes it replaces the existing file, but the existing file is useless, because the apn list is empty .

It will be erased after factory reset. That is possible to hold it after factory reset , but that feature is only useful if the phone is just after the update with factory settings. If I made the script that way all your settings apps remains after factory reset. I think it much easier to run the script than manually enter it. It works perfectly for me with Vodafone HU SIM.

If you have a backup from your 1.6 find your apns-conf.xml and replace the one included in the zip file .Run the apnset again and it will set your settings.

0

Share this post


Link to post
Share on other sites

Posted

Yes it replaces the existing file, but the existing file is useless, because the apn list is empty .

It will be erased after factory reset. That is possible to hold it after factory reset , but that feature is only useful if the phone is just after the update with factory settings. If I made the script that way all your settings apps remains after factory reset. I think it much easier to run the script than manually enter it. It works perfectly for me with Vodafone HU SIM.

If you have a backup from your 1.6 find your apns-conf.xml and replace the one included in the zip file .Run the apnset again and it will set your settings.

So what would i need to do if i want the settings to remain after a factory reset?

0

Share this post


Link to post
Share on other sites

Posted

So what would i need to do if i want the settings to remain after a factory reset?

Put this line to the script after the mount line .

adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /

For me it worked.

0

Share this post


Link to post
Share on other sites

Posted

Put this line to the script after the mount line .

adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /

For me it worked.

And the APN settings were still there after factory reset?

0

Share this post


Link to post
Share on other sites

Posted

And the APN settings were still there after factory reset?

Yes.

0

Share this post


Link to post
Share on other sites

Posted

I realise this is for European countries and providers, but would it work on sim card from Australia?

tia

0

Share this post


Link to post
Share on other sites

Posted

I realise this is for European countries and providers, but would it work on sim card from Australia?

tia

No. Because the xml contains the settings and there is no australia in it. If you have a backup from your 1.6 find your apns-conf.xml in /system/etc . copy the file to the apnset folder and run the script.

0

Share this post


Link to post
Share on other sites

Posted

No. Because the xml contains the settings and there is no australia in it. If you have a backup from your 1.6 find your apns-conf.xml in /system/etc . copy the file to the apnset folder and run the script.

Please help with Australian APN PLZ :)

0

Share this post


Link to post
Share on other sites

Posted

Thank you so much! I've gotten my Meteor data back now!

0

Share this post


Link to post
Share on other sites

Posted (edited)

Thanks for this i have a question, when i try and run apnset.bat from within astro i get file type bat not found, can you tell me what i am doing wrong?

Edited by sarbe
0

Share this post


Link to post
Share on other sites

Posted

02 users can just text ACTIVE to 2020.

Will send you two configuration messages to install your settings.

Works every time flawlessly.

0

Share this post


Link to post
Share on other sites

Posted

Thanks for that but I have done that several times but no joy, this is after installing the baltic 2.1

0

Share this post


Link to post
Share on other sites

Posted

Thanks for that but I have done that several times but no joy, this is after installing the baltic 2.1

I have just provided a link for you in another post, but here it is again =].

I would copy those instructions as they will be the same for your phone. If not, when I reflash the Baltic ROM onto my phone later/tommorow, and you still have not found joy from that link or another user, I will provide you with an exact copy of the details in my settings.

0

Share this post


Link to post
Share on other sites

Posted (edited)

Thanks very much I will try that.

EDIT: tried them m8 no joy.

Edited by sarbe
0

Share this post


Link to post
Share on other sites

Posted (edited)

Thanks very much I will try that.

Let me know if they work, As I have finished reinstalling the Baltic ROM and if need be will type the settings I am using up for you.

Edited by ASY9650
0

Share this post


Link to post
Share on other sites

Posted

No joy m8, i've entered the settings, saved, left the screen, gone back and the apn has gone, got the settings from o2, edited them, saved them, left the screen, went back and once again the settings had disappeared. Can you please put your settings up, that will be great, thanks.

0

Share this post


Link to post
Share on other sites

Posted (edited)

No joy m8, i've entered the settings, saved, left the screen, gone back and the apn has gone, got the settings from o2, edited them, saved them, left the screen, went back and once again the settings had disappeared. Can you please put your settings up, that will be great, thanks.

Settings > Wireless & networks > Mobile network > Enable

Settings > Wireless & networks > Mobile network settings > Acess Point Names > New APN

Use these for 02 PAYG;

Name : 02 Prepay GPRS

APN : payandgo.02.co.uk

Proxy : 193.113.200.195

Port : 8080

Username : payandgo

Password : I can't see it, but from personal experience this will be either password or vertigo.

Server : <Not set>

MMSC : http://mmsc.mms.02.co.uk:8002

MMS proxy : 193.13.200.195

MMS port : 8080

MCC : 234

MNC : 10

Authentication type : PAP

APN type : default

Give those a whirl and let me know if they work or not for you...

Edited by ASY9650
0

Share this post


Link to post
Share on other sites

Posted (edited)

Double post.

Edited by ASY9650
0

Share this post


Link to post
Share on other sites

Posted

No joy m8, it still won't recieve MMS .

0

Share this post


Link to post
Share on other sites

Posted

I don't know whether you got my pm m8 but it was a faulty sim apparently, replaced and everything is ok now, thx for your time and help.

0

Share this post


Link to post
Share on other sites

Posted

I don't know whether you got my pm m8 but it was a faulty sim apparently, replaced and everything is ok now, thx for your time and help.

I did do, sorry, should have replied, was a bit busy at the time. No worries, glad you got it sorted =].

0

Share this post


Link to post
Share on other sites

Posted

I've made this script to automatically set APN settings .

It sets the APN according to the SIM card without entering it manually. It should work for most european countries and providers .

Installation is simple :

Put your phone to USB Debugging mode.

Connect it to your computer via USB.

Download the zip file.

Extract the zip file.

run apnset.bat from the extracted folder.

After the phone restarts , go to settings , wireless & networks,Mobile network settings,Access Point names.

Press the menu button on your LG GT 540 .

Select the Reset to default.

After defaults successfully restored the phone loads the apn settings according to the sim card.

thank u works 100% :D

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.