Extract Android Image from Samsung Galaxy S4 device
Go to recovery and create backup or use titanium back up to back up apps. One more way is to recompile rom zip with placing needed apk in installation folder. You can find more details on xda forums