Senior Member

Rank: 2

Credits
107
Device
0
Online time
10 Hours
Send PM

[Others] Install Via USB not working - The device is temporarily restricted

  [ Promote]
134265 210 |
21:47, Mar-18-2017 | From PC
|
|
Go to reply no.
Device
Redmi Note 4 MTK
MIUI Version
7.3.16
Reproduce rate
100%
ROM version
Global Beta ROM
Country/Region
Serbia
Description
USB debugging not working - The device is temporarily restricted
Steps to reproduce
Enable USB debugging - Install via usb
Screenshot
Log
When I try to debug apps via usb I cant cause I cant enable the Install via usb option, I always get that toast message The Device is temporarily restricted, as you can see from the screenshot
Favorite10 Share

Rated by 7 people   Experience Reason  

satosan2006 + 1 <font style="vertical-align: inh
d00mil + 1 Agreed! Had to use a workaround!
vlasquez + 1 Agreed!
forhad.methun + 1 Awesome!
Gahan + 1 Great!
Gahan99 + 1 Great!
+9809184024594 + 1 Great!

Experience +7  View Rating Log

MIUI Beta Team - Global

Rank: 6Rank: 6

Credits
131189
Device
0
Online time
17 Hours
Send PM
01:25, Mar-28-2017 | From Mi MIX
|
Disable WiFi and switch install via USB on while you are connected through data and under your xiaomi account. It works!

Rated by 30 people   Experience Reason  

jorgemontano + 1 Thanks, it worked!
whitecliff90 + 1 Thanks!
XCaellaX + 1 Fantastic!
necromancerx + 1 Fantastic!
Dimeruben + 1 Worked!
Brigs786 + 2 Fantastic!
Touhid.CSE + 1 Thanks!
Firax + 1 Fantastic!
dotriz123 + 1 Great!
midvik + 1 Thanks!
rokemon + 1 Thanks! It worked !!
sKp135 + 2 Thanks!
ibsenleo + 1 Fantastic!
udegbunamchuks + 1 Awesome!
omiazad + 1 Awesome!
Sifat01 + 1 Fantastic!
derkaizer0838 + 1 works on redmi 3 v8.5.2.0
Mo13571975 + 1 Great!
shrutj + 1 Thanks!
jbustillos2016 + 1 This worked MIUI 8.5 Redmi 3s
aimahdi + 1 Agreed!
ultimatous + 1 Thanks!
B.flamesr + 2 Fantastic!
sk21122000 + 1 Thanks!
hudii13 + 1 Fantastic!
mohitbhatia96 + 1 Fantastic!
fahram + 1 Thanks!

Experience +33  View Rating Log

Senior Member

Rank: 2

Credits
41
Device
Redmi Note 4 Qualcomm
Online time
2 Hours
Send PM

MIUI 9

22:59, Dec-11-2017 | From PC
|
This post was edited by LucianoTres at 00:04, Feb-15-2018

After hours and hours in this insane bug.. To make it work I had to open a VPN connection to a China server. Instead of install PlexVPN I setted up a VPN directly on the phone configuration using server from http://www.vpngate.net/en/ Address: vpn959922015.opengw.net  User: vpn  Pass: vpn  Pre-shared key: vpn

VPN Configuration

VPN Configuration

With the connections through VPN, I can enable "Install via USB".
Please, solve this bug soon.

Rated by 9 people   Experience Reason  

Nico_s + 1 Thanks!
VanNfn + 1 Thanks!
\'9\' + 1 Fantastic!
Litendria + 1 Thanks!
Piteryo + 1 Great!
Madman271 + 5 Tried. Confirmed to work. Great job! ?.
Lucky_Strike + 1 Thanks!
vitna1 + 1 Great!
nahsik + 1 Thanks!

Experience +13  View Rating Log

Senior Member

Rank: 2

Credits
27
Device
0
Online time
0 Hours
Send PM
00:34, Jul-12-2017 | From PC
|
here's solution that helped me:
1. Settings ->  Additional Settings -> Developer options -> Turn off Miui Optimizations -> Restart
2. Security -> Permissions -> Gear Icon at top right corner -> Turn On "Install via USB"
3. Settings ->  Additional Settings -> Developer options -> Turn On/Off "USB Debugging" -> Turn On "Install vis USB"

Rated by 5 people   Experience Reason  

wififer + 1 Thanks!
rydarg + 1 Great!
d00mil + 1 Thanks!
tgondar + 1 Fantastic!
70i2n + 1 Thanks!

Experience +5  View Rating Log

Senior Member

Rank: 2

