Bug fixed with an Android Studio installation with limited use on Redmi devices.

Learn more about effective solutions for solving USER ERRORS in Android Studio with Redmi devices!

Synopsis: You get the Install_Failed_User_Restricted error in Android Studio with Redmi? devices. Are you looking for a solution to fix this unfortunate mistake? If so, you’ve come to the right website. In this post I have shared some effective solutions that will definitely fix the Install_Failed_User_Restricted error in Android Studio with Redmi devices. Just go through the solutions and solve the problem yourself.

Also read : To back up and restore the data from your Xiaomi Mi and Redmi phone

Let’s start with a practical scenario!

Practical scenario: WORK_PROGRAM_INSTALLATION in Android Studio with the Redmi 4 device

INSTALL_USER_RESTRICTED: android studio with redmi 4 device

The installation failed with the message Session failed : INSTALL_FAILED_USER_RESTRICTED : The setting is cancelled by the user.

Removing the existing apk version, if any, and reinstalling it can solve this problem.

A WARNING: Application data is deleted during uninstallation!

Do you want to delete an existing application?

When I try to run the apk in my redmi 4 MIUI

OEM release activated

A proven solution

  • MIUI optimization is disabled.
  • Enable USB debugging
  • Test applications by turning them on via USB

NOTE: When you activate the USB installation, a pop-up window will appear to inform you that the device is temporarily restricted.

Source: Stackoverflow

As in a practical scenario, many users encounter the same error message.

Fortunately there are several solutions you can use to correct the Install_Failed_User_Restricted error in Android Studio with Xiaomi Redmi devices.

Also read : Fixed the INSTALL_FAILED_INSUFFICIENT_STORAGE bug in the Android emulator.

Solution 1

That’s the first thing you should try.

Install_Failed_User_Restricted correction steps for MIUI 9 and above :

Go to Settings > Advanced Settings and click Developer Settings.

Now proceed as follows:

  • Switch off MIUI optimization and restarting
  • Enable USB configuration
  • Enable USB debugging
  • Setting the USB charging configuration

MTP (Media Transfer Protocol) is the default mode.
In some cases even works in TMP

Solution 2

If not, make sure the following settings are enabled on your Android phone:

Go to Settings > Advanced Settings and click Developer Settings.

  • Installation via USB
  • USB debugging (security settings)

To fix the Install_Failed_User_Restricted error in Android Studio with Redmi devices

Also read : How to correct the Android error The processing system is not responding.

Solution 3

If you get the error Device is temporarily restricted, I would like to inform you that this error occurs in MIUI 8.5.

Follow the steps below to correct this error:

  • Turn off the Wi-Fi.
  • Activate mobile data.
  • Now go to Settings > Advanced Settings > Developer Options and enable the Install via USB option.

Decision 4

For the user whose Xiaomi Redmi device is running under MIUI 9.6, follow these steps to fix the install_failed_user_restricted error:

  • Go to Settings > About Phone.
  • Press the MIUI version 7 times.
  • Then go to Settings > Advanced Settings.
  • Activate the development opportunities.
  • Enable USB debugging.
  • Activate USB configuration.
  • You will be asked to give your consent via your IM account. Just confirm consent.

Pay attention: When you install an application or during the installation of an application, the device only gives you 7 seconds to confirm the installation. Then don’t miss it.

Also read : How to correct the android.process.acore error that persists.

Decision 5

Here is another workaround that fixes the INSTALL_FAILED_USER_RESTRICTED error:

  • Go to Settings > Advanced Settings > Developer Settings.
  • Go to the ‘Unlock Mi’s’ section and press ‘Add account and device’. When it is completed, you will receive a success message.
  • Enable USB debugging.
  • Activate USB configuration.

This solution will certainly fix the error if you have recently logged out of your Mi Account and logged back in again.

Decision 6

Here is another simple solution to this common problem: install a user limited Android studio in case of a failure with Xiaomi Redmi devices.

