yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] jashsu:
Interesting...

The version of HTC_CIME included here is ripped out of Haykuro's Magic preview code, which means it was probably still beta code when it left HTC. I have not used Cangjie mode so I cannot verify the error. Can you try downloading the original 9mb version and installing it?

http://drop.io/htc_cime

TEST_ONLY_9mb.zip

Let me know if that fixes the Cangjie problem or not.
[G1 Android Development] peppens1:
Hi!

anyone can help me to extract the italian t9 keyboard from an Htc Magic?

http://xdaforums.com/showthread.php?t=517676
[G1 Android Development] kankunbi07:
tried, not help.
[G1 Android Development] jashsu:
I assume that it is a bug from HTC then. This is from a preview build, so that might be the case.
[G1 Android Development] mycnam:
Offical HTC Magic is out... Can we get the ROM of it?
[G1 Android Development] jashsu:
Yeah. I've been seeing the commercials for it non-stop on the National Geographic channel here in Taiwan. It doesn't demonstrate much though. I think i'll stop by a HTC store to see if they have any demo units.

As for getting an updater, idk. Do you know anyone at HTC? ;) One of my friends does, so we'll see.
[G1 Android Development] mycnam:
Can you update it with the HTC_CIME in Hero? It seems newer...
[G1 Android Development] aiyo:
How to make more space

Hi, Jashsu

As you mentioned:

WARNING: YOU MUST CHECK WHETHER YOU HAVE ENOUGH SPACE IN /SYSTEM TO INSTALL BEFORE PROCEEDING. JFv1.51 US BUILD DOES NOT HAVE THE 7.2MB REQUIRED*.

Now, I have updated to JF1.51 EU and all space the /system is used. How can I free some space to install CIME? Otherwise, should I use another ROM such as Haykuro's Rom?
[G1 Android Development] kanariya:
Does this work on ION?

I did a wipe flash of the ION rom and then flashed the HTC_CIME.

It didn't show up on the locale menu for the touch input chinese option.

Just the plain old android keyboard option.
[G1 Android Development] jashsu:
I would suggest using JF1.51 ADP build.

I don't see any reason it shouldn't work, but I haven't touched Ion build yet so I can't say first-hand.
[G1 Android Development] jashsu:
Done and done. Just run the new installer and itll overwrite the old files.
[G1 Android Development] youuishype:
my insallation keeps aborting it wont work... what should i do>?
[G1 Android Development] sapience:
Hi, Jashsu

Thanks a lot for the information. I just find your post by googling.

I notice that your method requires root the phone. However, my T-mobile (in US) G1 was just updated automatically OTA to Cupcake. All the methods to root the phone I found online were applied to RC29 & RC33.

I'm wondering could you explain how to root the phone which already has the OTA 1.5?

Thanks.
[G1 Android Development] jashsu:
Check the MD5 of the downloaded updater with the one I posted. If it doesn't match, redownload the update until it does.

Just follow the rooting guide linked in the helpful threads sticky.
[G1 Android Development] zeezee:
Wow very nice! Working great for me :)
[G1 Android Development] tbgreen:
thanks man, just update and so far working great as described. Am currently with Jf adp 1.51 and everything seeems fine. ThaNKS man.
[G1 Android Development] hkfriends:
how to "Uncheck Android keyboard ". help :confused:
[G1 Android Development] jashsu:
Open your Settings > Locale & Text and look for the Android keyboard option. If it is checked (it should be for a fresh JF1.51 install) then tap it to uncheck it. Also remember to tap the Touch Input Chinese option to check it.
[G1 Android Development] mcmugchu:
how can i update this into any roger rom? i found that i cant replace the default one in roger.
[G1 Android Development] hankit:
Can this be apply to ion rom? I have try to install it..but the keyboard still remains the old one :confused:
[G1 Android Development] gPhunk:
I am running the Ion as well and can confirm it works great
[G1 Android Development] lilwill2806:
how do i remove

hey i have just updated the keyboard using this update.zip file and now i have the HTC_IME installed as well whick i like much better how do i go about removing the chinese verizon....
[G1 Android Development] hankit:
Actually, I'm trying to use it on Sapphire (Google Ion version)..but I never been able to make it work...all I have is still the small original android keypad...

Can anyone help me out? I have try adb and update zip both doesn't work
[G1 Android Development] setspeed:
Have you gone into Settings->Locale and text, and unchecked Android keyboard then checked Touch input?

