yashsingh1/xdaforums huggingface dataset:
[Android] Jsmokey:
Nice, its always good to have a replacement plan. Wish I would've got one on my wifes surround, its getting the internal mem error and I'm dreading pulling it apart to put a new one in cause of how the surrounds put together.

Sent from my i897 w/Andromeda 3, Suckerpunch kernel, & 1.3Ghz OC using Tegrak.
[Android] tommytomatoe:
I don't think It's too late to get a plan.

And I just got my phone! Brand new replacement. Woot woot
[Android] Jsmokey:
If I would've bought it new I could still get a replacement plan but I got it as a refurb and att only gives you 30 days to get it on a refurb but on their site it still gives me the option to add it so I might give it a try, especially with how much shes dropped it, at worst they'll just turn me down. Anyways didn't mean to derail your thread there tommy.

Sent from my i897 w/Andromeda 3, Suckerpunch kernel, & 1.3Ghz OC using Tegrak.
[Android] tommytomatoe:
Sorry for the lack of update. Will update soon. Just got done ffixing Java on my hackintosh and am working on fixing my harddrive to boot Ubuntu again (it broke when I fixed Mac OS X). Soon as this happens I will work on scripts.

Its all good. You're welcome to talk about anything here.
[Android] Jsmokey:
I've ran through so much trouble with that sort of thing finally just threw a 60gb secondary drive in mine for leopard so i'd quit having so many issues since I like to switch linux distros to try out on my main drive and it kept causing issues cause of the boot loaders for them, even had to repair the MBR and boot.ini to get windows to load a few times.

Sent from my i897 w/Andromeda 3, Suckerpunch kernel, & 1.3Ghz OC using Tegrak.
[Android] tommytomatoe:
Well the issue is getting chameleon to boot an ext4 partition (apparently not capable) so you have to install the boot partition of Linux to ext3 and the root to ext4. The other issue is getting grub2 to officially chain load chameleon (which is what I think I will do later today).

But...I have some advice. I don't know your particular setup....but here is what I did when I first set up my hackintosh. Take a spare 8gb flash drive. Format it to hfs+. Then use carbon copy clone to copy over only your main system files (enough to boot). Mine is about 5-6 gb in size. I installed various trouble shooting tools (iPartition is handy) onto the flash drive. Then install the chameleon boot loader onto it. So anytime you lose the bootloader on your PC you can boot to the USB and it will let you pick your Mac OS x. That's basically what I do when I switch Linux OS. Then when I boot to the Max OS on my main harddrive I just reinstall chameleon. Plus, you have a bootable copy of Mac OS X on a USB drive. :-)
[Android] Jsmokey:
I actually use the modified darwin boot loader which recognizes almost anything I throw on my other drive. I have a boot disk for hazards osx installer with chameleon boot loader I use when I have a problem with it finding any of the os's, and I also have a usb with osx and some recovery software.

For partition modification and recovery I have a parted magic linux disk which some data repair and recovery tools that keeps me covered when any trouble comes up. Thanks for the advice.

Edit: don't know if you have any experience with this but if you have a chance could you check out this thread I made, haven't seen many ppl on here with osx and I can't find anything on here or google.

xdaforums.com/showthread.php?t=1224703

Sent from my i897 w/Andromeda 3, Suckerpunch kernel, & 1.3Ghz OC using Tegrak.
[Android] tommytomatoe:
I saw your thread and saw that you got it figured out sort of. Unfortunately I am not familiar with OS X 10.5. I started on snow Leo. I would recommend the switch but if everything works on leopard I would stick with what works. :-)
[Android] CleveRuse:
Ha ha, sounds great man! Ur contributions so far have been priceless! (and since i don't have a way to donate atm, I guess I mean that quite literally;)) hitting the 'thanks' button as we speak
[Android] fowenati:
this is genius
[Android] tommytomatoe:
Thanks man! If you ever need assistance with this let me know.

Right now I am using grub2 to boot Ubuntu and Mac OS X. Its pretty nice. :-)
[Android] Jsmokey:
I also have snow just don't use it alot, I can't for the life of me get audio working with it with my mobo. Followed every tutorial I could find for similar audio chips, every kext thats supposed to be compatible. I can't find anyone with the combo I have with working audio in snow. I'm building a machine for lion once the rest of the components get here so hopefully I can just leave them both, leo and snow behind. I might still put snow on it though, its a little faster and alot smoother than just leopard. And yeah it was kind of a hassle to get working but after finding soy latte and installing the required components for it everything seems to be good.

