[Lenovo P780] Supermatt01:
Guide to set up 64 gigabyte SD cards to work with Lenovo P780 and TWRP.

*Disclaimer I'm not responsible for damages to your device or tools or computers, all things done at your own risk*

Hello, I had been using a 32 gigabyte SD card for a long time, and it was getting so full that I was becoming frustrated with deleting items to make space for pics or a new backup. I thought, wouldn't it be great if I could use a 64 gig card instead. So I searched the forum and found the answer a few pieces at a time till I got the whole picture. So I thought to simplify things for the next Joe that wants to give it a go.

What you'll need: A Lenovo P780 *rooted*, TWRP (I'm using the ROW build 2.7.1.1), Laptop/PC with a card reader, a 64 gigabyte SD card, and minitool partition wizard (http://www.partitionwizard.com/free-partition-manager.html) The free version will do fine.

First step install the partition tool.

Second put your SD card into the card reader and clean it. Open up the Start Menu and type “diskpart” in the run box. Press enter. You’ll be prompted by the Windows UAC to authorize admin access to the DISKPART tool. A command-prompt-like window will open up, only the prompt will say “DISKPART”. At that prompt, type “list disk”. After identifying your SD card’s disk number, enter the following command “select disk #” where # is the disk number of your SD card. Whatever commands you execute after this point will only make changes to the selected disk; now would be a good time to double check you’ve selected the right disk just to be extra safe. Next, now enter the command “clean”. This will wipe the data and the partition too. Please backup anything you do not want to lose (I suggest starting with a new and empty SD card) Now launch the Minitool partition wizard. Find your SD card in the UI and highlight it with right click, Then navigate to the create selection. In the create partition section you will find many options in drop down lists to configure your new partition. Select the format type you'd like. I suggest FAT32 for now ( you may also be able to get exFAT working if it is set to primary, I will test that later.) the cluster size should be 32 KB (that is also the default in case you're not sure what to do with that one) Be sure you set the type to primary and not logical (If it is on logical TWRP won't mount it). Name your drive something if you like in the label field. After all that push the apply check mark at the top left of the UI and wait. It should work fine in the recovery and the ROM of your choice.

To set the SD card to exFAT: The mini wizard can't do that, but if you have already set the SD card to primary you can just reformat using the the format option in the drives and removable devices section. You right click on the SD card icon and navigate to format, pick exFAT format and run the format tool. The SD card will stay primary, so you won't have any problems with TWRP. I backup all files first and then simply mass restore them after. (flawless victory) Happy formatting. :)

Okay after some testing I noticed a problem with exFAT and TWRP. It can read to restore from the card but can't write files to the card, so backups won't take. I'm updating my recovery to see if it is just because I'm using an older recovery image. Nope. Sorry guys only works with FAT32.