Skip to content

Commit 8786ef7

Browse files
authored
Add files via upload
0 parents  commit 8786ef7

File tree

9 files changed

+1682
-0
lines changed

9 files changed

+1682
-0
lines changed

AdbWinApi.dll

95.5 KB
Binary file not shown.

AdbWinUsbApi.dll

61.5 KB
Binary file not shown.

Commands.txt

Lines changed: 216 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,216 @@
1+
----------------------------------------------------------------------------------------------------------------------
2+
ADB Commands:
3+
----------------------------------------------------------------------------------------------------------------------
4+
5+
adb help
6+
Shows ADB Help Documentation.
7+
8+
adb devices
9+
Lists all the Android Devices connected via ADB.
10+
11+
adb reboot
12+
Reboots your Android Device.
13+
14+
adb reboot bootloader
15+
Reboots your Android Device into Fastboot/Bootloader Mode.
16+
17+
adb reboot recovery
18+
Reboots your Android device into Recovery Mode.
19+
20+
adb install
21+
Helps you install an APK File on your Android Device.
22+
23+
adb install filename.apk
24+
Install the APK File.
25+
26+
adb install -r filename.apk
27+
Re-installs or updates an App.
28+
29+
adb install -s filename.apk
30+
Installs the APK File in SD Card (if the App supports).
31+
32+
adb uninstall
33+
Helps you install an App File on your Android Device.
34+
35+
adb uninstall com.facebook.katana
36+
Simply uninstalls the App.
37+
38+
adb uninstall -k com.facebook.katana
39+
Keeps the Data and Cache Folder after the App is uninstalled.
40+
41+
adb logcat
42+
Displays the Log Data onto the Screen.
43+
adb bugreport
44+
Displays the Dumpsys, Dumpstate and Logcat Data on the Screen.
45+
46+
adb jdwp
47+
Lists the JDWP (Java Debug Wire Protocol) Processes on the Device.
48+
49+
adb get-serialno
50+
Shows the adb instance Serial Number String with the Device.
51+
52+
adb get-state
53+
Displays the Device Status.
54+
55+
adb wait-for-device
56+
Used to set a delay before the next Command is issued.
57+
It executes when the Device is online but it can be programmed to wait till another Process is done.
58+
59+
adb start-server
60+
Starts the ADB Server Process.
61+
62+
adb kill-server
63+
Stops the ADB Server Process.
64+
65+
adb sideload <filename.zip>
66+
Used to flash a Zip File in Recovery Mode when the Zip File is available in the Computer.
67+
68+
adb pull </path/filename>
69+
Pulls any File from your Device and saves it on your Computer.
70+
71+
adb push <source-path> <target-path>
72+
Used to push a File into your Android Device.
73+
74+
75+
----------------------------------------------------------------------------------------------------------------------
76+
ADB Shell Commands:
77+
----------------------------------------------------------------------------------------------------------------------
78+
79+
adb shell
80+
Starts the Remote Shell Command Console in the Device.
81+
82+
adb shell pm uninstall -k –user 0 package.name.com
83+
Helps you uninstall a System App from your Android Device.
84+
Replace package.name.com with the actual Package Name.
85+
86+
adb shell dumpsys
87+
Dumps all System Data about your Android Device’s Dardware and Software Configuration
88+
89+
adb shell dumpsys display
90+
Displays all the Hardware and Software Configuration about your Display.
91+
92+
adb shell dumpsys battery
93+
Displays all the Hardware and Software Configuration about your Battery.
94+
95+
adb shell dumpsys batterystats
96+
Displays all the Info about your Battery Statistics.
97+
98+
adb shell wm density
99+
Helps you change the Pixel Density on your Android Device.
100+
101+
adb shell pm list packages
102+
Lists all the Apps installed on your Device as Package Names.
103+
104+
adb shell pm list packages -s
105+
Lists all the System Apps installed on your Device as Package Names.
106+
107+
adb shell pm list packages -3
108+
Lists all the 3rd Party Apps installed on your Device as Package Names.
109+
110+
adb shell pm list packages -d
111+
Lists all the disabled Apps on your Device as Package Names.
112+
113+
adb shell pm list packages -e
114+
Lists all the enabled Apps on your Device as Package Names.
115+
116+
adb shell pm list packages -u
117+
Lists all the uninstalled Apps with installed Pages on your Device as Package Names.
118+
119+
adb shell screencap /sdcard/screenshot.png
120+
Takes a Screenshot of your Device Screen and saves it in SDCARD with the name "screenshot.png".
121+
122+
adb shell screenrecord /sdcard/screenrecord.mp4
123+
Starts recording your Device Screen and saves the Video in SDCARD with the name "screenrecord.mp4".
124+
The default Record Time is 180 Seconds (Maximum). You can press CTRL + C to stop the recording any Time.
125+
126+
adb shell screenrecord –size 1920×1080 /sdcard/screenrecord.mp4
127+
Screen recording with custom Width and Height for the Video.
128+
129+
adb shell screenrecord –time-limit 120 /sdcard/screenrecord.mp4
130+
Screen recording with custom Time Limit for the Video.
131+
Max value is 180.
132+
133+
adb shell screenrecord –bit-rate 4000000 /sdcard/screenrecord.mp4
134+
Screen Recording with custom Bit Rate for the Video.
135+
The Value "4000000" sets the Bitrate to 4Mbmps.
136+
137+
adb shell
138+
<Hit Enter and then execute the following command>
139+
cd /system
140+
Changes the Directory to "/system".
141+
142+
adb shell
143+
<Hit Enter and then execute the following command>
144+
rm -f /sdcard/<filename.zip>
145+
Deletes a File from your Android Device.
146+
147+
adb shell
148+
<Hit Enter and then execute the following command>
149+
crm -d /sdcard/example
150+
Deletes a Folder from your Android Device.
151+
152+
mkdir /sdcard/Android
153+
Creates a new Folder named "Android" under "/sdcard"
154+
155+
cp /sdcard/filename.apk /sdcard/FolderName/
156+
To copy a File.
157+
158+
mv /sdcard/filename.apk /sdcard/FolderName/
159+
To move a File.
160+
161+
mv /sdcard/filename.apk /sdcard/anotherfilename.apk
162+
To rename a File.
163+
164+
adb shell
165+
<Hit Enter and then execute the following command>
166+
netstat
167+
To check the Network Statistics of your Android Device.
168+
169+
adb shell
170+
<Hit Enter and then execute the following command>
171+
ip -f inet addr show wlan0
172+
Displays your Phone’s Wi-Fi IP Address.
173+
174+
adb shell
175+
<Hit Enter and then execute the following command>
176+
top
177+
Displays top CPU Processes running on your Android Device.
178+
179+
adb shell
180+
<Hit Enter and then execute the following command>
181+
getprop ro.build.version.sdk
182+
Used to get the Properties of your Android’s build.prop Configuration.
183+
184+
adb shell
185+
<Hit Enter and then execute the following command>
186+
setprop net.dns1 1.2.3.4
187+
Used to set Values to the Properties present in your Android’s build.prop Configuration.
188+
189+
190+
----------------------------------------------------------------------------------------------------------------------
191+
Fastboot Commands:
192+
----------------------------------------------------------------------------------------------------------------------
193+
194+
fastboot devices
195+
List all the Android Devices that are connected in Fastboot Mode to your Computer.
196+
197+
fastboot oem unlock
198+
Unlocks the Bootloader on your Android Device (if the OEM allows).
199+
200+
fastboot oem lock
201+
Relocks the Bootloader on your Android Device.
202+
203+
fastboot reboot bootloader
204+
Reboots your Device into Fastboot/Bootloader Mode.
205+
206+
fastboot flash
207+
Used to flash Files on your Android Device.
208+
209+
fastboot flash boot filename.img
210+
Flashes boot Image on your Android Device’s Boot Partition.
211+
212+
fastboot flash recovery filename.img
213+
Flashes Recovery Image on your Android Device’s Recovery Partition.
214+
215+
fastboot boot filename.img
216+
Instead of flashing the File, this Command simply boots it (if the file is bootable).

