yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] Ferrum Master:
In other words. If you will be using USB port and cable as current source, The specification asks for Data + and - to be shortcut. And normally phone detects it and also the fifth sense pin and then high current charging must kick in. (although our LG phone uses also it to enter download mode)

If you use the widget and enable high current charging, you'll fry out your motherboards USB port probably...

Another warning. If someone has read about Lithium Cell charging methods AVR based documentation for example. Such high current charging decreases your battery cycle life. So consider those facts first of all!

And those with car chargers... especially cheap ones... in most of these devices are SMD LM317 or LM7805 etc family inside... it will dissipate 7V@1A=7W so these sticks will fry out and also blow up despite it can deliver 1.5A - the catch is with proper heat sink.

So So So... dear coders... consult your hardware guys before acting for the good deeds... the cons are more than the gain.
[LG Optimus 2x] chad0989:
Absolutely not. It would have no negative effects on your battery at all as the current isn't increased beyond what it is for AC charging.

Also you notice nowhere that my recommendations were for using it to charge from a motherboard. Despite that, the current pulled from the board is ultimately limited to the fuse at the port. Even if a device successfully tries to pull more than the board can provide (which the board won't put out anyway), the PPTC will cut off power to the device. :rolleyes:

So So dear hardware guys, please read before jumping all over someone.
[LG Optimus 2x] Ferrum Master:
Then please why I have to repair broken motherboards that Ipad2 have fried a lot? Why? Because they are cheap mate, and fuse is the last resort. And No current limitations aren't implemented there...

I said once again. This 0.5A setting is the most green one, as many manufacturer use as a law!

The fact that some make a PR and tell our device charges faster doesn't overthrow simple chemistry and physics. Ok it will work. Charging the cell with higher current, raises temps and other chemical emissions and it deteriorates faster! So the philosophy is simple for them, the user will kill its battery faster in order to buy a new phone eh? Nice! :p
[LG Optimus 2x] chad0989:
I agree with you that it shouldn't be used to charge from a motherboard, although many have taken the risk without issues.

Essentially it is a software version of the charging cables with bridged data lines ("charge only") that many buy and have no issues with. I'm just bridging the data lines in software so to speak. The current draw is never increased beyond the phone's spec. The most important thing is that the end user knows the source they are drawing from is capable of providing the current.

I do appreciate your concern for the community and desire to educate everyone. We need more people like you around.

So with that, each individual can make an informed decision on their own. If anyone is still interested in the mod, shoot me a PM if you want to test.
[LG Optimus 2x] LarsPT:
Yup, there isn't much math to be done here.

Higher current means higher temps, and O2X already has trouble with temps as it is.

However, to each his own, and as long as people are aware of what they're doing there is no such thing as too many options... although me personally I would stay away from this one.

EDIT: Wait... so you're saying that O2X charges at 1A when connected to a wall charger and at 0.5A when connected with USB? I get the point now. So you only risk damaging the motherboard, and not the phone.

I'm guessing it would be more interesting for O2X users to do the opposite! A 'Force USB charging' because from what I see a lot of people get SoD while charging their phones overnight and this might fix it :D

What do you say Chad? Would you be interested in implementing this feature? I think I would use it!
[LG Optimus 2x] Ferrum Master:
Yes, you have to set up proper warnings! Because there are always American(no offense) like users who will try to dry their own cat in microwave, because it wasn't prohibited in instructions :D. They will accuse you with headlines - you didn't say... etc - I know it from my personal work. :D
[LG Optimus 2x] owain94:
This is also usefull for my USB 3.0 ports am i right =D??
[LG Optimus 2x] JohnnieDarko:
+1 for force 500mA mode of this would fix the overnight crashing and massive overheat that follows. I don't know if the problem is related to the current level during charging though.
[LG Optimus 2x] Ferrum Master:
Your are now showing off? :D
[LG Optimus 2x] owain94:
Shhhtt :$

Nah just asking :D

Vadonka and spica come here right now!!

OTF pack idea!
[LG Optimus 2x] eniux:
forcing usb charge mode sounds like a really good idea :D

Verstuurd van mijn LG-P990 met Tapatalk
[LG Optimus 2x] salisbury_steak:
For so many years of using rechargeable batteries, I haven't been a fan of post-purchase "fast charging". But then again, I live in a tropical countries so non-air-conditioned room temperatures come quite warm (especially since we're entering summer now).

I must say that I love the "force USB charging" idea though. I rarely get those, but, it's another troubleshooting possibility for the many users encountering charging/overheating BSODs.
[LG Optimus 2x] owain94:
also if you charge the battery faster the battery life will be worse then if you charge it slow

