How to prevent deletion of /data/data/ while Uninstalling Apps (ROOTED DEVICE)
if you are already rooted why dont you use titanium backup
Steps :


Install Titanium Backup ★ root
Launch it and grant root permissions
locate to the app and backup it
now close titanium backup and uninstall app
install the 2nd apk(the one with different signature)
launch titanium backup and restore the existing backup but restore DATA ONLY not whole app