There are LineageOS and TWRP on Asus smartphone.
How to make a sector-by-sector backup? And how then to recover?
Just /data is encrypted and TWRP does not open the partition (the copy makes the file, not sector by sector).
There is an option with ADB , but all the instructions says that you need ROOT to have. I tried without ROOT and it works, but how to restore the question...and then turn into a brick after a sector-by-sector recovery.
And the second question: how to open an encrypted partition (sector-by-sector copy) in ubuntu ? There is not dm-crypt (sort of).