so fast and a bit worse battery life

or fast it slow and a bit better life

you can really feel those difference if you live in a country where it is quite hot

you can try it yourself

charge one day using wall charger and charge next day using computer usb you will feel the difference
[LG Optimus 2x] Ferrum Master:
Jep Owain is right... I remember old times at my work 6 years ago Nokia 8800 (RM-13), it had a tiny battery and it was the time when chargers changed from impulse type from transformer core types... so with the older slow charger the battery held for 15-30% more. (I suppose the battery is hot, and then the voltage is also artificially higher and in reality it isn't charged to its maximum).

But as I said, don't overdose with it especially with car chargers and motherboards. The phone will be fine. Battery should be changed after a year anyway... it costs for me $10 anyway... :p
[LG Optimus 2x] salisbury_steak:
Lucky guy. The O2X battery costs roughly US$ 30 here. :(
[LG Optimus 2x] chad0989:
So you guys are saying you get an SoD if you charge overnight on AC, but not on USB?

Reading through the battery driver it looks to me that if the battery gets too hot, it swiches to USB charge current, if it continues to be too hot, the charger turns off so I wonder if your issue is somewhere else. Anyone try to record a log (cat /proc/kmsg > /sdcard/kmsg) overnight and see if you get any messages along the lines of:

[OVERHEAT]: Change Charger setting to USB mode

or

[OVERHEAT]: Deactive Charger
[LG Optimus 2x] owain94:
you are perfectly right but maybe we should not even reach that temperature some o2x devices are really sensitive and have those annoying BSOD's and some doesn't ever had one the only way we will know for sure is testing it out i guess
[LG Optimus 2x] langhaardack:
I'd like to help testing, but my phone got its last BSOD a looooong time ago, and i think i wont be able to reproduce that now. ;/
[LG Optimus 2x] Ph4nt0m_:
My experience with bsods when charging is quite different. I had them only when I was using CM9 (owains kangs). It was like every second or third charge...

On the other side it never happened to me while using AOKP.
[LG Optimus 2x] LarsPT:
Wow Mister Mungulz! I'm not sure if Ferrum has a learning disability (don't think so) but you surely have a politeness disability!!

If Ferrum says he has had to repair motherboards due to iPad's that charge at 1A through USB, who are you to say otherwise?

Anyways, everyone knows that a battery that charges slowly is a healthier battery than one that charges fast. I'm glad so many people liked my "idea" :)

What's wrong with a force USB charge option, Mister Politeness disability? In the end it's the users decision, like you said, right?
[LG Optimus 2x] Barnabe619:
The better solution would be to choose the charging intensity each time a usb is plugged. I would also like to see a 500mw charging mode (I only charge my phone from midnight until 7 am so a 4 hour charging time dosen't bother me at all)
[LG Optimus 2x] mike-o2:
Same for me. A switch for this would be really cool. In most cases I charge the phone over night anyway. If a slower charge could make it last longer or would be beneficial for the longevity of the battery - yes, I'd gladly use that.

There are some occasions where I love the fast charging. For example when you travel and have only 1h time for a charge (hotel, airport, café).

A switch to select your preferred charging method would be awesome.

@Mungulz

I seriously think you should re think your tone. Read your message again, take a deep breathe and I think you know what to do.
[LG Optimus 2x] chad0989:
I'll see what I can do. I had a couple of people PM me who were willing to test. Waiting for responses. A three way toggle (slow, auto, fast) shouldn't be too much more difficult than the two way I proposed. If anyone else wants to test and has a good way to monitor the current draw from the charger (either physically or if you have an app that will do it, each phone is different so I'm not sure what apps may work for you) feel free to send me a PM.
[LG Optimus 2x] Micronuub:
Please, create it.

Then the USB in my PC wil charge a lot faster!

Win!
[LG Optimus 2x] wkpark:
yes. the battery driver already do Force USB charging

* critical overheat temperature : 55ºC => charging deactivated

* overheat temperature to switch USB charging mode : 45ºC

* reactivate charging temperature from deactivated state : 52ºC

I think the overheat temperature(55ºC) is too high for p990 device.
[LG Optimus 2x] spica1234:
Yes its too high

I have set it to 490/430. And that's indeed helping with charging bsod:)
[LG Optimus 2x] akyp:
There is a trick which I use to, um, trick the phone to pull 1A from pretty much any USB 2.0/3.0 port on any PC:

Simply plug the cable into the phone really slowly, until it says charging. Then fully plug in the cable.

That's it. It works with the cable that comes with the phone, and at least one other 3rd party cable that I have. You can confirm it with any battery monitoring app.

EDIT/DISCLAIMER: May damage your motherboard/USB hub. Use at your own risk.

Interestingly, the same trick doesn't work on my colleague's Samsung.
[LG Optimus 2x] kitty's_daddy:
Confirmed. :D

I think a current is not the key,but the key is usb_id. (4th pin of usb connector)

Here is a usb circuit of p990.

If you want force AC charging then use only 1&5 pin of usb cable.

Also the charging current is controlled by RT9524.

It is a Linear Single Cell Li-Ion Battery Charger IC and check datasheet. :)

So you need not worry about your phone, but I think this way may damage your PC because the typical USB charging current is 0.395A but AC mode is 1A.

It's not good condition. ;)
[LG Optimus 2x] bespinhal:
What a damn good thread!! God I love our community!! :D
[LG Optimus 2x] new2city:
I am all for this app, however, I would prefer to force slow charging as well ;)

BTW, how much lower can the current go while maintaining charging times of around 8 hours(sleeping charging)? Or is it just 2 values possible, 500mA or 1A?
[LG Optimus 2x] akyp:
Agreed. Will modify my previous post. :)
[LG Optimus 2x] LarsPT:
Three way switch chad!!! That would just be awesome!
[LG Optimus 2x] Ferrum Master:
Guys you also did skip my suggestion about car chargers. I won't suggest fast charge also with them.

