Hi people. Where can i find the language files (english) for this:
http://forum.xda-developers.com/showthread.php?t=1863260
I want to add the Polish language.
I think you can decompile all apk and framework from (search xda on how to, preferably with apktool) any miui GB multilanguage rom, and copy the values-poland.xml or values.po.xml., or simular and decompile the miui for gio, and add these files in the right apk and framework after decompiling, and compile it again.
voetbalremco said:
I think you can decompile all apk and framework from (search xda on how to, preferably with apktool) any miui GB multilanguage rom, and copy the values-poland.xml or values.po.xml., or simular and decompile the miui for gio, and add these files in the right apk and framework after decompiling, and compile it again.
Click to expand...
Click to collapse
Yes I did that. I have the files (translated). Except that in the language option I don't have Polish language
maybe I'm late but you can select language by using more locale2 app from market.
Thats because you need different values- name
Inside
But if the languages are there, use morelocale to set it
Sent from my GT-S5660 using xda app-developers app
Related
Background
Samsung has released a few 2.2.1 for the europe region, while those in the Asia / Middle East regions are still having 2.2 roms, and no sign of whether Samsung is going to release it, if any at all.
I took the liberty to try having additional locale in the rom (not the MoreLocale or others available in the market) and manage to get it done.
I have tried it with the South East Asia rom, with languages available in thai, viet, simplified chinese, malay and indonesian.
Disclaimer
I'm not sure if it will work with other regions such as China and Hong Kong (ZS series), or Middle East (JP series), but those who have time to spare, and want to have an authentic 2.2.1 rom, can always try.
Also, even when it can be done, I'm pretty certain it is not a 100% fit, but would dare say in the region of about 95%.
Also, it would be a long and tedious process as each system app will be needed to decompile.
Tools Needed
Apk Manager 4.9 (courtesy of Daneshm90)
7zip compression utility
2.2.1 Rom (latest is WXJS5) which I have used
2.2 Rom (other regional rom) which in this case is DXJPE for my case
Instructions
1. Create separate directories for both roms and install / unzip the apk manager in each respective directories.
2. Copy the system apps (including framework-res.apk and twframework-res.apk) for each rom to the respective folders (place-apk-here-for-modding).
3. Decompile all the system apps for each rom.
4. Navigate to the projects folder and select the apps you want to start with (probably a good idea to start with framework-res.apk)
5. Go to the res folders and in it you will find all the values folders as well. Example:
- values-en-rGB folder
- values-en-rUS folder
- values-ko folder
- values-ko-rKR folder
6. Go to your 2.2 rom folder and do the same and you will notice that these are different from the 2.2.1 folder.
7. Copy those different values-xxxxxx folders to the 2.2.1 rom res directory.
8. Recompile the apk and in the process, select yes to keep all the info intact, and apk manager will generate a keep folder.
9. Delete the resources.arsc from this keep folder and proceed to complete the compilation.
10. You will now have the unsignedframework-res.apk in your place-your-apk-here-for-modding folder.
11. Open up this apk with 7zip and you will see the resources.arsc file which is compressed.
12. Drag this file out and close the 7zip program
13. Next, right click the resources.arsc and select Add to archive from the 7zip option.
14. Make sure your option is to store (not compressed) and click on the ... icon to select the file, in this case is the unsignedframework-res.apk. This method of doing is to ensure that your resources.arsc is changed from compressed format to store format (no compression).
15. That is your first change in adding locale.
16. Repeat the above steps for the rest of the apps (I know it is tedious but the experience is well worth it).
17. Create an update zip to store these modded files (make sure you delete the prefix unsigned from the apps).
18. Like everyone says, ALWAYS do a backup of your current rom.
Disadvantages
Your apps will definitely be bigger in size and hence occupy more space.
Advantages
This is as near as you get with your region on a 2.2.1
This can be done with any stock or customized rom.
I hope the above guide will be useful for those who has time to spare, and who is willing to try it.
Please let me know if this works for other regions as well.
Any questions, please ask.
Edit:
Download is available here for those who wants locale of the SEA region. Consist of some apps that were modded.
The attached image showed the comparison of the 2 framework-res.apk.
On the left is the 2.2 rom (DXJPE), with the values-in, values-id-rID (Malay and Indonesian), and the values-mcc204-zh-rCN as the chinese as well.
On the right is the 2.2.1 rom (WXJS5), with the values having the European languages as well.
What you need to do is find those files unique in the left side and copy these to the right side.
Recompile and that's it.
The second image showed the language (in this case simplified chinese) after i selected chinese as the locale after modding the Settings.apk as described above.
thanks its quiet useful, many of friends were looking for such a thing,
I'm also running middle east rom (jpg) which I like to try 2.2.1 with support of persian language. it should be possible by your tutorial.
I have one question:
17. Create an update zip to store these modded files (make sure you delete the prefix unsigned from the apps).
Click to expand...
Click to collapse
so you mean it is not necessary to sign the apk? just rename back to original?
taha_e said:
thanks its quiet useful, many of friends were looking for such a thing,
I'm also running middle east rom (jpg) which I like to try 2.2.1 with support of persian language. it should be possible by your tutorial.
I have one question:
so you mean it is not necessary to sign the apk? just rename back to original?
Click to expand...
Click to collapse
There is no need to sign system app. Just rename will suffice.
Sent from my GT-I9000 using XDA App
Useful guide. I've been meaning to do this for a while but I didnt know how.
For step11, what .apk do we open? unsignedframework-res.apk? When I open this file, theres no resources.arsc...
and step12, what do you mean by "drag this file out"?
apparition said:
Useful guide. I've been meaning to do this for a while but I didnt know how.
For step11, what .apk do we open? unsignedframework-res.apk? When I open this file, theres no resources.arsc...
and step12, what do you mean by "drag this file out"?
Click to expand...
Click to collapse
Step 11, yes the unsignedframework-res.apk. It can't be that there is no resources.arsc. Did you encounter errors during decompiling? Use 7zip to open the framework-res.apk and see if you have resources.arsc.
I meant extract the resources.arsc.
Sent from my GT-I9000 using XDA App
Also, I recommend to decompile Settings.apk as the 3rd one. This is where the ui is.
Sent from my GT-I9000 using XDA App
g00ndu said:
Step 11, yes the unsignedframework-res.apk. It can't be that there is no resources.arsc. Did you encounter errors during decompiling? Use 7zip to open the framework-res.apk and see if you have resources.arsc.
I meant extract the resources.arsc.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Oh, maybe that's it; I'm getting errors. Do I have to (10) decompile with dependencies? then use the twframework from my ROM?
apparition said:
Oh, maybe that's it; I'm getting errors. Do I have to (10) decompile with dependencies? then use the twframework from my ROM?
Click to expand...
Click to collapse
Your framework-res.apk must be a modded one. There is no dependencies for the framework-res.apk. Settings.apk need the twframework-res.apk as the dependency. Let me guess, you are on Darkyy's rom?
Sent from my GT-I9000 using XDA App
Yeah definitely modded. FireFly ROM (for SGS Captivate i896).
But thanks. Excellent guide.
apparition said:
Yeah definitely modded. FireFly ROM (for SGS Captivate i896).
But thanks. Excellent guide.
Click to expand...
Click to collapse
The rom chef may have not done the moding cleanly, and hence decompiling will always end up with the errors. Perhaps you can try to see what the log of apk manager says, and solve it from there.
Thanks, I will now add chinese, arabic and hebrew to ultimate rom.
Sent from my GT-I9000 using XDA App
webstar1 said:
Thanks, I will now add chinese, arabic and hebrew to ultimate rom.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Hope that it will work with hebrew and, especially the right to left sentences. Let me know if it works.
Sent from my GT-I9000 using XDA App
I have tried some files for jpg rom which is persian/arabic these languages are right to left. unfortunately this method did not work. I mod browser.apk but the characters are shown seperate and also left to right. anyone knows how to mod for RTL or which apk is related to rtl?
I think RTL should be mod in .so files as i know
taha_e said:
I have tried some files for jpg rom which is persian/arabic these languages are right to left. unfortunately this method did not work. I mod browser.apk but the characters are shown seperate and also left to right. anyone knows how to mod for RTL or which apk is related to rtl?
I think RTL should be mod in .so files as i know
Click to expand...
Click to collapse
Did you try Darkyy's patch on hebrew / arabic? It's on the first post of his "Incredible" rom. Download those files and installed them and check again?
Hope this helps.
Edit: I guess maybe not, there must be something in the framework.jar that supports rtl language support for jp series. if you have the time, maybe do a baksmali for framework.jar for these 2 roms?
g00ndu said:
Did you try Darkyy's patch on hebrew / arabic? It's on the first post of his "Incredible" rom. Download those files and installed them and check again?
Hope this helps.
Click to expand...
Click to collapse
Im on stock rom js5 I think that patch will not work for it. can i use it for stock?
This is an awesome guide! I've always wanted chinese locale on Darkys rom. Gonna try this when I get home. Thanks for your hard work goondu.
taha_e said:
Im on stock rom js5 I think that patch will not work for it. can i use it for stock?
Click to expand...
Click to collapse
Darkyy's rom is also based on js5, and in that case you can always try. But always do a backup first before any attempts to try.
I wish you luck!
Edit: I downloaded it once, and found the following:
/system/app - AxT9IME.apk and Swype.apk (presumably arabic based)
/system/fonts - 11 fonts with names of hebrew and arabic on them
/system/framework - framework.jar (this one not sure what is modded, maybe ask Darkyy?)
/system/lib - 5 .so files
/system/etc - apns-conf.xml (which is not related to this)
Go try it.
psychedelic'd said:
This is an awesome guide! I've always wanted chinese locale on Darkys rom. Gonna try this when I get home. Thanks for your hard work goondu.
Click to expand...
Click to collapse
You are most welcome.
Point to note: there are some apps that do not have any other region locale, for example, SecDownloadProvider.apk and DownloadProvider.apk. You need to go through one app at a time. I made a mistake.
Having said that, if you are adventurous, you can even create your own for these 2 apks in chinese.
:O
Any ways to just replace files using root explorer to add chinese language to my rom?
All these steps are beyond my skills and knowledge.
I would like to add some emoticons into whatsapp
Sent from my GT-I9100 Westcrips ICS using xda premium
RodneyNL said:
I would like to add some emoticons into whatsapp
Sent from my GT-I9100 Westcrips ICS using xda premium
Click to expand...
Click to collapse
You probably wont be able to add any, you can change the current ones by editing the apk, signing it then installing it. Once you open up the apk (with 7zip, winrar etc.) look inside the drawable-hdpi folder. Thats probably where the emoticons are kept.
I can help if you need.
You might want to check out these custom whatsapp's by yorzua :
http://forum.xda-developers.com/showthread.php?t=1543631
Thanks for your reply om gonna try it out i'll let you know of i need your help (probably i will need it xD)
Sent from my GT-I9100 using xda premium
Adding icons to whatsapp
Hey Guys has anyone tried adding new icons into the default whatsapp?
Or do the modded versions allow adding additional GIF'S to be added to the instant messenger?
Thanks
yes i have tried it, but it's useless since the recipient of the emoticon should have the "moded" version too, so that he could see the emoticon
Just wanted to add that Ive noticed the Iphone has new icons and I can view them on my phone which dont have those icons :/
esk02k said:
You probably wont be able to add any, you can change the current ones by editing the apk, signing it then installing it. Once you open up the apk (with 7zip, winrar etc.) look inside the drawable-hdpi folder. Thats probably where the emoticons are kept.
I can help if you need.
You might want to check out these custom whatsapp's by yorzua :
http://forum.xda-developers.com/showthread.php?t=1543631
Click to expand...
Click to collapse
I used 'Formatter' to rename (whatsapp) .apk file into .zip did required changes (replaced one .png smiley file) & again renamed it into .apk
But then, I'm not able to install it (even after uninstalling previous version). An error saying 'Application not installed' shows.
How can I modify .apk files (in terms of replacing only the smiley image files) & repack it into proper .apk file so that I'll be able to install it without any error?
Please help me..
thanks
yogz214 said:
I used 'Formatter' to rename (whatsapp) .apk file into .zip did required changes (replaced one .png smiley file) & again renamed it into .apk
But then, I'm not able to install it (even after uninstalling previous version). An error saying 'Application not installed' shows.
How can I modify .apk files (in terms of replacing only the smiley image files) & repack it into proper .apk file so that I'll be able to install it without any error?
Please help me..
thanks
Click to expand...
Click to collapse
i also want a new smiley, for example a puking smiley
After modifying the apk i think you should resign it to be able to install it
Check zipsigner from the play store
Sent from my GT-I9100G using XDA Premium 4 mobile app
fmardini said:
After modifying the apk i think you should resign it to be able to install it
Check zipsigner from the play store
Sent from my GT-I9100G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
so i have to download the whatsapp.apk, unrar it, change the icons in it, and resign it?
Were are the folder?
I am getting a "parsing" error by installing whatsapp
jonny.pl said:
i also want a new smiley, for example a puking smiley
Click to expand...
Click to collapse
That is exactly what I am trying to do here.
I was looking for the same & found these.
http://www.techgyd.com/whatsapp-stickers-free-android-iphone/12739/
Good idea, but not practical
In order to install an apk, it must be properly signed and with a password that only the developers know. If you own the app though, you will still need to to decompile and recreate the apk structure by turning the directories of the zip into an android structure, since the compiling will change pretty much everything.
Worst part of it all, if you somehow manage to change and install the app, only you will be able to see it since only the apk installed on your phone has those custom emoticons.
Cheers :good:
how do I put emoticons on viber /whatsapp for sell
Just get your friends to use wechat, has all the emos in the world. Whatsapp is crap
As the title says this MOD will remove your emergency call button in the pattern lockscreen.
I´ve modified the Pattern Lockscreen this way the button diasppears. So no more unwanted emergency calls while you have your phone in your pocket.
Just remember. Noone else will be able to call with your phone in case of emergency unless he/she knows how to unlock your phone.
Since there are various custom ROMs with a modified framework and since the framework in Arcos CM9 may differ in each release, I decided to write a little HOWTO.
First you need is my modified pattern lockscreen xml file you can download here:
Rapidshare or Dropbox
Extract it and copy the framework-res.apk from your phone or your flashable ROM to your PC.
Open the framework-res.apk with 7zip and navigate to the res\layout folder there.
Copy and paste my keyguard_screen_unlock_portrait.xml into this folder to replace the current xml file there.
Close 7zip and move the modified framework-res.apk to your sdcard.
Move it to the system folder in your phone and set the permissions to rw-r-r.
Use Root Explorer for the following step!
After the permissions were set correctly, move it to the framework folder and reboot your phone.
That´s all.
Below is a flashable Zip for Arcos beta3.
Rapidshare
Dropbox Mirror
yow honey!
you rock!
-salute!
By only for the vanilla cm9 by arco, do you mean that it won't work on the roms based on it like biohazard?
Sent from my GT-I8150 using xda app-developers app
Gary122 said:
By only for the vanilla cm9 by arco, do you mean that it won't work on the roms based on it like biohazard?
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
Well. The modification is inside the vanilla framework and this mod is flashing the modified vanilla framework, so can´t tell. But as long as the framework isn´t modified there, it will. Unfortunally a lot of custom ROMs are using modified frameworks. These would need to be modified as well.
honeyx said:
Well. The modification is inside the vanilla framework and this mod is flashing the modified vanilla framework, so can´t tell. But as long as the framework isn´t modified there, it will. Unfortunally a lot of custom ROMs are using modified frameworks. These would need to be modified as well.
Click to expand...
Click to collapse
I tried it on my biohazard it works! Thanks bro.
Sent from my GT-I8150 using xda app-developers app
help me i want add language in joyos rom!
You can't add more language but you should try 'morelocale2' app from Google Market.
Sorry my bad English .
ßyKerim said:
You can't add more language but you should try 'morelocale2' app from Google Market.
Sorry my bad English .
Click to expand...
Click to collapse
okay thanks
Hello!
Same question.
How can i add/translate language to custom rom(JellyBread4). I tryed couple of locale setting apps, but theres not my language(Estonian).
Best regards,
Marko
u need to add new values-countrycode to frAmeworks-res.apk and all apks and translate the strings.xmls
Sent from my S500 using xda app-developers app
I tryed.
My stock rom has my language. So i decompiled both framework-res.apk, added lang folder and recompiled, signed and zipaligned. And it worked.
But when i did same with settings.apk, then settings app didnt appear in drawer anymore. I tryed also with calculator and it worked good. What could be wrong with settings?
can someone help me please:crying:? i've been trying any apktool for decompile the settings.apk, but the result it's only failed and apktool always make progress like this "please install any framework files, see this on our forum" although i've been installed framework-res.apk first? why ya? that app is almost succesfuly decompile i can see all xml file has been decoding, but not all files decoding some files still can't be read with notepad++? and when i try to recompile again it's always say error although i'm never modified or remove any content from that app? why ya that happen? i still dizzy with that? settings.apk from C1905 4.3 Single Sim (deodexed) with stock framework, are that can be combine for decompile?
1) Any apps you wish to decompile coming from a Sony ROM you MUST install framework-res.apk AND SencGenericUxpRes.apk
2) Your framework files MUST be deodexed, meaning that if you are using framework-res.apk and you have a framework-res.odex file next to it you will have to deodex the framework files first.
3) The framework files MUST come from the same firmware as the app.
gamer649 said:
1) Any apps you wish to decompile coming from a Sony ROM you MUST install framework-res.apk AND SencGenericUxpRes.apk
2) Your framework files MUST be deodexed, meaning that if you are using framework-res.apk and you have a framework-res.odex file next to it you will have to deodex the framework files first.
3) The framework files MUST come from the same firmware as the app.
Click to expand...
Click to collapse
so you mean is? i need SemcGenericUxpRes.apk and framework-res.odex too. to deodex any files from sony rom? but how i can install SemcGenericUxpRes.apk? because in this selection this only must install framework first? is that you mean SemcGenericUxpRes.apk must i install to like install any framework files?
Nicklas Van Dam said:
so you mean is? i need SemcGenericUxpRes.apk and framework-res.odex too. to deodex any files from sony rom? but how i can install SemcGenericUxpRes.apk? because in this selection this only must install framework first? is that you mean SemcGenericUxpRes.apk must i install to like install any framework files?
Click to expand...
Click to collapse
You do NOT need any .odex files relating to the framework. HOWEVER, the framework MUST be fully deodexed (deodexing means repacking the .apk/.jar file in such a way that the .odex file and the .apk/.jar file are one and not two separate parts).
To install the SemcGenericUxpRes.apk you must install it as you would with any other framework file.
Two questions while I am here, what firmware are you on? And what is your native language?
gamer649 said:
You do NOT need any .odex files relating to the framework. HOWEVER, the framework MUST be fully deodexed (deodexing means repacking the .apk/.jar file in such a way that the .odex file and the .apk/.jar file are one and not two separate parts).
To install the SemcGenericUxpRes.apk you must install it as you would with any other framework file.
Two questions while I am here, what firmware are you on? And what is your native language?
Click to expand...
Click to collapse
i use C1905 15.4.A.1.9 Indonesia, and native language is English (CA), why? so i must rename SemcGenericUxpRes.apk and change to framework-res.apk? but how can be 2 framework installed?,
Nicklas Van Dam said:
i use C1905 15.4.A.1.9 Indonesia, and native language is English (CA), why? so i must rename SemcGenericUxpRes.apk and change to framework-res.apk? but how can be 2 framework installed?,
Click to expand...
Click to collapse
For your firmware I might be able to upload the two framework files you need to use, it depends on if and when I can get them. And for your native language I was thinking that it might be better for me to give my reply for you if you used a different language than English.
But no, you do not need to change the name of SemcGenericUpxRes.apk, all you need to do is install framework-res.apk and then immediately install SemcGenericUpxRes.apk (there is no name change needed). If you install them under different names they won't overwrite each other and thus won't give errors and two frameworks can be installed.
gamer649 said:
For your firmware I might be able to upload the two framework files you need to use, it depends on if and when I can get them. And for your native language I was thinking that it might be better for me to give my reply for you if you used a different language than English.
But no, you do not need to change the name of SemcGenericUpxRes.apk, all you need to do is install framework-res.apk and then immediately install SemcGenericUpxRes.apk (there is no name change needed). If you install them under different names they won't overwrite each other and thus won't give errors and two frameworks can be installed.
Click to expand...
Click to collapse
i download the stock rom in here https://mega.co.nz/#!29ww0Rpb!NVOkXyH1nEoIbZXtetmg1i_Sbf8raArFVQ7Yfn8DDks stock rom c1905 4.3, ok i will try to install framework file first. But my settings.apk is deodexed? for decompile i must use app that have been deodexed or not?
and after i install a framework-res.apk and SemcGenericUxpRes.apk to decompile setinggs.apk(deodexed) always happen like this
Log For : Settings.apk
Log Type : Decompiling
Log Recorded At : 09 2014-28- 11:01:05,83
Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak
------------------------------------------------------
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
------------------------------------------------------
why ya? :crying: i still dizzy with this kind, or the settings.apk must odexed first?
and this time the settings.apk is odexed, and i try again to decompile this files. but the result is always same like this
Log For : Settings.apk
Log Type : Decompiling
Log Recorded At : 09 2014-28- 11:06:38,76
Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak
------------------------------------------------------
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
------------------------------------------------------