modifying .apk's without breaking the signature.

Discussion in 'Android Themes' started by rustynail09, Jun 3, 2010.

  1. rustynail09

    rustynail09 Member

    Joined:
    Apr 8, 2010
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Basically, I am attempting to re-theme launcher pro to my likings, but have no clue on how to modify the drawable_hdpi, ect. Contents without messing everything up. Any guidence would be appreciated.
     
  2. pyro6128

    pyro6128 Senior Member

    Joined:
    Jan 5, 2010
    Messages:
    1,517
    Likes Received:
    8
    Trophy Points:
    68
    Location:
    NYC
    Ratings:
    +8
    i think if you use winrar, you can rename the apk to .zip, then open it up and do whatever you want in there. Then copy whatever you did back into the zip file, rename back to apk, and that should do it. Winrar won't break the signature
     
  3. BeADroid

    BeADroid Member

    Joined:
    May 6, 2010
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Indiana
    Ratings:
    +0
    :)
    You can do this -
    Download 7zip
    Download 7-Zip from SourceForge.net


    - Open root explorer
    - Click system > app
    - Locate LauncherPro.apk, long press on LauncherPro.apk > click Copy.
    - Press the back key on the phone two times, you should be at sdcard > click paste.
    - Plug your phone into the PC.
    - copy LauncherPro.apk to the desktop of your PC.
    - Right click on LauncherPro.apk
    - Choose 7zip > Open Archive
    - Double click res > drawable-hdpi
    - When you have the drawable-hdpi folder open in 7zip take your png files and drag and drop them into 7zip.
    - You should get an error message, CLICK YES
    - Now just take LauncherPro.apk that you edited on the PC's desktop and move it back to /system/app/ on your droid.

    Or yuo can download NINJAMORPH from the market and use that.
    Or - you can move the .apk to /system/app
    copy it to your sd card
    extract apk
    find the files you want to change
    change them to what you want - make sure the names are the same.
    them use the changed files and create a MM theme
    apply MM theme, and be happy.:)

    how to create a MM theme
    MM uses folders and XML files
    1 - create apk folder - IE - com.fede.launcher.apk
    2 - create res folder in apk folder
    3 - create drawable folders in res folder
    4 - put changed images in drawable folders
    5 - create XML theme control file
    5a - XML file reads like this -
    <themename>Super Green</themename>
    <themeversion>1</themeversion>
    <screenshot></screenshot>
    <author>BeAdroid</author>
    <authorweblink>http://sites.google.com/site/beadroidandroidthemes/</authorweblink>
    <phone>Motorola Droid</phone>
    <rom>UD NE1.3</rom>
    <themedescription>A Super Green Theme for A Super Rom NE 1.3</themedescription>

    <item>Browser.apk</item>
    <path>/system/app/</path>
    <description></description>

    (just remove my info and replace with yours.

    6 - put the apk file and the XML control in one folder named whatever.
    7 - pop it into the android themes folder on your SD card
    8 - run MetaMorph and enjoy:)

    ----IMPORTANT----- the file you are themeing has to be in the /system/app section.
    and as always, BACKUP< BACKUP.... theme at your risk. Hope this helps. Feel free to download and destruct any of my themes, if it will.
     
  4. dboss007

    dboss007 Member

    Joined:
    Mar 31, 2010
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Pittsburgh, PA
    Ratings:
    +0
    If you move the file to your /system/app/ folder Android doesn't verify the signature's so you could just move it to your computer add the files you want and then just install under the /system/app/ folder without any issues. HOWEVER, if you want to put it back under /data/app/ you'll have to re-sign the apk file. Check out this thread for instructions and the needed files. Its actually very easy.

    How to sign a file? (Need Help) - xda-developers

    My personal suggestion would be to move the market download under the /system/app/ folder using Root Explorer. Also, just create a Metamorph theme with the files you want and then theme it that way. That's how I've decided to theme Launcher Pro mainly because the updates have been coming fast and furious and this process is the quickest way to theme a new version after uninstalling the previous version. What's nice is that if you set-up MM with the theme you want then you shouldn't have a need to use your computer for any updates to Launcher Pro. I'd also suggest setting up DropBox as well. This really makes it easy to move files back and forth from the computer to your phone without the need to hook up the USB cable.
     
Search tags for this page

apk signature

,
apk signature hack
,
create an apk without pc
,
edit apk without breaking signature
,
extract signature from apk
,
how to change apk signature
,
how to mod apk without pc
,

how to modify apk without pc

,
mod apk without pc
,

modify apk without breaking signature