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

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/xrzids3oyc61txz/ApkBox_1.0.zip
Linux shell version: https://www.dropbox.com/s/y7fks74mvih3lyf/ApkBox2_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

i think if you move your thread in this forum
http://forum.xda-developers.com/forumdisplay.php?f=613
you will receive more response

Mmmmm..., seems useful.
I will try it out one day when required.
Sent from my Sony Tablet S using xda premium

Nice tool...
My Greatest Work:
Xperia NxT MoD v1.2 For All GB
http://forum.xda-developers.com/showthread.php?t=1967172
Sent from my GT-5360 with Xperia NxT MoD

should i upload the NO ADS version xda app for android

iptux said:
should i upload the NO ADS version xda app for android
Click to expand...
Click to collapse
Wait, the free version of the XDA application has AD's? :what:
Sent from my Sony Tablet S using xda premium

R: [TOOL][0.1] -=Apk Box=- easily editing .apk file
andyabc said:
Wait, the free version of the XDA application has AD's? :what:
Sent from my Sony Tablet S using xda premium
Click to expand...
Click to collapse
Yes

GEKTHEBOSS said:
Yes
Click to expand...
Click to collapse
Never knew that.
Sent from my Sony Tablet S using xda premium

Sure Op,if its valid on Xda,then go for it!
Sent from my MT11i using xda premium

is it just batch tools for apktools and smali?

spiderio said:
is it just batch tools for apktools and smali?
Click to expand...
Click to collapse
yes, it is
Sent from my LG-P350 using xda app-developers app

XDA android app with NO ADS
it modded by ApkBox

Related

ZIP in command line...

Ok... I know that a rooted phone uses busybody for most of the command line tools... and busybox has unzip, gunzip, bzip2, etc.... but busybox doesn't support creating zip files
is there any program, or source i could cross compile, so i can zip things up using the command line interface?
Sent from my Legend using XDA App
You can find it in my ROM for instance. Or MetaMorph apk.
Sent from my HTC Legend
You can make tarballs.
I would just use another type of compression utility, but what I'm trying to do is modify apks and that's zip specific...
Sent from my Legend using XDA App
Ninjamorph and metamorph might come in handy, and signapktic is another useful one
Ok cool, thanks guys!
Sent from my Legend using XDA App

Change navigation bar colors

