yashsingh1/xdaforums huggingface dataset:
[Android General] lcparente:
.

.

.

.
[MENTION=6615855]Darr247[/MENTION] & [MENTION=6376476]fawazahmed0[/MENTION], thank you guys so much for such consideration and so sorry for my delay to reply your messages. Due to my work, it is really to answer fast.

So, summing-up A LOT, it seems that it was a driver problem here on my W8.1, even though I was without restart my operational system for the past 41+ days. Lol.

Then, I updated everything, restarted the Windows 8.1, ran the Latest-ADB-Installer.bat tool, and yet during the installation my device even did not reboot in fastboot, even though the CMD showed that everything was supposedly fine. Furthermore, I notice that when I plug my USB, the system recognizes-it and start to recharge; but, it just last for few seconds. However, when I change the USB for File Transfer or Transfer photos (PTP), a new Explorer windows open and the battery charge continues. Note sure with this is normal with you guys.

An attempt that I did to solve my problem with the USB driver was to download Xiaomi Mi A3 USB Drivers Download for Windows on this cited link.

I download the qualcomm_driver.zip as per taught, restarted the O.S., then I ran the Latest-ADB-Installer.bat and this time everything happened differently. New instalation windows opened, new accesses was requested, the device restarted in fastboot...

And after this I could open CMD as admin, run the:

adb shell pm grant com.zacharee1.systemuituner android.permission.WRITE_SECURE_SETTINGS

And I had this return via DOS interface:

C:\>
C:\>
C:\>adb shell pm grant com.zacharee1.systemuituner android.permission.WRITE_SECU
RE_SETTINGS
* daemon not running; starting now at tcp:5037
* daemon started successfully

C:\>

No errors at all!!! Thus, I could open SystemUI Tool normaly!!!

Thanks again and so sorry for this not so long story short here. I am not a programmer or developer. I am just a just low level nerd who like some tuning and sometimes change the ROM when the manufacturer offers-it. I tried to detail this information here in order that I noob like me could understand later, and who knows another user might be helped by this post, no?!
[Android General] jozin2:
Hello,

i need to unlock the bootloader on my old tablet Acer A510 with stock ROM, android 4.1.2 (then i want install another ROM with newer Android).

After i run your tool, my tablet reboot, but i don't see any message on display, that the fastboot is activated. Then i disconnect the tablet prom PC, now come the message on the tablet: "Bootloader vJB-d0ca683: Starting Fastboot USB download protocol" . I connect the tablet again to PC (Tablet in fastboot mode).

In device manager is one device "FastBoot" with incorrect driver (driver error Code 28).

Then run your tool again (my tablet connected in fastboot mode), but no success.

Then i have tried update the driver manually in device manager, i have choose this pad: C:\Program Files\platform-tools

but windows can not install this driver.

Have you maybe any idea?

Many thanks in advance!

EDIT:

I have solved my problem. After many attempt i have restart my Win10 in mode with option “Disable driver signature enforcement”. There i have one more run yout driver-intallation tool and now are the driver correct installed and i have successfull unlocked my bootloader.

Maybe you should make notice in your tool, for windows10 user, that it is necessary restart Windows with “Disable driver signature enforcement.”

Many thanks for your usefull tool! It have help me.
[Android General] fawazahmed0:
[MENTION=9842948]jozin2[/MENTION] Thanks :) for your feedback, I tested this tool in windows 10 with driver signature enforcement enabled and it worked fine, I think I will have to test in some other pc.

Thanks once again for your feedback
[Android General] fawazahmed0:
I updated the code, hopefully that should fix the driver problems for everyone

In future when I get some free time, I will try to add logging feature into this tool, to catch hard to reproduce bugs
[Android General] fawazahmed0:
Hi [MENTION=6615855]Darr247[/MENTION] , Just wanted to ask, what phone do you use?

I have three android devices (from different oem) at home, each one requires 'MTP/File Transfer' option to be selected.

if your phone requires charging to be selected to detect adb debugging mode, I might have to edit the description
[Android General] fawazahmed0:
If your phone booted to fastboot mode during installation, that means adb drivers were installed successfully.

Just connect your phone in usb debugging mode to pc and then try 'adb devices' command.

