• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Devs please help. Funny apk. Make me crazy

D0VeR

Android Enthusiast
Jun 3, 2012
612
173
FloriDuhhhh
Hey now
So I'm back on this damn portes ics keyboard again.
Gave up on this... and now I'm back at it 2 houts in and getting nowhere!

Trying to modify apk. Input.latin.ime.apk (ICS KEY PORT)

AFTER i rebuild. It will open for a second and pop up a fc dialog. I can see the changes take effect... bit something ain't right. Simply changing some colors.

So i tried dif methods and alwaya same result. Tried without zipalign as well.

Here's what has me stumped. If i unzip 3.4 mb package.... Don't modify.... and rezip..... the new package is only 2.3 mb

WTF Mate

Another thing that was messing me up was that certain zip extractors will only unzip half the files. Without error... but only half thw files

Goin nutty
Keyboard looks sofa king awesome for the second it stays open

Who wants to be my hero today?
 
Tried packaging it with no compression last night. Came out about 4 meg "shut up" and did the same thing. And other tricks up your sleeve there doodieballs?
here's a thought... are you trying to install this app in data/app? try using system/app, some apk's wont work in data if modified "some"

also, when you recompile are you adding your "changes" back into the original copy of apk? because the newly compiled one cant be used LOL
 
Upvote 0
here's a thought... are you trying to install this app in data/app? try using system/app, some apk's wont work in data if modified "some"

also, when you recompile are you adding your "changes" back into the original copy of apk? because the newly compiled one cant be used LOL


System app

Will not recompile whatsoever ;)
Still making love to this bitch as we speak
She not cooperating
 
Upvote 0
screenshot-1358057931161_zps40c617ee.png


See
I'm not dreaming
Ics keyboard
With the fancy ted keys i added to BLooDy #2
If you demand text entry... it pops up for a second before FC
Otherwise.... if you have inout method set to ics keyboard.... even if you don't dwmand the keyboard...... i get FC dialog every 10 seconds or so until i deactivate from lang & key

Phuckitsdrivingmecrazy
 
Upvote 0
screenshot-1358057931161_zps40c617ee.png


See
I'm not dreaming
Ics keyboard
With the fancy ted keys i added to BLooDy #2
If you demand text entry... it pops up for a second before FC
Otherwise.... if you have inout method set to ics keyboard.... even if you don't dwmand the keyboard...... i get FC dialog every 10 seconds or so until i deactivate from lang & key

Phuckitsdrivingmecrazy
so what exactly were your cchanges? just the image files? or was there xml editing involved?? i need to know these things.. because.... :D

EDIT: now that i look at the image.. i specifically think it has to do with an image file related to the text input area (the box where the text shows up as you type it lol) so i would take a look at that specific image and see if you messed it up somehow.. throw the original image back in and see what happens :D

EDIT2: why not just try to theme the stock lg keyboard? :D add-on apps usually s***.. in a sense of smoothness, ram hogging etc..
 
Upvote 0
so what exactly were your cchanges? just the image files? or was there xml editing involved?? i need to know these things.. because.... :D

EDIT: now that i look at the image.. i specifically think it has to do with an image file related to the text input area (the box where the text shows up as you type it lol) so i would take a look at that specific image and see if you messed it up somehow.. throw the original image back in and see what happens :D

EDIT2: why not just try to theme the stock lg keyboard? :D add-on apps usually s***.. in a sense of smoothness, ram hogging etc..


Just images

Even if i unzip.. don't change anything... and rezip.... i get the same exact fc shit

I think its a hidden encryption.... not sure though

Screw the lg keyboard. This one it far superior ib smoothness... accuracy.. auto correction , layout, n such. In my opinion.

Ohhh well... I'm gonna keep digging. Thanks 4 the help. If i don't figure it out though, I'm not finishing the theme. It may be cursed!
 
Upvote 0
Just images

Even if i unzip.. don't change anything... and rezip.... i get the same exact fc shit

I think its a hidden encryption.... not sure though

Screw the lg keyboard. This one it far superior ib smoothness... accuracy.. auto correction , layout, n such. In my opinion.