Is there a way to change the navigation bar colors?
Sent from my Nexus 7 using xda app-developers app
yellasrichand said:
Is there a way to change the navigation bar colors?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
AOKP ROM usually has this as an option (not sure if it's in there yet--they're still on build 1, officially).
Thanks! Do you know if there is a stand alone hack for it?
Sent from my Nexus 7 using xda app-developers app
yellasrichand said:
Thanks! Do you know if there is a stand alone hack for it?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=31401208
Sent from my Nexus 7 using xda premium
kilometers4 said:
http://forum.xda-developers.com/showthread.php?p=31401208
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Thanks for the link, that was helpful!
How i do it..
you must have root .
Copy the system ui.apk out and save it to your desktop ( do not move it)
open the file in 7 zip... browse to the folder that has the .png files you want to change.. (DO NOT UNZIP OR EXTRACT)
Copy the dpi folder your making changes to the .png files within.. to a new folder .
Edit the .png files.. (you can also edit xml. notepad++ (use caution..)
I use photo shop and paint shop pro to edit the files..
Open the original system ui file up.. browse back to the directory where the folder you copied out is at .. DO NOT UNZIP OR EXTRACT
PAST THE Edited file back into the zip...
push it back to your tablet .
using file manager put it back in the system/app folder where you found it..
YOUR TABLET WILL CRASH WHEN YOU SAVE IT HERE ( THIS IS EXPECTED ..) REBOOT WITH HOLDING THE POWER BUTTON..
YOUR tablet will reboot showing the changes you have made. If you mess up you can adb push the unmodified system ui back and reboot .
This is a very dirty quick how to hope its understandable..
good luck
Thanks for that but I did it using metamorph like the link says.
Sent from my Nexus 7 using xda app-developers app

[Q]

Whenever i edit and modify any app(icon,wallpaper etc) by decompiling/extracting it and again recompile it(by zipping and changing extension to apk) i cannot install it directly via package installer it can only be installed through system app installer and if I try to convert it to a user app using link2sd it gives a failure error. How to install this kind of app as user and not in system quota
Sent by XDA premium user
Raghu Gautam
it probably was a system app to begin with and as such in its manifeset is set to only be installed as a system app
you would need to edit the manifest and re-sign the apk
Did you sign the file after recompiling?
Sent from my GT-S5360 using Tapatalk 2
Neither was it a system app nor did i signed it.
Sent by XDA premium user Raghu Gautam
Raghu Gautam said:
Neither was it a system app nor did i signed it.
Sent by XDA premium user Raghu Gautam
Click to expand...
Click to collapse
you will need to re-sign it then
also please title your threads correctly - just putting Q doesnt help when looking through the list
I am sorry but your signing method didn't work. I used zipsigner for signing
Sent by XDA premium user Raghu Gautam
Raghu Gautam said:
I am sorry but your signing method didn't work. I used zipsigner for signing
Sent by XDA premium user Raghu Gautam
Click to expand...
Click to collapse
did you sign it with the test key for normal app or platform key for system app?
if it still wont install there is something wrong in its manifest or only has armv7 libs and is not meant for armv6 devices or you have to remove the old version first
Raghu Gautam said:
I am sorry but your signing method didn't work. I used zipsigner for signing
Sent by XDA premium user Raghu Gautam
Click to expand...
Click to collapse
First I would recommend you to use apktool/ apk multitool/ Virtuous Ten Studio / apk manager for decompile and recompile.
Don't bother with signing
Install 7zip.
Open new recompiled apk in 7zip. Right click apk ----> 7zip----> open archive.
Do the same with old apk.
Drag META-INF Folder from old to new apk. Press yes and you have installable apk. This works for both System and other apps.
I always use it. No failures yet.
Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands
hnkotnis said:
First I would recommend you to use apktool/ apk multitool/ Virtuous Ten Studio / apk manager for decompile and recompile.
Don't bother with signing
Install 7zip.
Open new recompiled apk in 7zip. Right click apk ----> 7zip----> open archive.
Do the same with old apk.
Drag META-INF Folder from old to new apk. Press yes and you have installable apk. This works for both System and other apps.
I always use it. No failures yet.
Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands
Click to expand...
Click to collapse
this will only work if you havent modified the manifest
marcussmith2626 said:
this will only work if you havent modified the manifest
Click to expand...
Click to collapse
OP is not changing manifest. He is changing icons, wallpaper.
Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands

[Q] How to change the text in Settings

How to change the text in Settings "Zombie art by Jack Larson" in settings->About phone->Android version and tapping it
Sent from my GT-S5360 using xda-developers app
EDITING
raghu gautam said:
how to change the text in settings "zombie art by jack larson" in settings->about phone->android version and tapping it
sent from my gt-s5360 using xda-developers app
Click to expand...
Click to collapse
by editing frame-work res.apk in seeting/framework
[email protected] said:
by editing frame-work res.apk in seeting/framework
Click to expand...
Click to collapse
its in framework.jar not framework-res.apk
Raghu Gautam said:
How to change the text in Settings "Zombie art by Jack Larson" in settings->About phone->Android version and tapping it
Sent from my GT-S5360 using xda-developers app
Click to expand...
Click to collapse
please search before posting
guide is
http://forum.xda-developers.com/showthread.php?t=2345086
No I am asking how to do it through mobile, when I browse the framework.jar via root explorer only three files are present classes.dex,preloaded classes and Meta.inf folder no other files are found as mentioned in the thread
Sent from my Samsung Galaxy Y using XDA premium
Raghu Gautam said:
No I am asking how to do it through mobile, when I browse the framework.jar via root explorer only three files are present classes.dex,preloaded classes and Meta.inf folder no other files are found as mentioned in the thread
Sent from my Samsung Galaxy Y using XDA premium
Click to expand...
Click to collapse
you need to decompile it with apktool - it is step number 1!
a decompiling tool is also mentioned in stuff you need - I use apktool but others have been mentioned
Is there any way to change battery icon without pc in galaxy y,bcoz my pc harddisk is crashed :thumbup::thumbup::thumbup::thumbup::thumbup::thumbup:
Sent from my GT-S5360 using xda app-developers app
[email protected] said:
Is there any way to change battery icon without pc in galaxy y,bcoz my pc harddisk is crashed :thumbup::thumbup::thumbup::thumbup::thumbup::thumbup:
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
yes just rename framework-res.apk to framework-zip
extract it with a zip app like zarchiver
replace the pngs and only pngs on a like for like basis - same filenames - dont touch xml files or anything else
rezip
change back to .apk
put and a flashable zip and flash in cwm with system mounted or push to system with rw-r-r but flashing is better

{Tool} Apk. Tool developed by me you can recompile, sign, decompile apps and lots mor

I have made this new Apk tool.
You can sign , decompile and change framework of any .apk file.It is my first developed software.
Hope it helps and report me for any problems and bugs.
Link: https://www.dropbox.com/s/4kmx5ntpwcsbhiv/ApkToolKit_by_Sumit from XDA.RAR?dl=0
Try this and give feedback on my email
:- [email protected]
Instructions to use it are:-
(1) First extract the whole zip in a folder.
(2) put the apk file in extracted folder to make my app recognise it.
(3) Run .bat file and select from number 1 2 3 4 5 and type the numer of the action you want to do. And hit enter.
(4) Then type the exact name of that apk which you want to modify and is putted in extracted folder.
(5) Then again hit enter and leave all work on my developed app and it will make a new app with all modifications.
Enjoy.
Hope it helps!!!!
Sent from my GT-I9300 using XDA Free mobile app
Bump
Sent from my GT-I9300 using XDA Free mobile app
Bump
Sent from my GT-I9300 using XDA Free mobile app
Bump
Sent from my GT-I9300 using XDA Free mobile app

Categories

Resources