External VCC for USB cable while keeping data connection
No, this won't work. You need to make or buy so-called "accessory charger adapter", or "ACA". Here is the correct arrangement:



It might be though that your smartphone doesn't support this ACA arrangement, this method is old.