Skip to content

Instantly share code, notes, and snippets.

@tuukka
tuukka / gist:7a81112ef161ee77eccb
Created August 13, 2014 10:55
steps to create new btrfs filesystem for a Jolla phone
1. On a phone that's still working:
mount -o subvolid=0 /dev/mmcblk0p28 /mnt/
2. On a Linux laptop:
ssh jolla tar c /mnt/factory-@ >factory.tar
ssh jolla tar c /mnt/factory-@home >factory-home.tar
3. On the working phone again:
umount /mnt