Make sure the 'Developer options' is turned on > Scroll down and turn on the 'USB debugging' and 'Install via USB' options as well. Go to Settings app > All specs > Find MIUI version and tap it for 7 times > Go back to the Settings screen and find Additional settings. > If you are using Xiaomi/Redmi running MIUI 11 and later Now you have updated the customized WhatsApp to the latest official Log into the WhatsApp, and restore the local backup you just created to the official WhatsApp (see the guide in the screenshot below). Before login the newly installed WhatsApp, make sure you have turned on the storage permission, otherwise, Download the official WhatsApp from Google Play. Uninstall the customized WhatsApp from your device. If the backup screen pop-up, turn off auto backup to Google Drive and then click BACK UP.
If the backup process and finish directly, confirm the last backup time and move on to step 3. Open WhatsApp Settings > Chats > Chat Backup. Back up WhatsApp on the Android device to the phone's local storage. Then follow the steps below to update the customized WhatsApp to the latest official version.
To avoid data loss, you can back up the WhatsApp data on your Android device with iTransor for WhatsApp first. Make sure that the data in the customized WhatsApp is what you want to keep.