Fix Install Failed User Restricted Android Studio Using Redmi Devices

Learn Effective Solutions To Troubleshoot “INSTALL FAILED USER RESTRICTED” Error On Android Studio Using Redmi Devices!

Summary: Are you getting “Install_Failed_User_Restricted” error on Android Studio using Redmi devices? Are you looking for the solution to fix this annoying error? If “Yes”, then you have landed on the right webpage. In this blog post I have mentioned some of the effective solutions that will definitely help you to fix “Install_Failed_User_Restricted” error Android Studio using Redmi devices. Just go through the solutions and fix the problem by yourself.

Also Read: How To Backup Xiaomi Mi and Redmi Phone Data And Restore Them Back

Let’s start with real-user practical scenario!

Practical Scenario: A User Experiencing INSTALL_FAILED_USER_RESTRICTED In Android Studio Using Redmi 4 Device

INSTALL_FAILED_USER_RESTRICTED : android studio using redmi 4 device

Installation failed with message Failed to finalize session : INSTALL_FAILED_USER_RESTRICTED: Install canceled by user.

It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.

WARNING: Uninstalling will remove the application data!

Do you want to uninstall the existing application?

When trying to run the apk in my redmi 4 MIUI 8.5.4.0

OEM unlocking enabled

Solution Tried

  • MIUI optimization turned off
  • USB debugging turned on
  • Verify apps over USB turned on

NOTE: while turning on install via USB a pop up saying The device is temporarily restricted

Source: Stackoverflow

Just like above practical scenario, there are many users out there encountering the same error message.

Fortunately, there are several solutions available that you can follow to fix “Install_Failed_User_Restricted” error Android Studio using Xiaomi Redmi devices.

Also Read: Fix Android Emulator Error “INSTALL_FAILED_INSUFFICIENT_STORAGE”

Solution 1

This is the very first solution that you must try.

Steps to fix ‘Install_Failed_User_Restricted’ for MIUI 9 and above:

Go to Settings > Additional Settings and then tap on “Developer Options”.

Now do the following:

  • Turn off “MIUI optimization” and Restart
  • Turn On “Install via USB
  • Turn On “USB Debugging
  • Set USB Configuration to Charging

MTP (Media Transfer Protocol) is the default mode.
Works even in MTP in some cases

Solution 2

In your Android phone you must make sure that these following settings are enabled if not then enable them:

Go to Settings > Additional Settings and then tap on “Developer Options”.

  • Install via USB
  • USB Debugging (Security settings)

How To Fix Install_Failed_User_Restricted Error Android Studio Using Redmi Devices

Also Read: How To Fix Android Error “Process System Isn’t Responding”

Solution 3

If you are receiving “The device is temporarily restricted” error, then let me tell you that this error occur in MIUI 8.5

In order to fix this error, do the followings:

  • Turn off “Wi-Fi”.
  • Turn on “Mobile Data”.
  • Now go to Settings > Additional Settings > Developer Options and enable the option “Install via USB”.

Solution 4

For user whose Xiaomi Redmi device is running on MIUI 9.6, follow the below steps to solve install_failed_user_restricted error:

  • Go to Settings > About phone.
  • Tap on “MIUI version” 7 times.
  • Then go to Settings > Additional Settings.
  • Turn on “Developer Options”.
  • Enable USB debugging.
  • Turn on “Install via USB”.
  • You will be asked to allow permission via your MI account. Simply confirm permission.

Note: When you install the app or during the process of application install, your device will give you just 7 seconds to confirm the installation. So, don’t miss it.

Also Read: How To Fix “android.process.acore keeps stopping” Error

Solution 5

Here is another working solution that fixes INSTALL_FAILED_USER_RESTRICTED error:

  • Go to Settings > Additional Settings > Developer Options.
  • Go to “Mi Unlock Status” and then tap on “Add account and device”. After completing it you receive a success message.
  • Enable USB debugging.
  • Turn on “Install via USB”.

This solution will definitely fix the error if you have recently signed-out of Mi account and again signed-in.

Solution 6

