Works perfectly I've messed up my gallery by creating a .nomedia file in my sdcard root directory and most of my media no longer shown ever since then. I deleted the .nomedia and the gallery still messed up. Then I used this and rescan my sdcard. Now my gallery is back to normal!
June 27 2015