Changing HTC-Keyboard -> GoogleKeyoard - myTouch 3G, Magic Android Development

Hi,
I got wanted to know if someone could tell me how to change the keyboard to the old GoogleKeyboard.
What I know, and I have already done that but it failed, was to delete the HTCIME - and copy the LatinIME + libjni.* to my magic.
When I restarted I had no keyboard.
I tried to install the apk with astro
I tried to install it with adb
but it failed...
I hope someone can help me

delete juste htc_ime.apk.
Put your latinime.apk into the tools forlder from sdk, en go on dos promp :
adb install latinime.apk
and hop

same here..
how do i delete the htc_ime.apk?
astro refuses to delete the file.

same error as before
adb install latinime.apk
917 KB/s (4799691 bytes in 5.109s)
pkg: /data/local/tmp/latinime.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
I am running nk02 ION r3 lite

I feel you mate.
I did an adb shell and delete the HTC_IME.
but the latinime does not install.
I got my latinime.apk from the french rom is 4668KB
where did you get yours?
r we doing something wrong?

I had to install Scandinavian Keyboard for it to work. After that, even the original keyboard works fine. Before I didn't have any keyboard at all. I don't know what to do for those who don't want that keyboard though.

I had my files from the rootme-rom
but afaik you need the lib files in addition to the LatinIME.apk

ok. I decided to restore the htc_ime found one in my hard drive and copied it back.
surprise, I got the what I thought was the latin_ime keyboard.
Hmmmm. is there any post with pictures of the keyboards, and features/download links?
No? Maybe we should start one?

can you link me your HTC_IME with your "latin_ime" style keyboard?

the one i'm talking about is dark grey to black, with no prediction ( as far as i can see) is that the one you want?
i got it from this rom.
http://wiki.smartphonefrance.info/(...rmware-htcmagic&AspxAutoDetectCookieSupport=1

Related

porting APK from samsung Galaxy into Dream

Hi,
I'm from Israel and we have here the samsung Galaxy sold with some hebrew support.
I would like to port some application from it to Dream/Magic so other people could enjoy it but when i try to install them in the emulator I will get different error message like:
Code:
1947 KB/s (691876 bytes in 0.347s)
pkg: /data/local/tmp/Vending.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Code:
1281 KB/s (9186 bytes in 0.007s)
pkg: /data/local/tmp/CSC.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
Code:
540 KB/s (9404 bytes in 0.017s)
pkg: /data/local/tmp/testgps.apk
Failure [INSTALL_FAILED_DEXOPT]
and even when the APK install successful it won't start:
I try to install the Gmail.apk and it just open it in the emulator and closes right on the start (no error in logcat about it)
Code:
1596 KB/s (120974 bytes in 0.074s)
pkg: /data/local/tmp/GmailProvider.apk
Success
Code:
1824 KB/s (489403 bytes in 0.262s)
pkg: /data/local/tmp/Gmail.apk
Success
any help would be great!
Thx in advance
Try adb pushing it:
adb remount
adb push testgps.apk /system/app
And you can't push the Market or install it just like that
Also there could be some libs or other files that need to be moved over that to work as well.
first - thx
market is not that interesting for me it was just a random apk i wrote
well, i push a bunch of apk into /system/app but it doesn't seems to install them, i need to restart and keep the pushed apk (i pushed hebrew fonts to check if closing the emulator will keep them - no, he doesn't)
so, how do I "restart" the emulator in order to take into account the new apks?
about the lib - they are compiled files? if so, i hope i don't need them 'cuse we don't have the source code for them
Do you know how the fonts work in galaxy? Are they from cupcake? Or are they custom made by samsung? If so, how exactly is hebrew supported? I have to replace /system/fonts/DroidSansfallback.ttf. with one from a dejavu set each time I flash a new CM rom, and it drives me crazy! I would love native hebrew support, and have PM'd cyanogen about it but haven't had a response.... do you think you could post the fonts you use?
Thanks...
yochaigal said:
Do you know how the fonts work in galaxy? Are they from cupcake? Or are they custom made by samsung? If so, how exactly is hebrew supported? I have to replace /system/fonts/DroidSansfallback.ttf. with one from a dejavu set each time I flash a new CM rom, and it drives me crazy! I would love native hebrew support, and have PM'd cyanogen about it but haven't had a response.... do you think you could post the fonts you use?
Thanks...
Click to expand...
Click to collapse
Maybe this thread could be of interest to you
http://forum.xda-developers.com/showthread.php?t=554559
you're just taking galaxy apps and pushing them to the magic.. it doesn't work like that u need to actually port it and push over the dependencies like libs and such first before u get any success. If u need any of the galaxy resources, there's a thread that has the galaxy system dump where u can pull off of. But idk why u would wanna do this as the galaxy is just the plain old cupcake we've seen for months on end with just a lil of samsung's goodies.
about the fonts - they have the same handling as the other android devices, you can push them into /system/fonts
about the apps - the regular galaxy system dump is no good here, we want to israeli application with hebrew support that they added there, that is way i'm trying to install them
are the *lib* files complied to each device or is it just binary text file? can i just insert them into /system/lib ?

