View Single Post
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#14
Originally Posted by Rusnak-COBRA View Post
Hmm, my HW is also a different, as I plan to migrate from 16GB to 64GB...

anyway, 2 of 3 partitions are exactly the same.

Correct me if I am wrong, isn't kernel also stored on the phones memory, in one of system partitions?
Moreover, this is why I'd like to make a dd (bit to bit) copy a restore it in same way, so everything would be stored exactly the same way as was in old N9.

but reading your answers, i amf afraid more and more...
The booting kernel is normally stored on MTD chip partition, it is a different than the MMC device that your OS and runtime SW reside.
However, with ubiboot it is a bit different. Ubiboot kernel replaces the original kernel on MTD, and the actual runtime kernel is stored on your OS partition. (this way you can change kernels without reflashing the device)

To copy the device functionality from one to another (or to copy different PR level SW on the same device) you do not need to deal with MTD partition at all.
All that is required is that you back up and restore your mmcblk0p2 (rootfs partition) and mmcblk0p3 (home partition)
You do not need to do anything to mmcblk0p1 (MyDocs partition)

Because the filesystems on partitions 2 and 3 are normal ext4fs, you do not need a bit-to-bit-exact copy, for example a TAR archive is enough.