LTE doesn't work after attemp of fixing hotspot using ADB I had problem with hotspot in Xiaomi Mi5s Plus after updating to MIUI10. I used ADB:

settings put global tether_dun_required 0


Unfortunately, after that mobile data and 4G network stopped working. Changing back this setting to "1" or "null" doesn't give any resoult.

2G and 3G network works (calling only, mobile data doesn't), I tried default settings, I tried restarting APN - no resoult. I got only notification, that system cannot install SIM Card.
I already reinstalled my system - also no resoult.

//Small edit:
I partly solved the problem by changing SIM port (my phone has dual-sim), but when I put SIM card to sim1 again - problem still exists.
When I put card to sim2 slot it says that it uses "default settings" and it works as should. What can I do to reset settings of sim1?
Try resetting your APN first

You can revert your APN type to default to remove the dial up networking feature i.e (dun) by this method:


On your phone, go to Settings → SIM card and mobile networks 
Tap the entry for your carrier (or SIM card in question) → Access point names.
Scroll down to APN Type and replace,dun at the end (so the it should say default,supl,mms, or whatever was there).


Or just tap on your SIM card option → Access point names → Reset to default

If you do not see a change, then I'd suggest you reset Network settings:

Settings → More → Network settings reset