My computer does not recognize adb when in fastboot menu please guide me to install twrp using qfil. Thanks
hoangan102 said:
My computer does not recognize adb when in fastboot menu please guide me to install twrp using qfil. Thanks
Click to expand...
Click to collapse
adb and fastboot are two separate things, they are not the same. Your computer Should NOT recognize adb if it's booted into fastboot mode. Nor should it recognize fastboot commands when it's connected to the computer with adb.
to install twrp with qfil, you need your firmware version boot partition with twrp already 'injected' into it. But to get that you have to indicate what variant / version you're on...
cheers
Related
so after following the instrucions down below, I can't access TWRP recovery. Everytime I go to the recovery from bootloader, it will restart the phone automatically. I made a backup before doing this, but now i can't even get into recovery mode from boot loader
Installing recovery using fastboot
You can use fastboot to install your recovery image to the device.
Installing ClockworkMod Recovery on the One (Sprint)
Download koush's ClockworkMod Recovery.
koush's ClockworkMod Recovery: download
md5: 8e1001f45ad07d4cda03b813739f85c1
Connect the One (Sprint) to the computer via USB.
Make sure the fastboot binary is in your PATH or that you place the downloaded image in the same directory as fastboot.
Open a terminal on your PC and reboot the device into fastboot mode by typing adb reboot bootloader or by using the hardware key combination.
Once the device is in fastboot mode, verify your PC sees the device by typing fastboot devices
If you don't see your device serial number, and instead see "<waiting for device>", fastboot is not configured properly on your machine. See fastboot documentation for more info.
Flash ClockworkMod Recovery onto your device by entering the following command: fastboot flash recovery your_recovery_image.img where the latter part is the name of the file you downloaded.
Once the flash completes successfully, reboot the device into recovery to verify the installation.
Note: Some ROMs overwrite recovery at boot time so if you do not plan to immediately boot into recovery to install CyanogenMod, please be aware that this may overwrite your custom recovery with the stock one.
stevenpyang said:
so after following the instrucions down below, I can't access TWRP recovery. Everytime I go to the recovery from bootloader, it will restart the phone automatically. I made a backup before doing this, but now i can't even get into recovery mode from boot loader
Installing recovery using fastboot
You can use fastboot to install your recovery image to the device.
Installing ClockworkMod Recovery on the One (Sprint)
Download koush's ClockworkMod Recovery.
koush's ClockworkMod Recovery: download
md5: 8e1001f45ad07d4cda03b813739f85c1
Connect the One (Sprint) to the computer via USB.
Make sure the fastboot binary is in your PATH or that you place the downloaded image in the same directory as fastboot.
Open a terminal on your PC and reboot the device into fastboot mode by typing adb reboot bootloader or by using the hardware key combination.
Once the device is in fastboot mode, verify your PC sees the device by typing fastboot devices
If you don't see your device serial number, and instead see "<waiting for device>", fastboot is not configured properly on your machine. See fastboot documentation for more info.
Flash ClockworkMod Recovery onto your device by entering the following command: fastboot flash recovery your_recovery_image.img where the latter part is the name of the file you downloaded.
Once the flash completes successfully, reboot the device into recovery to verify the installation.
Note: Some ROMs overwrite recovery at boot time so if you do not plan to immediately
boot into recovery to install CyanogenMod, please be aware that this may overwrite your custom recovery with the stock one.
Click to expand...
Click to collapse
get Into fastboot ; from cmd type, fastboot erase cache
and then try getting into recovery
nope
prunzzz said:
get Into fastboot ; from cmd type, fastboot erase cache
and then try getting into recovery
Click to expand...
Click to collapse
I did that and the same problem. instead of the phone restarting it just shuts down now.
stevenpyang said:
I did that and the same problem. instead of the phone restarting it just shuts down now.
Click to expand...
Click to collapse
put here the link of guide you followed
also the link of download of recovery
Hi,
I'm in desperate need of some help and am not sure what to do. My HTC One m7 got stuck in Cyanogenmod Simple Recovery after the latest update. It will keep rebooting back into Simple Recovery. Is there any way to get my phone back either to stock or to Cyanogenmod?
I always just left it on Cyanogenmod so I'm not very familiar with flashing or other programs. If anyone has any advice, could you please point me to the correct tutorials and downloads?
I am at a complete loss with how to get my phone to its original state.
Perez92 said:
Hi,
I'm in desperate need of some help and am not sure what to do. My HTC One m7 got stuck in Cyanogenmod Simple Recovery after the latest update. It will keep rebooting back into Simple Recovery. Is there any way to get my phone back either to stock or to Cyanogenmod?
I always just left it on Cyanogenmod so I'm not very familiar with flashing or other programs. If anyone has any advice, could you please point me to the correct tutorials and downloads?
I am at a complete loss with how to get my phone to its original state.
Click to expand...
Click to collapse
Follow this nkk71's Return to 100% Stock Guide!
majmoz said:
Follow this nkk71's Return to 100% Stock Guide!
Click to expand...
Click to collapse
Thank you for the response, however my biggest issue is getting out of simple recovery. How do I install a new recovery, such as TWRP or CWM at the simple recovery screen and how do I flash the latest cyanogenmod rom?
Perez92 said:
Thank you for the response, however my biggest issue is getting out of simple recovery. How do I install a new recovery, such as TWRP or CWM at the simple recovery screen and how do I flash the latest cyanogenmod rom?
Click to expand...
Click to collapse
You will have to flash CWM recovery in bootloader/FASTBOOT USB. You can get the recovery from http://www.clockworkmod.com/rommanager find your phone then download the recovery.
In bootloader/FASTBOOT USB, flash CWM recovery (either rename the file CWM.img or type the whole name in place of CWM):
fastboot flash recovery CWM.img
fastboot erase cache
fastboot reboot-bootloader
majmoz said:
You will have to flash CWM recovery in bootloader/FASTBOOT USB. You can get the recovery from http://www.clockworkmod.com/rommanager find your phone then download the recovery.
In bootloader/FASTBOOT USB, flash CWM recovery (either rename the file CWM.img or type the whole name in place of CWM):
fastboot flash recovery CWM.img
fastboot erase cache
fastboot reboot-bootloader
Click to expand...
Click to collapse
Thank you for replying.
So from what I'm understanding is that I will need to use ADB to sideload the recovery onto my phone, correct?
I'm not sure what the bootloader/FASTBOOT USB you refer to, I feel like I need it to be ELI5. My brain is melting when trying to read this.
P.S. I am STUCK in Cyanogenmod Simple Recovery. I am not able to power down the device or get to any other screen.
Perez92 said:
Thank you for replying.
So from what I'm understanding is that I will need to use ADB to sideload the recovery onto my phone, correct?
I'm not sure what the bootloader/FASTBOOT USB you refer to, I feel like I need it to be ELI5. My brain is melting when trying to read this.
Click to expand...
Click to collapse
No, you can not load the recovery with sideload. Have ADB & Fastboot installed on your computer, place the recovery file in the same folder and connect your phone to the computer.
Open a command window in the folder where ADB & fastboot reside.
Type: adb reboot bootloader
When the screen on your phone shows the white bootloader screen in blue will be FASTBOOT USB
Type one line at a time waiting until the cmd screen states OK or something similiar:
fastboot flash recovery CWM.img
fastboot erase cache
fastboot reboot-bootloader
Here is a guide on fastboot commands.
majmoz said:
No, you can not load the recovery with sideload. Have ADB & Fastboot installed on your computer, place the recovery file in the same folder and connect your phone to the computer.
Open a command window in the folder where ADB & fastboot reside.
Type: adb reboot bootloader
When the screen on your phone shows the white bootloader screen in blue will be FASTBOOT USB
Type one line at a time waiting until the cmd screen states OK or something similiar:
fastboot flash recovery CWM.img
fastboot erase cache
fastboot reboot-bootloader
Here is a guide on fastboot commands.
Click to expand...
Click to collapse
So I was able to get my device past the first prompt. I now see the white bootloader screen and it does say "FASTBOOT USB". I downloaded the latest TWRP and placed it in the same folder as ADB and Fastboot. I did the second command to flash it, however I keep getting the error "error: cannot open 'TWRP.img'. Any idea as to what I could be doing wrong?
majmoz said:
No, you can not load the recovery with sideload. Have ADB & Fastboot installed on your computer, place the recovery file in the same folder and connect your phone to the computer.
Open a command window in the folder where ADB & fastboot reside.
Type: adb reboot bootloader
When the screen on your phone shows the white bootloader screen in blue will be FASTBOOT USB
Type one line at a time waiting until the cmd screen states OK or something similiar:
fastboot flash recovery CWM.img
fastboot erase cache
fastboot reboot-bootloader
Here is a guide on fastboot commands.
Click to expand...
Click to collapse
Got it to work. Used adb to get into fastboot. Then opened up the CM installer and let it redownload cyanogenmod onto my phone.
Thanks for the help!
While I flashed 1.2GB.zip to expand my partition size, I got some issue to reset my phone. now, my recovery is xiaomi stock recovery and when i go into fastboot mode, my pc can't detect my phone by adb function. I test variety of version and pc, still not work. Can someone help me to write a stock partition that can fastboot with MITool? Many thanks, my phone only can detect with MiTool in this moment. Sorry for interruption.
First flash cwm or twrp recovery with fastboot .flash stok repartition zip in cwm then flash with miflash.
Sometimes adb not work due to bad driver reinstall drivers for adb.
cfw950116 said:
While I flashed 1.2GB.zip to expand my partition size, I got some issue to reset my phone. now, my recovery is xiaomi stock recovery and when i go into fastboot mode, my pc can't detect my phone by adb function. I test variety of version and pc, still not work. Can someone help me to write a stock partition that can fastboot with MITool? Many thanks, my phone only can detect with MiTool in this moment. Sorry for interruption.
Click to expand...
Click to collapse
I was in the same situation. Mi recovery without adb and
and fastboot only. I'm on the phone and can't post links but if you go to the repartitioning thread and find my posts(there are not many)read it through and you will find a link to "how to fastboot" thread. If your computer recognizes your phone in fastboot mode than you'll be fine. Download from the same thread repartitioning to stock from the HTC mania guy if you want to flash miui with miflash. Otherwise it won't work. Good luck.
ashish289 said:
First flash cwm or twrp recovery with fastboot .flash stok repartition zip in cwm then flash with miflash.
Sometimes adb not work due to bad driver reinstall drivers for adb.
Click to expand...
Click to collapse
If you can flash CWM ,then you are good to go.My phone is not detected via adb devices command but I dont know how fastboot commands work all the time.
gauravsaini964 said:
If you can flash CWM ,then you are good to go.My phone is not detected via adb devices command but I dont know how fastboot commands work all the time.
Click to expand...
Click to collapse
i think adb will not work in this case because mi recovery dont support adb so boot into fastboot mode by pressing volume down + power key there will be mi bunny and fastboot mode .
u will need recovery in img format so extract recovery.img file from cwm r11 zip file and put it in adb or fastboot folder . then
open command prompt in adb folder and type.
fastboot devices
if it show device id then type
fastboot flash recovery recovery.img
fastboot reboot
try to boot it into recovery mode by using key combination ( vol up+ power buttuon) and it should boot in clockwork mode recovery.
and flash reparition zip to return to stok partition
repartition stok zip by eaxir http://forum.xda-developers.com/xia...ize-extend-partition-capacity-t3011918/page17
if u dont have repartition zip then use adb side load method to send file to device and flash it or ask me again.
now you can use miflash.
ashish289 said:
i think adb will not work in this case because mi recovery dont support adb so boot into fastboot mode by pressing volume down + power key there will be mi bunny and fastboot mode .
u will need recovery in img format so extract recovery.img file from cwm r11 zip file and put it in adb or fastboot folder . then
open command prompt in adb folder and type.
fastboot devices
if it show device id then type
fastboot flash recovery recovery.img
fastboot reboot
try to boot it into recovery mode by using key combination ( vol up+ power buttuon) and it should boot in clockwork mode recovery.
and flash reparition zip to return to stok partition
repartition stok zip by eaxir http://forum.xda-developers.com/xia...ize-extend-partition-capacity-t3011918/page17
if u dont have repartition zip then use adb side load method to send file to device and flash it or ask me again.
now you can use miflash.
Click to expand...
Click to collapse
can i flash repartition stock zip by eaxir via twrp ? please answer
11/10/19 @ 3:05..successfully obtained root access for my 1st device!!
Bold N1
Rooted with Magisk
Flashed stock boot.img
Fastboot flash boot (boot.img)
Fastboot flash recovery (recovery.img)
I'm finally a big kid!!
What usb driver did you use? I'm stuck on fastboot <waiting for device>
ycgr2002 said:
What usb driver did you use? I'm stuck on fastboot <waiting for device>
Click to expand...
Click to collapse
Did u allow usb debugging in developer options ?
greeneyez15o said:
Did u allow usb debugging in developer options ?
Click to expand...
Click to collapse
Yes and allow for OEM Unlock. It's a windows 10 driver issue. I couldn't figure it out.
Luckily I was able to run in on a Linux computer. Fastboot worked fine and was able to unlock the bootloader!
Sergeantslaughter said:
11/10/19 @ 3:05..successfully obtained root access for my 1st device!!
Bold N1
Rooted with Magisk
Flashed stock boot.img
Fastboot flash boot (boot.img)
Fastboot flash recovery (recovery.img)
I'm finally a big kid!!
Click to expand...
Click to collapse
How exactly did you root it? What were the steps if you don't mind sharing. I've only rooted one phone and I followed a step by step tutorial on YouTube.
The easiest way I've found is to download magisk manager and the stock boot img for your device.open magisk manager and click install-download zip only.. then move the zip file and your stock boot img to the root of internal storage. Eg/storage/emulated/0/. Go back to magisk manager and click install/select and patch file. Navigate to where you stored your stock boot img and select it. Magisk will automatically flash and repck img file and will save it in your downloads folder as magisk_patched.img. enable and debugging in Dev options and reboot to bootloader. /Adb reboot bootloader. Once your phone is in fastboot mode type /fastboot devices to be sure your computer can recognize your phone. Should come back as a serial number followed by the word fastboot. Then type
Fastboot flash boot magisk_patched.img
You should get a success prompt. If successful then reboot using
Fastboot reboot
Once your phone loads back up check magisk manager to verify that everything is installed, should be two green checks. Then use a root checker to verify root.....and that's it!
Also, you have to make sure your bootloader is unlocked in order to do this....its very easy for the bold n1 just enable oem unlock in Dev options and the reboot to bootloader and type fastboot flashing unlock. Select yes on the prompt on your phone and then continue your process.
ycgr2002 said:
What usb driver did you use? I'm stuck on fastboot <waiting for device>
Click to expand...
Click to collapse
mtk droid tools all in one installer worked for me
davids_laughter said:
How exactly did you root it? What were the steps if you don't mind sharing. I've only rooted one phone and I followed a step by step tutorial on YouTube.
Click to expand...
Click to collapse
Did I mention that I did this on my Chromebook....no windows at all lol
I have a problem
I just tryed to install last firmware
(first installed RMX1931EX_11_OTA100,
Flash vbmeta.img in vbmeta and reboot,then Flash Magisk fron canary(//github.com/topjohnwu/magisk_files/blob/canary/magisk-debug.zip))
Evrything going ok witout any error but after reboot I'm in bootloop just relame logo and then start twrp recovery.
then I erase all data with wipe+yes from twrp,my phone only restar in OS without any posibility to go into fastboot.
"PS C:\adb> adb devices
List of devices attached
ce8bf9af recovery
they find phone,but when I try to use adb just folowing message:
PS C:\adb> fastboot + any command
< waiting for device >"
Phone bootet normaly in OS but it is not posible to get fastboot mode or boot into twrp recovery.
Magisk working and Official TWRP app to.
I find over youtube video this boot.img "https://www.youtube.com/watch?v=4wsa81bG6II"
can something like this resolve my problems.Maybe to flash some boot. Img over twrp official app?????
Any sugesstion.
Thanx
You did adb reboot bootloader first and then try fasboot reboot recovery ?
that I know vbmeta should be flashed last
also check if magisk are u usiing need a fix
slicuga said:
I have a problem
I just tryed to install last firmware
(first installed RMX1931EX_11_OTA100,
Flash vbmeta.img in vbmeta and reboot,then Flash Magisk fron canary(//github.com/topjohnwu/magisk_files/blob/canary/magisk-debug.zip))
Evrything going ok witout any error but after reboot I'm in bootloop just relame logo and then start twrp recovery.
then I erase all data with wipe+yes from twrp,my phone only restar in OS without any posibility to go into fastboot.
"PS C:\adb> adb devices
List of devices attached
ce8bf9af recovery
they find phone,but when I try to use adb just folowing message:
PS C:\adb> fastboot + any command
< waiting for device >"
Phone bootet normaly in OS but it is not posible to get fastboot mode or boot into twrp recovery.
Magisk working and Official TWRP app to.
I find over youtube video this boot.img "
"
can something like this resolve my problems.Maybe to flash some boot. Img over twrp official app?????
Any sugesstion.
Thanx
Click to expand...
Click to collapse
I have a fix for this , either try linux software , there it will work 100% device will be detected in fastboot mode , another method is to try luck with the usb drivers provided by the official realme flashtool and make sure if you are using desktop then don't plug your device in cabinet usb port, plug it into motherboard , as i had past issues with cabinet usb port and it worked perfectly with motherboard usb port ...
Some drivers don't seem to work with cabinet usb ports , but they very well work with motherboard usb ports !! So give it a try ....