Help with .apk files

This is a discussion on Help with .apk files within the Droid Hacks forums, part of the Droid Hacking category; Ok so I have taken some .apk files that i wanted to modify and renamed them to .zip so I could extract the info. My ...

+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21

Thread: Help with .apk files

  1. Master Droid
    blake2050's Avatar
    Member #
    24519
    Join Date
    Jan 2010
    Posts
    342
    Phone
    moto droid
    #1

    Help with .apk files

    Ok so I have taken some .apk files that i wanted to modify and renamed them to .zip so I could extract the info. My question is once I have modded the file and put it all back together in .zip format, how do I convert .zip back to .apk?? Also once I do convert back to .apk can I just adb push the new file.apk to the specific location, or will I need to use sync and reboot and all that? Thanks!!
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. AWB
    AWB is offline
    Droid
    AWB's Avatar
    Member #
    18723
    Join Date
    Dec 2009
    Location
    Mount Vernon, WA
    Posts
    61
    Phone
    Motorola Droid
    #2
    You should be able to just rename the .zip file .apk and you should be able to push the file to most anywhere. However for navigating file paths the SD card may be the easiest place to put them.
  4. Master Droid
    blake2050's Avatar
    Member #
    24519
    Join Date
    Jan 2010
    Posts
    342
    Phone
    moto droid
    #3
    ok so my only problem is that when I try to rename the file to .apk it just keeps it in zip format giving me file.apk.zip is this because im running XP? Plus, although i rooted my phone and have the Super user permissions I am not really sure how to use it and access the sd card. The apk I modded was framework-res so I am pretty sure it has to go back into /system/framework, right??
  5. AWB
    AWB is offline
    Droid
    AWB's Avatar
    Member #
    18723
    Join Date
    Dec 2009
    Location
    Mount Vernon, WA
    Posts
    61
    Phone
    Motorola Droid
    #4
    As far as the problem with renaming the file type to .apk I'm stumped. You should just be able to take .zip out of the name and leave it as .apk. Next after renaming put the framework on the root or top level of your SD card. Then unmount the SD card from your computer (unmount on PC first then from cell phone). Then open command prompt and access adb shell. Then enter the following code:

    su
    mount -o rw,remount /dev/block/mtdblock4 /system
    busybox cp -R /sdcard/framework-res.apk /system/framework
    reboot

    This should be everything you need. If you do not have adb or do not understand it read this guide How To Use ADB: All Commands and Options

    Next if you do not have busybox installed follow the guide in this link (a different way for loading the framework-res.apk is provided here as well). Complete How-To Root, Busybox, Flash/Recovery, Framework-res.apk, custom boot ani...
  6. Master Droid
    blake2050's Avatar
    Member #
    24519
    Join Date
    Jan 2010
    Posts
    342
    Phone
    moto droid
    #5
    well this might sound stupid to you but how would I get to the sd card root or top level? Like I said I have the superuser permissions app thing but it is always just a blank page when I open it. should I mount my phone and then turn this app on or something? I will install busybox now. Thanks for the help...
  7. Supporting Vendor
    blue rocket's Avatar
    Member #
    1997
    Join Date
    Nov 2009
    Location
    CT
    Posts
    317
    Phone
    Droid
    Premium Member
    #6
    i tried to do this will beautiful widgets (change the graphics) and every time i try to install my new modded apk it says that it did not install. For the life of me i can't figure out what changes besides the pngs that would cause the install to fail.
    *Click Here to View all of our unique ANDROID products*
    GRFXP.com on FaceBook! /// GRFXP.com on Twitter! /// GRFXP.com on YouTube!
  8. Senior Droid
    Finnstang's Avatar
    Member #
    330
    Join Date
    Nov 2009
    Posts
    159
    Phone
    Motorola Droid
    #7
    Open a folder on your PC...Tools...Folder Options...View tab...uncheck "Hide Extensions for Known File Types"...Apply


    That will allow you to get rid of the .zip on the end.
  9. Senior Droid
    Finnstang's Avatar
    Member #
    330
    Join Date
    Nov 2009
    Posts
    159
    Phone
    Motorola Droid
    #8
    Quote Originally Posted by blue rocket View Post
    i tried to do this will beautiful widgets (change the graphics) and every time i try to install my new modded apk it says that it did not install. For the life of me i can't figure out what changes besides the pngs that would cause the install to fail.
    Once you modify an apk, you need to resign the apk...you should be able to Google "resign android apk" for more information.
  10. AWB
    AWB is offline
    Droid
    AWB's Avatar
    Member #
    18723
    Join Date
    Dec 2009
    Location
    Mount Vernon, WA
    Posts
    61
    Phone
    Motorola Droid
    #9
    Plug the phone into your PC. Then open the notifications bar and select the option to mount the SD card. Then it becomes a drive on the PC.
  11. Master Droid
    blake2050's Avatar
    Member #
    24519
    Join Date
    Jan 2010
    Posts
    342
    Phone
    moto droid
    #10
    ok thanks! another quick noob question. I am trying to install busybox but when it comes time for me to enter this code:
    adb push busybox /data/local/busybox
    adb shell
    su
    cd /data/local
    chmod 755 busybox
    ./busybox
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    mkdir /system/xbin
    /data/local/busybox cp /data/local/busybox /system/xbin
    /data/local/busybox cp /data/local/busybox /system/bin
    cd /system/xbin
    busybox --install .
    mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
    sync
    reboot
    everytime I type in a line and hit enter it just copies what I wrote. Do I need to write all the code at once then hit enter or what?

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. Transferring Files
    By Plastikk in forum Droid Applications
    Replies: 6
    Last Post: 12-31-2009, 09:07 AM
  2. .gif files?
    By Supermanem in forum Pending Submissions / Questions
    Replies: 1
    Last Post: 12-17-2009, 07:36 AM
  3. Blackberry Files Files Transferred to DROID
    By tblevins in forum Tech Issues, Bug Reports & Suggestions
    Replies: 0
    Last Post: 11-15-2009, 07:54 PM
  4. Reading PDF files?
    By otaku in forum Tech Issues, Bug Reports & Suggestions
    Replies: 9
    Last Post: 11-13-2009, 02:51 PM
  5. So confused about .jar/.jad files
    By matogl0396 in forum Droid General Discussions
    Replies: 6
    Last Post: 11-12-2009, 03:17 PM

Search tags for this page

.apk converter
,

apk converter

,
asec to apk converter
,
change zip to apk
,
convert .zip to .apk
,
convert apk to zip
,
convert asec to apk
,
convert tar to apk
,
convert to apk
,

convert zip to apk

,
how to convert .zip to .apk
,
how to convert to apk
,
how to convert zip files to apk
,

how to convert zip to apk

,

zip to apk converter

Click on a term to search our site for related topics.