Redmi Note 7 International ROM, 64 bit 48Mpx 32GB 3GB Updated to android 10 QKQ1.190910.002 Miui Global 12.0.1 stable 12.0.1.0(QFGMIXM)
Hi all, there are for and against why USB debugging should be enabled or disabled by default - instead of having to find the option in Developer Options and enabling it there, Google should have made it available in ADB with a password and security question - but they did not do that, and here we are.
Now, I keep the USB debugging enabled on my phone just in case I can't access it other way than ADB(Ilive in the province in the Philippines and not many PRO phone shops here, the local ones can do some things but not recover a phone when USB debugging is OFF) - The problem I'm facing now, is that the build-in Security App(the one you can't disable or customize), disables USB debugging every time it Optimize. It's very annoying.
Do anyone have a solution for this?
Jan
Only solution I can think of is not to use the Security app. It's really annoying that USB debugging gets turned off and you loose Developer options and have to tap it back again. Anybody knows why the Security app can't be removed or just frozen?
svendsvin said:
Only solution I can think of is not to use the Security app. It's really annoying that USB debugging gets turned off and you loose Developer options and have to tap it back again. Anybody knows why the Security app can't be removed or just frozen?
Click to expand...
Click to collapse
Hi Svendsvin, do NOT under any circumstances remove the Security APP, it will send your phone into endless bootloop. I wouldn't try freezing either, since that might do it too.
Seems like Xiaomi just have to fix the app so that this exception can be added(most likely never going to happen, but we can hope and request it in their forum).
with kind regards
Jan
EDIT: link to my post in Xiaomi forum https://c.mi.com/forum.php?mod=viewthread&tid=3548581&page=1&extra=#pid18566423
I tried to freeze it but nothing happened. It just wasn't possible.
svendsvin said:
I tried to freeze it but nothing happened. It just wasn't possible.
Click to expand...
Click to collapse
Well there have been many reports on the net of bootloop when trying to freeze the system app, I guess you were lucky.
Related
Do these have a crash log anywhere? It has been crashing daily on me. Trying to debug this thing, before blaming it on hardware
troubleshot said:
Do these have a crash log anywhere? It has been crashing daily on me. Trying to debug this thing, before blaming it on hardware
Click to expand...
Click to collapse
I'd rma it
Sent from my Rooted, LazyPanda, White "Destroy Mode" Evo
troubleshot said:
Do these have a crash log anywhere? It has been crashing daily on me. Trying to debug this thing, before blaming it on hardware
Click to expand...
Click to collapse
Dunno about a crash log, but are you rooted? If so did you root with the awesome root kit available at this forum? The only reason I ask is cause I was having a daily crash as well- I'd turn it on for the first time in the morning and find it was booting up. Anyway, just by chance, I noticed my N7 was still in USB debugging mode when I plugged it into my Macbook to charge (IIRC, the rook kit requires you to turn on USB debugging during some part of the process). I've noticed that since turning off USB Debugging I haven't had a single daily crash, though I've had the unit freeze up once.
I don't know for sure that this is what fixed things, but I didn't do anything else to my N7 aside from the usual updating of apps and the unit is purring along again.
I bought an S4 for the AT&T system yesterday and found it necessary to return today. AT&T made it impossible to enable USB debugging on the S4's for its system.
I chatted online with Samsung's tech support and they said some carriers are doing that and some are not.
This is a ridiculous idea because it makes it impossible to develop Android Apps using the S4, unless you root the phone. I cannot afford to void the warranty, so I'm not going to root it.
Does anyone know any more about this? Are AT&T doing this for all the S4's that run on its system.
Thanks.
Did you goto About Phone and tap Build Number 7 times?
http://www.androidcentral.com/how-enable-developer-settings-android-42
ChronoReverse said:
Did you goto About Phone and tap Build Number 7 times?
Click to expand...
Click to collapse
Chrono, thanks. I tried it and it worked.
I wonder who made this bonehead decision to hide the developer options like enabling USB debugging? Was it Google when they wrote Android 2.2? Or did AT&T customize the settings program to do this?
Its not something anyone could have figured out on their own. It cost me and several other people several hours of wasted time and headaches.
JJJungleJim said:
Chrono, thanks. I tried it and it worked.
I wonder who made this bonehead decision to hide the developer options like enabling USB debugging? Was it Google when they wrote Android 2.2? Or did AT&T customize the settings program to do this?
Its not something anyone could have figured out on their own. It cost me and several other people several hours of wasted time and headaches.
Click to expand...
Click to collapse
google made that decision its a android 4.2 thing
It's a jelly bean feature, not samsung
Got this strange problem. Every time when I connect G4 with my Win7 PC via USB, the "Moto G(4)" icon shows up but it is empty under it. I will have to go to the Developer options to click on MTP again (even it is already set to MTP) to show the internal storage. This is really annoying extra step. Anyone knows what is the problem and how to fix it? Thanks.
[Update] Finally got it worked by following this thread:
http://forum.xda-developers.com/xposed/modules/mod-usb-marshmallow-1-0-t3272072
myasus said:
Got this strange problem. Every time when I connect G4 with my Win7 PC via USB, the "Moto G(4)" icon shows up but it is empty under it. I will have to go to the Developer options to click on MTP again (even it is already set to MTP) to show the internal storage. This is really annoying extra step. Anyone knows what is the problem and how to fix it? Thanks.
Click to expand...
Click to collapse
That setting in the developer options doesn't do anything. Every time you plug it in, it will default to charging and you have to click MTP in the notification. It was that way in the G3 also.
Tel864 said:
That setting in the developer options doesn't do anything. Every time you plug it in, it will default to charging and you have to click MTP in the notification. It was that way in the G3 also.
Click to expand...
Click to collapse
This is really annoying. Is there anyway to change it defaulted to MTP?
myasus said:
This is really annoying. Is there anyway to change it defaulted to MTP?
Click to expand...
Click to collapse
Not that I know of. I've done it so often on the G3 and now the G4 that it's habit.
Tel864 said:
Not that I know of. I've done it so often on the G3 and now the G4 that it's habit.
Click to expand...
Click to collapse
Finally got it worked by following this thread:
http://forum.xda-developers.com/xposed/modules/mod-usb-marshmallow-1-0-t3272072
myasus said:
Finally got it worked by following this thread:
http://forum.xda-developers.com/xposed/modules/mod-usb-marshmallow-1-0-t3272072
Click to expand...
Click to collapse
OK, I didn't know you were rooted.
It is a new security feature of Android since lolipop. It is to prevent malware on your pc targeting android connected phones. So that if you were charging it couldn't switch to connect storage without explicit approval on the phone itself.
Is there any possible way to keep USB debugging on while being in MTP mode...I don't really care how hacky it is. That option keeps cutting off and acting stupid. There must be a way to keep it on at all times.
Developer options, turn on USB debugging. If it turns itself off, you have bigger problems to worry about.
agraceful said:
Developer options, turn on USB debugging. If it turns itself off, you have bigger problems to worry about.
Click to expand...
Click to collapse
What do you mean I have bigger problems to worry about?
jintrigger said:
What do you mean I have bigger problems to worry about?
Click to expand...
Click to collapse
USB debugging will not turn itself off once turned on. IF that is the case here then you have a significant problem with your software.
So why have I read this is typical of Honor phones?
https://forum.xda-developers.com/honor-8-pro/help/usb-debugging-getting-off-t3651152
https://forum.xda-developers.com/honor-8/help/usb-debugging-off-t3672785
So is it typical behavior or not? Regardless of the answer how do I fix it?
jintrigger said:
So why have I read this is typical of Honor phones?
https://forum.xda-developers.com/honor-8-pro/help/usb-debugging-getting-off-t3651152
https://forum.xda-developers.com/honor-8/help/usb-debugging-off-t3672785
So is it typical behavior or not? Regardless of the answer how do I fix it?
Click to expand...
Click to collapse
No. Did you read the solution? Neither allowed permission to the PC they used. There is a picture shown in one of your links that shows the little window that pops up. That is what you need to look for. If it doesn't show up, you must clear the recent attached items. I use driver booster, so I'm not sure how to do so otherwise. When you turn on your USB debugging it ALWAYS works in mtp mode, so look for that window that pops up once your program requests it.
Sorry, I was bit aggravated since this is holding up my work, but let me explain. This computer has already been allowed. Unless I have 'Allow USB debugging only in charge mode' or 'Allows prompt when connecting to USB' turned on, I cant get USB debugging to stay on. I'd like to default to MTP (so it doesn't prompt me) while using adb (so I have to allow debugging outside of charge mode)...I guess I'll be fine with the prompt...Just like to know if it's possible.
I do know from my own use that if you optimize the phone through phone manager, debugging will be turned off.
Sent from my XT1575 using XDA Labs
jintrigger said:
Sorry, I was bit aggravated since this is holding up my work, but let me explain. This computer has already been allowed. Unless I have 'Allow USB debugging only in charge mode' or 'Allows prompt when connecting to USB' turned on, I cant get USB debugging to stay on. I'd like to default to MTP (so it doesn't prompt me) while using adb (so I have to allow debugging outside of charge mode)...I guess I'll be fine with the prompt...Just like to know if it's possible.
Click to expand...
Click to collapse
I haven't found a way to link them. Everytime I restart my phone debugging turns off. I guess it's an EMUI limitation.
Sent from my Honor 8 using XDA Labs
ayush rao said:
I haven't found a way to link them. Everytime I restart my phone debugging turns off. I guess it's an EMUI limitation.
Sent from my Honor 8 using XDA Labs
Click to expand...
Click to collapse
...this won't be helpful but perhaps encouraging. it is possible as I was having the same issue. ...how i got it working I am not sure but my usb debugging survives reboots. perhaps try a few different combo's in the developer mode. for starters i do have always prompt when connect to usb = on; allow adb debugging in charge only mode = on
jasonvxs4 said:
...this won't be helpful but perhaps encouraging. it is possible as I was having the same issue. ...how i got it working I am not sure but my usb debugging survives reboots. perhaps try a few different combo's in the developer mode. for starters i do have always prompt when connect to usb = on; allow adb debugging in charge only mode = on
Click to expand...
Click to collapse
Well this is my config as of now. I've tried all the possible combinations but I can never get USB debugging to survive a reboot, but then again I never really dwelled into it since I hardly ever use it.
Thanks for the help though!
Sent from my Honor 8 using XDA Labs
ayush rao said:
Well this is my config as of now. I've tried all the possible combinations but I can never get USB debugging to survive a reboot, but then again I never really dwelled into it since I hardly ever use it.
Thanks for the help though!
Sent from my Honor 8 using XDA Labs
Click to expand...
Click to collapse
Scroll down in developer options and reset the settings and then enable USB debugging..
ayush rao said:
I haven't found a way to link them. Everytime I restart my phone debugging turns off. I guess it's an EMUI limitation.
Click to expand...
Click to collapse
This is a common problem with EMUI. The solution, keep toggling it until it sticks.
hackslash said:
This is a common problem with EMUI. The solution, keep toggling it until it sticks.
Click to expand...
Click to collapse
Ahhh. Thanks a lot for clearing this up :good:
Sent from my Honor 8 using XDA Labs
My brother passed away and was using this phone until a couple of weeks ago. I don't have the lockscreen pattern but I'm trying to do a little detective work regarding my brothers last activity. I reached out to law enforcement, but they don't have an active investigation and they suggested that I reach out to his cell provider [Tracfone] which I might try. Of specific interest to me is his text message activity on the day of his death.
Anyhow I scoured the net and tried to beat the lockscreen via emergency dialer, and also tried to connect via adb shell and MTP. I also don't think the device was registered via the samsung tools. I'm at the point where the device told me I have 9 unlock attempts left and it will erase the device after. The lockscreen seems to appear at device power and I think that it might not have booted android completely at this point.
Is anybody aware of a method to bypass the lockscreen which would work on this device so I can look into the details surrounding his death?
Sort of desperate here. There seems to be some software called Dr Fone that claims to have a lockscreen removal. However not sure that it works and on this device.
I may have a solution for this if you are wanting to preserve data if not check around on youtube for a video on FRP resetting this. I might have wrote a tutorial on this somewhere but I cant remember atm. Basically if you don't want to preserve the devices data (your brothers as you say) then you will simply factory reset it and then follow an FRP Removal tutorial you can find on here and or youtube.
btw nice leet username =]
phonecapone said:
I may have a solution for this if you are wanting to preserve data if not check around on youtube for a video on FRP resetting this. I might have wrote a tutorial on this somewhere but I cant remember atm. Basically if you don't want to preserve the devices data (your brothers as you say) then you will simply factory reset it and then follow an FRP Removal tutorial you can find on here and or youtube.
btw nice leet username =
Click to expand...
Click to collapse
Speaking of nice usernames
If you're still around, I have an old J327t1 that I had dropped and broke the screen on a few years ago. I recently fixed it, but can't remember PIN. I would like to preserve the data and am interested in what you have
veryspecialagent said:
Speaking of nice usernames
If you're still around, I have an old J327t1 that I had dropped and broke the screen on a few years ago. I recently fixed it, but can't remember PIN. I would like to preserve the data and am interested in what you have
Click to expand...
Click to collapse
All you need to do is find a recovery for that and flash it then go into the lock files and remove those. You can find some guides here on XDA or on youtube.
This was before I got into development, so adb isn't enabled, bootloader is still locked, and the phone is not rooted, so I'm skeptical I'd be able to flash. It's also running (I believe) Marshmallow, and most of those "find and delete lock settings" methods were for 4.x Kit-Kat and below. I could be wrong though.
If you have a particular thread in your watch list, I'd be grateful for the link.
I've been all over looking for a solution, hence me posting in here as opposed to creating a thread. Didn't want to reinvent the wheel if I didn't have to.
Despite the above limitations, the device has not received any updates since June 2017, it DOES go into MTP mode when I hook it to my laptop, and I have verified that it is vulnerable to the Mtpwn exploit.
noidodroid said:
All you need to do is find a recovery for that and flash it then go into the lock files and remove those. You can find some guides here on XDA or on youtube.
Click to expand...
Click to collapse
Also, I turned a moto g7 Play into a Nethunter device and had tried Android PIN Bruteforce, but after entering in so many PINs it would make me wait 30 seconds to try again and I couldn't figure out how to get my g7 to keep the screen of the J3 on. Or wake it back up, since it requires you to hit power then swipe the screen.
I ended up wiping it because it had Pie and no workaround for the wifi throttling, and installed Q. It's rooted, but I haven't set up nethunter back up on it yet. I do have an S5 that I has Nethunter, but haven't set it up with HID support yet. Plus, the battery on that would drain too quickly to use for this process.