How to build multilang MIUI V6 ROM via JBART Tool ?
How to build multilang MIUI V6 ROM via JBART Tool ?
Tutorial of JBART tool on Elephone which originally posted by Pandalar.
What’s JBart
JBart’s running based on the operating system up windowsXP. I haven’t tried the UBuntu system, but it’also ok. Java’s running versin should be 1.70 or more. Tested 1.70 version.
First we open the jbart surface. As the below picture shows:
Now let's know a few frequentlyused functions of JBART first, then we can know the details how to make a process ofmulti-language MIUI.
1. Deodexer tool.
This function can put ODEXinto apk or jar. This way provides us a convenient to modify ROM, the latest version supports6592’s odex combine. As the above surface shows, the ROM FILE selects thedeodex, ROM API selects ROM’s API level. (Now supports 2.3.3--5.1 ROM), if it’sthe 6592 ROM, you also need to check the fourth option. Then after clicking onthe Deodex button on the right corner, it starts deodex automatically. The last generation file you can find in the outfile.
2. OTA Creator.
This function is the generatetool of OTA upgrade file. Old ROM selects the old rom file, new ROM selects thenew rom file, click the make OTA, it will get a upgrade package.
3. ROM File is one of the core functions in thistool. It can translate ROM automatic. As the below surface shows:
At present the following ROMs support automatic translation, MIUI、lewaos、vibeui、cm、coolui、nubiaui etc. Now let's check the detail how to translate MIUI 6 as an example.
1. First click the option of rom type is to select the ROM’stype which you want to translate. Select MIUI V6.
2. Select the ROM file which you want to translate
3. Select the language you want
4. Then check the autu compile. Click Recompile,it willstarts automatic translation. Finally, you can generate a translated ROM filein output folder.
5. How to use the manual functions to add more languages
1)If translate manually,after finishing the 1-3 options,do not select autu compile,but click on Extact zip
After extracting completed,click Decompile. It will turn out a process of unpacking an APK. The tool will compress the needed translate software into a folder ends with .bzprj. We look at the structureof this folder.
AppDecompiled. This folder is the finished decompile apk,base ROM is the unzip ROM file.
FrmDecompiled. This folder is the apk file in the finished decompile framework.
Open appDecompiled folder, you will see these three folders,data__miui__apps、system__app and system__priv-app.
Three folders above corresponds data,system/app, system/priv-app file in the ROM which needs to be translated.
When we open the system__app, you can seethe following surface.
The folders in the above picture are all the finished decompile app, manual translation is to add language resources that are not in this app.
We just need to copy the resources what weneed to add files to the appropriate folder app. The above picture shows all the languages just added. You can get language resource files by extracting my previous ROM and then decompiling app.
After you have added all the app languagere sources. Remeber to add frmDecompiled language resources. After this step is done,we can make a process of back compile on the app we modified. Click the Compile buttonto automatically back compiling operation. When finished it can automatically generate multilingual ROM Brush Pack which has been added. Also it will automatically re-signing ROM Brush Pack. Then you can flash it into the phoneto see your results.
No comments:
Post a Comment