[Q] Stock Blur Kybd On CM7 Or Other Roms - Motorola Photon 4G

Let me start off by saying that I have a condition known as "Sausage Fingers"...I am pretty much unable to use any keyboard I've come across due to the tiny letter keys...Luckily the stock blur keyboard suits my stubby little appendages.
My question is: Is there a way to get this keyboard to work on other ROMS as I have tried and it won't work. I'm experienced in phone development and have done all the things necessary to get an installed keyboard to work...to no avail. Must the APK be modified in some way?

Maybe...
http://forum.xda-developers.com/showthread.php?p=22749340
Sent from; does anyone care?

You need a deodexed version of latinime.apk from blur and that needs to go into /system/app with the proper permissions.
Then you need libjni_latinime.so from blur and that needs to be put in /system/lib with the proper permissions.
Reboot and see if it works. Either way you need more than an apk, you need a matching lib.

thickkeys keyboard

KSmithInNY said:
You need a deodexed version of latinime.apk from blur and that needs to go into /system/app with the proper permissions.
Then you need libjni_latinime.so from blur and that needs to be put in /system/lib with the proper permissions.
Reboot and see if it works. Either way you need more than an apk, you need a matching lib.
Click to expand...
Click to collapse
I realize with a simple google search I could probably find this out but I'll ask anyhow...whats the easiest way to deodex latinime.apk myself?

I tried attaching it for you but keep getting a vbulliten error so I'll link it in a minute. Be prepared to read a logcat when/if this doesn't work. I wouldn't put it past moto to add a dependency on their custom framework but hey you never know ....
EDIT - HERES THE LINK TO DOWNLOAD LATINIME.APK DEODEXED[/URL]
EDIT - Very welcome. I killed the link because im cleaning up my Ubuntu One account. Good luck.

KSmithInNY said:
I tried attaching it for you but keep getting a vbulliten error so I'll link it in a minute. Be prepared to read a logcat when/if this doesn't work. I wouldn't put it past moto to add a dependency on their custom framework but hey you never know ....
EDIT - HERES THE LINK TO DOWNLOAD LATINIME.APK DEODEXED
Click to expand...
Click to collapse
Thanks man...i appreciate it!

Related

[MOD][COG-4][UnNamed] Over-scroll Glow!

