Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[UTILITY] Android Utility - [apktool|dex2jar|smali|more][Mac & Linux][Feb13, 2012]

OP tommytomatoe

14th July 2011, 04:59 PM   |  #11  
tommytomatoe's Avatar
OP Recognized Developer
Flag Knoxville USA
Thanks Meter: 6,825
 
6,256 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Quote:
Originally Posted by kennethpenn

I'm on a Windows computer, but I'd be willing to grab a Mac to try this out if it can solve my problem.

I need to edit AndroidManifest.xml in Settings.apk. I follow the procedure below:
1. Decompile settings.apk
2. Edit AndroidManifest.xml
3. Recompile
4. Drag and replace AndroidManifest.xml from recompiled version into original

Unfortunately, the application doesn't show up on the device. I've been using apktool, but also tried apk manager with signing and all. I don't know how to fix the problem, which I assume is caused by the signature of the APK.

Will your utility make it easier for me to edit this file?

I believe it will be easier for you. In the decompile process AU will ask if you would like to extract original META INF. Once you're done Modding what you want to do, drag the Meta INF into the new apk. Everything is organized and easily understood once you use it. But before you get a Mac....

What are you changing in the manifest? It could very well be your edit doesn't work. Please give more information

Sent from my PC36100 using XDA Premium App
14th July 2011, 07:03 PM   |  #12  
tommytomatoe's Avatar
OP Recognized Developer
Flag Knoxville USA
Thanks Meter: 6,825
 
6,256 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Linux Version coming within the hour. Just needs a little testing :)
14th July 2011, 08:36 PM   |  #13  
tommytomatoe's Avatar
OP Recognized Developer
Flag Knoxville USA
Thanks Meter: 6,825
 
6,256 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Linux Version B-1.0.0 is live. :)
14th July 2011, 09:03 PM   |  #14  
Rydah805's Avatar
Recognized Contributor
Flag Ventura County, CA
Thanks Meter: 1,183
 
3,867 posts
Join Date:Joined: Oct 2008
Donate to Me
More
This is hands down, the best utility. Love it.

Sent From My HTC Evo 3D Using Tapatalk On The Now Network From Sprint!
14th July 2011, 09:05 PM   |  #15  
tommytomatoe's Avatar
OP Recognized Developer
Flag Knoxville USA
Thanks Meter: 6,825
 
6,256 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Quote:
Originally Posted by Rydah805

This is hands down, the best utility. Love it.

Sent From My HTC Evo 3D Using Tapatalk On The Now Network From Sprint!

You are hands down too nice :)

Sent from my PC36100 using XDA Premium App
14th July 2011, 10:08 PM   |  #16  
grumpygul's Avatar
Member
Flag New Orleans
Thanks Meter: 24
 
35 posts
Join Date:Joined: Jul 2011
More
Awesome, thank you!
Last edited by grumpygul; 14th July 2011 at 10:58 PM.
14th July 2011, 10:41 PM   |  #17  
TMartin's Avatar
Recognized Developer
Flag Westerville, Ohio
Thanks Meter: 1,579
 
2,118 posts
Join Date:Joined: Jun 2008
Donate to Me
More
Looks like a great tool. Can't wait to see the other elements included.

On Linux using apk compression, it isn't removing the apk from the "original_apps" folder. Looks like it performs the rm command but leaves off the file extension so it can't find the file to remove.

EDIT: I get this between each file.
Code:
rm: cannot remove '/home/tmartin/android-utility/working-folder/mod-here-multi/original_apps/HtcProfileWidget': No such file or directory
HtcProfileWidget.apk decompressed
Decompressing HtcRingtoneWidget.apk
/home/tmartin/android-utility/working-folder/mod-here-multi/original_apps/HtcRingtoneWidget: No such file or directory
EDIT #2: Looks like it made ever file 24.2mb & unreadable??
Last edited by TMartin; 14th July 2011 at 10:50 PM.
14th July 2011, 10:55 PM   |  #18  
tommytomatoe's Avatar
OP Recognized Developer
Flag Knoxville USA
Thanks Meter: 6,825
 
6,256 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Quote:
Originally Posted by TMartin

Looks like a great tool. Can't wait to see the other elements included.

On Linux using apk compression, it isn't removing the apk from the "original_apps" folder. Looks like it performs the rm command but leaves off the file extension so it can't find the file to remove.

EDIT: I get this between each file.

Code:
rm: cannot remove '/home/tmartin/android-utility/working-folder/mod-here-multi/original_apps/HtcProfileWidget': No such file or directory
HtcProfileWidget.apk decompressed
Decompressing HtcRingtoneWidget.apk
/home/tmartin/android-utility/working-folder/mod-here-multi/original_apps/HtcRingtoneWidget: No such file or directory
EDIT #2: Looks like it made ever file 24.2mb & unreadable??

Arg! Just got to work so I can't fix. I was afraid that one would give errors. Works on Mac but I didn't test in Linux. I will fix later. Sorry about that.

But big thanks for the feedback.

Sent from my PC36100 using XDA Premium App
14th July 2011, 11:00 PM   |  #19  
TMartin's Avatar
Recognized Developer
Flag Westerville, Ohio
Thanks Meter: 1,579
 
2,118 posts
Join Date:Joined: Jun 2008
Donate to Me
More
Quote:
Originally Posted by tommytomatoe

Arg! Just got to work so I can't fix. I was afraid that one would give errors. Works on Mac but I didn't test in Linux. I will fix later. Sorry about that.

But big thanks for the feedback.

Sent from my PC36100 using XDA Premium App

It happens, no rush. I'm just testing things out. I'll let you know if I find anything else.
14th July 2011, 11:09 PM   |  #20  
tommytomatoe's Avatar
OP Recognized Developer
Flag Knoxville USA
Thanks Meter: 6,825
 
6,256 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Quote:
Originally Posted by TMartin

It happens, no rush. I'm just testing things out. I'll let you know if I find anything else.

Thanks man. Please list any and all bugs!! :)

Sent from my PC36100 using XDA Premium App

Post Reply Subscribe to Thread

Tags
apktool, draw9patch compiler, mac
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes