• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[GUIDE] How to convert Chinese roms based to International [TouchWiz]

Ale95

Inactive Recognized Contributor
May 1, 2013
2,946
12,228
0
25
Making our phone more awesome!
[GUIDE] How to convert Chinese roms based to International [TouchWiz]

Requeriments
  1. Chinese firmware/ROM that want convert
  2. Official European/American firmware/ROM of the same device (Ex: SM-G920F)
  3. Tickle my Android or Advanced Apktool (Easy way)
  4. Be sure to install WinRAR and Notepad+ in your PC
  5. Patience, Time and Concentration

So now we can start to convert ;)

- Create a folder with the chinese base and create another for the international one
- Decompress the 2 firmwares in the correspond folder
- Now in system delete all the chinese folders related like this: *Much of the apps contain this "chn" in his name

/system
  • /system/chn_sipdb (Chinese Keyboard)
  • /system/SOGOUDB (Chinese Keyboard)
  • /system/festival
  • /system/finder_cp
  • /system/CSC (Due to is configured to China region) *Backup features.xml and others.xml
  • /system/preload (It contain chinese store, depending of firmware)

/system/app
  • /system/app/CMAWeatherPhone201X
  • /system/app/ChinaHolidayProvider
  • /system/app/com.samsung.festival.chinadefault_* (If exist, delete all the folders with this name)
  • /system/app/SamsungChineseIMEvX
  • /system/app/EventNotificationPhase3
  • /system/app/Festivalchinadefault
  • /system/app/GreetingCard
  • /system/app/SLocation and /system/lib/slocation
  • /system/app/MyEventWidget
  • /system/app/InCallUI
  • /system/app/SearchBoxBaidu_OPEN
  • /system/app/YellowPage (Could be located in priv-app too)

/system/priv-app
  • /system/priv-app/AMapNetworkLocation, XNetworkLocation_Baidu, (If exist)
  • /system/priv-app/SAssistant (If exist)
  • /system/priv-app/EventCenter
  • /system/priv-app/SMusicChn
  • /system/priv-app/BstSpamCallService
  • /system/priv-app/SVoice* (Delete all SVoice related files including VoiceWakeUp)
  • /system/priv-app/SecContacts_X_CHN and /system/priv-app/SecMms_X_Chn

/system/etc and /system/lib
  • /system/etc/gps.conf and system/etc/gps.xml
  • /system/lib/slocation
- After to delete all the chinese bload related is time to add all the international apps (/system/app and /system/priv-app) and the 2 gps files (system/etc) that we delete it in the last step
- Now is time to decompile so is necessary Tickle my Android or Advanced Apktool
So from your chinese and international firmware/rom take /system/framework/framework-res.apk and decompile (Install the frameworks for dont get error while decompile)
- If dont get error we can continue, from international framework take all /framework-res.apk/res/raw-xx and /framework-res.apk/res/values-xx folders and copy to chinese framework without overwrite existent files
- Then go to /framework-res.apk/res/values folder and open arrays.xml
Search:
HTML:
config_locationProviderPackageNames
And replace the whole string-array by this:
HTML:
    <string-array name="config_locationProviderPackageNames">
        <item>com.google.android.gms</item>
        <item>com.android.location.fused</item>
        <item>com.amap.android.ams</item>
        <item>com.amap.android.location</item>
        <item>com.baidu.map.location</item>
    </string-array>
Save it and open strings.xml
Search:
HTML:
config_networkLocationProviderPackageName
And replace the whole string by this:
HTML:
    <string name="config_networkLocationProviderPackageName">@null</string>
Search:
HTML:
config_geocoderProviderPackageName
And replace the whole string by this:
HTML:
    <string name="config_geocoderProviderPackageName">@null</string>
NOTE: In some custom roms like aurora, some extra features are added in /framework-res.apk/res/values/arrays.xml and /framework-res.apk/res/values/strings.xml so search at final of the xml if exist chinese strings, if exist so translated it, can use google translator if dont understand.
- Save it and recompile the chinese framework-res.apk

Now decompile android.policy.jar (Lollipop), services.jar (Marsmallow) from chinese firmware/rom
Lollipop
- Decompile android.policy.jar with Tickle my Android or any tool that decompile classes.dex
- Go to android.policy.jar/smali/com/android/internal/policy/impl and open GlobalActions$99.smali and GlobalActions$SinglePressAction.smali
- Chinese strings are decoded in unicode so u need search this with notepad+ "\u"
- In GlobalActions$99.smali search
HTML:
const-string v2, "\u
Replace "\u..." by:
HTML:
const-string v2, "Reboot Options"
- In GlobalActions$SinglePressAction.smali search
HTML:
const-string v2, "\u
Replace "\u..." by: *Some lines above u can see the correct order, but almost always this is the order
HTML:
const-string v2, "Reboot"
HTML:
const-string v2, "Hot Reboot"
HTML:
const-string v2, "Download"
HTML:
const-string v2, "Recovery"
HTML:
const-string v2, "Safe Mode"
- Save and recompile back android.policy.jar, be sure that the modified date is different and more recent than original, u can check it open the compiled file with winrar, because some android tools don't compile correctly the .jar files

*Updating guide..:
 
Last edited:
Oct 25, 2016
46
4
0
Mumbai
[GUIDE] How to convert Chinese roms based to International [TouchWiz]

