Read many blogs, changed so many settings, bought 3 different cables - still didnt work or lets say, it connected for 5 sec then disconnected. The only way to fix it was to bring it to Xiaomi service center. They changed the motherboard. Now it runs with Android 12 and no problems at all!