1. MIUI is one of the best android ROMs, based on Android 4.1 Jelly Bean MIUI provides a fresh user experience with Cloud services, backup and security tools. MIUI is released every Friday round 12pm UK time. MIUI is now 3 years old and is growing stronger every day with over 10 million users world-wide.

Tutorial MIUI DEVELOPERS TRANSLATION GUIDE (V1.0) MUCH TO ADD!

Discussion in 'General Chat' started by MarkHUK, Jan 20, 2011.

  1. gions93 Members

    Message Count:
    7
    hi mark cant decomplie latest mms.apk it
    using apktool .all the othr files work fine but mms.apk ...no
    can u help?
  2. tingen Members

    Message Count:
    18
    Hi Mark,

    I've thought of you is a man of MIUI Android and the English translation. I will translate into Danish, but I need help, how to start?

    1st Do I need to contact MIUI and ask them whether it is okay?
    2nd If I have made the translation, it can be a part of your package?
    3rd As I understand your tread, and I will take each APK out and translate it?
    4 Would you help me make the menu so it is possible to choose Danish as a language?


    I'm not new to translate.

    Thanks in advance

    Gert.
  3. Spike Members

    Message Count:
    9
    hi mark

    i appreciate for your hard working and share it with us

    in iran many people use miui rom because its very cool and smooth ...

    i am development moderator in and-roid.ir forum and i decide to translate miui roms to persian

    me and my team translate strings and necessary xml files to persian and i decompile rom with AutoAPKTool and add persian language and recompile it and build usable apks and build a rom and install it

    every things work fine (menu,browser,...) but i get force close in some programs :

    camera : when i want to use camcorder

    music : when play songs and pres menu key

    mms : when send an sms

    ...

    i try many method and many programs to edit this apks and solve problem but they did not work (also this method here & here)

    please help me to solve this issue and give this wonderfull rom to iranian user

    miui rom version is 1.9.23

    thanks

    Spike.
  4. Rubemlrm Members

    Message Count:
    21
    Hi mark just a question you will update this list ?
  5. gkahd Members

    Message Count:
    5
    MIUI 1.18.11

    Hi,

    don't know if this is the right place to report this but...

    I installed MIUI 1st time on a Galaxy SII.
    I find the ROM fantastic!

    However, I get a constantly running process at about 13% which is com.android.telocation.
    This is a fully wiped pure install of the ROM with no other apps or even google accounts.
    I only installed some monitoring apps to find out who is using the CPU.
    So "Android System" (NOT "Android OS") shows big battery consumption.
    Anyone else seeing the same?
    (I also tried Galnet version and that has a similar issue but not on the same process!)

    Also another brain twister: when I 1st installed the ROM it said 1.5Ghz.
    I installed SetCPU and tried 1.6 as it detected it.
    I had some crashes I wanted to go back to 1.5Ghz.
    SetCPU does not see it as a valid setting.
    I reinstalled many times but it never ever again said 1.5G.
    It always says 1.2G.

    Any ideas?

    Thanks
  6. MatDiggy Members

    Message Count:
    44
    Great stuff!

    Sent from my MIUI-fied HTC Desire using Tapatalk
  7. Reyn Members

    Message Count:
    5
    Hey Admins,
    please release your APK Tool. The German community got no updates on ICS Roms for a long time now and we won't get any new until we can fix the tool but we fail all the time (there are no real programmers).
  8. BurgerZ Members

    Message Count:
    30
    Hi, Reyn! What kind of problems do you have?
    I have no problems in compile/decompile MIUI v4 (v2 never had such problems).
  9. DaLuigi3 Members

    Message Count:
    37
    hi,

    i have a big problem. I can't recompile the framework-miui-res.apk. If i use a patch i can recompile without errors but then i get a Bootloop. All the other Apps working fine without Bootloop or Fc's (with 2.4.27 i also can't recompile email.apk)
    I' am using latest aapt.exe and latest apktool 1.4.3.

    hope you can help me
  10. iBotPeaches Script Gatekeeper

    Message Count:
    3,717
    Whats the error apktool gives you on re-compile?
  11. DaLuigi3 Members

    Message Count:
    37
    tooo much errors^^:
    .....
    C:\Users\Tobias\Desktop\NEUERVERSUCH\APK_Dekompiliert\framework-miui-res\res\val
    ues\public.xml:668: error: Public symbol id/unknown_contact_location declared he
    re is not defined.
    C:\Users\Tobias\Desktop\NEUERVERSUCH\APK_Dekompiliert\framework-miui-res\res\val
    ues\public.xml:700: error: Public symbol id/unlock_sim_via_puk declared here is
    not defined.
    C:\Users\Tobias\Desktop\NEUERVERSUCH\APK_Dekompiliert\framework-miui-res\res\val
    ues\public.xml:649: error: Public symbol id/visible_panel declared here is not d
    efined.
    C:\Users\Tobias\Desktop\NEUERVERSUCH\APK_Dekompiliert\framework-miui-res\res\val
    ues\public.xml:1247: error: Public symbol xml/android_apns declared here is not
    defined.
    brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
    nd: [aapt, p, -F, C:\Users\Tobias\AppData\Local\Temp\APKTOOL2140567160205271988.
    tmp, -x, -I, C:\Users\Tobias\apktool\framework\1.apk, -S, C:\Users\Tobias\Deskto
    p\NEUERVERSUCH\APK_Dekompiliert\framework-miui-res\res, -M, C:\Users\Tobias\Desk
    top\NEUERVERSUCH\APK_Dekompiliert\framework-miui-res\AndroidManifest.xml]
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
    a:193)
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
    at brut.androlib.Androlib.buildResources(Androlib.java:248)
    at brut.androlib.Androlib.build(Androlib.java:171)
    at brut.androlib.Androlib.build(Androlib.java:154)
    at brut.apktool.Main.cmdBuild(Main.java:182)
    at brut.apktool.Main.main(Main.java:67)
    Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
    sers\Tobias\AppData\Local\Temp\APKTOOL2140567160205271988.tmp, -x, -I, C:\Users\
    Tobias\apktool\framework\1.apk, -S, C:\Users\Tobias\Desktop\NEUERVERSUCH\APK_Dek
    ompiliert\framework-miui-res\res, -M, C:\Users\Tobias\Desktop\NEUERVERSUCH\APK_D
    ekompiliert\framework-miui-res\AndroidManifest.xml]
    at brut.util.OS.exec(OS.java:83)
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
    a:191)
    ... 6 more
  12. iBotPeaches Script Gatekeeper

    Message Count:
    3,717
    These things aren't defined. Fix that XML up, and it'll build.
    DaLuigi3 likes this.
  13. DaLuigi3 Members

    Message Count:
    37
    and why they are not defined? i don't made any changes

    i need an example:

    error:
    C:\Users\Tobias\Desktop\NEUERVERSUCH\APK_Dekompiliert\framework-miui-res\res\val
    ues\public.xml:1247: error: Public symbol xml/android_apns declared here is not
    defined.

    xml line 1247:
    <public type="xml" name="android_apns" id="0x030f0000" />

    what i have to change?

    Thank's for your help:)
  14. MarkHUK Server Admin

    Message Count:
    3,854
    in ids.xml you are missing some definitions....

    open framework-miui-res.apk/res/values/ids.xml

    add in the missing entries:

    Code:
    <item type="id" name="unknown_contact_location">false</item>
    <item type="id" name="unlock_sim_via_puk">false</item>
    
    and so on... so for the other missing definitions add them in the same manner as the examples above then attempt a recompile. Also make sure none have <id name=""></id> if they do they need to be in the <item type="id" name="">...</item> format.
    DaLuigi3 likes this.
  15. MarkHUK Server Admin

    Message Count:
    3,854
    Also be sure there is no errors in layouts.xml, xmls.xml, anims.xml :)
    DaLuigi3 likes this.
  16. MarkHUK Server Admin

    Message Count:
    3,854
    will make a new one for ICS :)
    DaLuigi3 likes this.
  17. DaLuigi3 Members

    Message Count:
    37
    thank you, but if i look into ids.xml the entries
    <item type="id" name="unknown_contact_location">false</item>
    <item type="id" name="unlock_sim_via_puk">false</item>

    already exists but android_apns not and visible_panel are in there like this <item type="id" name="visible_panel" /> so
    it has to be like in your example <item type="id" name="visible_panel">false</item>? And why your examples already existing?
    (maybe theses errors will lost if the others are corrected?)
  18. MarkHUK Server Admin

    Message Count:
    3,854
    yes add whats missing :p
    DaLuigi3 likes this.
  19. DaLuigi3 Members

    Message Count:
    37
    hi,

    i minimized the errors but i got a new one...

    C:\Users\Tobias\Desktop\NEUERVERSUCH\APK_Dekompiliert\framework-miui-res\res\values\ids.xml:157: error: Resource entry list_item_padding_right is already defined.
    res\layout\list_item_padding_right.xml:0: Originally defined here.

    which one i have to remove? from ids.xml or from res\layout\list_item_padding_right.xml?

    Thanks

    edit:

    ok i have it:) the declaration errors only come up because of the wrong declaration
    <id name=""></id>
    so lets see if the builded apk works...

    edit2:
    so it compiled without errors but i saw that in arrays.xml still the wrong declaration exist
    <array name="test">@android:balblap</array>

    should i anyway change it?
  20. MarkHUK Server Admin

    Message Count:
    3,854
    it should be like <item type="array" name="test">....</item>
    DaLuigi3 likes this.

Share Our Site