yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] DaNiEl FrEnCh:
yes i have downloaded the sdk from the website

but everytime i even check what devices are connected etc it fails

i open terminal, drag the tools folder into it, it then ses its created a directory

when i try to put in the commands "adb devices" or "bart" however, it ses there is no such command

do i need to put my phone into recovery, or mass storage or something

im stumped
[Hero, G2 Touch Android Development] Repp:
You need to add the tools directory to PATH variable on your computer

Here's how you do it (the alternative way is easier):

Run this in Terminal

cd
nano .bash_profile

a text editor will open. add this:

export PATH=${PATH}:/path-to-android-sdk/tools

where you replace "path-to-android-sdk" with the real path.

Alternatively you could run this command in the terminal:

echo -e "\nexport PATH=${PATH}:/path-to-android-sdk/tools" >> .bash_profile

What you have done is to tell the shell to also look inside the tools directory when entering a command
[Hero, G2 Touch Android Development] craig0r:
Oh, in addition to Repp's suggestions, I know in Linux (and I dunno about everyone else) I need to be root to run adb properly. So maybe become root on the Mac. To do so, you need to be an Admin user, not a regular user, and at the Terminal, type

sudo -s

and then enter your user password when prompted.
[Hero, G2 Touch Android Development] DaNiEl FrEnCh:
okay ive done that, i dont know if it came back with the right response tho

i tried the first method and got into the text editor, i then typed what you said and it returned no response, i dont know if this is correct?

if so what do i do next?
[Hero, G2 Touch Android Development] craig0r:
Rather than altering your path, you can also navigate to the sdk/tools directory and run adb like so:

./adb devices

But you have to be inside the directory where the "adb" command lies.

Also, see my note above regarding root users.
[Hero, G2 Touch Android Development] Repp:
Aah sorry. Just save and exit (press Ctrl+X and answer yes to whether or not you want to save). You could also try the alternative way.

I have always used it as normal user and it has worked. Don't know why you would need to be root :confused:
[Hero, G2 Touch Android Development] DaNiEl FrEnCh:
how dyou get into the directory?

i usually just drag the tools folder into terminal.

is this correct?
[Hero, G2 Touch Android Development] craig0r:
At the Terminal type

cd /Users/YourUserName/path/to/android_sdk/tools/
./adb devices

Yeah, it's weird, but it works for me.
[Hero, G2 Touch Android Development] Repp:
You change directory in the terminal with the command cd. So if I wanted to go to the Desktop directory I would write:

cd ~/Desktop

(~ is like a shortcut for your home directory which is the same as the directory /Users/your-username)

Did any of the methods work (they should :))?
[Hero, G2 Touch Android Development] DaNiEl FrEnCh:
to repp, ive done that, all i need to know now is how to use the bart backup function from Amon_RA's recovery image, in adb
[Hero, G2 Touch Android Development] Repp:
And it doesn't if you're not root?
[Hero, G2 Touch Android Development] Repp:
And it worked?

Unfortunately I have never done that so I can't help you there :(
[Hero, G2 Touch Android Development] DaNiEl FrEnCh:
how can i check if it worked?
[Hero, G2 Touch Android Development] Repp:
Just run adb from any directory which is not the tools directory.

For example:

cd
adb devices

where the first line (cd) changes directory to your home directory (the command cd without a path does that) and the other one should list connected devices. As long as it doesn't say

-bash: adb: command not found

or anything like that, you should be fine

EDIT: If you want to use adb, you don't have to do the "cd" part first. This time only :)
[Hero, G2 Touch Android Development] DaNiEl FrEnCh:
its working now i can seee what devices i have

Dans-MacBook:tools Dan$ ./adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT98DL900002	device
[Hero, G2 Touch Android Development] DaNiEl FrEnCh:
but the main reason i want to use it, is to use it with Amon_RA's recovery

i neeed to do a BART backup so i can switch from the 2.1 rom from lox too 3.0 from modaco
[Hero, G2 Touch Android Development] Repp:
I have never used BART, but unless I'm mistaken, it does almost the same thing as a nandroid backup (?). You could try that instead. Don't know about Amon_RA, but it's possible from MoDaCo's fastboot (linked to and explained how to install here)

other than that, there's nothing I can do
[Hero, G2 Touch Android Development] craig0r:
That's right. Probably something to do with permissions in /dev/. It doesn't bother me enough to go hunting the problem down.
[Nexus One General] contractor:
A quick question:

