Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[TOOL][0.1] -=Apk Box=- easily editing .apk file

$
0
0
What is `Apk Box'?
==================

"Apk Box" make it easy to modify a .apk file, unpack and repack them for you,
and remove some unwanted code(ads or usage feedback) in apk.


Features
========

- interactive mode and batch mode both supported
- apktool, smali and signapk inside
- able to remove class in .dex


Requirements
============

- Java installed
- Windows or linux OS
- unzip and zip command support
- adb support (interactive mode only)


Install
=======

- Download the .zip from the Download section
- Extract the .zip file
- Put ApkBox folder anywhere as you like


Typical Usage
=============

- Put apk you want to modify in ApkBox folder(apk.apk for example)
- Open you favorite command prompt, type command `cd ApkBox'
- Unpack the apk using command `./apk.sh apk' (NOTE: no suffix here)
- some editing to apk folder...
- Repack apk using command `./apk.sh apk'
- get the output apk at out/apkbs.apk (NOTE: "bs" is added to the filename)


How to remove class from dex
============================

- using command `./smali_clean.sh apk com.example.ads com.example.mobstat`
- watch out the output and lines commented in apk/smali folder
you may need more editing around these lines, or the apk just FC
- use a diff tool to compare apk/smali against apk/smali.orig
- more editing...


Interactive mode
================

- Open you favorite command prompt, type command `cd ApkBox'
- Enter interactive mode using command `./apk.sh'


Download
========

Windows batch version: https://www.dropbox.com/s/xrzids3oyc...ApkBox_1.0.zip
Linux shell version: https://www.dropbox.com/s/y7fks74mvi...pkBox2_1.0.zip


Source code
===========

Windows batch version: https://github.com/iptux/iptux/tree/master/ApkBox
Linux shell version: https://github.com/iptux/iptux/tree/master/ApkBox2

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>