When you "clean flashed" - did you also flash magisk 17.1 or any newer magisk than v16.0?
When I clean flashed, I did the following things:
- Flashed the latest (build number 21.40.1220.2196) ASUS bootloader (sbl1, aboot, tz, hyp, rpm) via fastboot.
- Rebooted into TWRP recovery version 3.2.2-0
- Formatted the data partition
- Wiped the cache, ASDF partitions
- Installed the latest crDroid ROM
- Rebooted into system
Shutdown and reboot issues were present with the built-in root both turned off and turned on. No Magisk root was applied at this stage.
------
On another note, two steps after installing the ROM may be required for better performance:
1. Copy the latest 8916_volte_modem and 8939_volte_modem folders - extracted from the official ASUS 21.40.1220.2196 firmware image - to /system/etc/firmware
Reboot and enjoy the latest (and greatest) VoLTE baseband from ASUS.
2. Edit the gps.conf file to optimize gps functionality in your area.