yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] kennypow3rs:
I really enjoyed the software but the hardware was just piss poor. Imagine webos running on a sensation or Droid razr. I'm sure it would be a long time before sourced is released like the guy below my op said but i have high hopes for this.
[General Questions and Answers] cainhunpi:
webos will be fine, like meego.
[General Questions and Answers] Cooknn:
Ryan Hope of webOS Internals has webOS running on an EVO3D :eek: Once the source code is available to the public the gang is confident that it will run on a variety of devices.

Can't wait to get back to my old favorite :p
[General Questions and Answers] LordManhattan:
Running and running Mister.. It boots. Nothing else. Touchscreen, camera nothing works (yet).
[General Questions and Answers] Jordo de Owens:
I was thinking.... It's not just us that could use the source. What if companies look at WebOS and decide to try and make it viable. I know the odds of that are so far from possible that it's laughable, but that would be ironic.
[General Questions and Answers] ClubDownforce:
It... It's beautiful!
[General Questions and Answers] kennypow3rs:
I loved the os on my palm pre but the hardware choice was stupid.
[General Questions and Answers] KayxGee1:
Exactly. They just didn't go well together. I would switch to WebOS if it was up and running on my Thrill. It's beautiful and simple, and if another manufacturer had it from the beginning, it might of had a really good chance.

I wish I was a developer. If I knew how to develop I would be all over this project. I guess I'll just have to sit back and watch. :(
[General Questions and Answers] royalt1217:
Webos porting

Yes, I too anxiously await the future of open-sourcing webos, I still rock my pre2 and hope that developers may revive it with fresh apps. WebOS is still the best multi-tasker and I hope to have more apps in order to multi-task with :cool: I have yet to give up on the actual Palm hardware, but any webos development is greatly appreciated.
[Hardware Hacking General] TRusselo:
This post will show you how to MOD an un-official Samsung USB wall charger into one that will enable full speed charging on Samsung Galaxy S phones.

8 $ ebay cheap wall battery charger power output specs:

350 mA battery charging speed - doesnt matter...

800 mA USB port.. THIS IS WHAT YOU WANT!! more the better. nice if the phone would use all of it... Need AC Mode... (thats what this post is for!)

Samsung wall USB charger is only 750mA! AND it will set AC mode.

The theory behind it is with samsung galaxy phones and "official chargers":

if the middle 2 data pins on the usb, while getting 5v to the outer 2 pins it tells the phone that it is an *official samsung* charger and enables full speed charging.

without the middle 2 pins connected (with or without data flow) will not charge at full speed. even if you supply 800mA it will only charge around 350mA

well there have been posts of cable hacks to do this or adapters... ha! tape and tinfoil... or hack the cable apart! And you cant use the cable with the PC anymore!

heres my mod... bend 2 pins.. DONE! solder if you know how for better connection!

***only use this charger for samsung phones, not all USB devices will like this, -may dammage some- as the samsung phone is PROGRAMMED to know what to do if the 2 data pins are shorted out***

Phone confirms AC charging NOT USB NOW!!

Now i can leave my Samsung Charger upstairs, and this one downstairs.

You know how long it takes to charge an extended battery on USB mode? almost 5 hours! or at 350 mah in the battery charger? almost 7 hours!

I was able to charge my extended battery (says 2500mah) from 8% to 100% in about 2 hours 45 min over USB cable (AC mode) with the screen off. In the official samsung charger it was a little over 3 hours. just in the battery cradle it takes around 5-6 hours. Very much improved!
[Hardware Hacking General] AdamOutler:
Good guide. I did the same modification to my Verizon car charging cable. I don't have Verizon, but I swapped an iPhone car charger with a verizon user who got rid of his Motorola Android.

This mod works on any charger. The device will always display "Charging(AC)" and this enables full charging capability.

I modded my cable by taking apart the microUSB connector and dropping a bit of solder between pins 2 and 3 on the back side of the connector. It works great.

Do not do this on a cable which may be connected to a PC. If the PC is older and does not have overcurrent protection, it may fry the USB Power Supply.
[Hardware Hacking General] nst6563:
You could also use one of those short usb extender cables that come with some usb dongles. I did that with one of mine and it works great. Don't even have to take the cable apart just carve out a small part of the plastic connector between the pins and bridge it with solder. Or use a conductive pen- haven't tried that though.
[Hardware Hacking General] jwleonhart:
Wow i'm so lost, so does this apply to the vibrant...

