[HOWTO] Universal CSC & recover product code [ANY ROM] (I5801 supported)

Search This thread

bloodrider

Senior Member
Aug 17, 2010
141
17
As you should have noted I'm not supporting this topic anymore. Nowadays most ROMs have this integrated, you only have to change to your CSC of choice in case of need.
(My links were from "pre-Megaupload BOOM" era, so... Not really uploading them again as they aren't needed!)




Before anything, I hope you have an /efs folder backup, you should have done it even before flashing!

NOTICE: This method does a reset, your SGS only maintains your personal files (sdcard & external sdcard). I'm not responsible at all for any problem that you get for following this procedure.

This procedure must bee done after flashing and before installing "anything" ("only" root and a program like Root Explorer are allowed :p). If you do this after you'll likely have problems!

You need root access so this can work! You may do this with commands via ADB or terminal, or else in a easy way with a program like Root Explorer (notice this is a paid app).


NOTICE: It seems this process, as it uses older CSC versions, disables the "voice input abilities", you may have to reinstall "voice apks" (if you use them...). I will confirm this today or during this weekend. (this issue was related to a problem on the French CSC)




MANUAL METHOD:
  1. First, get the right folder for your country (available at the bottom of this topic or else ask me) and copy it to /system/csc.*
  2. After, open an ADB shell, and use the following command:
    Code:
    am start -a android.intent.action.MAIN -n com.android.Preconfig/com.android.Preconfig.Preconfig
  3. After this, select on your SGS, your CSC country code. Then it'll reboot, you'll have to do the initial configuration, and it's done!



"AUTOMATIC" METHOD (firmwares dated to september (or newer)): (Thanks for Richthofen, for this info!)
  1. First, get the right folder for your country (available at the bottom of this topic or else ask me) and copy it to /system/csc.*
  2. After, check your IMEI with this code on the dialer, *#06#, and save it as you'll need.
  3. Then, type on the dialer, *#272*???????????????# (??????????????? it's your IMEI, it must have 15 digits), after you can chose your CSC, then it'll reboot (it may take some time, you'll see bootloader applying the changes), you'll have to do the initial configuration and it's done!


For your country you'll need a specific folder. If you don't find it were, give me an CSC file for your country (any firmware version, I just need the file "cache.rfs" or the "CSC_I9000------.tar.md5") and I will make the folder for your country available.


* If you're on JPK (probably on every new version of Froyo), you'll need the following commands to be able to copy the CSC folder to the /system/csc.
Code:
adb shell
su
busybox mount -o remount,rw /system

This process is fully functional, it changes your CSC and recover your original product code! (to have your product code recovered your nv_data.bak should be compatible with the CSC you apply)


PS: You can check your product code with SGS ToolBox.
PS2: I did some search and didn't see this method posted were on XDA. If I'm wrong, sorry!



Universal CSC Pack said:
EXPERIMENTAL (Tested on I9000 with JPA, but it should work on all ROMs)

Download the pack, put it on sdcard, go to ClockworkMod Recovery mode, choose "install zip from sdcard" and install the pack. Then reboot and follow steps 2 and 3 of "Automatic method" explained above! (check your CSC code on the list bellow)

I've to test this some more time and I also expect some feedback from you ;) After that I'll turn this pack the most "universal" possible.


Thanks to on.one on the info on this process.
OPS - Australia (YES OPTUS)
VAU - Australia (Vodafone) BRANDED
XSA - Australia (Telstra, YES OPTUS, Vodafone AU, Virgin Mobile, 3, Crazy Johns)
HUT - Australia (3) BRANDED
ATO - Austria
SEB - Baltic (LMT GSM, LV TELE2, LV BITE, LT Omnitel, LT Bite, LT TELE2, EE EMT, EE ELISA, EE TELE2)
ETR - Bangladesh
TML - Bangladesh (TML and ETR seem equal, same version, same network operators)
PRO - Belgium
VVT - Bulgaria (vivacom)
MTL - Bulgaria (MTEL)
BMC - Canada (Bell)
BWA - Canada (SaskTel)
BMF - Canada (Fido) UNBRANDED [provided by Idan73, not checked by me]
XEZ - Czech Republic
VIP - Croatia (HR VIP)
SFR - France (F SFR, SFR RU) BRANDED
XEF - France
DBT - Germany
CYO - Greece (MTN, CYTAVODA)
EUR - Greece (WIND GR, vodafone GR, COSMOTE)
TGY - Hong Kong [provided by rickylcp, not checked by me]
INS - India (CSCEdition > ED006)
INU - India (CSCEdition > ED009 | I think INU is an updated version of INS, as they seem to have the same network operators)
XSE - Indonesia
MET - Ireland (Meteor)
ITV - Italy [UPDATED 02/11]
XME - Malaysia
NPL - Nepal
XEE - Nordic (Denmark, Finland, Iceland, Norway, Sweden)
XTC - Philippines
XEO - Poland (Plus, Era, Heyah, Orange, Play)
ERA - Poland (ERA) BRANDED
TPH - Portugal
CNX - Romania (Vodafone RO)
COA - Romania (Cosmote)
ORO - Romania (RO Orange)
HAT - Romania (RO Orange, Vodafone RO, Cosmote)
SER - Russia (MTS, Beeline, Megafon, TELE2)
TOP - Serbia
XSP - Singapore
XSP - Singapore UNBRANDED
XSO - Singapore (Singtel)
MOT - Slovenia (Mobitel)
SIM - Slovenia (Si.mobil)
XEC - Spain (Movistar) BRANDED
FOP - Spain (Movistar, Vodafone ES, Orange, Yoigo, Mobil R, EUSKALTEL, TeleCable, Blau, Simyo)
SLK - Sri Lanka
AUT - Switzerland (Sunrise, Swisscom, Orange CH)
MOZ - Switzerland (Sunrise, Swisscom, Orange CH)
SWC - Switzerland (Swisscom) BRANDED
CPW - United Kingdom & Ireland
XEU - United Kingdom & Ireland



This process also works on the I5801, thanks to gazski!
I5801 said:
Hello mate,

I managed to change the csc on my GT-i5801.

I have the firmware I5800XWJH2 and is rooted.

I had to plug my external sd card into my laptop, i then downloaded the CPW csc and then transfered the zipped file to my sd card, i then unzipped the file in the sd card.
I put the card back into the phone then used ROOT EXPLOYER and changed the permissions of the file to READ, WRITE, EXECUTE... i then followed your instructions on your thread and it worked..yippee

You are more than welcome to use this explanation.

Thanks for all your help and i hope you understand my explanation

Regards
Gary
 
Last edited:

Quiksilver78

Senior Member
Jul 28, 2010
335
53
Czech Republic
Now aside from perhaps entering automatically any APN settings to your phone, rather than doing it manually.

What actual advantage is there to change/select the correct CSC? I've flashed JM7 and JM8 and I never changed the product code, which I think puts you on KOR as the default, and never encountered any noticeable advantage or disadvantage in running the phone as such.

All I had to do was to enter "internet" under APN and my 3G connection was restored.

Is there anything to gain by choosing the right CSC for your provider/country?
 

pramods

Senior Member
Oct 24, 2008
65
12
Have a look at the csc files, there are application specific to the Country/Region too, some settings are also there for region, mostly the GSM 3G frequency is also set from the CSC setting, even the GPS settings are also there.
These files are not jsut operator and APN they are more than that!!
-Pramod
 

criskelo

Inactive Recognized Developer
Feb 24, 2010
1,091
4,947
Rosario
forum.xda-developers.com
I upgraded to JPH and for my country there isn't a ROM available with Multi-CSC, for the moment...

NOTICE: This method does a reset, your SGS only maintains your personal files (sdcard & external sdcard). I'm not responsible at all for any problem that you get for following this procedure.

So I needed an alternative method and after some research and guessing, here it is:

  1. Get the right folder for your country (Portugal) and copy it to /system/csc.
  2. After, open an ADB shell, and use the following command:
    Code:
    am start -a android.intent.action.MAIN -n com.android.Preconfig/com.android.Preconfig.Preconfig
  3. After this, select on your SGS, your CSC country code. Then it'll reboot, you'll have to do the initial configuration, and it's done!

In these procedure the folder that I use it's for Portugal (TPH CSC). For other countries you'll need other specific folder. If you need it, give me an CSC file for your country (any firmware version, I just need the file "cache.rfs") and I will make the folder for your country available.


This changed my sale code, that was my goal, as a bonus it changed also my product code, but notice that my .nv_data.bak was the older one with the right product code.


PS: I did some search and didn't see these method posted were on XDA. If I'm wrong, sorry!

I have a I9000T which is equal to I9000M
And if you are not a nuisance
I wanted to ask if you can make the folder BMC
Link CSC
http://www.multiupload.com/O3FSEGLHT5
Thank you very much for your great work:)
 

