yashsingh1/xdaforums huggingface dataset:
[Android] Aquethys:
Hi guys!

I am trying to get all the tools I need to dev and theme. I own Ubuntu on my Windows 7 laptop, and a MacBook Pro. I plan to spend most of my time on my Mac..but when setting up apktool on there (I completely don't know how on my Windows)...I finished the steps up to

"Unpack both to /usr/local/bin directory (you must have root permissions)

"

now I took a ROM and tried to download the framework-res.apk files to decompile...

After the command "apktool if framework-res.apk" I get

Exception in thread "main" brut.androlib.AndrolibException: java.util.zip.ZipException: error in opening zip file	at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:404)	at brut.androlib.Androlib.installFramework(Androlib.java:365)	at brut.apktool.Main.cmdInstallFramework(Main.java:193)	at brut.apktool.Main.main(Main.java:69) Caused by: java.util.zip.ZipException: error in opening zip file	at java.util.zip.ZipFile.open(Native Method)	at java.util.zip.ZipFile.<init>(ZipFile.java:127)	at java.util.zip.ZipFile.<init>(ZipFile.java:143)	at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:374)	... 3 more

I think this is an error because then I tried

"apktool d framework-res.apk" and I get

Input file (framework-res.apk) was not found or was not readable.

I have attached an image that shows what and where I have put these files.

I'm sure I have something wrong with where I'm putting my files...someone help? ^__^

Thanks

EDIT: Framework-res.apk is also in the apktool-inst...r04-brut1 2 folder.
[Android] Aquethys:
Anyone?
[Android] DragunKorr:
If you run Linux Tommy au works good as well even auto installs:D
[Android] Aquethys:
I don't like the switching windows and ubuntu...would prefer fixing this issye :P
[Android] tommytomatoe:
Haha thanks for the nod :-)

I also have au for mac OS x.
[Android] Aquethys:
Oh, android utility? That decompiles apks? Ill be sure to download it :)
[Android] mickfo:
Look your java version (java -version) , the good version is : jre 1.6

Execute the apktool directly in the directory : (open terminal and go in your apktools directory) :

cd /usr/local/bin

./apktool if framework-res.apk
[Android] Aquethys:
Aquethyss-MacBook-Pro:bin name$ apktool if framework-res.apk

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

Aquethyss-MacBook-Pro:bin name$ apktool d framework-res.apk

I: Loading resource table...

I: Loaded.

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: file must be a directory: framework-res

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:123)

at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)

at brut.apktool.Main.cmdDecode(Main.java:128)

at brut.apktool.Main.main(Main.java:65)

Caused by: brut.directory.DirectoryException: file must be a directory: framework-res

at brut.directory.FileDirectory.<init>(FileDirectory.java:38)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:112)

... 4 more

Aquethyss-MacBook-Pro:bin name$

This is what I get with apktool - installed framework successfully and getting that. I'll download tomatoe now
[Android] mickfo:
you execute in the apktool directory ??? because you don't use ./apktool (the dot and slash before) can you try please ??

and ./apktool d xxxx.apk, apk create a directory xxx beside your apk and you execute command with an user, user don't have right to write in /usr/local/bin , try with root user.

The first command is ok because apktool if xxxxx.apk create a 1.apk in apktool directory in your home user ....
[Android] tommytomatoe:
Put the apk on your desktop.

cd Desktop

apktool d framework-res.apk

As the user above pointed out, you don't have permissions to write to the /usr directory and that is source of your problem.
[Android] mickfo:
Yes it's my answer tommytomatoe ;)

User right problem, He can try as root
[Android] tommytomatoe:
Yes he could but at this stage I don't recommend using su or sudo in the /usr directory when he is still learning. Could be potentially dangerous :-)
[Android] mickfo:
Yes it's true, in home directory he can create a dir apktool and extract apktool inside.... and change the PATH (export PATH=$PATH:/home/name/apktool)

