I've tried using file explorer with hidden and system files viewable to copy across all files from the 32GB to 128GB microSD card but when I try to view offline videos in YouTube for example it's greyed out and I have to re-download.

  • Don't use the Windows Explorer. Use a HDD clone program like TrueImage.
    – Robert
    Sep 12 '18 at 17:06
  • I tried Macium Reflect but that didn't work. It doesn't support microsd or exfat. Sep 14 '18 at 1:05

This works on Linux and Android. On Android you need one of the following:
a) Two micro-SD card slots
b) One micro-SD card slot and one USB cardreader with a USB-OTG adapter
c) A USB hub with two USB cardreaders on a USB-OTG adapter

On Android Termux from the Play Store can be used for this, on Linux open a terminal.

  1. Use lsblk to find out the drive names for your two SD cards.
    Here I will assume sdd is your old SD card and sde the new one.

  2. Clone the old card onto the new one 1:1: dd if=/dev/sdd of=/dev/sde bs=1M

  3. Resize the partition with fdisk - Execute fdisk, then hit d to delete the partition (this won't actually delete any data!) and return to confirm. Then hit n to create a new partition. Select p for primary and then hit return three times to create the partition. Then hit w and return to write the changes.

  4. Resize the new partition: resize2fs /dev/sde1

That's it. Please note that if you want to do this on your android device, you need root.

  • Will this work for EXTFS file system? I didn't think Linux supported it as it needs paid licence from Microsoft. Sep 13 '18 at 3:11
  • @DarrynBrisdaz EXTFS has nothing to do with Microsoft. EXTFS was introduced "April 1992 with Linux". It works flawlessly on Linux. Maybe you confuse it with NTFS? NTFS works on linux too, it needs drivers and I'm not sure about Android (might be included by default in android though) but on Linux you can install the ntfs-3g driver for full compability.
    – confetti
    Sep 13 '18 at 11:51
  • My apologies I meant EXFAT - google.com/search?q=exfat Sep 13 '18 at 19:34
  • @DarrynBrisdaz EXFAT is also very well supported on Linux and Android by default, you can clone and resize it without any additional drivers. (Edit: apparently that's not true for all Linux distributions. Here the packages exfat-utils exfat-fuse should be installed)
    – confetti
    Sep 13 '18 at 19:37
  • Does resize2fs support resizing on exfat? These comments on another question suggest not - android.stackexchange.com/questions/201708/… Sep 19 '18 at 18:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.