Adevem

Senior Member
Aug 4, 2010
1,339
85
Have a look at the csc files, there are application specific to the Country/Region too, some settings are also there for region, mostly the GSM 3G frequency is also set from the CSC setting, even the GPS settings are also there.
These files are not jsut operator and APN they are more than that!!
-Pramod

so is there any noticable difference by choosing a CSC designated for your region/telco? signal strength and GPS tracking in particular.

'cause froyo is (HOPEFULLY) 3 days away and y'know. lazy to reconfigure stuff all over again. lol. thanks!
 

Quiksilver78

Senior Member
Jul 28, 2010
335
53
Czech Republic
Have a look at the csc files, there are application specific to the Country/Region too, some settings are also there for region, mostly the GSM 3G frequency is also set from the CSC setting, even the GPS settings are also there.
These files are not jsut operator and APN they are more than that!!
-Pramod

I'll give it a whirl I guess, but I haven't noticed any 'disadvantages' by not using the specific CSC for my provider/region.
 

bloodrider

Senior Member
Aug 17, 2010
141
17
If you have a wrong product code, you won't have the correct firmware via Kies.

For the sale code, it depends on the country, some may not have many information to configure. But it's as pramods said, and it also configure your language, your GMT, SOS numbers, specific aplications for your country or mobile operator,...