Sent from my i897 w/Andromeda 3, Suckerpunch kernel, & 1.3Ghz OC using Tegrak.
[Android] tommytomatoe:
Time for bed...

But big update Monday hopefully.
[Android] CleveRuse:
recomiping Error

ok, while attempting to recompile HTCSettingsWizard.apk, even if just after decompiling and changing nothing, i get this error:

Would you like to build all the projects? [Y/n]

Building HTCSetupWizard

I: Smaling...

I: Building resources...

aapt: warning: string 'Sync_content_set_wifi' has no default translation in /home/ab/android-utility/working-folder/mod-here-multi/Projects/HTCSetupWizard/res; found: zh_HK

aapt: warning: string 'Sync_content_set_wifi_mobile' has no default translation in /home/ab/android-utility/working-folder/mod-here-multi/Projects/HTCSetupWizard/res; found: zh_HK

aapt: warning: string 'Sync_description' has no default translation in /home/ab/android-utility/working-folder/mod-here-multi/Projects/HTCSetupWizard/res; found: zh_HK

aapt: warning: string 'Sync_title' has no default translation in /home/ab/android-utility/working-folder/mod-here-multi/Projects/HTCSetupWizard/res; found: zh_HK

aapt: warning: string 'Sync_title_set_wifi' has no default translation in /home/ab/android-utility/working-folder/mod-here-multi/Projects/HTCSetupWizard/res; found: zh_HK

aapt: warning: string 'Sync_title_set_wifi_mobile' has no default translation in /home/ab/android-utility/working-folder/mod-here-multi/Projects/HTCSetupWizard/res; found: zh_HK

aapt: warning: string 'add_to_home' has no default translation in /home/ab/android-utility/working-folder/mod-here-multi/Projects/HTCSetupWizard/res; found: no zh_HK

(goes on like that for a while)

i do have both rfameworks installed and i believe the APK is unthemed ...and as ive already stated, it doesnt matter if i make no modifications: i still receive this error.

I just dont understand wut is meant by '"no zh_HK" was found' at the end of the error. where am i missing that? Is it an PNG? Or some code (string) missing in a an XML? Dont get it?

Note: the apk does get rebuilt, but even after including the original META_INF, it does not function or show up on my phone after 'pushing'.
[Android] kyle77680:
It will be really good when it will be disponible on Windows :D
[Android] tommytomatoe:
Hey Cleve. Try a different aapt. There is an option to change that in option 6.

Give that a try and see if it will work.
[Android] CleveRuse:
Cool, will try
[Android] madd0g:
First of all, thank you for this great tool, discovered it after I ran apktool manually :]

I have issues with CM7 LatinIME.apk from latest nightly, I want to edit the smileys and couple keys in .xml files in /xml and /values. Decompile and recompile all go great, but the keyboard isn't recognized in the system. I tried switching aapt versions to Gingerbread, also the apktool to 1.3.2, but nothing. Any hints on this issue?
[Android] tommytomatoe:
When you decompile, AU extracts the original META-INF. Before you push apk back to phone you need put the META-INF back into the apk. If you used the solo option it is still called META-INF. If using the multi option the META-INF is renamed so you need to rename first.

Also latinIME is funny. Sometimes apktool messes up the XML. But try what I said in the above and see if it works.

And lastly thanks for the kind words. Big update coming soon
[Android] Jsmokey:
I can't wait for the update tommy I've put ubuntu back on my desktop in anticipation, I've got the utility on my Anti-X linux laptop and my snow leo partition on my desktop both working great, finally gave up on leo just too many incompatability issues since I couldn't get it to update successfully to 10.5.8 using any of the methods out there for hackintosh's even my own modified update process.

Keep up the great work tommy its greatly appreciated in the Android dev world.

Sent from my i897 w/Andromeda 3, Suckerpunch kernel, & 1.3Ghz OC using Tegrak.
[Android] madd0g:
Ah, while I was playing with apktool, I downloaded and compiled CM source and compiled the LatinIME with my modifications from source sucessfully :] But your solution might help me save some HD space, so I'll try if it works :]
[Android] tommytomatoe:
Preparing for release today. Mac for sure. Linux maybe later this week but maybe today.
[Android] tommytomatoe:
Mac OS X Version 1.0.2 officially out. Don't forget to read Posts 1-3 for changes and install info.

Mac OS X Download:

PATCH VERSION 1.0.2.a - after installing AU, unzip patch and replace "smali_tool" in android-utility/utility - love, tt

Android Utility Github Direct Download Version 1.0.2

Android Utility Mirror Mediafire Full Version 1.0.2

Update Package - 1.0.1 -> 1.0.2 - ONLY USE IF RUNNING VERSION 1.0.1. Extract "update" folder into root of android-utility, then run "update_script" by clicking on it.
[Android] tommytomatoe:
Linux 1.0.2 is out :-)
[Android] marriedman624:
Thanks for all you work Tommy.

Will update mine when I get a chance and let you know of any problems.
[Android] Jsmokey:
Glad to see the new version is out, any progress in the support for other devices; I read the post 134 link about how to get it working so its not a huge deal and I'm gonna give that a try, I was just wondering I should follow that in the new version to get things working for me?

Sent from my i897 w/Andromeda 3, Suckerpunch kernel, & 1.3Ghz OC using Tegrak.
[Android] tommytomatoe:
Officially supported :-)

HTC

Sammy

Sony

Check readme in post 2 for all changes. :-)
[Android] Jsmokey:
lol, sorry about that man I completely looked past when I was skimming through, I'm pretty exhausted did some drywall work for the in laws the last few days and then work afterwords and its starting to screw with my sleep and my head.

Thats great to hear you got us sammy users fully supported been really looking forward to this since I stumbled on to your tool. Thanks for all your hard work getting this out for all of us and I'll be testing the new version tomorrow after work.

Sent from my i897 w/Andromeda 3, Suckerpunch kernel, & 1.3Ghz OC using Tegrak.
[Android] tommytomatoe:
No problem man! Get some rest. I'm hitting the sack soon.

I spent over 12 hours on update 1.0.2 between compiling source code and writing scripts and testing. I hope you enjoy. Please do post any and all bugs. AU is no where perfect yet but it is at a point now where most features work nicely with each other. Have a goods night man!
[Android] CleveRuse:
Yep, love u Tommy! ...ur like my own personal oracle ...plus Santa with all his little elves combined;)
[Android] sneaky_zekey:
so i installed this the other night on my ubuntu, i see update patches for the other os, but not for linux. whats the easiest way to update,lol
[Android] tommytomatoe:
Unfortunately with the way I wrote the 1.0.2 for Linux..you need to do a full update. It might be possible for me to extract only the necessary files. I might do an update pack later today.

But for the time being just download android-utility again and reinstall it.
[Android] fowenati:
just installed new version, works great so far !
[Android] tommytomatoe:
Sweet man! Tell me how you like the new features. Mainly:

Dex2jar

Smali

Baksmali

PNG opt (pngout, optipng, advpng, pngcrush)
[Android] fowenati:
I'll check em out later and let ya know, right now, it's party time! Deadmau5 or Lil Wayne today!
[Android] Brotuck:
Thanx for this tool !
[Android] Jsmokey:
Hey Tommy I just got a chance to get to mess around with the new version of the utility. I'm trying to get the framework-res.apk to recompile with no luck, I didnt make any changes just decompile then recompile. I'm doing this so i can start working on some themes for andromeda 3 for the captivate since you said the new version is sammy compatible. I've installed the frameworks and everything goes fine till i try to recompile, tried switching apk tool and aapt versions and same thing.

This is what I'm getting:

Building framework-res

W: Could not find sources

I: Building resources...

aapt: warning: string 'zzzzz_tw_cursor_handle_choosertitle_sharevia' has no default translation in /home/jsmokey/android-utility/working-folder/mod-here-solo/framework-res/res; found: de

aapt: warning: string 'zzzzz_tw_cursor_handle_popup_search' has no default translation in /home/jsmokey/android-utility/working-folder/mod-here-solo/framework-res/res; found: de