If I have source code is it just a case of getting the android toolchain and then compiling against that and then installing (thinking ./configure, make, install)?

Thx

///C
[Nexus One General] humancyborg:
Read this: http://android-tricks.blogspot.com/2009/02/hello-world-c-program-on-using-android.html

Probably best for you to use agcc, which is linked in the post.
[Nexus One General] contractor:
thanks for the rsponse
[Nexus One General] belfastbob:
I have had my Nexus One for a few hours now and I am very impressed, the only thing I have noticed is that the network is showing as 3G and not H for HSPDA which I would normally get where I live.
[Nexus One General] The Jones:
I too have noticed this. I have played with the APN's as well.

Anyone know anything about this?
[Nexus One General] czm:
don't think it is necessarily an issue below is a quote that I found on another forum

"Vanilla Android does not have an H symbol. It's an added feature of some phones.

If you want to know what you're getting dial *#*#4636#*#* then on the screen that comes up select phone information - on there is the connection type."

if you still can't find it doing hsdpa, then maybe it is a real issue
[HD2 General] wonderstoat:
Guys

Hoping someone can help me out. Since I got my HD2 a few days ago, everything works fine, especially after installing lots of cabs from XDA:cool:, but since the thing has been switched on I've been getting weird text messages at random times. They'll have no content other than the "from" field will contain a small triangle and an @ sign, or sometimes it'll be an underscore like so: "_@". In addition, on the RHS side in the conversation mode view for SMS, these messages will have a little picture of a SIM card above the time received. Anyone any ideas?

Thanks in advance ...

Stoatie
[HD2 General] lude219:
looks like someone is trying to reach you from another dimension.

By your description, it looks like someone is winking or looking at you. I wouldn't be shocked if the next text you'll get is something like this

-__@ or

@__@ or

-___-

Don't be scared.
[HD2 General] paullong:
This is a voicemail message notification. You'll get another one when you clear VMs - it has a triangle I think.
[HD2 General] Karlos G:
+1 It's a voicemail notification!

