This is a desktop app that combines the awesomeness of ES2015 and XDA. The app allows you to unlock the bootloader and root a Motorola G5 Plus smartphone with a few button clicks. It's built with Electron and hence will work on Windows, macOS and Linux operating systems.
The UI is adapted from Electron API Demos. Read License
You can download the latest release for your operating system or build it yourself (see below).
You'll need Node.js installed on your computer in order to build this app.
This project depends on electron-usb
After installation of NPM dependencies build the same
$ ./node_modules/.bin/electron-rebuild
# On Windows if you have trouble, try:
.\node_modules\.bin\electron-rebuild.cmd
-
Make sure you install all the prerequisite build tools for Windows Refer Prerequisite section here
-
Set the VisualStudio version
npm config set msvs_version=2013
- If you encounter
'timespec': 'struct' type redefinition
error comment out the following lines from header file
struct timespec
{
time_t tv_sec; // Seconds - >= 0
long tv_nsec; // Nanoseconds - [0, 999999999]
};
and rebuild again.