flash TWRP by using flashtool? - Huawei P9 Plus Questions & Answers

hey,
Quick question, can I flash TWRP by using the universal fastboot & adb tool? there's a "flash recovery" option and I wonder if I can use it to flash the img.
I've tried using the method where you have to press **** right click cmd but I'm only able to open up windows power shell which keeps saying "adb : The term 'adb' is not recognized as the name of a cmdlet," whenever I want to use "adb devices"

Related

Unable to Sideload... ADB options show up instead!

I attempted to sideload using TWRP 2.5.0.0 and my current recovery, CWM 6.0.3.1, and it always fails... As I type adb sideload zipname.zip, the whole list of commands to use with cmd appears and it scrolls to the bottom... Anyone had this happen? Or know what I may be doing wrong? Please help, I wanna master this, should I one day really need it... Thanks in advance!
In recovery you used the adb sideload option before the command?
However, use the adb push for copy the rom into your phone and after flash this
Code:
adb push nameofrom.zip /sdcard/0
or
Code:
adb push nameofrom.zip /data/media
Guich said:
In recovery you used the adb sideload option before the command?
However, use the adb push for copy the rom into your phone and after flash this
Code:
adb push nameofrom.zip /sdcard/0
or
Code:
adb push nameofrom.zip /data/media
Click to expand...
Click to collapse
I am having the same problem. When in recovery and choosing "install zip from sideload", adb devices is not showing the device connected..
I attempted to sideload using TWRP 2.5.0.0 and my current recovery, CWM 6.0.3.1, and it always fails... As I type adb sideload zipname.zip, the whole list of commands to use with cmd appears and it scrolls to the bottom
Click to expand...
Click to collapse
I seems as you have old version adb on PC. Not recognized argument "sideload" and adb displays all command list for help.
Check version by "adb version" must be 1.0.29 or higher.
I am having the same problem. When in recovery and choosing "install zip from sideload", adb devices is not showing the device connected
Click to expand...
Click to collapse
It's not the same problem. When you just entered in custom recovery adb shall show your device, by "adb devices".
What show in device manager on PC, when you are in recovery?

error during installing TwRp

I have unlocked my bootloader and when I try to install TWRP recovery and open a cmd write the commands 'adb devices' and "fastboot devices" to check whether connected or not it shows connected then reboot to to bootloader but when I put command "fastboot flash recovery recovery. img" I get " cannot load recovery. Img" . I also downloaded the latest TWRP victara and adb, fastboot aswell but can't get what problem is please Help guys!!!
Vedang V said:
I have unlocked my bootloader and when I try to install TWRP recovery and open a cmd write the commands 'adb devices' and "fastboot devices" to check whether connected or not it shows connected then reboot to to bootloader but when I put command "fastboot flash recovery recovery. img" I get " cannot load recovery. Img" . I also downloaded the latest TWRP victara and adb, fastboot aswell but can't get what problem is please Help guys!!!
Click to expand...
Click to collapse
So you got the latest ADB and Fastboot:
https://developer.android.com/studio/releases/platform-tools.html
You got the latest TWRP Victara:
https://twrp.me/motorola/motorolamotox2014.html
Extract ADB and Fastboot, and put the TWRP img file in the same folder, start command prompt as Admin and Change Directory to where the files are:
cd C:\Users\User\Downloads\platform-tools (this is just an example)
fastboot flash recovery twrp-3.2.1-0-victara.img
Boot into recovery immediately.
Vedang V said:
I have unlocked my bootloader and when I try to install TWRP recovery and open a cmd write the commands 'adb devices' and "fastboot devices" to check whether connected or not it shows connected then reboot to to bootloader but when I put command "fastboot flash recovery recovery. img" I get " cannot load recovery. Img" . I also downloaded the latest TWRP victara and adb, fastboot aswell but can't get what problem is please Help guys!!!
Click to expand...
Click to collapse
Did you install the Motorola USB Drivers?
https://motorola-global-portal.custhelp.com/app/answers/prod_detail/a_id/79106/p/30,75,27,
Did you type the full name of the img file, including .img
You must write fasstboot flash recovery (full name of the file ot rename it).img.
When is finished not take off the cable and run recovery from device bootloader.
Thats it.

No Command TWRP

Original: 7.1.1 Nougat
I unlocked Bootloader
I rooted
Installed TWRP
Wiped
Installed 8.1 rom
installed gapps
Installed Magisk 16
reboot to recovery -> No command
When i go back to bootloader and re install twrp via wugs, it works and loads. If I reboot into recovery again, even from twrp, it gives me the no command error.
Any solutions on how to permanently get twrp running
Yes. Stop using the toolkit.
You need to actually see the messages fastboot generates. To do that, you're going to need to use ADB and Fastboot directly, without the toolkit. Get Minimum ADB and Fastboot from the forums (search for it) and install it. Make sure USB debugging is enabled in settings, then open up a command prompt to the directory where you installed Minimum ADB & Fastboot. In that command prompt type the following commands.
"adb devices" - lists the connected devices. If you see a device, continue.
"adb reboot bootloader" - self explanatory. The equivalent of pressing power and volume down.
"fastboot flash recovery recovery.img" - self explanatory. Replace "recovery.img" with the actual name of the file.
"adb reboot recovery" - should take you directly to the recovery. "adb reboot bootloader" and the volume keys should also work as an alternative.

