Modifying/Editing .apk files?


Last Updated:

  1. jcj77d

    jcj77d Well-Known Member This Topic's Starter

    Joined:
    Jan 20, 2010
    Messages:
    147
    Likes Received:
    5
    I am wondering if there is a way to modify or edit a .apk file or files inside an .apk file, & then be able to repack/compress the .apk to be able to put back on phone.

    1. can this be done
    2. what do i need
    3. how is it done.

    Im asking b/c I have a few game apps that have some of the files (i assume, they are jpg, or png files) dont fit my screen right, they are too big & are partly cut off, so i want to resize them & put them back on my phone.

    any ideas?
     

    Advertisement
  2. jcj77d

    jcj77d Well-Known Member This Topic's Starter

    Joined:
    Jan 20, 2010
    Messages:
    147
    Likes Received:
    5
    ok i edited one of my apk's on my pc using winzip to open it, (i changed a few png files to fit my screen), & when i rezipped it, & renamed it back to an apk file, & put it back on my phone.
    now when i went to "view" the apk before reinstalling it, there were doubles of each file in the apk, so i checked it on my pc & there were only single files in the apk.

    so why does it double my files in the apk when i load it back on my phone?

    help!!!!!!!!!!!!!
    thanks
     
  3. ticho

    ticho Well-Known Member

    Joined:
    Oct 15, 2009
    Messages:
    232
    Likes Received:
    12
  4. NSNO

    NSNO New Member

    Joined:
    Apr 21, 2010
    Messages:
    4
    Likes Received:
    0
  5. jcj77d

    jcj77d Well-Known Member This Topic's Starter

    Joined:
    Jan 20, 2010
    Messages:
    147
    Likes Received:
    5
    i got the editing down, & the resigning the apk too, just worried about the app, b/c its a paid app that i paid for & it gets regular updates.

    after editing & resigning the app, & putting it back in the /data/app-private, my phone doesnt recognize the app, but it does if I put the original app back?

    any ideas?
     
  6. NSNO

    NSNO New Member

    Joined:
    Apr 21, 2010
    Messages:
    4
    Likes Received:
    0
    Did you manage to install the app? If not check out the link above it might help you.

    Also I'm afraid you've got a decision to make-
    If your "new look" app gets regular updates, then the files you edited are going to be overwritten and your back to square one again in terms of how it looks
    Or
    You don't update and save yourself some time editing files whenever there's an update available.
    Decisions, decisions :confused:
     
  7. jcj77d

    jcj77d Well-Known Member This Topic's Starter

    Joined:
    Jan 20, 2010
    Messages:
    147
    Likes Received:
    5
    i did get it edited, & resigned, but it wont install, says "cant install on this phone".

    i dont mind editing it @ every update, if it would install & be able to update itself, & still be a live app over the market
     
  8. Xavier

    Xavier Well-Known Member

    Joined:
    Apr 11, 2010
    Messages:
    126
    Likes Received:
    8

    Have you stated which build the apk can be installed on?
     
  9. NSNO

    NSNO New Member

    Joined:
    Apr 21, 2010
    Messages:
    4
    Likes Received:
    0
    It can be done following the guide i posted in the link above, here's the proof:-

    Also are you signing manually and not auotomatic, that caught me out.
     

    Attached Files:

  10. jcj77d

    jcj77d Well-Known Member This Topic's Starter

    Joined:
    Jan 20, 2010
    Messages:
    147
    Likes Received:
    5
    no, how do i do that, i figured since the orginal apk works fine, & all i did was edit a few png files, that the edited apk would work...

    i know it can be done, im not doubting that, Im not sure, im using signapk to resign the apk files.
     
  11. NSNO

    NSNO New Member

    Joined:
    Apr 21, 2010
    Messages:
    4
    Likes Received:
    0
  12. TopShelf10

    TopShelf10 Well-Known Member

    Joined:
    Apr 7, 2010
    Messages:
    91
    Likes Received:
    9
    keep in mind, you cannot have original app currently installed on the phone when you go to install the edited version...and vise version....you cannot reinstall the original version without removing the edited version first

    i do not know the reason for this, but i do know for a fact thats why youre getting that message
     
    jcj77d likes this.
  13. annoniem100

    annoniem100 New Member

    Joined:
    Jan 2, 2011
    Messages:
    1
    Likes Received:
    1
    Try out APK Edit, Simply edit your apk files :)
    [​IMG]
     
    jcj77d likes this.
  14. jcj77d

    jcj77d Well-Known Member This Topic's Starter

    Joined:
    Jan 20, 2010
    Messages:
    147
    Likes Received:
    5
    does this resign the app too, or do i need to resign it w/ a separate program?
    & will this work on paid/protected market apps, (i have paid for it)
     

Share This Page

Loading...