Sorry if you have done this and its obvious, but it took me a little while to work it out!
[G1 Android Development] hankit:
I finally manage to get it working..its actually different from Sappire/Magic/Ion...

I have it install by push and the check box finally showed up..

However in order to use it as your keyboard..you will need to hold on to the field you type and a box shows up which allows you to pick the CIME keyboard

Now the problem i found is...when i go side ways...it will just force closes...

Is this the problem from HTC (as i read this is from preview build)

P.S: I have Google Ion (dev of magic), with Ion rooted rom...
[G1 Android Development] jashsu:
Can you please elaborate on why you couldn't use the update.zip file? Did it return an error message?
[G1 Android Development] hankit:
Sure!

The first time when I install through update Zip, the check box never appear..so there is no way I know if it's enable or not...as I assume that you need to check the option to have it enable..

so after many time's of failure, installing it through astro or just the apk (which doesn't copy the lib files)...i ended up push the files myself and install it by adb

that's how I mange to have the opition to check the enable chinese input function..which has a pop up screen to reconfirm the operation...

I have also try to do it the way that you use HTC_IME where you copy to system/app..which gives me the no check box (but the opition menu is there for chinese input)

so it seems somehow its not fully install or somehow the file might be in the wrong location causing the check box to be gone...i'm not expert..but that's what i come across
[G1 Android Development] jashsu:
Did you check to see whether you have enough space left in /system to fully install? I don't know if the recovery tool will return an error if you run out of space while installing update.zip.

You can check by opening Terminal Emulator and typing df. Look at the line for /system. If you have 0K left then chances are CIME did not fully install.
[G1 Android Development] hankit:
Actually I have enough space to install because I have still about 283/295 mb left..(basic rom + htc_cime) in the internal memory

The install is successful for the update zip...and there aren't any problem at all through out the process...just somehow the check box doesn't appear..

installing by standalone apk from astro..also works fine (even though without copying the lib) the check box also appear

just somehow when update zip is used or copy to system app the check box simply disappear...
[G1 Android Development] jashsu:
Did you use adb install or adb push for the htc_cime.apk itself?
[G1 Android Development] hankit:
adb install :D
[G1 Android Development] jashsu:
adb install puts the apk into /data/app whereas the update.zip puts the apk into /system/app (where it normally belongs). I'm guessing the reason you're having problems is A2SD related. Get rid of A2SD and the updater should work flawlessly.
[G1 Android Development] hankit:
How do I get rid of A2SD?? Do you mind showing me in details?

Also I want to ask, is there a way to fix the force error issue when the keyboard rotates side ways?

lastly, is it possible to delete or enable HTC_CIME as main keyboard instead the normal andriod one?
[G1 Android Development] RegulatorG1:
installed this on Cyanogen's v3.4 rom and it works like a champ so far.

no known issues right now.
[G1 Android Development] overpower:
Are you sure you have enough disk space?

Hankit, double check that you're looking at the /system partition. On a fresh Cyanogen Mod without the latest SPL, my df is stating that /system only has 7,152K free of ~69,000K total. However, if you look at /system/intmem I have 45,760K free.

Under settings -> sdcard and internal memory, internal memory is reporting 405MB free. This is the total internal memory free space but DOESN'T necessarily reflect how full your /system partition is.

From what I can tell, all the IMEs dump into the /system partition, so even if your phone reports free internal memory, the /system partition may very well be full and you'll experience the problems with update.zip you're reporting.

That aside, does anyone know if there's a way to increase the size of the /system partition? I'm trying to install both the Chinese IME, and the Japanese IME, and I think it'd be easiest to not have to custom repackage those to dump library files elsewhere, modify paths, do any symbolic linking, special mounting, etc.

If I'm wrong about anything, please correct me.

Update:

So I did more searching and it looks like one way to increase the /system partition is to install the new SPL that Haykuro developed in May. Anyone know which partition the extra space was taken from?

Warning:There appears to be bricking issues that haven't been resolved yet.

http://xdaforums.com/showthread.php?t=515822

Reading the most recent posts about the SPL, as long as you have the latest radio and you follow the instructions carefully you should be fine.
[G1 Android Development] ekoeko:
ummmm... I need some helps, Can u help me please?

I download the htc_cime, and I've got the file,

um..... where do I put the file in??

