Since android Q I lost ADB, what I can do more ? - Xiaomi Redmi Note 4 Questions & Answers

Hello
I don't know why but I cannot use ADB since android Q. (Option is of course enabled for USB and also network)
When I connect a computer with adb binary (windows, linux and live linux) the mido detect it because I get a notification in notification bar, but the computer is always unautorised, and I believe there is a problem in displaying the authorisation RSA popup. Never show this popup in android Q !!!
No problem with android 9 I see the autorisation popup and ADB work correctly.
But with android 10, there is no popup for authorisation ! --> the computer is alwas unauthorized .
I try a lot Android Q rom (system-roar-arm64-aonly-floss.img, caos-v224-201029-arm64-avN.img, Havoc-OS-v3.8-20200821-Official-arm64, RROS-Q-8.6.4-20201111-mido-Official) all have the same problem. No popup for ADB authorisation.
I reinstall android 9 (AOSP Extended) and no problem !!!! All is working correctly.
- I always wipe all partitions with mido flash_all or flash_factory, every time I flash a new ROM. (I can do it more because there is no important data for the time)
- On computer I restart and remove adbpub keys also without result.
What can I do more ? Any idea ? (I cannot debug the local debuger without adb )
Thanks

neo_mat said:
Hello
I don't know why but I cannot use ADB since android Q. (Option is of course enabled for USB and also network)
When I connect a computer with adb binary (windows, linux and live linux) the mido detect it because I get a notification in notification bar, but the computer is always unautorised, and I believe there is a problem in displaying the authorisation RSA popup. Never show this popup in android Q !!!
No problem with android 9 I see the autorisation popup and ADB work correctly.
But with android 10, there is no popup for authorisation ! --> the computer is alwas unauthorized .
I try a lot Android Q rom (system-roar-arm64-aonly-floss.img, caos-v224-201029-arm64-avN.img, Havoc-OS-v3.8-20200821-Official-arm64, RROS-Q-8.6.4-20201111-mido-Official) all have the same problem. No popup for ADB authorisation.
I reinstall android 9 (AOSP Extended) and no problem !!!! All is working correctly.
- I always wipe all partitions with mido flash_all or flash_factory, every time I flash a new ROM. (I can do it more because there is no important data for the time)
- On computer I restart and remove adbpub keys also without result.
What can I do more ? Any idea ? (I cannot debug the local debuger without adb )
Thanks
Click to expand...
Click to collapse
Very interesting. I don't remember to have this issue on my previous A10 roms, which were CrDroid and DerpFest. However, just two days ago I switched to official Resurrection Remix and I didn't have the need to grant ADB permission yet. So when I saw your post, I searched for cable and tested ADB, and yes - no popup at all! It might suggest the issue is yet ROM/source-related and you just had a bad luck
The solution I found after searching a while on XDA:
[SOLVED] ADB 'unauthorized', no RSA prompt, and no 'Revoke USB debugging' option
After fighting with this for nearly a month and reading dozens of threads on xda, stack-overflow, etc... I finally figured out this issue, so I'm putting it here in hopes it saves someone else the frustration. The issue presented itself on my...
forum.xda-developers.com
Just tried and worked. No popup, but device is authorized now.

Yes !!! it's working with PC !! thanks
Effectively I think it's a regression in adb source.
Now I must find the public key of the mido itself because I use applications that work in loopback network ADB in order to monitor RUN_IN_BACKGROUD permission and BOOTUP permission.

Related

[Q] Please help fix 4.2 storage issue on S3.

T-Mobile Galaxy S3 SGH-T999
Rooted
Latest TWRP recovery
CM 10.2 (Nov 6 nightly- Android 4.3.1)
I am trying to fix the storage issue that the multiple user profiles created when going from Android 4.1 to 4.2, where symlink folders are created and multiple instances of every installed app trick the phone into thinking more storage is being consumed than it actually is.
I found a video (Google: youtube how to fix htc one storage) which is specific to HTC One but figured it would work fine for me.
The video basically tells you to do a full factory wipe from TWRP and then ADB Sideload your ROM of preference.
My issues:
A. I installed Android SDK on my PC (Windows 7 64-bit) as well as the Android USB drivers. I enabled android debugging and did the kill-server and start-server and can get my PC to recognize my Android phone as an 'authorized device' upon entering 'adb devices' on the command line. However, once I wipe the card in recovery, my device ceases to appear in the cmd line. The list is empty. I need to understand why that happens.
B. Even though I've done a 'factory wipe' in recovery, if I reboot my phone, it goes to the CM setup screen and guides me thru initial phone setup.
Looking for some advice on the above issues. Clearly I'll need for my PC and phone to be able to communicate via ADB sideload first, then I can worry about issue B.
I'm not super experienced at this, but appreciate any help someone could provide. Alternatively, if there's a solution to fix the 4.2 storage issue without a full wipe and clean flash (via ADB), then that would be ideal. I've searched for answers on this specific topic to no avail.
I think you're on the wrong forum.
This is for international version of S3
I9300
Sent from my iPhone using Tapatalk

