5,598,718 Members 39,313 Now Online
XDA Developers Android and Mobile Development Forum

APK Manager v4.9 (Easy way to edit APKs)

Tip us?
 
CM-PRo
Old
(Last edited by CM-PRo; 26th March 2011 at 06:44 AM.)
#1  
CM-PRo's Avatar
Senior Member - OP
Thanks Meter 326
Posts: 483
Join Date: Feb 2011
Location: New Delhi

 
DONATE TO ME
Angry APK Manager v4.9 (Easy way to edit APKs)

Hey guys...heres the APK manager v4.9 by daneshm90.....its an easy way to edit apks......


So i have written a simple script to ease the process of editing apks. Got a lot of downloads so thought its in demand

Whether you're doing basic image editing or editing the smali or xml files, on average u have to use (Brut.all or JF's smali/baksmali) awesome tool to extract the apk, edit it, then sign the apk and then adb push/install it. This process is quite tiresome if you are testing a method that needs fine tweaking.

This script should make the process a LOT smoother.
Theres an option of compiling/signing/installing all in one step

Thanks:
Goes to Brut.all for his awesome tool.
Goes to JF for ofcourse, smali/baksmali
Goes to farmatito for porting this script to linux

Features:
- Extract, Zip apk's.
- Optimize pngs (ignores .9.pngs)
- Zipalign apks
- Sign apks
- Push to specific location on phone
- Incorporates brut.all's apktool
- Pull apk from phone into modding environment.
- Batch optimize apk (Zipalign,optipng,or both)
- Quick sign an apk (Batch mode supported)
- Batch Ogg optimization
- Compression level selector (monitor status above menu)
- Batch install apk from script (option 16)
- Logging on/off has been removed. Instead a log.txt is created which logs the activities of the script organized using time/date headers
- User can change the max java heap size (only use if certain large apks get stuck when decompiling/compiling apks) (Option 19)
- Improved syntax of questions/answers
- Error detection. Checks if error occured anytime u perform a task, and reports it
- Read log (Option 20)
- U can now set this script as ur default application for apks. When u do, if u double click any apk it will install it for u.
- Supports batch installation, so if u drag multiple apks into the script (not while its running) it will install them all for u. U can ofcourse drag a single apk as well
- Added framework dependent decompiling (For non propietary rom apks). (Option 10). Checks whether the dependee apk u selected is correct.
- Allows multiple projects to be modified, switch to and from.
- Allows to modify system apk's using apktool but ensures maximum compatibility in terms of signature / manifest.xml
- Stuff i forgot i guess

Instructions (Windows):
- Place apk in appropriate folder (Any filename will work, if running for first time folders will not be there, you must run and then the folders will be created)
- Run script
- Minimize the script
- Edit files inside the project folder
- Maximize the script

Instructions (Linux):
- Place apk in appropriate folder (Any filename will work, if running for first time folders will not be there, you must run and then the folders will be created)
- Open terminal and change-directory to apkmanager (Easiest way is to type "cd ")
- Chmod 755 Script.sh
- Chmod 755 all files apps inside other folder (thanks for the tip bkmo )
- Run script by typing ./Script.sh
- Minimize the script
- Edit files inside the out folder
- Maximize the script

Requirements:
Java
Adb

Future Improvements:
- Manage multiple simultaneous apk edits (choose which apk to extract/build)
- Option to optimize the apks
- Option to adb push to user defined location
- Other stuff i dont know yet.

Windows (v4.9): Download Here

Linux (v4.3): Download Here



Here's the video!!


Got problems ?

1. Make sure your path has no spaces
2. Your filename has no wierd characters
3. Java/adb are in your path
4. It's not a proprietary rom's apk (aka Sense,Motorola,Samsung) (If u are, then use option 11 and drag the required framework, eg com.htc.resources, twframework-res...etc)
5. It's not a themed apk (if it is, expect .9 png errors, use as close to stock as possible)
6. Look at the log to know whats happening
7. If all else fails, post as much info as possible and we will try to assist you.



If U like my post, press the Thumbs Up button, i.e, Thank Me!
The Following 7 Users Say Thank You to CM-PRo For This Useful Post: [ Click to Expand ]
 
ThunderOKC
Old
#2  
ThunderOKC's Avatar
Senior Member
Thanks Meter 2
Posts: 127
Join Date: Jun 2011
Bad download link. Please fix?
 
BPaul
Old
#3  
BPaul's Avatar
Recognized Developer
Thanks Meter 7124
Posts: 1,938
Join Date: May 2011
Location: Astana

 
DONATE TO ME
Please download to mediafire or multiupload

thanks
- Index - GitHub - VK - Facebook - Google+ - OXP -
Devices
  • Xperia acro S - Soon will be AOSP 4.4.x
All custom firmwares, where mentioned Bravia Engine, xLOUD, Beats Audio, Dolby Mobile. Are not based on the stock firmware from SONY or HTC very very poor. Remember that!
Click thanks button please
 
azadtaufiq
Old
(Last edited by azadtaufiq; 26th June 2011 at 11:51 PM.)
#4  
Senior Member
Thanks Meter 85
Posts: 199
Join Date: Mar 2011
Location: kajang
actually its not death214 link or project..and all thread he started was project by others and he just copy and paste..i remember u've been scolded by owain becoz of this,right death?=)
melayu boleh..

my project:

bootanimation collection
[tut]how to change font
[tut]how to make update.zip within ur phone
[script]change bootanimation

DONT JUST SAY THANX OR LOOK AT THE THANX BUTTON..PRESS IT
 
parvizb7
Old
#5  
parvizb7's Avatar
Member
Thanks Meter 10
Posts: 92
Join Date: Oct 2010
Location: Takab
please upload files to other site.i cant download from rapidshare.
 
inderjit bajwa
Old
#6  
Member
Thanks Meter 3
Posts: 72
Join Date: May 2011
Location: london
change link
 
D4rKn3sSyS
Old
#7  
D4rKn3sSyS's Avatar
Recognized Developer
Thanks Meter 15731
Posts: 3,770
Join Date: Jan 2011
Location: Monteria

 
DONATE TO ME
Please click here:
http://lmgtfy.com/?q=apk+manager+xda
The Following User Says Thank You to D4rKn3sSyS For This Useful Post: [ Click to Expand ]
 
hakneo
Old
#8  
hakneo's Avatar
Member
Thanks Meter 6
Posts: 42
Join Date: Dec 2010
Nice. Rapidshare link working flawless.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Say Goodbye to Holo Blue Once and for All

When Google released Android 4.4 KitKat back in October of last year, they changed quite a bit … more

Sony Z Ultra Google Play Edition Receives Bluetooth Certification for Android 4.4.3

You may recall that a few days ago, Sprint jumped the gun … more

Easily Configure Xposed Module Projects in Eclipse

XDA Recognized Developer rovo89‘s innovative and versatile Xposed Framework allows … more

Android Control Center Becomes Quick Control Panel, Brings Host of New Features

You may recall that back in August of last year, we talked … more