Discontinued. The latest versions of all previously supported ROMs have this functionality built in.
This gives you an over-scroll glow when you reach the end of a list.
I really hope you knew that before clicking on this thread.
Example if you don't know what I'm talking about
It's just a modified framework.jar with modified files allowing the over-scroll to work and the correct glow images assigned to it. Theming is very easy, just colorize the over-scroll glow pngs in framework-res.apk. The default is orange.
What I want to do with this thread is sort of have a place where you can find the over-scroll enabling mod for every popular ROM for our phones. If you think I should support a ROM that I currently don't, then please post in the forums because I read every post! Ask to put a ROM on the wishlist. Upload the ROM's framework-res.apk and framework.jar files and I'll work on it when I'm not busy with school.
Currently, the wish list is:
Stock KH7
[Update on 10/15/11] UnNamed v1.0.1 compatible files uploaded. Give them a try. Honorable mention to quarlow
Installation:
BACK UP YOUR OLD FRAMEWORK.JAR
Because I'll just laugh at you if you complain that your phone won't boot up.
>>>ADB:
Code:
Extract the CWM package to get the framework.jar
adb remount
adb shell
su
cd /system/framework/
cp framework.jar framework.jar.backup
exit
exit
adb push framework.jar /system/framework/
adb reboot
>>>ROOT EXPLORER:
Extract the CWM package to get the framework.jar
Okay, now you can theoretically do this, but why would you want to? You'll get lots of crashes and might mess something important up.
Go to: /system/framework/ and rename framework.jar to something else. Go back to where-ever you saved my modified framework.jar and copy it over to /system/framework/ and change the permissions of the new framework.jar to match the old one. I'm pretty sure it's rw-r--r--, but don't quote me on that. + Restart your phone.
Simba501 has a more indepth tutorial on how to install this mod through Root Explorer here
>>>RECOVERY (preferred):
Flash the one specific to the ROM you're running
Whatever method you choose, know that it will take a stupidly long time for your phone to boot-up. Don't worry though, it'll be worth the wait.
Yoderk created some cool themes for the over-scroll glow for Cognition Beta-4 which you can find HERE.
UnNamed 1.0.1 works with 1.0.2 and 1.0.3 as well.
Also, please remember to say THANKS if I helped you!
cwm please!!
<3
diabolicalangle said:
cwm please!!
<3
Click to expand...
Click to collapse
It's there if you REALLY need it. I haven't tested it and to be honest, it's been a very very long time since I made my last CWM compatible file. Maybe it works though, try it out. If not, then use one of the other methods.
Fine work sir! Works well on Cog Beta 4.
yoderk said:
Fine work sir! Works well on Cog Beta 4.
Click to expand...
Click to collapse
That's awesome! Someone test it on stock w/ root, because if it works there, I'll be amazed.
Confirming that the cwm flashable zip works on cog beta 3!
Working fine here. I'm technically on Beta 1, but I've manually added the components I wanted from each Beta update because there were things I didn't want.
I have a suggestion. I don't know why everyone repeats that method for using root explorer. That's a terrible way to do it. I always use root explorer to manually replace my files and have never experienced any issues. Here is the correct way to use root explorer for manually replacing modded files:
1. Navigate to the file that you plan to replace (in this case, system/framework/framework.jar).
2. Copy (not move) the file and paste it somewhere on your SD card (internal or external, doesn't matter - as long as you can locate it in case you need to put it back). Rename the file you just pasted, but very subtly. For example, when renaming framework.jar, I would only throw something in front of the file name, such as "Backup - framework.jar", so I can easily distinguish it from the new file if I put them in the same spot.
3. NANDROID BACKUP!
4. Download/put on your sd card (whatever you do) the new file that you want to replace the old one with.
5. Move the new file to /system (not in a subfolder yet). Here you will change the permissions, which is crucial to avoid FCs and problems. In root explorer, you would long press the file, press permissions, and set them to whatever the old file's permissions are. This may require going to verify what they are before starting this step. In this case, the permissions are RW-R-R, which in root explorer, means that the first two boxes on the first line are checked and only the first box on the next two lines are checked.
6. Ensure that your new file is correctly named to exactly what it is replacing (case actually matters) and that the permissions also match what it is replacing.
7. Move your new file to the folder, root explorer will ask if you want to replace the file. Confirm.
8. Back out of root explorer and immediately reboot.
No force closes, no problems .
Cwm file worked great on cog beta 4. Thnkz!!
Sent from my SAMSUNG-SGH-I777 Cognition
Simba501 said:
Working fine here. I'm technically on Beta 1, but I've manually added the components I wanted from each Beta update because there were things I didn't want.
I have a suggestion. I don't know why everyone repeats that method for using root explorer. That's a terrible way to do it. I always use root explorer to manually replace my files and have never experienced any issues. Here is the correct way to use root explorer for manually replacing modded files:
...
No force closes, no problems .
Click to expand...
Click to collapse
Thanks! I added your tutorial to the OP.
Well if your like me and hate orange! Then here are two framework-res.apk with a blue and green overscroll color. Just rename them to framework-res.apk and overwrite the original file in system/framework.
Do not forget to back up original file! I claim no responsibility to problems.
Very subtle but a very nice touch...kudos...came zip worked great!!!
Sent from my SAMSUNG-SGH-I777 using XDA App
stock with root, i've got nothing. tried root explorer method and cwm
Does this still have the problem of not changing the Contacts or other Samsung apps?
illathanyours said:
stock with root, i've got nothing. tried root explorer method and cwm
Click to expand...
Click to collapse
Alright this may be Cog4 only... if you want, upload your framework.jar and framework-res.apk and I'll mod it for you and let me know if that works.
MikeyMike01 said:
Does this still have the problem of not changing the Contacts or other Samsung apps?
Click to expand...
Click to collapse
Yes. Those need the tw-framework to be modified and I haven't taken a look at those yet since I'm trying out Perception for a couple of days and that already has it coded in? But it isn't a problem per-say, it's just how Samsung decided to code those specific apps and there isn't a way to implement them in 2.3.4 without breaking the slide left to call, slide right to message, feature. 2.3.5 Roms have that built in on Samsung apps.
Problem probably isn't the best word.
Thanks for answering though. I always wanted the overscroll but having mixed bothered me.
Sent from my SGH-i777
shishir95 said:
Alright this may be Cog4 only... if you want, upload your framework.jar and framework-res.apk and I'll mod it for you and let me know if that works.
Well it's not that pressing of an issue, but maybe I'll send it to you later but right now I'm Dealing with insane iPhone customers, makes me want to hang myself... If 2.3.5 is gonna be coming sometime soon I wouldn't care about the wait.
Anyone know about 2.3.5 ota eta?
Sent from illaphone.
Click to expand...
Click to collapse
illathanyours said:
shishir95 said:
Alright this may be Cog4 only... if you want, upload your framework.jar and framework-res.apk and I'll mod it for you and let me know if that works.
Well it's not that pressing of an issue, but maybe I'll send it to you later but right now I'm Dealing with insane iPhone customers, makes me want to hang myself... If 2.3.5 is gonna be coming sometime soon I wouldn't care about the wait.
Anyone know about 2.3.5 ota eta?
Sent from illaphone.
Click to expand...
Click to collapse
There's a leaked 2.3.5 ROM for the i777 but personally I'm using designgear's Perception which is a port of a i9100 ROM and it works perfectly. I'd recommend the latter since leaked ROMs tend to have problems.
Click to expand...
Click to collapse
could you modify the framework.jar for UnNamed v1.0.1 - First ever well documented and open source stock derived rom? It has the extended power menu and if I overwrite the framework.jar using this it will break that extended power menu. Much thanks for getting the overscroll glow!!
Skyler2Dope said:
could you modify the framework.jar for UnNamed v1.0.1 - First ever well documented and open source stock derived rom? It has the extended power menu and if I overwrite the framework.jar using this it will break that extended power menu. Much thanks for getting the overscroll glow!!
Click to expand...
Click to collapse
I'll give it a try if there's enough demand for it.
shishir95 said:
I'll give it a try if there's enough demand for it.
Click to expand...
Click to collapse
+1 here

De-odex ICS System Dump

Choose to post this here, instead of the General Section... God I could only imagine the issues. If you feel it needs moving, then by all means.
De-odexed the ICS system dump. This wasn't my system dump, as I don't have a Prime yet, so hopefully everything is here, and if there's a app or two that isn't stock, well.... not my fault.
I started doing each file manually, then got to the app folder and saw over 100 .apks, and was like hells NO, so I went the automated rout. The only .odex file I couldn't get to deodex was the Dictionary.apk/odex (that's why that .odex file is still there); kept throwing a boot class path error I couldn't resolve. If someone can get that .apk deodexed that would be great; if not, I doubt it will hurt anything.
Hopefully, all is working correctly, like I said, I don't have my Prime yet, otherwise I would have tested it. But as always, make a backup of the original files.
Since we don't have a recovery to flash this yet, guess we'll have to adb push it.
If you're gonna try it out, let me know if it works or not. Haven't tested it yet, and haven't had to deodex a system in a while.
Don't forget to either delete, or rename the .odex files to .bak, still in your /system/app & /system/framework folders too.
P.S. I am not responsible if this bricks, soft bricks, or makes your device explode!! in any way. Remember you choose to install this.
http://www.mediafire.com/download.php?chlsxuvkkr3g1vu
*If you don't know what this is please leave it alone... but if feel compelled to learn: http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
TRANSFORMER PRIME ENTHUSIAST GET YOUR THEME ON!!!
much appreciated, but without recovery, i'm too scared to try this out.
recovery
i agree i would love to start testing but until recovery is easy and safe i wont be modding my prime
Great news. I will give this a run later.
Sent from my Sensation Z710a via the XDA Premium App
Theme started ®
sent from my AL60R!THM Atrix
marko! said:
Theme started ®
sent from my AL60R!THM Atrix
Click to expand...
Click to collapse
Love to seem some themes soon
tylermaciaszek said:
Love to seem some themes soon
Click to expand...
Click to collapse
if you have any suggestions pm me or http://forum.xda-developers.com/showthread.php?t=1388541
sent from my AL60R!THM Atrix
So anyone tried this yet, if I only use 1 or 2 files from this, will it still work correctly?
Edit: no longer need the answer.
Doktaphex said:
So anyone tried this yet, if I only use 1 or 2 files from this, will it still work correctly?
Edit: no longer need the answer.
Click to expand...
Click to collapse
Where you going with this Doktaphex?
I am looking into deodexing from a tf201 blob and I was wondering if you had any tips as to the classpath includes. I have a set that works for my SGS2 but I am not sure what I need to include for the TF201. Any hints?
EDIT:
Looks like I got it down, just included the ususal ones.
Code:
:core.jar:bouncycastle.jar:ext.jar:framework.jar:android.policy.jar:services.jar:core-junit.jar:javax.obex.jar:com.google.android.maps.jar
so i can decompile these apks with no problem and then recompile them and run them on a stock rooted prime? or would i need to odex them again? i tried systemui.apk a while back and couldnt get it to decompile with apkmanager and today i was trying camera.apk and couldnt get it to decompile either.
fcortes626 said:
so i can decompile these apks with no problem and then recompile them and run them on a stock rooted prime? or would i need to odex them again? i tried systemui.apk a while back and couldnt get it to decompile with apkmanager and today i was trying camera.apk and couldnt get it to decompile either.
Click to expand...
Click to collapse
Yeah, alot of the stock apks won't decompile.... these are old anyway. If you really want to theme something, get into non-stock roms, the systemui should decompile just fine with those. Also apks like the camera, you probably won't be able to decompile or recompile successfully. Apktool / apk manager still has a lot of problems with ICS apks.
Sent from my CM7 Atrix.

