Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
tommytomatoe
Old
#521  
tommytomatoe's Avatar
Recognized Developer - OP
Thanks Meter 6715
Posts: 6,234
Join Date: Dec 2010
Location: Knoxville USA

 
DONATE TO ME
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: [ Click to Expand ]
 
bombadier
Old
#522  
bombadier's Avatar
Senior Member
Thanks Meter 345
Posts: 1,014
Join Date: Jul 2010
Location: Lanark

 
DONATE TO ME
Well all the best with your studies dude and thanks for Android Utility.
Phone: Galaxy Nexus
ROM: JB 4.2.2 *Cataclysm*
Kernel: Franco kernel for 4.2
Baseband:I9250XXLJ1
Recovery: TWRP until 4EXTRecovery arrives
The Following 2 Users Say Thank You to bombadier For This Useful Post: [ Click to Expand ]
 
Wildchld
Old
#523  
Wildchld's Avatar
Senior Member
Thanks Meter 2627
Posts: 2,201
Join Date: Jun 2007
Location: Miami
Wish you too. AU is awesome as it is with GUI it would be sick.


Sent from my SGH-T989 using Tapatalk
Current Device

Fone
N2:
SGS3: Rooted / XquiziT - Blue Theme - Odexed
GNex: Rooted / AOKP
TMO SGSII: Rooted / AOKP

Tablet
Asus Transformer 32gb w/ Dock: Rooted / AOKP
Samsung SGH-800: Rooted / AOKP

The Following User Says Thank You to Wildchld For This Useful Post: [ Click to Expand ]
 
ZenPit
Old
#524  
ZenPit's Avatar
Member
Thanks Meter 13
Posts: 72
Join Date: Jun 2010
Location: Houston

 
DONATE TO ME
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!
 
Wildchld
Old
#525  
Wildchld's Avatar
Senior Member
Thanks Meter 2627
Posts: 2,201
Join Date: Jun 2007
Location: Miami
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
Current Device

Fone
N2:
SGS3: Rooted / XquiziT - Blue Theme - Odexed
GNex: Rooted / AOKP
TMO SGSII: Rooted / AOKP

Tablet
Asus Transformer 32gb w/ Dock: Rooted / AOKP
Samsung SGH-800: Rooted / AOKP

 
xCHPx
Old
(Last edited by xCHPx; 25th March 2012 at 07:30 PM.)
#526  
Senior Member
Thanks Meter 18
Posts: 358
Join Date: Oct 2010
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
DroidX > Thunderbolt > GS3
 
grayn0de
Old
#527  
grayn0de's Avatar
Senior Member
Thanks Meter 306
Posts: 350
Join Date: Mar 2009
Location: Austin, Tx
Quote:
Originally Posted by xCHPx View Post
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?
My Projects | Donate
HTC Evo 4G (Supersonic): AlterROM Redux (DEPRECATED)
HTC Evo 4G LTE (Jewel): rEVOLTEd (Team Swag), AlterROM ELiTE (ON HOLD)
 
scott.hart.bti
Old
#528  
scott.hart.bti's Avatar
Recognized Developer
Thanks Meter 13863
Posts: 2,117
Join Date: Mar 2012
Location: Reading

 
DONATE TO ME
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?
 
MasterZen88
Old
#529  
Senior Member
Thanks Meter 220
Posts: 245
Join Date: Feb 2012

 
DONATE TO ME
Quote:
Originally Posted by scott.hart.bti View Post
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: [ Click to Expand ]
 
scott.hart.bti
Old
#530  
scott.hart.bti's Avatar
Recognized Developer
Thanks Meter 13863
Posts: 2,117
Join Date: Mar 2012
Location: Reading

 
DONATE TO ME
Quote:
Originally Posted by MasterZen88 View Post
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?

 
Post Reply+
Tags
apktool, draw9patch compiler, mac
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...