As the title says can someone show me how to do this strictly on a mac!
I have failed miserably at it!
All the tools are for windows..
I have the sdk for mac all set up and I can push an pull files!
but everything I edit on the mac and push to the phone crashes the phone with force closes and stuff...
-kitt050383
I came across this in a google search for the same thing. Can someone post a how-to step by step for modding .apk files with adb commands to push to the phone? Thanks in Advance.
Me as well please, been searching for a good 30 minutes now and cant find any tools to do this on a MAC, especially to edit the .9.png's
I just pull the apk and open it with BetterZip. APKs are pretty much like zip files. Then after I'm done, I sign it and push it back to the phone.
ajones7279 said:
I just pull the apk and open it with BetterZip. APKs are pretty much like zip files. Then after I'm done, I sign it and push it back to the phone.
Click to expand...
Click to collapse
So, i change the extension to .zip double click and it unzips it. Open the folder, edit the files... and then i just switch the extension back to .apk?
I dont get what you are saying.
If you're using the default archiver, you may have to change it to .zip. Since I use betterzip, I just associated the .apk extension with BetterZip so it automatically opens it like an archive. Now, extract the contents of the apk, make whatever changes you please, put the contents back into the archive, sign the apk, then push it back to the phone. I'm typing this from my Hero so I'll try to make a more detailed post when I get off.
ajones7279 said:
If you're using the default archiver, you may have to change it to .zip. Since I use betterzip, I just associated the .apk extension with BetterZip so it automatically opens it like an archive. Now, extract the contents of the apk, make whatever changes you please, put the contents back into the archive, sign the apk, then push it back to the phone. I'm typing this from my Hero so I'll try to make a more detailed post when I get off.
Click to expand...
Click to collapse
Thanks for the tip! I'll give it a shot tomorrow.
Didn't know Betterzip was out there. I'll give it a try later tonight as well.
almost there...
ok i can transform an apk to a zip and unzip for editing, but how do i change it back? i just did a bunch of editing work, and now i am stuck. please help me....
So pretty much we all want to know the same thing...
Once we get the apk open... and we change files around how do we get it back to an apk file.
anyone gonna help?
ipeench said:
So pretty much we all want to know the same thing...
Once we get the apk open... and we change files around how do we get it back to an apk file.
anyone gonna help?
Click to expand...
Click to collapse
someone did.
http://forum.xda-developers.com/showpost.php?p=5849463&postcount=6
Better Zip works great for this. Now, if there was a way to do zero compression like the APK Manager. Without that, the sounds for lock/unlock won't work.
Me too have the same problem. I think installing windows on your mac will work fine with all .exe tools. if you don't wanna do anything o your osx then you can run a virtualbox and run windows without affecting os x.
NO WAY
ajones7279 said:
I just pull the apk and open it with BetterZip. APKs are pretty much like zip files. Then after I'm done, I sign it and push it back to the phone.
Click to expand...
Click to collapse
Hi, I have tried to extract the APK with BetterZip.
I can extract files. But, XML file are like unable to open.
The image files are quite OK.
My purpose is to check out Manifest File and other XML Files.
So, if you can actually do those things after extracting with BetterZip, do let me know.
Thanks in advance.
The most useful way is install Windows via Bootcamp or Virtual Machine...
While I don't have a Mac, I should be able to help. First, rename the extension from .apk to .zip so it can be viewed and extracted from whatever archive manager you use. Doing this won't decompile the apk but it will at least let you modify the images. If you want to modify the xml's in the apk file. You can use Apktool which will decompile and recompile apk's, and sign the apk if it's a non-system app. You will also need to have JDK installed to do this.
JDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Apktool: https://code.google.com/p/android-apktool/downloads/list
Mods please delete. I figured out my errors and all is well.
If anyone is having trouble with this as I was, please refer to these instructions. I'm sorry, I forget who posted them but credit to whoever you are. Big help.
1. Transfer the apk from your phone to your computer. It's probably in a place like data/app or data/data or the like
2. Open the apk with 7zip. Do not extract the whole thing, just open it. Inside you'll see a folder called "res"; transfer that somewhere on your computer.
3. Inside the res folder you'll see a bunch of folders. The images you want to edit are usually in a folder labeled "drawable", but you may have to look elsewhere
4. Find the background image you want to edit. It might be labeled widget_bg or something helpful like that.
5. Edit it how you want. In the case of transparency, you want to delete the background and make it entirely transparent. Save it in the same format and do not change the name. (Note- if your file has .9.png in it, you have to open your edited version using draw9xpatch or whatever in the Android SDK and save it through that as well)
6. Drag the res folder with your modified images back into the archive, using 7zip. You might want to use a duplicate of the apk, just to have the original on hand in case something goes wrong.
8. Place the modified apk into the place-apk-here-for-modding folder in the APK Manager folder
9. Open up script.bat. Select your project using option 22.
10. Do the following things- Extract APK (1), Zip APK (3), zip as regular apk (2), sign apk (4)
At this point you should have a signed version of the apk in the place-apk-here-for-modding folder. You can transfer it to your phone now and install it. Or install it directly onto your phone through apk manager if you have ADB enabled.
Click to expand...
Click to collapse
Thanks!
Wait a minute, you click on the application from your file manager, opening it in your App Manager, and it says Application not Installed?
That makes no sense at all. The only time I've encountered that is when I've tried using an app that was stored on my SD card, which wasn't put in. That app was on my homescreen too.
I'll have the .apk on my SD card somewhere and I'll try to install in through a file explorer with the error message above.
I tried installing through Dropbox, but that also gets me the error message. I've uninstalled all applications of the same name because that's what you're supposed to do. It's weird, I know. I'm trying to work through it right now.
see OP
10char
Same problem
Hello gentlemen, i have some problem with installing "slide it keyboard" and others applications. The messages is: application not installed. I tried everything, but nothing works... Please help me.
HTC desire 2.2 froyo
Ive been working on a custom theme for MIUI for a while now and I just finished it but everytime I try to load it up on my droid it just puts me on the default theme. Help/Suggestions?
No one has any helpful advice?
Yes, that has been happening to me too, but that is when I try to go from scratch. There are two things I can think of right now that could be stopping that: You are on a mac and you used the built-in archive, and you didn't use astro to delete the MACOSX_. Folder, or you don't have update scripts or code that you need.
You're right about the mac. So how do I get rid of the MACOSX folder?
Scratch that. Just found it. Trying to load the theme now....
And still same default theme.
Actually I might have just found the problem. When I compressed the folder it put the actual theme folder INSIDE the .zip file instead of putting the contents in the .zip file.
Hi All,
Has anyone here been able to sucessfully decompile/disassemble the TouchWiz APK and ODEX, for love nor money I can't do it using various tools, or if I can do it, the reassembled file doesn't work.
I'm trying to edit the
Launcher.smali
File to force it to choose screen for as the default screen as opposed to number 1 and, like I mentioned, using one set of tools causes it to fail, another completes but cannot re-compile it properly as it doesn't work once you get it on the phone?
I've attached the files (apk and Odex) in a zip file below.
Any ideas/help would be great.
I need help creating a theme for Go Contacts. I have all of the .png's ready to go but after I replace all of the original .png's and pack it into the .zip and then into the .apk and put it on the phone I go to instal it. But every time after trail and error it says "Application not installed". I have gone through each and every .png to see if I have made an error and I believe I haven't. Any idea to what I could be doing wrong?
Same problem here, does anyone know the answer?
EDIT:
masonspisz12, did you use apk manager?
Basically I decompile the apk, swap images, compile apk then sign it.
Other things to do before compiling:
To change the name, its in res/values/strings.xml
Version number is in AndroidManifest.xml
Till this part the theme will still install over whatever theme you based it on.
To make it it's own, you need to change the package name.
The package name can be found in AndroidManifest.xml (package="blah.blahblah.something")
But changing that is not enough.
Go into the smali folder, right to the deepest folder.
There change the package name too.
Then change the folder structure names in the smali folder.
I got the hints for package name stuffs from the following posts:
http://forum.xda-developers.com/showpost.php?p=14547534&postcount=2
http://forum.xda-developers.com/showthread.php?t=725870
Go Contacts theme .zip format
Hey Guys! I wasn't sure if I should ask but I hoped you might not mind. I really need a go contacts theme file in .zip format instead of .apk. I have searched everywhere to no avail. I saw your posts and thought maybe you may have one you're willing to share? If not I understand! Thank you! Email: [email protected]