I edited a programs .apk file now it won't load?

Discussion in 'Android Hacks and Help' started by Branndon, Feb 19, 2010.

  1. Branndon

    Branndon New Member

    Joined:
    Nov 22, 2009
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    I'm not a programmer for android, I just opened an apk, edited 3 small PNG files, placed them back in the original apk and now it won't load, or reinstall, any ideas? What's the best program, winrar, or winzip? I'm using winrar. I have opened the apk directly, and tried renaming it .apk.zip and doing it that way, neither worked.
     
  2. stanrc

    stanrc Member

    Joined:
    Dec 19, 2009
    Messages:
    415
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    It would be easiest to use Metamorph to install the files into the apk. Its pretty easy to use.
     
  3. tktouch12

    tktouch12 Active Member

    Joined:
    Nov 17, 2009
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    ya metamorph makes it pretty easy.
    i'm not sure but if you do it your way, dont you have to re-sign the apk
    also, was it a market app? because i'm pretty sure you cant do that with market apps
     
  4. Topsy

    Topsy Member

    Joined:
    Dec 28, 2009
    Messages:
    677
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Rio Rancho, New Mexico
    Ratings:
    +0
    Trick is not in the removal, but in the placing them back.

    this is how I do it.

    say you are changing the music.apk
    rename to music.zip
    open music.zip with winzip, winrar, etc
    extract the res folder to a location of your choice and close the zip
    make your changes
    drag and drop the res folder with your changes over onto the music.zip
    rename to music.apk
    push to phone in /system/app
    this prevents any issues with compression and such, since the files when dragged and dropped onto the zip are added in automatically with the same settings already in the .zip file.
     
  5. Branndon

    Branndon New Member

    Joined:
    Nov 22, 2009
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Yes it was a market app, sipdroid. I just changed some phone icons to my liking. I know how to pack a theme for metamorph, so I'll try that next. Thanks everyone.
     
  6. stanrc

    stanrc Member

    Joined:
    Dec 19, 2009
    Messages:
    415
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    I don't think it will work with items downloaded from the market.
     
  7. Branndon

    Branndon New Member

    Joined:
    Nov 22, 2009
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    no it didn't, the app doesn't launch now. So do I have to deox it or something? Is that easily done, or should I just forget about it? I know people have themed pandora and such, so it's possible.
     
Search tags for this page

how to edit apk files#gsc.tab

,

how to edit png file in android apk

,

what files to remove for ads in .apk using winrar