Insensible screen when charging - Xiaomi Mi 5 Questions & Answers

I'm on AEXmod 5.1 (Oreo 8.1.0) and when I connect a QC 3.0 charger the screen seen to become less sensible, someone with this problem? (This doesn't happens with a normal charger)

Related

MI5 Lineage OS 14.1 QC 3.0 tests and findings

Lineage OS 14.1 is a very good ROM. Thanks to @bgcngm. However, we find that charging is shower than that in CM 13.0. Here are some tests and findings by me.
I test on four conditions - power off, first time after power on, second time after power on, in TWRP 3.0.2-3.
Battery level is around 93% when I do the test. It is a little high, but if you read following findings, you will find that it is not a problem.
The charger I used is EQ-24BCN from LeEco. Output ability is 3.6~8V/3A, 12V/2A. It is a QC 3.0 charger. You can find it in official list of QC from Qcom website. The link is
Code:
https://www.qualcomm.com/documents/quick-charge-device-list
1. Power off.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
There are four signals in the picture. Green and blue are USB D+ and D-(2V/div). Yellow is output voltage of charger(5V/div). Pink is output current of charger(1A/div). Output voltage changes from 5V to 9V, and that is the time charger is identified as QC2.0. And then output voltage changes drop down to 5V and rises to around 6V, and that is the time charger is identified as QC3.0. So QC 3.0 is working when the phone is power off.
2. In TWRP 3.0.2-3
I think TWRP 3.0.2-3 is using CM 13.0 kernel. Correct me if I am wrong. In the picture, voltage of charger changes from 5V to 9V and then keeps the value. So the charger is identified as QC2.0. I read the value of
Code:
/sys/class/power_supply/usb/type
, and it is USB_HVDCP. The value also indicates that it is recognized as QC 2.0 charger.
3. The first time after power on
The behavior is quite similar compared to power off condition. There is only a short time when output voltage of charger is 9V, and then QC 3.0 is detected. The value of /sys/class/power_supply/usb/type is USB_HVDCP_3. So QC 3.0 is working after power on.
4. The second time after power on.
Unfortunately, QC will not work if you plug the charger again. Output voltage is always 5V, and the value of /sys/class/power_supply/usb/type is USB_DCP. QC 3.0 charger is recognized as normal charger.
Other findings:
QC 3.0 will not work each time after power on. QC will not work if you simply reboot the phone. It will only work when QC works normally and then power on. For example, power off the phone, plug in QC 3.0 charger, wait until battery ico presents, then QC is working, plug out charger, power on the phone, wait until Android boots, and at last plug in charger again, and then QC 3.0 will work. I find only two state when QC will always work - one is power off, the other is TWRP 3.0.2-2 (I think the reason is that it uses CM13 kernel).
If QC 3.0 charger is successfully recognized, the value of /sys/class/power_supply/usb/type should be USB_HVDCP_3. I am not an expert in software, so correct me if I am wrong. I hope that anyone who wants to help can help to read the value of /sys/class/power_supply/usb/type if you find QC may work. Let's find all situations that QC will work, and I think it will help @bgcngm fix the issue.
Update:
I have tried to replace hvdcp_opti binary with the one from dev 7.1.20 and stable 8.1.6.0. QC only works for the first time. The issue may not be related with hvdcp_opti binary, but it still can not be confirmed.
Further update:
I have complied cm-14.1 boot image with kernel source of cm-13.0 branch. QC 3.0 is confirmed to work normally. I believe the issue of QC is kernel-related. I may seek further to find what certain patches break QC 3.0.
One thing to add is that using lower quality cables or extension cables can mess up quick charging from own experience. Was using a 2m usb extension for a dock charger into a qc3.0 wall charger but it only left me with UpTo 1000mah while sometimes as low as 200-300mah. Without extension cable I get around 2500mAh with dock
another thing is that QC seems to work for roms using JDC's AOSP as a base like Zephyr
ngoralph said:
another thing is that QC seems to work for roms using JDC's AOSP as a base like Zephyr
Click to expand...
Click to collapse
I roughly read through the kernel sources of jdc's aosp. aosp-7.1.1 and aosp-6.0 have the same base. And it seems that jdc's aosp is based on cm13.0. I believe QC works fine on cm13, so it will also work on jdc's aosp. And cm14 has a new kernel base. So your findings is correct. However, kernel is not the only thing related with QC. Binary hvdcp_opti also plays a role. We may start with looking for which patches bgcngm forgot when he rebase cm14 kernel source. Whether the binary works normally is also a question.
Exactly the same results i have with my mi 5, QC3.0 workt, but only "sometimes".
I haven't tried charging with the phone off, but all three of my chargers (one of which is the one that came with the phone, which I've read elsewhere supports QC 2.0) had some form of quick charge working (could also see "Charging rapidly" on the lock screen whilst charging) in CM 13.
Since CM14.x/LOS14.x, it charges without QuickCharge (all three output USB_DCP for the /sys/class/power_supply/usb/type file in my current Jan 17,2017 LOS14.1 build).
asdxx said:
I haven't tried charging with the phone off, but all three of my chargers (one of which is the one that came with the phone, which I've read elsewhere supports QC 2.0) had some form of quick charge working (could also see "Charging rapidly" on the lock screen whilst charging) in CM 13.
Since CM14.x/LOS14.x, it charges without QuickCharge (all three output USB_DCP for the /sys/class/power_supply/usb/type file in my current Jan 17,2017 LOS14.1 build).
Click to expand...
Click to collapse
Me, too. But even it is recognized as USB_HVDCP_3 and QC 3.0 is confirmed to work using certain method, it does not show "Charging rapidly" on the lock screen. I do not know the reason. Both QC 2.0 and QC 3.0 charger works with CM13.
QC 3.0 works normally on cm-14.1 with kernel source of cm-13.0 branch. So I think we can make a conclusion that the issue of QC is related with the kernel.
deathscythemeng said:
QC 3.0 works normally on cm-14.1 with kernel source of cm-13.0 branch. So I think we can make a conclusion that the issue of QC is related with the kernel.
Click to expand...
Click to collapse
Can a simpleton like me use that cm13 kernel with the latest Lineage, or is that a recipe for disaster? I charged my phone with TWRP up and could see it charging at the ol' QC2/3 pace (around 18% charge in 10 mins) to further prove it's CM/LOS.
asdxx said:
Can a simpleton like me use that cm13 kernel with the latest Lineage, or is that a recipe for disaster? I charged my phone with TWRP up and could see it charging at the ol' QC2/3 pace (around 18% charge in 10 mins) to further prove it's CM/LOS.
Click to expand...
Click to collapse
cm-13.0 branch lacks some patches to work with latest firmware. To track latest CAF upstream source, old cm-13.0 base has to be abandoned, as it may have unexpected issues. Of cource, QC's not working normally is also an unexpected issue. Till now, I still can not locate where the issue really is. For now, if you want to use QC, just shut down the phone and then power on, and plug in charger and do not plug again, and QC will work, while the phone will not miss any calls.
Flashing Mokee, Cyanogenmod, China MIUI, QC3 never worked as supposed to for me.
But before every time I use to flash back Global MIUI,my QC3 charger worked like charmed and charged my MI5 very quickly.
But recently its not the case....looks like some kinda fast charging kernel issue...how can I solve it.
I really want my fast charging to work on MI5.
UPDATE : I did made sure my QC3 is working perfect on another phone and so no issue with my charger.
gotshoaib said:
Flashing Mokee, Cyanogenmod, China MIUI, QC3 never worked as supposed to for me.
But before every time I use to flash back Global MIUI,my QC3 charger worked like charmed and charged my MI5 very quickly.
But recently its not the case....looks like some kinda fast charging kernel issue...how can I solve it.
I really want my fast charging to work on MI5.
UPDATE : I did made sure my QC3 is working perfect on another phone and so no issue with my charger.
Click to expand...
Click to collapse
Use the DragonXia kernel, at least for the Lineage OS it works perfectly all the time. The firmware I used last time was the latest global stable.
georgekav33 said:
Use the DragonXia kernel, at least for the Lineage OS it works perfectly all the time. The firmware I used last time was the latest global stable.
Click to expand...
Click to collapse
I just tried this with the 20170314 I had installed at the time (ie installing DragonXia kernel over LOS14) but it still seems to be charging at the old speed. Btw, does yours display "Rapidly charging" when Quick Charge is working for you (mine just says "Charging")?
asdxx said:
I just tried this with the 20170314 I had installed at the time (ie installing DragonXia kernel over LOS14) but it still seems to be charging at the old speed. Btw, does yours display "Rapidly charging" when Quick Charge is working for you (mine just says "Charging")?
Click to expand...
Click to collapse
If you have custom kernel and still charges slow then you should look at the charger cable combo. No it says always Charging and that is the case Mi5 at the moment regardless if it fast charges or not. You know that is fast with the heat and the actual gained battery percentage per minute.
georgekav33 said:
If you have custom kernel and still charges slow then you should look at the charger cable combo. No it says always Charging and that is the case Mi5 at the moment regardless if it fast charges or not. You know that is fast with the heat and the actual gained battery percentage per minute.
Click to expand...
Click to collapse
I take that back! I was getting around 1% per minute of charging which is pretty good! I think my initial test was done with it closer to full.
asdxx said:
I take that back! I was getting around 1% per minute of charging which is pretty good! I think my initial test was done with it closer to full.
Click to expand...
Click to collapse
at 50% you should see approx 80%/h using QC2.0 and DragonXia kernel.
I have tried lineage based ROMs all charge at 5V (QC 2) but I recently installed AOSP based Slimdragon ROM which does charge at 9V (QC 3)
Aeroplane Mode
QC 3.0 also works with Aeroplane Mode. Tested with Ampere.
QC not working for me...
I just came back to Lineage after trying Slim Dragons. I have the latest firmware etc, but QC still does not work. I have tried the QC 2.0 charger that came with the Mi5. It used to charge fast under MIUI and CM13. After trying Lineage and Slim dragons, I still can't get QC 2.0 or 3.0 to work.
I have tried 3 different cables, and 3 different QC chargers. If my battery is under 90%, I will see charging rates of 1300-2000mA regardless of using a QC 2.0 or 3.0 charger, or Airplane mode. Once I hit 90%, the rate slows to 500mA or so (using Ampere).
Can someone offer a solution?
georgekav33 said:
at 50% you should see approx 80%/h using QC2.0 and DragonXia kernel.
Click to expand...
Click to collapse
What mA do you see in Ampere when QC2.0 is working?

battery charge rate question

My Nokia 8 shows charging on the lock screen and after few minutes it shows the time left to fully charge.
Just then I noticed my phone was on 19% and lock screen was on when I plugged in the charger. On the lock screen above the fingerprint icon it read charging rapidly and then it changed to charging slowly and went back and forth a couple of times, then went just said charging. I can replicate it 100%. Does what it says on the screen really mean it was charging slow and fast and fluctuating in between it?
Phone running oreo beta latest and using stock cable and charger that was supplied. Ampere shows 2910m.
What do you guys make of it.
From 19% to full charge the lock screen shows 3hours. Is that right for Quick Charge?
TIA
I have exactly the same experience with the supplied charger and other QC 3.0 chargers. I tested all the chargers in my house and found my old QC 2.0 Samsung charger is able to constantly rapid charge the phone. I have not yet been able to test of it is actually faster, will update when my battery runs out.
The same here.
I have a QC 3.0 certified charger and it is not showing fast or rapid charge. Looks like there is some issue with Nokia. It was exactly the same using Nougat.
Was able to do further testing and it seems the phone is quick charging with the supplied charger, or any other QC 3.0 charger. The supplied charger was 20 minutes quicker than my old Samsung QC 2.0 charger.
There definitely is a bug in correctly displaying charging rate when connected to QC 3.0 chargers. Also the charging estimates are about twice as high as they should be. The phone can fully charge around an hour and a half, but estimate states three plus hours.
Looks like a couple other people have noticed this issue on the Nokia support forums.

Battery charging issue since 8.1

Having issues charging with the original charger since 8.1. When I was in beta 8.1 the charger stopped after 5 seconds same when phone off and charging it just kept rebooting to charge screen. So rolled back to 8.0 and all fine. Now have 8.1 again and the charger has stopped working again. My Nintendo switch charger charges phone fine on 8.1. So is there anything I can try to see why 8.1 has stopped orignal Nokia charger Woking ?
The Nokia charger charges the Nintendo switch fine
Same
Same with me .. Need answer from the expert
Yeah same, mine charges now and again ? and at only 1.5amps! Weird because my QC Charger ramps up to 3.0amps!
I bought the phone four days ago, TA- 1004- Global Dual SIM. Immediately updated it to 8.1. From yesterday Nokia's original charger charges the phone only at 1.5A...
What app do you use to check the charge rate?
Didusieq said:
What app do you use to check the charge rate?
Click to expand...
Click to collapse
Ampere https://play.google.com/store/apps/details?id=com.gombosdev.ampere
May be you can switOpen develop-model , then close usb debug model. maybe help you...
STUPlDidi0t said:
Having issues charging with the original charger since 8.1. When I was in beta 8.1 the charger stopped after 5 seconds same when phone off and charging it just kept rebooting to charge screen. So rolled back to 8.0 and all fine. Now have 8.1 again and the charger has stopped working again. My Nintendo switch charger charges phone fine on 8.1. So is there anything I can try to see why 8.1 has stopped orignal Nokia charger Woking ?
The Nokia charger charges the Nintendo switch fine
Click to expand...
Click to collapse
Try to close developer options in settings. Probably USB debugging could be an issue. Turn it off.
Yeah it's werid my phone charges full speed for a bit then slows down to 1.5ah
I believe Ampere is not really accurate together with QC. Used a small USB multimeter once and there you can see that the charging amperage during quick charging is not much higher then about 1.4A.
One of the characteristics of QC is that the voltage during charing is boosted. At 'peak power' the multimeter showed 12V & 1.4A, thus charging at almost 17W instead of the 'normal' 5V & 1.5A (7.5W).
Hi i am new here so forgive me
i have been checking the QC from beggining and it seems at 9V i get 7V and 1.44A and seems its a new type of battery that works this way at 4.3 volts instead of 5v at 1.79 get from other phones with a 4.2 volt battery.
changed charger with 5V 2.1A and it still went up to 1.44 .
i think the default charger is the only one to use.
i get a day and a half with fb and games seems that it doesnt get hot
SebasNL said:
I believe Ampere is not really accurate together with QC. Used a small USB multimeter once and there you can see that the charging amperage during quick charging is not much higher then about 1.4A.
One of the characteristics of QC is that the voltage during charing is boosted. At 'peak power' the multimeter showed 12V & 1.4A, thus charging at almost 17W instead of the 'normal' 5V & 1.5A (7.5W).
Click to expand...
Click to collapse
Agreed, standard charging is at 5V, QC 2 jumps up to at 9V and QC 3 jumps up to 12V but Ampere's voltage reading doesn't seem to reflect these boosted voltages.
My old Samsung S6 (from which I just upgraded to the Nokia 8) says "fast charging" when QC is active vs "cable charging" at 500mA (e.g. when plugged into a very old charger or PC) vs "charging" at other non-QC rates... I had assumed this was an Android feature that the Nokia 8 would have too, but apparently not, which is rather disappointing. Perhaps it's worth a feature request in the official Nokia.com forum for the N8?
---------- Post added at 09:53 PM ---------- Previous post was at 09:49 PM ----------
Correction: Looking at Ampere again, the voltage appears to refer to the battery, not the incoming power, it only shows the mA for that, not the voltage. So I'll log a feature request for Ampere...
UPDATE: My phone is model TA-1012, I'm currently running Android 8.1.0 with build number 00WW_4_84A_SP03 and I've noticed that the phone DOES tell me if it's quick charging, but only on the lock screen when it's showing notifications, and only as per the following sequence:
1) Directly after plugging in to any charger it says "charging"
2) If it's plugged into a QC2.0 or QC3.0 charger (and using a compatible cable) then after a while (not sure how long exactly, seems to be about 2 mins) this changes to "rapid charging"
3) After another while it changes to "charging (XX mins until full)" or "rapid charging (XX mins until full)" depending on the type of charger (and cable)
However, the phone is supposed to support QC 3.0 but the charging time estimate is always the same no matter whether I use a QC 2.0 or 3.0 charger, which suggests that it's actually a QC 2.0 device.
So i talked with Nokia support about the charging issue. They told me how to fix it...
1. Settings -> apps & notifications -> see all apps -> press the 3 dots in the up right corner -> show system -> battery protection -> storage
-> clear cache and data
2. Soft reset the phone.
How to do a soft reset: Press the Power button and Volume Up until you see "Powered by Android" on the screen. You can then release the buttons . Thats it.
its fast charging , it doesnt fast charge from 0 -100 . it works like this on nokia 8 : from 0-40 3amp , from 40-80 1.5amp , from 80-90 1amp , and decreases slowly from that.
but i have another problem , i dont have original cable and charger , my cable is anker powerline+ and my charger is xiaomi qc3 charger . my problem is that from 0-40 when its fast charging it keeps disconnecting and connecting every 10-15 sec.
BTW u can check your charge status when ur phone is locked (rapid charging = fast charging , charging = normal charging"this is from 80-100" , slow charging = somthing is wrong check ur cable or charger)

Android Auto slow charging

Is anyone else experiencing slow charging when connected via Android Auto? I'm getting 200mA max with original supplied cable. I know the USB port is capable of more because I was getting a minimum of 1500mA with my old LG G5 when plugged in to the USB port in the car.
If you are trying to get super charge from android auto then it won't happen when charging via a port in a car. Since only Wall adapter can super charge your Huawei device atm, once car port is suited for super charge then it will work.
Yeah I know I won't get the supercharge through the car usb, but I'm only getting 200mA charge rate, which is really really slow, but if I plug in my LG G5 to the same Android Auto usb port, with the same cable (the official Huawei cable) I get around 1200-1500 mA charge rate. So I know the USB output on the car is capable of a decent output. Was just wondering if everyone's p20 pro is like this
Hello Dear, i have the same problem. I and my girlfriend both have an P20 PRO. Both charge the car only with 200mA. When i tried the same cable and the same car USB port on 3 another Samsung phones, it charged with 1800mA. I dont understand this issue on Huawei phones. Do you know how to fix this problem?

Mi MIX 2S Qi Charger

I have a problem with charging qi in MI MIX2s the phone is charging up to 50-60% and suddenly the charger stops flashing diode that charging was interrupted after re-loading, it charges to 90-100%
if someone has such a problem and can be guilty
try a different charger you might have a problematic charger, have tested non brand and xiaomi wireless both charge the phone just fine(slow 5w ...maybe due to custom rom? ...still charging)
I was experiencing problems too (even with the original dark blue xioami charger).
In my case, seems to be software issue. The phone charges way faster with the phone turned off. Also when on, sometimes it says that is charging slow being in the same position that charges ok with the phon turned off.
Also on a thread of the last update (still beta), someone said that the wireless charger worked better, so im looking forward to test it.

Categories

Resources