For example, if I'm not mistake the Bell SGS are from Canada, right? If you upgrade them to JPC or JPH it seems they may not work well cause they need a frequency adjust, automatically available on CSC ;)
 

celeronix

Senior Member
Aug 13, 2009
258
45
Varna
I agree that this method changes Sales code, but I'm quite sure that it does not change your Product code, because I've tried several times. For example yesterday I flased JPH which totally screwed up my .nv_data.bak files (hopefully I have them on my PC), then I went back to JM8 which is a lot better firmware. I had to change my Product code by myself, overwriting my .bak files with the original ones, and deleting nv_data.bin files :) Even when I had my original .bak files, your method via adb shell didn't change my Product code :) only Sales code :)
 

bloodrider

Senior Member
Aug 17, 2010
141
17
criskelo, there you have your CSC folders. I made for the two mobile operators. The Sasktell CSC didn't have the apps, as they seem equal to the Bell apps, I ad them to the Sasktell CSC.

The CSC file you provided me seemed modified, so I may overlooked something, warn me if there's any problem ;)


STATUS: Canada added
 

bloodrider

Senior Member
Aug 17, 2010
141
17
I agree that this method changes Sales code, but I'm quite sure that it does not change your Product code, because I've tried several times. For example yesterday I flased JPH which totally screwed up my .nv_data.bak files (hopefully I have them on my PC), then I went back to JM8 which is a lot better firmware. I had to change my Product code by myself, overwriting my .bak files with the original ones, and deleting nv_data.bin files :) Even when I had my original .bak files, your method via adb shell didn't change my Product code :) only Sales code :)

I have a Portuguese friend that used my method and he said that everything went OK...

I'm thinking the only different thing I did was editing the mps_code.dat, but I though it didn't had interfered/helped in the process.
I will ad this as a first step, it won't do any warm, that way someone who tries can tell us if that step is really needed.
 

celeronix

Senior Member
Aug 13, 2009
258
45
Varna
I have a Portuguese friend that used my method and he said that everything went OK...

I'm thinking the only different thing I did was editing the mps_code.dat, but I though it didn't had interfered/helped in the process.
I will ad this as a first step, it won't do any warm, that way someone who tries can tell us if that step is really needed.

Probably it's gonna work that way - with editing mps_code.dat, otherwise it won't change your Product code, because it does not interfere with nv_data.bin files in any way :)
 

bloodrider

Senior Member
Aug 17, 2010
141
17
Probably it's gonna work that way - with editing mps_code.dat, otherwise it won't change your Product code, because it does not interfere with nv_data.bin files in any way :)

Editing the mps_code.dat will change the nv_data.bin too?

My nv_data.bin was KOR and after this CSC process it changed back to the original.

The system after the change on mps_code.dat needs a reboot to alter the nv_data.bin? As it's strange I though it was this CSC procedure that corrected the issue.
 

celeronix

Senior Member
Aug 13, 2009
258
45
Varna
Editing the mps_code.dat will change the nv_data.bin too?

My nv_data.bin was KOR and after this CSC process it changed back to the original.

The system after the change on mps_code.dat needs a reboot to alter the nv_data.bin? As it's strange I though it was this CSC procedure that corrected the issue.

