[Nexus 6P Android Development] chevycam94:
This is for Windows ONLY at the moment.

Features:

Unlock bootloader

Relock bootloader

Backup data (all or selectable sections)

Restore data (all or selectable sections)

Optimize all OGG files on device

Zipalign all APK files on device

Batch install APKs from local PC folder

Reboot device

Reboot into recovery

Reboot into bootloader

Flash recovery

Changelog:

v3.21

* Fixed a couple commands

* Fixed broken backup menu

* Cleaned up some menu spacing

* Removed some unneeded comments

Download: v3.21-FREE

Download method 2:

There is now a free version and a donate version. The donate version requires a minimum donation of $5. First, set up a FREE GitLab account. Once you have donated, send me your GitLab username, in a PM or in this thread, and I'll add you to the repo so you have access.

I will be adding features to the donate version as I get time. I have to balance work/college/family, so my time is limited. General fixes will apply to both versions.

Requirements:

GIT (Windows download)

FREE version:

git clone https://gitlab.com/ChevyCam94/Android-Job-Box-FREE.git
cd Android-Job-Box-FREE
JobBox.bat

DONATE version:

git clone https://gitlab.com/ChevyCam94/Android-Job-Box-DONATE.git
## enter your GitLab.com username/password here when prompted ##
cd Android-Job-Box-DONATE
JobBox.bat

Previous changes:

v3.20

* Updated SOX to 14.4.1

* Updated all binaries in /Data with up-to-date versions from v26.0.1 tools

* Fixed some zipalign commands not pushing back to correct device folder

* Fixed fastboot reboot command

* Fixed main menu crashing with ENTER

* Overhauled the backup/restore sections

* Separated the CAMERA and PICTURES directories in backup/restore

* Switched to TIMEOUT instead of PING (non-skippable)

v3.10 * Updated all binaries in /Data with up-to-date versions from v26-RC tools

* Fixed menu choices in REBOOT menu

* Fixed backup and restore functions

* Fixed timing issue with bootloader lock/unlock commands

* Fixed a ton of misplaced commands

* Reworked terminal output to be more visually friendly

* Made some adb push/pull functions verbose again

* Removed some unused code blocks

* Made reboot options escapable within the script

v3.00

* Updated all data binaries in /Data with up-to-date versions

* Fixed the OGG optimization process

* Fixed mounting of /system in TWRP

* Fixed a couple menu text inconsistencies

* Removed a couple unnecessary subroutines

* Reduced the size of some subroutines

* Optimized the removal of non-apks and empty folders

Installation:

1: Extract the contents of the zip file somewhere (NO spaces in the whole folder path. Need to sort that out)

2: Double-click on JobBox.bat

Installation for method 2:

1: Navigate to a folder where you want the script (NO spaces in the whole folder path)

2: Run the commands for the version you want

3: Run JobBox.bat

NOTES:

To flash recovery, the recovery image must be in "/Data" as "recovery.img"

Optimizing OGG files is done by pulling all audio from the device, into the local computer

where the are optimized, and then pushed back to the device in their original location. HOWEVER,

be aware that optimizing an audio file too many times will break it, and cause serious loss of

audio quality. I have no way to test if the files were optimized already or not, so please keep

track of that yourself.

Optimizing APK files is done by pulling all APKs from the device, into the local computer

where they are optimized, and then pushed back to the device in their original location. There

is no verbose output (by choice), or progress animation. Believe me, its still working. Just

give it time.

No part of this script may be copied,

modified, redistributed, or included

anywhere without my written consent.

Credit goes to Lexmazter for the original template I'm using to make my script. You can find his tool HERE

Credit to Chris Bagwell for SOX

Credit to Google for the adb/fastboot binaries
​