How to prevent deletion of /data/data/ while Uninstalling Apps (ROOTED DEVICE) When I push a command adb uninstall com.pckg the /data/data/com.pckg is deleted, but I want to preserve the folder w/o using adb uninstall -k com.pckg as I need to install another app with same package name &amp; different signature which conflicts with -k cmd.

I tried mv /data/data/com.package /data/data/com.package1 but com.package1 got deleted after adb uninstall command. 

I don't want to copy the folder to a new location because it takes a lot of time.
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