Can u help me please ^^.....
[G1 Android Development] jashsu:
The first post wasn't informative enough? First, check your free /system free space with df. If you have enough (7MByte), put the file on your sdcard, rename it update.zip and then reboot into recovery.
[G1 Android Development] ekoeko:
i download the installer to install this file, and i can use it for a day, but it doesnt work now ??
[G1 Android Development] mr_roboto:
Hey everyone, if I am running the original htc_cime_hr3_update.zip and want to go to the newest hero 7mb version, do I need to uninstall the previous or just install over? If so, how do you uninstall it?
[G1 Android Development] jashsu:
You can just install it over. If you would like to uninstall first you need to open up a root console, remount /system and rm the following:

/system/app/HTC_CIME.apk

/system/lib/libcimet9.so, libimezi.so, libpphwr.so

/system/lib/zi/*

Then you can install the hero version as normal.

I will be uploading a version extracted from the 中華電信 (Chunghwa Telecom) Magic later tonight. It's subtly different from both Haykuro versions. Slightly smaller too.
[G1 Android Development] jashsu:
I will be revamping this entire thread into a general purpose OEM IME (IMEs bundled into stock builds) library later tonight or whenever I find the time to get cracking on it. For now, the CHT Magic HTC_CIME is now uploaded.
[G1 Android Development] aspirin240:
Can I ask what's the difference between htc_cime_haykuro_hero_6.9MB_update.zip and htc_cime_cht_magic_6.6MB_update.zip?
[G1 Android Development] gPhunk:
Hankit - You probably have resolved this by now, but if not this MAY help. I am running the Saphire Ion ROM (Ver r2) AND have Apps on my SD (via Lucid's script) as well and haven't had any issues. I however didn't push it via adb but extracted the HTC_CIME.apk file from the original post zip file and put it on my SD card. I then installed via Astro and rebooted. After unchecking Android Keyboard in Settings I haven't had any trouble with force closing or rotate issues. Hope this helps!
[G1 Android Development] jashsu:
The haykuro hero version seems to be newer/more beta than the chunghwa magic version. It has the numerals as alternates of the main keyboard. The CHT version shows a tutorial when you first use the keyboard. Other than that they are pretty much the same.

I ripped the CHT version from a CHT Magic dump posted in Sapphire forum hoping it would give me Traditional Chinese glyphs when using pinyin input. However I think the Traditional/Simplified is dependent on what locale the CIME detects the system is set to.
[G1 Android Development] hankit:
Is the magic version is more stable?

I hero version that i download from here used on my ION, force closes ONLY if I select hand write chinese input...

so if I just use the english keyboard..it will have no issue.....

it will force close just clicking it...and it will force close before it shows the writing pad..

SO..will the magic version have hand writting as well?? and larger keys?? (I have fat fingers:o
[G1 Android Development] jashsu:
Unfortunately I can't say since I haven't used Ion build before, but using JF1.51 I have never experienced force close with any version of HTC_CIME (in English, Handwriting, or Pinyin). It can't hurt to give it a try tho.
[G1 Android Development] hankit:
is the Magic dump version has the same large keyboard layout as HERO's? or?
[G1 Android Development] jay22are:
been looking this....ty
[G1 Android Development] parrot5:
My Rogers Magic is in Canada, and I have only English and French to choose from (:mad:). Any hope for adding (or just switching to) Traditional Chinese inputs? (I have installed the HTC_CIME update, but would like to add Traditional characters to the PinYin method)
[G1 Android Development] overpower:
Working in Cyanogen 3.5.x?

Anyone getting force closes in Cyanogen's 3.5 branch? It was working for me fine in 3.4.x.

Just want to make sure its not just me.

Edit: Went back down to 3.4.6, and back up to 3.5.1 and everything seem ok again. Not sure what changed as I didn't wipe it.
[G1 Android Development] jashsu:
This frustrates me too. Apparently the choice to use traditional vs simplified is not hard coded into the CIME itself, since even when I installed the CIME ripped from Taiwan Magic, it still gave me simplified characters in pinyin mode. I believe that it chooses whether to use traditional or simplified based on the system locale setting =(
[G1 Android Development] parrot5:
Does that mean that if I can live with an all-Chinese user interface (:eek:), I can choose my system locale to be Chinese and get traditional inputs?
[G1 Android Development] jashsu:
I think so, but the build has to have Traditional Chinese locale built in or hacked in. I am not completely sure, so if you could confirm this I would appreciate it.
[G1 Android Development] jashsu:
Completed. If anyone knows of some OEM IMEs to add to this list, please let me know. Also, all previous links to the drop.io are invalidated as I have renamed the drop.
[G1 Android Development] shaka_1205:
I just downloaded htc_cime_haykuro_hero to the SD card of my dad's Magic. Renamed it update.zip. Rebooted into recovery but it won't install. It says:

E: No signature (16 files)

E: Verification failed

Installation aborted.

Why is that?

EDIT: Ok went through the thread and found out about testkeys. Now I got find those on the forum. Where do I start....
[G1 Android Development] zgmf-x322a:
totally agreed!!
[G1 Android Development] Henchman:
I have to run Apps2sd on every reboot.

Seems especially the dalvik cache keeps reverting to internal.

Also causing a longer boottime.

Is this normal?

Oh, yeah, I'm on 2.1
[G1 Android Development] jashsu:
In short you need to have 'rooted' your phone.

Doesn't seem like an IME problem.
[G1 Android Development] juniormarco:
Hi jashsu,

Thank you for your great work!

I am running G1 with CyanogenMod with App2Sd enabled but failed to use any chinese input with HTC_CIME, frustrated

Is the HTC_CIME a must to install on the device? or do you have any solution?

Appreciated
[G1 Android Development] nekomania:
Me too, just installed CyanogenMod 3.6.1 and love it so much! It's super fast, super stable and the Auto-App2SD is totally painless! But the only one drawback of this firmware is: there are only 5MB left on the system partition, meaning no luck on installing any of the asian IMEs? I see a lot of free space available on /dev, /data and /cache, so is it possible to install them on another partition? or maybe install them on the SDcard like the rest of the apk apps?

I personally need both Chinese and Japanese input, but preferably don't want to risk installing new spl...

Thanks in advance. ;-)
[G1 Android Development] jashsu:
You might try putting the IME files in a folder in /data and then creating symlinks in the appropriate directories in /system. I haven't tried it before, but it should fly. Alternately, could also use baksmali to decompile the dex files and change the hardcoded locations of the support files. That would be a little more complex. I wouldn't attempt that one, as I prefer to keep things as stock as possible.
[G1 Android Development] mcmugchu:
How can I install this into JacHero rom?

I've tried but only handwriting works
[G1 Android Development] rubensun:
uninstall android keyboard enable t9

Any idea how to enable t9 with IME and uninstall stock android keyboard IME?

I directly flashed cyanogen 1.5r2 build with this.

everything is working beautifully, but the above would be great!

R
[G1 Android Development] nekomania:
I want them so badly but unfortunately I don't have enough Linux knowledge to get the symlinks working. So I did it the hard way by flashing the SPL to the Haykuro's lastest build (1.33.2005). This give me more space on \system partition so I have successfully installed both Chinese and Japanese IME on the latest CyanogenMod 3.6.5 without any problem.

Here are some df information if anyone interested:

Original G1 SPL with CyanogenMod 3.6.x = /system :about 5MB available

Haykuro's SPL 1.33.2005 with CyanogenMod 3.6.5 = /system :about 28MB available

Haykuro's SPL 1.33.2005 with CyanogenMod 3.6.5 + CIME + JIME = /system: 92160K total, 82568K used, 9592K available.

(Flashing the Haykuro's SPL could be dangerous, it works but I don't recommend this. I still hopes if anybody is kind enough to write a step-by-step guide on setting up the symlinks or provide any other alternative solutions to install them in a better and safer way, if possible. :) )
[G1 Android Development] rubensun:
silly got t9 to work.

so now my question is...

how can I uninstall touch ui, android keyboard, so that all I have remaining is touch input chinese.

man. intelligent touch t9 makes the keyboard redundant. can totally imagine having a sapphire / magic now...
[G1 Android Development] nemo.mole:
I am also from Taiwan.

If it could work in Hero rom,that's perfect! :)
[G1 Android Development] mr_roboto:
Thanks for your continued support on this, just flashed the magic 6.6mb update and works great. I have 6400KB free on JF 1.51 ADP
[G1 Android Development] ben@M:
working now

Thanks, Hankit. I made it working on my HTC magic now.

Thank you jashsu too, you guys are great.

Vodafone AU

SAPPHIRE PVT 32B ENG S-OFF G

HBOOT-1.33.2004(SAPP10000)

CPLD-10

RADIO-2.22.19.261

SPL From Here Thanks Amon_RA
[G1 Android Development] mcg:
I read that there are "identical files" in the lib I must copy for handwriting landscape to work.

I downloaded the HTC Magic CIME from the front page but I don't see any files to push into the lib folder. I already have the files in /zi/ so I need the ones that are supposed to be in /lib/ that are missing in my phone.

I'm getting annoyed that the CIME is crashing in landscape mode... well, at least for handwriting...someone please help!

Edit: Read past a couple of pages and apparently the files are not needed. Why am I still getting horizontal mode force closes? Is it because I am running the Magic?
[G1 Android Development] jashsu:
Hm..

Yeah they are not supposed to be necessary. What build are you running?
[G1 Android Development] mcg:
Hmm I am running the HoFo Community ROM 1.04, is that what you are asking? I'm still new to the lingo so sorry if I don't understand!
[G1 Android Development] jashsu:
Try a different build I guess? The IME packages in the first post I can guarantee will work on JF1.51 and anything based on or similar to that build (e.g. Ion-derivatives). I could try troubleshooting it if you provided an event log.
[G1 Android Development] mcg:
How do I provide an event log? I will be glad to do that.
[G1 Android Development] jashsu:
If you have the SDK installed, just plug the phone in and run DDMS. Otherwise, install the Log Collector app from the Market.

http://www.cyrket.com/package/com.twofortyfouram.logcollector
[G1 Android Development] mcg:
Oke dokes, will do. Thanks!
[G1 Android Development] mcg:
http://www.sendspace.com/file/p88gu3

Here is the link to the log file. Please share any insight you can find... thanks... this is really getting to me... been trying to fix it for days to no avail.
[G1 Android Development] jashsu:
Hm. Was there any previous version of HTC_CIME or HTC_IME installed prior to using the update.zip? What build is this "HoFo community rom" based on?
[G1 Android Development] mcg:
Hmm apparently this ROM had a dormant CIME installed, eg. the files in /zi/ were there, as well as the files in /lib/, but no HTC_CIME.apk installed.

I removed all the files involved (eg. the .so's in lib and the z8d's in /zi/ and pushed all the files in your update.zip (for the Magic) into the phone. Checked the files were all there and fired up the phone.

The Hofo Community ROM is based on the ROGERS Stock ROM with some additional apps here and there, as well as added ringtones and other stuff.

Does the log provide any useful info? How are you interpreting the output?
[G1 Android Development] jashsu:
If HTC_IME exists in the /system/app folder, remove that too.

By the way are you using the T9 or QWERTY kb?
[G1 Android Development] mcg:
Hmm OK I will try.

I am using the QWERTY keyboard

Edit: Wait, is the T9 keyboard the phone keypad? I am just using the default settings that came with the CIME, eg. QWERTY
[G1 Android Development] j8dailo:
i am not able to install this zip file no matter what..

it keep saying

E: Failure at line 2:

copy_dir PACKAGE:system SYSTEM:
[G1 Android Development] jashsu:
Wow, that's a new one. Do you have a /system directory? :D

Seriously though, is any part of your /system partition moved to sdcard?
[G1 Android Development] jashsu:
Hm. Well that's most likely not it then. Maybe if you posted a list of the contents of your /system/app and /system/lib?

I think an easier solution would just be to flash JFv1.51 and patch in whatever it is you want from the build you're currently using (e.g. ringtones or apps or whatever).
[G1 Android Development] igashu:
Has anybody noticed that some of the hardware keyboard autocorrects cease to function when the Touch Input Chinese IME is active? It seems like it is a superset of the standard Touch Input IME, so I'd like to leave it active as my default IME. However, some of the nice things I've gotten used to, such as automatically capitalizing the i in I'll, automatically adding apostrophes in words like don't, etc... don't seem to work with Touch Input Chinese active.

Any thoughts? I tried looking into some of the configuration options but couldn't seem to find anything.
[G1 Android Development] mcg:
Hmm, I don't think JFv1.51 is compatible with the Rogers HTC Magic :o

EDIT: Problem solved... for some reason HTC_CIME.apk was missing in the system/app folder, which baffles me. Installing it via. adb install should put it there in the first place!

Anyways, I am happy that it works now. Thanks a lot for the help!
[G1 Android Development] ruijia:
Jashsu, can you tell me how to remove the default htc_ime? i typed df in terminal and it only has 6096k avaliable on system. i'm currently runing jachero 2.73 lowsd version which i believe most system apps is on sd except widgets and touchflo. can you tell me how to adb remove htc_ime and adb push htc_cime?thx in advance!!!
[G1 Android Development] mcg:
connect your phone to computer

load up the daemon by typing adb root, or whatever

adb shell

cd /system/app/

rm HTC_IME.apk

exit

adb push <HTC_CIME.apk location> /system/app/
[G1 Android Development] ruijia:
thx! mcg. but it doesn't work. i guess i should also adb push all the .so files