You know maybe I have had my foot up my ass for sometime then..

I ALWAYS charge my phone with the USB charger connected to the computer and it seems to take forever...

You must forgive me but I always leave my phone charging on my PC everynight and have actually lost the AC power wall plug portion...

Will connecting this through the USB of the computer also only supply the 350mA instead of the full 800mA like your saying, or will the computer always deliver the sexy amount?

Thank you sir, you are a genius?
[Hardware Hacking General] Rebellos:
Most of PCs provide up to 500mA on single USB port or on pair of ports, haven't heard about mainboard which doesn't throotle it and let power drain go higher.

However, you can mod usb cable with 2 male and 1female connectors, that kind for powering external hard drives.
[Hardware Hacking General] jwleonhart:
Here is a picture of the pinouts in a usb cable..

Now obviously you have the 5V, Ground, and data, but then where would you add in more power?
[Hardware Hacking General] CastleBravo:
The talk about connecting the pins 2 and 3 is only an indication to the phone. Normally, usb ports from computers, etc. will only provide 500 mA of current. Typical wall adapters provide 1000 mA of current. Samsung phones will normally only draw the smaller amount of current, unless pins 2 and 3 are shorted, which tells the phone to charge at the full rate of 1000 mA.

So pin 1 still carriers power, it just carries more power when connected to a source capable of providing the power (e.g. most wall adapters), and pins 2 and 3 tell the phone to accept the increased power.
[Hardware Hacking General] TRusselo:
if the 2 data pins arent joined the phone WILL NOT receive anymore than 350. this tells the phone "im an official charger, take more!"

if you are going to mod a cable to have the 2 data pins joined, make sure the 2 pins shorted on the phone end and NOT THE PC END of the cable, and NOT BOTH EITHER. shorting the data pins on the computer side can blow your usb port.... or more.
[Hardware Hacking General] JKiAppDesign:
Thanks

Thanks, Worked For Me!
[Hardware Hacking General] Lukiqq:
Same thing you can make via kernel by adjusting max8998 regulator driver. I've done it in my Galaxian kernel :)
[Hardware Hacking General] TRusselo:
Do you mean to build a kernel that has different settings for the USB resistor input? What/where was the specific change you made?
[Hardware Hacking General] Lukiqq:
Voltage regulator and the charging current part: max8998-private.h, a file that contains charging values in mA:

#define MAX8998_ICHG_90	0
#define MAX8998_ICHG_380	1
#define MAX8998_ICHG_475	2
#define MAX8998_ICHG_550	3
#define MAX8998_ICHG_570	4
#define MAX8998_ICHG_600	5
#define MAX8998_ICHG_700	6
#define MAX8998_ICHG_800	7

Battery driver part: s5pc110_battery.c and defined AC and USB charging rates (modified by me to 800mA when on AC and 550mA on USB):

if (chg->cable_status == CABLE_TYPE_AC)
max8998_write_reg(i2c, MAX8998_REG_CHGR1,
(MAX8998_TOPOFF_10	<< MAX8998_SHIFT_TOPOFF) |
(MAX8998_RSTR_DISABLE	<< MAX8998_SHIFT_RSTR) |
(MAX8998_ICHG_800	<< MAX8998_SHIFT_ICHG));
else if (chg->cable_status == CABLE_TYPE_USB)
max8998_write_reg(i2c, MAX8998_REG_CHGR1,
(MAX8998_TOPOFF_25	<< MAX8998_SHIFT_TOPOFF) |
(MAX8998_RSTR_DISABLE	<< MAX8998_SHIFT_RSTR) |
(MAX8998_ICHG_550	<< MAX8998_SHIFT_ICHG));

One more thing in i9000 kernel sources: drivers/usb/gadget/android.c

#ifdef CONFIG_USB_ANDROID_SAMSUNG_COMPOSITE
/* soonyong.cho : This value of max power is referred from S1 */
[COLOR="Red"].bMaxPower	= 0x30, /* 96ma */[/COLOR]
#else /* original */
[COLOR="YellowGreen"].bMaxPower	= 0xFA, /* 500ma */[/COLOR]
#endif /* CONFIG_USB_ANDROID_SAMSUNG_COMPOSITE

from where I removed the condition to make it look like that:

[COLOR="YellowGreen"].bMaxPower	= 0xFA, /* 500ma */[/COLOR]

BEFORE:

AFTER:
[Hardware Hacking General] TRusselo:
Now that's the kind of stuff we like to see!