[Q] Replace lock screen and scrolling wallpaper

I am on ShishirROM ICS and I really like the Rom over all. However in his latest up date he included the stock ICS lock screen and scrolling wallpaper and I personally prefer the ones from the previous release. I am willing to do the work to revert them to what I want but want to make sure I am on the right track. Is this guide from the walkthrough sticky the correct way to do this (How to manually replace modded/stock system files)? I have both versions of the ROM on my laptop so I am thinking I can pull what I want from one and use the guide above to replace it in the other. Thank you in advance for your help.
Switch the android.policy.jar file and that should give you the old lockscreen.
That's generally all you should do for deodex, so I do not know since his rom is odex.
LiLChris06 said:
Switch the android.policy.jar file and that should give you the old lockscreen.
That's generally all you should do for deodex, so I do not know since his rom is odex.
Click to expand...
Click to collapse
Thanks Ill give it a shot and see. Whats the worst that can happen? Lol
Bootloop, reflash the rom without wipe.
LiLChris06 said:
Switch the android.policy.jar file and that should give you the old lock screen.
That's generally all you should do for deodex, so I do not know since his ROM is odex.
Click to expand...
Click to collapse
Not sure why but when I replace the android.policy.jar file and reboot I still have the same lock screen.
what I am doing. Unpack ROM, copy android.policy.jar from laptop to external SD, move file to system, change permissions to match existing file(rw-r-r), confirm permission change, move file to framework, replace existing file OK, back out of root explorer and reboot.
Any suggestions would be appreciated thanks.

