Join Today
+ Reply to Thread
Page 5 of 12 FirstFirst 123456789 ... LastLast
Results 41 to 50 of 116
  1. #41
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    788

    Default Re: Ok, that's it - Localization guide!

    Ah, yes I remember. Hope I find out, how to use these tools

  2. #42

    Default Re: Ok, that's it - Localization guide!

    samkatta:
    for unpacking try

    ./cramfsck -f -x <unpack dir> <cramfs file such us 'locale' or CG34>
    try run ./cramfsck without parameters - utility shows all flags and options required to run.
    try this with ./mkcramfs too

    this tools must be in same dir as cramfs volume!

  3. #43

    Default Re: Ok, that's it - Localization guide!

    Quote Originally Posted by mischka
    Ah, yes I remember. Hope I find out, how to use these tools
    it's very simple. place script to the same directory as file iconres.ezx. Run script - ./unpackIconRes.pl

    Ahhh - you need PERL installed first in CYGWIN.

  4. #44
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    788

    Default Re: Ok, that's it - Localization guide!

    I had a feeling, this would be more complicated as cat/cramfck/mkcramfs (sigh). Obviosly we are coming closer to "Linux development department" now.

    what is Perl and how do I Install that thing in Cygwin (oh, and where can I find it for Cygwin)?

    Sorry, I'm kind of fool, doing these things, but I'm willing to learn

    And bOOster many many thanks for teaching me!

  5. #45
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    788

    Default Re: Ok, that's it - Localization guide!

    Quote Originally Posted by samkatta
    @mischka
    can you please post the parameter you used with cramfs under cygwin?
    if it's possible can you give detailed steps of what you did?
    did you get your keyboard customized or not yet?
    I didn't try Cygwin first. I used Ubuntu on my Laptop. There I wasn't able to cramfsck CG34 only merging CG41 + Cg42 to "locale", cramfsck with "locale" and mkcramfs to "newlocale" worked.

    When I tried Cygwin, I used the "locale" file merged by Ubuntu, but this will work with Cygwin too (edit: I tried and it works fine), so I write as if I'd done this.

    I put my CG34/41/42 in a folder named cgmod and copied this to C: of my PC.
    In Cygwin the path into this folder is: /cygdrive/c/cgmod/
    I later noticed, that t's more comfortable to copy the files into C:\cygwin\home with Windows Explorer (WE). Then your path in Cygwin is only: /home/

    So I will use "/home/" for what I did with "/cygdrive/c/cgmod/" (if you want to use "C:\cgmod", replace "/home/" with path above).
    After copying, I also shortened the filenames to "CG34.smg", "CG41.smg" and "CG42smg"
    Next I replaced the file "cramfsck.exe" and "mkcramfs.exe" in C:\cygwin\bin with the ones bOOster uploaded in this thread.

    first change directory to /home/ that is:

    cd /home

    you can look, if your files are there, with:

    dir



    Comand in Cygwin to extract CG34:

    cramfsck -x /home/cg34/ /home/CG34.smg

    this creates a folder in C:\cygwin\home named "cg34" and a file "rights". Use WE to browse the folder and do your changes.

    rename the new file "rights" to "rcg34"


    Command for merging CG41 and CG42:

    cat /home/CG41.smg /homeCG42.smg > locale

    You will find the file "locale" inside C:\cygwin\home


    Comand for extracting locale:

    cramfsck -x /home/cg412/ /home/locale


    the new folder "cg412" can now be opened with WE. Change your .kbd file in \language\inputmethods.

    rename the new file "rights" to "rcg412"


    Comand for repacking to cramfs:

    mkcramfs -c -n 'Compressed ROMFS' /home/cg34/ new34 /home/rcg34

    mkcramfs -c -n 'Compressed ROMFS' /home/cg412/ new412 /home/rcg412

    If you change any files to different names, the rights file should be edited and the path to every changed file has to be written in.

    Then resize the files with XVI32 (free hex editor)
    As I didn't know how to split with XVI32, I used Cygwin for this, it's easy:
    Look what filesize in Bytes the original files have (right click in WE, then properties)

    Comand for splitting newlocale:

    split -b 1234567 /home/newlocale new4x

    ("1234567" is filesize in bytes of original CG41)
    Now in folder C:\cygwin\home you will have:

    new34
    new4xaa
    new4xab

    Rename them to their names they had when you copied CG file while flashing (new4xaa = CG41, new4xab = CG42).
    Then flash phone and copy them quickly into flashing folder when phone shows red display" ("overwriting existing files?" "yes all")
    .... flashing... , ...wait..., flash failed!
    Remove battery, insert it again, start phone, relax.

  6. #46
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    788

    Default Re: Ok, that's it - Localization guide!

    Ok, next step:
    Thanks to bOOster, I've managed to unpack iconres.ezx!

    copied the folder "icon" from cg34 to C:\cygwin\home
    copied "unpackIconRes.pl" from bOOsters upload in C:\cygwin\home\icon

    Started Cygwin installer. Selected Perl packages to install, ...wait.., done.
    Started Cygwin.

    Cygwin command:

    cd /home/icon

    ./unpackIconRes.pl

    with WE i can now look in new folder "C:\cygwin\home\icon\icons" and it's full of .gif images
    Modified InputW_Symbol.g.gif according to my modified symbol_cn.kbd file.

    But how do I build new iconres.ezx?
    tried several possibilities with calchash.pcc and MotoEzx.pl but only produced errors and a nearly empty file.

    What is gcc? do I have to install another utility in Cygwin?

  7. #47

    Default Re: Ok, that's it - Localization guide!

    mischka - you need use utility from my archive for cygwin for packing - also there many troubles would be.. CRC, rights, files owner.
    command you need must be with -c flag: this modify CRC in file to Motorola CRC Linux phones format (bytes reversed).

    mkcramfs -c -n Compressed ROMFS /home/cg34 new34 <rights file>

    Yes. GCC this is С++ complier you need install it too. Then, goto directory where calchash file. run 'gcc calchash.cpp'. After that you can see file a.out - rename it to 'calchash'. After that you can run 'buildicons' script.
    Write error there if any!

  8. #48

    Default Re: Ok, that's it - Localization guide!

    The español is already out!!!!

    R532L4_G11.48.0BR
    L4 stands for latin america getting ahold of these mp that's going to be the real trouble but wholesalers are already offering themin miami with spanish included!!!!

    i got an email tonight stating these!!!
    Motorola A1200 New Kit, w/Spanish GSM 100 Call

  9. #49

    Default Re: Ok, that's it - Localization guide!

    Where is it? Share it with us!

  10. #50
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    788

    Default Re: Ok, that's it - Localization guide!

    Quote Originally Posted by bOOster
    mischka - you need use utility from my archive for cygwin for packing - also there many troubles would be.. CRC, rights, files owner.
    Yes bOOster you are right, this is the correct way. I had trouble with my "newlocale" created with Ubuntu linux beeing root. I copied the file to a harddrive where I have access with Windows. But Windows had problems showing the file.
    with Cygwins mkcramfs there was no problem at all. I opened it with XVI32 and resized it by adding 00-bytes. Splitting with Cygwin and flashing didn't cause any problem either.My phone is working well with these files.
    (edit: All preinstalled apps didn't run anymore it's necessary to use the mkcramfs from bOOster if you want working picsel browser, FlashPlayer and help! I edited my guide above so it's easy to see how to use this)

    I found gcc in Cygwins installer! just installed it but had to go to work. Will do the rest this evening.

    I'll post when I'm ready (or got stuck)


 
+ Reply to Thread
Page 5 of 12 FirstFirst 123456789 ... LastLast

Similar Threads

  1. The Hindi Language Localization Project
    By Konig in forum Development
    Replies: 75
    Last Post: 07-27-2010, 02:40 AM
  2. [INFO] Flashing with RSD Lite & Troubleshooting Guide
    By V.Razr.X in forum A1200 General Chat
    Replies: 376
    Last Post: 07-26-2010, 11:35 PM
  3. INFO: A noob's guide for GPRS on laptop
    By pakure in forum E6 General Chat
    Replies: 1
    Last Post: 10-23-2007, 01:53 PM
  4. Replies: 0
    Last Post: 09-28-2007, 04:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1