Credits
37
Device
Mi 5X
Online time
1 Hours
Send PM
02:45, Dec-04-2017 | From PC
|
This post was edited by 1756190106 at 03:13, Dec-04-2017

I have a Mi5X updated to MIUI 9.0.3.0 China ROM
  • I tried the solution at Post #14 it didn't work
  • I tried the soluiton at Post #72 it didn't work
  • I tried the soluiton at Post #84 it didn't work

I installed a VPN client (as reported at this link: http://blog.grossoshop.net/10008-xiaomi-api-error-fix-problem/ , this is a blog of an Italian Xiaomi Importer) and it worked!!!.

Follow the following steps (do it at your own risk, it workked on december 2nd), translated from italian:
  • went to https://www.plexvpn.pro/ and created an account (free access for only one day).
  • I went to https://mega.nz/#!lvJUSZBZ!kDZ0S ... PzGOcbyiDYrB--h2QTw and downloaded the PLexVPN client.
  • I installed the client on my phone, added my credentials, ad started the VPN connection
  • Selected the China-Shanghai proxy server
  • I finally could enable the 'Install via USB' or the 'USB debugging (Security settings)' options

If you have another proxy or Chinese VPN should work the same.

Enjoy.

it  works also for 10008: 参数错误、 请参考API文档   error when unlocking the phone

Rated by 6 people   Experience Reason  

saeed1 + 1 Great!
ariloc + 4 Thanks!
Adrianogba + 1 WORKED!!! But here I've putted China-She
Ominarus + 1 Fantastic!
zasvsun + 2 Great!
ppbello + 1 Fantastic!

Experience +10  View Rating Log

Senior Member

Rank: 2

Credits
26
Device
0
Online time
1 Hours
Send PM
03:26, Aug-23-2018 | From PC
|
100% worked solution described in posts #178, #179, #180, #181:
:
1) Just install "Transocks VPN" from Google Play Store
2) Click on the circle at the top of the screen with Chinese text.
3) Wait for connect to server
4) Go to Developer Settings
5) Click "Install via USB"
6) Enjoy!



Rated by 3 people   Experience Reason  

IndyJones + 1 Great!
Melni + 2 Thanks!
Anborge + 1 Спасибо бро!

Experience +4  View Rating Log

Junior Member

Rank: 1

Credits
23
Device
0
Online time
1 Hours
Send PM
13:30, Nov-13-2017 | From PC
|
chat_faraz replied at 2017-11-8 01:21
I want to develop apps without SIM card. I dont understand thy they made these stupid and unnecess ...

Same thing here, we bought Xiaomi test devices for work but we can't even use them to debug apps, making the entire purchase totally useless.

This is totally unacceptable, not only we are being forced to link to a Mi Account to even try to enable debug, but on top of this we can't do it without SIM card.

I think all is left for us is to sell the devices and buy from other brands.

Rated by 1 person   Experience Reason  

Yhuko + 1 Fantastic!

Experience +1  View Rating Log

MIUI Beta Team - China

Rank: 6Rank: 6

Credits
4385
Device
Redmi Note 5/Pro
Online time
739 Hours
Send PM

Mi HomeMi ScaleMi BoxMi Band 2Mijia Qi CycleMi  BunnyUnlock MedalMi TV 70Magic CubeXiaomi 7th AnniversaryI Love MIUIFantastic!Awesome!FlashholicMIUI Devices ContestMi 4iRedmi Note 34 Million Forum MembersSurge S1Rocket to FutureWomen's Day MedalSuper WednesdayMIUI Forum AppSuper MondayMIUI Happy MedalMIUI PSuper ThursdayMIUI 9MIUI 7th Anniversary3500K Forum MembersMIUI 2017Fan Of MIUI IndiaMIUI Lucky FridayHappy DiwaliDiwali Rooster Year of 20171800K Forum MembersMIUI Fan From IndonesiaMIUI 100 Million UsersMerry ChristmasMIUI 50 Million UsersMIUI 20 Million UsersPuzzle Master1 Million Forum App InstallsHappy New YearI Love 2016MIUI Fan From PhilippinesHappy Valentine's Day2100K Forum MembersMiPopSummer Mi BunnyForum Contest LoverMIUI 8th AnniversaryMi Lover MedalUpdates LoverMi Story Teller9 Million Forum Members25 Million Strong2017 Annual AwardsYouth PledgeScroll Of WisdomAndroid GuruDebate MasterMIUI Halloween 2017Mr. DependableMost Active MIUIerMIUI Twitter FollowerTheme TalentOTA FeedbackAndroid ElfRingtone ExpertMIUI G+ FollowerTechnology GuruMIUI FollowerPioneer of MIUI English Forum Star Of TechnologyMIUI Android 4.4 KitKatDie-hard MIUI FanMIUI KingStar WarsMaster Of Technology