[Q] Force Close when decompile&compile CM7 Contacts.apk CMParts

I want to change locales and images in system apk of CM 7.2.0 on my LG-P500. It is Contacts.apk and CMParts.apk. Decompiling and compiling passed without errors. Everything is ok! But!
When i put on phone already changed Contacts.apk upon transition to a tab of a dialer I receive an (android.process.acore Force Close!) And
When i put on phone already changed CMParts.apk upon transition to Interface/Notification Power Widget/Widget Buttons/Brightness modes I receive an (android.process.acore Force Close!).
Help me please...! I don't know that I do not so. Thanks!
(Sorry for my English)
Did you sign the apk?
I know that some people claim you don't need to sign system apps, but there are times when signing it is the only way to make it work.
Also, did you decompile and recompile with the appropriate framework-res.apk installed (the one from the rom you are using)?
Yes. I put signed and not signed apks. All the same too most. And when I try to decompile with dependences APK Manager writes that this application not the dependent.
TroyxRUS said:
Yes. I put signed and not signed apks. All the same too most. And when I try to decompile with dependences APK Manager writes that this application not the dependent.
Click to expand...
Click to collapse
Have you tried running a logcat to see what the issues are? That's what I always do when I get errors. Usually the logcat will tell you the error in a detailed enough manner that you can go back and fix the code.
Is this by any chance a stock rom? Because if its a stock rom, I've heard of people having issues sticking modified apks into a stock rom.
I have the same problem and would like very very much to know how to solve that ...
thanks
How to install framework?
Press Thanks on getting Helped by me

Unable to install non-market apps

