Question: I have a car cigarette extension cord with a USB out on it as well. The USB out though will not charge my phone, which is a bit annoying. I had a look at the circuit inside in the device and it looked something like this:

![Power supply circuit](https://i.imgur.com/faPZh30.png)

I'm guessing the reason the phone won't charge is the 78L05 chip is only rated for 100mA. Therefore I was thinking of changing it to a 7805 chip, which is rated for 1A. Would this idea stand up to my reasoning? Or am I likely to damage any equipment I connect if I go down this root?

Also, if I go about this, will I also need to do something with the capacitor and the resistor on the board?

Edit:

Thanks for all the answers.  

I didn't think of the heating problems I might have in my scenario above.  

Its looking like the best solution for the device is the one Nick Alexeev gave below if I'm going to stick with the device I have.

I have also changed the diagram above as the resistor is actually 360 ohm.

Also, I am including a image of the device itself below as requested to show exactly what I was talking about.

![Extension Cord Device](https://i.imgur.com/BkWeRoW.jpg)

Answer: 
Two things. One, the 7805 and 78L05 are identical in operation and pinning, the only significant difference being the current they can operate at. There is heat concerns with higher current, but the TO-220 case that the 7805 comes in handles more heat. Essentially, they are drop in replacements for each other.

**BUT the more important part is that most newer phones hate dumb chargers.** Older chargers tend to simply have the power pins connected. It's not the 100mA limit that prevents charging, but lack of signaling on the data pins. Newer chargers tend to have switching regulators instead of linear regulators, which are more efficient and have little to no heat issues, but also signal to the phone what kind of charger it is.

For the most part, it would be cheaper, faster, and safer to buy a 1 dollar usb car charger on ebay then it would trying to replace the 78l05 with a 7805. Or spare 5 bucks for the same charger at a retail store (Walgreens, CVS, etc).
A better alternative is by using SMR88xx ([eBay link](http://www.ebay.com/itm/DC-DC-converter-mini-SMR88xx-high-current-replacement-7805-7809-1-Lot-10pcs-/181181177608)), it's has higher power, less dissipation heat.