Installing HTC_IME on Android 1.6

Has anyone tried to install HTC_IME from Cyanogen's prior builds? I pushed libt9.so and HTC_IME.apk and I receive the message:
"This keyboard is only for HTC phones"
Anyone have any ideas on how to get it working? I cant stand the default android keyboard and better keyboard is meh.
Have u tried this one ? http://www.mediafire.com/?tmm3tymgdzz
pull that htc_Ime from the tattoo dump its 1.6 compatible
Daneshm90 said:
Have u tried this one ? http://www.mediafire.com/?tmm3tymgdzz
Click to expand...
Click to collapse
this one just force closes on me like the others.
mykenyc said:
this one just force closes on me like the others.
Click to expand...
Click to collapse
does anyone listen?
just unyaffs the data.img thats in the tattoo dump and take the htc_ime.apk and push it over with your t9lib.so
or you can just wait a day or two till there is an update.zip for the tattoo rom and take that
unless you really really like normal android then idk what to do
i dont see HTC_IME in the tattoo system dump. i but i did find libt9.so
how do you use unyaffs please
Zarboz said:
does anyone listen?
just unyaffs the data.img thats in the tattoo dump and take the htc_ime.apk and push it over with your t9lib.so
or you can just wait a day or two till there is an update.zip for the tattoo rom and take that
unless you really really like normal android then idk what to do
Click to expand...
Click to collapse
it would even be easier if someone with that type of experience just release it to the community.
ok found htc_ime.apk in system.img apps folder
where is t9lib.so
i did find libt9.so
sitimber said:
ok found htc_ime.apk in system.img apps folder
where is t9lib.so
i did find libt9.so
Click to expand...
Click to collapse
its in the "libs" folder
different spelling also how do i push it accros keeps failing
sitimber said:
ok found htc_ime.apk in system.img apps folder
where is t9lib.so
i did find libt9.so
Click to expand...
Click to collapse
Can you do me a favor and upload in a zip the following from Tattoo
1. any liba2dp.so files (liba2dp, libA2DP, liba2sp2 and so on)
2. audio.so (should be in the bluez-plugin folder)
3. input.so (should be in the bluez-plugin folder)
4. libbluetooth.so
5. libbluedroid.so
Thanks
sitimber said:
different spelling also how do i push it accros keeps failing
Click to expand...
Click to collapse
Your going to need to be in the same directory as the files then type the following:
adb push HTC_IME.apk /system/app/
adb push libt9.so /system/lib/
adb shell reboot
Can you please link to the files? I have been trying to unpack the system dump for a couple of hours now
give me a few min
the ime file
http://rapidshare.com/files/287002626/htc_ime.zip.html
soo did my idea work then?
lib files
http://rapidshare.com/files/287004818/lib.rar.html
so i have pushed accross how do i now change the keyboard
sorry
sitimber said:
lib files
http://rapidshare.com/files/287004818/lib.rar.html
so i have pushed accross how do i now change the keyboard
sorry
Click to expand...
Click to collapse
You need to go into settings, local & text and make sure Touch Input is there. Once it is, tap and hold on a text box and then select Touch Input then you will be set.
sitimber said:
different spelling also how do i push it accros keeps failing
Click to expand...
Click to collapse
open up your command prompt and it should be reading something like
put your htc_ime.apk on your desktop and your libt9.so on your desktop
C:\users and settings\home user\
type
cd desktop
adb remount
adb push htc_ime.apk /data/app
adb push libt9.so /system/lib
adb shell reboot
your phone will power off and power on then try your htc_ime activation through your settings locale menu it should work because the package is parsed for 1.6 firmware and im not sure if the previous HTC_IME would be forward compatible with the new firmware
FYI, I wouldnt suggest flashing this version. Im now stuck in a boot loop. Dang

