Reset Partition Table for Nexus 7 2013 (Flo) To cut a long story short I wanted to make the system partition larger on my tablet PC as it's far too small to do anything practical on. I used ADB push to put Parted into the root directory and proceeded to resize some of the partitions, but it has failed terribly to the point I have bricked my tablet. I have luckily enough found some guides on the internet to after I got QHUSB_BULK in Windows Devivce Manager. At the moment I have managed to execute the command

fastboot boot twrp-3.2.3-0-flo.img


but this is temporarily running from RAM as I'm unable to flash any of the partitions as they are "missing".

This is the my original partition table:-

https://pastebin.com/rhhjZtef

From some reading on the internet Linux can only have 4 primary partitons. I'm no expert in Linux. I know some basics but partitions is out of my area of expertise. All I know is that I have 30 partitions that I need to re-create and I don't know what partition type to set them to; primary, logical or extended.

I've played around with the three partition types but I get an error message saying "Too many primary partitions".

Could someone shine some light here please?

Many thanks

Will
I was in the same position as you re a total resizing of the partition table > System to Data.

The following posts will help you.  The first is a script to recreate all the required partitions.  The second is a method to get the bootloader functioning from a Hard Brick.

Worked on this for hours last night and have now had successfully recovered back this morning.

Good luck.

Mo

https://forum.xda-developers.com/showpost.php?p=75465233&amp;postcount=222

https://forum.xda-developers.com/showpost.php?p=75360854&amp;postcount=199