yashsingh1/xdaforums huggingface dataset:
[Desire Q&A, Help & Troubleshooting] pickie:
yeh ive also missed calls cos this phone is so dam quite :( this is my first phone out of many that im not happy with the volume, though i think its prob to do with the poor quality of the speaker in it, i dont think it can handel any louder sounds as it sounds terrable at high as it is :(
[Desire Q&A, Help & Troubleshooting] supasye:
i thought it vibrated quite a lot, scares the **** out of me sometimes.
[Desire Q&A, Help & Troubleshooting] Phil750123:
When i have it on my desk and it vibrates i think wow that strong.

But when i have it in my pocket i miss it all the time!
[Desire Q&A, Help & Troubleshooting] JohnSteveDoe:
Really? Speaker's too quiet? Put this as your ringtone on max and then tell me it's too quiet. I got a call while I was doing the dishes and broke two plates.
[Desire Q&A, Help & Troubleshooting] djoni1980:
Phone is too thin for the pocket...
[General Accessories] kosmarnik:
Hi!

My ExtUsb plug is kinda mangled, the phone thinks there's a TVOUT cable connected all the time, which means all sound is routed to the plug instead the headset :(

Help! Can't use the phone like that!
[Android Software Development] SA-07:
I was able to create the menu I needed. I have two options for my game shown through Buttons in the main menu: "New Number" and "Quit Game." I am running my game on the 2.1 emulator. How can I make it so that when the menu shows up with these two options, I should be able to press "New Number" and the screen will change to a textbox where a user can input a number? This screen changing and user input is confusing. Do I need to make more xml files? Can you tell me what classes/methods I need for this?
[iPAQ rw6828, XDA Atom General] dreamH6:
Wifi Does not work. It worked (with some trouble) with original WM5 rom, then I tested some rom download form this forum, and stopped to work.

Hp Asset viewer report:

Driver rev : N/A

Firmware ver: N/A

Hardware rev: 1.0

IP Address: N/A

Mac Address: N/A

Radio Present: Yes

so it look like if wifi firmware was cleared.

Any idea how to solve?

thanks
[Hero, G2 Touch Android Development] idroid84:
Source Found

Brut.all of XDA has released the program APKtool which make the process of editing any APK file much easier, especially XML editing. Before you had to use a few different programs (Smali, hex editor, etc) to do the same thing. A future release is going to have the decompiler dump into an easy to import into Javabeans/Eclipse format.. so nice

Program and Usage link;

APKTool 1.2

Setup;

Before you start, download from the link above both the apktool-1.2.0.tar.bz2 and apktool-install-windows-2.2_r01-1.tar.bz2 and extract them to your windows folder.

Usage;

Decoding APKs;

apktool d <file.apk> <directory to output to>

Compiling APKs*;

apktool b <directory of decoded apk>

*The compiled apk will be saved to the sub directory "dist", which is in what ever directory you choose to compile.

Output structure;

Smali directory - The output of classes.dex, the code to the apk

Res directory - Your resources, the images and layout/structure xmls

Lib directory - Shared library files

Dist directory - The apk output of the "apktool b" command, if you didn't run it you won't have it.

Build directory - The compiled output of the "apktool b" command, like what you would see if you just extracted an apk file with 7zip. If you didn't run it you won't have it.

General info;

Once you have your edited apk from the Dist directory you'll need to sign it. I use Dave Da illest 1 of XDA's modified script for signing. Just place your apk, this should be the only apk in this folder, in the same folder that you extracted the auto-signer to and execute sign.bat. The script will output your_app_signed.apk, which is your signed and ready to load on your phone apk.

If you'd like to decompile/compile an apk file that doesn't have a classes.dex, like framework-res.apk, just place any classes.dex into the apk and it will decompile. If you don't do this apktool will through up an error. Just remember to pull the classes.dex out before you sign it.

Videos;

Editing an Apk file with APKTool;

http://www.youtube.com/watch?v=XXgYVHTcl6c

Editing a Jar file with APKtool;

http://www.youtube.com/watch?v=VAekeWiqHcY

Why?;

Localization / Translation

Themeing

Adding in features or taking them out

Impressing friends and family, lol

etc..

Issues;

I noticed that while the new version 1.2 works great on the framework-res.apk file, it seems to have issues with other System/app files like Settings.apk,Phone.apk, etc. For these files use version 1.1.1.

Hopefully this is helpful, I tend to ramble.

-Ften @ sdx-developers.com
[Hero, G2 Touch Android Development] shokkapic:
http://xdaforums.com/forumdisplay.php?f=613

Post it here too, mate. :)
[Hero, G2 Touch Android Development] idroid84:
Will do, not having a good time at the moment as I can't seem to edit launcher.apk with this tool. Not sure why. basically I decompile, edit then compile but having issues when transferring it back to the phone. :mad:

EDIT: I just get a black screen when trying the new modified .apk file. :mad:
[Hero, G2 Touch Android Development] Brut.all:
Why to create new threads, if apktool has its official thread here :-)

http://xdaforums.com/showthread.php?t=640592

Do you get any errors in logcat?
[Hero, G2 Touch Android Development] idroid84:
I could not find it anywhere else and I did do searches for hours :) Brilliant tool!

See Attachment, I think it's this line

E/PackageManager( 138): Package com.android.launcher signatures do not match the previously installed version; ignoring!

However, not sure how to fix it.
[Hero, G2 Touch Android Development] shokkapic:
Not an expert. But try to uninstall the previous launcher, before installing that one. :)
[Hero, G2 Touch Android Development] idroid84:
Will try it. :D

EDIT: Nope, uninstalled re-installed, still black screen.
[Hero, G2 Touch Android Development] Brut.all:
I think you can't install Launcher just like that, because it's system app. You should do it through update.zip file.

Try to not use apktool, but just unpack Launcher.apk, remove META-INF dir, zip it back, sign and install. If you will get similar problems, then they can't be related to apktool (because you didn't even use it), but to something else.
[Hero, G2 Touch Android Development] idroid84:
If I unzip it, remove META-INF dir, zip it back, sign + install and it works fine. It doesn't work when I edit 1 file by decompiling and compiling, sign, upload it fails but it also fails using APKManager.

EDIT: I have also tried using notepad++ / notepad to edit the xml both to the same issue.
[Hero, G2 Touch Android Development] Brut.all:
Err... you know, your problem is for sure related to signing/installation and not to apktool. Key error line is here:

Could you explain, how is it possible, that you can properly sign rezipped apk, but you can't reapktoold' one? If you get signing issues, then this is totally irrelevant what apktool does. All files could be random binary strings as well cause they aren't even read.
[Hero, G2 Touch Android Development] idroid84:
This thread can be deleted or moved to the bin or where ever it needs to go!
[Hero, G2 Touch Android Development] lightyear420:
Thank you soooo much!!! It took me hours of searching to find this post and once I did, I had my apk decompressed in under a minute!!! You da man :D
[Hero, G2 Touch Android Development] dully79:
If your running windows XP here's a right click reg edit I made for making decompiling/compiling quicker-

xdaforums.com/showthread.php?t=935967
[Hero, G2 Touch Android Development] noiofnine:
Hey guys... really trying to theme for the first time with xml files.

I have done modifying of png which are easy, but just lenghty and detailed.

So now that Gingerbread is out, some of the items have been moved to the xml files.

indeterminate was from 4 and now down to 3. but I want to increase to 8 to mimic honeycomb. Also the progress horizontal was once a png reference file now its in the systemui.apk xml too.

Anyhow short version.... anytime i edit more then 1 line at a time after decompiling, when trying to say it will ask to save as text.

Whats the best file editor for xml? or recommendations.
[Hero, G2 Touch Android Development] dully79:
I use notepad++ on windows, you can also import your decompiled apk into eclipse and use that, it'll also report any errors or mistakes you might make.

Hope this helps.8-)
[Hero, G2 Touch Android Development] noiofnine:
Yeah I have been using that do and any time I compile and flash it just gives me boot loop.

Question about proper importing to eclips.

Whenever I just flat out decompile ... do my modification, go to recompile, it get errors. In apktool and apkmanager.

Should I extract the resource file and class dex out and then decompile. Cus when I have the resource file in the same directory....at least last nights attempt, apktool finale didn't give me an error and compiled.

I've done a decompile just from apk and imported to eclips and when I try to run, gives error.... "no style availiable" or something like that
[Hero, G2 Touch Android Development] diegofdg:
Thank you!!!

Greetings.
[Hero, G2 Touch Android Development] highhacker:
fixing a broken abondon market apk

Could someone fix this app VirginmobileMinuitechecker . I think i found the problem . Virgin Mobile updated there site from logon www1 to www2 . I edited it from the open source and zipped it back up but i cannot get this compile program to run at all . here is the zip master . I made several attempts emailing jay goel but he his MIA .. the app will no longer log in because of the VM website recent changes . TIA

