Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
Discuss [HOWTO] hack iphone locales at the Genius Bar - HowTos, Guides and Tutorials - Hackint0sh.org; Well, if you extract files as in tutorial cd /tmp /usr/src/icu-3.4.1/source/bin/decmn icudt34l.dat --pkgdata > out.lst ...
  1. #11
    Newbie Array

    Join Date
    Apr 2008
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Well, if you extract files as in tutorial

    cd /tmp
    /usr/src/icu-3.4.1/source/bin/decmn icudt34l.dat --pkgdata > out.lst
    You'll put the out.lst file to the same folder (/bin/) where ICU commands (for example decmn) are. Extracted files are then on /bin/icudt34l/ folder. Obvoiusly this was the set I tried to do 'gencmn' from first. However, the command in tutorial

    /bin/gencmn -v -n icudt34l 0 < ../out.lst
    does not work since the file 'out.lst' is not in the folder the command (../out.lst) supposes. If you use './out.lst' or 'out.lst' instead you'll get:

    gencmn: unable to open listed file CurrencyData.res
    I've read the tutorial about 70 times, unfortunataly it does not get me much further... When Googling the problem I also found following recommendation by IBM guy: "I recommend that you use pkgdata and not gencmn. It's not recommended that you use the gencmn tool directly." (http://osdir.com/ml/lib.icu.c++.supp...msg00048.html).

    ifeghali, your tutorial is otherwise great, but gencmn command does not get though...


  2. #12
    Newbie Array

    Join Date
    Apr 2008
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    When I did add path 'icudt34l/' to every line in file 'out.lst' I did get the 'gencmn' through and got new 'icudt34l.dat' file.

    Unfortunataly, when I transferred this to iPhone's /usr/share/icu folder and replaced original 'icudt34l.dat' file, iPhone did not start after reboot. By using original 'icudt34l.dat' file I got iPhone to start normally.

    I did try again the procedure without making any change to .res files, i.e. just extracting (decmn) and re-packing (gencmn) the original 'icudt34l.dat' file, the result was exactly the same (no start after reboot, just Apple logo and spinning wheel running infinitely). So, there must be a problem in either extracing - re-packing or transferring files. I checked CHMODs, they were the same (in original and modified .dat files).

  3. #13
    Newbie Array

    Join Date
    Apr 2008
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I finally got it working! Earlier I did use AFPd (since I am a mac user for over 20 years and like GUI ), but it must have done something bad to the icu file, since transferring the file did crash the iPhone. Using the scp made it work and now it runs great!

    Thanks ifeghali, actually I did miss one cd command, which was the reason for out.lst didn't work for me earlier

  4. #14
    Supporter Array ifeghali's Avatar

    Join Date
    Mar 2008
    Location
    Rio de Janeiro, Brazil
    Posts
    19
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    You'll put the out.lst file to the same folder (/bin/) where ICU commands (for example decmn) are. Extracted files are then on /bin/icudt34l/ folder. Obvoiusly this was the set I tried to do 'gencmn' from first. However, the command in tutorial
    when you use the greater signal for output redirecting the file definitely should be written to the CURRENT directory, no matter where is located the application you are calling. This is how it works on my Mac and on my Linux boxes. If that doesn't works for you this way, its really weird. Anyway just ensure stuff is being written to the last directory I CDed on the tutorial and you will be fine.

 

 
Page 2 of 2 FirstFirst 12

LinkBacks (?)

  1. 04-11-2010, 07:16 PM

Similar Threads

  1. Replies: 33
    Last Post: 05-04-2008, 01:19 PM
  2. Replies: 0
    Last Post: 10-08-2007, 08:23 PM
  3. Replies: 0
    Last Post: 08-28-2007, 01:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 08:32 PM.
twitter, follow us!