Hey Guys,
I hope my solution will work for you, as well. This issue annoyed me a lot, especially when the phone was supposed to be used by my mother and I have to think pretty intense cause I visit her quite seldom. Obviously it's much harder to do some troubleshooting remotely.
What is the most important:
Do the backup before you change anything in your system. The only person responsible for anything you do with your device is You, so take responsibility for your action.
In my example I use TWRP recovery. It's very interesting: When I had the latest version installed (twrp-3.7.0_12-1-ginkgo.img) during the firmware flash process an error appeared says that my device is Willow and I can't flash firmware for Ginkgo. What wasn't true! I restored TWRP to ver. twrp-3.6.2_9-0-ginkgo.img and magically I was able to flash the firmware from below procedure. However, version twrp-3.6.2_9-0-ginkgo.img seems to not support encryption for A13, what is not so important for finishing the process of solving the issue with not waking up from deep sleep.
Also if you know how to flash ROM you should also know how to turn on ADB sideload in Recovery or reflash Recovery.
For Ginkgo - totally clean flash (
you loose all your saved data):
1. Download the latest firmware for instance from this page (
https://xiaomifirmwareupdater.com/firmware/ginkgo/)
2. Format Data
3. Clear: System, Internal Storage, Cache, Dalvik, Data
4. I personally, after formatting Data partition reboot the phone to Recovery
5. Flash firmware:
adb sideload fw_ginkgo_miui_GINKGOEEAGlobal_V12.5.12.0.RCOEUXM_f9fdc6c78
3_11.0.zip
6. Download the
latest version (30th December 22) of this ROM from:
https://sourceforge.net/projects/cr...ndroid-13.0-20221230-ginkgo-v9.0.zip/download
6. Install ROM:
adb sideload crDroidAndroid-13.0-20221230-ginkgo-v9.0.zip
7. Optionally install GAPPS via adb sideload command
8. Reboot to the System
With this procedure and not Rooting or doing some other weird things phone is now waking up from deep sleep.
You can use it with Willow, but you have to download and flash proper firmware for Willow device
Hopefully it will help you with the same issue!
Good luck ;-)