Use an Android phone to flash another Android phone

1. First of all, we must first understand a few knowledge points (the main explanation here is the adb+fastboot method) veterans skip

1. Noun explanation (what is adb and fastboot?)

1.1, what is adb, ADB (Android Debug Bridge) is a general debugging tool provided by the Android SDK

. With this tool, we can directly manage and debug the developed programs; it can operate on the Android emulator or real Android devices.

1.2 What is fastboot? In Android phones, fastboot is a lower-level flashing mode (commonly known as boot mode) than recovery. It is a flashing mode that uses a USB data cable to connect to a mobile phone. Compared with some system card swipe, wire swipe is more reliable and safer.

II. Preparations

1. A rooted backup machine that supports OTG

2. ADB tool installer

3. Terminal emulator

3. Start flashing operation

1 .Open the ADB tool installer and select adb+fastboot as the installation item. Select the installation location, click Install, and the ADB tool installer root application will pop up, just click Allow.


Try to install it in all 3 locations to prevent errors.


After installation, the result will be displayed


For the pro3 I am trying, the model: LeEco

Since my flashed machine has become a half-brick,If you can't enter the system, there is no OEM. But it was successfully opened in fastboot mode.

2. Start flashing

①The flashing machine enters the fastboot mode

②Open the ADB tool installer, click to open the adb service (root)

③Open the terminal emulator, enter su after $ to obtain root privileges, in #After entering adb,

will appear, which means that the command can be executed and the connection is normal.

This section is used to solve OEM, because it has become a half brick (but all fastboot flashing machines must open OEM).

⑤ Copy the recovery.img mirror to the root directory, that is, the "/" directory, mine was unsuccessful. But it can be copied to the video

in the root directory. The operation on the picture will be successfully flashed into the third-party recovery. Double clear after completion, and enter the system normally.

Here, the CD command is input so that the flash command can find the img mirror.

casually give you a bit of flashing the machine command:

fastboot devices (check device connection)

fastboot reboot (restart the connected device)

adb reboot edl

fastboot oem edl reboot

fastboot emergency edl

Restart to 9008 mode)→ Qualcomm device only

fastboot update update.zip Install system update (provided that the update package is in the internal storage)

fastboot erase____ clear____ partition

adb reboot recovery restart Go to rec mode

fastboot boot xxx.img flash xxx image file

such as: fastboot boot persist.img (flash persist image to persist partition)

fastboot flash _____ (path) _____.img flash __ _Mirror file to ___ partition

such as: fastboot flash system system.img flash system.img to the system partition

reboot system now reboot

reboot to recovery adb reboot recovery

reboot Go to fastboot adb reboot bootloader

to restart the phone to the system adb reboot

.