How to create partition via adb

ActionDroid

New member
Nov 19, 2014
1
0
0
Visit site
Dear community:
I need serious help! I accidentally deleted (not formatted, deleted; it does not exist) the /system partition on my Nexus 7 2012 grouper/nakasi device. I need to know how to create a new partition so I can restore my device. I need to know everything: which tools to use, which commands to do, etc. How this happened: I was messing with my device to revert to stock recovery. I formatted all partitions instead of just the \recovery partition. I then wrote the boot and recovery images to the partitions, but when I tried to write to the \system partition, it said "error: out of memory". I made the mistake of instead of formatting, deleting the partition. I can't boot the device normally, but I can boot to bootloader and ClockWorkMod. If I need a different recovery to do this, I can replace CWM with that. Basically, I just need to figure out how to create a partition, and I can't install/use any apps as far as I know. Thanks so much!