EDIT ,, NEVER MIND . i got it working and fixed that app . works like a charm now :) pretty good being i don't code for a living.. if you don't mind i posted the fixed app . you may move or delete if it is not proper . thank you for the tutorial .
[Desire Q&A, Help & Troubleshooting] setspeed:
Can anyone advise me of the correct APN settings to get an o2 iPhone Simplicity sim working in my Desire?

I've got data working fine, just no MMS.
[Desire Q&A, Help & Troubleshooting] sonderschalter:
Unfortunately I do only have the settings for Germany - however, as I was facing the same issue like you, I contacted the O2 support via phone. And within a couple of minutes I received a mail from O2 with the correct settings (no general ones, specific for the Desire) including a detailed description. Maybe the UK support is working the same way...
[Desire Q&A, Help & Troubleshooting] ljesh:
@sonderschalter: can you share with us your operator settings? Maybe we can modify them with our operator settings and make MMS work
[Desire Q&A, Help & Troubleshooting] jamieyates79:
Here are my UK settings (although note that my sim wasn't originally Simplicity, I justed downgraded to a Simplicity contract):

Name: O2 MOBILE WEB

APN: mobile.02.co.uk

Proxy: Not Set

Port: Not Set

Username: O2web

Password:

Server: Not Set

MMSC: Not Set

MMS Proxy: Not Set

MMS Port: Not Set

MMS Protocol: WAP 2.0

MCC: 234

MNC: 10

Authentication Type: Not Set

APN Type: default​

Hope that helps! :)
[Desire Q&A, Help & Troubleshooting] setspeed:
Thanks everyone. In the end I called o2 and they emailed me this, which has sorted my problem:

Thank you for your recent handset enquiry regarding handset settings. Please find your settings details below.

GPRS WAP & MMS

Please note all steps must be completed to ensure the settings are correctly configured.

Please ensure that when entering O2 into the settings that the letter O is selected and not a zero.

When entering the following information do not press Save until told to in the instructions.

1. Press the Menu key

2. Tap Settings

3. Tap Wireless & networks

4. Tap Mobile networks

5. Tap Access Point Names

6. Press the Menu key

7. Tap New APN

8. Tap Name then tap the text box and enter O2 Pay Monthly MMS then tap OK

9. Tap APN then tap the text box and enter wap.o2.co.uk then tap OK

10. Tap Proxy then tap the text box and enter 193.113.200.195 then tap OK

11. Tap Port then tap the text box and enter 8080 then tap OK

12. Tap Username then tap the text box and enter o2wap then tap OK

13. Tap Password then tap the text box and enter password then tap OK

14. Skip past Server as this is preset as Not set

15. Tap MMSC then tap the text box and enter http://mmsc.mms.o2.co.uk:8002 then tap OK

16. Tap MMS proxy then tap the text box and enter 193.113.200.195 then tap OK

17. Tap MMS port then tap the text box and enter 8080 then tap OK

18. Tap MCC then tap the text box and enter 234 then tap OK

19. Tap MNC then tap the text box and enter 10 then tap OK

20. Press the Menu key

21. Tap Save

22. Tap your new account so a green dot appears next to it

23. Press the Back key four times to return to the standby screen.
[Desire Q&A, Help & Troubleshooting] imy300:
i went into the o2 shop to get either a iphone or blackberry simplicity im to use in my desire hoping i could change the apn's etc. was told that blackerry one wouldnt work as it uses completly different servers and the iphone would work but i'd run the risk of being disconnected for breach of t&c's.

have you tried to use wifi in any of the open zones ?
[Desire Q&A, Help & Troubleshooting] setspeed:
Further to what I said earlier, although the settings o2 gave me worked, they did not allow streaming for some reason.

I found some different settings that allowed data and streaming media, but MMS didn't work.

After hunting around the net and trying all combinations of APN settings that I could find (including have two sets of APNS one for MMS & one for data), I have come to the conclusion that the iPhone Simplicity plan will not allow streaming and MMS at the same time.

I've now cancelled that contract within the 14 day period allowed, and taken out an o2 Simplicity for Smartphone contract instead. Hopefully this will allow me to do what I want easily... will update here with the results.
[Desire Q&A, Help & Troubleshooting] bridgstfer:
Using a O2 SIMplicity SIM - Web & MMS Settings

--------------------------------------------------------------------------------

Right after far too much messing around I have managed to get the settings to work!!!

This guide is based on a HTC Magic that has been unlocked and rooted and is now running a O2 SIM card.

You will need to set up 2 x APNs on the handset.

First one is for your mobile internet. Remember that if you do not have the unlimited web bolt on then this will start to get very expensive for you! You need to enter this information in. If there is nothing written for a paticular field then just leave it blank.

Mobile Web:

Name: o2

APN: mobile.o2.co.uk

Username: web

Password: web

MCC: 234

MNC: 10

MMS:

Name: MMS

APN: wap.o2.co.uk

Username: o2wap

Password: password

Server: http://mmsc.mms.o2.co.uk:8002

MMSC: http://mmsc.mms.o2.co.uk:8002

MMS Proxy: 193.113.200.195

MMS Port: 8080

MCC: 243

MNC: 10

Now once these two seperate APN's have been entered and you have made sure you saved them you should see a grey circle next to each one. Click on the MMS circle and it should now have a green light inside it.

Re-Boot the handset.

You should now have mobile internet and MMS capabilities

Just remember that these are the settings that worked for me on my HTC Magic unlocked and used with a O2 SIMplicity card with a unlimited web bolt on. Make sure you have a data package otherwise your phone bills will be massive! If in doubt check with O2 to make sure your not being charged for the data etc. I cannot be held responsible!
[Desire Q&A, Help & Troubleshooting] james1089:
At last

Nice one Bridgstfer,these are the only settings that worked for me on o2.I have a desire rooted on pay monthly contract, one thing is you have to wait awhile.When I first tried to send mms with these settings it didnt work tried later and everything was fine.I will bookmark this page because I'm always installing new roms.:rolleyes:
[HD2 General] zisfro:
My HD2 worked fine for the first few months I had it, but then one day my SD card unexpectedly crashed... completely... no reformatting, no salvaging, it wasn't recognized by the phone or my computer or any other device I tried it in.

No big deal, I thought, it happens.

I got a new SD card. Used the opportunity to try a new ROM (dZenkins 1.80.0515).

Started reinstalling stuff and after about 2 days, the new SD card started losing data, in less than a half a day it died too. Same thing, completely fried.

So I got another one. This one, in less than 6 hours, has started showing the same symptoms. I'm expecting it to die any minute.

All 3 cards were 8 GB, Micro SD. Seem legit (even if they're not 100% genuine cards, its unlikely all 3 would experience the same failure).

Also, it happened on my original ROM and now on the new ROM, so I think it's unlikely to be software related...?

With this last (3rd) card, I was very careful to always plug it in to the computer as a "hard drive" and to always eject it through Windows before taking the USB out.

So, I'm totally stumped. Any thoughts?

I did some research and it seems like from time-to-time HTC phones have had a problem with destroying their removable storage cards. Has anyone experienced this with the HD2?

Living in Kunming, China, its going to be tough to get an HTC repair on this thing...
[HD2 General] carlosmozas:
Have you tried another MicroSD Brand?
[HD2 General] zisfro:
Yep, tried different brands, still the exact same symptoms.
[HD2 General] fancy_cockpit:
Same here. My card last only 2 days after purchased. Same problem, it just crashed, not even able to be reformatted or read by pc. It just "gone". Now I'm using 16G, and still working on the replacement. By the way, I'm in Jakarta.
[HD2 General] mike-bravo:
same problem here

i use 16 gb micro sd

i started to have acces troubles to some of my folders

my firts card died 2 days ago

is not recogised anymore what so ever
[HD2 General] zisfro:
Contacted HTC, they said try hard reset.

Of course I already did that, no change in the problem. I hard-reset after each failure, but the problem keeps recurring.

Other people who have experienced this problem: Did changing to a different size card help? Or changing how you synced your device?
[HD2 General] fancy_cockpit:
Today I gave the HTC distributor a visit. They said that they HAD ALREADY WARN ALL THE SELLERS ABOUT SANDISK PROBLEM WITH HTC HD2!

Wow, that's quite a revelation!

So, maybe next time you better buy memorycard other than Sandisk.
[HD2 General] airwater9:
I've had problems with the HD2 and microSDHCs. Decided to disable the storage card power saving features on a just in case basis and haven't had any problems since (touches his wood). Purely anecdotal but it worked for me.
[HD2 General] Kingtut1977:
Answer is here !!!

Hey Guys !!! I have HAd the same problem when i newly got my Leo ... three 8GB sandisk cards were ruined .. read only 30 MB ... i have changed to kingstone 8GB and now i have been working very good using my new card for more than two months !!:)
[HD2 General] iainbp:
yep same thing happend to me last nite . i had a sandisk 8 gig card , and try to format it though my pc and still nowt .

i wont be buying a sandisk card again.
[HD2 General] carlosmozas:
I'm using kingston 8Gb card since ever, no problem with it.
[HD2 General] Demon_man:
I been using a transcend sd card 8 gig and works fine, never though the cheap brand would be so good
[HD2 General] tsfatt:
Me too, Using free 8G scandisk .. 2 week gone, then change another 8G scandsk 1 mth gone, then downgrade to 4G scandisk .. 2mth usage gone, now change to 4G kinsgton, already 2mth old ...hope that fine ..

but my old Tytn II, from already 3 years old ..the 2gb kinsgton never let me down ...

Is it the phone structure cause the Sd card burn??? if I not wrong the HD2 processor is under the memory card ....
[HD2 General] hojem:
Reformatted card in my NIKON

Hi, I have had the same problem with my 16Gb SDHC card in HD2. Neither Windows or Linux could reformat/read/write the card correctly.

Tried my camera (nikon) which can reformat the card. Success!

Still the card failed when i copyed the old rescued /backup contents.

Then I removed the exchange sync to the card and moved the thousands of pictures and videos (Camera folder) (renamed folder).

And now the card seems to work again?!?

now I am able to take pictures and videos without getting a corrupted card...
[HD2 General] cckk4477:
hi,i'm from nanjing,china,maybe you got three 括容卡,i just buy two cards which were you described. Now i am using a real 8G kingston SDHC card and a 4G card
[HD2 General] htc_lovers:
this problem also happen to me, twice ...sandisk and transcend 8G...now still looking the best SDHC for my HD2
[HD2 General] egates81:
SD card will not format

Hi -

I recently flashed my phone to the android market after i previously flashed windows7. The phone works great.. love it!!!

Only thing is it does not read my card?? I cannot format it or anything.

I have a micro sd 4gb (co4g).. am i using the wrong size sd card?

Thanks for any help!?
[HD2 General] T-Macgnolia:
If you were using WP7 then switched to Android than the WP7 is the problem. WP7 formats your SD card with a funky format, I forget what it is called. You see WP7 uses the SD card as the internal memory, WP7 native devices also do this to as they use SD cards for internal memory. Anyway the easiest way to fix this is to SD card in a adapter and put it in a digital camera and formatting it then format it on your computer with Fat 32. The digital cameras can remove that funky format and you will not have to get special software to do it.
[HD2 General] HD2_(ab)User:
Stupid WP7!!!!

I destroyed 2 SD cards so far within 1 day. It happened when I installed that new updateable YukiXbmod Windows phone 7.5 ROM. It just RUINED my Stock 2GB Sandisk and my 8GB Transcend! :mad:

I really hope that it isn't the phone f*****g those Sds up! Otherwise I don't know what to do! :(:(:(

---------- Post added at 10:22 PM ---------- Previous post was at 10:09 PM ----------

Pls if ANYONE else has issues related to this ROM or WP7 in general tell me if you have a solution!

EDIT: I feel stupid... My SD cards are both functioning and they are NOT ruined. They are only locked by that WP7 ROM. I find it embarrasing I missed out on the part with the 1:1 chance of locking your SD. :D

EDIT2: And it's quite easy to retrive the cards :)
[HD2 General] enigma1nz:
I had 2 8Gb cards 'killed' by Xbmod Yuki Mango + Gingerbread Android off SD. One card lasted a week before just dying. Had it formatted in Nokia N95 phone, but even though the format went ahead, the message read that the card is locked and demanded password. I formatted again, after which it was no longer functioning at all - nothing could be done. So I got it swapped for the same, which lasted 2 weeks - the same story - it just died. When I came to the shop to see if they'll swap it again, they questioned the chances of 2 cards just failing within a short period of time like that. Now on a third card, different brand, but if it goes, I say it's the ROMs, not the cards.
[HD2 General] HD2_(ab)User:
NO! Why did you use a Nokia?! There is an easier way! If you just use the DEV_UNLOCKSTORAGE.cab and unlock your SD you can take it out of your phone, put it in a card reader and your PC will see it. Then you can simply format the SD with SD formatter, and you're good to go! :D

EDIT: But your WP7 WILL stop functioning!
[HD2 General] enigma1nz:
There must be something you didn't get... or failed to read properly before rushing in with your answer. I know what I am doing, just in case you are wondering. The reason Nokia had to be used is because in order for Dev_Unlockstorage.cab to work you need to be in your WP7 environment, as in have your phone WORKING. When the card dies, the only place you get to is the screen that tells you your card is not working.

And just for you to understand why Nokia had to be used - that is what you do when your card is locked by WP7 and you CAN'T use unlock cab.