[Nook HD, HD+ Android Development] e.mote:
I'm hoping the below will help somebody. I wanted to enlarge /system partition to accommodate a larger gapps, as well as reclaim space from the useless (400+MB) system image. I used REPIT for this. You need two files,

REPIT info: https://xdaforums.com/nook-hd/development/nook-hd-repit-enlarge-data-partitions-t3503615

a. Download delete-backup-of-stock-rom-hummingbird-ovation.zip from https://github.com/Lanchon/REPIT/issues/59

b. Download lanchon-repit-20170115-factory=same-system=1G-cache=112M+wipe-data=same-ovation.zip from https://www.androidfilehost.com/?w=files&flid=49911 (2017-01-15 or later). Rename file to lanchon-repit-20170115-factory=32M-system=736M+wipe-cache=32M+wipe-data=max+wipe-ovation.zip. For hummingbird, change 'ovation' references to 'hummingbird'.

Notes: REPIT takes params from the filename. The 1st zip is used once to nuke factory image. The 2nd zip shrinks /factory to 32MB, enlarges /system to 736MB enough to store gapps nano, sets /cache to 32MB, and the rest to /data.

WARNING: The steps below will wipe EVERYTHING from your Nook for the clean install. Back up as needed.

1. Copy the above two files, along with the OS and GApps files, onto SD card. Insert SD and boot Nook to recovery. (Note: amaces' twrp 3.0.3 does not work with REPIT. I use 3.1.0 found at https://dl.twrp.me/ovation. Hummingbird is at https://dl.twrp.me/hummingbird. 3.0.2 has been reported to work, as does 3.0.1 found in amaces' folder.)

2. Flash delete...zip to nuke factory image. (This only needs to be done once.)

3. Flash lanchon...zip to resize/wipe partitions. First attempt from SDcard will fail. Switch to internal storage, go to /tmp and reflash a 2nd time. (This only needs to be done once, unless you want to resize any of the partitions again.)

4. Select Home > Wipe > Adv Wipe. Select all except /Micro SDCard (there shouldn't be any content left after step 3). Wipe. I found that OS install can fail without this step.

5. Flash lnos. When you flash OS image, /system is reset to original size.

6. Select Home > Wipe > Adv Wipe. Select /system. Select 'Repair or Change File System' > 'Resize File System' > Resize. This resizing step needs to be done for subsequent clean (image) installs.

7. Flash gapps. The above /system size was calculated for nano. For larger gapps, calc size needed (672MB + 1.3 * (desired gapps size - pico gapps size)) and increase /system partition accordingly, in increments of 32MB.

8. Reboot.

Stock configuration: factory 448MB, system 672MB, cache 464MB, data rest of 16/32GB. To revert back to stock, rename the REPIT file to this configuration and reflash.

==========

Notes on bugs found in lnos_ovation-ota-NOF26W.170226:

. Increasing Display Size to Larger or Largest will pivot status bar icons to vertical, so you can only set it to Large (and increase Font size) for better legibility.

. Installing any version of SuperSU will cause bootloop. I've tried a bunch--system/systemless/whatever--and they all bootloop. I resorted to SuperSU because AdAway said there's no root and would not run, even though root access is given in Dev Options. Thanks to belfastraven's post #1542 to work around this bug.

The bugs are probably well-known to those following this thread; excuse any redundancy.