[Q] how to bypass charger amperage limitation by Kernel? - Sony Xperia S, Acro S, Ion

Dear experts!
I have an Xpera S. Recently I found that some kernels (specially stock kernels) limit input amperage while charging to 1000mAh (as I explained here: http://forum.xda-developers.com/showpost.php?p=40172449&postcount=38 )
How can I bypass this limitation if I wanna use an specific kernel which has limited the amperage?
Thanks a lot in advance

mehdicvl said:
Dear experts!
I have an Xpera S. Recently I found that some kernels (specially stock kernels) limit input amperage while charging to 1000mAh (as I explained here: http://forum.xda-developers.com/showpost.php?p=40172449&postcount=38 )
How can I bypass this limitation if I wanna use an specific kernel which has limited the amperage?
Thanks a lot in advance
Click to expand...
Click to collapse
it's not true with stock kernels. even most custom kernels dont have that amperage limit.
i have xperia s and ep850. i get the amperage input under 1000mA because the phone use some of em, and (maybe) bad electricity in my home. to get more than 1000mA (the max is about 1200mA with ep850), i usually turned off the data, and set it to 2G only. and if it still wont show more than 1000 mA (i use android tuner to check the amperage), i plug & re-plug the charger. but still, the kernel can accept more than 1000 mA.

The limitation is related to the temperature.
I don't remember the right value, but more is the temperature and less is the intensity "A" , "mA" .
Sent from my LT26i using xda app-developers app

m1st3r1 said:
it's not true with stock kernels. even most custom kernels dont have that amperage limit.
i have xperia s and ep850. i get the amperage input under 1000mA because the phone use some of em, and (maybe) bad electricity in my home. to get more than 1000mA (the max is about 1200mA with ep850), i usually turned off the data, and set it to 2G only. and if it still wont show more than 1000 mA (i use android tuner to check the amperage), i plug & re-plug the charger. but still, the kernel can accept more than 1000 mA.
Click to expand...
Click to collapse
Thanks for your attention.
You know my operator only support 2G network right now and I always turn data off!
You are right! XS stock kernel does not have this limitation! I use custom Kernel (Advanced custom Kernel v17). For me this one is better for some reasons...! But there is an amperage limitation while having this kernel installed on my phone! Besides, my friend have Xperia SL with stick kenel and he also suffers this limitation!
The question is " Is there any solution or sth to bypass this limitation in kernels that have it?"
Forzaferrarileo said:
The limitation is related to the temperature.
I don't remember the right value, but more is the temperature and less is the intensity "A" , "mA" .
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
Thanks bro!
Unfortunately I didn't get what u mean! Could you explain it more clearly?
thanks a lot

mehdicvl said:
Thanks for your attention.
You know my operator only support 2G network right now and I always turn data off!
You are right! XS stock kernel does not have this limitation! I use custom Kernel (Advanced custom Kernel v17). For me this one is better for some reasons...! But there is an amperage limitation while having this kernel installed on my phone! Besides, my friend have Xperia SL with stick kenel and he also suffers this limitation!
The question is " Is there any solution or sth to bypass this limitation in kernels that have it?"
Thanks bro!
Unfortunately I didn't get what u mean! Could you explain it more clearly?
thanks a lot
Click to expand...
Click to collapse
if u encountered such kernels with limitations (from my experience, the (very) early version of Nova kernel (cm10 kernel) kinda has this limitation, but later versions dont have it), there's nothing you can do except changing your kernel. i've used advanced custom kernel (not the latest though, as i've re-locked my bootloader) and i dont think that it has this limitation, eg: charging went very fast (1200 mA with ep850). so i guess maybe change your kernel (though i doubt the newer version of that kernel has the limitation )
i think what Forzaferrarileo mean is you shouldnt charge your phone when the phone's temperature is hot, as it'll only accept lower current.

Related

Fastcharge Widget Kernel Question

Hi @all i want to use the fastcharge widget but i can only find it works with the incedrikernel that not work with the desire....is there a kernel that support this fastcharge program?
greets zocker7
zocker7 said:
Hi @all i want to use the fastcharge widget but i can only find it works with the incedrikernel that not work with the desire....is there a kernel that support this fastcharge program?
greets zocker7
Click to expand...
Click to collapse
See my Sig, maybe ul find one
Hi, I'm the developer of the widget and patches (and IncrediControl) for a number of devices. If there is enough interest I'm more than willing to create a patch for the desire.
For those of you who don't know, the patch/widget allow you to force AC charge mode at will so things like car chargers that are incorrectly detected as USB (and thus are limited to 500mA charge rate) can charge at the rate that the adapter can put out (~1A).
I was under the impression you guys had some kind of usb fast charge already, but if that's not the case I'm more than willing to make a patch.
Yes please I'm willing to b tester
Sent from my HTC Desire using Tapatalk
ahac85 said:
Yes please I'm willing to b tester
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
PM me with your email address and the kernel and ROM you are currently using.
Sent from my ADR6425LVW using XDA
chad0989 said:
Hi, I'm the developer of the widget and patches (and IncrediControl) for a number of devices. If there is enough interest I'm more than willing to create a patch for the desire.
For those of you who don't know, the patch/widget allow you to force AC charge mode at will so things like car chargers that are incorrectly detected as USB (and thus are limited to 500mA charge rate) can charge at the rate that the adapter can put out (~1A).
I was under the impression you guys had some kind of usb fast charge already, but if that's not the case I'm more than willing to make a patch.
Click to expand...
Click to collapse
i want to be test it to
one x ?
chad0989 said:
Hi, I'm the developer of the widget and patches (and IncrediControl) for a number of devices. If there is enough interest I'm more than willing to create a patch for the desire.
For those of you who don't know, the patch/widget allow you to force AC charge mode at will so things like car chargers that are incorrectly detected as USB (and thus are limited to 500mA charge rate) can charge at the rate that the adapter can put out (~1A).
I was under the impression you guys had some kind of usb fast charge already, but if that's not the case I'm more than willing to make a patch.
Click to expand...
Click to collapse
Hello chad0989,
I have seen many posts about your patch and how handy it is,
I do wonder if this can be implemented in any way on the HTC One X ?
It is so very fustrating to have bought a in car adapter that can output 2.1 amps, yet be stuck on the cursed usb charging trickle, lol.....
The two kernels I am curious about would be the:
http://forum.xda-developers.com/showthread.php?t=1647993
http://forum.xda-developers.com/showthread.php?t=1646883
I would happily test anything you could throw our way on this mate
cheers.
Hi Chad,
I too would be very very interested in a fastcharge kernal for the one x, I have the touchstone mod on my phone but USB charging is killing me lol. Happy to help in way I can.

[MOD] How to Increase Charging Current?

Can anyone advise me on how to increase charging current? My charging current is at 700 currently and sometimes it might go down to 400. Is there any way i could boost it using STweak mod or something else? Please advice.
ahkiongkc said:
Can anyone advise me on how to increase charging current charging current is at 700 currently and sometimes it might go down to 400. Is there any way i could boost it using STweak mod or something else? Please advice.
Click to expand...
Click to collapse
I'm using uNeak kernel. Downloaded the uNeak Engine app from playstore n it has a function whereby I can tweak the charging current..
Hope this helps
ahkiongkc said:
Can anyone advise me on how to increase charging current? My charging current is at 700 currently and sometimes it might go down to 400. Is there any way i could boost it using STweak mod or something else? Please advice.
Click to expand...
Click to collapse
perseus kernel has too the option of getting ur phone charged at 1800 around or the other option would be try charging from another wire and see if it increases
I'm using RedPill, for me this kernel charges the phone pretty fast, without any tweaking.
Sent from my GT-N7100
ROM: ARHD 19
KERNEL: RedPill 1.47
Just because you -can- do a thing, doesn't mean you -should- do a thing. Increasing the charging current above the stock kernel values is astonishingly stupid and is just asking for a battery fire.
Before i root my phone, the charging current is stable at 1700 or 1800 max on stock rom. I wonder if it is safe to increase it to 1700 again since that the max an original adapter can go is 2000 (2A).

Does undervolting really save battery life?

Hey guys i saw this video on youtube (http://youtu.be/5nrOWZUsEEc) that explains that undervolting wont make your phone save battery life more than 2% even with EXUV. I need explanations for this as i don't really understand.
Via the Internet
TiTAN-O-One said:
Hey guys i saw this video on youtube (http://youtu.be/5nrOWZUsEEc) that explains that undervolting wont make your phone save battery life more than 2% even with EXUV. I need explanations for this as i don't really understand.
Via the Internet
Click to expand...
Click to collapse
What part of "you won't save more than 2%" you didn't understand?
ilusi0n_ said:
What part of "you won't save more than 2%" you didn't understand?
Click to expand...
Click to collapse
Well, i don't really understand WHY it doesn't save more than 2% of the battery life. Afaik, EXUV does reduce heat and improve battery life by miles. But that's what I thought. In reality which is this, im not rly sure why that even with EXUV, it still cant save more than 2% of the battery life.
Sent from my S800 China Phone
TiTAN-O-One said:
Hey guys i saw this video on youtube (http://youtu.be/5nrOWZUsEEc) that explains that undervolting wont make your phone save battery life more than 2% even with EXUV. I need explanations for this as i don't really understand.
Via the Internet
Click to expand...
Click to collapse
I'm not technically expert with things like this but I have read an article/ blog before that undervolting may damage a phone since it was designed to work with that specific voltage. So, I actually didn't do that even UC or OC. Just saying.....
Undervolting doesn't save battery as your CPU will still try and draw the manufacturer set levels.
If it doesn't get those levels it must step down its own level which essentially means that the activity that needs processing needs more time, and consequently, more battery.
Even if you manually adjust the clock speed of your CPU down to match your new voltages, the same applies.
UC/UV is quite simply the worst voodoo that persists across these forums.
/stripped down explanation
(I didn't even watch the video)
r25txe said:
Undervolting doesn't save battery as your CPU will still try and draw the manufacturer set levels.
If it doesn't get those levels it must step down its own level which essentially means that the activity that needs processing needs more time, and consequently, more battery.
Even if you manually adjust the clock speed of your CPU down to match your new voltages, the same applies.
UC/UV is quite simply the worst voodoo that persists across these forums.
/stripped down explanation
(I didn't even watch the video)
Click to expand...
Click to collapse
we can control the hardware through software so we can control the voltages and frequencies through kernel
devs can put new frequency levels as manufacturers did (like this :https://github.com/Christopher83/samsung-kernel-msm7x30/commit/899d5a296a43a6d32c2468bba8121c3a1915dd68)
if its not true and if this method doesnt work, Why all kernel devs on XDA trying the same thing??
https://github.com/faux123/android_kernel_oppo_n1/commit/eaa6639979e1144f28c14e6de48994d41e5d20d8
https://github.com/franciscofranco/hammerhead/commit/104890313a73dae0e7d7a13975801cc568d231ad
in summary EXUV and UV are absolutly battery-friendly
and do not forget undervoltage cant damage the hardware but overvoltage(ı mean OC) can damage the hardware
sir mordred said:
we can control the hardware through software so we can control the voltages and frequencies through kernel
devs can put new frequency levels as manufacturers did (like this :https://github.com/Christopher83/sa...mmit/899d5a296a43a6d32c2468bba8121c3a1915dd68)
if its not true and if this method doesnt work, Why all kernel devs on XDA trying the same thing??
https://github.com/faux123/android_kernel_oppo_n1/commit/eaa6639979e1144f28c14e6de48994d41e5d20d8
https://github.com/franciscofranco/hammerhead/commit/104890313a73dae0e7d7a13975801cc568d231ad
in summary EXUV and UV are absolutly battery-friendly
and do not forget undervoltage cant damage the hardware but overvoltage(ı mean OC) can damage the hardware
Click to expand...
Click to collapse
I've based my reply above on this post.
It is a much longer version of what I summarised earlier.
And, sorry, even UC/UV can damage your hardware in rare situations.
It does baffle me why people spend so much time tweaking things as you mention when the net returns are negligible, and often cancelled out.
So to sum all this up. We just have to leave the CPU & voltage tables alone since it damages hardware?
Via the Internet
It's not that you have to, but that chip designer recommends it.
r25txe said:
I've based my reply above on this post.
It is a much longer version of what I summarised earlier.
And, sorry, even UC/UV can damage your hardware in rare situations.
It does baffle me why people spend so much time tweaking things as you mention when the net returns are negligible, and often cancelled out.
Click to expand...
Click to collapse
That was also the POST that I'm referring to that I've read :good:

Xthermal Mod - Fast Charging + CPU + GPU Tweaks

Original thread for Nexus 6P is located here:
http://forum.xda-developers.com/nex...t/xthermal-mod-fast-charging-cpu-gpu-t3433784
Hi Guys,
After a very successful journey from Redmi 1s to Nexus 6P, I'm now here with my Xthermal Mod for Mi 5.
I'm personally testing the mod since a week and will be rolling out all the profiles soon.
Till then I need your help to test it out in different conditions.
Please join and help me to make it more better this time.
I'm attaching Fast Charge only profile as of now.
Edit: Xthermal Performance + Back to stock added...
baszu said:
I've tried this with MIUI 8 (6.9.29), but Ampere still showing only 1500.
Click to expand...
Click to collapse
1. Stock charger supports max 2000 mah.
2. Max Charging current is controlled by the Kernel itself.
As soon as battery level increases the charging current goes down.
You might have observed that if battery level is below 50% then charging is super fast but after 60% it is very slow.
If you (your apps) do not use the handset resources much while charging then you do not need this mod.
If you use your handset while charging (which is strongly not recommended) example for gaming, browsing or chatting etc then the temperature rises slowly slowly.
The stock limits are very aggressive and it starts throttling and your cpu, gpu and charging speeds goes down.
So this mod comes into play here and delays the throttling a bit resulting in better cpu, gpu and charging results.
Does it produces more heat?
Heat is directly related with performance. This mod itself doesn't produce any heat but yes delaying the throttling means the handset is able to use all your resources even if temps rises hence may result in a bit more heat + more performance.
The results are more amazing if you have a fast charger.
I believe there is no risk in flashing this but still don't blame me for all your actions.
******************OTA doesn't break after flashing the zips***************
contact me:
telegram @ravinder0003
email [email protected]
Thanks
Reserved
Is there any requirements? Miui? Cm? Kernel?
Please upload the "back to stock" for mi 5. Thanks
I don't see "thermal-engine-8996.conf" file in my rom. Assume I can just delete the file (or re-install rom) to revert to default.
By the way, do you know what's default value for each before this mod? Hope this mod not increase the threshold too much. Worry it will boom.
I've read original thread, what I understand is our phone will charge faster but trade off with hotter while charging.
D:\adb>adb shell "su -c 'ls -l /system/etc/themal*'"
/system/etc/themal*: No such file or directory
Click to expand...
Click to collapse
fuxmen said:
Is there any requirements? Miui? Cm? Kernel?
Click to expand...
Click to collapse
I'm using this with miui 8...
I haven't gone through cm ...
So as of now miui 8 only...
Will flash cm tomorrow and will.update the zip...
hiepthong said:
Please upload the "back to stock" for mi 5. Thanks
Click to expand...
Click to collapse
Ok wait bro
I've tried this with MIUI 8 (6.9.29), but Ampere still showing only 1500.
Waithing performance profile
op updated...
waiting for perfomance profile + fast charging .
kmzway000 said:
waiting for perfomance profile + fast charging .
Click to expand...
Click to collapse
Added to op...
Thx for supporting
Is this the mod with both fast charging and xtreme performance baked in?
Can i flash both of them at once?
northropgrummanrq180 said:
Is this the mod with both fast charging and xtreme performance baked in?
Click to expand...
Click to collapse
Yupp...
Fast charge is there in every zip except in back to stock which have stock file...
hiepthong said:
Can i flash both of them at once?
Click to expand...
Click to collapse
No need to flash both as fast charge is there in performance zip too...
Just flash performance zip.on miui 8 6.9.29 i feel the phone faster then before,fast charging work good,just for test from 20%to100% 50min.Good joob
Just flashed it too. Phone seems much faster will see about charging and battery drainage but I prefer faster phone over battery always
Would you mind explaining technically what those mods do? e.g.: governor, upper and lower frequency limit, etc. Some of us like to know the geeky details
@leledumbo
Read the op bro...
If u need more info then do ping me or contact me on telegram ...

[KERNEL][NB1][9] fuHKernel [30-JUNE-2022]

fuH Kernel is a custom kernel for Nokia 8 (NB1) running Android 9 Pie, based on official HMD sources.​
I am not responsible for any software damage, lost files, dead Nokias, rusted Civics, thermonuclear war and rotten bananas. YOU ARE INSTALLING THIS KERNEL ON YOUR OWN RESPONSIBILITY!​
Click to expand...
Click to collapse
##############################
Features 26/6/2022
##############################
- NTFS R/W support
- F2FS R/W support
- schedutil governor
- CPU Overclock and Underclock (from 175MHz up to 2,6GHz for big cluser, and up to 2,1GHz for little cluster!)
- GPU Overclock (up to 850MHz)
-KCal support
- Magisk 24.1
- OrangeFox Recovery
##############################
Requirements
##############################
- A working driver for your device.
- Unlocked bootloader
- Latest Android update (from october 2020)
##############################
Installation Instructions
##############################​
- adb devices
- adb reboot bootloader
- fastboot devices
- fastboot flash boot fuHKernel_by_zbieracz2000_300622.img
- fastboot reboot​
Click to expand...
Click to collapse
- ENJOY!
Download:
http://aligstor.pl/files/fuHKernel_by_zbieracz2000_300622.img
Source:
https://github.com/zbieracz2000/fuHKernel-NB1
Base source:
https://www.nokia.com/phones/en_int/opensource/​
Thx dude! I'll try it as soon as I can.
small feature request though: Can you implement voltage control? might be useful to prevent thermal throttling.
Ayhem-GH said:
Thx dude! I'll try it as soon as I can.
small feature request though: Can you implement voltage control? might be useful to prevent thermal throttling.
Click to expand...
Click to collapse
That's actually one of the features I'm currently working on
i was waiting for this thank you
I've just added support for KCal, and extended GPU OC up to 850MHz
Hello. This will not be ported to A12 builds, right?
TechNoobForSale said:
Hello. This will not be ported to A12 builds, right?
Click to expand...
Click to collapse
It will be in the future
zbieracz2000 said:
It will be in future
Click to expand...
Click to collapse
Are you God?
zbieracz2000 said:
It will be in the future
Click to expand...
Click to collapse
Brooooo do it ASAAP
MADY PLAYS said:
Brooooo do it ASAAP
Click to expand...
Click to collapse
Admittedly many people are using A12 Treble ports, me included. Stock is a very unfair ROM, because for example it caps big at 2.36GHz instead of the advertised 2.45.
Furthermore, there isn't really a good Kernel on A12 NB1 ROMs. They all underperform compared to stock. So zbier has the power to change a world in his hands.
The issue with this Kernel is that when I try to use 2592MHz big, as soon as I open an app, max goes back to 2361. Little cores do listen but when opening an app, they always boost to 2112 regardless of the limit I set. Maybe this is MPDecision problem?
Also GPU overclock brings no improvement at all over stock 710MHz
TechNoobForSale said:
The issue with this Kernel is that when I try to use 2592MHz big, as soon as I open an app, max goes back to 2361. Little cores do listen but when opening an app, they always boost to 2112 regardless of the limit I set. Maybe this is MPDecision problem?
Also GPU overclock brings no improvement at all over stock 710MHz
Click to expand...
Click to collapse
What app do you use? It works perfectly on EX Kernel Manager
zbieracz2000 said:
What app do you use? It works perfectly on EX Kernel Manager
Click to expand...
Click to collapse
Smart pack Kernel manager. I also tried Franco Kernel manager and the phone still doesn’t listen. I’ll try EX.
Still nothing. Big cpu goes back to 2361MHz whenever I open any other app after the kernel manager. GPU at 850MHz no performance improvement
On Schedutil governor the big CPU overclock "works"
What I mean with works is that the frequency does go above 2361MHz stock, but it doesn't ACTUALLY reach 2592. It simply reaches the max stock limit for MSM8998, which is 2457MHz and has been capped to 2361MHz on Nokia 8. I noticed from the Geekbench scores.
GPU doesn't OC at all. 850MHz = 710MHz and 770MHz = 670MHz. The system is ignoring the values.
@TechNoobForSale
Can you confirm whether fast charging works for you on this kernel? I have tried both fuHKernel and Umbrella kernels but neither of them seem to charge more than 1.1A with a Quick Charge 3.0 plug. When I previously used Treble custom ROMs I could charge at the full 3A maximum.
P650SE said:
@TechNoobForSale
Can you confirm whether fast charging works for you on this kernel? I have tried both fuHKernel and Umbrella kernels but neither of them seem to charge more than 1.1A with a Quick Charge 3.0 plug. When I previously used Treble custom ROMs I could charge at the full 3A maximum.
Click to expand...
Click to collapse
Can't confirm or deny. Mine charges at 1.4A off of a powerbank. This Kernel is essentially stock Kernel but with "Overclock" (not really, it's just stock Kernel with an ATTEMPT to overclock).
Try different plugs.
TechNoobForSale said:
Can't confirm or deny. Mine charges at 1.4A off of a powerbank. This Kernel is essentially stock Kernel but with "Overclock" (not really, it's just stock Kernel with an ATTEMPT to overclock).
Try different plugs.
Click to expand...
Click to collapse
Alright, thanks. I have actually retested just now using a dedicated USB voltage tester with a different plug and cable. Here are my findings: With a standard 2.4A non-Quick Charge charger it charges at 1.4A which is the same as what you're getting from the powerbank. If I use my Qualcomm charger it increases slightly to 1.5A. This is still half of the 3A speed I was getting on the custom ROMs.
I will try reflashing the stock kernel and see if there's any difference. Otherwise, I have no idea why I am not able to achieve the full charging speed anymore.
In fact, the only reason I use the custom kernel is for KCAL colour adjustment. Because my phone has a third-party replacement LCD and I have to use kernel adjustment to increase the saturation. I'm not fussed about the overclocking or performance enhancements.
P650SE said:
Alright, thanks. I have actually retested just now using a dedicated USB voltage tester with a different plug and cable. Here are my findings: With a standard 2.4A non-Quick Charge charger it charges at 1.4A which is the same as what you're getting from the powerbank. If I use my Qualcomm charger it increases slightly to 1.5A. This is still half of the 3A speed I was getting on the custom ROMs.
I will try reflashing the stock kernel and see if there's any difference. Otherwise, I have no idea why I am not able to achieve the full charging speed anymore.
In fact, the only reason I use the custom kernel is for KCAL colour adjustment. Because my phone has a third-party replacement LCD and I have to use kernel adjustment to increase the saturation. I'm not fussed about the overclocking or performance enhancements.
Click to expand...
Click to collapse
The reason I’m using custom kernel is because being locked at 2361MHz instead of getting what 835 was rated for was making me angry. Also I wanted frequency control.
I think that maybe Nokia 8 doesn’t support QuickCharge 3.0 which is why it doesn’t manage 3A. Probably a thing introduced by A12/A11 ROMs, I used to use them but I reverted back to stock partition table because they perform worse.
TechNoobForSale said:
The reason I’m using custom kernel is because being locked at 2361MHz instead of getting what 835 was rated for was making me angry. Also I wanted frequency control.
I think that maybe Nokia 8 doesn’t support QuickCharge 3.0 which is why it doesn’t manage 3A. Probably a thing introduced by A12/A11 ROMs, I used to use them but I reverted back to stock partition table because they perform worse.
Click to expand...
Click to collapse
Yeah I think you're perhaps right. It's probable the Nokia 8 doesn't even officially support Quick Charge despite having the capabilities to do so. It's been so long since I used the stock ROM that I don't remember. It doesn't state anything about QC on the phone's box.
I tried switching off the phone completely and retesting the charging speed in offline mode (without booting Android) which gives the same speed of around 1.4A. So I guess that confirms it is nothing to do with the kernel.
I agree it's frustrating that the clock speed is limited in the stock kernel. I don't understand why they do that. The reason I switched back to stock ROM is mainly due to the WiFi signal. In the custom ROMs the signal is terrible and constantly disconnects from the router. I don't have this issue in stock ROM. I also hate the Material You redesign in A12 and refuse to upgrade to that version.

Categories

Resources