DevAndUSB.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Before you can make use of ADB and Fastboot Commands, you’ll have to enable Developer Options & USB Debugging on your Android Device.
2+
3+
Requirements:
4+
• USB Driver for your Device or Universal Adb Driver (https://androidfilehost.com/?fid=2188818919693784734)
5+
6+
How-To enable Developer Options & USB Debugging:
7+
01. Install the USB Driver for your Phone or Universal Adb Driver.
8+
02. On your Phone, go to Settings > About Phone. Find the Build Number and tap on it 7 times to enable Developer Options.
9+
03. Now enter System > Developer Options and find "USB debugging" and enable it.
10+
04. Plug your Phone into the Computer and change it from "Charge only" to "File Transfer" Mode.
11+
05. On your Computer, browse to the directory where you extracted the Portable Version or use Tiny ADB & Fastboot Shortcut.
12+
07. Launch a Command Prompt with Open CMD.bat or use Tiny ADB & Fastboot Shortcut.
13+
09. Once you’re in the Command Prompt, enter the following Command: adb devices
14+
10. System is starting the ADB Daemon (If this is your first Time running ADB, you will see a Prompt on your Phone asking you to authorize a Connection with the Computer. Click OK.).
15+
11. Succesful enabled USB Debugging.
16+
17+
18+
Unable to connect to ADB:
19+
1. AMD Bug? (https://forum.xda-developers.com/t/fix-fastboot-issues-on-ryzen-based-pcs.4186321/)
20+
2. Switch Device from "Charging" to "File Transfer" Mode
21+
3. Install the latest Device Driver or Universal USB Driver
22+
4. Try another USB Cable
23+
5. Use another USB Port (USB 3.0 Port to USB 2.0)
24+
6. Try to execute Fastboot Command without connecting your Phone, and once it says "waiting for device" plug in your USB Cable
25+
7. Windows: Click "Change advanced power setting" on your chosen Plan and expand "USB Settings". Under "USB Settings" Section, expand "USB selective suspend setting" and change it to "Disabled" for On Battery and Plugged In.
26+
8. Try another PC

Open CMD.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
title ADB and Fastboot++
3+
color 0a
4+
cmd.exe

README.md

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
<p align="center"><img src="https://i.ibb.co/pj0Pnj7/ADB-and-Fastboot-Plus-Plus.png" width="200"></a>
2+
<h1 align="center"><b>ADB & Fastboot++</b></h1>
3+
<h4 align="center">A small Application for Windows that allows you to install the latest Version of ADB and Fastboot Files on the Computer without installing the entire Android SDK Package + Toolkit & Commands</h4>
4+
<br />
5+
6+
<p align="center">
7+
<a href="https://forum.xda-developers.com/t/tool-windows-adb-fastboot-march-2022.3944288/" alt="XDA Thread"><img src="https://img.shields.io/badge/XDA-Thread-orange.svg"></a>
8+
<a href="" alt="Latest Release"><img src="https://img.shields.io/github/v/release/K3V1991/ADB-and-FastbootPlusPlus?color=blueviolet&label=Latest%20Release"></a>
9+
<a href="" alt="Downloads"><img src="https://img.shields.io/github/downloads/K3V1991/ADB-and-FastbootPlusPlus/total?label=Downloads"></a>
10+
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HW8B98TVDLKWA" alt="Donate-PayPal"><img src="https://img.shields.io/badge/Donate-PayPal-blue"></a>
11+
<a href="https://github.com/K3V1991/Donate-Crypto/blob/main/README.md" alt="Donate-Crypto"><img src="https://img.shields.io/badge/Donate-Crypto-yellow"></a>
12+
</p>
13+
<hr>
14+
<br />
15+
<br />
16+
17+
## NFO:
18+
* Versions: Installer & Portable
19+
* Android Debug Bridge & Fastboot updated to latest v1.0.41 (Version 33.0.1-8253317, March 2022)
20+
21+
## Features:
22+
* Installation Folder chooseable (Installer)
23+
* Desktop & Start Menu Shortcuts (Installer)
24+
* Toolkit
25+
* View Commands, How-To enable Developer Options & USB Debugging
26+
* Add to System Path Environment (Installer)
27+
* Optional Universal ADB Driver Installation (Installer)
28+
29+
## Toolkit Features:
30+
* Uninstall Bloatware without Root Access (They are just being uninstalled for the current User)
31+
* Re-install uninstalled Apps
32+
* Install Kernel (Popup Menu, reboots automatically to Bootloader)
33+
* Install Recovery (Popup Menu, reboots automatically to Bootloader)
34+
* Install APKs (Popup Menu)
35+
* Push Files (Popup Menu)
36+
* Check Firmware Version
37+
* Check Android Version
38+
* Check Kernel Version
39+
* Check Firmware Build Date
40+
* Check Kernel Build Date
41+
* Check Security Patch Date
42+
* Check IMEI
43+
* Check IP Adresses
44+
* Check App Packages
45+
* Check Process Activity (Real Time)
46+
* Take Screenshots (PNG Format)
47+
* Video recoding - 30 Seconds (Without Device Sound)
48+
* Video recoding - 60 Seconds (Without Device Sound)
49+
* Video recoding - 120 Seconds (Without Device Sound)
50+
* Video recoding - 180 Seconds (Without Device Sound)
51+
* Reboot the Device
52+
* Reboot to Bootloader
53+
* Exit Bootloader to System
54+
* Reboot to Recovery
55+
* Create Logcat
56+
* Exit (adb kill-server & close Toolkit)
57+
58+
## Requirements:
59+
* Windows OS
60+
* USB Driver for your Device or Universal ADB Driver (Included in the Installer)
61+
* PowerShell for the Toolkit
62+
63+
## Developer Options & USB Debugging:
64+
1. Install the USB Driver for your Phone or Universal Adb Driver.
65+
2. On your Phone, go to Settings > About Phone. Find the Build Number and tap on it 7 times to enable Developer Options.
66+
3. Now enter System > Developer Options and find "USB debugging" and enable it.
67+
4. Plug your Phone into the Computer and change it from "Charge only" to "File Transfer" Mode.
68+
5. On your Computer, browse to the directory where you extracted the Portable Version or use Tiny ADB & Fastboot Shortcut.
69+
6. Launch a Command Prompt with Open CMD.bat or use Tiny ADB & Fastboot Shortcut.
70+
7. Once you’re in the Command Prompt, enter the following Command: adb devices
71+
8. System is starting the ADB Daemon (If this is your first Time running ADB, you will see a Prompt on your Phone asking you to authorize a Connection with the Computer. Click OK.).
72+
9. Succesful enabled USB Debugging.
73+
74+
## Unable to connect to ADB:
75+
1. AMD Bug? - https://forum.xda-developers.com/t/fix-fastboot-issues-on-ryzen-based-pcs.4186321/
76+
2. Switch Device from "Charging" to "File Transfer" Mode
77+
3. Install the latest Device Driver or Universal USB Driver
78+
4. Try another USB Cable
79+
5. Use another USB Port (USB 3.0 Port to USB 2.0)
80+
6. Try to execute Fastboot Command without connecting your Phone,
81+
and once it says "waiting for device" plug in your USB Cable
82+
7. Windows: Click "Change advanced power setting" on your chosen Plan and expand "USB Settings". Under "USB Settings" Section, expand "USB selective suspend setting" and change it to "Disabled" for On Battery and Plugged In.
83+
8. Try another PC
84+
85+
## Installer:
86+
1. Download ADB_&_Fastboot++_vXXX.exe
87+
2. Follow the Installers Instructions and select where you would like to install ADB & Fastboot++
88+
3. After the Installation Wizard has completed you can select to start ADB & Fastboot++
89+
4. You should see a Command Window open, now you can use ADB and Fastboot Commands
90+
91+
## Portable:
92+
1. Download ADB_&_Fastboot++_vXXX_Portable.zip
93+
2. Extract the Zip Archive
94+
3. Double click on Open CMD.bat
95+
4. You should see a Command Window open, now you can use ADB and Fastboot Commands

0 commit comments

Comments
 (0)