You don't have to be in any specific place or specific directory, just go to start-> type 'cmd' and press enter -> There you enter your 'adb devices' command
[Android General] Darr247:
Whatever you do, DON'T try selecting "Charge Only" in the USB options of the Notifications pull downs as I suggested... fawazahmed0 will answer all your questions.
[Android General] fawazahmed0:
Have you tried what I have said here https://xdaforums.com/showpost.php?p=82577585&postcount=96
[Android General] jcsww:
Is your device connected to your PC with the cable it originally came with? Do you have USB Debugging enabled in the Developer Options? Is your device driver/ADB driver installed in Device Manager?
[Android General] jcsww:
Depending on your device, it might require one from the manufacture. Google also has a driver in the Android SDK.
[Android General] fawazahmed0:
You have to be in fastboot mode, boot your phone to fastboot mode and connect your phone to pc and they try 'fastboot devices' command.

If it doesn't work, just rerun the tool when the phone is connected in fastboot mode, it will install the fastboot drivers and then you can perform 'fastboot devices' from command prompt
[Android General] fawazahmed0:
This tool will install all the drivers automatically,

what problem are you facing right now?

please share the screenshot if possible.
[Android General] fawazahmed0:
[MENTION=10759939]xdev_the2nd[/MENTION] You are welcome:)
[Android General] vrgolin:
I installed successful on windows 10 and and it works on Samsung A71 . I tryed some command on cometin app to hide navigation bar / status bar successful.

