Cloning file system without touchscreen I dropped my Samsung S4mini from great height and now my display and touchscreen are completely destroyed (I can see some colors and pixels, and could probably touch something in the upper part, but have no chance to see what I am doing). USB connection works though.

When looking for display replacement, I noticed that it is probably cheaper (and more reliable since I do not know if there was any damage e.g. to the camera) to just buy a used identical phone and clone the data.

The question is: How do I do it?

I am using CyanogenMod 13 using the SD card as internal storage (so it is encrypted). I also have TWRP 3.0 and was successfully able to adb pull /sdcard the run an adb twrp backup and pull it to my Linux machine. The files look too small to contain all data though. Booting into Odin/Heimdall mode should work as well. This kind of backup looks promising too, but I cannot use the touchscreen to do it.

Is there any way to mirror the whole system including all configs and data (even those that are missing from TWRP's Nandroid backup) to the new phone? If so, how? I am particularly worried about:


Can the data on the (encrypted) sd card be transferred? (Or is the encryption key based on some serial number of the hardware)
Will encrypted Signal chats still be readable?
Can the whole system be mirrored or do I need to find out exact builds?
I assume the "real" internal storage of old and new device is likely too small to contain the data from the sd card. Will the apps/data be split correctly afterwards? What if the internal storage of the "new phone" is different?
TL;DR No, unless you have root, which you do not have, I assume.


No
No
The whole system, no need for individual packages.
No


If you have root, you can pull the whole block-device by this command

adb pull /dev/block/mmcblk0


UPDATE: Make sure you specified all the switches for your ADB backup command:

adb backup -f &lt;filename&gt; --twrp --compress cache system data boot


You can/should append all partitions your device have, list of partitions may vary by device.

And make sure you have the latest version of TWRP, as these switches were released in March of 2017.