Ripping e975 keyboard, force closes. - LG Optimus G (International)

I'm trying to rip the keyboard found in this rom. It's probably just the generic updated lg keyboard though.
http://bbs.gfan.com/forum.php?mod=v...80&recommend=1&typeid=6880&orderby=recommends
When i pull the keyboard apk and it's related theme files and try to replace the existing one by pushing them, everything is fine. I can open the settings menu and play with the new features, but when i try to select the keyboard as the default one, it continually force closes.
I tried odexing the apk to see if that would fix it, but no dice.
Do i need to pull the framework.res and other files as well?

Related

Why won't keyboards install on the newest Fresh Rom?

I've tried the ADB push and apk installs. I've tried the AOSP keyboard and the Droid X themes. Nothing works. Are there any answers?
I had the same issues....I used Root Explorer and the native applications setting to fix my issue. First I went to Settings--Applications--Manage Applications--"Running" tab--HTC_IME (or HTC_IME Mod)--press to highlight and enter--force close this--clear data. Then go to Root Explorer--System--app--long press the apk and delete (might have to edit permissions). Then re-install the keyboard using the apk.
Also was the remedy for the Facebook update issue I was having.
Good Luck
I deleted the file. Can you upload an APK you used? Mine aren't installing.
bump......

[Q] need help with theme

my first attempt into creating a new theme it's just a swype keyboard however i get fc when i try to open it. i am on starburst 1.95 i wipe after applying before launching. i modded png files compressed them originally i thought the apk being 6 megs was my issue but i have the same issue after compressing them. I didn't know if the apk needed to be resigned so i first tried without signing then with signing with the same result. can someone help me find what i screwed up.
didn't download your file to look but did you change any .9.png's ?
if all you changed were png's the .9.are probably causing your problems.
try this.
if just changing normal pngs just unzip the .apk (its a zip file) edit your png files and zip it back up.
see if that works.
once you get that going there are quite a few good tutorials out there on modding .9 files.
they take a few extra steps.
they are all .png
i have noticed swype themes for other phones don't completely work or they don't swype at least, but they do work for standard typing. my failed theme however just force closes so i am thinking this is a different issue not necessarily compatibility. the swype i modded was pulled from starburst, my current rom.
their is a com.swypeinputmethod file under data/data i am not sure if or how this effects the swupe.apk in system/app. thanks for the reply
try replacing the png files without decompiling the .apk first
just rename .apk to .zip and extract to a folder then rezip and change back to .apk
or easier just open the zip without extracting and copy the files to thier spots and close.
this way you don't have to worry about all the decompiling and signing.
it works
i got it
since it is a no install system app i just put it into the rom and installed the rom, i also got a fresh apk to dump the png's into not sure what did it but it is now working and i can look for something else to theme, skin or play with.
thanks guys

[Q] How to add SwiftKey to a Rom as default keyboard.. [SOLVED]

The title pretty much says it all.. How can I change latinIME from a Rom to SwiftKey, so it is my default keyboard..?
Tried it the same way you can change launcher, giving it the same name, but doesn't seem to work..
Grtz and thanks in advance..
Hi TimHermans,
Do you mean to flash the app so that it runs as a system app, or selecting SwiftKey as the default keyboard? FWIW, having a keyboard running as system can lead to FCs, especially when there is an update. If you want to set SwiftKey as the default keyboard, there is a setting in Language Settings where you can set Text Input. Once you set it as default, the system keyboard should no longer be cached. However, to be sure, you can always freeze latinIME, though I'd just leave it and set SwiftKey as default.
Also, If you are running ICS/JB, I think you can just disable the system keyboard from App Settings, which is the same thing as freezing btw.
In case you really want to run it as a system app, you have a few ways to go about achieving this task, but make sure you set the permissions correctly, otherwise it might not work at all. If you have renamed and moved the app to /system/apps did you remember to fix the permissions?
Re: [Q] How to add SwiftKey to a Rom as default keyboard..
While installing swiftkey provides an option to mark it as the default keyboard. You didn't get that option?
Or go to settings, language and keyboard and there you can select and set swiftkey as your default keyboard.
Sent from my HTC Desire
Re: [Q] How to add SwiftKey to a Rom as default keyboard..
I think I didn't express myself that good.. Of course I know how to set it as default keyboard, but I wanted to know if I can replace the default latinIME with it, in the rom's zip, so it is pre installed as default..
Grtz
Re: [Q] How to add SwiftKey to a Rom as default keyboard..
TimHermans said:
I think I didn't express myself that good.. Of course I know how to set it as default keyboard, but I wanted to know if I can replace the default latinIME with it, in the rom's zip, so it is pre installed as default..
Grtz
Click to expand...
Click to collapse
I've done this with swiftkey and other apps like launcher/sms/calendar on mildwild oxygen, works fine.
Not all apps work on system partition however, bit of hit and miss, never had any luck with Swype for instance.
When swiftkey and other system apps get updated, use an app like system cleanup to move then back to /system
@eddiehk6: How did u do it exactly..? Could you explain it in more detail plz.. still can't get it to work. (Swiftkey)
Thnx in advance mate..
I have tried replaceing the latinIME by renaming swiftkey to latinIME but that gives me force close.. i think its because swiftkey has a config wizard at forst start, dunno..
Grtz
Some apps don't work from system partition; what you could try is to delete the stock keyboard (in this case, LatinIME) and add swiftkey to data partiotion in rom (most roms have a data/app folder, apk placed here behave after install as regular, not system apps)
Re: [Q] How to add SwiftKey to a Rom as default keyboard..
TimHermans said:
@eddiehk6: How did u do it exactly..? Could you explain it in more detail plz.. still can't get it to work. (Swiftkey)
Thnx in advance mate..
I have tried replaceing the latinIME by renaming swiftkey to latinIME but that gives me force close.. i think its because swiftkey has a config wizard at forst start, dunno..
Grtz
Click to expand...
Click to collapse
Try clearing data in swiftkey app first?
If not then 2 ways:
1. When installing the Rom from scratch, open the Rom with 7zip (double click, don't extract). Copy your purchased swiftkey apk into /system/app. Close 7zip, full wipe and install as normal.
2. If Rom is already installed, install swiftkey like any other app from play store, then use another app like system cleanup to manually move to system/app and reboot.
In both cases make sure you have enough free space in /system, otherwise Rom won't boot. You can delete latinIME anytime afterwards once you get swiftkey working.
Re: [Q] How to add SwiftKey to a Rom as default keyboard..
Yes i lnow that.. But thats not what i want.. I want to replace latinIME.APK in the install zip from ROM.. Hope somebody gets me..
Greetz
TimHermans said:
Yes i lnow that.. Nut thats not what i want.. I want to replace latinIME.APK in the install zip from ROM.. Hope somebody gets me..
Greetz
Click to expand...
Click to collapse
i understand exactly what you want lol, because i do exactly what you describe with mildwild oxygen.
i've basically given the instructions, i'll spell them out in a bit more detail:
- make sure you have purchased and downloaded swiftkey apk to your phone already
- copy the apk from data/app or sd-ext/app onto computer by using a file explorer and/or cloud app like dropbox
- double click to open your rom.zip with 7zip (don't extract).
- delete latinIME.apk from system/app
- copy swiftkey.apk into system/app, you won't have to rename it
- close 7zip to update rom.zip
- full wipe and install rom, assuming you have correct hboot and sd-ext correctly setup etc...
this works for me with mildwild oxygen, not sure if it works with all roms. once the rom boots for the first time you may have to skip all the initial account/wifi setup screens if swiftkey keeps crashing before it's done the setup process.
if this method still doesn't work for you, i recommend keeping latinIME.apk in system/app so you definitely have a working keyboard when you do first setup from full wipe. then setup swiftkey by signing in etc. just delete latinIME.apk afterwards, the end result is the same...
[if all you want is swiftkey as system app with your existing rom (without having to full wipe and start all over again), just install swiftkey like any other app, then use systemcleanup to move it to /system/app like i said before. delete latinIME.apk afterwards, the end result is the same...]
Re: [Q] How to add SwiftKey to a Rom as default keyboard..
Thnx man for the good explanation.. The initial setup is the problem, can't get it to complete because of fc's.. No problem..
Grtz
Re: [Q] How to add SwiftKey to a Rom as default keyboard..
I think I kinda found a workaround.. I managed to create a flashable zip with titanium backup, it also adds data so no configuration wizard I guess.. So I'll create Rom with no keyboard and flash the zip afterwards.. No time now so I'll do it later..
Was also thinking whether it is possible to add data (as in settings) of system apps to a Rom..? (meaning the install zip..)
Could be a definite fix I think..
Grtz
TimHermans said:
I think I kinda found a workaround.. I managed to create a flashable zip with titanium backup, it also adds data so no configuration wizard I guess.. So I'll create Rom with no keyboard and flash the zip afterwards.. No time now so I'll do it later..
Was also thinking whether it is possible to add data (as in settings) of system apps to a Rom..? (meaning the install zip..)
Could be a definite fix I think..
Grtz
Click to expand...
Click to collapse
Most keyboards have some lib files that they need. These lib files (with extention ".so ") can be found inside the apk of keyboard app. just copy those lib files to system/lib folder in the rom and app should work properly. Hope this helps.
Re: [Q] How to add SwiftKey to a Rom as default keyboard..
RITZYtheDEVIL said:
Most keyboards have some lib files that they need. These lib files (with extention ".so ") can be found inside the apk of keyboard app. just copy those lib files to system/lib folder in the rom and app should work properly. Hope this helps.
Click to expand...
Click to collapse
Thanks.. sounds good.. i will try it later.. kinda busy atm..
Edit: if I change SwiftKey to system app with titanium backup it starts to FC so I don't think it's about libs..
Re: [Q] How to add SwiftKey to a Rom as default keyboard..
I do the exact same thing with Swype keyboard, move it to system/app and make it part of the ROM. It will f/c if the lib file is not copied to system/lib. This is an absolute necessity. Hope you get it to work.
Re: [Q] How to add SwiftKey to a Rom as default keyboard..
Just for the heads up.. Gave up on SwiftKey, just doesn't want to be on /system..
Re: [Q] How to add SwiftKey to a Rom as default keyboard..
Ok so like most things in life when ur ready to give up, it suddenly works.. Did it before but don't know why now it works.. Added lib files to the folder and voila.. Okidoki..
Edit: In case anybody is interested, cameraICS also needs a /lib file, else the panoramic function won't work..
Thanks everyone for the help..
Greetz
TimHermans said:
Ok so like most things in life when ur ready to give up, it suddenly works.. Did it before but don't know why now it works.. Added lib files to the folder and voila.. Okidoki..
Edit: In case anybody is interested, cameraICS also needs a /lib file, else the panoramic function won't work..
Thanks everyone for the help..
Greetz
Click to expand...
Click to collapse
Yes, every app that has lib files inside the .apk needs them. Adobe flash, many music/video players, keyboards, etc need them.
TimHermans said:
Ok so like most things in life when ur ready to give up, it suddenly works.. Did it before but don't know why now it works.. Added lib files to the folder and voila.. Okidoki..
Edit: In case anybody is interested, cameraICS also needs a /lib file, else the panoramic function won't work..
Thanks everyone for the help..
Greetz
Click to expand...
Click to collapse
Hi,
could you give a step-by-step HOW-TO?
I also want to do the same, just flash it with the ROM and then its done.
Still trying to figure this out.
Thank you!
Chief-Glider said:
Hi,
could you give a step-by-step HOW-TO?
I also want to do the same, just flash it with the ROM and then its done.
Still trying to figure this out.
Thank you!
Click to expand...
Click to collapse
Use 7zip so you can edit .zip files without needing to re-sign them
Delete LatinIME.apk in /system/app folder in your ROM zip
Extract the libswiftkeysdk-java-internal.so file from Swiftkey.apk in the /lib folder to your desktop
Add the libswiftkeysdk-java-internal.so file to the /system/lib folder in your ROM zip
Add the Swiftkey.apk file to the /system/app folder in your ROM zip
Done.. !!
Greetz

[Q] Can't Install Stock Keyboard

I backed up my stock keyboard to install the GS4 one, which I thought looked nicer, well in the process it uninstalled the stock keyboard and failed to install the GS4 one. I managed to get another keyboard app, Swiftkey, but I want to install the stock app. I got a hold of a copy but whenever I go to install it, it says "failed to install" (Same message it gave when trying to install the GS4 Keyboard). I move the app to the system/app folder, fix permissions to rw-r--r-- and then install, but it still fails, what am I doing wrong?
You don't need to install the apk.
Just paste the .apk file in /system with right permissions and reboot.

G2 Keyboard on 4.4.2 KK

Hello,
for those who would like to try and put G2 keyboard on Optimus G running stock 4.4.2 KK, here are the files that I used to make it working. Since upgraded to stock KK I tried different versions of keyboard files, and I used to get FC on many of them.
This is the combination that works for me.
First, be sure to have another keyboard installed, just for any case, since if you get FC it would be hard to revert your files as it was because you will get FC message every second.
This is how I did it (maybe not the right way). Switch as default keyboard, to another one, I have installed google keyboard with numerical 5th row from http://forum.xda-developers.com/showthread.php?t=2657791
Then:
Here are the files: https://www.mediafire.com/folder/0d...ajajh9,vt3d7wl6wyg3wv3,r364kdi1go6wwil/shared
Backup your old files first.
Copy G2LGIME.apk to system/app, rename it to LGIMEbin.apk, change permission to 644. Delete old apk and odex file.
Themes you can install as common apk.
Copy other files to system/lib, also do a backup first. Change permission to 644.
Edit buildprop, and add lines:
ime_extend_row_keyboard=true
ime_onehand_keyboard=true
ime_split_keyboard=true
ime_vibration_pattern=0:20
For Emoji, add the lines:
ro.config.libemoji=libemoji_lge.so
ro.lge.capp_emoji=true
Save and reboot. It should work.
Only thing it does not work here, is voice input, but you can make it work, if you install Voice Search by Google, from Play store.
Best regards
You have G3 keyboard with 5th numerical 5th row? Sr for my bad english

Categories

Resources