Closed DesantBucie closed 3 years ago
@DesantBucie which of them are SODP based custom roms? (The ones where you need to flash a OEM.img)
-Pixel Experience -Your AOSP11(didn't try AOSP10)
Do lineage use SODP code? Because it happens on it as well.
Official LOS18 and 17 are stock based. If you use explicitly the sodp based LOS in my XDA thread, it's SODP based.
Does it happen on vanilla stock 10, too? Because I currently run AOSP 11 on my XZ2 and charging works. USB charging and charger charging.
I hope you don't have a hardware damage.
Or maybe dirt/rust in the usb port?
Did you try to change your cable/charger/usb port?
I used three cables, samsung's, apple's and silver monkey's. I'm on vanilla rom right now, and i'm at 87% from 15% in 40 min or less. I can throw phone on the bed and it still charges, if i did it on custom rom it would 100% stop charging.
I used vanilla for 3-4 or more weeks with no charging problems but then became annoyed at google calendar that cannot be used without logging, and flashed your AOSP, charging problems occured, flashed official 18.1 lineage, charging problem occured, and went back to stock today.
I'll check the port in a minute, but how do i clean rust? WD40 doesn't seem like a good idea.
Btw phone was in guarantee service half year ago to change volume button, but they didn't change usb-c port. Maybe they damaged something inside, but vanilla is doing all right.
Having started writing at 13:47 i have now 91%.
About cleaning I found https://www.businessinsider.com/how-to-clean-usb-c-port https://www.reddit.com/r/essential/comments/diuwkb/corrosion_on_the_charging_port/
The fact that it works on stock is weird.
Then we need a adb logcat -b all > charging.log
from your PC started shortly before you connect your phone to the charger (you can use adb wifi).
Then if the charging problem appears, stop the logging and give us the log :)
All right, I'll do it in few hours. Thanks for help.
Sorry for not doing anything for 3 days, but while cleaning with toothbrush microphone I damaged it, so I didn't touch anything yet.
Sad to hear, I hope you can fix it.
I can use second mic in loudspeaker mode, or one from headphones. I'll try to test AOSP today.
Btw, i checked one more thing. I flashed oem_a and oem_b with SW_binaries...v12a on vanilla. It charges well.
Does it only happen with quickcharge (your default charger) or as well if you charge the phone at your computer usb port?
It does disconnect randomly, but connects almost immidiately. Oh no, now it just disconnected. I didn't move phone or anything.
I'm gonna close this for now, i'm going to send phone to replace microphone and ask them to look at USB port.
It was most probably a hardware problem. After replacing charging works on LOS18. The only think is weird that it worked on stock.
Platform: Tama Device: Xperia XZ2 H8266 Kernel version: 4.9, 4.14 Android version: 10, 11 Software binaries version: stock and newer
Previously working on Charging works perfectly fine on stock android and worked on IodeOS until build 20210306(according to my xda comment, i will try to flash version before it soon and check it).
Description Phone charges flawlessly on stock firmware, but will have charging problems on some custom roms.
Symptoms Phone stops charging on custom ROMs (Lineage 18.1, 17.1, AOSP11)
Additional context I'm using apple macbook charger, but i tried this on samsung one and didn't work either. I don't have sony stock charger. I'm reporting it now as i went back to stock like 3 times, and stock has no problems with charging, and i thought that maybe it was my usb socket problem.
General rule is the longer the custom rom is installed the poorer it will charge, newly flashed can be easy to charge, few weeks later it's almost impossible. The phone will randomly stop charging.