[Android Q&A, Help & Troubleshooting] pgcharlie:
"assert" missing

Trying to upgrade to 4.0 OS on 1+3, but getting error 7 and the "updater-script" does not have assert lines at all.[IMG="updater-script"]D:\[/IMG]

twrp 3.0.2-1

currently on Oxygen OS 3.2.8 stable

OnePlus3Oxygen_16_OTA_035_all_1612310359_e10cadfb2af7.zip - 4.0 - got this thru Oxygen Updater app.

--dont see any office update yet on OnePlus download site.

START

getprop("ro.display.series") == "OnePlus 3" || abort("E3004: This package is for "OnePlus 3" devices; this is a "" + getprop("ro.display.series") + "".");

show_progress(0.750000, 0);

ui_print("Patching system image unconditionally...");

block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") ||

abort("E1001: Failed to update system image.");

show_progress(0.050000, 10);

show_progress(0.050000, 5);

package_extract_file("boot.img", "/dev/block/bootdevice/by-name/boot");

show_progress(0.200000, 10);

ui_print("Writing static_nvbk image...");

package_extract_file("RADIO/static_nvbk.bin", "/dev/block/bootdevice/by-name/oem_stanvbk");

# ---- radio update tasks ----

ui_print("Patching firmware images...");

ifelse(msm.boot_update("main"), (

package_extract_file("firmware-update/cmnlib64.mbn", "/dev/block/bootdevice/by-name/cmnlib64");

package_extract_file("firmware-update/cmnlib.mbn", "/dev/block/bootdevice/by-name/cmnlib");

package_extract_file("firmware-update/hyp.mbn", "/dev/block/bootdevice/by-name/hyp");

package_extract_file("firmware-update/pmic.elf", "/dev/block/bootdevice/by-name/pmic");

package_extract_file("firmware-update/tz.mbn", "/dev/block/bootdevice/by-name/tz");

package_extract_file("firmware-update/emmc_appsboot.mbn", "/dev/block/bootdevice/by-name/aboot");

package_extract_file("firmware-update/rpm.mbn", "/dev/block/bootdevice/by-name/rpm");

package_extract_file("firmware-update/devcfg.mbn", "/dev/block/bootdevice/by-name/devcfg");

package_extract_file("firmware-update/xbl.elf", "/dev/block/bootdevice/by-name/xbl");

package_extract_file("firmware-update/keymaster.mbn", "/dev/block/bootdevice/by-name/keymaster");

), "");

ifelse(msm.boot_update("backup"), (

package_extract_file("firmware-update/cmnlib64.mbn", "/dev/block/bootdevice/by-name/cmnlib64bak");

package_extract_file("firmware-update/cmnlib.mbn", "/dev/block/bootdevice/by-name/cmnlibbak");

package_extract_file("firmware-update/hyp.mbn", "/dev/block/bootdevice/by-name/hypbak");

package_extract_file("firmware-update/tz.mbn", "/dev/block/bootdevice/by-name/tzbak");

package_extract_file("firmware-update/emmc_appsboot.mbn", "/dev/block/bootdevice/by-name/abootbak");

package_extract_file("firmware-update/rpm.mbn", "/dev/block/bootdevice/by-name/rpmbak");

package_extract_file("firmware-update/devcfg.mbn", "/dev/block/bootdevice/by-name/devcfgbak");

package_extract_file("firmware-update/xbl.elf", "/dev/block/bootdevice/by-name/xblbak");

package_extract_file("firmware-update/keymaster.mbn", "/dev/block/bootdevice/by-name/keymasterbak");

), "");

msm.boot_update("finalize");

package_extract_file("firmware-update/NON-HLOS.bin", "/dev/block/bootdevice/by-name/modem");

package_extract_file("firmware-update/adspso.bin", "/dev/block/bootdevice/by-name/dsp");

package_extract_file("firmware-update/BTFM.bin", "/dev/block/bootdevice/by-name/bluetooth");

set_progress(1.000000);

END FILE