Yet Another Universal ADB Driver Package and adbupdater for Windows

Search This thread

CXZa

Senior Member
Apr 9, 2013
1,056
367
cxzstuff.blogspot.com
In another thread I came to think that some beautiful day the adbUpdater might not work anymore. But no worry, an update is coming soon before that. Then you can decide what files to extract, etc...

At the moment it doesn't extract for example the libwinpthread-1.dll as it was only used like one fastboot version. I don't know why it's still in the zip. Maybe it's used for something else?? Please tell if you know more, or if your device needs it, etc...

So, what to download from this a bit messy thread of mine? Here are the links again:
Yet Another Universal ADB Driver Package: https://yadi.sk/d/Xwt9cfb73HFhgA
Yet Another ADB + Fastboot Updater as exe: https://yadi.sk/d/UWsvoEsV3ReyeJ
Yet Another ADB + Fastboot Updater zip-file: https://yadi.sk/d/nZTi7Eqx3NcBwW

:cowboy:

Okay, the adbupdate.exe , i.e. "Yet Another ADB + Fastboot Updater", is now updated.
The download addresses are the same as always.

So, how to use the adbupdate.exe then?
Just put it any folder (preferably to an empty one) and run...
(if you are updating, delete the old adbupdate.ini and readme file from the folder
edit: changed. files are now overwritten. the old ini is saved as ini.old[#]...)

Added features:
  • select the files of your choice
  • don't backup the files replaced
  • keep the platform-tools zip files

Now it shouldn't get old anymore... ever.
(only if platform-tools package's file type changes from a zip really)
:fingers-crossed:
 
Last edited:

CXZa

Senior Member
Apr 9, 2013
1,056
367
cxzstuff.blogspot.com
Saving those platform-tool zip files might be a good idea as newer versions might someday stop working with the older devices and android versions. Already they have taken backup's usage from the adb's help away.

Needing an older version? Take your pick!

:eek:

More info:
 
Last edited:

CXZa

Senior Member
Apr 9, 2013
1,056
367
cxzstuff.blogspot.com
Updated the adbupdate.exe , i.e. "Yet Another ADB + Fastboot Updater" yet again.
Not a big deal. Just that the platform-tools zip, if saved, can now named using the revision
number instead of the file time at the server. Like the files in the previous post above.
The download addresses are the same as always...
 

crz6662

Senior Member
Jan 30, 2009
481
25
pgh, pa
I was about to add this ADB + Fastboot Updater tool into the YAUADBdriver package,
but decided to publish it is as separate download instead.
Just put it to the ADB-Prompt folder and run to update the programs if needed.
This stand alone program can also be used without the YAUADBdriver .
Just put it any folder (preferably to an empty one) and run...

Download the exe: https://yadi.sk/d/UWsvoEsV3ReyeJ
Download zipped: https://yadi.sk/d/nZTi7Eqx3NcBwW

Tested working using Win7, Win8 and Win10.
DISCLAIMER: No guarantee of any kind. Use at your own risk!

The Readme included is below. (It, ini and bat files will be extracted on the first run.)

----------------------------------------------------------------------------
Yet Another ADB + Fastboot Updater
(companion for Yet Another Universal ADB Driver Package)
----------------------------------------------------------------------------
by cxz (slatedroid,freaktab) / cxza (4pda.ru,xda) /
http://cxzstuff.blogspot.com/

-------------------------------
Key names used in adbupdate.ini (extracted on the first run)
-------------------------------
adburl - from where to download the zip archive (platform-tools-latest-windows.zip)
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
http://dl-ssl.google.com/android/repository/platform-tools-latest-windows.zip
adbolddate - previous file time at the server.
adboldsize - previous file size at the server.
daysbetweenchecks - check updates every X days. if 0 (zero) startup check is not done.
to enable startup check, define the value and run the program once.
program's shortcut is then created to "Start Menu/Startup" folder.
to disable startup check, change value to 0 and run the program once.
lastcheck - when the latest check was done
adbupdateerror - if more than 0 and startup check is on, checking is done on the next startup.
startupdelayminutes - delay checking X minutes at the startup.
targetfolder - define where to extract ADB + Fastboot files. Run program as Admin and
use for example C:\windows as the target folder to run them system-wide.
addtothepath - if "a", add current exe dir or the target dir to the path and use adb system-wide.
removing: change to "r", and re-run to remove targetfolder/current dir from the path.
(do not change the targetfolder value if any, or removing it from the path will fail)
(value "ok" means that the folder is now in the path variable)
useragent - define the user-agent used. max 256 characters.
makebackups - backup the files to be replaced to the adbupdate.exe\~backup folder. 1=yes.
keepthezip - the platform-tools zip is saved to the adbupdate.exe\~platform-tools folder. 1=yes.
extractfile1 - files to be extracted. 1, 2, 3 and so on. Use full paths inside the zip.
the files are extracted to the targetfolder/adbupdate.exe folder
without using the paths inside the zip.

Both ADB and Fastboot are terminated if running before updating
(or installing if the ADB is not in the target folder).


Google Chrome is blocking both downloads.

Why the download was blocked
Your file download may have been blocked for one of two reasons:

We think it might be a malicious, unwanted, or uncommon file.
Malicious: You tried downloading malware.
Unwanted: You tried downloading a deceptive piece of software. This program, disguised as a helpful download, may actually make unexpected changes to your computer.
Uncommon: You tried downloading an unfamiliar and potentially dangerous piece of software.
We've found that the website you tried to download the file from has been known to distribute malware.

Maybe use something else besides Yandex.
Why not a direct download from here ?
 
  • Like
Reactions: CXZa

CXZa

Senior Member
Apr 9, 2013
1,056
367
cxzstuff.blogspot.com
Google Chrome is blocking both downloads.

Why the download was blocked
Your file download may have been blocked for one of two reasons:
<snip>

Maybe use something else besides Yandex.
Why not a direct download from here ?

What's Chrome says is "X is not commonly downloaded and maybe dangerous."
People just haven't downloaded it enough I guess...
Just select "keep" from the menu...

I keep my stuff mainly on Yandex and I found updating to two places a bit inconvenient. Although there might not be any updates for adbupdate anymore, IDK... Some idea I had but I cannot remember it now... but a GUI for setting up those ini features could be nice...?

As you can see Yandex has already tested it for viruses.

File information

Name:adbupdate_[cxz].zip
Owner:cxzzzzz
Size:88 KB
Modified:10/22/2019 12:29 pm
Views:931
Downloaded:409 times
No viruses found
 
Last edited:

crz6662

Senior Member
Jan 30, 2009
481
25
pgh, pa
What's Chrome says is "X is not commonly downloaded and maybe dangerous."
People just haven't downloaded it enough I guess...
Just select "keep" from the menu...

I keep my stuff mainly on Yandex and I found updating to two places a bit inconvenient. Although there might not be any updates for adbupdate anymore, IDK... Some idea I had but I cannot remember it now... but a GUI for setting up those ini features could be nice...?

As you can see Yandex has already tested it for viruses.


Thanks. I understand but when my firewall throws up warnings I worry. Suppose I could scan it after I download it just to be safe. I would absolutely hate to get infected an have to reinstall a backup or fresh win 10.
Do we trust China/Russia with all the hackers out there ? Appreciate your effort.
 

CXZa

Senior Member
Apr 9, 2013
1,056
367
cxzstuff.blogspot.com
Thanks. I understand but when my firewall throws up warnings I worry. Suppose I could scan it after I download it just to be safe. I would absolutely hate to get infected an have to reinstall a backup or fresh win 10.
Do we trust China/Russia with all the hackers out there ? Appreciate your effort.

Well, at least this program of mine downloads its update zip packages from the original source, or you can define it yourself if you please. Unlike most of the others...
The source in both of these is pretty much open. At least my part is. Just find an older 7-zip version that can open nsis installers and see what they do...

edit: adbupdate.exe, crc-32 = B4FAB763
 
Last edited:
  • Like
Reactions: crz6662

kk131

Senior Member
Sep 8, 2007
181
66
Google Nexus 4
OnePlus One
Thanks. I understand but when my firewall throws up warnings I worry. Suppose I could scan it after I download it just to be safe. I would absolutely hate to get infected an have to reinstall a backup or fresh win 10.
Do we trust China/Russia with all the hackers out there ? Appreciate your effort.

Why single out China/Russia? You should treat downloads from anywhere as circumspect until known otherwise.
 

crz6662

Senior Member
Jan 30, 2009
481
25
pgh, pa
Why single out China/Russia? You should treat downloads from anywhere as circumspect until known otherwise.

Agreed. I'm not singling out China and Russia, but those are the ones that pop into my head right away. Probably because those are ones we hear about, but :

Top Ten Hacking Countries

1. China 41 percent (of the world's attack traffic)
2. U.S. 10 percent
3. Turkey 4.7 percent
4. Russia 4.3 percent
5. Taiwan 3.7 percent
6. Brazil 3.3 percent
7. Romania 2.8 percent
8. India 2.3 percent
9. Italy 1.6 percent
10. Hungary 1.4 percent

Would not have guessed Turkey was in the top 3.
 

CXZa

Senior Member
Apr 9, 2013
1,056
367
cxzstuff.blogspot.com
A small update to the YAUADBdriver or "Yet Another Universal ADB Driver Package".
I finally added the adbupdate to the YAUADBdriver installer. (And then I decided to leave it into the zip as a separate program as well... :p ) Also some typos and a minor bug removed from the batch files and GUI texts have changed a bit. So nothing that needs reinstalling really...
Download address is the same: https://yadi.sk/d/Xwt9cfb73HFhgA

:highfive:

File information

Name:YAUADBdriverPackage_[cxz].zip
Owner:cxzzzzz
Size:5.5 MB
Modified:10/24/2020 8:21 pm
Views:9900
Downloaded:6628 times
No viruses found
(The stats have reset once or twice...)
 
Last edited:
  • Like
Reactions: catseyenu

CXZa

Senior Member
Apr 9, 2013
1,056
367
cxzstuff.blogspot.com
There have been a couple of posts like this recently.


It seems that some Android 10+ versions have either changed their IDs or their behavior to the ADB. Downgrading it to Pie seem to have helped...

What I would like to know is any problems like this when using YAUADBdriver. Or whatever problems really...
I have tested it myself on 2004 version of Win10...
Thanks all and Happy New Year 2021!
 
  • Like
Reactions: Calvin.manneson

mGforCe

Senior Member
Dec 3, 2007
1,602
1
470
Mumbai
Thanks for this great tool which has auto update option. Don't think there is any other version of adb/fastboot with same option.

Keep it up!
 
  • Like
Reactions: CXZa

CXZa

Senior Member
Apr 9, 2013
1,056
367
cxzstuff.blogspot.com
Last edited:

CXZa

Senior Member
Apr 9, 2013
1,056
367
cxzstuff.blogspot.com
Someone at another thread...



I don't know the answer to this question. Google's driver should be signed....

But damn these changes again.. If somebody using Win11 could test this my self-signed package, ie. yet-another-universal-adbdriver using Win11, I would appreciate...

Download: https://yadi.sk/d/Xwt9cfb73HFhgA

Please, post the result here, or use PM/DM. Thanks !
Win 11 tested using virtualbox. YAUADBdriver works on it as expected... No problems whatsoever.
 

Attachments

  • VirtualBox_win11_22_10_2021_09_38_32.png
    VirtualBox_win11_22_10_2021_09_38_32.png
    82.6 KB · Views: 21
Last edited:
  • Like
Reactions: catseyenu

catseyenu

Senior Member
May 13, 2010
346
71
@

CXZa,​

This cleans out the old drivers and installs a functioning driver?
I'm having issues browsing files on a Pixel 6 from my old XP PC setup and was hoping this would work as the universal driver was showing up as Samsung Pixel 6. TY!
 

CXZa

Senior Member
Apr 9, 2013
1,056
367
cxzstuff.blogspot.com
@

CXZa,​

This cleans out the old drivers and installs a functioning driver?
I'm having issues browsing files on a Pixel 6 from my old XP PC setup and was hoping this would work as the universal driver was showing up as Samsung Pixel 6. TY!
Yes, this can be used to remove the old adb drivers. Though, if your adb is working okay, it doesn't matter what's the name that is showing...
 
  • Like
Reactions: catseyenu

catseyenu

Senior Member
May 13, 2010
346
71
ADB functions normally, I can't see the phone in Windows.
I was hoping it was a driver or registry issue.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    I made this installer as a kind of "update" the old driver package I had made for Ainol and Actions before.
    While at it I added those two tools usually used, that is adb and fastboot.
    Based on batch scripts, so it's open source.
    Self Signed, not need to do annoying reboots and other tricks.
    Tested working using VirtualBox, from XP to Win10, both 32 and 64 bit. Edit: Tested working on Win11.

    YAUADBdriverPackage_install.gif

    (five seconds wasted)

    Download: https://yadi.sk/d/Xwt9cfb73HFhgA

    The Readme.txt included is below.
    -------------------------------------------------------
    Yet Another Universal ADB Driver Package (+adbupdate)
    -------------------------------------------------------

    By CXZ (Slatedroid,Freaktab) / CXZa (XDA,4pda)
    http://cxzstuff.blogspot.com

    DISCLAIMER: No guarantee of any kind. Use at your own risk!


    -------------------------------------------------------
    Yet Another Universal Android Debug Bridge USB Driver
    -------------------------------------------------------

    Uses universal adb trick used in some (unsigned) packages before.
    It works but fails in inf2cat signability test. Maybe there are reasons for that?
    Signability test failed. Errors:
    All Universal Serial Bus (USB) devices must have VID and PID sections in the PnP Device ID string.
    Third-party USB function drivers must not install through a compatible ID match.
    The following formats are not acceptable:
    USB\Class_ii, USB\Class_ii&SubClass_jj, USB\Class_ii&SubClass_jj&Prot_kk

    Can be uninstalled through the Control Panel.

    Other choices: https://www.google.com/search?q=adbdriver

    -----------------------------------------------------------
    Leave YAUADBdriver certificate to the cert stores
    -----------------------------------------------------------

    Instead of deleting the YAUADBdriver certificate after
    installing the driver, it's left into the certificate stores.
    This is maybe needed in the newer Win10 versions. --> http://
    www.anandtech.com/show/10747/examining-win10au-driver-signing-policy

    Should be safe as certificates cannot be used without the
    private key and I deleted the self signed certificate used
    immediately after signing the driver. Certificate will
    be added to Root and TrustedPublisher stores having
    "___YAUADB-driver" as its name so it's easy to find.


    -----------------------------------------------------------
    ADB-Prompt (bat), ADB (version 1.0.32) and Fastboot
    -----------------------------------------------------------

    Installer just extracts the files to the chosen folder
    and creates shortcuts to the SendTo subfolder.
    Read the Readme.txt in SendTo subfolder for more info.
    To uninstall just delete the folder (and shortcuts created).

    There are newer versions than 1.0.32, but it was selected
    on purpose because it's the last version that remembers
    the previous shell commands used.

    If a newer is needed use my "Yet Another ADB + Fastboot Updater"
    which is now included in the package. For more info --> https://
    https://xdaforums.com/android/softw...er-package-t3595277/post74097138#post74097138

    ADB-Prompt (bat) allows one to avoid typing that darn
    "adb" before every single adb command...

    -------------------------------------------------------
    ADB Prompt - h=open adb help in notepad, q=quit, c=cmd /k
    v=add vendor IDs to adb_usb.ini, r=root+remount


    -------------------------------------------------------
    Remove the old ADB OEM Driver installations
    -------------------------------------------------------

    Uninstalls all the oem*.inf ADB Driver installations
    including the YAUADBdriver (if it's installed).
    (use the Control Panel for uninstalling the YAUADBdriver)

    -------------------------------------------------------
    Remove the old ADB Driver registry entries
    -------------------------------------------------------

    Removes the old ADB Driver registry entries.
    Reboot possibly needed before ADB can be used.
    -------------------------------------------------------

    Looking for adbupdater or adbupdate? See the eighth post.
    https://xdaforums.com/android/softw...er-package-t3595277/post74097138#post74097138
    3
    @kk131
    There is one my friends again giving me thanks. Thanks buddy for your support!
    (BTW, if you all would say something it would easier for me to thank you back... ;) )

    Thanks CXZa, your effort is appreciated here.
    3
    Saving those platform-tool zip files might be a good idea as newer versions might someday stop working with the older devices and android versions. Already they have taken backup's usage from the adb's help away.

    Needing an older version? Take your pick!

    :eek:

    More info:
    3
    Yet Another ADB + Fastboot Updater

    I was about to add this ADB + Fastboot Updater tool into the YAUADBdriver package,
    but decided to publish it is as separate download instead.
    Just put it to the ADB-Prompt folder and run to update the programs if needed.
    This stand alone program can also be used without the YAUADBdriver .
    Just put it any folder (preferably to an empty one) and run...

    Download the exe: https://yadi.sk/d/UWsvoEsV3ReyeJ
    Download zipped: https://yadi.sk/d/nZTi7Eqx3NcBwW

    Tested working using Win7, Win8 and Win10.
    DISCLAIMER: No guarantee of any kind. Use at your own risk!

    The Readme included is below. (It, ini and bat files will be extracted on the first run.)

    ----------------------------------------------------------------------------
    Yet Another ADB + Fastboot Updater
    (companion for Yet Another Universal ADB Driver Package)
    ----------------------------------------------------------------------------
    by cxz (slatedroid,freaktab) / cxza (4pda.ru,xda) /
    http://cxzstuff.blogspot.com/

    -------------------------------
    Key names used in adbupdate.ini (extracted on the first run)
    -------------------------------
    adburl - from where to download the zip archive (platform-tools-latest-windows.zip)
    https://dl.google.com/android/repository/platform-tools-latest-windows.zip
    http://dl-ssl.google.com/android/repository/platform-tools-latest-windows.zip
    adbolddate - previous file time at the server.
    adboldsize - previous file size at the server.
    daysbetweenchecks - check updates every X days. if 0 (zero) startup check is not done.
    to enable startup check, define the value and run the program once.
    program's shortcut is then created to "Start Menu/Startup" folder.
    to disable startup check, change value to 0 and run the program once.
    lastcheck - when the latest check was done
    adbupdateerror - if more than 0 and startup check is on, checking is done on the next startup.
    startupdelayminutes - delay checking X minutes at the startup.
    targetfolder - define where to extract ADB + Fastboot files. Run program as Admin and
    use for example C:\windows as the target folder to run them system-wide.
    addtothepath - if "a", add current exe dir or the target dir to the path and use adb system-wide.
    removing: change to "r", and re-run to remove targetfolder/current dir from the path.
    (do not change the targetfolder value if any, or removing it from the path will fail)
    (value "ok" means that the folder is now in the path variable)
    useragent - define the user-agent used. max 256 characters.
    makebackups - backup the files to be replaced to the adbupdate.exe\~backup folder. 1=yes.
    keepthezip - the platform-tools zip is saved to the adbupdate.exe\~platform-tools folder. 1=yes.
    extractfile1 - files to be extracted. 1, 2, 3 and so on. Use full paths inside the zip.
    the files are extracted to the targetfolder/adbupdate.exe folder
    without using the paths inside the zip.

    Both ADB and Fastboot are terminated if running before updating
    (or installing if the ADB is not in the target folder).
    3
    Nice round number of downloads after this last update.

    Was 666. Not that round really. But now it is, the last update has exactly one
    thousand downloads altogether...

    To my knowledge these two packages of mine work as expected.
    So they are not updated anymore - unless the users give some good reasons for it...