I have rooted my miui 14 and have usb debugging on. I also use LADB.
While removing bloatware from my miui 14, I accidentally removed "com.milink.service" which is used for cast.
I used adb command "pm uninstall -k --user 0 com.milink.service" for this.
After realising my mistake, I reinstalled it using command "cmd package install-existing com.milink.service"
I got the app back after reboot. Now when starting app, it asks for location permission. But when I go permissions, it says permission are restricted. As I think it's a system app.
I searched online and used command
"pm grant com.milink.service android.permission.ACCESS_BACKGROUND_LOCATION"
but no avail.
Help me solve this issue.
While removing bloatware from my miui 14, I accidentally removed "com.milink.service" which is used for cast.
I used adb command "pm uninstall -k --user 0 com.milink.service" for this.
After realising my mistake, I reinstalled it using command "cmd package install-existing com.milink.service"
I got the app back after reboot. Now when starting app, it asks for location permission. But when I go permissions, it says permission are restricted. As I think it's a system app.
I searched online and used command
"pm grant com.milink.service android.permission.ACCESS_BACKGROUND_LOCATION"
but no avail.
Help me solve this issue.