Requeriments
  1. Chinese firmware/ROM that want convert
  2. Official European/American firmware/ROM of the same device (Ex: SM-G920F)
  3. Tickle my Android or Advanced Apktool (Easy way)
  4. Be sure to install WinRAR and Notepad+ in your PC
  5. Patience, Time and Concentration

So now we can start to convert ;)

- Create a folder with the chinese base and create another for the international one
- Decompress the 2 firmwares in the correspond folder
- Now in system delete all the chinese folders related like this: *Much of the apps contain this "chn" in his name

/system
  • /system/chn_sipdb (Chinese Keyboard)
  • /system/SOGOUDB (Chinese Keyboard)
  • /system/festival
  • /system/finder_cp
  • /system/CSC (Due to is configured to China region) *Backup features.xml and others.xml
  • /system/preload (It contain chinese store, depending of firmware)

/system/app
  • /system/app/CMAWeatherPhone201X
  • /system/app/ChinaHolidayProvider
  • /system/app/com.samsung.festival.chinadefault_* (If exist, delete all the folders with this name)
  • /system/app/SamsungChineseIMEvX
  • /system/app/EventNotificationPhase3
  • /system/app/Festivalchinadefault
  • /system/app/GreetingCard
  • /system/app/SLocation and /system/lib/slocation
  • /system/app/MyEventWidget
  • /system/app/InCallUI
  • /system/app/SearchBoxBaidu_OPEN
  • /system/app/YellowPage (Could be located in priv-app too)

/system/priv-app
  • /system/priv-app/AMapNetworkLocation, XNetworkLocation_Baidu, (If exist)
  • /system/priv-app/SAssistant (If exist)
  • /system/priv-app/EventCenter
  • /system/priv-app/SMusicChn
  • /system/priv-app/BstSpamCallService
  • /system/priv-app/SVoice* (Delete all SVoice related files including VoiceWakeUp)
  • /system/priv-app/SecContacts_X_CHN and /system/priv-app/SecMms_X_Chn

/system/etc and /system/lib
  • /system/etc/gps.conf and system/etc/gps.xml
  • /system/lib/slocation
- After to delete all the chinese bload related is time to add all the international apps (/system/app and /system/priv-app) and the 2 gps files (system/etc) that we delete it in the last step
- Now is time to decompile so is necessary Tickle my Android or Advanced Apktool
So from your chinese and international firmware/rom take /system/framework/framework-res.apk and decompile (Install the frameworks for dont get error while decompile)
- If dont get error we can continue, from international framework take all /framework-res.apk/res/raw-xx and /framework-res.apk/res/values-xx folders and copy to chinese framework without overwrite existent files
- Then go to /framework-res.apk/res/values folder and open arrays.xml
Search:
HTML:
config_locationProviderPackageNames
And replace the whole string-array by this:
HTML:
    <string-array name="config_locationProviderPackageNames">
        <item>com.google.android.gms</item>
        <item>com.android.location.fused</item>
        <item>com.amap.android.ams</item>
        <item>com.amap.android.location</item>
        <item>com.baidu.map.location</item>
    </string-array>
Save it and open strings.xml
Search:
HTML:
config_networkLocationProviderPackageName
And replace the whole string by this:
HTML:
    <string name="config_networkLocationProviderPackageName">@null</string>
Search:
HTML:
config_geocoderProviderPackageName
And replace the whole string by this:
HTML:
    <string name="config_geocoderProviderPackageName">@null</string>
NOTE: In some custom roms like aurora, some extra features are added in /framework-res.apk/res/values/arrays.xml and /framework-res.apk/res/values/strings.xml so search at final of the xml if exist chinese strings, if exist so translated it, can use google translator if dont understand.
- Save it and recompile the chinese framework-res.apk

Now decompile android.policy.jar (Lollipop), services.jar (Marsmallow) from chinese firmware/rom
Lollipop
- Decompile android.policy.jar with Tickle my Android or any tool that decompile classes.dex
- Go to android.policy.jar/smali/com/android/internal/policy/impl and open GlobalActions$99.smali and GlobalActions$SinglePressAction.smali
- Chinese strings are decoded in unicode so u need search this with notepad+ "\u"
- In GlobalActions$99.smali search
HTML:
const-string v2, "\u
Replace "\u..." by:
HTML:
const-string v2, "Reboot Options"
- In GlobalActions$SinglePressAction.smali search
HTML:
const-string v2, "\u
Replace "\u..." by: *Some lines above u can see the correct order, but almost always this is the order
HTML:
const-string v2, "Reboot"
HTML:
const-string v2, "Hot Reboot"
HTML:
const-string v2, "Download"
HTML:
const-string v2, "Recovery"
HTML:
const-string v2, "Safe Mode"
- Save and recompile back android.policy.jar, be sure that the modified date is different and more recent than original, u can check it open the compiled file with winrar, because some android tools don't compile correctly the .jar files

*Updating guide..:
Excellent guide make one guide for xperia cs39h.
 

xDark_

Senior Member
Aug 7, 2013
462
82
0
Excellent guide make one guide for xperia cs39h.
A) Would it kill you to be nicer? You catch more flies with honey than with vinegar.

B) Why don't YOU use what he gave you and try to modify it to work on your phone? Then you can post a tutorial to help out others as well :D

C) Why did you quote the WHOLE OP
 
Last edited:
  • Like
Reactions: kiva1