Now I want to know ...(note: I don't want to root my divice , not yet)

Is would like to change the boot image on my divice. Can I use ADB to do this? And how do I do it? Can I install TWRP on this divice?
[Android General] vrgolin:
Hi how do you unlocked the bootloader? Thanks in advance

---------- Post added at 12:36 PM ---------- Previous post was at 11:51 AM ----------
[Android General] fawazahmed0:
Every device is different, and for each device the steps required to root or install boot image differ.

you will have to look in your device specific forums for answer:

https://xdaforums.com/galaxy-a71
[Android General] vrgolin:
Thanks mi divice is a Samsung A71 is not much for this one yet... In better words ( nothing) [emoji38] [emoji38]
[Android General] Azimutz:
Thank you, it made my day. The damn fastboot driver it's always a problem;

even the drivers and .inf from Sony were useless. (Xperia XZ1 G8341).
[Android General] Player04:
For some strange reason, i cant seem to connect to adb using my S20ULTRA 5g. Im using windows 10, enable usb settings, got samsung driver installed and still device is not found. Ive checked windows 10 recognize my device in device manager. Please assist.
[Android General] fawazahmed0:
[MENTION=5811646]Player04[/MENTION] one question, did your phone booted to fastboot mode during installation?

Could you uninstall the drivers of device from device manager.

Here are the steps you should follow:

1. Open device manager

2. connect your phone to pc with usb debugging enabled (connect to usb port which works, sometimes the problem is in the usb port you are using, eg: https://xdaforums.com/showpost.php?p=80992775&postcount=10)

3. You will see connected device in device manager, expand it and right click -> click uninstall and check delete the driver software for this device and click ok

4. Now reconnect the phone to pc with usb debugging enabled

5. Run my tool, hopefully it will detect and install the right drivers for your phone
[Android General] Player04:
thanks it works now.
[Android General] fawazahmed0:
Glad that it helped:)
[Android General] fawazahmed0:
Added few more things in the tool:good:, just let me know if anyone faces any issue

.
[Android General] techieboy2020:
The tool stops at installing USB drivers... seems like my PC can't install drivers. I already disabled my firewall.
[Android General] fawazahmed0:
Can you share the screenshot
[Android General] techieboy2020:
I am stucked here.
[Android General] techieboy2020:
UPDATE: The installation was already finished. My problem now is that the drivers don't detect my phone. I tried to install previous drivers but it took a long time in my PC.
[Android General] fawazahmed0:
[Deleted]
[Android General] fawazahmed0:
You have to connect the phone in USB debugging mode and then run the tool, it will automatically detect and install the phone drivers

If the above suggestion didn't solve your problem, please follow these steps:

https://xdaforums.com/showpost.php?p=82890491&postcount=114

.
[Android General] techieboy2020:
My computer can already detect my phone, but I can't still access the storage in PC.
[Android General] fawazahmed0:
When you connect the phone to pc, you have to select MTP or File Transfer or USB Mass Storage Option from your phone, so that you could access the phone storage
[Android General] techieboy2020:
Yes, I also did this thing. My phone only charges while connecting.
[Android General] fawazahmed0:
Try restarting the pc and then try again.

Also one more thing, my tool doesn't install MTP/Storage drivers, these drivers are automatically installed by your windows OS, so if you are facing issues related to storage access, just try connecting your phone to another laptop/pc.
[Android General] Sujith kumar S S:
Can we Vivo y81 root??

There is no custom recovery available for vivo y81 devices. How can i root my vivo y81(1803) device?

Please help me to flash magisk.zip to get root acess. If anybody get twrp recovery for vivo y81 or rooted it, please tell me to root my device..

Thank you
[Android General] fawazahmed0:
Hi [MENTION=11016163]Sujith kumar S S[/MENTION] ,

This thread is only for adb,fastboot, usb drivers issues.

But as you have asked, I did search for your devices vivo y81 and seems like no one worked on this phone, so there is no root etc.

You can try different one click root apps, maybe that might work.

Also there are other ways also, like if you get boot.img(kernel) of your phone and have bootloader unlocked, you can create custom recovery from it using simple easy to use tools and that way you will gain custom recovery and root also.
[Android General] mU$!c:
[MENTION=6376476]fawazahmed0[/MENTION]

I think everything went as planned this time... BUT then I ran into a BIIIIIIIIIIIG issue, as you can see :(

I'm using your brand new .bat ,think you uploaded it like 7 or 8 days ago

C:\Users\?xxuserxx?\Desktop>fastboot flash recovery twrp.img

Sending 'recovery' (32768 KB) OKAY [ 1.037s]

Writing 'recovery' FAILED (remote: 'unknown command')

fastboot: error: Command failed

LOG

====================================================

All Praises be to God , who have Created All Things,

While He Himself is Uncreated

====================================================

Latest ADB Fastboot and USB Driver Installer tool

By fawazahmed0 @ xda-developers

====================================================

Please connect your phone in USB Debugging Mode with MTP or File Transfer

Option selected, for Proper USB drivers installation, you can do this now,

while the installation is running [Optional Step, Highly Recommended]

Starting Installation

Creating temp folder

Downloading the latest adb and fastboot tools

Downloading latest usb drivers

Uninstalling older version

Installing the files

Installing USB drivers

Downloading unsigned driver installer tool

====================================================

Do not despair of the mercy of God [Quran 39:53]

====================================================

Unsigned Driver Installer Tool For Windows

By fawazahmed0 @ GitHub

====================================================

Downloading files required for signing the driver

Signing the drivers

Deleting the temporary files and folders

Driver Installation complete, press any key to exit

Setting the Environment Path

Creating 'Latest ADB Launcher' at Desktop

Deleting the temporary folder

Hurray!! Installation Complete, Now you can run ADB and Fastboot commands

using Command Prompt, beginner users can use 'Latest ADB Launcher' located

at Desktop, to flash TWRP, GSI etc

Note: In Case fastboot mode is not getting detected, just connect your phone

in fastboot mode and run the installer tool again.

If this tool helped you, Please donate or at least share this tool

with friends, so they don't have to waste time. Thanks in advance :)

press any key to exit and open donation and share page
[Android General] fawazahmed0:
Use 'Latest ADB Launcher' located at Desktop, to flash TWRP, GSI etc
[Android General] fawazahmed0:
Is your phone's bootloader unlocked?

You might want to uninstall the previous fastboot drivers:

Here are the steps you need to follow:

1. Open device manager

2. connect your phone to pc in fastboot mode

3. You will see connected device in device manager, expand it and right click -> click uninstall and check delete the driver software for this device and click ok

4. Now reconnect the phone to pc

5. Run my tool, hopefully it will detect and install the right fastboot drivers for your phone.

Now try flashing twrp again.

Also you might want to try below command:

fastboot boot twrp.img
[Android General] mU$!c:
In "Developers tools" in my Android OS where it says 'enable oem unlocking', it states that's my bootloader is already unlocked.
[Android General] fawazahmed0:
Then you might want to try uninstalling the fastboot drivers
[Android General] mU$!c:
Smartphone is a UMX U683CL

PRODUCT NAME: MSM8909

VARIANT: QRD eMMC

SECURE BOOT: Disabled

PC OS is Win 10 Pro

'Latest ADB Launcher' NOT on my desktop :(

This phone's Stock recovery has "No Commands" at all. When you boot into Stock recovery mode on this phone that's all you will see besides the Android bot mascot background art.

C:\Users\mU$!c inc\Desktop>flash recovery twrp.img

'flash' is not recognized as an internal or external command,

operable program or batch file.

The command "fastboot oem unlock" is only for unlocking the bootloader, right?
[Android General] fawazahmed0:
Follow the steps i told you above, also try using 'fastboot boot twrp.img' command, it might work for you
[Android General] mU$!c:
I tried both of your .bat files old and new. I tried your steps. None of the commands worked for me, and there is nothing named 'Latest ADB Launcher' on my Desktop.

C:\WINDOWS\system32>cd C:\Users\mU$!c inc\Desktop\

C:\Users\mU$!c inc\Desktop>fastboot flash recovery twrp.img

Sending 'recovery' (32768 KB) OKAY [ 1.416s]

Writing 'recovery' FAILED (remote: 'unknown command')

fastboot: error: Command failed

C:\Users\mU$!c inc\Desktop>flash recovery twrp.img

'flash' is not recognized as an internal or external command,

operable program or batch file.

C:\Users\mU$!c inc\Desktop>fastboot flash recovery twrp.img

Sending 'recovery' (32768 KB) OKAY [ 1.036s]

Writing 'recovery' FAILED (remote: 'unknown command')

fastboot: error: Command failed

C:\Users\mU$!c inc\Desktop>flash recovery twrp.img

'flash' is not recognized as an internal or external command,

operable program or batch file.

C:\Users\mU$!c inc\Desktop>fastboot boot twrp.img

Sending 'boot.img' (32768 KB) OKAY [ 1.034s]

Booting FAILED (remote: 'unknown command')

fastboot: error: Command failed
[Android General] fawazahmed0:
Please tell me what things have you tried till now? So that I can help you better :)

I suggested you few things, did you try that out?
[Android General] mU$!c:
I tried the steps you suggested uninstalling and deleting the drivers then reinstalling new drivers with your .bat

Phone states my bootloader is already unlocked so no need to use "fastboot oem unlock" command, I suppose.

I've tried every command in cmd.

I have an entire .zip folder attached to this reply with the following files inside that are supposed to be for twerp or rooting or whatever[stock april patch.zip].

I only tried to use the recovery image from the .zip file. Maybe you can tell me more about how else I could use this .zip file?

TWRP Recovery for Unimax UMX U683CL | Flashable Image

boot

recovery

system

vendor

Setting the Environment Path

Creating 'Latest ADB Launcher' at Desktop

Deleting the temporary folder

^ 'Latest ADB Launcher' is NOT on my Desktop anywhere at all. I don't know why really. Should I move 'Latest-ADB-Installer.bat' to Desktop?

Thank you kindly for your patience.
[Android General] fawazahmed0:
That looks like twrp flashable zip, you will have to install twrp in your phone before using that zip

There are many things that can go wrong, maybe you might have problem with your usb port, maybe you could try different pc/laptop.

Also it might be possible the twrp.img you are using is corrupted, so you might want to try to download a new one before you again.

And what was the output of 'fastboot boot twrp.img' command for you?
[Android General] mU$!c:
C:\Users\mU$!c inc\Desktop>fastboot boot twrp.img

Sending 'boot.img' (32768 KB) OKAY [ 1.034s]

Booting FAILED (remote: 'unknown command')

fastboot: error: Command failed

When I attempt to flash twerp to the phone I only use the recovery image which i renamed to twrp.img...

BUT, I see what you're saying. I'll have to boot twrp from the boot.img that's inside the .zip file, right? Then install twerp from inside twerp?

Yes, I know... it's like a double entendre.
[Android General] fawazahmed0:
The error you got first time seems to indicate that everything was installed perfectly well i.e drivers,fastboot, adb etc.

And you already confirmed that you have uninstalled and reinstalled the drivers, then I think the drivers not the issue.

You might want to try a different pc then.

Also there are few guides available for your phone on xda, you might want to refer those and maybe ask for help there, they might be able to tell you want might be going wrong:

https://xdaforums.com/android/general/umx-u683cl-root-tutorial-t4006847

https://xdaforums.com/android/general/umx-u683cl-twrp-t4006993
[Android General] fawazahmed0:
your phone doesn't support flashing through fastboot, you will have to use QPST flash tool, just refer the links I have mentioned above, they have more details on how to flash twrp , have root etc
[Android General] aryanhington:
on your github you have these drivers https://raw.githubusercontent.com/f...nstaller-for-windows/master/files/google64inf

can you tell me where you found this?
[Android General] fawazahmed0:
Sources are there in this batch file, https://github.com/fawazahmed0/Late...-windows/blob/master/Latest-ADB-Installer.bat

I don't remember exactly, but some I extracted from some manufacturers driver installers, such samsung etc
[Android General] aryanhington:
I have a mediatek mt6771 device and it wasnt recognizing with the oem mtk drivers on https://developer.android.com/studio/run/oem-usb yet for some reason it was working fine after i installed your drivers, which is strange.
[Android General] fawazahmed0:
My tool not only uses those drivers at https://raw.githubusercontent.com/f...nstaller-for-windows/master/files/google64inf , it will also detect any unknown android device connected to the pc and it will make drivers for those devices on the fly and that's the reason sometimes, I specifically mentioned that this tool installs device specific drivers.

So in nutshell this tool can install drivers for any new or old android device which is connected to pc in USB debugging mode during the installation
[Android General] Darr247:
I bet those come with the SDK, though they may be optional components.

https://developer.android.com/studio
[Android General] aryanhington:
I couldnt see the part in your source code where you create drivers for unknown devices, can you please show me where you are referring to?

---------- Post added at 02:38 PM ---------- Previous post was at 02:36 PM ----------

i think what fawazahmed0 has done is consolidated all the oem drivers from https://developer.android.com/studio/run/oem-usb#Drivers and then merged them into one at https://raw.githubusercontent.com/f...nstaller-for-windows/master/files/google64inf
[Android General] Darr247:
Compare the android_winusb.inf file to the stock copy I have attached to this message. That's the file where the vendor IDs and product IDs are matched up with the proper drivers.
[Android General] fawazahmed0:
Here you go:

https://github.com/fawazahmed0/Late...-for-windows/blob/master/files/fetch_hwid.ps1
[Android General] GuyInDogSuit:
I couldn't get adb to recognize my device when in TWRP, no matter what I did. Whatever this does, it did not fix my problem. Still doesn't recognize it.
[Android General] fawazahmed0:
1. Boot your phone to TWRP mode.

2. Then connect phone to pc/laptop.

3. And run my tool again.

hopefully it should detect and install the specific drivers for your phone.

Just let me know if the above steps didn't help
[Android General] problemathic:
why cant i follow this project? only subscribe. it will be great if can follow to get notified when there is an update ?
[Android General] GuyInDogSuit:
Nope. Sideload literally disconnects it or something, because I hear the sound Windows makes when something's disconnected, and when I run the "adb devices" command, nothing shows up. Device Manager is absolutely useless, too. Nothing Android or phone-related even shows up, regardless of whether I have "show hidden devices" enabled or not.
[Android General] jcsww:
Have you disabled Windows ability to disconnect and suspend USB connected devices?
[Android General] GuyInDogSuit:
wut
[Android General] jcsww:
In the Power Settings, Windows has the ability to suspend and disconnect devices connected via USB. Windows isn't great at making reasonable use of that feature that is more of an annoyance than anything.
[Android General] GuyInDogSuit:
Well, either way, not seeing this setting anywhere, so it's not possible that I've disabled or enabled it (whichever is opposite of default).
[Android General] fawazahmed0:
When you connect your phone in twrp mode to pc, does it shows "USB device not recognized notification"? something like this.

I am not sure, but it might be something related to twrp not supporting it, btw whats your phone model

Try sideloading a smaller file, if it works then you have to disable the USB selective suspend feature which is enabled by default, see this as suggested by [MENTION=3116388]jcsww[/MENTION]

Also a screenshot will really help

Thanks
[Android General] GuyInDogSuit:
Nope. Nothing pops up from Windows, even though I have that option enabled.

It's a OnePlus 7T. Sideloading doesn't work, period. I can't even send a file as the device "disappears" from adb/Device Manager when I turn on sideloading.

I just turned off that USB selective suspend "feature" (thanks again, Shaun, always the helpful one). but no changes there, either.

I'm not sure what you want a screenshot of. The phone screen? In recovery? Device Manager? :confused:
[Android General] fawazahmed0:
It seems to me the problem has more to do with the twrp not supporting sideloading, because this tool uses the official drivers provided by google.

Can't you adb push the file and then install the zip from twrp screen, instead of sideloading?

adb push sideload.zip /sdcard
[Android General] GuyInDogSuit:
If OOS's encryption wasn't so busted, TWRP would actually be able to read the internal storage (and there's no SD card slot, they jumped on that "no expandable storage BS bandwagon along with everyone else).