Skip to content

Commit 155b66d

Browse files
authored
Add files via upload
0 parents  commit 155b66d

File tree

9 files changed

+138
-0
lines changed

9 files changed

+138
-0
lines changed

APK Bundle Installer.bat

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
@echo off
2+
title APK Bundle Installer
3+
color 0a
4+
powershell -command "&{(get-host).ui.rawui.windowsize=@{width=75;height=50};}"
5+
chcp 65001 >nul 2>&1
6+
7+
echo ╔════════════════════════════════════════════════════════════════════════╗
8+
echo ║ ║
9+
echo ║ ║
10+
echo ║ _____/\\\\\\\\\_____/\\\\\\\\\\\\\____/\\\\\\\\\\\_ ║
11+
echo ║ ___/\\\\\\\\\\\\\__\/\\\/////////\\\_\/////\\\///__ ║
12+
echo ║ __/\\\/////////\\\_\/\\\_______\/\\\_____\/\\\_____ ║
13+
echo ║ _\/\\\_______\/\\\_\/\\\\\\\\\\\\\\______\/\\\_____ ║
14+
echo ║ _\/\\\\\\\\\\\\\\\_\/\\\/////////\\\_____\/\\\_____ ║
15+
echo ║ _\/\\\/////////\\\_\/\\\_______\/\\\_____\/\\\_____ ║
16+
echo ║ _\/\\\_______\/\\\_\/\\\_______\/\\\_____\/\\\_____ ║
17+
echo ║ _\/\\\_______\/\\\_\/\\\\\\\\\\\\\/___/\\\\\\\\\\\_ ║
18+
echo ║ _\///________\///__\/////////////____\///////////__ ║
19+
echo ║ ║
20+
echo ║ ║
21+
echo ╚════════════════════════════════════════════════════════════════════════╝
22+
echo.
23+
echo.
24+
echo ╔════════════════════════════════════════════════════════════════════════╗
25+
echo ║ Starting ADB Connection... ║
26+
echo ╚════════════════════════════════════════════════════════════════════════╝
27+
adb kill-server
28+
adb start-server
29+
echo.
30+
echo.
31+
echo ══════════════════════════════════════════════════════════════════════════
32+
set "reply=y"
33+
set /p "reply=Install APKs from APKs Folder (Y/N)?: "
34+
if /i not "%reply%" == "y" goto :eof
35+
echo ══════════════════════════════════════════════════════════════════════════
36+
echo.
37+
echo.
38+
39+
setlocal enabledelayedexpansion
40+
set SCRIPT_PATH=%~dps0
41+
set TARGET_PATH=/data/local/tmp/
42+
adb shell mkdir -p %TARGET_PATH%
43+
cd APKs
44+
set TOTAL_APK_SIZE_BYTES=0
45+
for %%A IN (*.apk) DO (
46+
set /A "TOTAL_APK_SIZE_BYTES+=%%~zA"
47+
)
48+
echo.
49+
echo.
50+
echo ══════════════════════════════════════════════════════════════════════════
51+
echo Total APK Size Bytes=[%TOTAL_APK_SIZE_BYTES%]
52+
set PM_SESSION=
53+
for /F "tokens=2 delims=[]" %%A IN ('adb shell pm install-create -S %TOTAL_APK_SIZE_BYTES%') DO SET PM_SESSION=%%A
54+
echo PM Session=[%PM_SESSION%]
55+
echo ══════════════════════════════════════════════════════════════════════════
56+
echo.
57+
echo.
58+
echo ╔════════════════════════════════════════════════════════════════════════╗
59+
echo ║ Installing App... ║
60+
echo ╚════════════════════════════════════════════════════════════════════════╝
61+
set APK_INDEX=0
62+
for %%A IN (*.apk) DO (
63+
set APK_SIZE=%%~zA
64+
echo APK: idx=!APK_INDEX!, size=!APK_SIZE!
65+
adb shell pm install-write -S !APK_SIZE! %PM_SESSION% !APK_INDEX! %TARGET_PATH%%%A
66+
set /A "APK_INDEX+=1"
67+
)
68+
adb shell pm install-commit %PM_SESSION%
69+
adb kill-server
70+
echo.
71+
echo.
72+
pause

APKs/Place APKs here.txt

Whitespace-only changes.

AdbWinApi.dll

95.5 KB
Binary file not shown.

AdbWinUsbApi.dll

61.5 KB
Binary file not shown.

Desktop.ico

14.6 KB
Binary file not shown.

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: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<p align="center"><img src="https://i.ibb.co/kx3R2b2/APK-Bundle-Installer.png" width="200"></a>
2+
<h1 align="center"><b>APK Bundle Installer</b></h1>
3+
<h4 align="center">Batch Script that allow you to install APK Bundles/Split APKs</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=green&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+
18+
## NFO:
19+
* Split APK Installer to install APK Bundles/Split APKs
20+
* Portable
21+
* Android Debug Bridge v1.0.41 (Version 33.0.0-8141338, March 2022)
22+
* Full functional ADB (Android Debug Bridge) & Fastboot
23+
* Open CMD.bat to easily open a Command Prompt
24+
* Only x.xxMB (compressed x.xxMB)[/CODE]
25+
<br />
26+
27+
## Requirements:
28+
* Windows OS
29+
* USB Driver for your Device or Universal ADB Driver[/CODE]
30+
<br />
31+
32+
## Developer Options & USB Debugging:
33+
1. Install the USB Driver for your Phone or Universal Adb Driver.
34+
2. On your Phone, go to Settings > About Phone. Find the Build Number and tap on it 7 times to enable Developer Options.
35+
3. Now enter System > Developer Options and find "USB debugging" and enable it.
36+
4. Plug your Phone into the Computer and change it from "Charge only" to "File Transfer" Mode.
37+
5. On your Computer, browse to the directory where you extracted the Portable Version or use Tiny ADB & Fastboot Shortcut.
38+
6. Launch a Command Prompt with Open CMD.bat or use Tiny ADB & Fastboot Shortcut.
39+
7. Once you’re in the Command Prompt, enter the following Command: adb devices
40+
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.).
41+
9. Succesful enabled USB Debugging.
42+
<br />
43+
44+
## Unable to connect to ADB:
45+
1. AMD Bug? - https://forum.xda-developers.com/t/fix-fastboot-issues-on-ryzen-based-pcs.4186321/
46+
2. Switch Device from "Charging" to "File Transfer" Mode
47+
3. Install the latest Device Driver or Universal USB Driver
48+
4. Try another USB Cable
49+
5. Use another USB Port (USB 3.0 Port to USB 2.0)
50+
6. Try to execute Fastboot Command without connecting your Phone,
51+
and once it says "waiting for device" plug in your USB Cable
52+
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.
53+
8. Try another PC
54+
<br />
55+
56+
## Usage:
57+
1. Download latest Release
58+
2. Extract the Zip Archive
59+
3. Place the APKs in the APKs Folder
60+
3. Double click on APK Bundle Installer.bat
61+
4. Streamed Install begins
62+
5. You shoud see Success after Installation

adb.exe

5.72 MB
Binary file not shown.

fastboot.exe

1.57 MB
Binary file not shown.

0 commit comments

Comments
 (0)