no need to extract apktool in /usr/local/bin
[Android] Aquethys:
Hm ok thanks

Tommy, with your andutil,

Do I only need framework-res.apk or do I need some other? I have a Samsung Captivate Glide...so no htc file as in your thread.
[Android] tommytomatoe:
If you have touchwhiz you will also need the touchwhiz framewori apk as well.

Also, au and apktool only officially support up to gingerbread.
[Android] Aquethys:
So I have put twframework.apk and framework-res.apk in the android-utility/working-folder/framework-here folder.

I get

Android Utility is preparing to install these frameworks:

twframework-res.apk

framework-res.apk

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

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

..

Installing twframework-res.apk.......

I: Framework installed to: /Users/andrewying/apktool/framework/2.apk

..

Now when I click decompile I get that Apktool can't find a valid apk..do I need to put the android-utility folder on my desktop too?
[Android] Aquethys:
Also is it possible to keep apktool in my home directory? Whats the command for that? When i go "cd (name)" it says no directory found...
[Android] Aquethys:
Nvr mind! Got it!
[Android] tommytomatoe:
When you select to decompile apk with au, put the apk in the mod-here-multi folder.

And when you install au, it installs apktool automatically for you, so now you can execute apktool from any directory.
[Android] Aquethys:
So I extracted apktool into C:\Users\(my name)

I extracted the ROM I want to mod into C:\Users\(my name)\Android

Attached is what Iget
[T-Mobile Samsung Galaxy S II SGH-T989] -deuces-:
Sold my nexus s not too long ago.

After that i have owned a G2X, HTC Sensation, and an HTC amaze.

Once u go amoled, using LCD is painful.

So my question is, would you pick the tmobile galaxy s 2 over the one s?

i am leaning toward the s2(white, screen size, samsung, removable battery/sd), but what about the phone annoys you?, and what can you tell me about the phone that i wont know until i use the phone?

thanks :)
[T-Mobile Samsung Galaxy S II SGH-T989] blchff04:
The one s uses amoled as well.... Except it's a qHD super amoled. I would still go with gs2 because of expandable memory and removable battery. Tmobile is getting the gnote soon as well.. Tough decisions my friend

The main issue in the phone is the screen issues I.e. dark blob spots and screen burns pretty easily you can really only notice the blobs when the screen blacks out and the backlight is on, other than that the phone is friggin bad ass. The only reason I would get the one s would strictly befor the camera. It's prolly thebest camera that's out for any smart phone. Amazing is one word I could describe it. Especially since it records 1080 p video with 60 Fps and ours does 30 Fps
[T-Mobile Samsung Galaxy S II SGH-T989] -deuces-:
lol real tough...the note is not an option though...its too freaking big!!! i already have a tablet.
[T-Mobile Samsung Galaxy S II SGH-T989] camalus:
Gs2. Definitely. I have used all those phones and this is my favorite by far.
[T-Mobile Samsung Galaxy S II SGH-T989] anomy13:
if you ask this question on a sgs2 forum you already know what answer your gonna tend to get.

But in all honesty get the sgs2 you can't go wrong with that. ; )
[T-Mobile Samsung Galaxy S II SGH-T989] Teo032:
the problem with the g2x, sensation and amaze is that they started using cheap LCD screens that sucked when viewing from angles. The previous phones with LCD wasn't bad though.

Anyways if i was you, I would wait for the prices to drop just a bit more if you decide to go with the gs2. The one S,X should gain popularity soon and the s3 is nearing.
[T-Mobile Samsung Galaxy S II SGH-T989] Killbynature:
At least if the one X comes out on tmobile it wont be a blocked boot loader like the at&t HtC one X. Which I think is ridiculous. If the one s had at least super amoled hd and sd card slot. I would of jump shipped.
[T-Mobile Samsung Galaxy S II SGH-T989] flipq88:
Yeah I'd probably jump ship to the one s but the no external memory is a deal breaker for me

Sent from Flip's SGS2
[T-Mobile Samsung Galaxy S II SGH-T989] Android_Monsters:
+1
[T-Mobile Samsung Galaxy S II SGH-T989] iwasblown:
All of the carrier phones suck and only work for thiet companies properly, don't expect to get smack from tmobile.
[T-Mobile Samsung Galaxy S II SGH-T989] Killbynature:
No i would say htc phones have the most support on t-mobile. Look at the sensation, Htc G2 even mytouch 4g. Since hardware doesn't change much. Samsung phones on the other hand less support due to different hardware. So as long as you stick to an htc phone you will be fine on t-mobile.
[T-Mobile Samsung Galaxy S II SGH-T989] iwasblown:
OK, but does the support compensate for better experiences than Samsung roms developed by people?
[T-Mobile Samsung Galaxy S II SGH-T989] Teo032:
agreed

wait what? you do realize that htc devices usually gain a swarm of developers right
[T-Mobile Samsung Galaxy S II SGH-T989] friendlylocalweedman:
gs2 is my favorite phone so far after having t-mobile mda, touch pro 2, galaxy intercept, and htc hd7. one of my job responsibilities is hooking up phones to the exchange server so i get to play with lots of phones from different companies/manufacturers. the only thing i've seen that i'd currently take over my gs2 is the galaxy note but good luck with t-mobile getting that anytime soon.
[T-Mobile Samsung Galaxy S II SGH-T989] Christ1119:
If you care about removable storage and battery no contest S2, or wait for the S3 sometime in June if Samsung sticks to their word. If you want a better resolution screen and faster phone with a tiny bit smaller form factor go with the One S.

Only thing that annoyed me with the S2 hardware wise was the lower resolution screen and the blobs and streaks (edit: and that damn chrome around the phone, scratches before you even hold the phone) aside from that great phone and is now getting some great dev support. HTC One S just released so it may take a bit for support to come, but there is already a working AOKP ROM for it so I'm sure it won't be much longer til support kicks off for it. Either way you're getting a great device
[T-Mobile Samsung Galaxy S II SGH-T989] pipergca:
I never really thought about it but this made me think...what about the S II do I not like? I couldn't think of one thing! Its just awesome! My wife has the G2X...its been warranty replaced 4 times in a year. Twice touch screen stopped working, the other 2 beacause of the overheating issues. With the last update they just released for it nothing's really gotten better. Her battery still only lasts at the most 4 hours with moderate use.

I guess this wasn't really your question I just had to vent. Galaxy S II in my opnion is the way to go.
[T-Mobile Samsung Galaxy S II SGH-T989] skydrk:
Hi guys, I was thinking about to get this version of GS-II (t989), but i´ve heard so many bad things from the owners that I don´t know what to do anymore... So if anyone could help me on this, answearing these couple of questions, I´d very thankfull. ;)

1) Is this screen issue that big deal?? does it happens only with T989 version or the others GSII were affected also?? Is there anything I could do test the screen before buying one (like putting a fully black, gray, white pics on display...)?

2) How is the audio quality on it? Are you guys satisfied?

3) About the camera, that is something I REALLY care on smartphone, I´ve heard it´s a bit different (some people would describe it a bit "worse") from the international GSII- 9100, due its Exynos chipset. However, judging by the samples i´ve seen, the only difference i could notice is that the colors tend to be yellowish on t989 -as the opposite, bluish from 9100. But how about the rest, focusing, details... are they exactly the same??

Thank you guys!!

PS: I´m coming from an Xperia Neo, and I don´t like its camera that much and the audio quality as well.
[Android Q&A, Help & Troubleshooting] adampa1006:
I am on Eclipse 2.2 but am interested in upgrading to an ICS rom and see that they use different launchers. I have bought launcher pro plus and ADW EX, but am actually still using the "dead" launcher pro because it is still faster than ADW. I am very anal about speed and lag. Hopefully both ICS launchers are fast and I don't have to worry about performance? what are your thoughts on the ICS launchers? Performances and speed is my number one concern, and I am willing to pay. Thank you.
[Android Q&A, Help & Troubleshooting] sh4dow1:
Apex for me seems so smooth and quick and ive bein using it for quite a while now that i havent liked any other ics launcher
[Android Q&A, Help & Troubleshooting] AJMetal87:
+ 1
[Android Q&A, Help & Troubleshooting] droper_250:
+1
[Android Q&A, Help & Troubleshooting] jashy67:
Also +1. Dunno why but always had some weird issues with Nova while Apex is indeed running smooth and have better options for me. I recommand you to go for Apex, wont be disappointed imo.
[Android Q&A, Help & Troubleshooting] vee4410:
Apex all the way...its clean,simple and user friendly.
[Android Q&A, Help & Troubleshooting] DR.DROID.:
Apex is the best i won't change it ever
[Android Q&A, Help & Troubleshooting] ingenious247:
Apex all the way
[Android Q&A, Help & Troubleshooting] Philbert579:
They both have free versions in the play store. Try them both out and use the one to your liking. I am partial to Nova, myself.
[Android Q&A, Help & Troubleshooting] roni94:
try both, they both have free version on the market, for me nova is the choice...
[Android Q&A, Help & Troubleshooting] Uvejota:
Since I have ICS, I'm using Apex free launcher; It's very smooth and the best I've tried. When you try it, you'll hate other launchers.
[Android Q&A, Help & Troubleshooting] haloimplant:
Since Apex fixed the FC's a while ago I am very happy with it. All the settings and features available even in the free version are awesome. Swiping down to expand notifications is my favourite.
[Android Q&A, Help & Troubleshooting] sims34:
I like Nova :)
[Android Q&A, Help & Troubleshooting] GollyJer:
Nova for me. I started using it for the dock swiping when the Galaxy Nexus first came out. Now it looks like the Pro version of Apex has the same feature. Honestly, they are verging on the exact same feature set. Someone should put together a comparison chart.
[Android Q&A, Help & Troubleshooting] jojojohnny05:
I prefer Apex because the free version allows hiding of apps in the app drawer.
[Android Q&A, Help & Troubleshooting] adampa1006:
Thanks for all the input guys. Anymore thoughts on the speed and performance of both?
[Android Q&A, Help & Troubleshooting] yaythan:
I was using Nova, but I switched to Apex as Nova was quite slow on my Desire. Apex is much smoother for me. They have pretty much the same features (I haven't noticed much difference although I haven't looked that far into either) I would give both a try and see which works best for you
[Android Q&A, Help & Troubleshooting] Stevemotto:
Nova hands down, my friend is currently using it and I have to say its one of the best ICS launchers out there.
[Android Q&A, Help & Troubleshooting] oronte:
I'm quite impressed with Nova, but it might be that you need a fast processor to handle it, because it's incredibly smooth and responsive on my Galaxy Note.
[Android Q&A, Help & Troubleshooting] tinyXperia:
I've tested them both, and Nova uses a lot more RAM resouces, so if you have an older phone definately Apex, and i think Apex is better in features too.
[Android Q&A, Help & Troubleshooting] votinh:
Apex by miles ahead, way better in both features and performance.
[Android Q&A, Help & Troubleshooting] kandarpck:
Trebuchet ftw! :p:p
[Android Q&A, Help & Troubleshooting] adampa1006:
So I tried an ICS rom and Apex and was not impressed. I think it might just be my phone, the Bionic, and the current development situation, I have read that hardware acceleration doesn't work on ICS roms on the Bionic so I will have to see. Gotta get my hands on a newer phone to properly test them out :-)
[Android Q&A, Help & Troubleshooting] Paddington:
Same here. That is really the only difference I noticed between them. Nova allows hiding apps in its paid version, but it's a bit pricey. Once ICS is officially released for the Razr and I can get a debloated ROM, I will try out Nova again. Until then, I'm running this ICS leak with tons of VZW bloatware, so hiding apps is a must.
[Android Q&A, Help & Troubleshooting] -DarkKnight-:
launcher

Trebuchet! more features and pretty smooth on my phone as of my new build
[Android Q&A, Help & Troubleshooting] azlemad:
wow, with all the responses think I ought to give apex another try =)

I've used Nova since early beta and then bought it when it came to the market, tried apex briefly but went back to nova, simply because I'd paid for it already lol.
[Android Q&A, Help & Troubleshooting] TheWenger:
I've been tinkering a little with both, and I just like the cube scroll animation on Nova better. It's faster and looks cleaner. Is there a way to speed up animations on Apex? I have the value set at 0 for minimum animation time, but is there something else to tweak that I haven't found?
[Android Q&A, Help & Troubleshooting] tazman19:
0 is the default. Try changing it to 1 or 2. You should see a huge difference.

Rocking my Rez on TapaTalk
[Android Q&A, Help & Troubleshooting] jimbo.levy:
Apex.
[Android Q&A, Help & Troubleshooting] arnab77:
I used both, the pro and prime versions. Saw that Nova is quicker, especially when you are waking the phone up from deep sleep. But, yes apex seems more refined, is more customizable and you can use other themes with it. On an unrooted phone like my SGSII Nova uses the same icons of TWL and does not give the ICS feeling Apex gives.
[Android Q&A, Help & Troubleshooting] patedit:
You better update your Eclipse IDE :P

I bet that you have lost more time writting the question than trying both launcher and see which one you prefer :D

Have fun with Android and try everything you want... Btw, I prefer Apex launcher :)
[Android Q&A, Help & Troubleshooting] adampa1006:
Come on man I updated to eclipse 3.0 the day it came out. Now that the Bionic has ICS Roms, I have been able to try out apex. Not impressed, slower than good ol launcher pro. All I care about is speed in my launcher. The themes are nice( especially apex icon themes and such) but like I said before, speed is all I care about.
[Android Q&A, Help & Troubleshooting] patedit:
Eclipse is also a software for developing Android applications... and version 2.2 is a pretty old version. Eclipse IDE stands for Eclipse Integrated Development Environment. It was just a joke :P
[Android Q&A, Help & Troubleshooting] jfarhat:
I have tried both Nova and Apex and did not find either to be that impressive. I have been using Go Launcher and I like it a lot. Looks good and it runs smooth on my Galaxy S II.

I think the best thing to do is just install both of them and see which one you like better. It is pretty much a personal taste decision anyway, and hell...if you don't like one...just uninstall it and move on to the next one (they have free versions in the Play Store)
[Android Q&A, Help & Troubleshooting] jashy67:
I ve also used both Nova and Apex and finaly decied to keep Apex as my daily launcher. Both are pretty good and well optimized, running smmoth and withput bugs. They also share pretty same options, the rest is just a question of personal prefernces. As said above, the best you can do is to try both of them and make your onw judgement ;).
[Android Q&A, Help & Troubleshooting] adampa1006:
Well I have tried both, and I have made my decision. Both run reasonably well, but Nova is smoother on my phone.

I emailed both developers discussing that performance is so important and I wanted to know how they felt, and how performance minded they were. Apex emailed back and said literally "the more features you add to an app, the slower it gets". It wasn't a response from the developer himself, it was from a dedicated email responder.

Kevin, developer of Nova, emailed me back a lengthy message responding directly to my concerns. He takes app performance seriously , and got technical about the future of his development, Jelly Bean. Nova won for me, so I bought the premium version.
[Android Q&A, Help & Troubleshooting] Grant Barker:
A few other Android Launchers you might consider.
[Android Q&A, Help & Troubleshooting] amadeus2222:
APEX

+ 1 for apex

i recommend apex pro, very smooth, a lot of customization possible

:o
[Android Q&A, Help & Troubleshooting] vNa5h:
Nova for me...

only because of the customizable tabs
[Android Q&A, Help & Troubleshooting] polobunny:
Also customizable in Apex... :p
[Android Q&A, Help & Troubleshooting] vNa5h:
yeah but not the way i need...

those tabs(in apex) have drop down menus

and the tabs position always interchange when using thee drop down menus
[Android Q&A, Help & Troubleshooting] polobunny:
The tabs position change? :S

Mine don't change position at all.

I have Apps/Games/System

I often switch my System tab to Themes tab which is my wallpaper and ringtones stuff.

So it becomes Apps/Games/Themes
[Android Q&A, Help & Troubleshooting] vNa5h:
from ur eg-

yeah but when u select games from the apps drop down menu

the order changes to

games apps system...
[Android Q&A, Help & Troubleshooting] polobunny:
Oh... err, I guess? But why would you do that since you have it on the other tab? :silly:
[Android Q&A, Help & Troubleshooting] :
Nova Prime is what I use. Used to use Apex but when JB dropped Apex wasn't compatible with JB (at the time) So I bought Nova Prime...Been with Nova ever since. Lovin it! It has so many options I don't even use em all.:cool:

Apple sux
[Android Q&A, Help & Troubleshooting] XO:
Apex :p
[Android Q&A, Help & Troubleshooting] charuc14:
I feel Nova is better than Apex...
[Android Q&A, Help & Troubleshooting] xruuhx:
Apex!
[Android Q&A, Help & Troubleshooting] vNa5h:
Nova!!!!
[Android Q&A, Help & Troubleshooting] psych2l:
NOVA Prime!!!
[Android Q&A, Help & Troubleshooting] adampa1006:
I've been pretty happy with Nova Prime, and I know for a fact he cares about speed and performance.
[Android Q&A, Help & Troubleshooting] PoXFreak:
Nova for at least 6 months now...

Sent from my Jelly Bean infused SGH-I997 Infuse!
[Android Q&A, Help & Troubleshooting] vNa5h:
Guys please vote +3 here

http://apexlauncher.uservoice.com/f...drop-down-menu-should-be-removed-simple-tab-l
[Android Q&A, Help & Troubleshooting] dom2114:
APEX + reason

I actually purchased Nova, found the following bug and got a refund. Apex doesn't have this issue (as of 8/28/12)

http://xdaforums.com/showthread.php?p=30829374#post30829374

Essentially the bookmarks widget was not sizing properly.
[Android Q&A, Help & Troubleshooting] i root SGH i777:
apex or nova

i have rooted my galaxy s2 sgh i777, at&t. the roms i used have both nova and apex so i have used both,

but for the best one i would go with apex launcher cause of it being nice and smooth.
[Android Q&A, Help & Troubleshooting] aenima73:
I think free version of Apex is sightly better than Nova but Nova Prime is great.

I have tried both on my cube U9GT2 and now I am using Nova Prime. I am mainly interested in speed and performance.
[Android Q&A, Help & Troubleshooting] DingoDingo:
Tried both, Nova Prime is my choice, running faster on my old Motorola Defy+ with QUARX CM10 4.1.2
[Android Q&A, Help & Troubleshooting] BIade:
Why is Trebuchet 12 MB, where as other launchers are round abour 2 mb ?
[Android Q&A, Help & Troubleshooting] PoXFreak:
Resources; trebuchet uses less. For instance, vire launcher uses upwards of 60mb worth of memory and or cache, where trebuchet uses about 20-25mb. Yeah you don't get all the pretty effects but you don't get low memory problems and/or panics.
[Android Q&A, Help & Troubleshooting] topiratiko:
Nova by far
[Android Q&A, Help & Troubleshooting] g4m3r69:
+1