Ohhh well... I'm gonna keep digging. Thanks 4 the help. If i don't figure it out though, I'm not finishing the theme. It may be cursed!
ok so how exactly are you getting these images into the apk? you cant get it to compile so im guessing your just putting them in with 7zip or something?

now the original files in the apk are most likely .9's right? are the replacement images .9's? and if so, are they from some 'other' themed rom? they may have possibly not patched them correctly, and since your are not de/re-compiling, then there is some sort of error in the app

as for the app not working from unzipping and rezipping.. i dont think signed apk's work like that, even with a simple zip it still needs to keep the signature..
 
Upvote 0
I want you to try it bud!
I may jave made it up.... but it works fantastically.

Do a test. Or example.
Take framework.apk
Copy to sd
Unzip apk (you can even.use file manager to do this.)
Replace an image (like default wallpaper in drawable. (New image must be named the same as original)
Now select meta res rersources manifest etc and zip archive.
Rename zip archive to framework-res.apk
Copy
Paste in system/framework
Choose overide
Will forceclose reboot ;)

Wow, new walpaper!

This only works for images

It is a little unorthodox... i know.... but it allows for quick theme adjustments while your on 10 minute smoke break at work.

Shhhh don't tell anyone. Noone else knows this

Just like knowone knows ninjamorph ;)
 
Upvote 0
I want you to try it bud!
I may jave made it up.... but it works fantastically.

Do a test. Or example.
Take framework.apk
Copy to sd
Unzip apk (you can even.use file manager to do this.)
Replace an image (like default wallpaper in drawable. (New image must be named the same as original)
Now select meta res rersources manifest etc and zip archive.
Rename zip archive to framework-res.apk
Copy
Paste in system/framework
Choose overide
Will forceclose reboot ;)

Wow, new walpaper!

This only works for images

It is a little unorthodox... i know.... but it allows for quick theme adjustments while your on 10 minute smoke break at work.

Shhhh don't tell anyone. Noone else knows this

Just like knowone knows ninjamorph ;)
lol well thats the old method.. it's 100x easier to just open the app with 7zip, pull out the res folder, make changes, then put back into apk with 7zip LOL better than re-compressing everything lol
 
Upvote 0
Well i decompiled my framework... and nad minor change... went to build and got 6000 errors!
Tirns out i made some boo boos. Been functioning fine it seems for the past week... but what i broke in framework may be causing my FC of keyboard.

Perhaps the text field you pointed out earlier?

Gonna try again later
 
Upvote 0
Well i decompiled my framework... and nad minor change... went to build and got 6000 errors!
Tirns out i made some boo boos. Been functioning fine it seems for the past week... but what i broke in framework may be causing my FC of keyboard.

Perhaps the text field you pointed out earlier?

Gonna try again later
99% of the time when i get the '1000' errors it's usually related to swapping an image that was originally a .9, what happens when you decompile it? does it list any errors? send me a copy of the framework too i can pin point your fault and show you how i found it :D
 
Upvote 0
99% of the time when i get the '1000' errors it's usually related to swapping an image that was originally a .9, what happens when you decompile it? does it list any errors? send me a copy of the framework too i can pin point your fault and show you how i found it :D


How the hell did you do it!?!?!?!?
What did I do wrong?
Can you give me a tut?
Did u ever know that your my hero?
 
Upvote 0
How the hell did you do it!?!?!?!?
What did I do wrong?
Can you give me a tut?
Did u ever know that your my hero?
lol all i did was:

1= open apk archive with 7zip
2= pulled out the drawable-hdpi folder
3= added/overwrite your images into the folder
4= put drawable-hdpi folder back into the apk :D

now, let me just tell you... it not recomended to do it this way due to file size changes etc sometimes can really fudge up your apk, but simple image swaps for an occasion like this it's ok to do so :D

1 thing i am curious about is.. the prediction text, it's blue :D im assuming you want to change that to red am i correct? that will require decompiling the apk lol which i haven't tried yet :D haha, but i just dl'd your f-w now gonna poke that with a stick for a few mins and see what happens :D
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones