Related
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?
Hello, guys. My Zuk isn't charging fast with the ZUI 2.5. Is it a bug of this ROM? The original charger is charging way faster then the qc3.0 one. Can a downgrade fix it? Is it just flash the 2.3 or I have to do something else? And last question: is the AOSP Roms working properly the qc3.0?
I confirm QC3.0 not working on ZUI 2.5.
aoleg said:
I confirm QC3.0 not working on ZUI 2.5.
Click to expand...
Click to collapse
Not too sure about what QC 3.0 offers , original charger is 5.3V and 2.5 A with the cable as 3.0 certified.
In zui 2.5 phone charges from 5 to 80% in less than an hour with data on but screen off.
Pretty fast enough for me.
sanjay0501 said:
Not too sure about what QC 3.0 offers , original charger is 5.3V and 2.5 A with the cable as 3.0 certified.
In zui 2.5 phone charges from 5 to 80% in less than an hour with data on but screen off.
Pretty fast enough for me.
Click to expand...
Click to collapse
Same here, it seems to be working fine for me. Got to about 80% from under 10% in less than an hour.
This is not Quick Charge speeds. No 9V or 12V charging either. Previous versions of ZUI did not have this issue.
I have same problem, should i wait till next update? or downgrade? if downgrade, how to do this? Qfil method only?
QC3.0 is not working for me. i thought i got a bad quality cable cause i cannot charge my phone any more, but after trying with another i confirmed. is not working. i'll try restoring to factory using a 1.9 zui image and upgrade from there.
Just found the real problem. The flex that connects from main board to battery is broken. Got broken maybe by the amount of current (almost 3A) when charging. Now I need to replace it. Hope someone can tell me where the f... Can I found another one.
I recently bought 2 new Nexus 6's and am having issues with the stock charger phone charging status disconnecting and reconnecting about every half second till I unplug it. The first thing I did was upgrade the phones to 7.1.1, other than that the phones are both stock, non-rooted, etc.
Things I've tried:
Stock devices: phone #1 with charger #1, phone #1 with charger #2, phone #2 with charger #2, phone #2 with charger #1. (Fail)
Various known working cables with stock charger and phone combinations. (Fail)
Different outlets. (Fail)
Different chargers. (Success) All of my other chargers are old school and do not have turbo charging capabilities.
I am wondering if maybe this is a software issue? Did one of the updates break turbo charger support? I didn't test the charger before upgrading to 7.1.1.
I am also wondering if maybe this is just how turbo chargers work? Maybe they turn on and off quickly (Pulse Width Modulation style) to keep the battery cooler or something?
I have also read of people who get notifications saying they're phone entered a turbo charging state. I see no such notifications. Not 100% sure if Nexus 6 usually shows a notification for that.
Any suggestions would be appreciated. Thanks for the read.
TLDR: Charger issue???!#[email protected]#$TERGAVADFG
Anyone? Even a response saying "yes this happens with mine" or "no this doesn't happen with mine"?
Could be "normal" for all I know.
I have never heard of this. Certainly doesn't happen I my phone. I would suspect the USB cable first.
It's been several years since I've run stock. I can't remember if the turbo information is shown anywhere but in the battery stats. On the pure nexus ROM, it's on the lock screen.
Oddly enough my phone did this very thing. Same as yours, brand new and stock charger. I actually had a few other chargers and they all worked normally albeit very slow.
One day I decided to give the stock charger a shot and wouldn't you know it would charge for two seconds then not charge for two seconds while plugged in. Your results may be different but if I left the phone on the charger after about 3 minutes the phone would start to charge normally. Might be worth a shot if you haven't already tried leaving it plugged in for any length of time.
@n0ts0smart, the time you tried the turbo charger and it stuttered then started working, was your phone battery mostly run down?
ktmom said:
@n0ts0smart, the time you tried the turbo charger and it stuttered then started working, was your phone battery mostly run down?
Click to expand...
Click to collapse
I was wondering the same thing I think you are. This issue does seem to be related to turbo charging mode. Tested the battery issue when the phone was at 90% and it charged just fine.
This issue only seems to come up when "turbo charging".
Okay. I have tried 3 sets of 2 "new" phones (second set was reconditioned). So 6 phones, chargers, and cable combinations. Always seem to have the problem. It happens when the battery is "very low" I don't know at what percentage it starts happening. I strongly suspect "Turbo 2" charging mode. Stock rom updated as much as possible also tried Nitrogen os (android 7.1.2).
No matter what I try this problem persists. Yet I can't find a single mention of it online anywhere.
Decided I'd create a video to show it in action. Current rom is [ROM] ► [7.1.2] ► [shamu] ► Nitrogen OS N ► OMS (Substratum) ► (17.Aug.2017).
Here is the video: https://www.youtube.com/watch?v=n77Kn7zMM-g&feature=youtu.be
Hi, i have Redmi Note 10 Pro (sweet) and from 3/4 days i have facing fast charging (phone says fast charging) slow, 3 hours for charge fully and if i check with battery guru says max 5w output, official xiaomi charger and tried also with baseus 120w charger, before works well fast charging, any suggestion? other with this problem? Unlocked with latest twrp from nebrassy and MIUI Rog edition with delta kernel
Can you confirm that the phone is actually taking 3 hours to charge? Or is it just saying 3 hours until full? My phone was also showing 3 Hours Until Full but in actuality was not taking that long.
Take me about 45 minutes from 30% to 90%, it should be about 1h30m for 0 to 100%
try changing the orientation of usb-c connector on either or both charger and phone connection end and see.
I have no problems charging close to 33W with Xiaomi included charger or my Baseus 65W GAN charger which supports 33W profile. I charge at around 75%/hr
Looks like a problem with twrp /
Go to the concerned forum with this question
If you have Magisk / Super user, they have modules to enable fast charging
Probable cause might be your charger cannot detect the charging profiles supported by your phone. For precaution it uses the slowest profile.
Also you may check with the kernal. Sometimes they purposefully disable fast charging.
JvLTech said:
Looks like a problem with twrp /
Go to the concerned forum with this question
If you have Magisk / Super user, they have modules to enable fast charging
Probable cause might be your charger cannot detect the charging profiles supported by your phone. For precaution it uses the slowest profile.
Also you may check with the kernal. Sometimes they purposefully disable fast charging.
Click to expand...
Click to collapse
I flash a known good rom as charging issues are hard to troubleshoot... reduce the variables.
Or trouble shot the current firmware if you are capable of doing so. The wrong value could cause hardware damage.
Could also be a sign a hardware fault condition exists.
Inspect port with a good light and magnification for any signs of damage. Clean if any debris or dust is present.
Use a known good OEM charger and cable. That means exactly what it says. It's also how I ended up with 2 Samsung bricks/cables
A friend or repair shop might let you use theirs.
Did not root my last two phones anymore. To much problems ;-)
Camera Api2 is activated by default on the 10 pro. So bootloader unlocking also not needed.
JvLTech said:
Looks like a problem with twrp /
Go to the concerned forum with this question
If you have Magisk / Super user, they have modules to enable fast charging
Probable cause might be your charger cannot detect the charging profiles supported by your phone. For precaution it uses the slowest profile.
Also you may check with the kernal. Sometimes they purposefully disable fast charging.
Click to expand...
Click to collapse
Can you link any module? The ones by Laptapper change what it displays, but don't actually change anything sadly.
Hello Everyone,
Getting frustrated with this phone. Can't lie. I have the 80W wireless charger along with the 120W wired charger attached to that. However I'm unable to achieve the 67 watts charging this phone claims. It's getting to be very frustrating.
I tried to install EU Rom 12.5.12 Stable, and I'm still experiencing the same issue. In fact for a little bit there, I couldn't even fast charge at all. My phone suddenly stopped wireless charging at all. The animation that it's charging would be stated, but charging was extremely slow, maybe 1-2 percent in 20 minutes.
Finally got the phone fast charging wirelessly again, don't ask me how, just tried installing the firmware update someone posted, and then tried to roll back to 12.5.8, but I failed due to the phone requiring to be completely wiped first. Once restarted though it was fast charging, but still states only at 50Watts.
Can someone please help? Can I achieve 67W like the phone claims with this 80W wireless charger?
Bump, still only getting 50W charging.
Try 12.5.17
Yeah I updated..... Still nothing.
I read China has called for a cap on wireless charging to not exceed 50w and it will be reduced to 50w in all upcoming Xiaomi phones including the mi 12 ultra
Hopefully they haven't decided to apply it retroactively through the software lol
Looks like you might be onto something here.
My Mi 11 Ultra on Android 12 gets 67w charging, with a 120w charger, official 6A cable and 80w stand.
I don't understand why I can't get 67W. I also saw a video in which the guy went into battery settings and turned on quick charge. I don't have that option.
GodKingKnight said:
I don't understand why I can't get 67W. I also saw a video in which the guy went into battery settings and turned on quick charge. I don't have that option.
Click to expand...
Click to collapse
Maybe worth flashing a different ROM , maybe the latest EEU would fix the issue.... Or just use the cable
Using EEU. Tried China ROM also, no luck.
Yikes
This is due to the 50W regulation. Charging limits are baked into the new firmware.