1. Are you ready for the Galaxy S20? Here is everything we know so far!

Devs please help. Funny apk. Make me crazy

Discussion in 'Android Devices' started by D0VeR, Jan 11, 2013.

  1. D0VeR

    D0VeR Android Enthusiast
    Thread Starter

    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?

  2. LDrifta

    LDrifta No Stranger 2 Danger

    i dont know how to do it manually with apktool, but i know apk manager has an option to set compression level's maybe try that :D
  3. D0VeR

    D0VeR Android Enthusiast
    Thread Starter

    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?
  4. Fuzzy13

    Fuzzy13 Extreme Android User

    Can you send me the decompile? With all your changes and what not that's ready for compile?
  5. D0VeR

    D0VeR Android Enthusiast
    Thread Starter

    Got an email?

    Ill send what you zip of files as requested. Plus ill send zip of un molested apk+lib+changes

    Sent more detailed PM
  6. LDrifta

    LDrifta No Stranger 2 Danger

    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
  7. D0VeR

    D0VeR Android Enthusiast
    Thread Starter

    System app

    Will not recompile whatsoever ;)
    Still making love to this bitch as we speak
    She not cooperating
  8. LDrifta

    LDrifta No Stranger 2 Danger

    o it wont even compile? thought you said you flashed it...? im confussed... it may be a .9 related issue.. send a copy this way ill take a look see :D
  9. D0VeR

    D0VeR Android Enthusiast
    Thread Starter

    What's u emeow addy?
  10. D0VeR

    D0VeR Android Enthusiast
    Thread Starter


    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

  11. LDrifta

    LDrifta No Stranger 2 Danger

    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..
  12. D0VeR

    D0VeR Android Enthusiast
    Thread Starter

    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!
  13. LDrifta

    LDrifta No Stranger 2 Danger

    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..
  14. D0VeR

    D0VeR Android Enthusiast
    Thread Starter

    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
    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 ;)
  15. LDrifta

    LDrifta No Stranger 2 Danger

    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
  16. D0VeR

    D0VeR Android Enthusiast
    Thread Starter

    I'm not sure yet.... but i may be onto something here. I thinK my framework is broken. ;)
  17. LDrifta

    LDrifta No Stranger 2 Danger

    whats framework have to do with an ics ported keyboard...? lol

    btw that specific keyboard is a 'free' app from market, yo know what that usually means right...? LOL

    LG Keyboard for life!!!!!!! hahahahah
  18. D0VeR

    D0VeR Android Enthusiast
    Thread Starter

    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
  19. LDrifta

    LDrifta No Stranger 2 Danger

    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
  20. D0VeR

    D0VeR Android Enthusiast
    Thread Starter

    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?
  21. LDrifta

    LDrifta No Stranger 2 Danger

    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
  22. D0VeR

    D0VeR Android Enthusiast
    Thread Starter

    Dude. Framework i pit in there is fubar!
    I broke the aokp battery somehow. But i. Think i just fixed it. Wanna check out the latest?
  23. LDrifta

    LDrifta No Stranger 2 Danger

    lol sure, wat else is wrong with it? did you run it through uot?
  24. D0VeR

    D0VeR Android Enthusiast
    Thread Starter

    Yes and no :) i have about 10 differsnt frameworks cookin rigjt now. Some broke. Some not. Some incomplete. Some blue some red some ics some uot'd some not. And the beat part is..... i forget wtf is what!!! Rebuilding right meow!

LG Esteem Forum

The LG Esteem release date was October 2011. Features and Specs include a 4.3" inch screen, 5MP camera, 512GB RAM, Snapdragon S2 processor, and 1500mAh battery.

October 2011
Release Date

Share This Page