Hey everyone. I flash MIUI on my phone today (newest version). I've run into an issue with installing non-market apps, whether it is through MIUI FileExplorer, pushing the .apk to /system/app, or with adb install <namehere>.
This is the error I receive: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Does anyone know how to fix it? All the solutions I've found are for people writing their own apps in Eclipse, etc.
The app I modified is GenieWidget.apk. Even trying to push/install an unmodified GenieWidget.apk yields the same result: failure. Anyone know what's up with that? I've never encountered an error like that in all my years of messing around with Android.
dumb question. did you check the option to allow non market apps?
Sent from my mopho
cornelious2 said:
dumb question. did you check the option to allow non market apps?
Sent from my mopho
Click to expand...
Click to collapse
Do you honestly think I would forget about that? Of course I did.
mrinehart93 said:
Do you honestly think I would forget about that? Of course I did.
Click to expand...
Click to collapse
No need to be rude to someone trying to help you.
If anyone else got this, it was most likely due to not wiping /data prior to install. This latest version is updating both MIUI version as well as CM9 base version.
For what I know, Google apps must be signed by Google, if you resign them, it always makes some troubles, so it's better to not modify manifest.xml, then there's no need to resign. Just push your classes.dex and resources.arsc, etc. in the original apk. (Original = Google signed - you can check it in cert.rsa)
Peetr your comment makes sense. But if that's the case, why would an original, unmodified GenieWidget.apk not even install? Honestly I think it was just because of the bad build from Th3Bill. I'm trying his new build that he just uploaded and hopefully it works out better!
mrinehart93 said:
Peetr your comment makes sense. But if that's the case, why would an original, unmodified GenieWidget.apk not even install? Honestly I think it was just because of the bad build from Th3Bill. I'm trying his new build that he just uploaded and hopefully it works out better!
Click to expand...
Click to collapse
meant no offense, but it had to be asked
Sent from my mopho
Th3Bill, even with the latest MIUI build you've pushed out (which is working great, btw), I still get the error when trying to push any app (modified or unmodified) to /system/app.
D:\>adb push GenieWidget.apk /system/app
failed to copy 'GenieWidget.apk' to '/system/app/GenieWidget.apk': Permission denied
D:\>adb install GenieWidget.apk
941 KB/s (1134261 bytes in 1.176s)
pkg: /data/local/tmp/GenieWidget.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
did you try running a fix permissions?
Sent from my mopho
mrinehart93 said:
Th3Bill, even with the latest MIUI build you've pushed out (which is working great, btw), I still get the error when trying to push any app (modified or unmodified) to /system/app.
D:\>adb push GenieWidget.apk /system/app
failed to copy 'GenieWidget.apk' to '/system/app/GenieWidget.apk': Permission denied
D:\>adb install GenieWidget.apk
941 KB/s (1134261 bytes in 1.176s)
pkg: /data/local/tmp/GenieWidget.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Click to expand...
Click to collapse
Go to Jokersax.com and grab my blank cwm.zip. Put the file in there, set the permissions in the updater-script then flash it. With any luck, this will fix it.
I've had no issues with apps...I test my mods of Camera.apk on there that way (stock build is only 5MP).
Let me ask you this...what are you modifying in the app? I usually use apktool, decompile, make edits, recompile, then extract those edits and put back into the original apk, overwriting the existing files.
Hope this helps
Th3Bill said:
Go to Jokersax.com and grab my blank cwm.zip. Put the file in there, set the permissions in the updater-script then flash it. With any luck, this will fix it.
I've had no issues with apps...I test my mods of Camera.apk on there that way (stock build is only 5MP).
Let me ask you this...what are you modifying in the app? I usually use apktool, decompile, make edits, recompile, then extract those edits and put back into the original apk, overwriting the existing files.
Hope this helps
Click to expand...
Click to collapse
Yeah I'll try using your blank cwm.zip. I'm modifying just the widget background so that it's transparent. I've done this before with the HTC Hero the exact same way, and it's worked all the time. What's curious though is that even the non-modified GenieWidget.apk won't install. That's what really baffles me about this.
mrinehart93 said:
Yeah I'll try using your blank cwm.zip. I'm modifying just the widget background so that it's transparent. I've done this before with the HTC Hero the exact same way, and it's worked all the time. What's curious though is that even the non-modified GenieWidget.apk won't install. That's what really baffles me about this.
Click to expand...
Click to collapse
I do know that some of the Genie Widgets didn't work with MIUI....I ran into this issue back a while ago. I may have one on my computer. I'll check it out later and if I have one that works with my phone, I'll upload it to you.
If you have my Options Chooser, I think there's a working one in there.

Categories

Resources