Difference between revisions of "Motorola Moto G8 Power"
m (→Root) |
m |
||
Line 2: | Line 2: | ||
== Root == | == Root == | ||
+ | In case you didn't know, bootloader is a little bit of code that tells your device's operating system how to boot up. Motorola has done the work to make sure your device has a fully optimized, certified and tested version of Android. If you are a developer, unlocking the bootloader will allow you to customize your device. See: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a/action/auth | ||
+ | |||
+ | |||
+ | |||
#Open Settings on your phone and go to About Phone. Tap 7 times on Build Number to enable Developer Options. | #Open Settings on your phone and go to About Phone. Tap 7 times on Build Number to enable Developer Options. | ||
#Now go to Settings > System -> Advanced -> Developer Options and enable OEM Unlocking. | #Now go to Settings > System -> Advanced -> Developer Options and enable OEM Unlocking. | ||
Line 13: | Line 17: | ||
#When the Fastboot screen appears, release both buttons. Once the phone boot into Fastboot mode, connect Moto G8 Power to Computer. | #When the Fastboot screen appears, release both buttons. Once the phone boot into Fastboot mode, connect Moto G8 Power to Computer. | ||
#Run ''''fastboot oem get_unlock_data'''' - Even though ''''adb devices'''' will NOT show the device, you can now run ''''fastboot oem get_unlock_data'''' on the linux console to get the unlock data. | #Run ''''fastboot oem get_unlock_data'''' - Even though ''''adb devices'''' will NOT show the device, you can now run ''''fastboot oem get_unlock_data'''' on the linux console to get the unlock data. | ||
− | # | + | #Request your UNLOCK KEY from Motorola, see section below ''''Request Unlock Key from Motorola'''' |
+ | |||
#Go to C:\adb and replace C:\adb with CMD in the location field and press enter | #Go to C:\adb and replace C:\adb with CMD in the location field and press enter | ||
#Now in the command window, enter the command ''''fastboot oem get_unlock_data'''' to get unlock code | #Now in the command window, enter the command ''''fastboot oem get_unlock_data'''' to get unlock code | ||
Line 35: | Line 40: | ||
While in Fastboot, you can modify the file system images from a computer over a USB connection. It also requires software from the Android SDK and different USB Drivers for Windows Computers. | While in Fastboot, you can modify the file system images from a computer over a USB connection. It also requires software from the Android SDK and different USB Drivers for Windows Computers. | ||
+ | |||
+ | === Request Unlock Key from Motorola === | ||
+ | You should have received an email with your Unlock Key. Inside the email is a unique 20-character alphanumeric code that you will use to unlock your device. |
Revision as of 17:45, 18 December 2020
Root
In case you didn't know, bootloader is a little bit of code that tells your device's operating system how to boot up. Motorola has done the work to make sure your device has a fully optimized, certified and tested version of Android. If you are a developer, unlocking the bootloader will allow you to customize your device. See: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a/action/auth
- Open Settings on your phone and go to About Phone. Tap 7 times on Build Number to enable Developer Options.
- Now go to Settings > System -> Advanced -> Developer Options and enable OEM Unlocking.
- Reboot phone
- Connect USB data cable from phone to PC.
- From PC linux command line type 'lsusb' and verify that the phone device is connected
- From PC linux command line type 'adb devices' and verify device is listed. If not, go below to section on how to add device to adb
- Wait for Android phone to prompt with the question "Allow USB debugging from this computer?" Tap YES, Always
- From PC linux command line type 'adb devices' and verify device is not still 'unauthorized' (see section on 'List of devices attached Unauthorized'
- Turn off your phone. Then press & hold Volume Down + Power button together.
- When the Fastboot screen appears, release both buttons. Once the phone boot into Fastboot mode, connect Moto G8 Power to Computer.
- Run 'fastboot oem get_unlock_data' - Even though 'adb devices' will NOT show the device, you can now run 'fastboot oem get_unlock_data' on the linux console to get the unlock data.
- Request your UNLOCK KEY from Motorola, see section below 'Request Unlock Key from Motorola'
- Go to C:\adb and replace C:\adb with CMD in the location field and press enter
- Now in the command window, enter the command 'fastboot oem get_unlock_data' to get unlock code
- It will display 5 line code. Copy the code and make it in one line, use notepad for convenience. Remember not to copy (bootloader) in case of windows and Info in case of Mac.
- Go to Motorola unlock page and click next and login with the Motorola account.
- Copy the one-line code that you just adjusted in Notepad and paste it in the Motorola unlock page.
- Then click on ‘Can my device be unlocked’ and after that click ‘Request Unlock Key’ (make sure to select I Agree).
- (Step 2 Expanded): Phone has to be connected to a network, wifi is sufficient, to enable OEM Ublocking
Linux adb and fastboot
Android Debug Bridge, aka ADB, is a tool that helps in sending basic Linux commands and a variety of Android Specific commands from PC to the connected Android devices.
In all, it is a versatile command line tool that allows you to communicate with a device.It is used to manage either an emulator instance or an actual Android device.
It is a part of the Android SDK and is made up of three components: A Client, a Daemon, and a server. It works when the device is powered on and booted into OS or Recovery.
FasttBoot is a tool that makes it possible for you to flash any partition on an Android device like system, recovery, Cache, boot, and other useful tasks.
With the help of this tool, you can flash the custom-built .img files via fastboot. It is a special diagnostic and engineering protocol that you can boot your Android device into.
While in Fastboot, you can modify the file system images from a computer over a USB connection. It also requires software from the Android SDK and different USB Drivers for Windows Computers.
Request Unlock Key from Motorola
You should have received an email with your Unlock Key. Inside the email is a unique 20-character alphanumeric code that you will use to unlock your device.