Twrp Testing for all versions of op7_pro

This thread is intended to get a fully working twrp for our new device sooner than later by more of us participating.
This is a testing thread so YES ANYTHING CAN GO WRONG. But most likely will not go wrong..
All test builds compiled by me are from @mauronofrio source code
https://github.com/mauronofrio/android_device_oneplus_guacamole_TWRP
This guide was copied and pasted from @mauronofrio Twrp thread.
Install guide:
Actually seems "fastboot boot twrp.img" is not working so we need to use another guide:
1. Install fastboot tools from google's sdk on your PC
2. Enter fastboot mode
3. Unlock your bootloader
4. Now you should check which slot are you using with this command "fastboot getvar current-slot"
5. Now you should change the slot in use with this command "fastboot --set-active=*" you should replace with the slot is not in use, for example if you are using slot a the command will be "fastboot --set-active=b"
6. Now you should flash the twrp in the boot partion using this command "fastboot flash boot twrp.img"
7. Now reboot the device with in recovery mode scrolling the menu with the volume button and selecting "Recovery Mode" with the power button
8. First thing go in reboot menu and restore the old active slot
9. Now you can flash the installer (Actually you can do it using sideload, start sideload server from twrp advanced menu and from pc use this command "adb sideload twrpinstaller.zip")
If you are already rooted, you can skip all and directly flash the installer like a magisk module. Always remember that after you flashed the installer you will be unrooted.
Tips:
If you alread have a twrp flashed you can only flash the new installer zip or the new installation method to update your TWRP (remember to flash again magisk or your system will not boot).
If you have some problems with backup, like 255 error or something similar please check this guide: https://forum.xda-developers.com/one...e-999-t3801632
For the Bacups use always "system_image" and "vendor_image" instead of "system" and "vendor".
I need the following logs in order to find issues.
start a terminal window and enter below commands to get the logs
When TWRP boots enter below commands in terminal:
Code:
adb shell "getprop" > getprop.txt
adb pull /tmp/recovery.log
adb shell "dmesg" > dmesg.log
adb logcat > logcat.txt
and post the files here.
Links will be in post #2
Links to test builds
Test-0.2 f2fs filesystem
Twrp.img https://www.androidfilehost.com/?fid=1395089523397969888
Twrp installer https://www.androidfilehost.com/?fid=1395089523397969887
Test-0. 3 ext4 filesystem
Twrp.img https://www.androidfilehost.com/?fid=1395089523397969903
Installer https://www.androidfilehost.com/?fid=1395089523397969902
Under 6. Should we be using "fastboot flash recovery xxx.xxx" or the one from the post?
I might be able to test evening today.
Sent from my GM1911 using Tapatalk
vickyjusme said:
Under 6. Should we be using "fastboot flash recovery xxx.xxx" or the one from the post?
I might be able to test evening today.
Sent from my GM1911 using Tapatalk
Click to expand...
Click to collapse
fastboot flash boot twrp-test.img
Tried this method, but TWRP does not load. Stuck on this (image attached)
Reboot sticks to this screen again. Cannot access fastboot from here, but I can see my device from adb devices. Help me?
https://imgur.com/1s6dejl
Edit: start by power on+volume down loads fastboot.. Phew...
vukis said:
Tried this method, but TWRP does not load. Stuck on this (image attached)
Reboot sticks to this screen again. Cannot access fastboot from here, but I can see my device from adb devices. Help me?
https://imgur.com/1s6dejl
Edit: start by power on+volume down loads fastboot.. Phew...
Click to expand...
Click to collapse
Where are the logs. Please don't test and not provide logs. But thanks for informing test 0.3 doesn't work.
Just wondering how long you waited.

I am facing a big problem in the Flashtools program

I have unlocked the bootloader of my Z3 + device and entered the fastboot mode and installed the recovery in order to install Android 11 ROMs, but the device did not enter the recovery permanently and does not accept downloading an official ROM from the Flash Tool program. Device connected in flash mode but driver is too old
I installed older versions of FlashTools and installed drivers, but the problem was not found
Is there any help in solving that problem
You have to flash the proper TWRP File, don't waste your time on flashing with 3rd party apps those doesn't work anymore. Follow this instructions to get the recovery.
Plug your phone to your computer before (Without entering to fastboot, just normal)
Remember to open CMD into the folder I attached. (Check attached files)​
Press & hold Shift-Key and right-click anywhere on blank space. Right-click context menu will pop-up but this time you will see “Open Command window here” option in this context menu. Click on “Open command window here” to open Command Prompt in that folder.
Click to expand...
Click to collapse
To check whether your device is detected or not by the computer type
adb devices
Click to expand...
Click to collapse
Reboot into bootloader mode using the command
adb reboot bootloader
Click to expand...
Click to collapse
Type the following command to flash the recovery image or just grab the file with the cursor and put it into the CMD after recovery command
fastboot flash recovery c:\twrp.img (example of directory)
Click to expand...
Click to collapse
After flashing type this last command
fastboot reboot bootloader
Click to expand...
Click to collapse
Now you should have installed TWRP in your partition.
You are ready to flash Android 11!
TWRP by:
@tarkzim​

Categories

Resources