Filesystem level clone onto another Jolla Phone leaves wireless non functional [Solved: via blocklevel clone] [not relevant]
I have two Jolla Phones, one with a broken screen. To migrate all data from the broken device to the other I booted them into recovery mode and performed a filesystem level copy (rsync) of the root filesystem /dev/mmcblk0p28
and the /home
subvolume.
After adapting the filesystem UUID in /etc/fstab
(since I did not reformat or do a blocklevel copy) the new device boots fine with the old data, but when I try to enable WLAN I only get the error message "Networking is not available. Please restart device". Bluetooth works, I have not tried GSM yet.
Where else are hardware specific files which I should keep? Are there other btrfs subvolumes or partitions with that data? Would a blocklevel copy of certain partitions help or would I risk bricking the phone?
Edit:
I gave up on the filesystem level and copied all raw partitions. I initially wanted to follow the partition list peremen posted and only do low-level clones of the non-boot and non-recovery partitions, but I ended up copying all of them in the end. Note that I left /dev/mmcblk0
alone and copied over all the p1-p28 partitions individually (via netcat/nc). The WLAN connections had to be re-entered because the MAC-Address changed, but everything worked. The source phone was on v2.0.1.11, the target phone maybe had that version once, but was reset to 1.x, afterwards I upgraded to 2.1.0.11.
Has anybody successsfully cloned a Jolla Phone using USB or through a desktop terminal, offload old phone, load onto new phone?
I did a simple copy paste entire /nemo/HOME directory which was a disaster because on the new phone the permissions werent properly applied based on original file settings and i had to recursively fix all the messed up folder, file permissions.
DarkTuring ( 2017-02-20 05:10:10 +0200 )edit@DarkTuring:
i made a dd once and it worked after some smaler issues: link text
BlaeX ( 2017-02-20 16:19:32 +0200 )edit@BlaeX thats great, could you walk me and Tajo through your process and describe the issues you faced?
DarkTuring ( 2017-02-20 18:14:13 +0200 )edit@DarkTuring: jupp, i write it together this weekend
BlaeX ( 2017-02-24 14:46:49 +0200 )edit@BlaeX: I ended up doing practically the same, nc -l -p 1234 < /dev/mmcblk0pXY to dump the data in recovery mode over the USB-IP connection and the equivalent to write it again.
Tajo ( 2017-05-07 17:48:49 +0200 )edit