Related
A simple toolkit inspired by some others, primary goal is to provide a seamless solution for reliable apk editing/optimizing.
This tool uses aapt rather than 7zip for packing. That provides much better reliability and assurance of conformance to Android file standards, as the cost of slightly larger files.
Contains:
- 7zip
- roptipng
- aapt
- apktool
- zipalign
- signapk
I've also made sure all the libraries/binaries are up to date.
Reserved Post?
Does this work on a mac? Not at home to download it.
Sent from my PC36100 using XDA App
david279 said:
Does this work on a mac? Not at home to download it.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Windows only, sorry.
I can look and see about porting to Mac/Linux though, to my knowledge I should be able to get binaries/source for each exe used.
Cool thanks....
Sent from my PC36100 using XDA App
Appreciate the kit will thank you when I get near my laptop.
Swyped From Eva Running Myn's RLS4!
40 downloads and no feedback?
Anyways, I'd like to encourage everyone to use ddms from the android sdk to check your boot errors when optimizing.
It helps alot, any apk related errors should always be addressed even if they seemingly work flawless.
I like that you have compiled all these things together. Shouldn't there also be a draw9patch.bat also for those who have to fix the things that noobs did? It is getting better these days but there are still those out there trying to take the easy way out.
I'm also on a mac. I'll probably run it within VirtualBox
good stuff... im happy someone put together a package for everyone.
btw... which versions u using here?
i can check... but i think more people would like to know.
aamikam said:
btw... which versions u using here?
i can check... but i think more people would like to know.
Click to expand...
Click to collapse
7za - 9.20
roptipng - 0.6.3
aapt & zipalign - SDK v8
apktool - 1.3.2
signapk - NA
thanks! i'll be putting this through its paces sometime after weekend
i'll report back with any issues.
Can AndroidManifest.xml be edited with this?
epakrat75 said:
Can AndroidManifest.xml be edited with this?
Click to expand...
Click to collapse
I think so, but I'm not sure.
Optimize/Edit/Pack/Sign
Click to expand...
Click to collapse
I think Apps have to be signed in the AndroidManifest.xml...
Sent from my HTC Desire using XDA App
I like your concept. Good work. I'm only experiencing 1 issue though...
When unpacking Motonav.apk, everything seems to be unpacked, but when looking at the files, they're wrongfully created.
Instead of creating the file data.gro for instance, it creates a folder data_gro. Which therefore can't be recognized by GROConverter.
Am I doing something wrong?
epakrat75 said:
Can AndroidManifest.xml be edited with this?
Click to expand...
Click to collapse
its using apktool so if its set to decompile then you would edit the decompiled manifest with something like notebook ++
this would be greeeeaaaat for a mac.
Awesome tool... Would love for this to be able to handle draw9patch! Might there be an update to include that?
For some weird reason im getting errors. saying java isnt a command
This is great, thanks....
Welcome to the Droid Tools Project!
I made this for Noobs!
Well I got bored and made this on my phone when I got bored , it was written in a txt editor but has a easy to use UI! Its still basic and has more features to come so don't judge!
What the the tool includes in v1:-
- Sign APK's
- Release Keys
- Sign ROM's
More coming in V1.1
Instructions:-
1. Click the desired version download link.
2. Wait 5 seconds and click SKIP AD.
3. Download and extract.
4. Read the ReadMe and run the .bat.
Credits:-
In the folder the tool is contained within.
Downloads:-
Mod Edit: Link removed
Another thread?
apktool is still the best
and yes it is,
another thread
another thread to be closed? lol! kidding!
deathnotice01 said:
apktool is still the best
and yes it is,
another thread
Click to expand...
Click to collapse
Can you give me the apktool app???
Sent from my GT-S5360 using xda premium
jerryn70 said:
Can you give me the apktool app???
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
as you wish
http://forum.xda-developers.com/showthread.php?t=1310151
Featured!! :O
HOLY SH*T!! This thing got featured!!
EliTSamsunG said:
Another thread?
Click to expand...
Click to collapse
No its a potatoe
This app is very useful.
But you forgot to add the procedure to add 'PATH' environment variable for newbies in the Readme.
And the Zipalign function is not working for the people like me, who use portable version of Android SDK. It should also be mentioned in Readme.
Hope that you'll definitely fix it in next version.
Good Job !
[email protected]
Sent from my GT-S5360 using xda premium
And then???????
GREEEEEETZ!!!
download link dead..OP please replace a new working link..
thanks
here is the file!i think he never updates the post.
i used zip signer from market.. its very friendly.
Sent from my Android System using Busybox Command.
My work
========================
- AndroBot SGY tweaks
- Nandroid md5 Fixer
- Ext4 to RFS Converter
what is the use of this tool? sorry just a noob
Sent from my GT-S5360 using xda premium
markmellarpes said:
what is the use of this tool? sorry just a noob
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Mostly for 'signing' apps i.e after editing. Every app has to be 'signed' to be useful. If you editing app (i.e for localisation) you have to signing it afterwards. So one of this app function is signing app's. Custom ROM's has to be signed either.
For signing you have to use 'key'. There you can generate your own key for signing your own apps. Bear in mind - you can seamlessly upgrade app to new version only if it is signed with the same key as older version. Otherwise you have to uninstall older version and then install new one. This app can generate keys too.
hi,guys.. i know all of you wanna create or mod an android apps and wanna use it or share.
i think newb like me already tried to change the image files from res folder of apk but the problem is edited apk files just dont install,it always say application not installed,the problem is the apk isn't signed,you have to sign it.. most of newb dont know how to sign apk. so here is an android app "ZIP SIGNER" it can sign your apk file. in this app just input your edited apk and chose output location and press Sign,and your apk will be signed. and you will be able to install your edited apk...... so try it.
here is the link www.4shared.com/android/rIOfv0YR/zip_signer.html
market link:https://play.google.com/store/apps/details?id=kellinwood.zipsigner2&hl=en
press the THANK button is my post was helpfull
Is this not in the market???
Sent from my LG-P999 using xda premium
Yes it is. And I would never recommend anyone to trust somebody who posts a link to download software away from the Play Store unless they are a recognised Dev - it could be anything at all.
Sent from the darkest corners of my mind.
ok ok guyz. here is the market link https://play.google.com/store/apps/details?id=kellinwood.zipsigner2&hl=en
KRAZYADROIDMASTER said:
Is this not in the market???
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
i've already post the market link
Sent from my GT-S5360 using xda premium
You might consider editing your first post and removing the link that does not point to the market. I know you were trying to be helpful, but that doesn't look good.
mf2112 said:
You might consider editing your first post and removing the link that does not point to the market. I know you were trying to be helpful, but that doesn't look good.
Click to expand...
Click to collapse
ok,now thats look good.
Sent from my GT-S5360 using Xparent ICS Tapatalk 2
** Disclaimer: Use at your own risk. I am not responsible or liable for whatever happens. I made this small customization for myself and am just sharing it in the event others might benefit. I could very well have done this wrong, but at least it is working for me... **
If you're anything like me, you really like the stock LGMessage.apk with the pop-over notification. You know you can get similar functionality in a variety of third-party SMS programs, but you like that oh-so-stock feeling...
But, oh no! The stock messaging app has this annoying habit of turning the screen on every single time you get a message.
When you're like me, sending over 200-300 texts a day, this will just not do.
Enter, the attached deodexed, ever-so-slightly customized LGMessage.apk -- with screen-on notification removed, and everything else the same.
Installation Instructions:
* Back-up LGMessage.apk and LGMessage.odex from /system/app
* Move existing LGMessage.apk and LGMessage.odex to some other location outside of /system/app (I put mine in my dropbox)
* Copy over this newly modified LGMessage.apk
* Reboot
* Profit
Link: https://dl.dropboxusercontent.com/u/68362468/LGMessage.apk
This file was relatively manually deodexed, edited, recompiled and signed with assistance from the following:
Smali / Baksmali (for decompile/compile)
Android SDK / Eclipse (for pulling/pushing/code-diving)
Notepad++ (for search in files)
Beer (for motivation)
Aleksandar Despotovski's Android Ultimate Toolbox Pro (for signing)
Im on vzw and havent noticed my screen turning on for every text. What are you on?
Oops, AT&T, I keep forgetting this is a combined forum section. :/
Sent from my LG-D800 using Tapatalk 2
Hi OP. Are you able to port this to the LG OG Pro as well? TIA!
Sent from my LG-E988 using XDA Premium HD app
shakes83 said:
Hi OP. Are you able to port this to the LG OG Pro as well? TIA!
Sent from my LG-E988 using XDA Premium HD app
Click to expand...
Click to collapse
I would need the following files:
/system/app/LGMessage.apk
/system/app/LGMessage.odex
/system/framework/lge-res.apk
Note: None of these files contain any personal user information, as they are the stand-alone application/related resources.
If your phone is already rooted/deodexed, then *just* the LGMessage.apk should be enough.
It is entirely possible that the APK and/or resource file is not named the same on that phone, in which case other variations I have seen in the past are: SecMms.apk, Mms.apk, and Message.apk
Just give me approximately 15-30 minutes to upload them. BTW, in the OG Pro it is UniMessagebin.
Thanks again for trying and hope you succeed!
Sent from my LG-E988 using XDA Premium HD app
---------- Post added at 02:17 AM ---------- Previous post was at 01:58 AM ----------
Here's the link!
https://drive.google.com/folderview?id=0B-z3zMhR8cDkODlfNjFRb3pQcUk&usp=sharing
Good luck! :good:
shakes83 said:
Just give me approximately 15-30 minutes to upload them. BTW, in the OG Pro it is UniMessagebin.
Thanks again for trying and hope you succeed!
Sent from my LG-E988 using XDA Premium HD app
---------- Post added at 02:17 AM ---------- Previous post was at 01:58 AM ----------
Here's the link!
https://drive.google.com/folderview?id=0B-z3zMhR8cDkODlfNjFRb3pQcUk&usp=sharing
Good luck! :good:
Click to expand...
Click to collapse
Hi shakes, I PM'd you in case you missed it. Lacking a file to continue the attempt.
burningembers said:
Hi shakes, I PM'd you in case you missed it. Lacking a file to continue the attempt.
Click to expand...
Click to collapse
uploaded :good::good:
deleteme.
Hi OP. Im just confused. So where did the ported LGMessage go now if I'm pasting the LGSystemUI?
Sent from my LG-E988 using XDA Premium HD app
shakes83 said:
Hi OP. Im just confused. So where did the ported LGMessage go now if I'm pasting the LGSystemUI?
Sent from my LG-E988 using XDA Premium HD app
Click to expand...
Click to collapse
Oops, lack of sleep got the best of me. I'll remedy that here shortly...
edit: Shakes, check PM. For de-odexing the Unimessagebin.odex file I need a few more framework items.
burningembers said:
Oops, lack of sleep got the best of me. I'll remedy that here shortly...
edit: Shakes, check PM. For de-odexing the Unimessagebin.odex file I need a few more framework items.
Click to expand...
Click to collapse
Done, sir!:fingers-crossed:
shakes83 said:
Done, sir!:fingers-crossed:
Click to expand...
Click to collapse
** Disclaimer: Use at your own risk. I am not responsible or liable for whatever happens. **
Shakes- so here's the deal, the UniMessagebin is quite a bit different than the LG G2 implementation.
I was able to track down what I think are the two tweaks necessary to disable screen-on notification, but I have no good way of testing this so it is a real shot in the dark.
Please, please realize this and do due diligence and back-up your files just in case.
Installation Instructions:
* Backup UniMessagebin.apk and UniMessagebin.odex from /system/app
* Move existing UniMessagebin.apk and UniMessagebin.odex to some other location outside of /system/app (I put mine in my dropbox)
* Copy over the newly modified UniMessagebin.apk
* Reboot
* Hopefully it works...
Modified UniMessagebin.apk Link: https://db.tt/cZu1Gbot
I think it works! I just have a question. Why does the LG OG Pro's messaging app turn my SMS into MMS when I include emojicons? It will make that MMS beep as soon as I put an emoji.
Thank you!
Sent from my LG-E988 using XDA Premium HD app
shakes83 said:
I think it works! I just have a question. Why does the LG OG Pro's messaging app turn my SMS into MMS when I include emojicons? It will make that MMS beep as soon as I put an emoji.
Thank you!
Sent from my LG-E988 using XDA Premium HD app
Click to expand...
Click to collapse
In nearly every case, emoji's are just pictures sent as an MMS when used on Android phones instead of a special softbank short code for said image.
I had to download a modified UniMessagebin from I think a LGOG because that one does not turn it to MMS. However it does not support XXHDPI resolution so the fonts are not as small as they are supposed to be. Is there a way to disable auto MMS conversion when including emojis?
Sent from my LG-E988 using XDA Premium HD app
shakes83 said:
I had to download a modified UniMessagebin from I think a LGOG because that one does not turn it to MMS. However it does not support XXHDPI resolution so the fonts are not as small as they are supposed to be. Is there a way to disable auto MMS conversion when including emojis?
Sent from my LG-E988 using XDA Premium HD app
Click to expand...
Click to collapse
Not that I'm aware of, but I don't know much about MMS/emoji technology.
I was under the impression that emoji's were specialized character encodings and that the reason most Android systems turn them into MMS is for more universal usage without the worries of character encoding compatibility.
Sorry I can't help more :/
I just wanted to drop in and say how much I missed this mod when I had to flash back to stock. This is a great mod. will be installing again today.
Is there anyway to make this a flashable .zip?
Great work Dev. Also what tools did you use to de-odex the files?
Wesley32 said:
I just wanted to drop in and say how much I missed this mod when I had to flash back to stock. This is a great mod. will be installing again today.
Is there anyway to make this a flashable .zip?
Great work Dev. Also what tools did you use to de-odex the files?
Click to expand...
Click to collapse
I'll make it a flashable zip here shortly and update the OP.
I used the latest baksmali and smali releases from code.google.com coupled with the latest Java SDK, Android SDK, and JD GUI.
Sent from my LG-D800 using Tapatalk 2
UniMessage for gpro work great.
hi
so one of the features I would like to add to a stock deodex 4.2.2 ROM is the advanced reboot feature. I want to do this nativly but I dont know how. can someone point me in the right direction.
thankyou
phonegeekjr said:
hi
so one of the features I would like to add to a stock deodex 4.2.2 ROM is the advanced reboot feature. I want to do this nativly but I dont know how. can someone point me in the right direction.
thankyou
Click to expand...
Click to collapse
use SENSE 5 toolbox in development thread http://forum.xda-developers.com/showthread.php?p=46837064
Or else VIPER XL it pretty much has all the options one can need!
Have tried that and it doesn't seam to work. I am building and testing the Rom and this is a feature I want to include. I use viper when I'm not testing and love it. What do I have to edit to have this feature in my rom
Sent from my HTCONE using xda app-developers app
phonegeekjr said:
Have tried that and it doesn't seam to work. I am building and testing the Rom and this is a feature I want to include. I use viper when I'm not testing and love it. What do I have to edit to have this feature in my rom
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Most of the guides that I have found are for non HTC phones. I have a few links for you to check out. From what I have read, they are mostly framework-res.apk and android.policy.jar edits.
I have extracted the classes.dex out of the jar and tried to wade my way through all of the .smali files. It looks as if the GlobalActions.smali points to either GlobalActions3 or GlobalActions4.smali for reboot options.
The guides also point to certain edits which need to be made to the framework-res.apk. Mainly strings.xml. They say to then recompile, then decompile the new framework-res.apk and lookup certain hex values in public.xml.I thought I had it figured out, but then I saw that some of the hex codes were 4xxxxxx hex codes, which points to framework-HTC-res.apk. That's kindof where I got stuck because I could not get that apk to successfully decompile.
Looking at the GlobalActions.smali I saw references to com.HTC.resources, so I kinda knew this was to be expected. I seem to be having trouble getting the necessary framework installed through apktool to successfully decompile.
Additionally, I have taken apart quite a few Roms frameworks (Roms that aren't using Sense 5 toolbox or exposed mods) to try to decipher how they applied the necessary changes, yet they are all so different. Some look to have used arrays, others strings. I know the arrays are probably for multilingual options.
Links coming as soon as I get to my pc.
Click button below for links:
http://forum.xda-developers.com/showthread.php?t=1169443
http://forum.xda-developers.com/showthread.php?t=811532
https://docs.google.com/document/d/11a7ghZpdTcZbeDtneTnEHkHLn5_XQ9k2FDFFh-os-q0/edit
http://forum.xda-developers.com/showthread.php?t=776495
When reading the hex values in the files, the chart below should point you in the right direction:
0x10xxxx is in framework-res.apk
0x20xxxx is in com.htc.resources.apk
0x40xxxx is in framework-htc-res.apk
I too am trying to learn how to do all of this. Please let me know if you figure anything out. It seems to be who you know around here that directly reflects what you know.
Thanks. Do u know of a apk to tool to fix these apps with
Sent from my HTCONE using xda app-developers app
phonegeekjr said:
Thanks. Do u know of a apk to tool to fix these apps with
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Not quite sure what you meant here. An .apk to do what exactly?
Also, if I've helped and you want to show appreciate for my comment, just hit the thanks button, instead of thanking me in your posts. I believe that is the recommended way of doing things around here. Check the forum rules for clarification.
http://forum.xda-developers.com/showthread.php?p=30899605
Sent from my HTC One XL using XDA Premium 4 mobile app
Black!Jack said:
Not quite sure what you meant here. An .apk to do what exactly?
Also, if I've helped and you want to show appreciate for my comment, just hit the thanks button, instead of thanking me in your posts. I believe that is the recommended way of doing things around here. Check the forum rules for clarification.
http://forum.xda-developers.com/showthread.php?p=30899605
Sent from my HTC One XL using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I need a tool to decompile and recompile apk
Sent from my HTCONE using xda app-developers app
Zarchiver
Sent from my Evita
timmaaa said:
Zarchiver
Sent from my Evita
Click to expand...
Click to collapse
what about for a linux computer are there any tools I can use with that.
Not sure about on Linux, you should be able to find something via Google. There should also be guides on XDA.
Sent from my Evita
phonegeekjr said:
I need a tool to decompile and recompile apk
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Apktool... ApkMultiTool (really just a UI to take command line work out of the equation-not really my style though), Virtuous10 Studios, many more I'm sure I forgot. I have some .bat files for executing necessary commands if your not sure how to use command line.
Sent from my HTC One XL using XDA Premium 4 mobile app
---------- Post added at 05:32 PM ---------- Previous post was at 04:32 PM ----------
timmaaa said:
Zarchiver
Sent from my Evita
Click to expand...
Click to collapse
Not sure that Zarchiver is a tool for Decompiling and Recompiling .apks.
From what I have read about it, it looks more like a File Manager/Archiver.
@ PhoneGeek... for Linux I would have to say that apktool is going to be your best bet. You can find the XDA thread here. And the main page for apktool is here.
Black!Jack said:
Most of the guides that I have found are for non HTC phones. I have a few links for you to check out. From what I have read, they are mostly framework-res.apk and android.policy.jar edits.
I have extracted the classes.dex out of the jar and tried to wade my way through all of the .smali files. It looks as if the GlobalActions.smali points to either GlobalActions3 or GlobalActions4.smali for reboot options.
The guides also point to certain edits which need to be made to the framework-res.apk. Mainly strings.xml. They say to then recompile, then decompile the new framework-res.apk and lookup certain hex values in public.xml.I thought I had it figured out, but then I saw that some of the hex codes were 4xxxxxx hex codes, which points to framework-HTC-res.apk. That's kindof where I got stuck because I could not get that apk to successfully decompile.
Looking at the GlobalActions.smali I saw references to com.HTC.resources, so I kinda knew this was to be expected. I seem to be having trouble getting the necessary framework installed through apktool to successfully decompile.
Additionally, I have taken apart quite a few Roms frameworks (Roms that aren't using Sense 5 toolbox or exposed mods) to try to decipher how they applied the necessary changes, yet they are all so different. Some look to have used arrays, others strings. I know the arrays are probably for multilingual options.
Links coming as soon as I get to my pc.
Click button below for links:
http://forum.xda-developers.com/showthread.php?t=1169443
http://forum.xda-developers.com/showthread.php?t=811532
https://docs.google.com/document/d/11a7ghZpdTcZbeDtneTnEHkHLn5_XQ9k2FDFFh-os-q0/edit
http://forum.xda-developers.com/showthread.php?t=776495
When reading the hex values in the files, the chart below should point you in the right direction:
0x10xxxx is in framework-res.apk
0x20xxxx is in com.htc.resources.apk
0x40xxxx is in framework-htc-res.apk
I too am trying to learn how to do all of this. Please let me know if you figure anything out. It seems to be who you know around here that directly reflects what you know.
Click to expand...
Click to collapse
first link is for samsung. last link is for mod for a sense 4 or sense 4+ rom. the samsung link, is it ok to folow the steps in it. and the mod isnt even for the at&t htc one xl sense 5. will it work
phonegeekjr said:
first link is for samsung. last link is for mod for a sense 4 or sense 4+ rom. the samsung link, is it ok to folow the steps in it. and the mod isnt even for the at&t htc one xl sense 5. will it work
Click to expand...
Click to collapse
That is what I was originally trying to let you know. The one for the HTC MOD is device specific (HTC Desire I believe). I have gone through the .smali files as these guides instructed and noticed a wide variety of variance. If you decide to attempt the instructions per those guides, you do so at your own risk; especially if you have no idea what you are really doing. The Devs around here are labeled that for a reason. Chances are... they really know what they are doing when messing around with files that could deem our phones inoperable.
One bit of advice I will give you before you start messing with the .smali files, is to learn Java, if you don't already, and then head over to the Smali page and read through all of the documentation in their wiki (it will be hard to understand if you don't know Java though). After taking the time to learn these things, when you open up the .smali files you will have a better understanding of what you are actually looking at and how things are structured. For example, when you open one up, you will perhaps see some variance of :
invoke-direct {v0, v1, p0, v2}
Well, what do all of these v's and p's mean - what do they point to?
There are two naming schemes for registers - the normal v naming scheme and the p naming scheme for parameter registers. Confused?
Read the wiki! Confused by the wiki? Learn Java! This is really the best advice that I can give you. By no means am I downing you or questioning your intelligence. I am simply trying to help you by pointing you in the right direction. Spoon-feeding you all of the answers isn't going to help you learn. I am by no means an expert; not even dillusional enough to think that I am- though my wife may disagree!
In addition, when you get to the Smali page, on the Project home tab, there is a link for an IRC chat room and an example of how the entry level "Hello World" app is broken down into .smali.
Hope that I have helped, to at least point you in the right direction. If I have click the Thanks button!
Edit: Here are some links that may be useful in your quest for knowledge of this subject matter:
Modifying .smali files
Convert .smali to .java
Dalvik opcodes
Android opcodes
Bytecode for the Dalvik VM
Another place with useful links
All of these resources were found with the help of my good friend Google, and her red-headed stepchild XDA!
Hi. I have tried yet again to make sense 5 toolbox apm work. Still not. Latest version of framework used. Any ideas
edit: foumd the problem and apm is now working.
Sent from my HTC One XL using xda app-developers app