[Nexus 5 Original Android Development] BIade:
BOOM :D

20160827 build running on SECONDARY with multiROM including SetupWizzard :D :D

FCs on startup solved :D

Bluetooth works :)

no camera no root :( (hey calm down, step by step) :)

[MENTION=5480061]Santhosh M[/MENTION]: Thank you soo much, now I have a good base to mess with the nougat <3

How to:

1) Install the modified multirom supported build 1 as secondary

2) reboot and check if it boots (ignore the errors)

3) Modify the 20160827 build's updater-script like the one before BUT without letting flash the boot.img. So only /system gets flashed ;) (see bottom of the post)

4) Flash this modified rom as ZIP (not as "add rom") to dirty flash the new system

5) clear data / cache / dalvik

6) Flash Open gapps, Reboot

7) enjoy SETUP WIZZARD on nougat as secondary rom :)

Here is the code: (Its the code given here in the thread without the last lines involving the boot.img)

assert(getprop("ro.product.device") == "hammerhead" || getprop("ro.build.product") == "hammerhead" || abort("This package is for device: hammerhead; this device is " + getprop("ro.product.device") + "."););
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data", "");
package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh");
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755);
run_program("/tmp/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
unmount("/data");
show_progress(0.750000, 0);
block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
delete("/system/bin/otasigcheck.sh");
unmount("/system");
show_progress(0.020000, 10);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "restore");
delete("/system/bin/backuptool.sh");
delete("/system/bin/backuptool.functions");
unmount("/system");
show_progress(0.200000, 10);

Now next step is to get superSU system mode working, so we dont need to change boot.img :)

EDIT: Report of what doesnt work: (for secondary), so dont waste your time with the same mistakes as me :P

SuperSU 2.77 System Mode

SuperSU 2.76 System Mode

SuperSU 2.76 normal systemless

ofc you can swap to primary, root systemless, swap back to secondary, but this will somehow mess with your other roms resulting in unbootable MM, LP and KK :D