I'm following up to my comment/ask about the wifi issue. I'm sure others have had this issue as well since there is another thread that talks about this (custom GSI).
The wifi problem is based on the boot.img. If you ordered the Global edition of this phone, you may have gotten the EU version. How do you know? My guess is that you'll get the EU charger with US attachment. I ordered the Global version and got the EU one. I, mistakenly, was using the Global boot.img (and patched varieties) to boot it, and it would boot fine. But the wifi would never work. When I reverted to using the EU boot.img, it booted and had wifi working.
For those that want to replicate this: download the STOCK rom from a reputable source (try xiaomifirmwareupdater dot com/miui/pine and getdroidtips dot com/xiaomi-redmi-7-stock-firmware). Mods, please advise if these are not preferred sites for whatever reason.
- Once you get the stock rom, unzip it and look for the boot.img file. Make sure it is for your correct version (Global or EU).
- Reboot to fastboot.
- Run: fastboot flash boot boot.img
- Should boot fine, but I think you will need to repatch with Magisk if you use it (in TWRP).
Since doing this, the phone works fine. Let me know if there are any errors in this post.