Can anyone here please port or modify the apk available at http://xdaforums.com/showthread.php?t=1339564 to make it work with Moto G or any other non HTC device?
We already have a motorola made flashlight app in market since 2009. Give it a try.
Droid LED Flashlight