[Q] Mobile to pc connectivity problem

Hey guys.
I have Samsung galaxy ace 5839i (stock for 5830i) and I am using it for a few years, but this problem came for the first time.
Always, when I try to connect my mobile to pc using cable, it just won't connect, it won't even show me the notification of connecting.
Before this problem, I connected it to fedora linux and it was succesful, but now? It won't show me that USB sign even in windows.
Any help?
Thanks in advance
@LiQuDiAk, basically s5839i and s5830 i are identical in many areas ,, few questions though,, did you root your device or you are on android 2.3.6 stock version / kernel 2.6.35.7 ?
when you are in your windows device manager ( while you are connected , do you see any exclamation / question marks in front of the corresponding driver), you can always uninstall your old driver, reboot , then try compiled driver in attachment , and reboot to take proper effect in your registry (tested on win xp/7 -32bit) . Also check your device settings>Application>Development > USB Debugging and make sure the option is checked. now lets check your debugging mode through ADB command and see if your device is being recognized. download platform zip attachment, unzip it and put the folder someplace like your desktop. Now open your command prompt (cmd) through whatever means you are comfortable and change directory (cd) to the unzip folder or simply open your folder and drag/drop adb.exe into your CMD to be in the right place very fast. Then type "adb devices" without quotation marks and report for more troubleshooting .Assuming your Samsung cable is not faulty of course.
@ehsanotaku Yes i did root my phone on pheonix fire rom. No i do not see any. And debugging is checked, that was my first guess why it was causing this. I was checking, whether my device is recognized in linux (only available OS in present) and it was NOT, but the cable is not faulty, because it was charging my phone... but i will do recognize process on windows, hope it will get better. But thanks so far!
so, the driver didnt help, but the adb devices got me something long which i do not completely understand (i am a girl and not IT) so...
LiQuDiAk said:
so, the driver didnt help, but the adb devices got me something long which i do not completely understand (i am a girl and not IT) so...
Click to expand...
Click to collapse
off topic though, gender discrimination is prejudice,, sorry if you are offended . Learning from each other despite your gender,does not undermine your knowledge EVER mate You might find it hard to believe, but I am quite novice in android stuff myself ( learning a great deal from some female members though ).
Back to topic at hand now,,,So let Perfectly Clear take away the time-consuming tasks and fix some stuff ..1. so you can not access your sdcard's content from either systems,, even if you try some live bootable Ubuntu disk/flash into your system and boot it up,, you can't access the mount drive content , right?
2. screenshot of your device manger while you are connected always help mate
3. those long streams of numbers and words is supposed to be your device name , it means your device is communicating with your pc ( /sdcard/ should not be corrupted). You can push (copy ) some vital files to your device with following command :
again same path >> put some file into your desktop (drag/drop to cmd)
i.e: "adb push C:\Users\ehsanotaku\Desktop\test.txt /sdcard/"
back to your device and check root of your files with whatever file explorer you got to approve the theory
4. forgot to ask , just to be on the safe side your device is not in boot loop process, stuck on samsung splash screen or something like that, right?
okay, thanks!
1. I cannot access it trough USB to mobile way, but from SD card adapter, yeah I can (it is just the weird feeling, when you always have to put out your sd and do it that way, i would like to sort this out)
2. http://s1.postimg.org/nkta50u3x/Untitleddas.png I suppose the unknown device is my phone.
3. Just a question, my phone is not connected, i cannot access it and this doesn't help
4. Nope, it is working, i can access everything, just this connecting problem i have. anything else is running smoothly.
Let's say any of this will work, do you think flashing a stock rom will help? I am not sure, if this is problem of rom or not, so...
And maybe i wasn't clear (my bad if not) but when i plug the cable in my device and pc, pc will make this sound of new device found, but it wont show me anything, so my phone. It will charge, but it wont connect, it is behaving like it is on a charger and not connected to the phone.
@LiQuDiAk, Hasty actions are done in a hurry, sometimes without the necessary care or thought. Now let's not leap to any conclusion about your Android custom Rom and flashing back to stock. lets focus on your first most obvious problems,which is driver related.
You didn't declare your flavor of windows: i.e: Windows x86 based-PC;professional 7
Not so sure of your OS Name/Version and System Type, search "system information" in your search box.
Your task manger depicted ACPI x64 ( 64-bit system, no wonder previous 32-bit compatible didn't work out for you ).
Symptoms observed so far:
1. USB cable only charges ( remember your USB cable data line might be the culprit. Just in case of only charging,checking with another set recommended. Your USB port might be problem, some dirt or faulty data line, checking with another USP port doesn't heart though.
2. Windows recognizes something more (like in your case, struggling to find proper corresponding driver), but cannot see it as a Samsung android device (cannot allocate the installed USB drivers to the device).
-If you got Kies (Samsung proprietary software) installed on your PC, delete it with a descent uninstaller program such as CCleaner free version .Kies might cause driver conflict , use it as only last resort , if all drivers failed to communicate with s5830i device.
-Also Uninstall your previous given driver same way, now restart , back to system and grab set of universal Samsung Drivers from attachment .
3.Can't see your "USB connected" in Android notification bar, so you cant click on it and mount your storage data part while you are connected to your PC.
-Normally, when you plug in your Android device, Windows will recognize it as an MTP (Media Transfer Protocol) device and quietly mount it.
However, if you’ve ever attempted to unlock your device such as to install a new ROM or root it, then such miss behaviors might be expected occasionally .
Before i go for more troubleshooting , please provide a full screenshot from your "About Phone" page in your settings . I am quite curious about this phoenix Rom you have mentioned though . I am quite familiar with at least dozen of discontinued/ported projects, but never heard of such ported Rom from other models into s5830i .
Couple of solutions :
Navigate to your settings,Storage and touch the upper-right corner for the “USB computer connection” options, if you have this part available.
make sure “Media device (MTP)” is selected. ( if you have USB Utilities section or whatever added section in your custom settings go there . Selecting that will do the trick. If it does not, then you likely have a driver problem.
Open your device manager, Right click on your unrecognized device in question,choose update driver software, choose Browse my computer,find it through given x64 drivers in your package ,Restart. ( After a successful installation, restart your PC, you must have something like the picture in attachment ) .
Problem was not resolved, Uncheck your debugging option,power off your phone. Now hold Volume(+) + Home + Power for a couple of seconds simultaneously to get to your Samsung Recovery or your Clockwork Recovery, choose Reboot( might be some process/service in your background, which interfere with your Auto USB connected feature of your device. See if the problem is being resolved .
Problems have been persisting, we might need to format your SD card, but before that, insert it into your card reader, in your file explorer window choose Tools>Folder options>select view tab> tick your select hidden file.folders. Now copy all of your SD card's contents into some folder, safe inside your PC.
We can format your card through your clockwork mod recovery console, or some partition tools such as free mini partition wizard,,
problem still persist? let me know
Hey
After some rest with this, my mobile got it solved (dunno why, just once tried to do it and it works.)
So, thank you very much with your answers!!!!
And about that screenshots, I will PM you
But, really, thanks a lot, mate!!!!

Android 6, Galaxy S6 remember allowed MTP connection

Hello all
I got a new Samsung S6 from work. for security reason, I cannot root the device (entrust and other software will not install)
since I got it, I am very annoyed by the fact that every time I connect the phone to my Linux, I have the following message when I want to access the files by MTP
allow access to device media
a MTP connection will be established to access the Data on the connected device : DENY ALLOW
Click to expand...
Click to collapse
is there a way to remember which connection was allowed or to remove once and for all this annoying message ?
thx
Dereut
Hello and welcome to XDA Q&A section of the Forum.
When you connect your phone to your pc, do you get any message in the status bar like "USB used for charging"? If not, go into setting (while connected) and click storage and USB and select MTP.
Hope that helped and hit "thanks" if it did .
thank you for your reply
my problem is not that I cannot connect. I have all the settings correctly done (or so it seems) and I have selected MTP. the issue is that the question to authorize the connection will pop up every time.
the device does not remember the previous authorisations.
example, if i connect to my Linux, then run a virtualbox windows, I have to redirect the USB to the virtualbox, but because it does not remember the authorization, it will disconnect and ask again if I agree, then I will have to redirect to virtualbox as it is seen as a new connection everytime. this in circle
also, I connect and disconnect the device from the USb all the time, everytime, I have to re-authorize the connection, it is getting old
Hi, without root, there is currently no way to automatically authorize a device (kinda stupid really) however with root there are a few ways to do it.
Kyronater said:
Hi, without root, there is currently no way to automatically authorize a device (kinda stupid really) however with root there are a few ways to do it.
Click to expand...
Click to collapse
Tell me more, every time I connect my phone I have to switch from charging to file transfer in cm13.

adb Unauthorized except in 5.1.1

I currently have 5.1.1 installed on my honor 5x and am able to use adb automatically without accepting an RSA prompt (have installed twrp, rooted, etc.) but when I dload a MM stock rom and use usb debugging it is unauthorized and I get no RSA prompt I've even gone as far as to delete /data/misc/adb from my device and adbkey.pub from my desktop but there is still no pop up authorization in MM
Developer options -> Revoke authorisation (something like that), replug. If that doesn't help, change connection mode to file transfer and try again.
ShadySquirrel said:
Developer options -> Revoke authorisation (something like that), replug. If that doesn't help, change connection mode to file transfer and try again.
Click to expand...
Click to collapse
I actually don't have a "revoke authorization" button below usb debugging, odd I know but I've tried all those options to no avail
Tsunetoma said:
I actually don't have a "revoke authorization" button below usb debugging, odd I know but I've tried all those options to no avail
Click to expand...
Click to collapse
Tried toggling the debugging switch? I had issues like these on one of my previous devices, but usually these were fixed with a simple port change or debug off/on switch, if revoke->replug didn't work.
Have you checked drivers, or if dmesg says something about the device, if you're on Linux? Sometimes even running multiple adb instances (like one from terminal and one from Android Studio, for example) can cause this behviour.
Enable rsa key authentication

Root for HAOQIN H7 PRO

Hi everyone, I recently purchased a tablet on Amazon, which is slowly gaining a lot of fame for its really affordable price .Unfortunately I was unable to find information on the specific rooting procedure for this device. I hope someone knows how to recommend a way to solve the problem, thanks to everyone anyway
PS: I have already tried several OneClickRoot applications like Kingo Root, KingRoot, Framaroot and 360 Root.
Tablet information:
Tablet name : H7 pro
Brand name : Haoqin
Device model : H7_EEA
Android version : 9
Android security patch level : August 5, 2019
Kernel version : 4.4.189
Build number : Winnovo_H7_V1.7_20200406
nubrox99 said:
Hi everyone, I recently purchased a tablet on Amazon, which is slowly gaining a lot
...
Kernel version : 4.4.189
Build number : Winnovo_H7_V1.7_20200406
Click to expand...
Click to collapse
Hi,
Unfortunately I didn't even found the firmware file for your tablet so I doubt someone will be able to root it successfully without those files.
Have a good day
nubrox99 said:
PS: I have already tried several OneClickRoot applications like Kingo Root, KingRoot, Framaroot and 360 Root.
Click to expand...
Click to collapse
My POV: Those so-called One-Click-Rooters all are crap. Most of them are heavily outdated, not applicable on devices with newer versions of Android as with Android 9 GO what is installed on your device. For example KingRoot you tried only may work on devices with Android versions up to version 5 & Framaroot you also tried only may work on device's with Android version less then Pie.
And worst: They may even inject trackers as it's reported in WEB.
In short: You have to root your device's Android manually by yourself, of course only if supported by OEM/Carrier. To verify this boot into device's Recovery and look for option "apply update from adb".
If NOT present then simply stop further reading.
How-To:
In Android's Settings->Developer options enable "USB debugging"
Install ADB-driver on your computer and make it systemwide accessible, means add its location to PATH environment variable and re-boot computer
Download SuperSU Pro
Rename the downloaded ZIP-file to update.zip and move it to folder where ADB-driver is housed
Make sure your Android is charged over 60%
Connect your Android device with computer via USB-cable
On computer open command prompt: [Win]+[R], input cmd and press Enter-key
Run commands - one by one
Code:
adb devices
adb reboot recovery
Don't close command prompt window!
In Android's Recovery menu select option " apply update from adb" and confirm by pressing power button
On computer run command
Code:
adb sideload update.zip
The zip.file will be sideloaded and written in your Android. The process will take quite a long time, so please enjoy yourself with something during the period. When it completes, you can see something like "Install from ADB complete" on the screen.
As last step on computer run command
Code:
adb reboot
Close command prompt window
You also may delete file update.zip: it's no longer needed
I hope I've made it clear to you.
jwoegerbauer said:
Code:
adb sideload update.zip
Click to expand...
Click to collapse
Hi jwoegerbauer , thank you very much for your timely and detailed reply, sorry if I did not answer immediately.I tried with your suggestions, but when I do this step, it gives me an unrecognized device error (in fact the adb devices command give me an empty list) .Checking on google, I noticed that it is a driver problem and then the phone is not recognized in recovery mode but, always on google I was unable to find a guide to solve the problem. On the android developer site I downloaded a file zip called "usb-driver", but when I update the drivers and set this folder as a directory it gives me this error: "The specified folder does not contain a software driver compatible with the device. if there is a driver in the folder, make sure it is designed to work with windows for x64 systems "
I hope it is not my mistake or that it is something resolvable anyway, I wait and trust in your further clarification if possible
@nubrox99
The driver package usb_driver_r12_windows.zip you downloaded isn't the expected one, it's only meant to be explicitely used with Google devices. Typically the USB-driver gets downloaded from OEM's/Carrier's website. If not provided by them, then the Universal ADB Driver should get installed.

Categories

Resources