And always remember to disconnect the phone during the ignition of the engine also! It is 95% cause of broken fuses in the phone itself. (the other ones are lightening and disappearance of zero AC line at home...)
[LG Optimus 2x] chad0989:
Working on it. Sent something to one tester so far. Waiting to hear back.
[LG Optimus 2x] Mungulz:
Will do, I drive a 1969 kombi so probably gonna be power spikes every now and then.
[LG Optimus 2x] owain94:
chad i will test tomorrow i didn't see your pm i am sorry
[LG Optimus 2x] kitty's_daddy:
Please see the usb circuit. :)

The Power line is V_chg combined with some parts.

FL102 is a EMI/ESD filter(NFM18PC104R1C3), V103 is a varistor(ICVL0518400V500FR) and 2 capacitors.

These mean EMI/ESD(Surge) Protection.

LG hardware engineers are not bad. ;)

added: I found v103 at my su660 manual. I guess this applied to p990,too.
[LG Optimus 2x] chad0989:
Just an update for you guys. I'm still waiting to hear back from the tester. If I don't hear back by the end of today I'll try to get the materials out to another tester.
[LG Optimus 2x] owain94:
can you give me a source patch??

your zImage doesn't work for me
[LG Optimus 2x] chad0989:
I sent you a PM.
[LG Optimus 2x] bespinhal:
Hope this project is still alive... :)
[LG Optimus 2x] chad0989:
Just want to give you guys a head up that we're almost there for a 3 way toggle (slow (USB), auto, fast (AC)). I just have to get confirmation of a couple more things and update the widget.

Hang in there. I didn't forget about you guys.
[LG Optimus 2x] rcosta111:
Hi All,

It will be also an option not to charge it trough USB? The idea is only connect the USBcable to access the SD card and not using it to recharge the phone.

Thanks and keep the good work

Regards
[LG Optimus 2x] owain94:
chad your patched worked fine for me i am repling this here becouse my pm didn't send so this way iam sure you can read it :o

but please help me out on this one 0=automatic 1=force AC 2=force USB right?

so i can use right values in the Settings app

EDIT:

My ROM is ready for this =D
[LG Optimus 2x] chad0989:
That's correct. Looks quite nice also. What changes did you make to the patch itself? You had mentioned that you made some changes.

Have you tested current draw to make sure that its definitely going to the selected mode?
[LG Optimus 2x] owain94:
my changes screwed up i am so bad with kernels so lets not talk about that :o

sometimes it was not switching properly (1/50 times it is aceptable in my opinion)

but it was working
[LG Optimus 2x] bespinhal:
Starting to see some white smoke coming from this thread... :D

Good job mates, thank you!! :)
[LG Optimus 2x] andresilva:
Nice addition to the options.

Can you make it multi-rom capable? To work in stock and cm7 also would be perfect.

It's only me or when the phone is in charge through pc usb it tends to be more hot?

Nice work.

PS: Nice to see Portuguese people also in here :)
[LG Optimus 2x] owain94:
it is a kernel change?