03:09, Dec-04-2017 | From PC
|
install via usb is not working with any above methods.
i did read many posts but none of them works for me.

Diamond Member

Rank: 5Rank: 5

Credits
1094
Device
Redmi Note 3
Online time
141 Hours
Send PM

Unlock MedalMi Power BankMIUI 2016Olympics MedalHappy New YearStar Of Technology

05:04, Sep-30-2017 | From PC
|
This post was edited by SimurghBelgium at 21:59, Oct-01-2017


bug confirmed

the workaround isn't a proper bug fix

the workaround doesn't work in case the user don't use a SIMCARD or don't have a data plan subscription

please provide a fix ASAP or give us a refund

MIUI9 v7.9.21 Beta Chinese Dev
MIUI9 UNSOLVED BUGS COMPILATION

Senior Member

Rank: 2

Credits
107
Device
0
Online time
10 Hours
Send PM
 Author| 02:20, Mar-21-2017 | From PC
|
+9809184024594 replied at 2017-3-20 22:26
This is ridiculous !!
I'm a developer and this makes me angry ...
because of this problem i'm migrat ...

Same - I had to  use fastboot to revert to 7.3.2 cause I couldn't develop apps on that one.

You cost me like 2 days, MIUI devs, great job

Senior Member

Rank: 2

Credits
49
Device
0
Online time
0 Hours
Send PM
18:20, Dec-21-2017 | From PC
|
@PerryGarg Thanks.

Senior Member

Rank: 2

Credits
186
Device
Redmi 3S
Online time
6 Hours
Send PM

Xiaomi 7th AnniversaryI Love MIUII Love 20161 Million Forum App InstallsRooster Year of 2017Puzzle MasterMi Story TellerForum Contest LoverAndroid ElfStar Of Technology

12:57, Mar-19-2017 | From PC
|
I also, after flashing 07/03/16 (MIUI8) update
I can't activate install via usb
but my device is redmi 3s

Senior Member

Rank: 2

Credits
186
Device
Redmi 3S
Online time
6 Hours
Send PM

Xiaomi 7th AnniversaryI Love MIUII Love 20161 Million Forum App InstallsRooster Year of 2017Puzzle MasterMi Story TellerForum Contest LoverAndroid ElfStar Of Technology

13:01, Mar-19-2017 | From PC
|
eh....
i enable the usb debugging (security settings) then enable install via usb now work! :D

Senior Member

Rank: 2

Credits
107
Device
0
Online time
10 Hours
Send PM
 Author| 17:35, Mar-19-2017 | From Redmi Note 4 MTK
|
Exactly,after 7.3.16 we can't enable install via USB.

Senior Member

Rank: 2

Credits
26
Device
0
Online time
1 Hours
Send PM

I Love 2016

22:26, Mar-20-2017 | From PC
|
This is ridiculous !!
I'm a developer and this makes me angry ...
because of this problem i'm migrating to unofficial 7.1...

Senior Member

Rank: 2

Credits
107
Device
0
Online time
10 Hours
Send PM
 Author| 00:01, Mar-25-2017 | From PC
|
7.3.23 and not fixed

you didnt even notice this very important bug

Senior Member

Rank: 2

Credits
34
Device
0
Online time
3 Hours
Send PM
14:07, Mar-25-2017 | From PC
|
Tha cause of problem is enforcing sellinux i think. I solved it with custom kernel at my RN3 Pro. Set it to Permissive Sellinux.

Senior Member

Rank: 2

Credits
37
Device
0
Online time
6 Hours
Send PM
23:41, Mar-25-2017 | From PC
|
aliozdemir replied at 2017-3-25 14:07
Tha cause of problem is enforcing sellinux i think. I solved it with custom kernel at my RN3 Pro. Se ...

I changed to permissive with app, but it didn't work

Senior Member

Rank: 2

Credits
107
Device
0
Online time
10 Hours
Send PM
 Author| 05:27, Mar-26-2017 | From PC
|
I didn't even understand what you said but after trying to turn USB debugging on and off 20 times then spamming install via usb option I eventually got it to work.

All though, 7.3.23 introduced a new bug
http://en.miui.com/thread-167988-1-1.html
and I' m done reporting bugs since no one pays attention to them.

I'll probably fast boot to 7.3.2 once again and won't update before the 8.2 stable

Credits Management

Quick Reply Top Return to the list