[Galaxy Grand Duos i9082 General] DataUnit:
Hi everybody,

I used [MENTION=5208556]soralz[/MENTION] thread (here) but it didn't work for me, so I did these steps and it worked; now I share this tutorial with you! :D

NOTE: In this tutorial, I will use "THR" as Samsung Country Code, "IR" as ISO Country Code, "fa" as Input Language code, "fa_IR" as Display Language Code, "MEA" as Region Code and "IRAN" as Country. (I used these because I am from IRAN :D )

You should replace these codes with yours.

THERE IS NO NEED TO WIPE OR FACTORY RESET!

The things we'll need 'em:

1. Notepad++ (Optional, but recommended)

2. Root Access (You can use SuperSU or Koushikdutta's Superuser)

3. ADB and Samsung Drivers Installed (Optional)

4. Root File Manager (like ES File Explorer or other)

5. A brain :p

There are two ways to go to work:

1. Using ADB (in this tutorial I used ADB with Windows and Notepad++, but you can use Linux, ADB and Vim :o )

2. Using a Root File Manager (like CM File Manager, ES File Explorer or Root Browser)

Using ADB:

1. Open a command line or terminal window

2. Connect your device to your PC and make sure you enabled Developer Options and USB Debugging before.

3. Enter "adb shell" to get an interactive shell from your device.

4. Enter "su" to get Root Access and "busybox mount -o rw,remount /" to remount root partition.

5. Enter

echo "THR" > /efs/imei/mps_code.dat

and THR is code of IRAN.

6. Enter

busybox mount -o rw,remount /system

to remount /system partition in r/w mode.

7. Enter "exit" two times to close ADB Shell.

8. Now, we should edit /system/csc/ and /system/SW_Configuration.xml to add our country to the list.

So, enter

mkdir system_folder
mkdir ./system/csc
cd system_folder
adb pull /system/csc/
cd ..
adb pull /system/SW_Configuration.xml

to pull those things.

9. Now, Go to the folder that named "system_folder" and then in "csc".

10. Create a new folder and rename it to "THR".

11. Open "system_folder/csc/customer.xml" with Notepad++.

12. Save it and now go for "others.xml".

13. Save "others.xml" and open "language.xml".

14. Open "sales_code.dat" and change its content from "SER" to "THR".

15. Go back to "system_folder" and open "SW_Configuration.xml" and add a line like

<CustomerData src="/Customer/THR/customer.xml" />

after </NbCustomer>. and save it.

16. Copy these things from "system_folder/csc" to "system_folder/csc/THR":

contents.db
others.xml
customer.xml
language.xml
sales_code.dat

17. Open a command line or terminal window.

18. Enter

cd system_folder
adb shell chmod 777 /system
adb shell chmod -R 777 /system/csc
adb push . /system/
adb reboot

Question and Answer:

Q: in Step 18 I am getting "Permission denied" or "Read-only file system" error after "adb push . /system".

A: You should have enough permission to write and overwrite files, so you have to "chmod" files to get enough access. and if you are getting "Read-only file system" is because of you didn't remount /system partition as Read/Write File System. Now, you can enter this command in ADB Shell:

busybox mount -o rw,remount /system

I also attached my edited CSC folder for you; because you may have some problems with this tutorial!!!! :highfive:

If you liked this work, press "Thanks"! :angel:

List of CSC Country Codes