so it is already "multi-rom capable"
[LG Optimus 2x] chad0989:
I need one more tester. PM me. Preferably someone running the SetiroN kernel, because that's what I've been using as my base.
[LG Optimus 2x] silentmelodies:
Well, any progress on this? ;)
[LG Optimus 2x] chad0989:
I believe its pretty much complete. Just need to do a little more testing.
[LG Optimus 2x] FaceTheSlayer:
I hope this would solve my problem that I have when using car charger and having GPS navigation on with max brightness and 3g data on. In this case battery isn't charging at all, more like staying at same level or very slowly discharging.
[LG Optimus 2x] Mungulz:
If your phone registers the source as AC this app wont do anything.

If the phone registers your charger as USB, app will allow you to force to AC resulting in faster charge.
[LG Optimus 2x] chad0989:
That's the exact scenario that prompted me to develop these patches. So most likely your charger is being detected as USB and this should help.
[LG Optimus 2x] chad0989:
Almost completely done with testing. Just need to confirm that the current draws are correct for each mode and I will be releasing the patch and updated widget.

As it stands right now it will work like this:

Auto: Default behavior

Force AC: AC power detected, no data (usb transfers disabled, no adb etc)

Force USB: USB power detected, no data (same as above, don't want your phone to try to transfer when slow charging from AC, also provides security)
[LG Optimus 2x] tomsi91:
I want this to give my battery long happy life with force USB charging from wall charger.
[LG Optimus 2x] silentmelodies:
Apparently it won't make your battery last any longer than it does now. Only you'll be able to charge faster.
[LG Optimus 2x] Mungulz:
I think he means the battery itself will last longer as AC charging increase wear rates. Who cares tho lawl, batteries are $4 and last months if not years?
[LG Optimus 2x] owain94:
Yes it will

When you force USB charging it will charge~ twice as slow

AC = 5v

USB = 2.5v

The slower you charge the battery the more energy it can hold

Sound weird but it is true you can look on Wikipedia for it

USB charging results in 10-30% more battery life and ~twice as long charging time

But who cares most likely your at sleep while charging
[LG Optimus 2x] silentmelodies:
Wow if that's true, then it'll be a great boost for our already not so good battery life. I don't mind charging slower for when I'm sleeping :)
[LG Optimus 2x] kruppin:
You are correct about everything, except the volts. Would be hard to charge at all with that low voltage.. usb is 5 volts also (which is why they started to make phones with that in the first place). It's the amps that important. With the wall charger you get around 1 amp and with usb its MAX 0.5 amp depending on computer and such, it can even be as low as 0.2. My old laptop had that. :p

But yeah, would be nice to have this feature, becuase not only do you get longer battery life, but it will not break as easily either. If you only use fast charge your battery will die alot sooner.
[LG Optimus 2x] owain94:
you're right my bad

USB 5 volt

USB 3 10 volt

but a USB cable can only let max ~5 volt through

it was something like that

am i right?

Edit:

it is to long back i'd study electronics :p
[LG Optimus 2x] babaandnana:
@owain,

I have a usb 3 slot in my laptop and it only registers 0.9 Amps using any micro usb to usb cord (stock LG data cable or even with a cheapo $1 CDRKing cable). :)
[LG Optimus 2x] chad0989:
Just finished my 10th and last final exam for the semester, so I have a week off before I go back. Hopefully I can finally get this finished, there's one more bug to work out. Sorry for the delay.
[LG Optimus 2x] eyronic:
I hope it gets implemented on cm9 kernels. :D
[LG Optimus 2x] Mungulz:
Please don't say it's a bug that makes your phone explode :P
[LG Optimus 2x] chad0989:
Haha, nope. Just switches back to auto by itself after a bit.
[LG Optimus 2x] chad0989:
Bump, I got positive confirmation that the latest version of the patch fixes the bug. Hopefully this works out for everyone! The o2x was a much more difficult mod than many of the other devices. Read the OP for all the info.
[LG Optimus 2x] owain94:
Let me guess nvidia?
[LG Optimus 2x] chad0989:
Yes, their stuff is all over the place and pretty confusing.

FYI, I changed the path too, so its /sys/kernel/fast_charge/force_charge_mode now
[LG Optimus 2x] owain94:
thanks for letting me know mate and great work

0 default detection

1 force AC

2 force USB ??
[LG Optimus 2x] chad0989:
Yep, that's the same. Just the path changed so its easier to distinguish between devices that have 3 way toggles instead of 2 way.
[LG Optimus 2x] :
activating fastcharge, can i use charger 1A and 500ma?
[LG Optimus 2x] chad0989:
Fastcharge on = will pull as much current as it can up to what the factory max current allowed is.

slowcharge on = will pull ~500mA regardless of charging source.

