FORUMS

Analysis & Opinion

Top Forum Discussions

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

6,259 posts
Thanks Meter: 6,837
 
By tommytomatoe, Recognized Developer on 13th July 2011, 09:19 PM
Post Reply Subscribe to Thread Email Thread
5th March 2012, 09:45 PM |#521  
tommytomatoe's Avatar
OP Recognized Developer
Flag Knoxville USA
Thanks Meter: 6,837
 
Donate to Me
More
Just a little wittle announcement

I will be haulting features development of Android-Utility for the time being.

In the meantime, I will be updating the Mac OS X version to be current with the Linux version.

Also, as a side project for school, I will attempt to write a GUI for AU with C++ using QT (I am in a C++ class at the moment). This will be a little extra credit project for me. Don't expect anything anytime soon, but I will post pics and posts if anything awesome happens. Wish me luck!

As always, thank you for choosing android-utility for you android modding needs!
The Following 5 Users Say Thank You to tommytomatoe For This Useful Post: [ View ]
 
 
5th March 2012, 10:08 PM |#522  
bombadier's Avatar
Senior Member
Flag The Borders
Thanks Meter: 2,781
 
Donate to Me
More
Well all the best with your studies dude and thanks for Android Utility.
The Following 2 Users Say Thank You to bombadier For This Useful Post: [ View ]
5th March 2012, 11:39 PM |#523  
Wildchld's Avatar
Senior Member
Flag Miami
Thanks Meter: 2,629
 
More
Wish you too. AU is awesome as it is with GUI it would be sick.


Sent from my SGH-T989 using Tapatalk
The Following User Says Thank You to Wildchld For This Useful Post: [ View ]
21st March 2012, 09:32 AM |#524  
ZenPit's Avatar
Member
Flag Houston
Thanks Meter: 13
 
Donate to Me
More
Just managed to get this up on my Linux Mint 12! I have to say it's a very nice utility! Thank you for all your hard work Tommy and I look forward to the eventual updates and feature unlockings!
21st March 2012, 10:26 AM |#525  
Wildchld's Avatar
Senior Member
Flag Miami
Thanks Meter: 2,629
 
More
Tommy think you could add compression option in option 7. Instead of having to go to option 8 after compiling


Sent from my SGH-T989 using Tapatalk
25th March 2012, 05:53 PM |#526  
Senior Member
Thanks Meter: 19
 
More
I'm having troubles recompiling a systemUI.apk, does anybody have any suggestions?

I'm on a Mac on Lion 10.7.3

This is the output I get:
Code:
Building SystemUI 

I: Smaling...
W: Unknown file type, ignoring: SystemUI/smali/.DS_Store
W: Unknown file type, ignoring: SystemUI/smali/com/.DS_Store
W: Unknown file type, ignoring: SystemUI/smali/com/android/.DS_Store
W: Unknown file type, ignoring: SystemUI/smali/com/android/systemui/.DS_Store
W: Unknown file type, ignoring: SystemUI/smali/com/android/systemui/statusbar/.DS_Store
Exception in thread "main" java.lang.NullPointerException
	at org.jf.util.PathUtil.getRelativeFile(PathUtil.java:44)
	at org.jf.smali.smaliFlexLexer.getSourceName(smaliFlexLexer.java:2922)
	at org.antlr.runtime.CommonTokenStream.getSourceName(CommonTokenStream.java:345)
	at org.antlr.runtime.Parser.getSourceName(Parser.java:88)
	at org.jf.smali.smaliParser.getErrorHeader(smaliParser.java:358)
	at org.antlr.runtime.BaseRecognizer.displayRecognitionError(BaseRecognizer.java:192)
	at org.antlr.runtime.BaseRecognizer.reportError(BaseRecognizer.java:186)
	at org.jf.smali.smaliParser.parameter_directive(smaliParser.java:7937)
	at org.jf.smali.smaliParser.statements_and_directives(smaliParser.java:1902)
	at org.jf.smali.smaliParser.method(smaliParser.java:1609)
	at org.jf.smali.smaliParser.smali_file(smaliParser.java:595)
	at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:71)
	at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:43)
	at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
	at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)
	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)
	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
	at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)
	at brut.androlib.Androlib.buildSources(Androlib.java:179)
	at brut.androlib.Androlib.build(Androlib.java:170)
	at brut.androlib.Androlib.build(Androlib.java:154)
	at brut.apktool.Main.cmdBuild(Main.java:182)
	at brut.apktool.Main.main(Main.java:67)

Please check build_log for apk with errors
Last edited by xCHPx; 25th March 2012 at 07:30 PM.
28th March 2012, 08:03 PM |#527  
grayn0de's Avatar
Senior Member
Flag Austin, Tx
Thanks Meter: 306
 
