set sdcard0 as primary and EXTERNAL_STORAGE for switch storage patches to work.
Don't allow /rom to be formatted in the recovery

/rom contains most of the information that specifically identifies the
device, so formatting it would be a Very Bad Idea [tm].

Change-Id: Ibcf5a847985b84aadbc34cf87a9a34cc1dee8ded
set ro.sf.hwrotation=270 for boot to portrait (need to enable portrait orientation in kernel config)
vold switch storage settings (required patches) Advanced storage settings patch series:
[1/4] vold: allow swapped storage paths at vold init
      http://review.cyanogenmod.org/56515
[2/4] Advanced storage: vold swap storage paths
      http://review.cyanogenmod.org/56516vold switch storage settings (required patches)
Advanced storage settings patch series:
[1/4] vold: allow swapped storage paths at vold init
      http://review.cyanogenmod.org/56515
[2/4] Advanced storage: vold swap storage paths
      http://review.cyanogenmod.org/56516
[3/4] storage: allow swapping primary storage for apps
      http://review.cyanogenmod.org/56950
[4/4] Advanced storage: swap primary storage for apps
      http://review.cyanogenmod.org/56951

[3/4] storage: allow swapping primary storage for apps
      http://review.cyanogenmod.org/56950
[4/4] Advanced storage: swap primary storage for apps
      http://review.cyanogenmod.org/56951