Anatoly V. @ 03/19/2016, 21:34
I understand correctly that all files from a folder with TWRP need to be copied to adb?
Mini instructions for using the utilityfastboot
If you are flashing in modefastboot
then all the files you want to upload to the device should be placed in the folder with the file fastboot.exe
. There also usually lies and adb.exe
but he has nothing to do with it.
The recovery file or the boot.img file can be named as you like, the main thing is that on the command line you write the exact name of the file that you are stitching. If the file has a nameboot.img
, the command is written with this name.
Enter the phone modefastboot
key combination Volume-
and Power button
at the same time. A hare will appear in a hat, then the phone is in mode fastboot
Next we enter the directory on the computer where our files are located. I have, for example, on the diskWITH
have a folder tools
in which the tools for working with adb
. There usually throw files .img
The contents of the tools folder
I run the command line on the computer.
I enter the teamcd C: \ tools
which means changing the directory to C: \ tools. Next, I enter the command fastboot devices
when connected by USB phone mode fastboot
The command line interface displays the device identification number (a combination of letters and numbers unique to your phone). If this does not happen and the list of devices is empty, then your phone is not connected. Either a problem with firewood, or with a connection.
Suppose that the phone is defined. Next, enter the command
fastboot flash boot boot.img
where is the wordflash
means to flash the word boot
means the section in which to flash and the third word means the name of the file that is being stitched. We enter without errors and click Enter
. The firmware process is fast and the result is immediately visible in the command line interface.
So we requestedboot.img
If you need to flash recovery, then do the same. The recovery firmware command looks like this:
fastboot flash recovery recovery.img
where is the wordrecovery
means the section into which we are stitching, a recovery.img
- file name of recovery. Can you name it though twrp.img
but then the command should be written like this:
fastboot flash recovery twrp.img
I hope it is clear. After flashing the file, you can enter the command:
and the device will reboot into the system.
fastboot boot twrpXXX.img
- TWRP file name (it can be different, as you call it, or write on the command line)
and the phone should boot into TWRP virtual recovery.
You work in recovery. You install everything you need (RTH, patches, etc.). Rebooting into the system and virtual recovery is no longer necessary. Until the next dive into it in a familiar way.
Fastboot utility commands
fastboot devices - a list of devices connected to the computer (used to test the connection)
fastboot reboot - device reboot
fastboot reboot-bootloader - reboot the device in the bootloader
fastboot flash boot filename.img - kernel firmware included in boot.img
flashboot flash radio filename.img - firmware radio module
fastboot oem lock - close the bootloader.
fastboot oem unlock - open bootloader (erases all user data)
Not all teams worked for me. check.
Who does not have these tools, I suggest an archive with a foldertools
Inside are two utilitiesadb.exe
. Unzip to root WITH
and use the instructions above. Post has been editedMannur - 27.08.16, 21:07
Reason for editing: spoiler and archive