Related
I was following this guide
http://forum.xda-developers.com/showthread.php?t=1859714
I have appropriate RUU and images
When i run the ruu however it gives an error saying i hsould check the device is connected
i'm running the RUU while in fastboot. Should there be anything i have to do?
mangusbrother said:
I was following this guide
http://forum.xda-developers.com/showthread.php?t=1859714
I have appropriate RUU and images
When i run the ruu however it gives an error saying i hsould check the device is connected
i'm running the RUU while in fastboot. Should there be anything i have to do?
Click to expand...
Click to collapse
Does you pc recognizes the phone?
matt95 said:
Does you pc recognizes the phone?
Click to expand...
Click to collapse
the usual installing driver for usb device popped up.
and i ran some fastboot commabds previously
Edit: Fastboot devices isn't detecting anythign now
I tried re-unlocking but when i go to use fastboot flash unlocktoken unlock_code.bin it gets stuck on waiting for devices.
I tried instaling htc sync and copying the drivers in the win 8 64x section.
Get it on at a win 7 machine.....might be the fastest solution
Mr Hofs said:
Get it on at a win 7 machine.....might be the fastest solution
Click to expand...
Click to collapse
i'm gonan try installing the RUU from a pc i never used for root-related stuff.
Just confirming i need to only install the following for the RUU to install:
Minimal ADB & Fastboot
Htc Sync
and just in case, can anyone tell me where i can find the recovery.img and boot.img i need to flash before installing the ruu
CID HTC_044
getVersion-main number ends with 707.24 (Asia)
The ruu will do that for you
Please help , ITS VERY URGENT...
My HTC ONE X is rooted unlocked and S-OFF
I was about to install ARHD latest ROM. I went to flash boot.img first.
The moment I clicked on "install-boot-windows.bat" in FASTBOOT USB mode, everything just froze.
No button works. My computer gives a message of " USB DEVICE NOT RECOGNISED" .
When I try to give any command from Fastboot or ALL IN ONE TOOL KIT, IT SAYS " waiting for device" .
My phone is stuck at FASTBOOT USB screen.
please help as fast as possible. I can't wait for my device to die.
I am attaching the snapshot of my current phone screen...
When I type "adb devices" , it doesn't show any device
when i type command " adb reboot recovery ", it says device not found.
Now what to do??
aypee3 said:
When I type "adb devices" , it doesn't show any device
when i type command " adb reboot recovery ", it says device not found.
Now what to do??
Click to expand...
Click to collapse
yes in bootloader work only fastboot no adb. go in recovery and flash ARHD again. And you are s-off you can run any RUU. And if you use search button you will find all the info where you need
Thant said:
yes in bootloader work only fastboot no adb. go in recovery and flash ARHD again. And you are s-off you can run any RUU. And if you use search button you will find all the info where you need
Click to expand...
Click to collapse
Thanks for your reply.
But then , How do I flash boot.img for ARHD ?
Since I had followed all the steps properly and in sequence.
When I tried flashing boot.img from my laptop previously, my device crashed and then no button worked . My laptop kept giving a message that USB DEVICE NOT RECOGNISED .
Also, unless I flash boot.img , how can I flash the ROM?
Do you have any link or clue?
aypee3 said:
Thanks for your reply.
But then , How do I flash boot.img for ARHD ?
Since I had followed all the steps properly and in sequence.
When I tried flashing boot.img from my laptop previously, my device crashed and then no button worked . My laptop kept giving a message that USB DEVICE NOT RECOGNISED .
Also, unless I flash boot.img , how can I flash the ROM?
Do you have any link or clue?
Click to expand...
Click to collapse
you can flash the boot.img with the command fastboot flash boot boot.img Try on different port or install latest htc drivers. You can flash official rom with RUU download RUU reloack the bootloader and run the RUU then you will be complete stock ROM.
Any link for what, I give you a clue in my 2 post.
Thant said:
you can flash the boot.img with the command fastboot flash boot boot.img Try on different port or install latest htc drivers. You can flash official rom with RUU download RUU reloack the bootloader and run the RUU then you will be complete stock ROM.
Any link for what, I give you a clue in my 2 post.
Click to expand...
Click to collapse
The only problem is that my laptop doesn't recognise my phone. So commands hang and my phone freezes .I have tried all the ports while deleting HTC SYNC , installing different drivers from so many different sites/posts one by one . Finally was able to reboot the phone . I will give it a try with another laptop or using a different datacable . Unless my laptop recognises my phone, properly , I don't think any command will work.
I have an HTC One m8 that is stuck on Bootloader. It is an unlocked bootloader with S-Off. I had CWM but I installed stock recovery back onto the phone before flashing a stock kernel (I was trying to make the phone look untampered with before I turned it over to my provider), the Kernel came with a sha1 and was from a trusted website and I am 100% sure it was the right compatible Kernel I'm pretty sure I just had a bad flash.
I have tired the following to get the phone past the bootloader:
1. Fastboot USB Mode --> Try to get ADB to recognize the device --> Debugging mode isn't on (obviously) --> ADB can't recognize the device.
2. Use AndroidSDKSlim/ Android SDK tools / Android Utility to remotely turn on Debugging mode (I got nowhere with this)
3. Attempted to use PdaNet to remotely turn on Debugging mode (got nowhere)
4. HTC Sense doesn't even know whats going on
I just need to get TWRP or CWM or litearlly Any recovery installed. That's all I need, I can do everything from there. I can't remotely install a recovery via adb because adb can't recognize my device because I can't turn Debugging mode on because my device is softbricked!!! Gahhhh. I haven't been able to come up with a way to remotely enable debugging mode or to get adb to recognize my device.
Any ideas/comments/suggestions would be heavily appreciated - I've resourced from every relevant thread I could find. Posting here was a last resort I try to fix things on my own but I'm too many days into this with no results please anybody.
ADB won't work while on fastboot mode. ADB only while in recovery or on OS running.
You don't need USB debugging on for fastboot
fastboot devices - see whether your device is listed with serial no.
if yes then run
fastboot flash recovery NameofRecovery.img
ckpv5 said:
ADB won't work while on fastboot mode. ADB only while in recovery or on OS running.
You don't need USB debugging on for fastboot
fastboot devices - see whether your device is listed with serial no.
if yes then run
fastboot flash recovery NameofRecovery.img
Click to expand...
Click to collapse
Thank you for reply!
I have not been able to get ADB to recognize the device, which is pretty much my whole issue right now. It does not appear under the devices list. If I can just get adb talking with my phone everything else should be easy, I just can't figure out why it's not recognizing it.
Gitnerd said:
I have an HTC One m8 that is stuck on Bootloader.
I have tired the following to get the phone past the bootloader:
1. Fastboot USB Mode --> Try to get ADB to recognize the device --> Debugging mode isn't on (obviously) --> ADB can't recognize the device.
Click to expand...
Click to collapse
Gitnerd said:
I have not been able to get ADB to recognize the device, which is pretty much my whole issue right now.
Click to expand...
Click to collapse
I repeat again my reply ...
ADB won't work while on fastboot mode. ADB only while in recovery or on OS running.
You don't need USB debugging on for fastboot
fastboot devices - see whether your device is listed with serial no.
When on bootloader/fastboot mode
run command
fastboot devices
not adb devices
Gitnerd said:
I just need to get TWRP or CWM or litearlly Any recovery installed. That's all I need, I can do everything from there. I can't remotely install a recovery via adb because adb can't recognize my device because I can't turn Debugging mode on because my device is softbricked!!!
Click to expand...
Click to collapse
then run these command to install recovery ... you can't install recovery via ADB, only fastboot
fastboot flash recovery NameofRecovery.img
ckpv5 said:
I repeat again my reply ...
ADB won't work while on fastboot mode. ADB only while in recovery or on OS running.
You don't need USB debugging on for fastboot
fastboot devices - see whether your device is listed with serial no.
When on bootloader/fastboot mode
run command
fastboot devices
not adb devices
then run these command to install recovery ... you can't install recovery via ADB, only fastboot
fastboot flash recovery NameofRecovery.img
Click to expand...
Click to collapse
Oh.. My..God..
You just saved my life, this whole time I thought fastboot utility in AndroidSDK was just a stripped version of ADB. I'm a moron!
I have TWRP up and running holy crap thank you so so so so much, you are seriously a life saver.
try this
Gitnerd said:
I have an HTC One m8 that is stuck on Bootloader. It is an unlocked bootloader with S-Off. I had CWM but I installed stock recovery back onto the phone before flashing a stock kernel (I was trying to make the phone look untampered with before I turned it over to my provider), the Kernel came with a sha1 and was from a trusted website and I am 100% sure it was the right compatible Kernel I'm pretty sure I just had a bad flash.
I have tired the following to get the phone past the bootloader:
1. Fastboot USB Mode --> Try to get ADB to recognize the device --> Debugging mode isn't on (obviously) --> ADB can't recognize the device.
2. Use AndroidSDKSlim/ Android SDK tools / Android Utility to remotely turn on Debugging mode (I got nowhere with this)
3. Attempted to use PdaNet to remotely turn on Debugging mode (got nowhere)
4. HTC Sense doesn't even know whats going on
I just need to get TWRP or CWM or litearlly Any recovery installed. That's all I need, I can do everything from there. I can't remotely install a recovery via adb because adb can't recognize my device because I can't turn Debugging mode on because my device is softbricked!!! Gahhhh. I haven't been able to come up with a way to remotely enable debugging mode or to get adb to recognize my device.
Any ideas/comments/suggestions would be heavily appreciated - I've resourced from every relevant thread I could find. Posting here was a last resort I try to fix things on my own but I'm too many days into this with no results please anybody.
Click to expand...
Click to collapse
1) Reboot the phone using Power+Vol Up
2) The moment the screen goes dark to reboot and before the white HTC logo screen appears again (Should be around 10 seconds), press the volume down key.... Do not let go of vol down until you see the bootloader screen
3) If the bootloader doesn't appear, you either started pressing Vol Down too late, or let go of it too early. Just do the steps again until you get it right.
4) Once you are in the bootlader, select select fastboot by pressing power key.
5)you can flash either permanent or temporary a TWRP recovery once you are in fastboot.
6)Once you are in recovery mode, you can transfer any custom rom to memory or sd card, then install it from the place you chose.
7) you can flash RUU file at fatboot mode as well.
So I was running a custom ROM for a while and decided to switch back to the stock ROM. After doing that, I flashed the stock recovery so that I could install the OTA update from version 4.28.502.2 to version 6.20.502.5. During installation, the phone got stuck in a bootloop, so I wiped the cache and tried to start it again. After that didn't work, I factory reset it (in the bootloader, and then in recovery after it didn't work), and it still doesn't work. ADB and fastboot doesn't detect my device even though I had USB debugging on before I tried to update it (I'm guessing that the factory reset disabled that?). I can access the bootloader and recovery, and my phone has an unlocked bootloader with S-On. I have the AT&T HTC One M8 if that helps. Can someone help me please?
Hi,
Can you go to boot loader and then connect your phone into your computer after that you flash the recovery like TWRP, wipe all the data and reflash your rom, you can find it on XDA. After that you have to find the correct recovery for your device (see the website of Mike1987), find the correct recovery for your device and then flash the stock recovery and it have to work. Waiting for your news.
Have a nice day
BelDev said:
Hi,
Can you go to boot loader and then connect your phone into your computer after that you flash the recovery like TWRP, wipe all the data and reflash your rom, you can find it on XDA. After that you have to find the correct recovery for your device (see the website of Mike1987), find the correct recovery for your device and then flash the stock recovery and it have to work. Waiting for your news.
Have a nice day
Click to expand...
Click to collapse
I'm saying that my computer doesn't recognize my phone, and that's why I can't flash a custom recovery like TWRP
Have you got the right drivers installed, have you tired another hub ? Is your battery fully charged ?
BelDev said:
Have you got the right drivers installed, have you tired another hub ? Is your battery fully charged ?
Click to expand...
Click to collapse
Yes, I have the right drivers installed. Yes, I have tried a different USB port. Yes, my battery is fully charged.
Try to uninstall the drivers and download the HTC drivers, fastboot and adb from Internet and try again. Do you have another PC? Because one time i have got the same problem than you and when i take another PC it's worked.
BelDev said:
Try to uninstall the drivers and download the HTC drivers, fastboot and adb from Internet and try again. Do you have another PC? Because one time i have got the same problem than you and when i take another PC it's worked.
Click to expand...
Click to collapse
The drivers fail to install everytime, and I've tried on three different PCs
Your problem is not the phone cause it detected by the PC but the drivers failed to detect you HTC. Can you say if you boot your phone in the boot loader, the phone show you if is in boot loader connected by usb or not?
BelDev said:
Your problem is not the phone cause it detected by the PC but the drivers failed to detect you HTC. Can you say if you boot your phone in the boot loader, the phone show you if is in boot loader connected by usb or not?
Click to expand...
Click to collapse
In fastboot on the phone, it shows that it is connected with USB, but ADB says that there is no device connected
Jhaleefi said:
In fastboot on the phone, it shows that it is connected with USB, but ADB says that there is no device connected
Click to expand...
Click to collapse
adb won't work on bootloader/fastboot mode. Only fastboot does.
When on fastboot, type command fastboot devices, do you get your device serial no. ?
On bootloader/fastboot, what is x the OS-x.xx.502.x now ?
See : http://forum.xda-developers.com/showpost.php?p=66886759&postcount=23
ckpv5 said:
adb won't work on bootloader/fastboot mode. Only fastboot does.
When on fastboot, type command fastboot devices, do you get your device serial no. ?
On bootloader/fastboot, what is x the OS-x.xx.502.x now ?
See : http://forum.xda-developers.com/showpost.php?p=66886759&postcount=23
Click to expand...
Click to collapse
I followed the instructions in that link, and everything works perfectly now. It's updated to 6.20.502.5. Thanks
Jhaleefi said:
I followed the instructions in that link, and everything works perfectly now. It's updated to 6.20.502.5. Thanks
Click to expand...
Click to collapse
Seems like your main issue was not properly using fastboot mode for fastboot, and realizing that adb doesn't work in bootloader mode? That, and having the proper firmware and RUU files.
hi devs
i flashed accidentially Chinese recovery rom on my whyred now i m unable to switch from Chinese to global version as i tried every method fastboot,recovery,qfil,mi flash and edl mode i mean every possible way but all in vain as every method ended with error and my fastboot command is locked.
so what can i do please suggest me
it's Chinese miui 11
guys please help me i m frustrated tried every available method on internet downloaded tons of file.
aliasgertaj said:
guys please help me i m frustrated tried every available method on internet downloaded tons of file.
Click to expand...
Click to collapse
What you are trying to do? Just switch from Chinese to Global? or your device is bricked now?
What did happen after that you flashed the Chinese recovery ROM?
What modes do you have available?
Did you unlock bootloader previously?
SubwayChamp said:
What you are trying to do? Just switch from Chinese to Global? or your device is bricked now?
What did happen after that you flashed the Chinese recovery ROM?
What modes do you have available?
Did you unlock bootloader previously?
Click to expand...
Click to collapse
i m not bricked as my device is working fine
but now no fastboot command working i m not able to flash custom recovery
i tried fastboot method , used miflash method every miflash from old to newest , qfil edl mode method with miflash and qualcomm flash tool
i m just able to switch between china stable n developer rom
if i m able to unlock ma fastboot command then i can flash atleast custom recovery .
kindly help me as all method ended up every time with diffrent error.
aliasgertaj said:
i m not bricked as my device is working fine
but now no fastboot command working i m not able to flash custom recovery
i tried fastboot method , used miflash method every miflash from old to newest , qfil edl mode method with miflash and qualcomm flash tool
i m just able to switch between china stable n developer rom
if i m able to unlock ma fastboot command then i can flash atleast custom recovery .
kindly help me as all method ended up every time with diffrent error.
Click to expand...
Click to collapse
Fastboot flashing commands won't work if you have bootloader locked.
Did you unlock bootloader previously and probably get locked again?
Did you enable all the proper options on Developer section, i.e. USB debugging and check if device is recogniced on adb commands?
What do you get with "fastboot getvar all"?
subwaychamp said:
fastboot flashing commands won't work if you have bootloader locked.
Did you unlock bootloader previously and probably get locked again?
Did you enable all the proper options on developer section, i.e. Usb debugging and check if device is recogniced on adb commands?
What do you get with "fastboot getvar all"?
Click to expand...
Click to collapse
thanks a lot dude i m on unlock boot loader .
But bootloader some time works means sometimes it shows my device name after available device command it shows only ???????? Fastboot devices
i tried all way possible but none of them worked.
And i m unable to switch from china to global.
Only i can do is switch between china stable to developer.
i tried getvar command but it gave me this
PS C:\adb> adb reboot bootloader
error: device '(null)' not found
PS C:\adb> fastboot getvar all
getvar:all FAILED (command write failed (Unknown error))
finished. total time: 5.007s
PS C:\adb>
aliasgertaj said:
i tried getvar command but it gave me this
PS C:\adb> adb reboot bootloader
error: device '(null)' not found
PS C:\adb> fastboot getvar all
getvar:all FAILED (command write failed (Unknown error))
finished. total time: 5.007s
PS C:\adb>
Click to expand...
Click to collapse
And you said you enabled USB debuging?!? you didn't. First enable it under development tools.
MAKE SURE YOUR USING RIGHT ADB/FASTBOOT TOOLS AND DRIVERS.
After 'adb reboot bootloader' use 'fastboot devices'. You can change usb cable and if you still get errors try using usb hub.
If all above fails than try it on WIN7 PC.
aliasgertaj said:
thanks a lot dude i m on unlock boot loader .
But bootloader some time works means sometimes it shows my device name after available device command it shows only ???????? Fastboot devices
i tried all way possible but none of them worked.
And i m unable to switch from china to global.
Only i can do is switch between china stable to developer.
Click to expand...
Click to collapse
aliasgertaj said:
i tried getvar command but it gave me this
PS C:\adb> adb reboot bootloader
error: device '(null)' not found
PS C:\adb> fastboot getvar all
getvar:all FAILED (command write failed (Unknown error))
finished. total time: 5.007s
PS C:\adb>
Click to expand...
Click to collapse
I think you are not properly booted to the proper state while you're trying certain commands. Just to be clear; adb works while your device is power on and fastboot commands will work only while your device is in fastboot mode not while on adb mode. A way to be sure that you are doing properly is enabling USB debugging first but while connected device with PC, a prompt will appear from device screen and then tap on "always allow", then you have to type "adb devices" and follow step by step, if device is recognized you can go to the next step with "adb reboot bootloader" then in fastboot you have to see the bunny otherwise is not properly in fastboot mode, then you can follow with "fastboot devices" and so on, keep in mind that any command will work until device is properly recognized.
SubwayChamp said:
I think you are not properly booted to the proper state while you're trying certain commands. Just to be clear; adb works while your device is power on and fastboot commands will work only while your device is in fastboot mode not while on adb mode. A way to be sure that you are doing properly is enabling USB debugging first but while connected device with PC, a prompt will appear from device screen and then tap on "always allow", then you have to type "adb devices" and follow step by step, if device is recognized you can go to the next step with "adb reboot bootloader" then in fastboot you have to see the bunny otherwise is not properly in fastboot mode, then you can follow with "fastboot devices" and so on, keep in mind that any command will work until device is properly recognized.
Click to expand...
Click to collapse
thanks bro
yesterday i used xiaomitool v2 as it reboot automatically device in fastboot mode but as i said after in fastboot mode it doesn't boot in adb mode.
and what is proper method to open fastboot mode i m doing it by holding power and volume down button.
drnightshadow said:
And you said you enabled USB debuging?!? you didn't. First enable it under development tools.
MAKE SURE YOUR USING RIGHT ADB/FASTBOOT TOOLS AND DRIVERS.
After 'adb reboot bootloader' use 'fastboot devices'. You can change usb cable and if you still get errors try using usb hub.
If all above fails than try it on WIN7 PC.
Click to expand...
Click to collapse
thanks for response bro
i did it under developer option and trusted my computer connection also and install adb fastboot devices many time changed cable and port but nothing happen. i tried fastboot files of china stable rom but it also doesn't worked
aliasgertaj said:
thanks bro
yesterday i used xiaomitool v2 as it reboot automatically device in fastboot mode but as i said after in fastboot mode it doesn't boot in adb mode.
and what is proper method to open fastboot mode i m doing it by holding power and volume down button.
Click to expand...
Click to collapse
Just trying to determine what your words exactly mean when you say "after in fastboot mode it doesn't boot in adb mode." ... without entering in more technical insights adb works when device is on, no sense to boot to fastboot to try to boot to adb after that (?)
If you can boot to fastboot what you have to try firstly is unlock bootloader or be sure that is already unlocked using
Code:
fastboot oem device-info
if your device is or get unlocked then you can try to flash or just boot to a custom recovery but if you can't determine until now if your device is really unlocked then you couldn't go further.
The hardware method to enter to fastboot is from a device off; pressing both pwr and vol down buttons but if the bunny is not displayed probably you didn't really get fastboot mode.
SubwayChamp said:
Just trying to determine what your words exactly mean when you say "after in fastboot mode it doesn't boot in adb mode." ... without entering in more technical insights adb works when device is on, no sense to boot to fastboot to try to boot to adb after that (?)
If you can boot to fastboot what you have to try firstly is unlock bootloader or be sure that is already unlocked using
Code:
fastboot oem device-info
if your device is or get unlocked then you can try to flash or just boot to a custom recovery but if you can't determine until now if your device is really unlocked then you couldn't go further.
The hardware method to enter to fastboot is from a device off; pressing both pwr and vol down buttons but if the bunny is not displayed probably you didn't really get fastboot mode.
Click to expand...
Click to collapse
i m frustrated now tried all the thing tried official flash tool official build but even official build by miflash official latest tool unable to flash image
i bought my device to official xiaomi service center they told it will be done in an hour but after couple of hour they returned my phone that it cant be updated.??????
shame on xiaomi that they implemented a method that they themselves also don't know how to revert it.
aliasgertaj said:
i bought my device to official xiaomi service center they told it will be done in an hour but after couple of hour they returned my phone that it cant be updated.??????
shame on xiaomi that they implemented a method that they themselves also don't know how to revert it.
Click to expand...
Click to collapse
Do yo use WIN10? Find PC with Win7... and install adb/fastboot app and drivers. Than try..
Is your system working now?
Just unlock your bootloader and install OrangeFox recovery than you can flash whatever you need.
Problem solved.
drnightshadow said:
Do yo use WIN10? Find PC with Win7... and install adb/fastboot app and drivers. Than try..
Is your system working now?
Just unlock your bootloader and install OrangeFox recovery than you can flash whatever you need.
Problem solved.
Click to expand...
Click to collapse
ok bro i will try today with another pc and update you
aliasgertaj said:
ok bro i will try today with another pc and update you
Click to expand...
Click to collapse
thanks installed twrp on other pc running on windows 7 but now internal storage goes 0mb unable to mount system
aliasgertaj said:
thanks installed twrp on other pc running on windows 7 but now internal storage goes 0mb unable to mount system
Click to expand...
Click to collapse
Wtf .. what's wrong with you.. you did everything we said wrong... Where and when did I told you to install TWRP????
I'm done with you...
Good luck with china ROM.
Ignorance is a bliss.
drnightshadow said:
Wtf .. what's wrong with you.. you did everything we said wrong... Where and when did I told you to install TWRP????
I'm done with you...
Good luck with china ROM.
Ignorance is a bliss.
Click to expand...
Click to collapse
thanks dude i installed twrp wipe my internal storage there is some error then some tricks goes perfect as i supposed and woohaa i installed masik port edition and now my phone works fine.
aliasgertaj said:
thanks dude i installed twrp wipe my internal storage there is some error then some tricks goes perfect as i supposed and woohaa i installed masik port edition and now my phone works fine.
Click to expand...
Click to collapse
TWRP can't bypass encryption, when you have no access to read data (0mb) then you have to format it, to avoid that is always recommended use OrangeFox, just for future reference, if you understand that you can flash OrangeFox through TWRP for better experience.
Also you can use this tool to help you to automate some stuff https://github.com/Szaki/XiaomiADBFastbootTools