Helllloooooo, everyone!
I don't know if I've done something stupid or not, but my wildfire is really messing up, I was running CM 7.2 RC1 and basically, all of a sudden this morning I have had a "Car Mode Enabled" or similar notification.
BUT
I don't have Car Home installed?
and since this, all my calls are routed to Loudspeaker immediately
and when I press, "Home" it launches the Clock app?
I have tried the following:
clearing defaults I could think of - Holo launcher, Clock, Android System.
installing and removing Car Home apk.
Flashing NEW NIGHTLY
AFTER flashing lastest nightly "cm-7-20120812-NIGHTLY-buzz", I rebooted, and it seemed to be running ok,... I then had to reboot again...... and the problem came again....? HELP? this aint good :crying:
and now I have given up and going back to an NANdroid backup of the CM7.2. - THIS IS AN EARLIER BACKUP OF CM7.2 AS MENTIONED ABOVE.
EDIT:
It is now doing it on this NANdroid as well...
GlennBrownie said:
I don't know if I've done something stupid or not, but my wildfire is really messing up, I was running CM 7.2 RC1 and basically, all of a sudden this morning I have had a "Car Mode Enabled" or similar notification.
BUT
I don't have Car Home installed?
Click to expand...
Click to collapse
you have (unless you're missing gapps on your system - because it's a part of gapps...)
and since this, all my calls are routed to Loudspeaker immediately
and when I press, "Home" it launches the Clock app?
Click to expand...
Click to collapse
rings a bell - there has been another guy who seem to have a similar/the same problem (not solved...?)
Have you cleared (better wiped) dalvik-cache after uninstalling the apps?
You could try this clean flashing method (if you didn't already):
- format /system
- wipe /cache
- flash CM7
- flash gapps
- reboot
If that doesn't work, I'd try a completely fresh install of CM
- format /system, /data
- wipe /cache, dalvik-cache
- flash CM
- flash gapps
- reboot
If that works: partial restore ("advanced") of data, see if it's working then
Data/data will store system removed apps data file so look at deleting any car home data from there too. Its been mentioned that it could be caused from a dirty/faulty usb hole port!! Try cleaning that too.
I have gapps without car home
Forum fishing.... Who's biting!
slymobi said:
I have gapps without car home
Click to expand...
Click to collapse
lol, yes I know but I use it from time to time (remember I'm old - the buttons are easier to hit while driving...)
Swyped from my HTC Wildfire (Buzz)
Ok, well I don't know what happened but I think it was a faulty USB port.
I was using the phone as it is, even though it does get irritating *sigh* lol.
Whilst at a friends, my phone died, I attempted to use a micro USB charger there, but it did not charge as I THEN noticed that the connection was minutely smaller.
when I got home, I put my phone on charge, turned it on and it was displaying the "Car Home Enabled" notification, so I "clicked to exit" and since then, it hasn't done it
I think the other charger knocked something off the contacts, like a lot of people are saying they had stuff in the port?
at least I know where I can find something to use if it happens again!
GlennBrownie said:
Ok, well I don't know what happened but I think it was a faulty USB port.
I was using the phone as it is, even though it does get irritating *sigh* lol.
Whilst at a friends, my phone died, I attempted to use a micro USB charger there, but it did not charge as I THEN noticed that the connection was minutely smaller.
when I got home, I put my phone on charge, turned it on and it was displaying the "Car Home Enabled" notification, so I "clicked to exit" and since then, it hasn't done it
I think the other charger knocked something off the contacts, like a lot of people are saying they had stuff in the port?
at least I know where I can find something to use if it happens again!
Click to expand...
Click to collapse
This has already been mentioned in at least 2 or 3 other threads with a similar problem: a dirty usb port might lead into activation of car home (or worse).
I'd give a compressed air blast a try as the problem most likely could occur again...
eventcom said:
This has already been mentioned in at least 2 or 3 other threads with a similar problem: a dirty usb port might lead into activation of car home (or worse).
I'd give a compressed air blast a try as the problem most likely could occur again...
Click to expand...
Click to collapse
But be careful not to blow dust/other random bits into the phone as it leads straight onto your lcd between that and your digitizer. Low pressure air is highly recommended lol. I learnt the idiots way.
Forum fishing.... Who's biting!
Related
So my dash has worked great for the 4 years of its life that I have had it with minor hiccups. This new one has me stumped though...
The phone seems to think it has a headset connected to the device when there is no headset connected. This "ghost" headset is preventing me from making/receiving calls; what is a phone that cannot function as a phone?
I am running an older version of EVO's ROM (havn't had access to a cord to try flashing to the new version because I am on holiday) but I have tried a hard restart and that did not work.
here is the quirky part... Sometimes if I reboot the phone it goes away, briefly. It may go away for a few min or it may only go away for a few seconds after the boot. If I reboot and it turns off, then I try calling someone really quick, the ghost may come mid call and essentially drop me because I can neither hear nor speak anymore.
My gut says its a hardware problem but I wanted to get some other opinions before I start opening things up.
Thanks in advance.
what happens when you do connect your headset? it seems like a hardware problem..
never have had a headset, whether bluetooth or physical... thus I am scratching my head even more...
*knock on wood*
I managed to find a usb cable and I hooked it up to my computer. The few restarts while connected to my computer in the effort of updating the rom seemed to make it stop. I am wondering if maybe the SDA unlock may have done the trick? None the less I was a version behind on my ROMs so I update to the latest EVO ROM and seems to be smooth sailing.
well, i woke up this morning with an error on my phone that went away after i accidentally hit the w/e button only to notice the ghost headset was back... will try to find the error but suggestions are still welcome...
a hard reset with last 3VO's ROM may work
tried that, it booted up with the headset icon on the top lol
JHaste said:
tried that, it booted up with the headset icon on the top lol
Click to expand...
Click to collapse
So definitely is hardware for sure huh,
gmaniac2008 said:
So definitely is hardware for sure huh,
Click to expand...
Click to collapse
JHaste,
Lets forget testing a phone with a custom ROM, go back to your stock and see if happens?
Also in this process flash stock & hard-reset... & install nothing
Now if all is fine you have a clean base for custom ROM NAND flash has issues and can have residual stuff left from flashing to which is why i say flash stock etc.....
Good luck
stylez said:
JHaste,
Lets forget testing a phone with a custom ROM, go back to your stock and see if happens?
Also in this process flash stock & hard-reset... & install nothing
Now if all is fine you have a clean base for custom ROM NAND flash has issues and can have residual stuff left from flashing to which is why i say flash stock etc.....
Good luck
Click to expand...
Click to collapse
good idea.. I agree
check switch of headset jark and phone headset slot they may be damaged.
Even after uninstalling it with titanium backup,root explorer and native android in menu it keeps popping up in notification bar with these ill-effects:
It closes out any apps or programs I was using!
It automatically puts me on speaker when I make or receive calls
Screen orientation cannot be disabled
Screen lock cannot be disabled
Volume is lowered when playing music
stays at the same volume and cannot be adjusted.
Some suggestions were to disable automatic startup and bluetooth in Car Home's menus when it pops up, I did not see such option. Now the menu does not pop up anymore, only the steering wheel icon pops up in notification bar to let me know its here to make my day a living hell again. Everyday, Every Hour, Every minute. I've done full wipe,cache,dalvik, and reinstall of cm6 6.1.2 and it just wont GO AWAY! Please HELP!
Posting in general forum because I'm not getting any help in Q/A!
You know what, my phone started exactly the same thing yesterday lunchtime and it's bloody annoying.
One thing that bugs me is that the headphone volume is now jammed at "very loud" with no way to adjust it.
Likely cause: pins 4 & 5 of the USB port shorted out. I would recommend carefully cleaning the USB port on the phone to see if that helps (it didn't for me).
Unless anyone has a magic solution, mine is going back to stock today and then back to HTC for repair.
Had the exact same issue a while back so I just took it to Sprint and got a new one.
perhaps its my google account cuz i notice after fresh install and before i sync my market there car home is no where to be found. so im thinking theres probably an issue with my google account and apps. even thiugh it does not have car home as one of ny apps ive installed.
issue temporarily fixed by going to both car apps in applications and force stop/clearing data but then it came back again, defiantly sometime to do with usb port
My phone started having the same problem, it would come up for no reason at all. Just now I plugged it into my car charger and it magically stopped. I was wondering if the usb cable I got from HTC could be bad.
Its a provlem with your micro usb. I had the same problem on multiple
roms. Getting a new usb cable cleared it up for me.
Sent from my PC36100 using XDA App
I had the same problem, and it turned out that it was a 3rd party charger that I bought on ebay that caused it. I bought a charger from Sprint, and it cleared up for me.
Don't mean to dig up an old thread, but figured would be better than starting a new one.
My Evo just started doing similar things just two days ago. Pretty sure mine was a moisture issue- put it in my pocket while swim suit was still wet, I've read similar reports on other forums.
My issue is Car Home will launch whenever it wants (seems to be purely random.) It will 'dock' then 'undock' (indicated by the chime it plays) two or three times in a row before it finally just runs in the background. If you are in an application while this happens it will either crash the program, or refresh everything, losing what ever state you were on.
Any got a software fix for this yet? I've tried uninstalling it, freezing it, reinstalling it, deleting the apk with root explorer... nothing. Not only is it god awful annoying it's killing my battery life. From what I am understanding this issue is rooted in hardware problems, but there has to be a way of stopping a program from auto loading.
I even went as far as to delete EVERY file that root explorer found the words 'car' and 'home' in with it's search function. Tried installing apps that supposedly blocked it from auto loading like NoDock, did nothing.
If all else fails I guess i could do a full wipe and reload CM7, but I've read reports that that doesn't even fix it. Is there anyway to confirm it's a USB problem, and not a short in the magnetic sensor? I attempted to take a cat log, think it was throwing a Java error, need to read up on how to post said log.
If there is a more complete thread or resolution page, please link it, I have no issues reading up on it myself if only I can find it.
Thanks for any input!
This problem is caused by the liquid damage... Everytime I have one come in with this issue.. I have signs of liquid damage to the board, especially around the charging port...
I hear ya, but there has to be a way of removing carhome completely. My phone operates fantastic for 80% of the day, so it's not like it's a catastrophic error or anything.
Same thing happening here on my Evo with Cyanogenmod 7.1RC1. Really odd behavior. I just uninstalled car home using Titanium and I'm waiting to see if that fixes it.
I downloaded nodock (trial) and pretty much solved the issue. I still have problems on start up but once I am able to enable the app. I might just end up buying the app because of no other choice.
I fixed this issue by getting a new phone. Its a hardware issue, something something usb port dying glitching, thinks its docking with car dock
I would totally do the same thing if I wasn't living in fear of the new ota
crakerjaks said:
I fixed this issue by getting a new phone. Its a hardware issue, something something usb port dying glitching, thinks its docking with car dock
Click to expand...
Click to collapse
This.
It's a hardware issue, not software. The tech at my local Sprint store said they see this a lot with people that use car chargers, especially during the winter. The end of the cable falls on the floor and gets dirt, salt, and other crap in it then gets picked up and plugged into the phone and screws up the USB port. Sometimes it just needs to be cleaned, but sometimes it actually gets damaged.
Sent from my HTC EVO 4G with Tapatalk
I cleaned my charging port with rubbing alcohol and it seems to be fixed.
Sent from my PC36100 using XDA App
has anyone found a solution to this issue, im currently experiencing it on my inspire.... from what i have read its a hardware issue, but isn't there anyway to make a patch of something that can block car home from launching?? it randomly starts up on my phone and causes my speaker phone to always be on when receiving calls or making one, until i manually turn it off but still its pretty annoying... help!! lol
water damage or generic charger
I had this problem I was using a cheap stand charger when I switched back to the stock charger it solved the problem after a few days.... but that evo broke and my next evo had it again plus HDMI wasn't working. Took it in and it had all kinds of corrosion from water damage causing the problem. So take it in or take it apart and clean it hope that helps
Ok.. I'm on MIUI 1.28 the final release .. I found it on the sticky ..sinse I flashed the rom, I unlocked then the icon on the status bar appear. It's the car home icon.. Even though car home doesnt come install on miui. The happened on sense, gingerbread and miui 1.21 i don't know what's wrong .. I tried to download the app then uninstall it so it wouldn't appear again but when I install it it kept openin and closing by itself.. Idk what's wrong with it... Any help guys.. Although. On sense rom it stopped running and dessapear but now I can't even open an app when it opens again...
Rom = miui 1.28
Stock kernel .. Nothing add ..
Try going in to settings, apps,manage, all, and select car home and force stop, than clear stast or memory. That might help you.
evolishesh said:
Try going in to settings, apps,manage, all, and select car home and force stop, than clear stast or memory. That might help you.
Click to expand...
Click to collapse
I did and it work for 10 or 20 minutes then it opens again.. But thanks for ur help
How did you install the rom?
Sent from my evil evo!!
evolishesh said:
How did you install the rom?
Sent from my evil evo!!
Click to expand...
Click to collapse
Well I use Amon ra recovery 2.2.1
Flash the calking zip.. This is better then just wipe ..
Also wipe everything separate ..
Flashed miui, evervolt. Sprint lovers rom .. The pc36img.zip . The roms were flashed one after the other when ten car home app started to open by itself.. Now I'm back on miui 1.28 and at first didn't get any about the car home app .. But like 6 hours later it started.. Something I've notice is that it does it more when i put it next to my iPad .. It's really weird and annoying at the same time ...
Okay, that it's so weird.so you are up to date as far as firmware from sprint? Did you wipe everything more than once?
Sent from my evil evo!!
You might have a problem with your USB connector. Girlfriend's EVO was having this problem (hers is completely stock) so we took it in to Sprint. Turns out the USB connector had some corrosion, they cleaned up the connector and it has been fine since. Apparently the corrosion on the connector was somehow making the phone think it was in a car dock, so it opened up the Car Home screen.
evolishesh said:
Okay, that it's so weird.so you are up to date as far as firmware from sprint? Did you wipe everything more than once?
Sent from my evil evo!!
Click to expand...
Click to collapse
kd0axs said:
You might have a problem with your USB connector. Girlfriend's EVO was having this problem (hers is completely stock) so we took it in to Sprint. Turns out the USB connector had some corrosion, they cleaned up the connector and it has been fine since. Apparently the corrosion on the connector was somehow making the phone think it was in a car dock, so it opened up the Car Home screen.
Click to expand...
Click to collapse
Firmware .. Everything update it.. 3.70 Radios wimax everything is up to date..
USB connector .. Like do u know how did they clean it. Or do u think I have to restore to a sense rom so I can go to a sprint store?
I've been running CM9 for almost 2 months now and its been great. 6 days ago my phone started entering docked mode by itself. I'll be doing nothing at all and it just pops up with the dock screen. Most of the time its the desktop dock screen, but once or twice it has been the car dock screen. I found that there was a newer version of CM9 released so last weekend I flashed that following all the camera gps fix instructions as well. I also made sure to remove and re-install "custom car home" and "galaxy dock sound redirector" just in case. The phone has been fine since saturday, but all of a sudden an hour ago it started doing it again.
Can anyone point me in the right direction?
Thanks.
bikewiz said:
I've been running CM9 for almost 2 months now and its been great. 6 days ago my phone started entering docked mode by itself. I'll be doing nothing at all and it just pops up with the dock screen. Most of the time its the desktop dock screen, but once or twice it has been the car dock screen. I found that there was a newer version of CM9 released so last weekend I flashed that following all the camera gps fix instructions as well. I also made sure to remove and re-install "custom car home" and "galaxy dock sound redirector" just in case. The phone has been fine since saturday, but all of a sudden an hour ago it started doing it again.
Can anyone point me in the right direction?
Thanks.
Click to expand...
Click to collapse
Back up to google and try a clean install? make sure .android secure is deleted. wipe data, dalvik, cache, system 3x (Don't forget to backup your angry birds progress.lol)
Okay, I just spent a couple hours dusting off my android skills and I deleted all my downloads for rooting and roms. I started fresh and got the latest odin, cwm, cm9 beta3, and gapps. I used odin to go to a fresh stock EL30 rom. The reason I did this was because I wanted to start from scratch, and also because my PC would not recognize my phone when plugged into the USB cable using a known good cable and uninstalling/reinstalling the Samsung USB drivers. After the fresh install was done, my USB connectivity was working again and I loaded all my new downloads on the SD card to reflash CM9.
I got all done loading everything and in the setup of my phone it asked if I wanted Google to restore my backed up wi-fi passwords, bookmarks, etc. So I allowed it to do so. It then started re-downloading all my apps from the Play store. Those must have been backed up too I thought. Walked away from the phone for a half hour and came back to it. Hit the power button to wake up the phone and its on the dock lock screen with the big clock time and the "set-alarm" option. I also tried plugging into my USB on my computer, nothing. Back to square one after over 2 hours of messing around with this.
Gonna try wipe date, cache, dalvik cache 3x and reflash cm9 and gapps. This time I wont let google load the backup and see what happens.
okay so I reflashed cm9 beta3 like i said i was going to and after about 5 mins of toying around with customization like turning off the widget auto add in play store and adjusting my volumes and ring tones, my phone popped up with the dock screen again.
WTF?
Have you tried cleaning off the USB port? According to my research (took all of a minute on google) car dock mode is triggered when the phone senses a resistance between pins 4 and 5 of the micro-usb of about 619 k. A resistance of about 365k will triggered Desk Dock mode.
So. if you have a bunch of crud jammed into the USB that could be enough to cause the problem you have.
UGH! You are probably correct!
I got fed up so I odin'd to stock and took it into the sprint store to get it swapped out. I gave them the usual "my phone doesn't charge intermittently" which has worked for all my service plan replacements in the past. They did clean crud out of the charge port, but i insisted that it still needed to be replaced. So, he took the phone completely apart (for what readson i dont know) puts it back together and tells me he has to order me one because they are out of stock on replacements. I go to walk out of the store and I have no radio bars. I go back and say hey, i think u forgot to reconnect the antenna. He agreed so he took it apart again. After that the phone would no longer power up so after another hour of trying to fix it, they had to give me a loaner phone (aka 2006 flip phone).
Thanks for the info. Hopefully this thread will be useful to someone else in the future.
Hi!
First of all i got AOKP + Franco kernel for 2w without any problem and I didn't change any option since last week.
This morning i rebooted it, it switched off and it didn't start again.
I cannot switch one my nexus again since then. I have always a black screen, also if I try to enter in download mode or in the recovery.
I tried to connect to my computer and smt times my laptop see a omap4400 (i'm not sure about the name) but after few second it disappears.
Tomorrow I'm going to the service center... But I have a big doubt:
What the hell happened this morning?
Thanks
Remove the battery for 5 minutes and try again.
If that doesn't work,
Follow this guide:
1. Download the zip file from http://forum.gsmhosting.com/vbb/f634...eeeee-1465412/, created by Legija
2. Extract zip to whatever location you're comfortable with (I used Android directory)
3. Open up Device Manager (Hold down Windows Key, press R, the type in devmgmt.msc and press OK)
4. Go to actions menu, select Add Legacy Hardware
5. Choose install manually, then have disk. Browse to where you extracted the zip, select the 'inf' file in usb_drv_windows
6. Choose OMAP, you'll get a popup if on Win 7, continue anyway (driver not signed)
7. Once completed with driver, pull battery out of phone, then plug it into USB
8. Double click omap4460_tuna_hs_pro.bat to start the process
9. Once completed, unplug from USB, put battery back in, and power-up!
10. Extra step - depending on what's been done, it may 'brick' again - suggest to do a restore or a wipe reinstall afterwards to be certain (mine bricked again next reboot)
Click to expand...
Click to collapse
biscuitownz said:
Remove the battery for 5 minutes and try again.
If that doesn't work,
Follow this guide:
Click to expand...
Click to collapse
This, if OP can't reach fastboot.
Sent from my i9250
I'm having the exact same problem. I saw my phone at maybe 10% battery in the AM, said screw it and let it die, woke up this morning and plugged the phone in and nothing. No LED light, black screen, completely unresponsive. I've tried every trick in the book, and the only one that seemed to work marginally even was using a different battery, which got my phone to boot to the encryption screen, but then shut off again. It did that twice, and now both batteries are useless.
I used Legija's program to try and bring some life back to my gnex, even though it's not the international version, just in hopes of getting some of my data back (I have already started the replacement process with Verizon since the phone was insured), but I got no luck there either.
It's extremely disappointing and annoying to me that this phone survived all sorts of ROM installations (I was also using AOKP on 4.1 if someone wants to start making connections), reformatting, tweaking, almost every setting on that phone was modified by me.
Not only that but almost any software or hardware problem I did run into I could solve in maybe an hour, but I let my charge run out and the phone just up and bricks itself? Now, that's just bull****... I would be very curious as to an explanation as to WHY on earth this would happen. Very confusing.
Not to hijack the thread, but my interest here is not restoring the phone to working condition but just seeing if I can pull my data off of it. I wouldn't even be posting here had I been able to have an SD card with my gnex, which I figured was unnecessary at the time I bought it since I knew the space on their was enough for me already, and the added branding of "Nexus" brand which had me under the impression it was maybe stable enough by itself. Not a mistake I'll make again..
Is it at all possible to get the data off of my phone at this point? At least partially? I believe encryption makes it impossible but I'm rather stubborn. Any help would be greatly appreciated..
owlieowl said:
I'm having the exact same problem. I saw my phone at maybe 10% battery in the AM, said screw it and let it die, woke up this morning and plugged the phone in and nothing. No LED light, black screen, completely unresponsive. I've tried every trick in the book, and the only one that seemed to work marginally even was using a different battery, which got my phone to boot to the encryption screen, but then shut off again. It did that twice, and now both batteries are useless.
I used Legija's program to try and bring some life back to my gnex, even though it's not the international version, just in hopes of getting some of my data back (I have already started the replacement process with Verizon since the phone was insured), but I got no luck there either.
It's extremely disappointing and annoying to me that this phone survived all sorts of ROM installations (I was also using AOKP on 4.1 if someone wants to start making connections), reformatting, tweaking, almost every setting on that phone was modified by me.
Not only that but almost any software or hardware problem I did run into I could solve in maybe an hour, but I let my charge run out and the phone just up and bricks itself? Now, that's just bull****...
Not to hijack the thread, but my interest here is not restoring the phone to working condition but just seeing if I can pull my data off of it. I wouldn't even be posting here had I been able to have an SD card with my gnex, which I figured was unnecessary at the time I bought it since I knew the space on their was enough for me already, and the added branding of "Nexus" brand which had me under the impression it was maybe stable enough by itself. Not a mistake I'll make again..
Is it at all possible to get the data off of my phone at this point? At least partially? I believe encryption makes it impossible but I'm rather stubborn. Any help would be greatly appreciated..
Click to expand...
Click to collapse
So just to be clear... You've been able to get it to boot all the way up to the encryption screen, right? If so you should be able to get into fastboot (Holding down BOTH volume rockers and the power key.) From there you could relock/unlock the bootloader to do a full factory wipe which might solve your boot issue.
As far as the data loss from the wipe, you could then try this: http://forum.xda-developers.com/showthread.php?t=1994705
TomBall718 said:
So just to be clear... You've been able to get it to boot all the way up to the encryption screen, right? If so you should be able to get into fastboot (Holding down BOTH volume rockers and the power key.) From there you could relock/unlock the bootloader to do a full factory wipe which might solve your boot issue.
As far as the data loss from the wipe, you could then try this: http://forum.xda-developers.com/showthread.php?t=1994705
Click to expand...
Click to collapse
I was able to get it to the encryption screen with my old battery that had a little bit of charge left in it twice, but it shut itself down on me both times. So now both batteries are useless.. I took it to the Verizon store hoping they would maybe try one of their batteries, but they just called customer service and told me they're just going to replace it at this point.
I have a feeling the charging mechanism is somehow damaged, because when I did get it to the encryption screen I had it plugged into a wall outlet and it wasn't charging at all. So, I can't turn the phone on whatsoever anymore.. if I could turn it on I could solve this problem... but it simply refuses to boot. The closest I came to interfacing with it was the OMAP Flash script, which did work, but didn't fix the problem.
So maybe if I could get the phone working enough to use ADB with it I could get my data back, but not even that seems possible..
owlieowl said:
I was able to get it to the encryption screen with my old battery that had a little bit of charge left in it twice, but it shut itself down on me both times. So now both batteries are useless.. I took it to the Verizon store hoping they would maybe try one of their batteries, but they just called customer service and told me they're just going to replace it at this point.
I have a feeling the charging mechanism is somehow damaged, because when I did get it to the encryption screen I had it plugged into a wall outlet and it wasn't charging at all. So, I can't turn the phone on whatsoever anymore.. if I could turn it on I could solve this problem... but it simply refuses to boot. The closest I came to interfacing with it was the OMAP Flash script, which did work, but didn't fix the problem.
So maybe if I could get the phone working enough to use ADB with it I could get my data back, but not even that seems possible..
Click to expand...
Click to collapse
If the phone isn't charging then there's something wrong with the USB port. One way to test that would be to use a battery charger. Also, try a different cable. I've had issues with a few different cables that for whatever reason started to not fit properly in the phone.
If you're USB port has gone bad then you'll need to either A) Always use an external battery charger. B) Get a replacement. C) Fix it yourself (Good guide here: http://www.ifixit.com/Guide/Repairi...+LTE)+Micro+USB+Charge+Port+&+Main+Mic/9641/1 )