NOW ENGLISH IMAGE (non android related)...
[Hardware Hacking General] TRusselo:
Is there any particular reason why you did not move USB speed to match the PC speed? Was it to avoid drawing too much power from your USB port?
[Hardware Hacking General] Lukiqq:
Yes and no, because single USB port cannot deliver more than 500mA, but if you use two ports simultaneously, you are able to use full 800mA charging current which is limited by the kernel driver so there is no way to charm the phone.
[Hardware Hacking General] xHausx:
If you have any USB 3.0 ports those are able to go up to 900mA from a single port
[Hardware Hacking General] SAI Peregrinus:
I just tried this and it worked perfectly, thanks! Very easy soldering job.

EDIT: Used my $8 radioshack iron, it was plenty. No need to break out the Hakko station for this.
[Hardware Hacking General] TRusselo:
some kernel devs on ICS SGS project seem to think the above kernel change to up the USB mode to 500mah (less than AC mode) could cause the battery to explode, or damage the phone, or fry the USB ports of the computer..... and the batteries *like* being charged slower anyway... lithium ion batteries... but its all "simple chemistry" according to "one of them".. ignoring simple electronics...

i dont know where to start on how many things are wrong with what they think.... but I am not a kernel compiling god like them..... so I am no-one to tell them different.... (in their eyes).

making the suggestion of the above kernel change. led to a 20 minute bashing session of how i am wrong.

i just wanted to suggest, and leave. not really caring if they liked it or not. but ignorance is a powerful foe.

anyone wanna explain for me?

makes me re-think donating to people i dont know.
[Hardware Hacking General] Lukiqq:
So now you know why you didn't saw any info about my interesting finding... ^^
[Hardware Hacking General] TRusselo:
we need to have software devs that understand hardware...

im too much in the middle. lol
[Hardware Hacking General] d3w4m4l4m:
good info and guide...thanks i must try it
[Hardware Hacking General] stenky87:
thank you for the giude, I have also 2 extra battery, and i i charge the battery and the phone together the charger reach its "fusion Temp" (), not funny..
[Hardware Hacking General] K.AuthoR:
This thread is amazing and I'm doing this to all of my non-Samsung chargers ASAP. I do have a question though, and I'm hoping someone here could answer it. In my experience, I've noticed that some Samsung phones, when connected to a PC, will only do charging mode, and won't show that it's connected to a PC (ie, usb storage and debugging never show up), with different computers, and with different Samsung phones. I have narrowed it down to only being a possibility of the cable I'm using not being Samsung branded because the phones show up with PC options when I switch to a Samsung cable. Is there a physical difference in the cable itself, or am I just crazy?
[Hardware Hacking General] TRusselo:
Some cheap USB cables that you get with other devices only have two wires and will only charge. For example the USB cable that came with my Bluetooth headset to charge it, and it will not allow data to my phone.
[Hardware Hacking General] Stylezor:
U gave me the idea, and i asked a friend yesterday and we used another charger, and it works fine... i hope my battery dont get destroyed by doing that. Im testing with an older phone.
[Hardware Hacking General] TRusselo:
you battery will be fine. it makes the phone thinks its an official charger. nothing else.
[Hardware Hacking General] deepakpatil001:
thanks for sharing info....
[Hardware Hacking General] samotronta05:
This mod seems to worked fine,

but can anybody confirm that it is really necessary to connect D+ and D- rather than just having a defined potential at the datalines.

I can remember i modified a charger years ago by simply soldering the D+ line to GND in order to make the device entering the charging mode.
[Hardware Hacking General] TRusselo:
Been up an official Samsung charger this is how it is done.

Also if you want to read up on AdamOutlers UART work there's 100 different resistance values you can put between the two data pins to cause the phone to do a 100 different actions..... A pure short between the two pins without resistance causes AC charging mode, and a resistance of 301K Ohm will cause the phone to go into download mode (you know, a Download mode jig....)
[Hardware Hacking General] MHTSOS:
This exact mod also works for HTC phones and chargers. ;)
[Hardware Hacking General] mitsosgrk:
Nice guide
[Hardware Hacking General] roboMr.Burns:
Hey, very inspiring. I quickly measured my HTC charger for my Desire HD.

I found out that the resistance between pin 2 and 3 is 0 Ohms so now ill open up my cheap hama Usb charger and add an MEGAcharche butten! Thanks a lot!
[Hardware Hacking General] mbush78:
Where is it?