I: Building apk file...

Please press [enter] to continue

Edit: I went to go and do some build tests to see if that was working ok and switched java back to jdk 5 and now i have a whole new list of errors.

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:621)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)

at java.lang.ClassLoader.loadClass(ClassLoader.java:252)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

i did some digging and its because of jdk 5 from what i can find, is there a way arround this other than constantly doing '$ sudo update-java-alternatives -s java-<version>'

any help would be great tommy, i really need to get this working, till i do all my current theme and rom projects are on stand by since i cant edit and recompile any apks and its becoming a headache switching java versions back and forth just to try another work around with apktool.
[Android] tommytomatoe:
I use jdk 6 on Ubuntu and it works for me. So just permanently upgrade to it if you haven't already.

Your first error makes me believe that the apk didn't decompile correctly. If you upload your files I can try for you.

But did you try the new apk after you added the original META-INF? Sometimes when i get strings errors the apk still works.
[Android] Jsmokey:
I would just do away with jdk 5 but I need it for building and working with froyo, the 'alternatives' commands not really that bad to run to go back and forth between 5 and 6 for now til I make a full jump to gb. It only takes like a minute for it to switch dependencies. My problem is I can't build android and work with apktool ay the same time cause I need 5 for building and when I open another term window and do 'sudo export PATH etc to temporarily use jdk 6 in it and echo $PATH it says jdk 6, it just won't use it still for some reason without running alternatives again. This part I can workaround when I have some more time to mess with it.

Ok I'll upload it a little later so you can check it out and see what you think. I didn't get any errors decompiling but I also thought something might have went wrong, I did go through and open the og apk in archive manager and cross checked the files and everything is there from what I can see.

It doesn't even actually recompile the apk it just says recompiling and nothing shows up anywhere, I even searched my file system to see if it was dumping it somewhere random and the only apk's are ones I have I was working on in osx because I keep my osx partitions mounted for the guides and books I have on it.

Is there a specific version you recommend for apktool and aapt that I could try in the meantime and start over with it and see if anything changes.

Sent from my i897 w/Andromeda 3, Suckerpunch kernel, & 1.3Ghz OC using Tegrak.
[Android] sinical:
Decompile Error

Sorry if this has been asked but I looked through the thread briefly and could not find a solution. I am trying to edit an apk, but when i decompile it, this is what I get:

At first I thought nothing of it but when I try to recompile it, I get a message saying that no valid project is found. I even tried recompiling without making any changes, but with the same outcome.

I already checked the faq as well. I installed the framework-res.apk which i pulled from my phone and I have the latest apk tool installed.

if it matters, I an running this on Mac OS X 10.7 (Lion) and my phone is a Nexus One with the MIUI 1.8.26 ROM.

I apologize if this is a dumb question, I'm new to this.

Any help would be greatly appreciated.
[Android] Jsmokey:
Frameworks failing to recompile

Ok I've tried using a theme someone else ported to see if i could recompile it and same thing, heres the links to both framework-res.apks im trying to work with. Hopefully you can help me figure something out here.

Andromeda 3:

http://dl.dropbox.com/u/31053461/Andromeda3/framework-res.apk

http://dl.dropbox.com/u/31053461/Andromeda3/twframework-res.apk

Valle-Mod Andromeda 3 Port:

http://dl.dropbox.com/u/31053461/Valle-Mod Andromeda3/framework-res.apk

http://dl.dropbox.com/u/31053461/Valle-Mod Andromeda3/twframework-res.apk

Edit: This is what it shows when I decompile framework-res.apk

Android Utility found this apk: framework-res.apk

Would you like to decode it? [default=Yes]

1. Yes

2. No

Decoding framework-res.apk to ../mod-here-solo/framework-res:

I: Loading resource table...

I: Decoding resources...

I: Copying assets and libs...

Would you like to extract original META-INF? [default=Yes]

1. Yes

2. No

Extracting Original META-INF from framework-res.apk

......

Please press [enter] to continue
[Android] Jsmokey:
Ha I decided to run back through the thread and tried this with framework-res and it compiled still cant get it with option 4 but as long as it works that all im worried about, thanks again for the utility tommy the new version works great!
[Android] tommytomatoe:
I didn't realize you working with froyo. With froyo you need aapt from api 8.

Aapt 9, 10 are gingerbread.

Also I find that the apktool 1.3.2-mod works best with froyo (I added that version in AU v1.0.2)

It appears that whatever version of apktool you're using it decompiles fine! Good news! It's the recompile process. You need to try aapt 8.

When i get a chance I will try these for you.

Thanks for supporting AU smokey :-)

Lastly, I will write a script for you to switch jdk versions :-). Much easier with a script. Just supply me with your two commands for switching to and from.
[Android] tommytomatoe:
Not a dumb question at all man! AU is designed not to recompile an apk if it didn't decompile correctly (to save you time).

Please answer these questions so i can assist you better.

1. In miui roms, in the /system/framework folder, is there any other apk files? I'm not familiar with miui. You should see a bunch of .jar files and framework-res.apk and maybe another apk.

2. Did you try apktool 1.3.1 or apktool 1.3.2? Mms.apk has given me issues in the past also.
[Android] y3mita:
First of all, thanks so much for putting up some time to develop a tool to help the community!

I installed this on my ubuntu setup with the sole intention of modding third party apps, I tried to do so in Windows but my java and a couple of other things have not helped my goal.

Anyways, my big problems:

This is the path where my installation went: $HOME/android-utility

Now under the AU folder I got two folders with root permissions (working-folder and log); therefore not being accessible if I wanted to copy/move files inside.

I'm trying the following on terminal without success:

sudo -s

cd $HOME/android-utility

mv FILENAMEXXXX /working-folder/mod-here-solo

and I get denied permissions

Please see the screenshots and correct my approach!

Thanks!!!
[Android] Jsmokey:
I did get froyo to build with jdk 6 i had to comment out the lines in envsetup.sh that check java versions but it built without a hitch after that. So thanks for the tip.

I was just curious but do you know why its necessary for me to use the multi apk option to do recompiles, I tried some other non system apks and still the same thing as before says building but it never actually outputs an apk, I also checked the build logs and the only errors were from trying to recompile framework-res; the others I tried seem to compile fine in single apk mode and dont show any errors in the utility or log but they dont actually compile.

Not a problem to do it the other way i was just curious if you knew what might cause it so i can look into it more and maybe find a solution.
[Android] tommytomatoe:
That is so strange. Shouldn't happen. Try this. Run andutil. Then from the main menu, run the install guide. From the install guide, run the option Install New working folder.

As for your second picture...never go into root mode!!! sudo -s or su is dangerous if you dont know what is going on. Think of root as a different user. When you are in root user, "root" has its own $HOME. And so that's why you get the directory does not exist. :-) Files that exist for "modus" HOME don't in "root" HOME.

An alternative is to use 'sudo'. Safer.

sudo cp file1 dir/file2 (example)

But it your case just so the first thing I said about installing new working folder. Should work. :-)
[Android] y3mita:
I do not see an option for Install New Working Folder... option 5 reads Install Working Folder
[Android] tommytomatoe:
Glad you got it to build.

Well actually they do build. It has to do with how I wrote au. During testing stages (Chingy, rydah, and I) decided it was better to move recompiled apks to a separate folder when in multi mode. Easier to manage and easier to use.

But in solo mode I decided it wouldn't get as crowded. So I left the apktool implementation if the recompiled apk. In the solo folder, you have apk and apk decoded. For example, LatinIME.apk and LatinIME. After you recompile, inside the LatinIME folder is a new folder called "dist". In dist is your New UN-SIGNED apk.

So basically in multi I moved that apk into a centralized folder for all apks. In solo I didn't. But if you think it would be helpful I could add that feature in version 1.0.3 :-)
[Android] tommytomatoe:
That's what i meant. Lol. I'm reading in bed and not by computer
[Android] y3mita:
removing android-utility and installing again worked! now the working-folder is accessible! I will try to decompile now.

Thanks
[Android] y3mita:
It decompiled fine but I show an error on log saying: decode not properly
[Android] tommytomatoe:
Post the screen all the way from the first question to the last output

Edit. This is what I'm looking for

http://xdaforums.com/showthread.php?p=17067551