Forget action shots with cell phone cameras (unless it has a "sport shooting" mode). The blurriness in the background (second shot) was because you must have moved the camera. As I said before, the camera recognized the dark scene and kept the shutter open longer. If you moved the camera during that time the result is blurry photo. Fireworks shots will not get too much better unless you have a tripod or other stable object and know how to take them. I've taken many long exposure shots on trashcans, railings, shelves, etc. It's not rocket science but it does require an advanced knowledge of how your camera settings works and how to manipulate the exposure triangle.