Follow the simple steps below:

  • Go to the phone settings.
  • Scroll down and tap Advanced Settings > Developer Settings. (If the developer option is not visible, click on the building number).
  • Then switch off the MIUI optimization and restart.
  • Now make sure USB debugging and USB installation are enabled. If not, turn it on.
  • In addition, set the USB configuration to Load.

Also read : [Bugfixing:] User interface of the system does not respond. Do you want to close? Error

Solution 7

Here is another quick solution for disabled users to correct an installation error: Android studio using the Redmi device.

  • On your phone, go to Settings > Advanced settings > Developer options.
  • Activate the development opportunities.
  • MIUI Optimization.
  • Enable USB debugging.
  • Activate USB configuration.

Decision 8

This solution works for many users.

  • Simply deactivate the optimization of the dummy SD card in the developer settings.
  • Mark Force has closed the applications.
  • Disable/disable user interface optimization.

Decision 9

If you accidentally or unintentionally click the Reject button during the first installation, you may receive an error message – INSTALL_FAILED_USER_RESTRICTED.

In order to solve this problem, you will need to change this authorisation for the licensed application.

Here’s how:

  • Go to Settings > Rights > Install via USB > Your Application.

In addition, you have the option to activate these options.

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

Also read : The device has been restarted. To continue, log in to the Google Account synchronized on this device.

Decision 10

This is another solution that works for many Xiaomi users.

Go to Settings > Permissions > Install via USB (not the same item in Developer Options!)
Then uncheck the disabled application.

Solution 11

This error is sometimes due to a problem with Xiaomi.

Anyway, the solution to this problem lies here:

  • Open the security application and then press Settings in the upper right corner.
  • Now scroll down to the Function settings group and search for Resolution.
  • Now deactivate the installation via USB here. It controls the installation of applications via USB, and its shutdown does not allow it.

In other current Redmi devices :

  • Go to Settings.
  • Touch Advanced Settings.
  • Click on the developer options.
  • Now activate the installation via the USB checkbox.

Fixed a bug about setting usage restrictions in Android Studio when using Redmi devices.

Also read : [Authorized] Insufficient memory error on Android.

Decision 12

It is a solution that works 100% for Redmi 4 or Note 4 series smartphones.

So here is how to fix the Installed Failed User Restricted error in Android Studio:

Go to Settings > Advanced Settings > Developer Settings.

Now proceed to the next steps:

  • Disable optimization of the dummy SD card.
  • Enable USB debugging.
  • Enable USB configuration
  • Enable USB debugging (security settings).
  • Enable USB request check.
  • Activate closed applications.
  • Deactivate the option Enable MIUI optimization.

You need to login to your Xiaomi account to allow USB installation and USB debugging (security changes), then it will work with Redmi as developer.

Pay attention: As long as you enable USB debugging (security changes), you will get security related pop-ups, you have to accept everything to work in developer mode.

Solution 13

If all the above solutions do not work, you can follow the latter solution.

I found some important reasons for this error message – Install Failed User Restricted.

If you try to change the Install via USB option in MIUI, you must be connected to the Internet and logged into your Xiaomi account. But for some reason, the requests from the Chinese servers are rejected. In this case you need to connect to one of the open Chinese VPNs and then try to enable the option Install via USB again.

For full information about the solution and VPN, watch this helpful video :

Video source : Perry Garg.


So guys, here are 13 solutions you can follow one by one and check if your Installed Failed User Restricted error in Android Studio with Redmi has been fixed or not.

I hope this post will help you after all!


Max Field is the founder of recoverandroid-data.com. He loves Android and enjoys writing tips, tricks, troubleshooting, data recovery solutions and other Android related issues.

install via usb without sim card,installation failed due to '-26,the application could not be installed: shell_unresponsive,adb install install_failed_user_restricted,install_failed_user_restricted: invalid apk,installation failed due to: 'device not found',turn on install via usb xiaomi,failure install_failed_user_restricted android,install_failed_user_restricted: install canceled by user react native,the application could not be installed install_failed_missing_shared_library android things,vysor error installing apk failure