HTC_IME mod

Link to apk file:
forum.xda-developers.com/showthread.php?t=624416
I'm running rooted stocked 2.1...5 with this mod installed. I tried to put it in the system/app folder because there is some room in there, since I removed some apps, but it did not like it. It just kept foreclosing it.
Any idea how to put it in there or even replace the original HTC_IME?
could have something to do with it being made for the nexus one
obsanity said:
Link to apk file:
forum.xda-developers.com/showthread.php?t=624416
I'm running rooted stocked 2.1...5 with this mod installed. I tried to put it in the system/app folder because there is some room in there, since I removed some apps, but it did not like it. It just kept foreclosing it.
Any idea how to put it in there or even replace the original HTC_IME?
Click to expand...
Click to collapse
i've made one from there, and installed it. I didn't push it to /system/app.
try doing that.
also make sure you are using the low res option.
obsanity said:
Link to apk file:
forum.xda-developers.com/showthread.php?t=624416
I'm running rooted stocked 2.1...5 with this mod installed. I tried to put it in the system/app folder because there is some room in there, since I removed some apps, but it did not like it. It just kept foreclosing it.
Any idea how to put it in there or even replace the original HTC_IME?
Click to expand...
Click to collapse
First make sure you downloaded the "lo" version, since Hero is low-res. And unpack the ZIP. It's not flashable, it's just zipped for convenience.
And then you can just install HTC_IME_lo.apk from your file manager by clicking it. There's no need to manually push it into /system/app. (It's registered differently from the default HTC_IME, so it can be installed like any normal application.) If you removed Clicker.apk while you were removing junk from /system/app, you'll need to reinstall that as well.
If you really want to replace the original HTC_IME, just rename HTC_IME_lo.apk to HTC_IME.apk and push it to /system/app. I think that's what you were trying to do before.
Hope this helps!
Oh, sorry I guess I forgot to mention that it is running fine in the user folder after installing it. It's just that I wanted to put in the system/app folder to save some space. I'll try renaming it and replacing with the stocked file. BTW, I'm typing on it now and its way better than the stocked because of how much customization you can do.
I finally tied this and it's a no go. Still get FC messages. However, all seems fine when I install it as an app. I think it's because the HTC_IME.odex file which is tied to the original. Even after rebooting it didn't work.
Anyone know how to get that odex file from the new HTC_IME I'm trying to install in the system/app folder?

[APP] Droid X Keyboard Port **HOLY CRAP ITS HERE!!1!** [updated 8/13]

