New version is up, but I forgot to add news&weather app :[ new "build" will be tommorow.
As I promised:
loveforever
starting from 2.2.3 you can change language with minimal modifications of actual language pack.
To port language pack on liquid mt you just need to modify Torch.apk in language pack.
So, little how-to:
Use apktool to disassemble it, or you can just remove Torch.apk from language pack and use mine, coz you won't actually use torch app, but its features like home button on lockscreen.
-To port Torch first type in terminal(or in whatever commandline you use):
Code:
cd [directory that containing language pack]/system/framework
apktool if framework-res.apk
Don't close terminal till the end.
on language pack's framework-res.apk
-disassemble language pack's Torch.apk type in terminal(or in whatever commandline you use):
Code:
cd [directory that containing language pack]/system/app
apktool d Torch.apk
In [directory that containing language pack]/system/app you'll see a folder Torch, open it
-go to smali/net/cactii/flash2/
-open FlashDevice.smali in text editor
-search for "galaxys2", it will be the only one
-replace it to "a4"
-assemble your Torch folder with:
then you'll see a build folder, go to it, in parallel, open Torch.apk with any archiver you wish then just drag'n'drop classes.dex from build folder to the archive(if you are using winrar, don't forget about compression rate, it should be the same as before replacing actual classes.dex)
-new language pack is almost done
-There is only action remaining - change your build.prop with mine and replace lines to actual language:
Code:
ro.product.locale.language=[language dualsymbol code in lower case, for exmaple fr]
ro.product.locale.region=[country dualsymbol code in upper case, for example FR]
Done - language pack could now be flashed.
For others who would find that instruction useful:
If your language pack have a translated framework.jar, you should port it too.
Assuming you know how apktool works(from previous part), you could find framework.jar on system/framework, cd to that folder and then apply apktool manipulations with exact file.
Our framework.jar is actually has 2 patches that needs to port:
-PhoneFactory.smali
-LGEQualcommRIL.smali
from smali/com/android/internal/telephony
just copy them from mine rom's framework.jar to yours.
You should do the same if you are going to port miui mods that are actualy using modified framework.jar
If you don't know, translated your framework.jar or not (for example when there is only full rom and no language packs) I recommend you to port framework.jar too.