[Xiaomi][Redmi 2/Prime][MIUI 7/8][No MTP/PTP?][How to]Get the MTP/PTP mode back ON - Xiaomi Redmi 2 Guides, News, & Discussion

[This bug was found fixed on MIUI(8) dev (beta) v6.9.29]​Hello everyone! I am back with an exclusive tutorial to get the MTP/PTP USB mode back to ON.
Devices Supported:
All Redmi device (This method was tested on Redmi 2 that is why i am posting it here)
All Note device
All Mi device
Note: This method was tested on the Redmi 2 1GB variant and should work with almost every Xiaomi Device.
MIUI version supported:
7.x
8.x
Dev - 6.x
Have you ever turned the MTP mode off by mistake? Well, Now I have a solution which doesn't even require any third party software to be installed on your Xiaomi MIUI Device.
Connect the device to a Laptop or PC.
Then head to "Settings" in phone.
Go to "About phone".
Tap "MIUI Version" 7 times. (It will enable the developer options if you haven't already)
Then go back to settings menu (or hit settings icon again from the notification shade).
Now head to "Additional settings".
Then tap "Developers Option".
Now Turn the USB Debugging ON.
You will be prompt to confirm your choice. Tap OK to confirm.
The moment you tap OK, the pop up for USB connection will Pop up.
Tap on it (or the notification from notification shade).
And then tap to turn ON the MTP mode and Exit.
You may go to Developers options again and turn off the USB debugging if you want or even turn OFF the developers option.
I have attached some screenshots in order to help you perform the steps better.
This tutorial was taken from my blog on blogger. For any questions regarding these steps, you may use the reply function below.
Do not quote the whole (original) post in your reply.

Reserved just in case!

Related

Settings Not Changing

I recently rooted my Samsung Captivate using SuperOneClick 1.9.1. The only things I have done since rooting the device is allow sideloading (by editing settings.db with SQLite Editor), so I can install apps from Amazon Appstore and used Titanium Backup to delete bloatware.
I noticed that when I installed SwiftKey that I would click 'Enable Swiftkey' and then click on Swiftkey settings only to be told that I need to enable swiftkey in order to change the settings. I thought it was a problem with swiftkey.
However, I then noticed that the phone kept reverting to USB Debugging Mode and only after three attempts was I able to disable USB debugging and mount my drive. I finally figured out that it's a problem with changing settings; can anybody tell me how to fix this? Thanks.
Super one click 1.whatever has the option to enable side-loading ( 2nd tab! ) so you really waisted some time on that one!
if you are running a custom rom, they are made to keep debugging on, it doesnt stop you from doing anything.
to enable swift key:
menu button > settings > locale and text > check swiftkey to enable.
ive never used swiftkey but that is how all other keyboards go....
all else fails install a custom rom / pre-rooted, crap removed, extra options, side loading tethering ect...
More info
The problem isn't just SwiftKey or USB debugging. All settings on the phone are screwed up. I hold down the power button and bring up the options:
Data Network Mode: I restarted the phone and 3g was enabled. I clicked on the data network mode and disabled it. But now it's always off, yet it says it's activated (and I can't set it to deactivated)
Airplane Mode: I can't put the phone in airplane mode, nor can I do this from the settings menu
Sound: This works fine
On the Power Control Widget:
Brightness: I can change brightness, but the icon stays the same
Sync: This button works fine
GPS: This button is not responding
Bluetooth: n/a (the button lights up, but I don't have bluetooth)
Wifi: n/a (the button lights up, but I don't have wifi nearby)
The settings menu:
I know that Swiftkey and USB debugging are giving me problems
As for the custom ROM, I was having problems with the the signature error on 2.2 (http://forum.xda-developers.com/showthread.php?t=1051197)
I'm going to try out the advise from that thread and see if I can resolve this with a custom ROM. Normally I'd say this is "throwing out the baby with the bath water," but I'm excited about putting a custom ROM on my phone for performance reasons.
If there is another solution, I'd like to know about it because I want to be a little more adept before installing a ROM on my phone. Thanks.
I was going to install Serendipity 6.4. Do you have another MOD that you would recommend?
+1 for serendipity

Enable logcat on P8 lite

Tested it and it seems to work.
Copied from XDA frontpage:
Open your dialer app and enter the following code:
*#*#2846579#*#*
You won’t have to press the dial button, as entering this code will immediately bring up a settings page called ProjectMenu. Here, you have several menus to look through.
Here's a brief explanation of each page:
Background Settings – the page we’re interested in. Here, you can change debug settings, USB connection settings, and “set UI theme color” (I’m not entirely sure what the function of this option is).
Veneer Information – detailed information about the software and hardware of the device
Network Information Query – detailed information about the network capabilities of the device and the SIM card
Software Upgrade – apply updates from the SD card
Restore Factory – factory reset
Battery Charge – battery information and recommended charge levels for long-term battery longevity
Enter the Background Settings page, where you will see several options. Click on “Log Settings” to bring up a dialog box with options to select the logging level. Check all 3 options to enable full logging. You will see a toast message saying that enabling any of these logging options “will affect performance” but you can safely ignore this warning. Once you’re done with this, reboot the phone. You should now be able to collect logs on your Huawei phone. Now get out there and help our developers debug their apps!

Because an app is obscuring a permission request... when trying to USB Debug Website

I have an unrooted/unchanged/stock Huawei P10 running EMUI 5.1 and am trying to debug a website I'm making. Latest Chrome on the P10 and latest Chrome on my Retina MacBook Pro 15'' (late 2013) High Sierra 10.13
The route worked on all my previous devices. USB Debugging is checked on, I plug in the cable and say yes to the prompt "Allow Access to device data?". Next prompt "Allow USB Debugging" -> OK gives me the following error: "An App is obscuring a permission request. Settings can't verify your response"
Looking for solutions I read stuff about background apps which mess up things. All I know of / remember installing is "Mi Band Tools", and "Pie Controls".
I tried to shut down "Mi Band Tools" via Settings -> Apps -> Mi Band Tools -> "Stop" – But it seems not to be stopped for long? Since I don't know if this would solve the problem anways, I figured to come here first. It would be great if I wouldn't have to uninstall these apps.. always a pain to restore etc.
Thank you very much!
*gentle push*, because the problem still remains
katerlouis said:
*gentle push*, because the problem still remains
Click to expand...
Click to collapse
I had the same problem with my Huawei Honor View10.
I had to uncheck the "Permit drawing over other apps" for a (in my case) JINA Drawer. Maybe you have to uncheck an other one...
In EMUI 8 = Settings - Apps - Apps & notifications - Apps - Settings (bottom of screen) - Special access - Draw over other apps
Good luck!
fehrcomp said:
I had the same problem with my Huawei Honor View10.
I had to uncheck the "Permit drawing over other apps" for a (in my case) JINA Drawer. Maybe you have to uncheck an other one...
In EMUI 8 = Settings - Apps - Apps & notifications - Apps - Settings (bottom of screen) - Special access - Draw over other apps
Good luck!
Click to expand...
Click to collapse
Thank you for the tip! This got me on the right track <3
Holy Moly.. this setting is hidden as hell; on my P10 running EMUI 5.1 (german), the setting path was:
settings > apps > settings (corg button at the bottom left) > special access > draw over other apps > talkback
Thank youuu!
katerlouis said:
Thank you for the tip! This got me on the right track <3
Holy Moly.. this setting is hidden as hell; on my P10 running EMUI 5.1 (german), the setting path was:
settings > apps > settings (corg button at the bottom left) > special access > draw over other apps > talkback
Thank youuu!
Click to expand...
Click to collapse
Yes! On my device Mate 1o Pro, it was Talkback as well that ¨obscured a permission request¨.
If you have a custom rom with Smart Pixels and it is turned on, it will do this also. Turn it off, retry,
help please
im using honor 7x with latest oreo update and running on emui 8.0
none of the above method helped me get through that error
please help i can not verify my computers RSA key because an app is obscuring the permission request .
kamisan said:
If you have a custom rom with Smart Pixels and it is turned on, it will do this also. Turn it off, retry,
Click to expand...
Click to collapse
YEESSSS!!! Thank you for mentioning this, I never would've make that connection and that's exactly what it was for me! I guess those pics weren't all that smart after all ?
Panshu Mehra said:
im using honor 7x with latest oreo update and running on emui 8.0
none of the above method helped me get through that error
please help i can not verify my computers RSA key because an app is obscuring the permission request .
Click to expand...
Click to collapse
I have an Honor 8 pro and I'm facing the same issue. I've disabled all apps which draw on the screen and restarted my phone too.
kamisan said:
If you have a custom rom with Smart Pixels and it is turned on, it will do this also. Turn it off, retry,
Click to expand...
Click to collapse
Wow, good call. I was having this same issue. Thanks!
Fix #2 - if it works
i was messing with my Samsung Galaxy J7 Core J701F/DS and I was trying to figure out your problem also because i got the same problem as yours so the thing that worked for me is going to Settings (Nougat 7.0/1)> Apps> 3-dot menu/optionsl settings/other settings> Special Access> Apps that can be on top> Disable all apps like literally disable them all and try to debug your phone again...if it works, enable apps in that setting one by one and repeat debugging process. If it doesnt work, disable the last app you enabled, and if it works again...that is the app that is doing the dirty work...mine was not in the system apps it was one of my apps which is AZ Screen Recorder lol....(why the app that is being used everyday need to be disabled....)
kamisan said:
If you have a custom rom with Smart Pixels and it is turned on, it will do this also. Turn it off, retry,
Click to expand...
Click to collapse
Omg thank you so much for this. It was driving me bat**** crazy. I tried everything didnt even think this would cause it.
katerlouis said:
I have an unrooted/unchanged/stock Huawei P10 running EMUI 5.1 and am trying to debug a website I'm making. Latest Chrome on the P10 and latest Chrome on my Retina MacBook Pro 15'' (late 2013) High Sierra 10.13
The route worked on all my previous devices. USB Debugging is checked on, I plug in the cable and say yes to the prompt "Allow Access to device data?". Next prompt "Allow USB Debugging" -> OK gives me the following error: "An App is obscuring a permission request. Settings can't verify your response"
Looking for solutions I read stuff about background apps which mess up things. All I know of / remember installing is "Mi Band Tools", and "Pie Controls".
I tried to shut down "Mi Band Tools" via Settings -> Apps -> Mi Band Tools -> "Stop" – But it seems not to be stopped for long? Since I don't know if this would solve the problem anways, I figured to come here first. It would be great if I wouldn't have to uninstall these apps.. always a pain to restore etc.
Thank you very much!
Click to expand...
Click to collapse
1. Apps such as Blue light filter apps constantly appear on the top of your screen thus breaking some of the on screen functionalities. Try disabling display over other apps permission of such apps and you should be fine.
2. Also, sometimes it is because of your custom launcher, so try switching to your stock launcher if above solutions don't work.
3. If Accessibility for some apps are on then try disabling them first.
PS : Of all the 3 solutions try the possible ones.
Hope it helps.
kapil1100 said:
1. Apps such as Blue light filter apps constantly appear on the top of your screen thus breaking some of the on screen functionalities. Try disabling display over other apps permission of such apps and you should be fine.
2. Also, sometimes it is because of your custom launcher, so try switching to your stock launcher if above solutions don't work.
3. If Accessibility for some apps are on then try disabling them first.
PS : Of all the 3 solutions try the possible ones.
Hope it helps.
Click to expand...
Click to collapse
This put me on the right track.
I have an LG G6 running Android 8.0. My Keeper Security app needs permission to Draw over other apps and since around December 2018 it has started acting 'flaky'. The app would warn me that I need to turn on this permission, but when I clicked "OK" in the Keeper app to take me to the Android setting for the app, it was always turned on. I could turn it ON/OFF, along with the setting that needed this permission in the Keeper app (called Keeper Fill) and eventually get it to work again, but it would always break again very soon after.
As I am getting ready to go on a trip, I installed Google's Datally app. It, too, wants me to turn on Draw over other apps, but when I tap "next" to be taken to the Android settings page to enable Draw over other apps, nothing happens (I usually expect an app detects it has been enabled and gives "success" message).
So I started disabling the 3 possible suspects listed by kapil1100. I had LG's Comfort View and some Accessibility options enabled, so I turned them off and: no change.
I disabled all other apps that have permission to Draw over other apps via: Settings > Apps & notifications > Special access > Draw over other apps, and: no change.
I use Evie launcher, so I went back to the stock one: no change.
I got thinking about what else could be modifying/accessing the screen and realized that LG has custom Home touch buttons.
I went to: Settings > Display > Home touch buttons > Hide Home touch buttons and DISABLED Show lock/hide icon and then tried enabling Draw over other apps for Datally and IT WORKED!.
I was then able to turn Show lock/hide icon back ON and everything has been working as expected. I suspect that, because I had Show lock/hide icon turned on during an upgrade, something got messed up and my turning it OFF and back ON fixed the issue.
I hope this helps someone!

How To Guide Enable USB Tethering

This Guide will show you how to enable USB Tethering on Redmi Note 10S (All Variants)
Step 1
Open "Dialer", type : *#*#3646633#*#*
This will allow you to access Engineering Mode
Step 2
You will now accessing [Telephony] Tab
Now, scroll down till the end of the list
you will see "Usb Tethering", Single Tap
Step 3
There will only be a button on the page
Just Click [Enable], it will toggle the button as [Disable]
*Toast Message: set tethering to true succeed*
Step 4
Now go to "Settings", go to "Developer Options"
Scroll down to [Default USB Settings], Single Tap
Check default connection as USB Tethering
There might be some translation errors
but it won't affect the whole guide
cheers!
End of Guide

Question 13.0.20.0 - NFC icon

I haven't used my xiaomi 12 pro for a while, today turned it on, updated to 13.0.20.0 and now there is an annoying NFC icon on the top left that does not go away
thegios said:
I haven't used my xiaomi 12 pro for a while, today turned it on, updated to 13.0.20.0 and now there is an annoying NFC icon on the top left that does not go away
Click to expand...
Click to collapse
This is a stable beta, try to restore NFC functionality or reset the phone.
Xiaomi 12 Pro EEAStable BetaRecoveryV13.0.20.0.SLBEUXM12.04.3 GB2022-09-15
what do you mean by restore nfc functionality?
and no, I'm not going to reset phone for an icon
thegios said:
what do you mean by restore nfc functionality?
and no, I'm not going to reset phone for an icon
Click to expand...
Click to collapse
Stupid question but the NFC is deactivated?
Settings/connection and sharing
NOSS8 said:
Stupid question but the NFC is deactivated?
Settings/connection and sharing
Click to expand...
Click to collapse
yes NFC is on and I have run nfc rstore to no avail, I have also disabled and re-enabled nfc and icon is still there
thegios said:
yes NFC is on and I have run nfc rstore to no avail, I have also disabled and re-enabled nfc and icon is still there
Click to expand...
Click to collapse
Did you reboot afterwards?
May be a bug without a reset difficult to say.
Try settings/management of apps/apps installed/three dots at the top right/display system services/search for Nfc/services Nfc erase data and or notification no
Hide it via Shizuku and SystemUI Tuner (a both u can find on Play Store)..
This command works 100%. You have to enable USB debugging and USB debugging (Security settings) and restart the phone for it to work:
adb shell settings put secure icon_blacklist nfc
nikec said:
This command works 100%. You have to enable USB debugging and USB debugging (Security settings) and restart the phone for it to work:
adb shell settings put secure icon_blacklist nfc
Click to expand...
Click to collapse
How do you set security settings?
1. Open System Settings.
2. Go to the Additional Settings section.
3. Open Developer Options.
4. Look for USB debugging and turn on the switch.
5. A warning will appear - check the box that you are aware of possible risks and press the OK button.
6. The USB debugging switch should now be blue, i.e. active.
7. Now find USB Debugging (Security Settings) and turn on the switch.
8. Read the Important Notice and click Next.
9. Read the next important information and click Next again.
10. When asked Allow Now? respond by pressing the Accept button.
11. The USB Debugging (Security Settings) switch should now be blue, i.e. active.
Type
"adb devices"
"adb shell settings put secure icon_blacklist nfc"
"adb reboot"
Command to turn icons back on:
"adb shell settings delete secure icon_blacklist"
or
"adb shell settings get secure icon_blacklist"

Categories

Resources