I know this thread is a few months old but...

Where is this screen at?
[Hardware Hacking General] TRusselo:
device manager > universal serial bus controller > usb hub > properties > power
[Hardware Hacking General] harmonikas996:
Wooow, nice, i love it! Thanks man.
[Hardware Hacking General] mbush78:
Thanks!!.........ten :)
[Hardware Hacking General] Entropy512:
Shorting D+ to D- is the official way to signal a "dumb" charger per the USB battery charging standard.

That's why HTC MicroUSB chargers will usually get recognized properly by Samsung devices - because they both follow the MicroUSB charging standard.

Prior to MicroUSB, things were more complex - many devices used a normally unconnected pin on the MiniUSB port to signal a dumb charger. HTCs grounded it I think, Garmins and TomToms connected a resistor between it and ground.

iDevices use nonstandard methods (D+ and D- held at two separate voltages) which is why many Samsungs think they are a PC USB port.

Samsung tablets are a bit nonstandard - they expect D+ and D- to be held at 1.2 volts instead of merely shorted together.
[Hardware Hacking General] fone_fanatic:
Saw this from the front page. I used to do this for my Dell Streak since it wouldn't charge from generic car usb chargers.

Anyway, here's a good site to get more info about USB pin outs http://pinouts.ru/Slots/USB_pinout.shtml
[Hardware Hacking General] junpeikawada:
I did this, but my screen messed up. samsung galaxy ace, even when I connect it to my PC
[Hardware Hacking General] TRusselo:
how is your screen messed up?

does it only happen when charging? what type of charger did you modify?

did you solder the connection?

are you sure you didnt cross 6v+ power to the data line(s)?

< that would do it
[Hardware Hacking General] cowbutt:
Quite correct - for confirrmation, see http://en.wikipedia.org/wiki/USB#Power:

The Battery Charging Specification of 2007 defines new types of USB ports, e.g., charging ports.[44] As compared to standard downstream ports, where a portable device can only draw more than 100 mA current after digital negotiation with the host or hub, charging ports can supply currents above 0.5 A without digital negotiation. A charging port supplies up to 500 mA at 5 V, up to the rated current at 3.6 V or more, and drop its output voltage if the portable device attempts to draw more than the rated current. The charger port may shut down if the load is too high.

Charging ports exist in two flavors: charging downstream ports (CDP), supporting data transfers as well, and dedicated charging ports (DCP), without data support. A portable device can recognize the type of USB port from the way the D+ and D- pins are connected. For example, on a dedicated charging port, the D+ and D- pins are shorted. With charging downstream ports, current passing through the thin ground wire may interfere with high-speed data signals. Therefore, current draw may not exceed 900 mA during high-speed data transfer. A dedicated charge port may have a rated current between 0.5 and 1.5 A. There is no upper limit for the rated current of a charging downstream port, as long as the connector can handle the current (standard USB 2.0 A-connectors are rated at 1.5 A).

Before the battery charging specification was defined, there was no standardized way for the portable device to inquire how much current was available. For example, Apple's iPod and iPhone chargers indicate the available current by voltages on the D- and D+ lines. When D+ = D- = 2V, the device may pull up to 500 mA. When D+ = 2.0 V and D- = 2.8 V, the device may pull up to 1000 mA of current.[45]​
[Hardware Hacking General] brooksyx:
cool. I have that same wall charger. Might have to give it a try.
[Hardware Hacking General] zzoinks:
Does anyone know if the same goes for HP's Touchpad? It only wants to charge at full speed using the OEM charger.

-Brett.
[Hardware Hacking General] Rukbat:
To get back to the "hardware vs. chemistry vs. software dev" situation:

Charge rate for a LiIon battery should be 0.5C to 1.0C (with certain cells limited to 0.8C). So a small 1500mAh battery can be charged at 800mA with no problem. (0.8C would be 1,200ma.) Larger batteries can be charged at higher rates with complete safety, so an 800mA limit is completely safe for any battery used in a smart phone (as long as the battery isn't defective and has at least 1,000mA rated capacity).

It has nothing to do with software - it's strictly what's safe for the battery (both from the viewpoint of maximum life and from the viewpoint of not making a pocket bomb). With batteries getting larger (higher capacity) all the time, 800mA charging gets safer all the time. It's not safe for a USB 2.0 port, but it's safe for a charger that can supply 800mA or more.
[Hardware Hacking General] TRusselo:
your first paragraph was great! but there is no VS. situation. just different options for different folks.

second not so much, plugging a device that can handle more than 500ma will not hurt a usb port. usb supplies what it does, and cannot be "over-drawn". the device will run with 500ma (or less) or it wont. some high end gaming mother boards can supply 1.5A per port.
[Hardware Hacking General] youlingyo:
great! thk u very much.
[Hardware Hacking General] Rukbat:
I would hope so, but I've seen some cheap motherboards damaged by trying to draw more than they can handle from the V+ and V- pins of a USB port. Not all motherboards current-limit the ports. I'd make it a rule of thumb to never try to draw more than 500mA from a USB 2.0 port unless the documentation for the motherboard specifically states a higher limit. And, of course, you don't want to short the data pins on the motherboard, which requires that the data leads be cut somewhere between the connectors if the cable is a 4-wire connector. (Many of the ones that don't "see" the phone as a disk drive have only 2 wires - the 5 volt ones. You can short the pins at the phone end on those with no problem. But, again, not unless the motherboard documentation claims to be able to supply at least 800mA, as far as I'm concerned.)
[Hardware Hacking General] TRusselo:
i like that description much better! thanks for adding your information to this thread!
[Hardware Hacking General] Entropy512:
I agree. My monitor's USB hub was blown by a cheapo DealExtreme GPS that pulled more than 500 mA. The same device causes my Rosewill USB hub to immediately shut off to protect itself.

Pulling more than 500 mA from a PC USB port without following the explicit standards for permitting higher current draw is a bad idea. (There are standards for how PCs with improved current handling capability signal that to a device.)
[Hardware Hacking General] breaderic:
good work man!

It works for my SGS i9000:D

charge much more faster than before
[Hardware Hacking General] crazyren:
Most of the new phones uses [D+] & [D-] to determine what kind of charger you are using depending on the voltage supplied. One of the notable example is an apple device's official charger supplies [D+] = +2V & [D-] = -2.8V for rapid charging. ref.(ladyada.net/make/mintyboost/icharge.html). Shorting out that might work but i would say not a good idea might no work with all devices.
[Hardware Hacking General] Entropy512:
Shorting D+ to D- is THE STANDARD - It's defined by the USB specs (i'll post a link later). It should work on every device out there, but doesn't work on iDevices because Apple refuses to follow published standards. It probably doesn't work on some other devices - again, because they don't follow the standard.
[Hardware Hacking General] E:V:A:
Just to have it said one time too many, rather than some poor newbie getting their device fried. Just because your phone is a Samsung, doesn't necessarily mean that you can hack yourself a better charger. Only if that Samsung is a model recent enough to conform to the USB accessory/charger standards mentioned above, can this work, and even then the outcome may be unexpected, as different models contain different power management (PMIC) chips, current/charger detectors etc.

Not sure this is such a great idea, as I believe the value you just changed, refers to a standard downstream ports (SDP) current limiter, where a portable device can draw not more than ~100 mA current after digital negotiation with the host or hub. [EDIT: That was probably wrong too, at least after skimming through the 600+ pages of USB2.0 spec's.]

In this case, I think it refers to using the phone as a host (OTG) to something else. Thus changing this value, you risk blowing your phone USB port. Or did I misunderstand something?

(Was that hack meant to replace the USB charger hack?)
[Hardware Hacking General] TRusselo:
The title of the thread and the first post clearly state for Samsung only anyone else is doing so at their own risk.

However Other members have stated that is is part of the USB standard, If that is true then it will not damage any phone unless they did not conform to USB standards.

As for the kernel I did not produce it and I am not a kernel developer, So as to its correctness, i have no idea. However no it was not meant to replace a rapid charger, It was to let the phone charge faster when plugged into a USB port on the computer, While still being able to transfer data.
[Hardware Hacking General] bfgudrich:
Thanks

Enviado desde mi MT11i usando Tapatalk
[Hardware Hacking General] nk_blu:
I dont know how to detect exact input current from chargers, but I dont really see a difference between Apple's USB charger (iPhone/iPod) and the USB charger that came with my Galaxy S2 (i9100). Battery level is still going down while Flash video streaming over 3G with same brightness on same browser. If anyone knows how I can measure input current, I'll happily do some more testing.

Thank you.
[Hardware Hacking General] TRusselo:
Six pages isn't a lot to read and on page 3 or 4 is what you're asking for
[Hardware Hacking General] hb-kevin:
What pins would I connect with this car charger? Thanks!