[Nook HD, HD+ Android Development] Zippy Dufus:
If you are replying to me instead of [MENTION=2530247]KyJelly69[/MENTION] (otherwise sorry for hijacking) :D , I have been successfully building the CM13 ROM. I did build the AOSP ROM but then it started having a mysterious error so I switched to CM13 (which I like better anyway).

However, once I mastered that, just for fun I build the latest Linaro GCC compiler and then see if I can build the ROM with it. With Linaro 5.2 managed to get a "successful" build but only kernel (boot.img) works. For the entire ROM, I get the error discussed here that I am investigating.

Below is the tail of the TWRP 2.8.7.5 recovery log successfully flashing my 01/09 CM13 build without using my Linario toolchain. I highlighted where my Linario builds always hang.

Sadly, with a 01/08 Linaro build.the boot.img is now broken too so I have lots of fun ahead figuring out why! :cowboy:

BTW, thanks again for putting me on to TWRP 2.8.7.5! (One day I will actually manage to brick/damage one of my devices.)

$ adb shell

~ # cd /tmp

/tmp #

/tmp # tail -f recovery.log

mtppipe add storage 65537 '/data/media/0'

MtpStorage id: 65537 path: /data/media/0

mtppipe add storage 65538 '/external_sd'

MtpStorage id: 65538 path: /external_sd

I:Set page: 'install'

I:TWFunc::Set_Brightness: Setting brightness control to 5

I:TWFunc::Set_Brightness: Setting brightness control to 0

I:TWFunc::Set_Brightness: Setting brightness control to 254

I:Set overlay: ''

I:Set page: 'flash_confirm'

I:Set page: 'flash_zip'

I: operation_start: 'Flashing'

Installing '/external_sd/Software/cm-13.0-20160109-UNOFFICIAL-ovation.zip'...

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts

I:Legacy property environment initialized.

Target: Android/cm_ovation/ovation:6.0.1/MMB29T/160109:userdebug/test-keys

minzip: Extracted 3 file(s)

about to run program [/tmp/install/bin/backuptool.sh] with 2 args

grep: /tmp/gapps.prop: No such file or directory

about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args

performing update

blockimg version is 3

maximum stash entries 0

creating stash /cache/recovery/2bdde8504898ccfcd2c59f20bb8c9c25f73bb524/

470806528 bytes free on /cache (0 needed)

writing 113232 blocks of new data

Patching system image unconditionally...

zeroing 3984 blocks

erasing 54816 blocks <-- Linaro ROM hangs at this step

wrote 117216 blocks; expected 113232

max alloc needed was 4096

deleting stash 2bdde8504898ccfcd2c59f20bb8c9c25f73bb524

Verifying the updated system image...

I:TWFunc::Set_Brightness: Setting brightness control to 5

Verified the updated system image.

about to run program [/tmp/install/bin/backuptool.sh] with 2 args

I:TWFunc::Set_Brightness: Setting brightness control to 0

I:TWFunc::Set_Brightness: Setting brightness control to 254

I:Set overlay: ''

find: /system/vendor/pittpatt: No such file or directory

BusyBox v1.22.1 bionic (2015-12-23 12:44 -0500) multi-call binary.

Usage: rmdir [OPTIONS] DIRECTORY...

Remove DIRECTORY if it is empty

-p|--parents	Include parents

--ignore-fail-on-non-empty

script succeeded: result was [0.200000]I:Legacy property environment disabled.

Updating partition details...

I: Data backup size is 949MB, free: 11743MB.

...done

I:Set page: 'flash_done'

I: operation_end - status=0
​