[Motorola Edge 20 Lite] ForForkSake:
Wo whether you are using stock boot image /stock magisk patched/ orangefox recovery / ofox rec with magisk.. You can use this guide

Although OTA updates will no longer work, there is a simple way to upgrade once a new firmware has been released by motorola.

1. Simply download the firmware zip and extract to your computer, ]

2. copy the stock boot.img to your phone

(make sure to have the latest ofox zip on your phone too)

3. Reboot to bootloader

4. Paste the following commands (which are exactly the same as the xml files included in the zip apart from the vbmeta command and it doesn't flash the boot.img)

fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash gpt PGPT
fastboot flash preloader preloader.img
fastboot flash lk_a lk.img
fastboot flash tee_a tee.img
fastboot flash md1img_a md1img.img
fastboot flash md1img2_a md1img2.img
fastboot erase nvdata
fastboot flash spmfw spmfw.img
fastboot flash pi_img_a pi_img.img
fastboot flash audio_dsp_a audio_dsp.img
fastboot flash dpm_a dpm.img
fastboot flash scp_a scp.img
fastboot flash sspm_a sspm.img
fastboot flash mcupm_a mcupm.img
fastboot flash gz_a gz.img
fastboot flash cam_vpu1_a cam_vpu1.img
fastboot flash cam_vpu2_a cam_vpu2.img
fastboot flash cam_vpu3_a cam_vpu3.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash logo_a logo.img
# fastboot flash boot boot.img (if stock with magisk patch the boot.img on magisk apo and transfer back to pc, before running the commands in bootloader # delete the whole line if using ofox as we flash boot from within recocery afterwards #
fastboot flash dtbo_a dtbo.img
fastboot flash super super.img_sparsechunk.0
fastboot flash super super.img_sparsechunk.1
fastboot flash super super.img_sparsechunk.2
fastboot flash super super.img_sparsechunk.3
fastboot flash super super.img_sparsechunk.4
fastboot flash super super.img_sparsechunk.5
fastboot flash super super.img_sparsechunk.6
fastboot flash super super.img_sparsechunk.7
fastboot flash super super.img_sparsechunk.8
fastboot flash super super.img_sparsechunk.9
fastboot flash super super.img_sparsechunk.10
fastboot flash super super.img_sparsechunk.11
fastboot flash super super.img_sparsechunk.12
fastboot flash super super.img_sparsechunk.13
fastboot flash super super.img_sparsechunk.14
fastboot flash super super.img_sparsechunk.15
fastboot flash super super.img_sparsechunk.16
fastboot flash super super.img_sparsechunk.17
fastboot flash super super.img_sparsechunk.18
fastboot flash super super.img_sparsechunk.19
fastboot flash super super.img_sparsechunk.20
fastboot flash super super.img_sparsechunk.21
fastboot flash super super.img_sparsechunk.22
fastboot flash super super.img_sparsechunk.23
fastboot flash super super.img_sparsechunk.24
fastboot flash super super.img_sparsechunk.25
fastboot flash super super.img_sparsechunk.26
fastboot flash super super.img_sparsechunk.27
fastboot flash super super.img_sparsechunk.28
fastboot flash super super.img_sparsechunk.29
fastboot flash super super.img_sparsechunk.30
fastboot flash super super.img_sparsechunk.31
fastboot flash super super.img_sparsechunk.32
fastboot flash super super.img_sparsechunk.33
fastboot flash super super.img_sparsechunk.34
fastboot flash super super.img_sparsechunk.35
fastboot flash super super.img_sparsechunk.36
fastboot flash super super.img_sparsechunk.37
fastboot flash super super.img_sparsechunk.38
fastboot flash super super.img_sparsechunk.39
fastboot flash super super.img_sparsechunk.40
fastboot flash super super.img_sparsechunk.41
fastboot flash super super.img_sparsechunk.42
fastboot flash super super.img_sparsechunk.43
fastboot flash super super.img_sparsechunk.44
fastboot flash super super.img_sparsechunk.45
fastboot flash super super.img_sparsechunk.46
fastboot flash super super.img_sparsechunk.47
fastboot flash super super.img_sparsechunk.48
fastboot oem fb_mode_clear

5. Reboot to recovery

6. flash your stock boot image to the boot partitions and then flash ofox zip

7. Reboot system or reboot recovery to flash magisk from fox addons menu

I vaguely remember Reteu had much less sparse chunks, adjust script to the amount in firmware

The above will simply upgrade firmware without deleting your Userdata