How to resign apk files after modding them!

Discussion in 'Android Hacks and Help' started by sportsterBK8, Mar 4, 2010.

  1. sportsterBK8

    sportsterBK8 Member

    Joined:
    Feb 12, 2010
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Fargo
    Ratings:
    +0
    Okay, so I hope this is in the right area on this forum, because it MIGHT belong in themes depending on how people use this info... Mods, feel free to move it, or put it in both areas.

    But I have searched high and low, and haven't found any threads here on how to sign an apk, so that you can install it again after modding it. This is necissary to skip a ton of terminal or adb code.

    SO HERE IT IS!

    xda-developers - View Single Post - [HOW TO] Manuals for creating a theme

    That thread at xda should get people here set up for modding apk themes, or apk files etc. then just resign them so they are installable again.

    THIS SHOULD MAKE USING FORUM HACKS MUCH EASIER FOR NOOBS!

    GOOD LUCK EVERYONE, let me know how it goes. and share some of your work with me ;] I love beta testing!
     
  2. cplus

    cplus Member

    Joined:
    Dec 24, 2009
    Messages:
    234
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Ok, here is another way.

    Here is another thread from xda. I found this one easier to use than the one you posted.

    Editing APKs to match themes (Not just app icons!) - xda-developers

    Get mixpix405's modified signing tool half way down on the first post.

    Make sure you install JDK and JRE before hand. IF YOU USE x64 WINDOWS YOU WILL NEED x64 JDK/JRE otherwise you will get errors.


    I just resigned a themed audimanager widget apk and installed. YAY!!
     
  3. jtydroid

    jtydroid Member

    Joined:
    Apr 25, 2010
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Milwaukee, WI
    Ratings:
    +0
    So... what's the general feeling on editing people signed packages?

    If I want to change a logo in Helixlauncher, or change the look of the Jorte calendar, should I approach those folks for their permission first?

    I am not intending to distribute, of course, but I am still curious. I like our Android devs and don't want to run afoul of their hard work and good intentions.
     
  4. Big Lou

    Big Lou Member

    Joined:
    Dec 3, 2009
    Messages:
    733
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Isn't this only for apps that are in the /system/app folder?
     
  5. jtydroid

    jtydroid Member

    Joined:
    Apr 25, 2010
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Milwaukee, WI
    Ratings:
    +0
    Hrm, I dont know. I was able to edit Settings.apk without resigning, I thought it was market apps that had to be resigned...

    Are you saying it's Market apps in the /system/app folder?

    (Sorry, I'm still sortof clueless, just working my way through all this stuff)
     
  6. cplus

    cplus Member

    Joined:
    Dec 24, 2009
    Messages:
    234
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0

    Yeah I think its market apps that need resigned. All I wanted was a custom colored Audiomanager Widget and now I have it and LOVE it. I hope this is legal and does not hurt anyone's feeling.
     
  7. jtydroid

    jtydroid Member

    Joined:
    Apr 25, 2010
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Milwaukee, WI
    Ratings:
    +0
    Well, seeing as he allows for skinning of his app, I doubt he'll have an overly large problem with it.

    That said, any updates will undo your changes, right?

    He's said he'll have full skin-creation support soon, I'm excited for that because then I wont have to re-push the image files with each update.

    Next up, restructuring the powercontrol widget to a different form-factor...
     
  8. pyro6128

    pyro6128 Senior Member

    Joined:
    Jan 5, 2010
    Messages:
    1,517
    Likes Received:
    8
    Trophy Points:
    68
    Location:
    NYC
    Ratings:
    +8
    can't you make it a zip file, then use winrar to copy out the files you need, then replace them when you're done? I think that stops you from breaking the signature. I seem to remember doing this when I was doing the replacing verizon wireless hack.
     
  9. jtydroid

    jtydroid Member

    Joined:
    Apr 25, 2010
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Milwaukee, WI
    Ratings:
    +0
    Honestly, I don't know the answer to this. I just learned about signing because it seemed important to do.
     
  10. kevdog

    kevdog Member

    Joined:
    Nov 14, 2009
    Messages:
    722
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Yes the WinRar, 7zip trick usually works without breaking signatures, but you can also resign them as well. Two ways to skin the same cat -- although I find the WinRar trick much easier myself unless an update.zip needs to be made.
     
  11. jasonb

    jasonb Active Member

    Joined:
    Dec 6, 2009
    Messages:
    1,151
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    i tried both methods and astro still won't let me install a modified apk. what am i doing wrong? i really want a smoked glass feedr widget.
     
  12. actngrezy

    actngrezy Active Member Developer

    Joined:
    Mar 21, 2010
    Messages:
    1,074
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    delaware
    Ratings:
    +2
    The one autpsign tool says you cant use ti with vista or windows 7 or it will make you phoen go itno bootloops when you install the file. I was going to try and swap out icons for a few things but pulling the apk then open it with winrar witout extracting it then putting new icon image in then closeing and pushing back to phoen will this work or do I need to sign it???
     
Search tags for this page
apk resign
,
how to resign apk
,
how to resign apk files
,
how to sign an apk
,

how to sign apk

,
how to sign apk file
,
how to sign apk files
,

resign apk

,

sign apk

,
sign apk file