No, I'm not sure about this at all :) I'm sure for one thing - CSC procedure can't change nv_data.bin :rolleyes: It may read some data from this file, but it surely doesn't write anything in it.
 

bloodrider

Senior Member
Aug 17, 2010
141
17
You need to find a I9000UR--- ROM or else if you still have your original ROM check the folders that you have on /system/csc.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    As you should have noted I'm not supporting this topic anymore. Nowadays most ROMs have this integrated, you only have to change to your CSC of choice in case of need.
    (My links were from "pre-Megaupload BOOM" era, so... Not really uploading them again as they aren't needed!)




    Before anything, I hope you have an /efs folder backup, you should have done it even before flashing!

    NOTICE: This method does a reset, your SGS only maintains your personal files (sdcard & external sdcard). I'm not responsible at all for any problem that you get for following this procedure.

    This procedure must bee done after flashing and before installing "anything" ("only" root and a program like Root Explorer are allowed :p). If you do this after you'll likely have problems!

    You need root access so this can work! You may do this with commands via ADB or terminal, or else in a easy way with a program like Root Explorer (notice this is a paid app).


    NOTICE: It seems this process, as it uses older CSC versions, disables the "voice input abilities", you may have to reinstall "voice apks" (if you use them...). I will confirm this today or during this weekend. (this issue was related to a problem on the French CSC)




    MANUAL METHOD:
    1. First, get the right folder for your country (available at the bottom of this topic or else ask me) and copy it to /system/csc.*
    2. After, open an ADB shell, and use the following command:
      Code:
      am start -a android.intent.action.MAIN -n com.android.Preconfig/com.android.Preconfig.Preconfig
    3. After this, select on your SGS, your CSC country code. Then it'll reboot, you'll have to do the initial configuration, and it's done!



    "AUTOMATIC" METHOD (firmwares dated to september (or newer)): (Thanks for Richthofen, for this info!)
    1. First, get the right folder for your country (available at the bottom of this topic or else ask me) and copy it to /system/csc.*
    2. After, check your IMEI with this code on the dialer, *#06#, and save it as you'll need.
    3. Then, type on the dialer, *#272*???????????????# (??????????????? it's your IMEI, it must have 15 digits), after you can chose your CSC, then it'll reboot (it may take some time, you'll see bootloader applying the changes), you'll have to do the initial configuration and it's done!


    For your country you'll need a specific folder. If you don't find it were, give me an CSC file for your country (any firmware version, I just need the file "cache.rfs" or the "CSC_I9000------.tar.md5") and I will make the folder for your country available.


    * If you're on JPK (probably on every new version of Froyo), you'll need the following commands to be able to copy the CSC folder to the /system/csc.
    Code:
    adb shell
    su
    busybox mount -o remount,rw /system

    This process is fully functional, it changes your CSC and recover your original product code! (to have your product code recovered your nv_data.bak should be compatible with the CSC you apply)


    PS: You can check your product code with SGS ToolBox.
    PS2: I did some search and didn't see this method posted were on XDA. If I'm wrong, sorry!



    Universal CSC Pack said:
    EXPERIMENTAL (Tested on I9000 with JPA, but it should work on all ROMs)

    Download the pack, put it on sdcard, go to ClockworkMod Recovery mode, choose "install zip from sdcard" and install the pack. Then reboot and follow steps 2 and 3 of "Automatic method" explained above! (check your CSC code on the list bellow)

    I've to test this some more time and I also expect some feedback from you ;) After that I'll turn this pack the most "universal" possible.


    Thanks to on.one on the info on this process.
    OPS - Australia (YES OPTUS)
    VAU - Australia (Vodafone) BRANDED
    XSA - Australia (Telstra, YES OPTUS, Vodafone AU, Virgin Mobile, 3, Crazy Johns)
    HUT - Australia (3) BRANDED
    ATO - Austria
    SEB - Baltic (LMT GSM, LV TELE2, LV BITE, LT Omnitel, LT Bite, LT TELE2, EE EMT, EE ELISA, EE TELE2)
    ETR - Bangladesh
    TML - Bangladesh (TML and ETR seem equal, same version, same network operators)
    PRO - Belgium
    VVT - Bulgaria (vivacom)
    MTL - Bulgaria (MTEL)
    BMC - Canada (Bell)
    BWA - Canada (SaskTel)
    BMF - Canada (Fido) UNBRANDED [provided by Idan73, not checked by me]
    XEZ - Czech Republic
    VIP - Croatia (HR VIP)
    SFR - France (F SFR, SFR RU) BRANDED
    XEF - France
    DBT - Germany
    CYO - Greece (MTN, CYTAVODA)
    EUR - Greece (WIND GR, vodafone GR, COSMOTE)
    TGY - Hong Kong [provided by rickylcp, not checked by me]
    INS - India (CSCEdition > ED006)
    INU - India (CSCEdition > ED009 | I think INU is an updated version of INS, as they seem to have the same network operators)
    XSE - Indonesia
    MET - Ireland (Meteor)
    ITV - Italy [UPDATED 02/11]
    XME - Malaysia
    NPL - Nepal
    XEE - Nordic (Denmark, Finland, Iceland, Norway, Sweden)
    XTC - Philippines
    XEO - Poland (Plus, Era, Heyah, Orange, Play)
    ERA - Poland (ERA) BRANDED
    TPH - Portugal
    CNX - Romania (Vodafone RO)
    COA - Romania (Cosmote)
    ORO - Romania (RO Orange)
    HAT - Romania (RO Orange, Vodafone RO, Cosmote)
    SER - Russia (MTS, Beeline, Megafon, TELE2)
    TOP - Serbia
    XSP - Singapore
    XSP - Singapore UNBRANDED
    XSO - Singapore (Singtel)
    MOT - Slovenia (Mobitel)
    SIM - Slovenia (Si.mobil)
    XEC - Spain (Movistar) BRANDED
    FOP - Spain (Movistar, Vodafone ES, Orange, Yoigo, Mobil R, EUSKALTEL, TeleCable, Blau, Simyo)
    SLK - Sri Lanka
    AUT - Switzerland (Sunrise, Swisscom, Orange CH)
    MOZ - Switzerland (Sunrise, Swisscom, Orange CH)
    SWC - Switzerland (Swisscom) BRANDED
    CPW - United Kingdom & Ireland
    XEU - United Kingdom & Ireland



    This process also works on the I5801, thanks to gazski!
    I5801 said:
    Hello mate,

    I managed to change the csc on my GT-i5801.

    I have the firmware I5800XWJH2 and is rooted.

    I had to plug my external sd card into my laptop, i then downloaded the CPW csc and then transfered the zipped file to my sd card, i then unzipped the file in the sd card.
    I put the card back into the phone then used ROOT EXPLOYER and changed the permissions of the file to READ, WRITE, EXECUTE... i then followed your instructions on your thread and it worked..yippee

    You are more than welcome to use this explanation.

    Thanks for all your help and i hope you understand my explanation

    Regards
    Gary
    3
    No more need to access preconfing manually (via ADB).
    Managed to find the new access code for firmwares with compile date of >9/2010.

    When using Multi CSCs the variant / product code will be set to a default value, which usually is "KOR" (Test).

    Even when using the correct CSC the phone will not use correct settings (e.g APN) for your region until you set the correct variant / product code manually from Preconfiguration menu.

    Previously Samsung used code *#272*HHMM# (HH being hour and MM minute, = current time) to access the Preconfiguration menu.

    The access code was then changed and all firmwares dated to september (or newer) were using it. Since the new access code was unknown, the only way to chance the variant / product code was launching the Preconfiguration manually via ADB.

    I finally found some time to take a look at it and now I managed to find the new access code:

    You need to have your IMEI code in hand, so either take the sales package or type *#06# to the dialer (to check the IMEI, write it down).

    Then type *#272*???????????????# to the dialer.

    ??????????????? is your IMEI code, it is always 15 digits long.

    Select the desired variant / product code from the list and press install.

    After the reboot you are all set.

    THIS IS NOT REQUIRED WHEN USING A SINGLE CSC (I.E SINGLE VARIANT, E.G XEE).
    1
    Hummmm, then maybe something changed (finally...) on the CSC files.
    I'll try to find some CSC files for 2.2.1, if anyone have them and can provide them to me, so I can analyze them, I would be thankful ;)

    Do you want just any country? the JPU I've got has:
    CPW
    DBT
    KOR
    XEO
    XEU

    Do you want the files from any of these? thanks
    1
    Yes,
    I know it does a factory reset, but Titanium Back-up takes care of that. I copied back the 4 files that were safed when I used SGS Tools to check the product code, so .nv_data.bak, .nv_data.bak.md5, nv_data.bin and nv_data.bin.md5.

    Cheers,
    Speedstra
    1
    And here is the CSC for the Netherlands ready to go ...See attachment