NOWWORKINGON
1. install android-tools
zie [[2. platform tools installation]]
zie [[4. apt – adb commands]]
2. unlock the bootloader
Motorrola allows this, you must request an unlock code, so their ass is covered.
-
boot the Motorola into Fastboot
adb reboot bootloader -
verify the Fastboot connection :
fastboot devices
ZY225FG4VH fastboot -
get the unlock data :
fastboot oem get_unlock_data
==>
…
(bootloader) Unlock data:
(bootloader) 3A55750519074445#5A593232354647
(bootloader) 345648006D6F746F2067280000#84F3
(bootloader) FD5A81046672FF7D620A5EDC7EDB0D5
(bootloader) 92DC6#C5447BA000000000000000000
(bootloader) 0000000
OKAY [ 0.018s]
finished. total time: 0.018s -
convert the serials to 1 string :
take the 5 lines with the serial data , remove all whitespace and the “(bootloader)” text :
3A55750519074445#5A593232354647345648006D6F746F2067280000#84F3FD5A81046672FF7D620A5EDC7EDB0D592DC6#C5447BA0000000000000000000000000 -
request an unlock code @ Motorola site with above line as the key
( don’t use google signg-in , but register with a seperate Motorola / mail account)
https://accounts.motorola.com/ssoauth/login?locale=us_en&appid=ZI2FIY5LS7R8EE1WJBZ6MUBHXUF517H7&TARGET=https://motorola-global-portal.custhelp.com/cc/cas/sso/redirect/standalone%2Fbootloader%2Funlock-your-device-b
==> Unlock Code: 3EBKI3ITL4L3SCPPPB5F -
Now unlock :
./fastboot oem unlock 3EBKI3ITL4L3SCPPPB5F
./fastboot reboot
- how to test if bootloader is unlocked :
sometimes commands like adb shell and adb devices are working but not reboot bootloader
steps that adb reboot bootloader perfoms
( on a standard Android device connected via USB ,the only transport supported by the standard Android bootloader in the fastboot mode)
1. adb client sends the reboot bootloader command to the adb server (over TCP)
2. adb server forwards the reboot bootloader command to the adbd on the device (over USB)
3. adbd sets the sys.powerctl property to reboot,bootloader
4. sys.powerctl change triggers the init.rc rule which runs powerctl init’s built-in
5. which does _NR_reboot syscall
6. which sets the reboot to bootloader flag and reboots the device
7. On the next power up the bootloader would see the flag and go to the fastboot mode. But only if USB is connected.
3. test the phone
- android must be working as before
- chek this if [[4. apt – adb commands#issues|adb reboot issues]]