You can use any mode with any charger depending on what you're looking to do.
[LG Optimus 2x] :
slowcharge on, always? danderous?
[LG Optimus 2x] zerocoolriddler:
No, it should give better Battery as fast charging reduces Lifetime of Li-Ion Batteries.
[LG Optimus 2x] :
ok, open terminal, write su enter, paste:

echo 2 > /sys/kernel/fast_charge/force_charge_mode

enter

its ok?
[LG Optimus 2x] owain94:
If you have a kernel with fhe patch included then yes...
[LG Optimus 2x] :
yes, 1205111210-ETaNa_OC_OTF-3.0.y

---------- Post added at 08:08 AM ---------- Previous post was at 07:38 AM ----------

sorry for my ignorance, then to charge via USB as the current mode is? fast?
[LG Optimus 2x] eyronic:
0 Automatic. Usb for usb. AC for AC.

1 " FORCE " AC. Even with a USB charger.

2 " FORCE " USB. Even with an AC charger.
[LG Optimus 2x] :
thanks, use echo 1 always, thanks
[LG Optimus 2x] eyronic:
It's better to use 2 when you're doing an overnight charge.
[LG Optimus 2x] Harsh:
New Harsh kernel will also have it... specifically one which comes with Owain's Build 61 or 62. Thanks to chad0989, i tested it yesterday, and have to say its great help to have force USB always, as I am never in hurry to charge, only do at night.
[LG Optimus 2x] babaandnana:
Hi chad,

I'm on vadonka's kernel and your patch works at least for a few minutes (called echo 2 prior 2 plugging to the wall, using LG's supplied charger), then after 30 minutes I went back to my phone but it went from 20% to 42%. Checked spare parts again and it now says AC charging.
[LG Optimus 2x] chad0989:
Can anyone else confirm this behavior? That is the same bug that delayed the release originally so if it still exists I will have to do some further modification and release a new version of the patch.

Thanks for the feedback!
[LG Optimus 2x] owain94:
I can check could you tell me hoe much minutes the delay was originally??

By the way it think a 3 hour reset would be a smart idea

Just for the people who are not that good in remembering stuff
[LG Optimus 2x] babaandnana:
If it helps i'm on may 11 beta release of vadonka's kernel. not the latest.

You are doing a great job and I would love to see this work. :D
[LG Optimus 2x] vadonka:
no matter, the latest only have some frequency adjustment for better battery life, the force charging part is untouched

but i think the issue is related to the LG battery charger driver. because im also add the force charging code to the DS driver but doesn't have this problem.
[LG Optimus 2x] Harsh:
Charging selection changes at battery reading update. So if it charges 1% it revert back to automatic. So patch needs to be fixed.

@vadonka it maybe working for ds battery driver as they have faulty readings sometime, so when they are not updating it works.
[LG Optimus 2x] hadi_rena:
Confirmed in my device USB charge turn into AC charge after some time. For the exact time I don't know.

Charged used: Stock LG charger

Kernel : Vadonka Beta 12 May

Force USB Charge value: 2

-- UPDATED --

It seems in my case USB Charge only hold for a few seconds and suddenly changed into AC Charge mode. I looking in Battery Monitor history and said that the whole time charging was in AC mode.

Sorry for my bad english.
[LG Optimus 2x] chad0989:
Okay. I'll work on it some more and release a new patch.
[LG Optimus 2x] spica1234:
I guess its battery polling interval responsible for delayed status update?
[LG Optimus 2x] chad0989:
I'm going to try to work on this some more this weekend and fix the bug. I've just been really busy. Hang in there.
[LG Optimus 2x] eyronic:
Btw, even if I use the USB cable, connected to the PC, it still goes to AC charging after some time. And I'm using force USB charging. Haven't tried auto and force ABC.

(No one said it yet. :P)
[LG Optimus 2x] rachit_rox:
Please Help!!!

I am using the stock LG 1A Charger and my phone is only being charged at the same speed as usb charging i.e. at 0.5A. Please help as to how to restore it to full 1A charging???

I am running Nova HD RC16-29 with Spica's Kernel RC-1R

(But i did once flash Harsh's Latest Kernel 2205)

---------- Post added at 09:13 AM ---------- Previous post was at 09:01 AM ----------

Just tried charging again this morning with the LG AC Charger...it started charging at 1A but after charging 3% it again got back to charging at .5A...Please Help
[General Questions and Answers] MeisterRoerich:
This is a stupid Question about this forum. What does |OP| behind the title mean?. What about a thread about abbreviations in this forum. I could do this if you can tell me abbreviations, which are often used here.