yashsingh1/xdaforums huggingface dataset:
[Android] tommytomatoe:
Lol..you know I fixed that typo for Linux but I haven't had time to update Mac. Thanks for pointing out.

I sold my hackintosh a few months ago and haven't had time to work on Mac version. My iMac at home is my secondary workstation but its my fiancée's main one. So I don't use it often. I will update eventually. Thanks!

all you need is a lovely signature.
[Android] Jsmokey:
Hey tommy don't know if you are still trying to wrangle up the projects au has helped make but I wanted to go ahead and link you to the newest screenies for my still WIP Antares Darkcloud rom for you to check out, its been a few months in the making now. Mostly due to me having a problem making up my mind about things and trying to get mods made for deodexed working in my odexed rom. I know I'm crazy for trying but its finally paying off and I've managed to get a handful of them fully functional and leaving things odexed has definitely made an improvement in performance over the deodexed version I was playing around with.

A few things are still a little "alpha" that I just added like the quickpanel bg but for the most part its finally almost completed other than minor edits/fixes here and there.

Antares Screenshots
[Android] Amin`:
@tomm

all of problems solved but now I have a new problem:
[Android] Jsmokey:
Sounds like either update manager, package manager, or aapt is running in the background or wasn't correctly shut down. Its the same error you'd get if you had package manager open and try to run aapt. Basically they use the lock so that way you can't run another package manager and screw up an installation or removal that's ongoing in another manager. If you were using aapt and a package failed to install that can also sometimes cause the problem or if you exit an install prematurely.

Either you will need to go into system monitor and kill any open package managers or simply reboot.
[Android] Amin`:
thanks , now there is another problem:
[Android] tommytomatoe:
Reboot your computer to get rid of those errors. Then when you boot up make sure no updates are installing.

all you need is a lovely signature.
[Android] Jsmokey:
Yeah you're going to need to do as tommy said, sounds like an install was going on in the background when the process was killed.
[Android] Amin`:
Guys! I took reboot but still the same error:
[Android] tommytomatoe:
Mmm ... How about finishing the update that you were taking. Then continue.

What are you running to invoke this error?

all you need is a lovely signature.
[Android] Amin`:
I was trying to compile oxygen for my x10 but I saw it's easier to compile cm...can you help for compile oxygen/aosp?!

---------- Post added at 08:21 AM ---------- Previous post was at 08:13 AM ----------

according to this guide I finished step one but I can't do step2

I have problem in "Installing Repo" can you explaine me easily what must I do?I found this guide too(I think it is useful):

[x10] Solution to android.git.kernel.org being hacked

plz tell me step by step and easily:rolleyes:

many thanks;)

---------- Post added at 08:43 AM ---------- Previous post was at 08:21 AM ----------

I decided to install ubuntu again
[Android] Jsmokey:
That really wasn't necessary but with the other problems you were having compiling that might've been best to start fresh. I would recommend going to cyanogenmod's wiki page not his web page and follow the guide to compile for your device.

It literally has a step by step guide for almost every device that can get cm on it.

Edit: If you need any help setting up or compiling source just pm me so we don't add a bunch of non au posts to tommy's thread, I'm more than happy to help and have quite a bit of experience compiling cm and aosp source.
[Android] :
Hi

I've got some problems using your great tool. I'm using mac snow leopard and version 1.0.2.

I can decompile apk's but can't recompile them. The tool said it couldn't find apk files.

For signing apk's, I've found now keystore manager. How to use it?

Sorry for these questions, I'm a noob and just new to android developing.
[Android] Jsmokey:
new option idea

Hey tommy I've recently been researching smali editing and apk reverse engineering more in depth than the basic knowledge I had already picked up on the subject and a big help to the whole process is running a java debugging session which requires that the apk be decompiled and then recompiled with the debugging options in apktool.

After my first few runs at smali editing this process has been a big eye opener to how much easier it can be to understand what is going on it the smali files and where so I was wondering if we could get an update to au that has the extra options in the apk menu for this? I really hate to pester you about such a small addition but I just thought it may be something worth adding to au to save users who do smali editing/reverse engineering from having to use apktool by itself to do it.

I don't know how much interest other users would have in this option so it may not be worth the time adding in the option for you and if not that's no problem since I added it to my installation of au already anyways to save me time. Only downside is that its forced me to turn off auto updates to keep my modifications from being erased and adding them all over again.

Anyways thanks again for the great utility tommy its saved me countless time and headaches.
[Android] tommytomatoe:
That is a great idea man. Im happily honeymooning right now iin disney world. I had a second while waiting on my food to check this. Post your edits to the apk tool script. I will.be more than happy to include it in my next release. Ill be back from vacation next week. I wont plan on checking phone again til.then :-)

Sent from my PC36100
[Android] Jsmokey:
Glad to hear you tied the knot finally man, hope you have a good time with the new mrs. I'll post my edits after I get my drive all backed up and get my new one in.

Booted up my linux box this morning and the platter is making some terrible noise like the old ibm desk stars were known to so I'm sure its on its last legs which leaves me with no decent work machine other than my ancient pentium 4 machine till my new drive gets in some time late next week.
[Android] pimpmaneaton:
Tommy just wanted to jump in and say that this is an awesome and very handy app. I have some issues with it but hopefully have them worked out by adding in the latest apktool 1.4.3. Thank you for making this and look forward to your next release.

Sent from my Sensation Rockin MIUI 1.12.16!
[Android] tommytomatoe:
Thanks man. I've been super busy with life in general and also my Rom. I will for sure update in the next few weeks. Hang tight!
[Android] Amin`:
Hi all

I have a problem during AU installation:

java is done and I did restart but still...
[Android] tommytomatoe:
What os are you on?
[Android] raycaster3:
I've been searching the thread and reading for about an hour and if this has been resolved I'm sorry. I decompiled a systemui.apk for samsung galaxy s2 t989 and made edits to a file, saved it, then recompiled. The issue came when I recompiled. It said it skipped the very file I modded and I know the mod wasn't bad all I did was change the custom name that appeared in a menu. I was using au 1.0.9 on ubuntu 11.10 and used apk tool to de and recompile. Is the output folder the same as the mod solo file or is there a different folder? Thanks so much for your app and for your time. I really appreciate it

DARKSIDE
[Android] :
When I try to decompile android.policy.jar it says it cant find the smali.jar?

I'm running snow leopard.

Anyone a solution?
[Android] tommytomatoe:
Hey there. Ive been busy with a number of things and havent chdcked my thread in a while.

If there is no valid project found then the decompile stage went bad. Make sure youve installed both framework apks from your rom with option 1 in apk reengineering.

Tell me which steps you've taken to get to this point...
[Android] s2d4:
trolling much? with profanity to boot.. do it over pm is too hard?

How else do you suggest to install git without sudo?

Permissions? You kidding me?

You can not issue a sudo command without it asking you to put a password unless you are already in a sudo session.

All I can see is that he made sure git is definitely installed for that user.

You need git to check updates, and get latest apktools etc to therefore make sure the install is complete!

Damaged system? Over copy commands? Setting access permissions to his tool's directory? Start adb server? What the hell are you on about?
[Android] Wildchld:
+1
[Android] raycaster3:
I just looked in framework an low and behold there was a Twframeworkres I had no idea there were two. I'll try it after I install that one too. The other question was where the output would be, but it's in a build folder right? Like inside the decompiled app?

DARKSIDE
[Android] tommytomatoe:
@fowen

Your apk won't rebuild due to bad 9.png amongst other things. I suggest fixing those before carrying on.

You're correct. The new apk will be in the decompiled apk folder. Specifically the dist folder

SystemUI.apk -> SystemUI/

Then build

New apk = SystemUI/dist/SystemUI.apk

But the new apk isn't ready until you resign it or inject original META-INF, both of which are options with au.

Btw use the multi folder when doing operations. The workflow makes more sense IMO.
[Android] fowenati:
Even after I fix the .9.png, its giving me errors about 2 lines in status_bar_expanded.xml having to do with title color
[Android] tommytomatoe:
Well that's progress. Post the error with the ccolor.

Are you sure you put it in there with the correct hex color format?

#AARRGGBB

If you leave out one character or even the # the apk won't compile.
[Android] Amphibliam:
This is pretty awesome. Where can I find apk's after I recompile them?
[Android] fowenati:
ah**** i forgot the # ! thanks, gonna try it now

EDIT: It worked! is there a problem becuase whenever I recompile an APK it gives me a build folder, but never an actual APK. I never know wether or not to include the output resources.arsc, classes.dex, or anything else. Should I just replace over everything into the previous APK using betterzip?
[Android] Amphibliam:
Same thing happening to me. My apks say they recompile with no errors, but they are nowhere to be found.
[Android] fowenati:
the files themselves are in the build folder of the project, im just not sure what I should copy over to the APK (i've heard resources.arsc rebuilds itself, and im lost about classes.dex)
[Android] tommytomatoe:
The new apk is in the "dist" folder of the working folder. I posted this a couple posts back.

For example

SystemUI.apk>SystemUI

Recompile

SystemUI/dist/SystemUI.apk

New apk is in dist. Need to resign or put original META-INF in it.

This is native to apktool. The next update I will make it more obvious.
[Android] fowenati:
So I need to resign apks that go into /system/ :confused:
[Android] tommytomatoe:
depends on which rom.

But the general.rule of thumb for system/app/ type apps take the original META-INF from original apk and out into new apk. If you use Mac and I think you do look for a program called BetterZip. Ubuntu has native apk support for opening as archive.
[Android] fowenati:
Yep, been using better zip for a while, I made my own ROM based off of wildshooter. So yeah, old meta-inf to new APK
[Android] raycaster3:
That would help a ton for a knucklehead like me. Thanks a lot.

DARKSIDE
[Android] nguyenhonganh:
Thanks Tommy, this tool is great !!!!!!!!!!! :D
[Android] mutant13:
Just installed for the first time, and bammm I get the special edition... great tool for Ubuntu Thanks !
[Android] tommytomatoe:
Thanks mutant!

Gonna gave to find time to do some updating :-)
[Android] raycaster3:
+1! This utility is amazing. I have learned so much lately and been able to do more than I ever thought I could, and really it's because you made it all so user friendly. Thanks tt

.:†:.DARKSIDE.:†:.
[Android] Clarkkent434:
I am on a iMac. I am try to get bottom toggles incorporated into the Galaxy Nexus rom I use. Or Even tthe code to the developer so he can add it. Look for a tutorial but i could not find but this is the steps I did.

1. I removed the systemui.apk and framework.apk from AOKP 21. I also removed the systemui.apk from the mod(bottom toggles).

2. I start the APKtool.

3. Enter number "6" apk Re-Engineering.

4. Place the framework in the working folder framwork here. In the mod-solo-here the bottom toggles systemui.apk

5. Then "1" Install framework first (ie. framework-res.apk) This is what I got

Installing framework-res.apk.......

W: Config flags size > 32. Exceeding bytes: -2FFE0000.

W: Invalid config flags detected: dimen-v13-ERR0

W: Config flags size > 32. Exceeding bytes: 0000D002.

W: Invalid config flags detected: dimen-v13-ERR1

W: Config flags size > 32. Exceeding bytes: 00040000.

W: Invalid config flags detected: dimen-v13-ERR2

W: Config flags size > 32. Exceeding bytes: 00050000.

W: Invalid config flags detected: dimen-v13-ERR3

W: Config flags size > 32. Exceeding bytes: 58020000.

W: Invalid config flags detected: layout-v13-ERR4

W: Config flags size > 32. Exceeding bytes: 68010000.

W: Invalid config flags detected: integer-v13-ERR5

W: Config flags size > 32. Exceeding bytes: -BFF0000.

W: Invalid config flags detected: integer-v13-ERR6

W: Config flags size > 32. Exceeding bytes: 58020000.

W: Invalid config flags detected: integer-v13-ERR7

W: Config flags size > 32. Exceeding bytes: -2FFE0000.

W: Invalid config flags detected: integer-v13-ERR8

W: Config flags size > 32. Exceeding bytes: 0000D002.

W: Invalid config flags detected: integer-v13-ERR9

W: Config flags size > 32. Exceeding bytes: -1FFF0000.

W: Invalid config flags detected: bool-v13-ERR10

I: Framework installed to: /Users/ironman/apktool/framework/1.apk

6. Hit "2" decompile apk.

7. Would you like to decode it? Hit "1" Yes

8. Would you like to extract original META-INF? HIt "1" Yes I got no error.

9. Still on the apk Re-Engineering screen I hit "4" Recompile Apk I got a error "Android Utility did not find a valid project" What does that mean?

After this I have no clue what to due thanks.
[Android] tommytomatoe:
Currently apktool iis no go for.ics...sorry!
[Android] Clarkkent434:
Oh thats why it won't work. Duh. You live and learn.
[Android] linsalata28:
Awesome tool tommy.

Its about time I subscribe to this thread.
[Android] wali01x:
hey tommy sorry to bug ya. i need to know 1 thing im actually working as a themer for skyrocket i727 for now. i have a base which im working on in fixing it and then theming it properly and all. i fixed all bad pngs and what not but i keep running into these 2 errors and yet it makes it difficult for ppl that use my theme to use their own mods for battery or all hence the manual process of me doing it comes into play..i wanna resolve this issue once it for all in this framework but these 2 errors are not helping and i looked everywhere to see where this error is coming from but to no sucess. im using windows7,apk manager 4.9 tool.

errors are:

I: Building resources...

aapt: warning: string 'zzz_global_action_airplane_mode_off' has no default translation in C:\Users\ALI\Desktop\Samsung Stuff\apk_manager_4.9\other\..\projects\framework-res.apk\res; found: ko

aapt: warning: string 'zzz_global_action_airplane_mode_on' has no default translation in C:\Users\ALI\Desktop\Samsung Stuff\apk_manager_4.9\other\..\projects\framework-res.apk\res; found: ko

I: Building apk file...

The system cannot find the file specified.

will appreciate your quick response..
[Android] Kalashnikitty:
this means the string "zzz_global_action_airplane_mode_off" is defined in /values/strings but not in values-ko.

just add these strings to the right file and the error is gone
[Android] MR2-MiKe:
Great tool. I'm trying my hand at themeing and this is perfect for use on my Mac.

I: Building resources...
/Users/mikehope/android-utility/working-folder/mod-here-solo/SystemUI/res/values/styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.Panel'.
/Users/mikehope/android-utility/working-folder/mod-here-solo/SystemUI/res/values/styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.Panel'.

I receive this when I try to compile. All I've edited was the statusbar pngs. Any idea on what I should do?
[Android] tommytomatoe:
v1.1.0 is Out. If you have auto-update on it will udpate on next use of AU.

If not...update! The version is pretty nifty. :-)

Actually...it means that the string specified "zzz_global_action_airplane_mode_on" exists in the langauge "ko" but not in the default language (english, aka values/strings.xml). Unless you are concerned with Korean support than you can ignore this error. So Midian you were close, just opposite :-)

9/10 times you can ignore the error for default translations:

aapt: warning: string SAMPLE_STRING' has no default translation

As long as you see: I: Building apk file... then you are golden (well, mostly). Hope that clears it up!

Which rom/device is this for? ANd did you isntall frmaeworkes with option 1?
[Android] MR2-MiKe:
its funny. I deleted the 1.apk and 2.apk and it worked. it was the systemui.apk for Tuesday rom sgs2.
[Android] tommytomatoe:
Great man. Yeah when you have the wrong frameworks (1.apk and 2.apk) apks won't decode. Sometimes using the resources within apktool works :-)
[Android] tommytomatoe:
v1.1.1

apktool 1.4.3.

updated
[Android] MR2-MiKe:
dude I got to say again this thing is amazing. I just got into themeing and this makes it so much easier on my Mac... ill be watching this thread closely lol.
[Android] nolandrew:
@tommy

hey, is 1.1.1 for mac? I only see 1.0.2 in OP (which is what version I have installed). When i run update, it connects to repository, but still only has 1.0.2. Am I doing something wrong? I've tried every link in OP and I only find info for 1.0.2 anywhere. thanks
[Android] Kalashnikitty:
cool but aapt is not updated to v15
[Android] tommytomatoe:
Sadly i dont have an active devving Mac OS machine. I sold my hackintosh a few months ago and that was my primary devbox. Now i only use linux on my new laptop. I have an iMac at home but its more my wife's, and i dont usually do computer stuff from home.

I am however looking to sell my current laptop to get a macbool pro. If you or anyone you know is looking for a top-end custom laptop let me know (quad core 2630 i7, 6990 amd, 16gb 1333mhz memory, 750gb 7200rpm hdd, 128gb Samsung ssd, Bigfoot killer wireless b/g/n, 1080p 95% gamut screen). This thing is a beauty but I miss my mac os. Id like to get a high end MBP and dual boot with Linux. That way I can do both.

Until then though I wont be able to update Mac AU to v1.1.1. It's stuck on v1.0.2.

You sir are correct. I will updating the aapt as well soon. I have to fetch the latest sdk tools.
[Android] nolandrew:
Ok, as long as I wasn't missing something :). That laptop does sound nice, but I don't know anyone looking for one right now. Maybe I'll have to learn me some linux and go the dual boot so i can take advantage of the new version 1.1.1 :)

As always thanks for your work and dedication!
[Android] Clarkkent434:
I am having a issue. I put the framework and apk in the proper folder. When i try to decompile the apk i get this error.

The decode log just say unable to decompile. Any help on how to fix this?
[Android] tommytomatoe:
Make sure you use the mod-here-multi options. Try that and tell me how it goes.
[Android] Chris X.:
I use it for ICS 4.0.3. Any alternative?

Greets
[Android] Clarkkent434:
This is what I got with the multi decompile. This is first time doing this. I try to followed the instruction above list to decompile and this is what I typed. But I got an invalid error.
[Android] chrisrotolo:
any timeframe for us windowze guys?

superb job by the way.
[Android] raycaster3:
All I have to say about this tool is AMAZING. I'm doing/learning more than I ever knew I could from this. What's a really good practice is to go through and learn how to manually do each if the functions the tool does. Of course I can't do ALL of them manually, but it really help you have a better overall understanding of what's actually going on.

»»DARKSIDE««
[Android] mDroidd:
Don't count on it...

Why don't you make your PC dual boot with Ubuntu? It is really easy! And believe me, the difference between Ubuntu and windows is like stock eclair and supercharged overclocked tweaked ICS

Greets!
[Android] mDroidd:
Tommy, you could add an option to decompile ICS applications, or enable it by default!
[Android] finlessbob:
Hi folks n00b to pulling apart APKs but I am learning fast. Thanks for the wonderful tool! It works great on non-odex APKs.

So I want to mod my SystemUI.apk. However all my system apps are odex'ed.

So by studying HARD, I learned I need to de-odex them. So I got baksmali and was able to de-odex the SystemUI.odex file.

I got a folder called out from baksmali. In this folder is

com/android/systemui/ and 2 folders show up.

statusbar

usb

So what I cant find anywhere here is what to do with those?

When I use Android Utility to unpack the SystemUI.apk all that works. So how do I then put the de-odex stuff into the project so when I repack the APK those files are now part of the APK?

I have searched a ton for how to do this but not getting anywhere.

Thanks,

Bob
[Android] finlessbob:
Never mind.... Found the kitchen tool which does it all for me :)

Bob
[Android] tommytomatoe:
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!
[Android] bombadier:
Well all the best with your studies dude and thanks for Android Utility.
[Android] Wildchld:
Wish you too. AU is awesome as it is with GUI it would be sick.
[Android] ZenPit:
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!
[Android] Wildchld:
Tommy think you could add compression option in option 7. Instead of having to go to option 8 after compiling