Here is another simple solution to this common problem – install_failed_user_restricted Android studio using Xiaomi Redmi devices.

Below follow the simple steps:

  • Go to phone “Settings”.
  • Scroll down and tap on “Additional Settings > Developer Options”. (If Developer Option is not visible, then click on Build Number).
  • After that, turn off “MIUI optimization” and “Restart it”.
  • Now ensure that USB Debugging is on and “Install via USB” is enabled. If not then turn them ON.
  • Optional, set-up USB Configuration to Charging.

Also Read: [Fixed]: “System UI isn’t responding. Do you want to close it?” Error

Solution 7

Here is another quick solution that will help you to fix the error install failed user restricted: Android Studio using Redmi device.

  • On your phone go to “Settings > Additional Settings > Developer Options”.
  • Enable Developer Options.
  • Turn OFF MIUI optimization.
  • Enable USB Debugging.
  • Turn ON Install via USB.

Solution 8

This solution has work for many users.

  • In the Developer Options simply disable Mock SD card optimization.
  • Mark force closed apps.
  • Turn Off/Disable “Turn on MIUI optimization”.

Solution 9

If you have accidentally or mistakenly pressed “Deny” option at the time of first installation, then you may get the error message – INSTALL_FAILED_USER_RESTRICTED.

To fix this issue, you have to change this permission for app under permission.

Here how to do it:

  • Go to Settings > Permissions > Install via USB > Your App.

Beside that you also have enable these options as well.

  • Go to Settings > Additional Settings > Privacy > Unknown Sources.
  • Go to Settings > Additional Settings > Developer Options > Install via USB.

Also Read: [Fixed]: This device was reset. To continue, sign in with a Google Account that was synced on this device.

Solution 10

This is another solution that works for many Xiaomi users.

Go to Settings >  Permissions > Install via USB (not the same item in Developers options!)
Then uncheck your disabled app.

Solution 11

Sometimes this error occurs due to problem from Xiaomi.

Never mind, the solution to this problem is here:

  • Open “Security” app and then tap on “Options” located at the top-right corner.
  • Now scroll down to group “Feature Settings” and look for “Permission”.
  • Now here turn off “Install via USB” option. It manages the installation of applications via USB and turning off will not allow it.

In other latest Redmi devices:

  • Go to Settings.
  • Tap Additional Settings.
  • Tap on Developer Options.
  • Now check the “Install via USB” option.

Fix Install Failed User Restricted In Android Studio Using Redmi Devices

Also Read: [Solved]: ‘Insufficient Storage’ Error on Android

Solution 12

This is the 100% working solution for Redmi 4 or Note 4 series smartphones.

So, here learn the steps to fix Install Failed User Restricted in Android Studio:

Go to Settings > Additional Settings > Developer Options.

Now do the following things:

  • Turn off “Mock SD card optimization”.
  • Enable USB debugging.
  • Turn on “Install via USB
  • Turn on USB debugging (Security settings).
  • Turn on “Verify apps over USB”.
  • Turn on “Force closed apps”.
  • Turn off “Turn on MIUI optimization”.

You have to log-in to your Xiaomi account to turn on “Install via USB” and “USB debugging (Security changes) and then it will work with Redmi as developer.

Note: While you turn on USB debugging (Security changes), then you will get few pop-ups related to security, you have to accept all to work on developer mode.

Solution 13

If all the above solutions don’t work then you can follow this last solution.

I have found some main reasons behind the occurrence of this error message – Install Failed User Restricted.

In MIUI, when you try to change the “Install via USB” option, you have to be connected to internet and log-in to your Xiaomi account. But due to some causes, requests from out of the China servers get rejected. In such case, you have to get connected to one of the open China VPN and then try again to turn on “Install via USB” option.

For complete solution and VPN details, please check out this helpful video:

Video Source: Perry Garg

Wrap Up

So, guys those were 13 solutions that you can follow one-by-one and check if your error “Install Failed User Restricted” error in Android studio using Redmi get fixed or not.

I hope this blog post will definitely help you!

  •  
    6
    Shares
  • 5
  •  
  •  
  • 1
  •  
  •  
  •  
  •