Just to be clear, what I am asking for here is advice on which part I need to replace on my phone in order to fix this.
Here is what happened:
I was trying to make a bench power supply out of an old computer power supply I had laying around. Well when I went to connect the "charge only USB Cable" to the Molex connector I accidentally swapped the wire colors, I meant to use the red (5volt) but instead connected the yellow (12volt) to the USB cable. Stupid and careless mistake I know, trust me... Nothing strange happened other than the phone gave me the "incompatible charger" error. The phone will turn on and function 100% normally so long as the battery is charged via another device. For example I take my wife's fully charged battery out of her S4 and put it in mine, the phone works fine until the battery dies; the battery I swap to her phone charges perfectly fine in her phone so it is NOT a battery issue.
The phone will not charge a battery anymore, with the original charger or the other 3 white Samsung brand chargers I have, nor my car charger. After doing some research online I discovered that it was likely to be a fried USB board, which I replaced today. So the USB board and USB connector are brand new and I am still having the same problem. I also read about restoring to factory settings which I have done and also reinstalled my custom ROM. I reinstalled AFTER the error message began occurring so it was NOT cause by a the ROM update. I read that I may be able to use a wireless charger which would solve my problem, but I don't actually own a wireless charging base and I have no plans of buying one unless it is my ONLY option to fix this.
Here is an exact description of the problem:
When I connect a USB charger of any kind to the phone while it is powered off, I get a black screen and the phone vibrates once every 4 seconds or so and the battery never appears on the screen nor does the screen light up in any way.
When I connect a USB charger or connect it to a PC while the phone is on I get "The connected charger is incompatible with this phone. To prevent damage to your phone, charging has been stopped. To continue charging, use the original charger and cable that were provided with this phone." error message and a battery icon with a red "X." If connected to a PC the PC says "unrecognized USB device."
Here is my phone info:
Verizon Galaxy S4
Model SCH-I545
Android Version: 4.4.2
Baseband: I545VRUAMDK
Hardware Version: I545.06
Rooted
Rom: Hyperdrive RLS20
Recovery: PhilZ Touch v6.54.9
ClockworkMod v6.0.5.0
If there is a tread that has already covered this I apologize, I did do a search and didn't see one.
Any help or information is greatly appreciated.
Plague421 said:
Just to be clear, what I am asking for here is advice on which part I need to replace on my phone in order to fix this.
Here is what happened:
I was trying to make a bench power supply out of an old computer power supply I had laying around. Well when I went to connect the "charge only USB Cable" to the Molex connector I accidentally swapped the wire colors, I meant to use the red (5volt) but instead connected the yellow (12volt) to the USB cable. Stupid and careless mistake I know, trust me... Nothing strange happened other than the phone gave me the "incompatible charger" error. The phone will turn on and function 100% normally so long as the battery is charged via another device. For example I take my wife's fully charged battery out of her S4 and put it in mine, the phone works fine until the battery dies; the battery I swap to her phone charges perfectly fine in her phone so it is NOT a battery issue.
The phone will not charge a battery anymore, with the original charger or the other 3 white Samsung brand chargers I have, nor my car charger. After doing some research online I discovered that it was likely to be a fried USB board, which I replaced today. So the USB board and USB connector are brand new and I am still having the same problem. I also read about restoring to factory settings which I have done and also reinstalled my custom ROM. I reinstalled AFTER the error message began occurring so it was NOT cause by a the ROM update. I read that I may be able to use a wireless charger which would solve my problem, but I don't actually own a wireless charging base and I have no plans of buying one unless it is my ONLY option to fix this.
Here is an exact description of the problem:
When I connect a USB charger of any kind to the phone while it is powered off, I get a black screen and the phone vibrates once every 4 seconds or so and the battery never appears on the screen nor does the screen light up in any way.
When I connect a USB charger or connect it to a PC while the phone is on I get "The connected charger is incompatible with this phone. To prevent damage to your phone, charging has been stopped. To continue charging, use the original charger and cable that were provided with this phone." error message and a battery icon with a red "X." If connected to a PC the PC says "unrecognized USB device."
Here is my phone info:
Verizon Galaxy S4
Model SCH-I545
Android Version: 4.4.2
Baseband: I545VRUAMDK
Hardware Version: I545.06
Rooted
Rom: Hyperdrive RLS20
Recovery: PhilZ Touch v6.54.9
ClockworkMod v6.0.5.0
If there is a tread that has already covered this I apologize, I did do a search and didn't see one.
Any help or information is greatly appreciated.
Click to expand...
Click to collapse
there is no fixing this you fried the motherboard its toast done,over with gl finding another MDK motherboard those are few and far between the charge controller is part of the motherboard you need to replace the whole thing(logicboard) you are better off buying a new phone a wireless charger is worth a shot but if the charging controller is shot its not gonna do you any good the only other option would be to hotwire the battery to a external charger (you can't simply feed 5v into the battery it will melt/explode it needs to be a regulated current of 3.4 to 3.8v at about 150Mah it will take 4 hours to charge and you will need to be there to unplug it before it overcharges and explodes
Legitsu said:
there is no fixing this you fried the motherboard its toast done,over with gl finding another MDK motherboard those are few and far between the charge controller is part of the motherboard you need to replace the whole thing(logicboard) you are better off buying a new phone a wireless charger is worth a shot but if the charging controller is shot its not gonna do you any good the only other option would be to hotwire the battery to a external charger (you can't simply feed 5v into the battery it will melt/explode it needs to be a regulated current of 3.4 to 3.8v at about 150Mah it will take 4 hours to charge and you will need to be there to unplug it before it overcharges and explodes
Click to expand...
Click to collapse
I was afraid of that.
Thanks for the info.
Related
Hi all, I just realized a problem with my Galaxy S2, when I charge it with my AC Adapter (the original one comes with the phone), the phone recognizes it as USB, it shows UTP (or UT... blah blah i don't remember, the same sign when you connect your phone to your laptop to copy file). Not only that, what disturbs me is that the charging current now is USB too, I didn't realize that 'cause I used to charge over-night. But now it has been charge for 4 hours and still not full yet, I download the "current widget" app and it shows exactly 451Mah , I checked on Extweaks's Misc Tab and nothing's wrong, I recheck and restart, calibrated battery, still doesn't work.
Who has the same problem with me and knows a solution? 'cause I can't wait for my phone 5 hours to charge in an afternoon like this
I'm using Checkrom Revo HD 6 (2.3.6), Siyah lastest ver for GB, I don't install anything involved battery or scripts or internal tweaks 'cause I'm no pro
P/s: Sorry for my clumsy English
First of all you should try another charger. If the charger is reported as USB device it is probably defective (at least the short between the USB data lines seems to be missing). The slow charging of the phone is just the consequence of the charger not being detected as such.
I think there is no use changing something on your phone as long as the charger is reported as USB device.
May also be worth checking the USB port is fairly clean? Some GS2's (including mine) have required a new USB port due to false reporting of USB status, e.g. charging symbol without actually being plugged in. Hope you are not in this category!
Good luck
Thanks All, first I dont think the adaptor is defective, 'cause if it broke down, it would not be able to charge at all, in this case it shows exactly the usb voltage charge, it.makes me think it's the fault of the phone.
And I think cleaning the port is a nice idea I havent tried, I'll do it and tell the result latet
Sent from my GT-I9100 using XDA
randomseasons said:
And I think cleaning the port is a nice idea I havent tried, I'll do it and tell the result latet
Sent from my GT-I9100 using XDA
Click to expand...
Click to collapse
So what was the result after all?
Hello XDA
This is the first Q I have I managed to work my problems off by myself to this point. Straight to the matter at hand:
My S3 stoped to charge normally on:
Wall socket solid cable charger
Wall socket usb cable charger
USB plug to a PC
External battery
On a turned off device it only shows the loading battery no charging
On a turned on device in normal boot it shows charging but no charge is applied (checked with various software)
It only charges in Download mode (slowlly due to the fact of a turned on screen)
I tried diffrent chargers, cables even batteries nothing really helps
Also its not being recognized by the PC when plugged in in normal boot but it's being discovered in Download Mode.
I was able to flash Stock Rom by ODIN but it also didnt produce a solution.
The only thing that comes to mind is to flash with a repartition but i cannot find the proper *.pit file and I don't want to do this before consulting the community.
I can reset the counter and send it to the service but I think that this is a software issue not a HW one.
Can anyone offer some assistance?
UPDATE:
The device when booted normally and pluged into "holds the charge" it dosent go up but it doesnt go down.
Pretty fun !
I think it's an issue with your kernel. Have you flash your device with a custom ROM and/or kernel ?
Well I was running PAC Rom for S3 at the time so the Kernel was based from that.
After that I Changed to XXEMA2 CodecROM 1053 Black Edition with Siyah Kernel still same outcome... And after that returned to the roots with Stock ROM with Stock Kernel
I have the exact same problem on my Galaxy S III for Sprint (SPH-L710). Did you ever find a fix for this???
Same Problem
Hellishcross said:
I have the exact same problem on my Galaxy S III for Sprint (SPH-L710). Did you ever find a fix for this???
Click to expand...
Click to collapse
I have the same problem too.
Did anyone ever fix it?
The phone charges when in recovery/download mode, pulling 300 mA from PSU, but only 60mA when connected and turned on.
Im using a normal usb cable, and have short the D+ & D- Pins.
I've charged the battery in a third party battery charger and that works fine, I also have a wireless charger that too pulls around 60 mA
Maybe you all need to change the USB connector module at the bottom of the phone? I've seen these break or do strange things in many phones including Samsungs. Not sure if they eventually get broken due to overheating or what the issue is, but that would be my guess.
i have a pb in my i9300i my cell going to downloading mode automaticaly
Like a week ago my S3 9300 was taking longer and longer to charge now it won't charge at all, now is always stuck at 0% if i turn it off it will charge but very very slowly, i don't know if it's the phone or the battery maybe someone here had the same problem and could help me out a little, btw i have it with CM 10.1 thank you
Alejo
Had the same exact problem with my i9300, got it out of warranty repairs yesterday. Was using a custom rom, but the same thing happened when I finally managed to flash it back to stock (had to manually press the microusb-cable as hard as I could into the phone all the time in order to get the phone recognized while Odin was working, was the longest flash ever lol..).
Remember reading about cold solder joints etc before sending it off, so if your phone is out of warranty for some reason you could replace the charging port yourself. Replacement part costs ~5$ (eBay) and if you got the skills it shouldn't be too hard to replace.
EDIT: Actually mine didn't even charge when power off, so I was pretty certain it was a bad solder joint or some other physical problem.. Have you tried cleaning the usb port with pressured air or just blowing into the port? Could be some pins of the usb port blocked with debris. Also check your usb cables, there are those with 5 pins and those with only 4. Saw the difference in charging speed while the thing was still working.
zombie112 said:
Had the same exact problem with my i9300, got it out of warranty repairs yesterday. Was using a custom rom, but the same thing happened when I finally managed to flash it back to stock (had to manually press the microusb-cable as hard as I could into the phone all the time in order to get the phone recognized while Odin was working, was the longest flash ever lol..).
Remember reading about cold solder joints etc before sending it off, so if your phone is out of warranty for some reason you could replace the charging port yourself. Replacement part costs ~5$ (eBay) and if you got the skills it shouldn't be too hard to replace.
Click to expand...
Click to collapse
Well actually when i plug the phone into the PC it will recognize it and i can access the files in the SD card and Internal Memory and everything at the moment it's turned off and it's charging.
I have the problem that the phone only want to charge with soms chargers.
I can connect the phone to the original charger or to a pc or any device without problems, the phone will charge.
Even with an old blackberry charger (only 2 wires, no data) and car charger can i charge without any problem!
But when i connect the phone to the htc charger of my old phone, or to an iphone charger i see the phone is connected but it won't charge.
When i open batterymonitor i see that the charger is connected, but the phone still use his battery.
I tried this with all kinds of charders and all kinds of micro usb cables. Then i thaught there was maybe a resistor or chip or something build in some chargers, because i couls only charge with chargers with 2 wire cables.
Then i took a usb extension cable and i disconnected the two data wires so only the + and - 5V cables were left,
but still no success. If anybody knows where the problem is, please let my know
with kind regards! Martijn
Help! My Samsung Galaxy S4 won't charge or connect to a computer. I've tried different chargers, cables, plug in locations, car, 110, computer. There is no dirt. Connection is clean. I have a spare battery and both of them will charge on the battery charger. I have tried backed up roms. I have done a factory reset.
All of this and nothing helped. Am willing to try anything. Verizon is going to send me a refurb.
Help please.
Sent from my SCH-I545 using Tapatalk 4 Beta
Is there any indication of a connection being made? If not, you should just wait for the refurb. If you have rooted, I really doubt Verizon will honor the warranty on the broken phone. I wish you the best.
Sent from my SCH-I545 using xda app-developers app
sounds like contacts are on the phone side are damaged or the micro usb port is damaged.
Have you plugged into to a pc just to see if it can "see" the device and connect?
You stated it cannot connect to a pc, so i would suspect you have a bad micro usb port.
if you can connect, its not the port, and try taking an eraser and gently swabbing the contacts on the phone side.
also, make sure when you insert the battery there is an actual contact established. sometimes when pulling/pushing the battery in and out, those contacts sink further into the device and finally when you insert a batter the contact is very poor. you may need a tool or tweezer to just VERY, VERY GENTLY raise the contacts if they sunk in to far......but be careful not to pull too hard/much they can snap and you will probably void any warranty......
vwpiper said:
Help! My Samsung Galaxy S4 won't charge or connect to a computer. I've tried different chargers, cables, plug in locations, car, 110, computer. There is no dirt. Connection is clean. I have a spare battery and both of them will charge on the battery charger. I have tried backed up roms. I have done a factory reset.
All of this and nothing helped. Am willing to try anything. Verizon is going to send me a refurb.
Help please.
Sent from my SCH-I545 using Tapatalk 4 Beta
Click to expand...
Click to collapse
xander45 said:
sounds like contacts are on the phone side are damaged or the micro usb port is damaged.
Have you plugged into to a pc just to see if it can "see" the device and connect?
You stated it cannot connect to a pc, so i would suspect you have a bad micro usb port.
if you can connect, its not the port, and try taking an eraser and gently swabbing the contacts on the phone side.
also, make sure when you insert the battery there is an actual contact established. sometimes when pulling/pushing the battery in and out, those contacts sink further into the device and finally when you insert a batter the contact is very poor. you may need a tool or tweezer to just VERY, VERY GENTLY raise the contacts if they sunk in to far......but be careful not to pull too hard/much they can snap and you will probably void any warranty......
Click to expand...
Click to collapse
I am having the exact same problem. I have replaced the microUSB charging port on the phone and it still doesnt charge with the new port. I'm not sure what is going on. NEED HELP BIG TIME!!!
I'm having the same problem as well. It has been like that for bout a month or so now. I googled it and it seems to be a problem with the s3's and s4's. I'm not so worried about it as I have a spare battery charger and I have the wireless charging receiver on my s4 and it charges my phone just fine.
I had this exact problem I believe...tried several different chargers...everthing. Try turning the phone off and see if it takes a charge. When mine was off it would show a gray battery and vibrate every 5-10 seconds. I figured it was an issue with the charging/usb port but all of the sudden my phone started charging normally and is visible by a computer. Lasted for about 4 days and have been in the clear for about 3 days now. No clue what went wrong or why, but try what I mentioned above by charging with phone off for a half hour or so and see if it has charged at all. If you need a new USB port, not all GS4's have the same port, so you must get a verizon specific one (ebay). usually run about $20..or $65 installed at a phone fixing center. I didnt want to lose MDK, so I was prepared to just charge externally, but ended up not having to...yet
It happened to me also. I had some intermittent luck with blowing out the port with air from my air compressor. But in the end it just stopped working and Verizon sent me a refurbished one.
I Also have this problem!
PLEASE HELP!
I don't know why but my international galaxy s4 running cm 10.1.3 stable isn't charging...
I plug it in to the wall and nothing happens its as if the phone doesn't even know it's plugged in...
pcmaster44 said:
PLEASE HELP!
I don't know why but my international galaxy s4 running cm 10.1.3 stable isn't charging...
I plug it in to the wall and nothing happens its as if the phone doesn't even know it's plugged in...
Click to expand...
Click to collapse
Have you tried powering down your phone and seeing if that gray battery comes up and you get the vibrations (while plugged into charger)? You may need a new port, but since your under warranty, you could get a replacement unless you want to charge externally
S4 problem after update to 4.3
Hy,
I have a similar problem with my S4 (i9505), won't indicate if it is charging or connect to a computer, but while the charger is conected to S4, the battery level is increasing. When the battery is fully charged S4 is SHUTING DOWN!!!! And it wont start by pressing ON/OFF button, it will only start after I press Vol Down+Power, after goes to Download Mode and press Vol Down .
Tryed in many ways to fix:
- restore-
- hard reset
- changed te battery and charger
-i\ve changed even the usb port (flex cable) and =no results...
All problem started after update to 4.3.... and it is not an isolated case too many people complains about this 'awesome smartphone' with 'awesome issues' .
So, if anyone have any ideea how to solve this issues....
{Sorry for my bad english}
Had the same problem...lasted for about a day, I had to take a dry q-tip and clean the charger and the port where the phone charges and was able to get it working again. If you are rooted and are having issues go to amazon or ebay and get a wireless charger and it should take care of your problems as well
templton said:
Had the same problem...lasted for about a day, I had to take a dry q-tip and clean the charger and the port where the phone charges and was able to get it working again. If you are rooted and are having issues go to amazon or ebay and get a wireless charger and it should take care of your problems as well
Click to expand...
Click to collapse
Ok....wireless charger...but what about syncing with the PC?
Now I have JB 4.3 , for a custom ROM I need to use usb cable to connect to PC, rigth?.
For me it is annoying, because I do not know for sure if this is caused by updatind to 4.3 or is a harware problem.
My wife's phone had this issue last night and this morning; charger or computer, it wouldn't charge. I turned it off, took out the battery, SIM and uSD card and put them all back in. After that it started charging again. I don't know if this will solve the problem long term, but so far it seems to have done the trick...
NC_user said:
My wife's phone had this issue last night and this morning; charger or computer, it wouldn't charge. I turned it off, took out the battery, SIM and uSD card and put them all back in. After that it started charging again. I don't know if this will solve the problem long term, but so far it seems to have done the trick...
Click to expand...
Click to collapse
Lucky you...I did more than that, but no result in my case. I found on ''community.verizonwireless'' many more similar cases where ''customers support'' tried to avoid giving the answers for a real solution.
Well, our luck didn't hold. My wife's S4 wouldn't charge again last night. I tried another Samsung charger and a different cable but it wouldn't work either. When we left the house she tried it on the car charger and it worked great. Trying various other chargers we found that a kindle charger wouldn't work, but other third party chargers would. Even her PC USB port seems to work and she doesn't have the drivers loaded. For now she replaced the Samsung charger and cable that came with her phone for one that came as part of an accessory pack and it's happy again.
I have no idea what's going on with the thing. I asked one of the guys at the Samsung booth in Bestbuy and all he had to offer was reflashing the ROM or un-rooting it and doing a warranty exchange...
NC_user said:
For now she replaced the Samsung charger and cable that came with her phone for one that came as part of an accessory pack and it's happy again.
......and all he had to offer was reflashing the ROM or un-rooting it and doing a warranty exchange...
Click to expand...
Click to collapse
Can you check, please, if your new data cable has 4 or 5 pins(look to the side that connects to your phone )?
My first s4 done this. So I ended up with a replacement mdk phone after I figured out if you bend the lil piece in the charging port of your phone (not too much BTW) the charger will slide into the port as it's meant to.
Sorry I can't remember the tech term for that lil pin inside the charging port.
Sent from my SCH-I545 using Tapatalk
vwpiper said:
Help! My Samsung Galaxy S4 won't charge or connect to a computer. I've tried different chargers, cables, plug in locations, car, 110, computer. There is no dirt. Connection is clean. I have a spare battery and both of them will charge on the battery charger. I have tried backed up roms. I have done a factory reset.
All of this and nothing helped. Am willing to try anything. Verizon is going to send me a refurb.
Help please.
Click to expand...
Click to collapse
Just going to throw this out there....
I think the S4 is compatible with QI compliant wireless chargers. Amazon has some that are only $20... might be worth the purchase.... hell if I didn't have this tank of a case on I would buy it.
http://www.amazon.com/Lerway-Wireless-Power-Charger-Lumia920/dp/B00E9MUNWU
blueangel0508 said:
My first s4 done this. So I ended up with a replacement mdk phone after I figured out if you bend the lil piece in the charging port of your phone (not too much BTW) the charger will slide into the port as it's meant to.
Click to expand...
Click to collapse
Thanks for your answer, but I already did that....I even changed the flex cable with charging port, no luck for me.....
I think this issue it is not hw problem because, look what I did today:
-I put a new Rom , so I used MIUI FOR I9505 from http://forum.xda-developers.com/showthread.php?t=2306650
And now it behaves even stranger:
S4 is ON and wall charger is conected, (LED IT IS OFF but BATTERY IS BLINKING and is charging ) after battery level go up to 100% and disconect the charger, the LED STARTS TO LIGHT GREEN!!!!
So, now shows that is charging when charger is NOT connected?
alexmanu said:
Thanks for your answer, but I already did that....I even changed the flex cable with charging port, no luck for me.....
I think this issue it is not hw problem because, look what I did today:
-I put a new Rom , so I used MIUI FOR I9505 from http://forum.xda-developers.com/showthread.php?t=2306650
And now it behaves even stranger:
S4 is ON and wall charger is conected, (LED IT IS OFF but BATTERY IS BLINKING and is charging ) after battery level go up to 100% and disconect the charger, the LED STARTS TO LIGHT GREEN!!!!
So, now shows that is charging when charger is NOT connected?
Click to expand...
Click to collapse
Huh that's weird. How did you get miui to run on our phone? You've got the i545 right? I've been jonesing for miui ha.
As for the issue wish I could help you out...thought pushing that part would work
Sent from my SCH-I545 using Tapatalk
I'm wondering if anyone has suffered with and recovered from the sudden case of no charging/USB>PC recognition?
I've seen countless similar stories across the web, covering many of the Z Family. Some were simple reset jobbies, and I've seen as in-depth as what I'm assuming is an IC being removed, flux cleaned and re-applied (w ww .you tube. com/watch?v=ZyCeNfc99a0).
I purchased a new charger port and also a new battery, as I figured with all the insane constant burning of my pocket, it could use a new one. I'd hoped it was just a charger port issue, but much to my dismay, the issue still persists after fitting them.
I've tried every single button combination "fix", and all to no avail. Multiple leads, charger units, all that polava. Checked and cleaned connections with isopropyl alcohol, checked for burned-out looking mainboard components, at least those that are visible.
I was having minor inconsistent charging issues for a while, up until last Friday. I figured it was the USB port on the phone or the leads, and put it down to general wear and tear.
Last Friday I was at my mates house with super low battery, popped it on charge round his and I noticed it had died completely and kept boot cycling, like the charger was being plugged in and taken out over and over.
I took it out and tried it when I got home with the regular charger, and nothing. My phone is otherwise in mint condition and has been looked after since day one release in the UK.
I'm wondering if some super helpful person here would possibly have some other alternatives that haven't been mentioned, whether a hardware bypass or some trick that isn't amidst the countless cries for help out there.
Many thanks in advance.
Hello,
I have a problem when connecting to a charger it will go in strange charging mode that actually does not charge. It makes the sound like a charger is connected, no charging animation on battery though...
The problem for me it was the USB cable used for charging (i have changed 5 of them in 1 and a half years). Also same behavior happens when using a under 1A wall charger.
P.S. : The USB cables that i have changed they still work fine with other devices/phones .... but not with my Z5C. I`m not sure what but is definetly something wrong withe phone usb port (and it is not dirt).
no, but
I cannot get a usable USB connection to my computer, but if I hold Volume Up while connecting the USB cable to the computer, the charger LED turns red for a moment, then blue. It WILL charge in this mode, which I think is fastboot mode. Someone said it bypasses the charge circuitry or software, which makes me think that maybe I could go into developer mode and turn on OEM unlocking to see if I can stop it from trying to optimize charging. I also have not tried all the USB connection modes yet.
I tried to charge with this blue light technique on the wall charger, but that did not work. Just ran the battery down again and I could not boot the phone.
I know if I press Volume Down while connecting the USB cable to my computer that the charger LED turns green, but I am not sure it will charge in that mode. I think this is for flashing or something, but since my computer does not recognize the USB device no matter what I do, I don't think flashing is an option.
Oh, and when I do charge the phone with the blue light special (old obscure USA discount retailer reference), for some reason the charger LED flashes white every 4 to 5 seconds, but it seems to keep enough charge to get me through at least the day until I can charge again by same method.
Maybe we can keep pooling info here. I got the blue light technique from someone else on this site, so there are people here who know quite a bit about this phone, thankfully.
Well, I had that issue, too (at least it sounds pretty familiar).
https://forum.xda-developers.com/z5-compact/help/wont-off-issues-t3485575
Does your phone also believe to be connected to "something" all the time?
I fear there is some IC fried, although I never dared to open my phone.
My "solution" was to talk my local salesman into giving me a (used, but working) replacement phone, and I did not want him to find any traces of DIY
So, no, I never found a technical solution, probably they just scrapped my phone for spare parts, idk.
The root cause for my error (probably) was a faulty charger, therefore I am pretty sure I fried something hardware-like, but depending on your cause, ymmv.
Anyway, trying to clean your USB port, re-soldering the connector and/or replacing the battery sounds like being worth a try, anyway.
// edit: "cat /sys/class/power_supply/usb/present" used to always output 1, even when not connected. On my now-good Z5C this works like it should (connected ->1, not connected -> 0)
Hey people. I have tried all the tricks for several days. Tried several charging cables. Nothing worked for me. I just brought a new phone, and it came with a cheapo charging cable. Decided to plug it into my Xperia and it worked. Maybe a little fairy fixed my phone when I was out buying a new one. Anyway, I'm love my Xperia Z5. Using it right now. Good luck people