After seeing the sweet sweet multi-touch I went looking and found the droid x dump over on android central. Only issue is droid x dump is 2.1 and i just updated to 2.2 frf83. Can anyone repack or resign or do whatever magic needs to be done to get this out to work with froyo?
Its the LatinIME.apk in the app folder.
http://www.4shared.com/file/m8pSCMvI/droidx.html
[UPDATE 7-10]-------------------------------------------------------------------------
Unfortunately Daneshm90 isnt able to work on the Froyo port of this keyboard. If anyone is interested in helping bring this to Froyo, it would be much appreciated, and im sure you'd prob grab a few bucks in donations too.
To make the thread easier to navigate I will be posting all new info on the keyboard here as it is posted throughout the thread. AND REMEMBER ALL GLORY GOES TO DANESHM90, THE ACTUAL DEV DOING THE WORK. THANKS DANESHM90!
DESCRIPTION:
The Droid X Keyboard features full multi-touch. This is different from the multi-touch currently enabled on 3rd party keyboards-the Droid X has the capability to hold down shift and press a letter to make a capital, ie it can do more than one key stoke at once like a physical keyboard. Pretty nice.
LINKS:
2.1 Eclair-based Roms:
only thing not working is auto-captilization,auto-correct errors. Dictionary works, NOW WITH VIBRATE!! Doesnt seem to work on HTC Hero GSM or CDMA...
http://www.mediafire.com/?lumzzhdjnij​
2.2 Froyo-based Roms:
All thats not working on eclair + can't type anywhere it tries to suggest words, like the messaging body. Also voice doesnt work.
http://www.mediafire.com/?rmqzyo0ifzk​
FUTURE FIXES:
• Froyo or Bust
INSTALLATION:
To install this app, you will need a file manager of your choice. Find the apk on your sd card with your file manager and install it. From there go to your system settings-->language and keyboard--> and make sure Multi-Touch Keyboard is checked. Go back to your home screen and find a text field. Long Press and hold until the pop-up menu appears, and select "input method". Choose Multi-touch keyboard. Thats it! To disable simply long press again, select input method and choose a different keyboard. Now you know, and knowing is half the battle
Screenshot of Droid X Keyboard by Andonnguyen. &Amp has been fixed in the apk, but not in this image.
================****UPDATE 8/13/10****
Ok all you multi-touch fanatics...invisiblek over on the incredible forum has ported this to work on a variety of roms, including CM6. Find instructions and DL the files here: http://forum.xda-developers.com/showthread.php?t=753156
If you dont know ADB well, as I dont, you will be able to install this through Root Explorer, the excellent root only file manager. Basically to do this just DL the files, copy them to the appropriate places (LatinIME.apk goes in system/app, libjni_latinime.so goes in system/lib). Be careful as the .so file sometimes DL's as a .txt file, and needs to have both the extension and file name renamed to be correct before installing. It is also a great idea to rename your original LatinIME.apk to something like LatinIME.apk.bak, as well as the lib file, in case anything F's up. As a matter of fact it may even be a good idea to do a Nandroid BU, because you never know what might happen, and its prob been a while hasnt it...
Ok, so you copied them in the right places, now press and try to install your new LatinIME.apk. The first few times I tried to install this, it didnt work. However after remounting my /system as Read Only inside Root Explorer the install worked.
Thanks Invisiblek! Send this guy some donations if you can, we've been waiting for a long time on this one.
Mm, does the keyboard work on a Nexus One that's still running on 2.1, I wonder? Going to give it a try.
Here try this. Its working for me on cyan 5.0.8 on a 32a magic. I just removed the shared uid and resigned with testkeys.
Link
Brilliant, you're a gem. Thank you. Works perfectly.
doesn't work with MCR r18 (FRF72). It installs but force closes once you try to select it.
Will try when MCR r19 (FRF83) hits but I doubt that will work either.
K can u gimme the log ? thnx
Also from ur current build can u gimme ur libjni_latinime.so which can be found under /system/lib/
not the most advanced user here... tell me what to do and I'll do it.
Ok you have adb working right ?
K go start -> cmd -> adb logcat
now leave that window open and try to open swype on ur phone. Then right click the log window click select all, then press enter. Paste in this thread wht u have.
As for the lib its just adb pull /system/lib/libjni_latinime.so <wherever on ur pc>
Cant do that right now... at work. I can when I get home in a few hours.
K cool Np ill try n get vibrate working
Thanks u for great port It work well on Cyanogenmod 5.0.8
smalldroid said:
Thanks u for great port It work well on Cyanogenmod 5.0.8
Click to expand...
Click to collapse
Np. Does vibration work for u ? Doesnt for me Voice to text does though
Vibration doesn't work but I dont need vibration
force closes for me on frf83
force close on FRF72
this is the Log
http://pastebin.com/rHjF6UVn
thanks
Yeah doesn't work on stock frf83-just fc. Any way of fixing?
It seems to be the lib file. K here try this its w/o it forcing it to pull one from ur /system/lib folder
Link
I dunno if this makes a difference or not, but i completely removed the stock keyboard before installing this, i never use the stock keyboard.
These r the steps to do so
adb remount
adb shell rm /system/app/LatinIME.apk
adb shell rm /data/dalvik-cache/*Latin*
adb shell rm /cache/dalvik-cache/*Latin*
adb uninstall com.android.inputmethod.latin
I dunno if this makes a difference or not, but i completely removed the stock keyboard before installing this, i never use the stock keyboard.
These r the steps to do so
adb remount
adb shell rm /system/app/LatinIME.apk
adb shell rm /data/dalvik-cache/*Latin*
adb shell rm /cache/dalvik-cache/*Latin*
adb uninstall com.android.inputmethod.latin
Daneshm90 said:
It seems to be the lib file. K here try this its w/o it forcing it to pull one from ur /system/lib folder
Link
Click to expand...
Click to collapse
Still getting force closes on it. Can't get log since I'm at work.
Note: running froyo, using rodigezstyle's ROM

[Morph] Swype Theme / Keyboard Layouts - updated

OK, second try, (please ignore all posts up to number 17)
Here are some Swype Layouts that i collected over the past few feeks, most of them are not done by me but it is hard for me to give the right people credits cause most of the Swype threads were deleted. So please let me know if you'll find "your" png's here.
QWERTZ AND QWERTY Keyboards are modified. Currently there is no Swype Beta version out there for QWERTZ, but maybe in the future (or someone has a "modified" version already).
Compatible with all Roms and all WVGA (800x480) Swype Versions!
What you need:
- Metamorph (root, busybox...)
Instructions:
- go to data/app/ and search for com.swype.android.inputmethod.apk (or ...inputmethod-1.apk ...inputmethod-2.apk)
- move the file to system/app/ (MOVE! not Copy)
- be sure the file is called exactly com.swype.android.inputmethod.apk .. if there is a -1.apk or -2.apk rename it!
- reboot your phone! check if swype is still working properly
- copy the desired layout (the complete zip file attached, do not unzip!) to /sdcard/AndroidThemes
- open Metamorph and click Unzip/Extract new theme
- choose the desired theme
- klick Apply all
- REBOOT!
- choose swype as input method again (long click in empty input field -> input method -> swype)
- should be done now
Please report back if this works for you, this is my first Morph.
If you do not want to move your apk from data/app to system/app you might use Daneshm90 great script which pulls the swype.apk from the phone, copies the keyboard files in it, signs it and pushes it back. To get the right Keyboard files please extract them from my Morph themes (they are located in assets/keyboards) and copy them into the images folder of the script. The script backups your Swype settings and dictionary!
You can find his Script here .
Thanks Daneshm90 for the script and his kind help and Formel-LMS for his private message support!
original Style if you want to undo the changes.
Im confused, how is metamorph capable of modifying apps in /data/app ??? Those apks require resigning which metamorph doesnt do.
blah you are right, works for me cause i signed the swype apk for myself...
so cut/paste to system/app should be fine?
Thanks for the hint.. my first morph obv.
Well yea but u gotta then provide the apk which the forum frowns upon
Heres an alternative i created for another swype themer.
Link
sorry, had a "typo" in my reply. wrote data instead of system first.
what about cut/paste from data/app to system/app and then morph. Might that work?
edit: wow, awesome script!
so can i just replace your png with mine and upload the modified script? downside is that people are loosing their dictionary and have to start from "swype-scratch"
watercool said:
sorry, had a "typo" in my reply. wrote data instead of system first.
what about cut/paste from data/app to system/app and then morph. Might that work?
Click to expand...
Click to collapse
Yes, that should theoretically work. So this is wht would need to happen:
User with swype already installed will have to backup that apk.
Uninstall swype
Push to /system/app/
Then apply ur morph
Restart phone.
Or u cud use my script where all it does is :
Pulls the apk from ur phone
Extracts it
Replaces the images with urs
Repacks it
Signs it
Uninstalls swype from ur phone
Installs this modded one
watercool said:
sorry, had a "typo" in my reply. wrote data instead of system first.
what about cut/paste from data/app to system/app and then morph. Might that work?
edit: wow, awesome script!
so can i just replace your png with mine and upload the modified script? downside is that people are loosing their dictionary and have to start from "swype-scratch"
Click to expand...
Click to collapse
Hmm k. Didnt realize that. That should be an easy fix just gotta backup the /data/data folder for swype. K while im modifying the script, want me to change anything else ? such as more folders than assets ???
Daneshm90 said:
Yes, that should theoretically work. So this is wht would need to happen:
User with swype already installed will have to backup that apk.
Uninstall swype
Push to /system/app/
Then apply ur morph
Restart phone.
Click to expand...
Click to collapse
thanks for your help!
i just moved my com.swype.android.inputmethod.apk from data/app to system/app and it still works? Is this cause i have my "special" version or is an uninstall really necessary? -> edit: puh, ok.. now it is gone lol... move does not really work lol
edit: no, just assets is fine!
watercool said:
thanks for your help!
i just moved my com.swype.android.inputmethod.apk from data/app to system/app and it still works? Is this cause i have my "special" version or is an uninstall really necessary?
Click to expand...
Click to collapse
Hmm try restarting and see if it causes any issues, if it doesnt then try applying a morph and see if that causes any issues. If both dont then i guess ur fine
issues here lol, swype is gone hehe. trying to reinstall... confused right now a bit hehe
ok had to reinstall after moving from data to system.
can you adopt your script and implement my files (or i can do the copy/paste work for myself..)
here are my files (or morphs for system/app instead of data app)
watercool said:
ok had to reinstall after moving from data to system.
can you adopt your script and implement my files (or i can do the copy/paste work for myself..)
here are my files (or morphs for system/app instead of data app)
Click to expand...
Click to collapse
That'll be generic, so once i just change something in my script and upload it, u just gotta place one of ur themes png's inside the pics folder and run the script.
great thanks, please let me know as soon as you are done.
thanks again for your kind help.
K so im done the script. It now backs up swype data and restores after. One thing though, it seems as though the filename convention is different for the pngs inside assets/keyboards. Im using swype 1.56.30.7625.t100 and when i replace ur pngs inside that folder it still shows default. Is it version dependent ?
Any way, heres the script. The script version u downloaded, notice in the pics folder the filenames are:
SwypeRef_LS_Blue_HVGA.png
SwypeRef_LS_Blue_Shifted_HVGA.png
SwypeRef_LS_Editing_HVGA.png
SwypeRef_LS_Editing_Jump_HVGA.png
SwypeRef_LS_Editing_Jump_Select_HVGA.png
SwypeRef_LS_Editing_Select_HVGA.png
SwypeRef_LS_Numeric_HVGA.png
SwypeRef_LS_Standard_CapsLock_wBlue_HVGA.png
SwypeRef_LS_Standard_Shifted_wBlue_HVGA.png
SwypeRef_LS_Standard_wBlue_HVGA.png
SwypeRef_PT_Blue_HVGA.png
SwypeRef_PT_Blue_Shifted_HVGA.png
SwypeRef_PT_Editing_HVGA.png
SwypeRef_PT_Editing_Jump_HVGA.png
SwypeRef_PT_Editing_Jump_Select_HVGA.png
SwypeRef_PT_Editing_Select_HVGA.png
SwypeRef_PT_Numeric_HVGA.png
SwypeRef_PT_Standard_CapsLock_wBlue_HVGA.png
SwypeRef_PT_Standard_Shifted_wBlue_HVGA.png
SwypeRef_PT_Standard_wBlue_HVGA.png
Those seemed to work for my swype. Once again it could be version specific.
Link
Thanks, i will try this later!
No not version depended, but you're using HVGA and my files are for WVGA
Moving from data/app/ to system/app/ works now, i forgot to reboot to check it.
I followed the steps as outlined in the first post. After that swype was gone...reinstalled it via android commander...et voila: swype is back with the HTC theme (that I wanted to try out).
Thanks for the theme!!
Confused
Hey thanks for the info. I was wondering, does the swype apk have to be a "working" one? I tried may apks and all of them were out of beta. I also tried your steps and they didn't work for me. I'm just a little confused, sorry for the dumb questions.
is this for the newest version of swype? 1.60.36.8214?

Categories

Resources