yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] airfly:
How to decompile com.htc.resources.apk

I want to decompile com.htc.resources.apk and I am related it to framework.apk .​

but if I compile it then the error is coming.​

The all information is below:

I: Building resources...

invalid resource directory name: E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\res/values-w1dp-mdpi

invalid resource directory name: E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\res/values-w2dp-mdpi

invalid resource directory name: E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\res/values-w4dp-mdpi

invalid resource directory name: E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\res/values-w5dp-mdpi

invalid resource directory name: E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\res/values-zh-rCN-w1dp-mdpi

invalid resource directory name: E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\res/values-zh-rCN-w2dp-mdpi

invalid resource directory name: E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\res/values-zh-rCN-w4dp-mdpi

invalid resource directory name: E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\res/values-zh-rCN-w5dp-mdpi

invalid resource directory name: E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\res/values-zh-rTW-w1dp-mdpi

invalid resource directory name: E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\res/values-zh-rTW-w2dp-mdpi

invalid resource directory name: E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\res/values-zh-rTW-w4dp-mdpi

invalid resource directory name: E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\res/values-zh-rTW-w5dp-mdpi

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\lenovo\AppData\Local\Temp\APKTOOL8394420027419036969.tmp, -x, -I, C:\Users\lenovo\apktool\framework\1.apk, -S, E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\res, -M, E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)

at brut.androlib.Androlib.buildResources(Androlib.java:248)

at brut.androlib.Androlib.build(Androlib.java:171)

at brut.androlib.Androlib.build(Androlib.java:154)

at brut.apktool.Main.cmdBuild(Main.java:182)

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

Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\lenovo\AppData\Local\Temp\APKTOOL8394420027419036969.tmp, -x, -I, C:\Users\lenovo\apktool\framework\1.apk, -S, E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\res, -M, E:\Android\Apk Manager\other\..\projects\com.htc.resources.apk\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:83)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)

Can you help me?

Sorry for my poor English.
[Android Q&A, Help & Troubleshooting] aeppacher:
Similar issue

I am having similar issues. I can decompile everything just fine, I just cannot recompile anything. I tried with both apktool and xdaautotool. I have the jre, jdk, sdk all installed. The directory for the jdk and jre are set too so that isn't the issue. My adb commands work so I think the sdk works too. I have no clue what is up here. Here is my error from xdaautotool because i can't pull the error from the terminal (no clue how to copy from the terminal)

Recompiling LatinIME.apk...
I: Smaling...
I: Building resources...
invalid resource directory name: C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res/drawable-xhdpi
invalid resource directory name: C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res/mipmap-480dpi
invalid resource directory name: C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res/mipmap-hdpi
invalid resource directory name: C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res/mipmap-mdpi
invalid resource directory name: C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res/mipmap-xhdpi
invalid resource directory name: C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res/values-sw600dp
invalid resource directory name: C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res/values-sw600dp-land
invalid resource directory name: C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res/values-sw768dp
invalid resource directory name: C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res/values-sw768dp-land
invalid resource directory name: C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res/xml-sw600dp
invalid resource directory name: C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res/xml-sw600dp-land
invalid resource directory name: C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res/xml-sw768dp
invalid resource directory name: C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res/xml-sw768dp-land
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ALESSA~1\AppData\Local\Temp\APKTOOL767021605952811925.tmp, -I, C:\Users\Alessandro Eppacher\apktool\framework\1.apk, -S, C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res, -M, C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ALESSA~1\AppData\Local\Temp\APKTOOL767021605952811925.tmp, -I, C:\Users\Alessandro Eppacher\apktool\framework\1.apk, -S, C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\res, -M, C:\xdaAutoTool_V4.0.3\_INPUT_APK\LatinIME\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
DONE!
[Android Q&A, Help & Troubleshooting] DeathMetalDiamond:
I would recommend copying aapt.exe to a directory that's in your system path, like C:\Windows, which would bear no harm (in a clean system of course). You can find aapt.exe in the Android SDK, or in the x-APKTool package. I was having those errors, but then doing that fixed it for me.
[Android Q&A, Help & Troubleshooting] mastfun:
It's very easy to fix :) Add C:\Program Files (x86)\Android\android-sdk\platform-tools to PATH env :)

Or the directory path where you have aapt.exe to PATH
[Android Q&A, Help & Troubleshooting] Ahmed.ragab:
sorry but how .. i have the same prob ?
[Android Q&A, Help & Troubleshooting] funkydude101:
I've got this exact same problem and it's driving me nuts. I've added every possible path to the environment variables. Still getting a lot of these types of errors. Using latest apk tool.....
[Droid X General] siteexperts:
Have a rooted Droid x.

The 605 update keeps failing. The phone was factory reset and I believe the bootstrapper was removed. I am having no luck figuring out why.

Is there a latest stock ROM image I can just flash.

Thanks
[Droid X General] freakboy13:
Has your phone received the 621?

If so I don't believe you will be able to go back to a previous version

If not, the file could be corrupted, if this is allowed, pm I can post up a good 605 zip. Mods if this is against rules please post up.
[Droid X General] siteexperts:
I am running rooted pre-605.

I only want rooted stock + wifi tether.

I assume it is worth updating the phone to the latest but I can't get 605 to install. I assume with rootkeeper I can restore root as I move forward (assuming I can get a working update :-)
[Droid X General] trebuchet76:
Just apply the 1kds .605 sbf. I used it today while updating my radio.
[Droid X General] hecksagon:
Best check under settings>about phone to see if you are running .621. You may have had it flashed as the rooted .605 stock but it coulda pulled a fast one on you and OTA updated. If its .621 and you try to sbf to anything older you could have a few problems.

Otherwise heres a link to the sbf discs. .605 is the newest you would want to use. Stay away from the .621 sbf if you ever find a link to it.

Ha just kidding I guess I can't post links yet since I don't have enough posts. Just google "droid x sbf disc". It will be the first link.3
[Samsung Galaxy Player 4.0, 5.0] joethaking06:
are we able to dual boot? like say i wanted to keep my gb rom but wanted to mess with the ics rom sometimes... also i heard you can install froyo on an ipod, does that work both ways?? that would be an awesome dual boot if so...
[Galaxy S II General] adik82:
Hi all...this thread is specially for the people who would like to know the difference between Gingerbread and ICS in short.. so please share your reviews about ICS if you have already updated your device...so that people could know the difference between these two firmware.
[Galaxy S II General] nitinvaid:
Difference between

Windows vista and seven?
[Galaxy S II General] okmijnlp:
Based on stock ROMs or custom?
[Galaxy S II General] Deleted member 4038153:
http://www.android.com/about/ice-cream-sandwich/

/thread
[Galaxy S II General] TheReverend210:
ICS is better by 1.7. It hasn't been proven, but it is scientific fact.
[Galaxy S II General] ithehappy:
Difference is way lengthy and it will account for ICS. But to my experience, in short, GB is way more polished, stable and finished, ICS is not, it is still immature. Oh, doesn't matter what ICS. Both Stock ICS and AOSP.
[Galaxy S II General] Bulut.O:
+1 on that...

I feel the same... GB feels a little more polished...

I am using CM9 and i love it...

I tried CM7 too but since they stopped developing it i didnt feel safe or happy ( dont know the right word ) using it...

I would """ATM""" and really """ATM""" prefer a fully funcional CM7 or any other AOSP/AOKP GB Rom...
[Galaxy S II General] tfn:
The Best difference for me was

In ICS you can DISABLE Stuff you dont want like...

I have disabled all the music hub, games hub, social hub and readers hub as I never used them.

along with the news and weather app and kobo and yahoo finance :D

so thats one great feature I like.
[Galaxy S II General] rocky23:
i was a nokia fan,untill android came out i got diff droids now an wat i expirenced is the phones r made for wat firmware they come outa box an one update not a totally new firmware...its a logical fact (money factor)
[Galaxy S II General] JJEgan:
ICS is Blue

ICS has a loyal following of idiots .

Not much else to say .

jje
[Galaxy S II General] MattP79:
ICS requires Bluetooth Pairing to send files = Backward step - worked well in Gingerbread

ICS Exchange Active Sync is broken in a number of ways = Backward step - worked well in Gingerbread
[Galaxy S II General] eric-filth:
Your phone not rooted uhh?

Because i disable since galaxy s1 gb 2.3.3 removing files from /system/app

Enviado do meu GalaxyS2 usando Tapatalk 2.1
[Galaxy S II General] a67543210:
ICS is windows 7

GB is Windows Vista, if you understand what I mean.

BUT, ATM, there are few bugs in ICS that need polishing. It's not yet as stable as it should e.g.

-Black screen of death. Screen just goes black for no reason and the only way out is to reboot.

-Wifi at times does not switch on. It turns pale green to indicate it is initiating 'turning on' but hangs there. Solution is to reboot out wait a long while.

-WiFi direct crashes when you are connected for to long e.g. sending large files.

-Wifi direct experiences pairing problems.

But all the positive overshadow the negative. It's to much to be said. With every new ICS release comes the polishing of bugs, just as was with GB
[Galaxy S II General] astalavista88:
Got 4hr++ screen on time with 30% battery left with wanamlite ics+neak kernel..

P/s:using 2000mah batter..
[Galaxy S II General] adik82:
Hmmmm..
[Galaxy S II General] mad_max911:
Still using Checkrom Revo HD as it is more smooth/fluid in everyday operation. Looking forward only for some ICS features (face unlock, etc) and not for ICS as better/faster OS release. Regards!!
[Galaxy S II General] Chef_Tony:
gb seems more polished, because it had 12 months to fully develop, till it was "finished" with version 2.3.7.

the first few samsung stock roms with 2.3.3 were terribly buggy and had a horrible battery life. it took 8 months since the first release for the GB roms to get as good as they are now.

then come the noobs that think that ics will magically work from the first day on with samsung stock roms and all the customizations they put into it. and now that the hype is over, people start realizing that ics with touchwiz is not really better than GB, especially since there are still bugs but given enough time, it will eventually become better than GB.

aosp ics is way better than gingerbread, for every single reason listed in the link on the first page. there are dozens of features i use every day that i would miss if i ever went back to GB. face unlock, the search bar on each home screen (w/o taking away space for widgets or icons), new and better widgets, chrome...

but everybody is entitled to their own opinion and since everybody knows the differences or can look them up in the link on the first page, this thread is redundant and reported.
[Galaxy S II General] shantanubarik:
is it fast than GB?
[General Questions and Answers] n70shan:
hi friends,

after searching 100's of pages but could nt find solved and appropriate answer i have to ask it here again that i cant connect motorola atrix 4g running android 2.3.4 with locked bootloader and unrooted to computer via usb. i cant listen any sound of inserting usb when i connect phone to pc out of my computer. i have orignal motorola usb cable and also full motorola helper driver and software installed. i tried on two different computers on two diff windows also but failed. i also done many tricks like enabling usb debugging in application menu and or pressing #5 on dial pad while connecting cable to phone i also installed motocast but no goodness etc etc i am able to connect over wifi through browser but problem is only with connecting with usb. actually i want to unlock bootloader and or install custom rom but could'nt do anything without connecting phone to pc via usb so plz help i am tired now. thinking to buy galaxy s2. help plzz thanks any suggestion also??
[General Questions and Answers] n70shan:
plz anyone reply i need that thanks?
[General Questions and Answers] sreza:
When you connect the Atrix to your pc, there will be an extra bar in your notifications pull down menu on the Atrix. Tap that bar to choose between different connection types.

EDIT: Also, install Motorola Media Link.
[General Questions and Answers] n70shan:
i tried that but there is no notification appears in notification bar when i connect with pc. no response from pc as well as mobile side. i cant even charge my phone with pc plz help
[General Questions and Answers] n70shan:
plz help me out:(
[Defy Q&A, Help & Troubleshooting] m0nk3yb0y94:
Hi guys,

im using ubuntu on my laptop atm and am struggling to download roms to try out could someone who has them or wants to download them please pm me and ill send you t=my email address to send them to?

im looking at cynaogen 7 stabe or 9 stable and any others you would reccomend?

can anyone please help?
[Defy Q&A, Help & Troubleshooting] m0nk3yb0y94:
at the moment its a mb525 green lens

Firmwire - 2.1-update1

Kernal - 2.6.29

Build - JRDNEM_U3_2.51.

rooted with 2ndinit installed
[Defy Q&A, Help & Troubleshooting] tarekh020:
One of the fastest CM7.2 Roms and yet stable : http://xdaforums.com/showthread.php?t=1510063
[AT&T, Rogers HTC One X, Telstra One XL] raytraceme:
So here are some cool features that I love in the one x that aren't much talked about:

Restart Button, completely cleans the phone before rebooting.

The placement of the charging input, I love it when I charge my phone how the charging cable does not interfere with my usage unlike most phones which have the charging input on either the top botton or on the side where it still interferes with your hand.

Sense Widgets, I love the classy look of sense and many of its widgets like its mail and note widgets however its keyboard sucks!!!

Car, I love htc's car app. Its very useful for when on a long trip and it looks very neat.

Audio quality: Even though the international version of the one x has subpar audio quality through its chip, the one x att has one of the best audio chips on the market and sounds really good.
[AT&T, Rogers HTC One X, Telstra One XL] tom_m:
I like the recent apps interface and how you can close them by flicking them up off the screen, reminiscent of the WebOS. Very nice.
[AT&T, Rogers HTC One X, Telstra One XL] brocabortzfield:
swype like text entry is built into the HTC keyboard!
[AT&T, Rogers HTC One X, Telstra One XL] BBock9:
This is actually the only thing I feel has been messed up compared to stock ics. I like how you can view more tasks in the stock implementation. Just my opinion though.
[AT&T, Rogers HTC One X, Telstra One XL] ThisWasATriumph:
Can you elaborate on this or give a link with more info? I have been wondering if this phone would match the quality of the Wolfson in my Captivate. Unless you're talking about call quality?
[AT&T, Rogers HTC One X, Telstra One XL] vinuneuro:
What audio processors do they each have?
[AT&T, Rogers HTC One X, Telstra One XL] Arcadia310:
I really love all of the customization with lockscreens and widgets. There's a lot of small things I've been noticing that makes Sense very polished and slick. Really enjoying it so far.
[AT&T, Rogers HTC One X, Telstra One XL] jeremyshaw:
I know in the ASUS tranformer Tegra 2 vs 3, there was an audio chip change that some speculated was due to Tegra 3 (lower quality DAC, too).
[AT&T, Rogers HTC One X, Telstra One XL] mactruck:
The widgets rock! What doesn't rock is the lack of visual voicemail. :(
[AT&T, Rogers HTC One X, Telstra One XL] phositadc:
Google voice broseph
[AT&T, Rogers HTC One X, Telstra One XL] raytraceme:
^ is the case with the international version. I have no clue about the s4 though :( and google was of no help.
[AT&T, Rogers HTC One X, Telstra One XL] mikelebz:
Flip the phone while on a phone call --> switched to speaker phone

Flip the phone while ringing --> silences ring

Ring stops when you pick up/move the phone

When phone is in pocket and it rings, the volume goes up to max

:D
[AT&T, Rogers HTC One X, Telstra One XL] sassafras_:
Dunno if this is stock ICS or a sense addition, but I really like the DLNA built into the gallery. The first time I streamed 1080p video I had taken with this phone to my TV without any fancy setup was mind blowing.

sassafras
[AT&T, Rogers HTC One X, Telstra One XL] Justjusten:
Im pretty sure you can download a visual voicemail app if your on AT&T or google voice like someone already said
[AT&T, Rogers HTC One X, Telstra One XL] centex99:
how do you enable/use these features?
[AT&T, Rogers HTC One X, Telstra One XL] mesasone:
I thought for sure I saw empirical testing for audio output on the GSMArena site, but for the life of me I just can't seem to find it now. Either I made it up entirely (possible), or they took it down (not sure why), or I'm blind as a bat (also possible). Maybe somebody can dig up that review. I'm almost 100% certain that I saw it on GSMArena - I think they're the only one doing any actual testing of the audio output on phones anyway.
[AT&T, Rogers HTC One X, Telstra One XL] droidiac13:
I didn't think it had VVM either, but I found the AT&T app you need to install. It is called AT&T Messages. Its a little "busy" for my liking due to it containing text messages, recent calls and voice messages, but at least there is something.

Hope this helps.
[AT&T, Rogers HTC One X, Telstra One XL] ChongoDroid:
How about us Canadians? I wish google would update GV so that people out of America could still have VVM.. I could care less about voip..
[AT&T, Rogers HTC One X, Telstra One XL] mike21pr:
Incognito mode in browser... Nuff said haha
[AT&T, Rogers HTC One X, Telstra One XL] d.cortez:
one thing i've always enjoyed with HTC phones is the internet connection sharing... being able to share my laptop's wifi connection when i'm flying (every week) is nice.
[AT&T, Rogers HTC One X, Telstra One XL] Pirateghost:
At&t messages is horrible. It will screw up your VM account hard.
[AT&T, Rogers HTC One X, Telstra One XL] timmillah:
My underrated feature is a combination of two separate, but thoughtful details.

1) "Best pic continuous mode"- I'm sure most of you guys know this, but if you hold the shutter button down you'll take a crapload of pictures in succession, and then it allows you to keep all of them, or select the best one. This feature within itself is pretty awesome, but I had one major concern: clutter. I can't stand "excess" of anything, whether it be notifications, icons, or as in this case, having 5-20 pictures that are close to identical. It's a waste of space, and it would make my head explode if I opened my gallery and that's what I saw.

Which leads me in to the second "feature".

2) Grouping of photos.

Examples--

A. I took 6 pictures using the continuous mode, then went to my gallery. This is what I saw.

B.If you pull the "set" that you took up, you'll get a second little icon in the bottom left, indicating a group of pictures.

C.Once you have clicked that icon, you're brought to another section that has all of the images from that set, with the "best" one highlighted already. Very convenient.
[AT&T, Rogers HTC One X, Telstra One XL] thinkhope:
If you can, head on over to the HTC Vivid forums. Head to the android dev section and search for gsleons thread that has the ATT visual voicemail apk. Worth a shot dude!

Edit: went ahead and saved you some time. Hope it works.

http://xdaforums.com/showthread.php?t=1452330
[AT&T, Rogers HTC One X, Telstra One XL] mikelebz:
They come enabled

---------- Post added at 03:11 AM ---------- Previous post was at 03:08 AM ----------

NFC tap is also pretty cool as well...it's just a shame that not many people have a phone that can use it
[AT&T, Rogers HTC One X, Telstra One XL] droidiac13:
I'm new to AT&T so could you explain? Is there another app?
[AT&T, Rogers HTC One X, Telstra One XL] DanMc85:
You can download at&t visual voicemail from the market with the One X, they made it available as a download for this phone only.

- Dan
[AT&T, Rogers HTC One X, Telstra One XL] :
Hmm, I cant seem to find it.
[AT&T, Rogers HTC One X, Telstra One XL] droidiac13:
Same here.
[AT&T, Rogers HTC One X, Telstra One XL] tom_m:
I want my mind to be blown... :confused:

Can I stream to my Xbox 360? Do I need any extra hardware from HTC?

When I go to select a player nothing is listed (wifi is on of course as is the xbox).

I can stream from computer, Xbox Media Center on another computer, etc. to XBox...I'd hope that I could also stream from the phone (without downloading additional apps).
[AT&T, Rogers HTC One X, Telstra One XL] UMGixxer:
I noticed that this app is available if you log into your at&t account, so look for it there
[AT&T, Rogers HTC One X, Telstra One XL] txmade:
Log in to what? I Logged in to My Att and nothing shows up.