More
Quote:
Originally Posted by xCHPx

I'm having troubles recompiling a systemUI.apk, does anybody have any suggestions?

I'm on a Mac on Lion 10.7.3

This is the output I get:

Code:
Building SystemUI 

I: Smaling...
W: Unknown file type, ignoring: SystemUI/smali/.DS_Store
W: Unknown file type, ignoring: SystemUI/smali/com/.DS_Store
W: Unknown file type, ignoring: SystemUI/smali/com/android/.DS_Store
W: Unknown file type, ignoring: SystemUI/smali/com/android/systemui/.DS_Store
W: Unknown file type, ignoring: SystemUI/smali/com/android/systemui/statusbar/.DS_Store
Exception in thread "main" java.lang.NullPointerException
	at org.jf.util.PathUtil.getRelativeFile(PathUtil.java:44)
	at org.jf.smali.smaliFlexLexer.getSourceName(smaliFlexLexer.java:2922)
	at org.antlr.runtime.CommonTokenStream.getSourceName(CommonTokenStream.java:345)
	at org.antlr.runtime.Parser.getSourceName(Parser.java:88)
	at org.jf.smali.smaliParser.getErrorHeader(smaliParser.java:358)
	at org.antlr.runtime.BaseRecognizer.displayRecognitionError(BaseRecognizer.java:192)
	at org.antlr.runtime.BaseRecognizer.reportError(BaseRecognizer.java:186)
	at org.jf.smali.smaliParser.parameter_directive(smaliParser.java:7937)
	at org.jf.smali.smaliParser.statements_and_directives(smaliParser.java:1902)
	at org.jf.smali.smaliParser.method(smaliParser.java:1609)
	at org.jf.smali.smaliParser.smali_file(smaliParser.java:595)
	at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:71)
	at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:43)
	at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
	at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)
	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)
	at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
	at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)
	at brut.androlib.Androlib.buildSources(Androlib.java:179)
	at brut.androlib.Androlib.build(Androlib.java:170)
	at brut.androlib.Androlib.build(Androlib.java:154)
	at brut.apktool.Main.cmdBuild(Main.java:182)
	at brut.apktool.Main.main(Main.java:67)

Please check build_log for apk with errors

What changes did you make to SystemUI.apk?
18th April 2012, 08:21 AM |#528  
scott.hart.bti's Avatar
Recognized Developer
Flag Reading
Thanks Meter: 17,043
 
Donate to Me
More
Sorry to bring this back to life, but i need some advice.. I have installed Ubuntu and then installed java 6u31 and then ran the android utility install succesfully. I reboot and get the following when trying to run the utility..

scott@ubuntu:~/android-utility$ ./andutil
./andutil: line 340: syntax error near unexpected token `)'
./andutil: line 340: ` 2) apk_dec -m;;'

ideas?
18th April 2012, 02:36 PM |#529  
MasterZen88's Avatar
Senior Member
Thanks Meter: 1,162
 
Donate to Me
More
Quote:
Originally Posted by scott.hart.bti

Sorry to bring this back to life, but i need some advice.. I have installed Ubuntu and then installed java 6u31 and then ran the android utility install succesfully. I reboot and get the following when trying to run the utility..

scott@ubuntu:~/android-utility$ ./andutil
./andutil: line 340: syntax error near unexpected token `)'
./andutil: line 340: ` 2) apk_dec -m;;'

ideas?

Found the problem. Creater forgot to close out the syntax...
Code:
	1) echo "woot" ;; #a_if;;
	2) apk_dec -m;;
	3) apk_build -m;;
	a) ttadb;;
Just add the following in red to your script and it should work.
The Following User Says Thank You to MasterZen88 For This Useful Post: [ View ]
18th April 2012, 03:23 PM |#530  
scott.hart.bti's Avatar
Recognized Developer
Flag Reading
Thanks Meter: 17,043
 
Donate to Me
More
Quote:
Originally Posted by MasterZen88

Found the problem. Creater forgot to close out the syntax...

Code:
	1) echo "woot" ;; #a_if;;
	2) apk_dec -m;;
	3) apk_build -m;;
	a) ttadb;;
Just add the following in red to your script and it should work.

Thanks for the reply... Forgive my ignorance I'm new to Linux... When u say add to the script you mean the actual andutil file?
18th April 2012, 04:37 PM |#531  
tommytomatoe's Avatar
OP Recognized Developer
Flag Knoxville USA
Thanks Meter: 6,837
 
Donate to Me
More
I will update tonight. I commented out a line last night and it was late, and in doing.so I added a random ' lol. Fix later.

Sent from my PG86100 using Tapatalk 2

Read More
Post Reply Subscribe to Thread

Tags
apktool, draw9patch compiler, mac

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes