yashsingh1/xdaforums huggingface dataset:
[Fascinate Q&A, Help & Troubleshooting] tkirane:
So I did use the recovery-all last night to no avail, still says that it cannot mount certain items.

I have to three finger salute it, then let go after a while for it to boot to CWM, then it cannot mount cache:recovery/command and recovery/log and dev/block/st111

Also when trying to wipe data it cannot mount datadata

Then I do reboot system now and it reboots to CWM with same errors.

EDIT : Found an ODIN for EC01 ComRom 2.0

Going to try that out and see what happens.
[Fascinate Q&A, Help & Troubleshooting] tkirane:
I'm an idiot. I realized I kept ODIN'ing pit with CWM, aka, BAD idea. All fixed and running.

Thanks everyone!
[Fascinate Q&A, Help & Troubleshooting] efan450:
Lol glad to hear your up and running...I've had my share of idiotic moments and lucky our phones are pretty brick proof...and now we can add to the list that using a pit file and trying to odin cwr while it won't allow your phone to work..... you can still recover even from this with out perma-bricking!
[Networking] tertaret:
boss, i am using following

1. device- htc hd2 , win mob6.5

rom- 1.66.415.9 wwe.

2. laptop- win xp with active sync 4.5.with a dsl connection.

i have been using the internet of my computer by active sync in my htc hd2. and everything was working very nicely. my hd2 have been connecting to laptop and the internet of laptop in a second and was very good. suddenly few days ago the htc weather stopped updating.

my data plan (sim) dont have any internet connection. i,some time use the wifi of my work place. from yesterday my phones few features got disrupted, like i can connect to active sync internet of my laptop and use-1.opera browser, 2.intenet explo. 3.google maps. 4.facebook for win mob. 5.spb tv 5.palringo.. without any problem

but i cant use 1.win. my phone, 2.marketplace 3.magic mobile currency converter 4.open market. when ever i try too connect them or start this applications, they replies could not establish a connection. check your internet connection.

i have been trying to fix it. i used all the methods i found in xda website, like active sync config, uninstall-install, active sync>file>connection>this com is connected to internrt. registry tweak to add d-word value allowLPS and all

on device i checked connection setup, kept my work connection in advanced setup, changed them did a lot of things. i updated the connection database of all operator also, but no result.

still all those application cant find any internet connection in my hd2, where as others are connecting nice and working well. i tried to uninstall and install those programmes in my device but no resolve

pls if you guys can help. i have been happy with this win mob, even people was telling lot of doubt about win mob, because i found out xda developer, which makes it worth to keep a win mob device in pocket.
[General Questions and Answers] Banger_AK:
I have an AT&T rooted Motorola Atrix 4G that I purchased and SIM unlocked (still running Android 2.2). I am using it currently on GCI's (of Alaska) GSM network which is currently 2G (Edge) in my area. However, GCI (yeah, this next part is weird) actually has a 3G network, but it is CDMA. I looked and it looks like I can get a 3G data only package from them for $19 a month (separate from the phone package I already have). I called and they said their systems are separate so I can't "have it all" on one number. The question is, would I be somehow able to use both on the phone? There is an option in the settings to use both types of networks, but I am not sure how I would input the CDMA settings to get it to work (if it would).

Reasons why I would want to do this:

GCI's CDMA coverage is not great outside of town (and some places in town). However, their GSM 2G coverage is the largest in the state (works even in crazy small remote villages). So basically I want to maintain good phone coverage but have the faster data when it's available.
[General Questions and Answers] DustoVanDusto:
How did you get your atrix to connect to GCI? I can't get it to connect. Mine has 2.3 and the phone wont connect to GCI! Will rooting it help?
[General Questions and Answers] tertaret:
boss, i am using following

1. device- htc hd2 , win mob6.5

rom- 1.66.415.9 wwe.

2. laptop- win xp with active sync 4.5.with a dsl connection.

i have been using the internet of my computer by active sync in my htc hd2. and everything was working very nicely. my hd2 have been connecting to laptop and the internet of laptop in a second and was very good. suddenly few days ago the htc weather stopped updating.

my data plan (sim) dont have any internet connection. i,some time use the wifi of my work place. from yesterday my phones few features got disrupted, like i can connect to active sync internet of my laptop and use-1.opera browser, 2.intenet explo. 3.google maps. 4.facebook for win mob. 5.spb tv 5.palringo.. without any problem

but i cant use 1.win. my phone, 2.marketplace 3.magic mobile currency converter 4.open market. when ever i try too connect them or start this applications, they replies could not establish a connection. check your internet connection.

i have been trying to fix it. i used all the methods i found in xda website, like active sync config, uninstall-install, active sync>file>connection>this com is connected to internrt. registry tweak to add d-word value allowLPS and all

on device i checked connection setup, kept my work connection in advanced setup, changed them did a lot of things. i updated the connection database of all operator also, but no result.

still all those application cant find any internet connection in my hd2, where as others are connecting nice and working well. i tried to uninstall and install those programmes in my device but no resolve

pls if you guys can help. i have been happy with this win mob, even people was telling lot of doubt about win mob, because i found out xda developer, which makes it worth to keep a win mob device in pocket.
[Android] tommytomatoe:
[UTILITY] Android Utility - [apktool|dex2jar|smali|more][Mac & Linux][Feb13, 2012]

October 12. 2011.

Dear AU users:

I want to make a list of all the projects/themes/ROMs that AU helped make/optimize/perfect. If you all could be so kind as to post a link to your projects and I can put in op.

The goal: (a.) to demonstrate the scope of AU, and (b.) to show off all of your ideas and projects.

I would appreciate your help with this.

Sincerely yours,

Tommy

Hello again!

This time, here to present you with Android Utility - a tool to discover and modify Android.

Currently available for Mac OS X and Linux

Windows Coming in the future.

Welcome back tommytomatoe,

Android Utility by tommytomatoe. Version 1.0.7. Special Edition

|-------------------------------||-------------------------------|
|-------------------------------||-------------------------------|
| BASIC TOOLS || ADVANCE TOOLS |
|-------------------------------||-------------------------------|
| 1. adb tools || 7. apk Re-Engineering |
| 2. keystore manager || 8. apk Optimization |
| 3. sign apk and update.zip || 9. dex code utility |
| 4. zipalign ||10. draw9patch utilities |
| 5. change-log creator ||11. AU ROM Utility |
| 6. png swap themer ||12. 3vodex |
|-------------------------------||-------------------------------|
| K. Run dsixda's Android Kitchen |
|----------------------------------------------------------------|
|----------------------------------------------------------------|
| x. Run Installation Guide || e. Extras |
| i. Install Android SDK || q. Quit |
| u. Update Android-Utility || |
|-------------------------------||-------------------------------|
Select an Option:

Install Instructions and Frequently Asked Questions in POST #3

What AU can help you do

The Goal

The Goods

Install Instructions and Frequently Asked Questions

Credits

Brut.all - apktool.jar and sound advice

JesusFreke - baksmali.jar and smali.jar

Stericson/JF - testsign.jar

Google - AOSP

Pendo - sound advice/answering my rookie questions :-)

aamikam - sound advice

themikmik.com - Awesome sauce [jadeboy, nick, cho, et cetera :-)]

myn's thread - dougjamal, myn, lowetax, ageesm, persnlmgr, et cetera

xda developers - Roots

JsChiSurf - sound advice

dsixda - sound advice

Amon_RA - sound advice

Igor Pavlov - 7zip

Ardfry Imaging, LLC. - pngout

Glenn Randers-Pehrson - pngcrush

Andrea Mazzoleni - advpng

Cosmin Truta - optipng

Emmanuel Dupuy - JD-GUI

Xclusive Rydah, Chingy, misfit - testing and ideas
[Android] tommytomatoe:
Version: 1.0.6

### Welcome to Android Utility

# README

# Author: Tommy Nguyen [tommytomatoe]

# Date: October 6, 2011

### Update. October 06, 2011

>Version 1.0.5

>added adb logcat ultimate tool

>added auto-update

>Version 1.0.6

>added update options

### Update. October 04, 2011

>updated res_compress

>added auto-zipalign option

### Update. October 04, 2011

>added system app sign option

>removed 7z and 7z.so

### Update. October 03, 2011

>Version 1.0.3

>updated main menu

>added kitchen plugin

### Update. August 22, 2011

>version 1.0.2

>updated main menu

>updated apktool (1.4.2 and 1.3.2-mod)

>added png Optimization [pngout, pngcrush, optipng, and advpng]

>updated installation guide

>added support for touchwhix and sony

>added 3vodex script capabilities

>removed 7z in apk_compress and res_compress

>updated installau

>added auto-dex-removal [dexrm and dexrm2]

>BIGGEST CHANGE: added dex2jar

>added smali/baksmali support

### Update. July 14, 2011

>version 1.0.1

>updated sign script

>updated main menu

>added ROM Utility

>added apk Optimization

>added change-log creator

>fixed error logging for decompiling and recompile process

>added resources.arsc decompression

### Update. July 13, 2011

>version b-1.0.0

>redid decompile and rebuild scripts

>added error logging to decode and rebuild

>added filter to adb script

>changed main menu layout

### Update. July 08, 2011

>more preparation

>added zipalign script

>added sign apk/update.zip scripts

>updated apktool decode mechanism, now includes META-INF extractions

### Update. July 05, 2011

> preparing for initial release

> added apktool build script

> added draw9patch stuff

### Update. June 20, 2011

> added some major changes

> got confirmation for use of PNGOUT

> preparing for initial release

### Update. June 15, 2011

> major changes to install script

> minor changes to andutil script

> Version a-0.89 should be up and running soon

### Update. June 06, 2011

> github repo created

### CREDITS

> brut.all for apktool.jar and decode9patchPng.jar

> jesusfreke for smali and baksmali

> PNGOUT.EXE used with permission of Ardfry Imaging, LLC.

> pngcrush - Copyright (C) 1998-2002,2006-2011 Glenn Randers-Pehrson

> advpng - Andrea Mazzoleni

> optipng - Copyright (C) 2001-2011 Cosmin Truta

> dex2jar - pxb1...@gmail.com

> JD-GUI - Copyright © 2008-2011 Emmanuel Dupuy

> Igor Pavlov for 7zip

> Google

> Android

> HTC

> xda developers

> themikmik.com

> tommytomatoe
[Android] tommytomatoe:
Please follow these INSTRUCTIONS Carefully. The usefulness of AU depends on your attention of these instructions. Thank you.

### Installation ###

*** MAC ***

*** Linux ***

*** Windows ***

Coming Later.

Frequently Asked Questions

1. What if I get /usr/local/bin not a directory? ScreenShot

Answer: Post #111 aka my Epiphany

2. What if I get an error "Apk cannot be decoded"? ScreenShot

Answer: Please be sure that your apk has no spaces in its name. Post #98

3. Why is my new apk so much smaller than my original apk?

Answer: Two reasons. 1. Apktool when it builds, it uses full compression. 2. The new apk has not been signed, so the signature files "META-INF" are not present.

4. What can I use to edit xml files?

Answer: Mac: TextEdit or TextWrangler. Linux: Gedit (my personal favorite). Windows: Notepad++

5. Why won't my apk decompile?

Answer: Well, multiple reasons. Let's start fresh.

a. Have you installed proper "framework" files, ie framework-res.apk and com.htc.resources.apk? These go inside working-folder/framework-here/. Install via Option #1 in Apk re-engineering.

b. Have you installed a new version of apktool? Sometimes that will resolve your issues.

6. Why won't my apk recompile/build?

Answer: Again, could be multiple reasons.

a. Are you sure your framework files are installed?

b. Your edits could just be bad/mistakes.

c. Install a different version of "aapt", available in installau and the apk Re-engineering suite.

7. I get the error: "apktool.yml does not exist".

Answer: Please refer to questions 5 and 6. A file "apktool.yml" gets created that's used by apktool during the decode process. If that went wrong, then you won't be able to compile.

8. AU tells me to check build_log for errors. But there is nothing there!

Answer: Currently the build_log is funky. I will fix in the future. If it tells you to check log and nothing is there...then ignore it. There really wasn't an error. But if the log does exist, then you have an error.

9. When will a PC Version exist?

Answer: When I have time.

10. When will you include latest apktool (v1.4.2)?

Answer: AU Version 1.0.2 will include latest tools.

11. When will smali/baksmali support be available?

Answer: AU Version 1.0.2 will include latest tools.

12. When will png optimization be available?

Answer: AU Version 1.0.2 will include latest tools.

13. Why cant't I sign my apk with test keys? They won't install!

Answer: Using an archive manager, delete the ORIGINAL "META-INF" (aka the signature) and then sign.

14. I get errors using Draw9Patch decompiler after using 9.png from a decompiled apk.

Answer: Post 151

15. What if I have a non-HTC Device, like Xperia or Sammy?

Answer: Currently, support for those devices does not exist for the "Apk Re-Engineering", namely Option #1 Install Framework first. The tool is written to only look for "framework-res.apk" and "com.htc.resources.apk". Future versions will have support for more proprietary ROMs. More info on Post 134.

More to come.

Enjoy!
[Android] myn:
Awesome utility man :)

I can't wait for the Windows and Linux ver :)
[Android] TMartin:
+1 to Myn's reply. Can't wait for Windows & Linux versions.

Great work!
[Android] tommytomatoe:
Thank you gentlemen. More features in the plans but a Linux version first. Maybe tomorrow night.
[Android] TMartin:
My laptop is very happy to hear that!
[Android] vanessaem:
Great, now I definitely have to dust off my MacBook to use this. :)
[Android] tommytomatoe:
Do it V! It will solve all your apktool woes. :-)

Just getting off work. Might have some time to polish of Linux version tonight...but will have to see what the lady wants to do. :-(
[Android] kennethpenn:
I'm on a Windows computer, but I'd be willing to grab a Mac to try this out if it can solve my problem.

I need to edit AndroidManifest.xml in Settings.apk. I follow the procedure below:

1. Decompile settings.apk

2. Edit AndroidManifest.xml

3. Recompile

4. Drag and replace AndroidManifest.xml from recompiled version into original

Unfortunately, the application doesn't show up on the device. I've been using apktool, but also tried apk manager with signing and all. I don't know how to fix the problem, which I assume is caused by the signature of the APK.

Will your utility make it easier for me to edit this file?
[Android] tommytomatoe:
I believe it will be easier for you. In the decompile process AU will ask if you would like to extract original META INF. Once you're done Modding what you want to do, drag the Meta INF into the new apk. Everything is organized and easily understood once you use it. But before you get a Mac....

What are you changing in the manifest? It could very well be your edit doesn't work. Please give more information
[Android] tommytomatoe:
Linux Version coming within the hour. Just needs a little testing :-)
[Android] tommytomatoe:
Linux Version B-1.0.0 is live. :-)
[Android] Rydah:
This is hands down, the best utility. Love it.
[Android] tommytomatoe:
You are hands down too nice :-)
[Android] grumpygul:
Awesome, thank you!
[Android] TMartin:
Looks like a great tool. Can't wait to see the other elements included.

On Linux using apk compression, it isn't removing the apk from the "original_apps" folder. Looks like it performs the rm command but leaves off the file extension so it can't find the file to remove.

EDIT: I get this between each file.

rm: cannot remove '/home/tmartin/android-utility/working-folder/mod-here-multi/original_apps/HtcProfileWidget': No such file or directory
HtcProfileWidget.apk decompressed
Decompressing HtcRingtoneWidget.apk
/home/tmartin/android-utility/working-folder/mod-here-multi/original_apps/HtcRingtoneWidget: No such file or directory

EDIT #2: Looks like it made ever file 24.2mb & unreadable??
[Android] tommytomatoe:
Arg! Just got to work so I can't fix. I was afraid that one would give errors. Works on Mac but I didn't test in Linux. I will fix later. Sorry about that.

But big thanks for the feedback.
[Android] TMartin:
It happens, no rush. I'm just testing things out. I'll let you know if I find anything else.
[Android] tommytomatoe:
Thanks man. Please list any and all bugs!! :-)
[Android] CleveRuse:
Sorry, lemme try again. Here is SystemUI

http://db.tt/brRVbLA
[Android] CleveRuse:
And fowenati, its certainly not easy, and I'm not there yet but I have made some headway with the dropdown text color. And its all in SystemUI as far as I can tell.

So far I only got the 'Quick Settings' side changed. It's hard to tell wut did it but a good place to start would be SystemUI.apk/res/layout/

In there try 'quick_settings.xml', 'status_bar.xml' (i think that's for the Time-Stamp in ur notifications) and 'status_bar_preferences.xml'

And for the notifications side, I'm not sure cuz i can't recompile to see changes, but i suspect I can change them by editing 'colors.xml' in /res/values/

I have managed to change some of the notification side also by changing all instances of white to black in all 5 xml's in /res/color/

(as suggested by TT himself ...least I think that's where he meant;))

Note: that last picture was my first attempts. And the first was done by pulling someone else's edits and applying them since I can't recompile to see the edits that I made. Just wanted u to see its possible. I have since changed all text to white by using his edits in all places mentioned above. Once I figure out more, maybe I'll PM u
[Android] tommytomatoe:
1. Are you adding the "META-INF" in the new apk before testing?

2. I was able to decompile/recompile without errors using Options (1, 3, and 5) with apktool 1.4.1.

3. For some reason, there is a "status_bar_close_on.9.png" and a "status_bar_close_on_2.9.png". Do you know why?

4. Sometimes it takes a restart for status bar to show up. Did you restart?

5. Is the file you uploaded the original apk or the modified one?

You're right about the install framework thing. If you install it once, AU (well, apktool) knows where to look for those framework files and until changed, you can always decompile without installing again.

Well I'm not sure what your issue could be. My phone looks like this. I'm heading into work right now and won't be able to check tapatalk since my phone is completely busted. But here is my suggestions for you:

1. Download the attached zip (cleve.zip). OR HERE

2. Place the framework files inside AU's working-folder/framework-here. Use those. Not that it will make a much of a difference, but I think these are more consistent.

3. Try swapping out the "status_bar_close_on.9.png" with the one I attached in cleve.zip. Again, that 9.png will work 100%. It's mine (via mikky fresh). hehe.
[Android] CleveRuse:
Ha, ha, LMAO!!!.... Wut the help happened there??? That thing is trashed....

Ok, will try. Thnx brother
[Android] CleveRuse:
Oh yeah.. I don't know why that other 'stat bar close 2' is there. They musta left it in. That apk is from the ROM. I didn't theme it, but obviously they did. I can't find a completely stock SystemUI.apk.

.....yeah, I don't get errors either but still the stat bar vanishes. Yes, I tried 'restart' too. I'll try other suggestions now..... Oh, and yeah I always replace/fix the 'status bar close on.9png'
[Android] CleveRuse:
Wait, no I'm not adding the META-INF. I nvr have. I thought it adds itself. How would I do that? I don't see a "new" one; just original.

Also, don't go outta ur way, but I'd love to try a completely STOCK version of SysUI.apk if u know where to find one. I don't know if it has to be a specific version for the base I'm on. Don't know anything bout that.

....and the framework n 'stat_bar_close' u provided did not help. This is a complete paradox
[Android] tommytomatoe:
Yeah. AU extracts the original "META-INF" and places it in a folder called "original_META-INF". Rename the folder "SystemUI.apk-META-INF" to "META-INF" then Place that inside the new apk that you get after it recompiles (in "new_apps_unsigned". I can almost bet that is your issue.
[Android] CleveRuse:
Ha ha, yep, TommyT strikes again. It's all good. I actually am to excited to read ur last reply ...but yeah, it was the META-INF ...I really thought it did that automatically so I mgr checked ha ha
[Android] CleveRuse:
Ha ha yep ....the "original" part in the "original_META-INF" thru me off. O just grabbed an old one from another apk but I got it now. U r the MAN
[Android] CleveRuse:
I forgot that recompuling bvr worked (well I thought it didnt) I always just edited xmls then added to another apk that did work, but cuz I doing colors.xml I couldnt (w out using the whole dir) I'm so retarded (in still a genius tho, lol)

.....u gotta admit, that "original" part makes it sound like its old and shouldn't be used ...that is, if ur dumb and don't realize that it nvr needed to be changed and of coarse needs to be re-added. I just assumed it re-added for me in re-build Thnx bro
[Android] tommytomatoe:
No problem man! Glad you got it working. I really need to get that guide going.....

The "META-INF" is the signature and apktool does not resign for obvious reasons (some apps need the "original" (lol) signature). But I can look into making AU add the signature during it's build process. Maybe I will prompt the user if the app is a third party "data/app" or a "system/app".
[Android] Jsmokey:
Wow looks like theres alot of progress going on over here tommy, I did try the app out on snow leo and anti x linux both worked good from what I can see, anything been going on with getting this working for samsung? If you need help on the samsung side just point me to what you need and i'd be glad to help if I can, I've ran a few random decompiles/recompiles to see how everything works but I don't have an htc to dev/work with but from what it looks like the app works great.

Sent from my i897 w/Andromeda 3, Suckerpunch kernel, & 1.3Ghz OC using Tegrak.
[Android] tommytomatoe:
Thanks for the kind remarks man. Version v1.0.2 will have universal framework support so the sammys and sonies will work. It wasn't something I thought about being that I own an HTC Evo. I just need some time to rework my scripts and update. Version 1.0.2 will have huge upgrades. Here is a sneak peak:

pngout

pngcrush

optipng

smali

baksmali

sammy+sony framework install

install android sdk

MAYBE "root my device" via revolution (i might contact alpharev and unrevoked for their use of the binary)

splash-screen creator

font changer

more that I can't think of right now.

But thank you for your support and kind words :-) Stay Tuned.
[Android] Jsmokey:
Awesome can't wait tommy and you deserve all the thanks you can get from this great little utility, just wish we had more ppl working on this kind of stuff for android, trying to make the modding process easier on everyone and consolidate multiple tools/functions into one great utility thats easier to use.

Edit: sorry to hear about your phone man that thing looks horrible, hope you get it worked out soon.

Sent from my i897 w/Andromeda 3, Suckerpunch kernel, & 1.3Ghz OC using Tegrak.
[Android] tommytomatoe:
Theoretically the replacement evo is waiting at my front door when I go home to get it :-)