This program downloads, extracts, injects and creates the ISO file required for the Magisk Module GMT/OP3T. Then, builds and packages Magisk Module GMT/OP3T for install as a Magisk Module. Currently only supports Windows platforms.
- OnePlus 3T phone.
- Magisk Manager installed on phone.
- USB Drivers installed on the computer.
- ADB Debugging enabled on phone.
- Computer authorized to make use of USB ADB Debugging.
Download the latest release and install via Magisk Manager.
- Once properly installed as a Magisk Module, when connected to a computer, you should select Transfer Files option for Windows to show the ISO as a drive. This is the same behavior as the original ISO shipped with the phone.
- Download/clone repo.
- Extract archive to a writable folder.
- Run "buildgmt.cmd" and wait it to finish.
- If everything went OK, you should see a "gmt-mm.zip" file.
- Copy "gmt-mm.zip" to your phone.
- Install as a Magisk Module.
- You can place original usb_drivers.iso file from your phone inside folder original_iso to skip extracting it from your phone.
- If you choose to extract usb_drivers.iso file from your phone, you should already have USB drivers installed, ADB debugging on and computer authorized, otherwise pulling file will fail.
- Windows OS
- Internet connection on the computer.
- Available space on disk to build ISO and Magisk Module (approx. ~50-60 MiB).
Error codes displayed by buildgmtiso.cmd:
- Error downloading scrcpy x32 version from server: Check Internet connection / Check folder is writable / Check available space / Server might be down (try again later)
- Error downloading scrcpy x64 version from server: Check Internet connection / Check folder is writable / Check available space / Server might be down (try again later)
- Error downloading gnirehtet x64 version from server:Check Internet connection / Check folder is writable / Check available space / Server might be down (try again later)
- Error downloading ADB from server: Check Internet connection / Check folder is writable / Check available space / Server might be down (try again later)
- Error updating scrcpy x32 version archive: Check folder is writable / Check available space / Folder/files might already exists (delete manually)
- Error updating scrcpy x64 version archive: Check folder is writable / Check available space / Folder/files might already exists (delete manually)
- Error updating gnirehtet x64 version archive: Check folder is writable / Check available space / Folder/files might already exists (delete manually)
- Error updating ADB archive: Check folder is writable / Check available space / Folder/files might already exists (delete manually)
- Invalid option selected: Select a valid option
- Error extracting ADB files: Check folder is writable / Check available space / Folder/files might already exists/running (delete manually)
- Error extracting original ISO files: Check folder is writable / Check available space / Check provided ISO is valid
- Error building modified ISO: Check folder is writable / Check available space
- Could not create Magisk module (gmt-mm.zip): Check folder is writable / Check available space
- Error downloading JSON files from GitHub: API rate limit exceeded (too many requests) / Check folder is writable / Check available space
scrcpy by Romain Vimont Copyright (C) 2020 Genymobile gnirehtet by Romain Vimont Copyright (C) 2020 Genymobile adb by Google
Copyright (C) 2020 José Vera
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.