[29.10.2009] MarketPlaceRegionSwitch v1.1

Search This thread

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,452
87,862
www.chainfire.eu
Here it is people, as promised, MarketPlaceRegionSwitch. What does it do? It allows you to switch MarketPlace to USA, Germany, France, Netherlands, etc. Whatever you want - without mucking with regional settings, soft-resetting, etc. "because I can" :p

I DEMAND you read the entire post before using it, because there are definitely things you should know before using it.

This app actually fools Marketplace into thinking you are from somewhere else. This method is not foolproof, and may be circumvented by Microsoft in the near future. It is not for the faint of heart either.

Why?
Because developers have been left in the cold for manually verifying their apps are in the correct markets. Microsoft have dropped the ball a few times with "published" apps seemingly not being published at all, or incorrectly. While I'm sure Microsoft will fix these issues in due time (and indeed provide the functionality this program offers) for now developers need to check this for themselves. So no, this app is not meant for end-users, but for developers. If you still want to use it, that's fine by me, but it's on your own conscience :)

Keep in mind this is a developer tool, for verification of Marketplace presence. I would strongly advise against using this to download apps from market regions that are not your own, and especially not buying them through this app. In fact it is likely the Marketplace will not allow you to purchase from another country than your CC's billing address in either case.

How to use
Now here come the important bits. When you start the application, you will see two text boxes in front of you. MCC (mobile country code), and Lang (language ID). By default they have settings for the USA entered.

You will want to fill these values with the correct values for the market you want to visit. You should have matching country codes and language ID's, but see the note below about that. In 1.1 I have also added a select box with presets that mostly work.

Now, how to find the values you need to enter here:

MCC Go to this page: http://en.wikipedia.org/wiki/Mobile_Country_Code. You want to enter the numeric, 3-digit code.

Lang Go to this page: http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx. You want the values from the LCID hex column.

Hit go, wait a few seconds, and you should be in the market of your choice.

Please note that unlike the other region switching tricks, this one is supposed to work through your CELLULAR connection specifically! Please make sure you do NOT have USB/ActiveSync or Wi-Fi connected!

Notes about the "preset" selection box
While many of these presets work, I have noticed some strange behavior. Often the 'expected' codes do not work if a region is combined with a language, but that language is not from that region.

Take for example, Luxembourg. The preset uses the correct LangID and MCC for French/Luxembourg, but it usually wont work. If you keep the Lang from French/Luxembourg but use the code for France in the MCC box, it usually will work and you will end up in the Marketplace for Luxembourg, not the one for France. You will have to play with it if you want to test for these less common markets. If you have specific notes about which codes work for which specific Markets, please do post them here.

If you are having trouble connecting to the USA marketplace, try using 311, 312, 313 or 314 instead of 310 in the MCC box.

How it was done
The entire thing is done by runtime patching. Functions used to figure out which locale you are in are patched by the app, returning the value you entered in Lang. Accompanied with that, the IMSI is patched and the MCC part is replaced by the value you entered in MCC. This all is a lot more complicated than it sounds ;)

Obviously the app does it's best to restore original behaviour on exit, though I would still advise soft-resetting when you're done with it.

Random notes
  • The UI sucks, deal with it. I spent less than 5 minutes on it. I did spend many hours on the actual functionality, though.
  • The app should remain running while running Marketplace! It will (should) automatically exit once you exit Marketplace. Be sure to use the menu->exit function, instead of the X (the latter will usually just hide Marketplace, not close it).
  • The method used to patch may cause issues that will not disappear until you soft-reset, chances are slim but things can go wrong.

Changelog

29.10.2009 - v1.1
  • Presets added
  • Having to restart Marketplace twice without this app to get back to your "home" market should be fixed

If you are a developer for Marketplace and you make use of this app, it would be much appreciated if you would DONATE to me for my time (the link to donate is at the bottom of my signature)

Download: (+24)
 

Attachments

  • ss-usa.jpg
    ss-usa.jpg
    39 KB · Views: 2,398
  • ss-germany.jpg
    ss-germany.jpg
    38.8 KB · Views: 2,572
  • ss-france.jpg
    ss-france.jpg
    37.3 KB · Views: 1,492
  • MarketPlaceRegionSwitch-1.1.zip
    39.8 KB · Views: 14,693
Last edited:

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,452
87,862
www.chainfire.eu
Figures, trying to add presets to this, and just as I want to start testing the whole data network craps out... *taps foot and waits for T-Mobile to fix things*
 

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,452
87,862
www.chainfire.eu
1.1 released... most importantly it adds presets. Not all of them work right, see the notes.

Also, some mod please add an empty post at the top please (I always forget to do that, hah!)
 

RethXoth

Member
Oct 22, 2009
20
0
I have to say, a great app, but it doesn't work for me. :(

I applied the standard settings (being the US one) but after this when I start Windows Marketplace I still get the dutch one.

I have Wi-Fi turned off, so what am I doing wrong? (I have the Marketplace version where you can select the location to save your app)
 

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,452
87,862
www.chainfire.eu
For those of you it doesn't work for, I'm not sure what the cause of this is. I actually had the same problem on one of my phones, it wouldn't switch away from Dutch (my "home" marketplace), and then suddenly it did - and I have been unable to reproduce the problem since.

All I can say is try uninstalling Marketplace, deleting HKCU\Security\Software\Microsoft\Marketplace, soft-reset, reinstall Marketplace. That might do the trick - or it might not.

@Sanderjohan: device/rom ?
 

RethXoth

Member
Oct 22, 2009
20
0
For those of you it doesn't work for, I'm not sure what the cause of this is. I actually had the same problem on one of my phones, it wouldn't switch away from Dutch (my "home" marketplace), and then suddenly it did - and I have been unable to reproduce the problem since.

All I can say is try uninstalling Marketplace, deleting HKCU\Security\Software\Microsoft\Marketplace, soft-reset, reinstall Marketplace. That might do the trick - or it might not.

@Sanderjohan: device/rom ?

I'll try it when I get home! ;)

Congrats on your thread at Tweakers.net :)
 

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,452
87,862
www.chainfire.eu
Also, it seems to work more reliable if you make sure you have a cellular connection before you run the app.. Also make sure you are NOT signed in with your LiveID :)
 

aegeuss

Senior Member
Jan 20, 2008
734
176
Ankara
Thanks for this great app, it works flawlessly.

I have already tried to buy a product but it did not accept my credit card information at the last step. May be there could be a work around for this also.

Regards,
 

sanderjohan

Member
Feb 13, 2005
20
1
50
Veldhoven
For those of you it doesn't work for, I'm not sure what the cause of this is. I actually had the same problem on one of my phones, it wouldn't switch away from Dutch (my "home" marketplace), and then suddenly it did - and I have been unable to reproduce the problem since.

All I can say is try uninstalling Marketplace, deleting HKCU\Security\Software\Microsoft\Marketplace, soft-reset, reinstall Marketplace. That might do the trick - or it might not.

@Sanderjohan: device/rom ?

Hi Chainfire,

My device is a HTC Tytn II with the following ROM Kaiser_HyperDragon_IV_Mega_6.5_WWE.
I already had Marketplace installed so I will try the thing you suggested by uninstalling and reinstalling Marketplace. I let you know if this works.
 
Last edited: