Use Jbart Add Language For Miui8

Discussion in 'Porting Advice/Help' started by bkkmms, Sep 19, 2016.

  1. bkkmms

    bkkmmsMembers

    Aug 29, 2016
    1
    1
    15
    Male
    Need java environment under Window.

    The example as below shows an example for add Thai language to the MIUI8.

    Download the latest version Jbart 3H, download the latest version apktool replace \ data \ tools \ lib legacy software under jbart directory, only the latest supported version of decompilation MIUI8 APK.

    Download MIUI8 Thai package:


    Download jbart of MIUI8 profile:


    Modify jBART-master \ data \ repo.miui.v8.main settings as below :

    folder :: // D: \ mobile \ jBART-master \ _local_repo \ translation = Local translation
    folder :: // D: \ mobile \ jBART-master \ _local_repo \ res_fixes = Local resources replacement
    github :: MI-Global / MIUI.v8.Translation.ru = MI-Global Russian translation (That is set to be translated XML file to a local directory)
    github :: MI-Global / MIUI.v8.Translation.uk = MI-Global Ukranian translation
    github :: MI-Global / MIUI.v8.Resources.Fixes = MI-Global resources replacement
    github :: MishFdM / MIUI_V8_Italy = MIUI V8 Italian (miui.it)
    github :: sasuke 0703 / Miui 8-Thai-Language = MIUI 8 V8 Thai (you can also download the translation online , First part (before: - repository type, Second - address, Third - the name to show in repositories list.)

    Modify jBART-master \ data \ repo.miui.v8.extra settings as below :
    folder :: // D: \ mobile \ jBART-master \ _local_repo \ replace = Local replacement
    github :: MI-Global / MIUI.v8.Files.Replacement = MI-Global files replacement

    Modify jBART-master \ data \ repo.miui.v8.patch settings as below :
    folder :: // D: \ mobile \ jBART-master \ _local_repo \ patches \ xml = Local .xml patches
    folder :: // D: \ mobile \ jBART-master \ _local_repo \ patches \ smali = Local .smali patches
    github :: MI-Global / MIUI.v8.Patches.XML = MI-Global .xml patches
    github :: MI-Global / MIUI.v8.Patches.Smali = MI-Global .smali patches

    Add jBART-master \ data \ rom.types.conf settings under the support of the MIUI8:
    romtype "miui_v8" "MIUI v8" "repo.miui.v8";



    if translation with local:
    Just unzip the downloaded Thai translation package replaces the same files jBART-master \ _local_repo \ replace under the package
    MIUI.v8.Patches.XML-master.zip copy and unzip MIUI.v8.Patches.Smali-master.zip replace jBART-master \ _local_repo \ patches where the contents of two folders.
    Unzip MIUI.v8.Resources.Fixes-master.zip copy replace jBART-master \ _local_repo \ res_fixes \ International under the same file folder.

    if translation online
    just select MIUI 8 V8 Thai.


    Open Jbart, select the ROM file (which is a forum where the MIUI8 V8.0.1.0.MHQCNDG rom to test, its name is PORT)
    Rom type selection MIUI8
    Main translation project selection Local translation(or MIUI 8 V8 Thai,it will down load translation files in fold namedrepositories),
    unselect extras and xml patches


    Click decompilation. in the directory will create a port.zip.bzprj folder. there have the original ROM unpack, and all APK decompiled, there are other resource files. we can check the log on logs.
    After finished, opening the the decompile folder directory,
    you can do somethig in here, or do not anything.

    Press the compiler now , jbart will automatically generate output folder, new ROM compiled, and SIGNED by Jbart too.
    Copy and Try!



    you can add all global language to folder repositories, it will compile a full language rom.
     
    Mammad likes this.
  2. izonk

    izonkMembers

    Sep 19, 2016
    6
    0
    13
    Male
    Bookmark

    Sent from my Redmi 3 using Tapatalk
     
  3. @HOSCHI@

    @HOSCHI@Members

    Jul 19, 2012
    51
    5
    38
    Male
    Nice Thanks
     
  4. PRInCEI7

    PRInCEI7Members

    Jan 8, 2017
    28
    2
    15
    Male
    Unfortunately it no longer works
     

Share Our Site