Tutorial of JBART tool on Elephone which originally posted by Pandalar.

What’s JBart

Click image for larger version. 

Name: 1.jpg 
Views: 1 
Size: 36.5 KB 
ID: 20093

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:

Click image for larger version. 

Name: 2.jpg 
Views: 1 
Size: 43.1 KB 
ID: 20094

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.

Click image for larger version. 

Name: 3.jpg 
Views: 1 
Size: 33.6 KB 
ID: 20095

3. ROM File is one of the core functions in thistool. It can translate ROM automatic. As the below surface shows:

Click image for larger version. 

Name: 4.jpg 
Views: 1 
Size: 52.6 KB 
ID: 20096

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.

Click image for larger version. 

Name: 5.jpg 
Views: 1 
Size: 17.4 KB 
ID: 20097

2. Select the ROM file which you want to translate

Click image for larger version. 

Name: 6.jpg 
Views: 1 
Size: 27.1 KB 
ID: 20098

3. Select the language you want

Click image for larger version. 

Name: 7.jpg 
Views: 1 
Size: 28.4 KB 
ID: 20099

4. Then check the autu compile. Click Recompile,it willstarts automatic translation. Finally, you can generate a translated ROM filein output folder.

Click image for larger version. 

Name: 8.jpg 
Views: 1 
Size: 49.7 KB 
ID: 20100

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

Click image for larger version. 

Name: 9.jpg 
Views: 1 
Size: 48.0 KB 
ID: 20101

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.

Click image for larger version. 

Name: 10.jpg 
Views: 2 
Size: 8.5 KB 
ID: 20102

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.

Click image for larger version. 

Name: 11.jpg 
Views: 1 
Size: 80.0 KB 
ID: 20103

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.

Click image for larger version. 

Name: 12.jpg 
Views: 1 
Size: 63.0 KB 
ID: 20104

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.

Click image for larger version. 

Name: 13.jpg 
Views: 1 
Size: 20.3 KB 
ID: 20105