Another one of many bugs mate, you dont get an icon on the task bar just that gobbledygook SMS :(
[HD2 General] tshizzle:
haha...thats scary.

it might be messages stored in sim card???...
[HD2 General] mkent_barbados:
Well, it depends on your operator. On mine it works fine and I get the little cassette tape icon for a voice mail, but my Tilt used to give me the text messages. Funnily enough, reading some of the taskbar threads some people were getting the right icon but had never seen it before!
[HD2 General] hnparedes:
+1

On mine I configured to voice mail call me :P
[HD2 General] StellaArtois:
LOL same problem here. Texts with just "∆@" and "_@" as the title with no body are received instead of a proper missed call notification from Orange.

Any fix available to stop this occuring? Is this anything to do with the first SMS hotfix?
[HD2 General] Archer:
You can change your voicemail notification by calling your voicemail and going through the options on there. Most providers allow you to change it, but one or two only allow notification or no notification. I didn't believe this at first, but I set mine to just show a notification icon and it worked.
[Hero, G2 Touch General] shenye:
Anyone know a way of changing the lockscreen but without losing the quality of the image?

Cheers,

Shen
[General Questions and Answers] vanta:
Hi all

I have HTC P3300 with windows mobile 6 professional. The device works perfect, except one problem.

I have a problem with unexpected switching off. Sometimes my device shut down by it's self.

I noticed that it happens no matter whether battery is charged or not. Once happened with the charger attached.

Problem often occur when I use my HTC on lower temperatures.

If there is a solution for such a problem please tell me. Maybe i should change battery, or reinstall OS.

Also please tell me what is the best OS for HTC P3300.

Thanks,

V
[General Questions and Answers] orb3000:
Welcome to forums

Perhaps you should try to get a new battery.

Also if you want to re flash another ROM here are the instructions:

http://wiki.xda-developers.com/index.php?pagename=HTC_Artemis

As for a ROM recommendation try to enter in Artemis section and have a deep read in the ROM´s threads so you can choose the one fits better for your needs.

Good luck,
[HD2 General] Lukasss:
Hi guys,

Today I noticed a very weird looking spot on the screen, or better just below it. It seems like there is some fluid just beneath the surface of the screen. I am always very careful with my HTC's, so I really don't believe I caused it... There was no pressure, I didn't drop it, I carry it in my shirt breast pocket or inside pocket of my jacket, without any other items. I really really dont know what happened - I pulled it out of it's leather sleeve, and it was there. This morning it wasn't.

Any idea if this is covered under warranty? Any idea what caused it?

Best Regards,

Lukas
[HD2 General] Archer:
I'd be STRAIGHT on to my supplier if mine looked like that! How does it look when the screen is on, cos let's face it, that's when it really matters, and probably how they'll view it when it comes to the warranty.
[HD2 General] Lukasss:
It's difficult to capture on a picture, but it's VERY visible when screen is on. Colors beneath the spot (wallpaper) seem washed out a little, so you get a very small color difference...

:(
[HD2 General] MaskedMagi:
Something to do with cold weather and heating leading to condensation? I have no idea but I would ake a photo and email HTC AND your place of purchase ASAP to see if you could get a replacement, even if it doesnt bother you when the screen is on. It would bother me though, I think I havean almost OCD like quality when it comes to devices being perfect...

On a second thought, the leather case that comes with it is extremely tight, I couldn't remove my phone from it for the first few days till it stretched out! Do you think that might be enough pressure to do that to a screen?
[HD2 General] Archer:
I'd definitely get on to whoever you got this from then. That's not good!
[HD2 General] blaex:
call the waranty service ...
[HD2 General] CyberClaw:
Mine had a weird spot as well right in the middle (and it appeared out of nothing like yours). Doesn't quite look like yours though (maybe you just caN't see it in the photo). Only noticeable at certain angles, and it looks like a colorful smudge. With the screen on it's even harder to notice it. When you press on it the "puddle" moves and shifts.

It looks like there is humidity under it. I went to the shop where I bought it, and they said that happens with some other touch screen phones, and is bound to disappear. The guy said it was due to the heat getting trapped bellow the screen.

In my opinion looks more like a humidity condensation thing.

Take it to the shop where you bought it, ask for an opinion. You still have loads of time to use the warranty, and if in 3 or 4 months it is still there or if that bothers you, just activate the warranty.
[HD2 General] Lukasss:
Thnx for the replies guys!

I don't think it's cold/warm/cold issue... Today I got up, put my phone in my inside jacket pocket, went down to my garage, got in the car, drove to work, into an underground garage and took the elevator into the office - phone wasn't exposed to cold today AT ALL. And it doesn't seem to be water, it's not very fluid, and there is no damp.

It bothers me massively - even when I'm NOT looking at it. The spot is also very visible when the screen is turned on.

Did that immediatly after noticing the spot - my supplier asked me to e-mail him the pictures which I did, but he seemed reluctant to promise a replacement... He said that quote mechanical damage is not covered by HTC warranty unquote. This sucks - I didn't do anything wrong!

Grtz

Lukas
[HD2 General] Lukasss:
Thnx for the reply.

The spot on my phone is really visible, doesn't matter at which angle you look. Screen off is worse than with screen on. There is no color in the spot whatsoever and it doesn't seem to be movable (if I press hard I can make it bigger, but it returns to original size after release)... I'll keep it warm for the night, and I'll see tomorrow... I could measure it, and see if dimensions are changing when temperature rises or drops.

Grtz

Lukas
[HD2 General] Beefheart:
Have you flown with it recently?
[HD2 General] Lukasss:
Nope... so no pressure changes either. Good thinking though... :)
[HD2 General] Lukasss:
WTF???

When I heat it for about ten minutes with a blow dryer it disapears. When I stop heating it, it reappears @ room temperature... WTF is this thing?
[HD2 General] MaskedMagi:
WTF indeed!?! When it dissapears does the display show correctly where it used to be?
[HD2 General] Lukasss:
Yes, you don't see anything wrong. For about two minutes. Then the spot reappears exactly in the center of the screen (where the 'wait' cursor/hourglass appears) and starts to grow until it has it's "original" dimensions.

???
[HD2 General] CyberClaw:
Looking at the placement, it seems it's similar to mine, which is right in the center. Mine returns to the center if I press it as well.

The heat test you just did made me believe it has something to do with heat like the guy where I bought it said...

Here is another thread on the same subject (different phone)

http://xdaforums.com/showthread.php?t=293311
[HD2 General] CyberClaw:
I kept reading around, there are reports of the duct tape method.

Basically it works in the presumption the problem is both screens not keeping space between themselves. Just use duct tape over the wet patch, and pull it 20 or 30 times, and the screen should lift and the patch disappear. I'll try it and tell you if it worked.
[HD2 General] Lukasss:
Thank you! I'll try it as well.
[HD2 General] CyberClaw:
Didn't work...
[HD2 General] Lukasss:
lol... I had to look for tape, but the tape method was unsuccessful as well on mine.

thnx anyways.
[HD2 General] PapaDocta:
this is a capacitive touch screen so all are glass and the tape method won't work as there isn't anything to lift up unlike the resistive screen where there is a gap between the top plastic and the actual screen :D
[HD2 General] Lukasss:
Still don't get it... How it got there and why does it disapear when heated. Pressure rise inside the display because of the heat? That would mean there is too little of that fluid in the screen itself... Is my phone leaking? LOL
[HD2 General] Lukasss:
I sent an e-mail to HTC's support... I'll keep this thread updated with replies from my dealer as well as HTC.

Thnx for the support guys!
[HD2 General] alessioilmito:
i man i'm italian and i has got the same problem...but in my case the weird is wery big...i take myu hd 2 and i return where i buy it and the commmercial centre change my in garanty now..!!!

is in garanty they tell me.....!!!the first hd 2 whit this problem has got 2 weeks... buy 12 december chanke 27.....!!!

now whit the new no problem...:D:D:D
[HD2 General] tnyynt:
It's called a Newton Ring and it's known to appear on displays when excessive pressure/heat has been applied. From what I know, it's a physical fault and there's no remedy.
[HD2 General] Lukasss:
So you were able to exchange your HD2 without problems from HTC/dealer?
[HD2 General] Lukasss:
But you'd have to press pretty hard to cause it on a capacitive screen, right? Something that I did not do. Do you think HTC warranty covers a Newton Ring? :o
[HD2 General] tnyynt:
Well, there are lots of threads in different device fora about Newton Rings. Some users say warranty covers it, some don't. Some devices were exchanged, some users were charged. Goodluck to you!
[HD2 General] alessioilmito:
yes...i go at 10 in the morning...explain my problem where i buy it and they tell me that is a phone problem and is impossibile that i cause it and they give me at 10,15 a new htc hd 2 ....

i give to your all of my old htc ( packet telefone and all that are in the box)

they give me a new htc sigilled...!!:D
[HD2 General] Syphon Filter:
Have to disagree.

Newton's Rings occurr when there is a flat surface and an adjacent spherical surface. There is no spherical/curved surface in the HD2 as far as I can tell. The screen/glass are not lenses (convex or otherwise), ergo...this effect is not the Newton's Ring effect.

From looking at the pictures it looks to me like the digitiser that makes the screen respond to touch has not bonded properly with the glass substrate on which it is supposed to rest.

This is a manufacturing defect and I would look to HTC for help and let them know that your supplying retailer is not being helpful in the matter. They may look to assess his "dealer" status if he is not providing customer support to a decent level.
[HD2 General] Syphon Filter:
Good news!
[HD2 General] Lukasss:
Thank you. I've just sent another e-mail to my dealer, and I quoted your post. Hope you don't mind :-)
[HD2 General] romani87:
HD2 illness

It was some kind of Leo cancer ... such a shame he'll be dissembled :( RIP
[HD2 General] Syphon Filter:
No problem at all, I hope it gets you the service & support required.
[HD2 General] asuarez2k6:
got the same problem with mine HTC hd2 but smudge is not as big as yours

....going to my dealer that bought it from hopefully they can give a new one...
[HD2 General] AndyGizzle:
I had this occur on mine as well, although quite small. Like the nail on your little finger.

I freaked out and and tried "smudging" it away, heart rate sky high (I'm weird like that, I guess). Fortunately it disappeared. Happened once more a few days later, I did the same thing and it disappeard.

Several times a day I get paranoid and begin checking the screen for this, but never occured since. Sure hope it doesn't just happen out of the blue again :S
[HD2 General] asuarez2k6:
my stays like this only when i notice that phone was heating usuing wifi at aiport for few hours notice it disappear but then it appear again few hr later and hasn't gone away :(
[HD2 General] dick turpin:
oh no!:eek: i thought this problem was gone with this being a capactive screen. had the same problem with my diamond 2. 2 times in 8 months i had to send it back to htc. the screen eventually never responded to any touch what so ever, making the thing useless..... not again!!!!!:mad:
[HD2 General] Lukasss:
HTC response:

This sucks!!!
[HD2 General] CyberClaw:
That is bull****. Do send them this thread, ask them to read it, as proof there are more HTC HD2s (and other touchscreen devices) with the same fault, and no apparent reason for the fault.

That answer alone made me want to go to the shop where I bought mine, and get a replacement for my faulty HD2. Sure it doesn't bother me now, and I was waiting for the wet patch to disappear, but if they treat their customers like this, I'll treat them likewise and demand a perfect device on the shop, taking it back if it develops any wet patches or the buttons skin, or the screen is uneven, or if it stops receiving and sending sms...

This is an expensive device and although I can understand some faults as it is common with new technology (XBox 360 owner since day one), customer support that basically tells you that your expensive factory faulty device will need to be repaired on your costs, develops no brand loyalty on my part.
[HD2 General] Tubgirl:
Maybe pulling on the screen with a small suction cup could help?

/TubGirl
[HD2 General] Bluecharge:
Hi Lucasss and others,

your dealer behaves wrong. Don´t follow him. It´s your right to get a repair for free or to get a new device.

To serve warranty is the obligation of your dealer. He tries to refuse that? It´s his problem, not yours.

You did nothing wrong, so you can send the device in and write a note that you ask for warranty.

Claim your rights by law, don´t nuckle down for your dealer!!! Thats my advice.

If you need help with that, you can contact your customer advice center.

They will help you. They can work with the code of civil law to get the dealer to work.

Beleave me, you can get whats yours.

So I wish for the best!
[HD2 General] Bluecharge:
TubGirl, its not the right time to make jokes on him. You know that it won´t work on a glasscreen, don´t you.
[HD2 General] Lukasss:
My reply to first e-mail from HTC:

Reply from HTC

My answer:

Haven't received a reply yet. :(
[HD2 General] Syphon Filter:
This is quite poor service but I take their point. They have to assess the device in person before they can decide that this is a warranty issue. Without seeing the device with it in their hands they wouldnt know.

Wait for their reply but I think you only option will be to send it in, from looks of it it's likely a manufacturing defect and tehy will recognise that straight away.
[HD2 General] Bluecharge:
Hi Lucass,

very good email by you! Not good that your dealer seems to be a hard nut to crack.

Your dealer wants to judge by his own if it was your fault or their fault.

But they don´t have to judge and you don´t have to prove that you are not "guilty".

If the dealer goes on like this, its really for your customer advice center to help you. Sad, but true.
[HD2 General] Lukasss:
Thnx for replies guys. Anyone any idea how long I'd have to miss my HD2 for? Rough estimate is enough.

Grtz

Lukas
[HD2 General] CyberClaw:
I don't know how it is over there, but here in Portugal any major shop would exchange the relatively new device on the spot if faulty. I have no experience when it comes to cellphones, but that was what happened with my Dreamcast, my HD TV, videogames, etc.
[HD2 General] MaskedMagi:
are you on contract? i rang up vodafone about the sms probkem and they sent me a replacement the next day. if not it does look like youll have to send it off :(
[HD2 General] Bluecharge:
In Germany I would set a deadline of max. 10 work days. Thats ok because you strongly need the device. If the dealer lets you wait longer, you can send a reminder with fixing of a period of time (4 work days not more). After that you have the right to cancel the purchase.

Also there is a difference between warranty from your dealer and warranty from HTC. You made a contract of purchase with your dealer, so he is responsible in this case. So you don´t have to wait for HTC to react to your problem (your dealer of course will tell you that)
[HD2 General] Lukasss:
After about 10 back & forth e-mail messages I called the support line, explained the problem, escalated the ticket and told them I'm not paying another dime/cent. HTC will provide feedback regarding this issue on thursday next week. I'll keep you guys updated.

Grtz

Lukas
[HD2 General] dvl:
I used the suction cup, and it worked. removed the black spot nicely!!!

It is not totally gone... got a sort of oily rainbow smudge now but way better then the black oily spot!!!

I know for a fact i didn;t touch the HD2 at all when the spot occured! Seems to me a factory fault or a vacume problem..

Shame.. payed good money for the phone without guarantee :( thought it would be a reliable phone..