i need help how to flash htc with fastboot - Android Q&A, Help & Troubleshooting

pls if i star my fastboot flash is telling me this erro pls anyone will help me how to do it pls
C:\Users\YUGUDA ****U\Desktop\adbfastboot>fastboot flash boot boot.img
< waiting for device >
error: cannot open 'boot.img'
C:\Users\YUGUDA ****U\Desktop\adbfastboot>fastboot flash recovery_2
unknown partition 'recovery_2'
error: cannot determine image filename for 'recovery_2'
C:\Users\YUGUDA ****U\Desktop\adbfastboot>fastboot flash recovery_2,img
unknown partition 'recovery_2,img'
error: cannot determine image filename for 'recovery_2,img'
C:\Users\YUGUDA ****U\Desktop\adbfastboot>

Next time try to search
http://forum.xda-developers.com/showthread.php?t=2277112

First off, the obvious: Make sure you are in bootloader mode.
2nd: boot.img must be in the same folder as the fastboot.exe file.
Once in bootloader mode, run this command to see if your device is being recognized correctly:
fastboot devices
If you get a response back with a string of numbers/letters, you should be good. If no devices present, make sure you go to your Device Manager and see if there are any errors for the driver.
Once you have no issues with the driver and the PC recognizes it in fastboot, then make sure you have the correct boot.img and try again. Also, for the recovery, it should be this command:
fastboot flash recovery recovery.img (or whatever you have named the .img file)

Related

[Q] Help me on fastbooting :(

I've downloaded all the things that im supposed to download. There's recovery image (for froyo 322) and update for froyo 322 and the fastboot file.
Firstly, i made my dell streak onto Fastboot mode.
Then i connected it and it said "Fastboot_Mode"
After that i open Command Prompt and open fastboot.exe which was located in fastboot file
But, when i type "fastboot -i 0x413c flash recovery (my recovery image file name)" it says "fastboot is not recognized as an internal or external command, operable programme or batch file"
Im on windows 7 home basic. Someone please help me. My phone's still in fastboot mode till now
You need to make sure you change the directory of the command prompt to the folder your fastboot.exe is in. Then use fastboot.exe instead of just fastboot in the command

[Q] Unlocked 4.5.141 bootloader, attempted to flash recovery, receive error, help?

I have 4.5.141 unlocked, rooted and I have GooManager installed, I try to have it flash the TWRP version 2.1.1 recovery for me automatically so I can try to download and flash a custom ROM and it downloads and it flashes the custom recovery and the phone reboots and I get an error that reads "Failed to Boot 2 Starting RSD Mode" and when I pull the battery, the phone reboots and the "Failed to boot 2" message does not show up. Can anyone help me in trying to successfully flash a custom recovery onto my Atrix 4G?
ksweeley said:
I have 4.5.141 unlocked, rooted and I have GooManager installed, I try to have it flash the TWRP version 2.1.1 recovery for me automatically so I can try to download and flash a custom ROM and it downloads and it flashes the custom recovery and the phone reboots and I get an error that reads "Failed to Boot 2 Starting RSD Mode" and when I pull the battery, the phone reboots and the "Failed to boot 2" message does not show up. Can anyone help me in trying to successfully flash a custom recovery onto my Atrix 4G?
Click to expand...
Click to collapse
Download TWRP recovery from this thread
Download moto-fastboot-win32.zip from this thread
Unzip them both to the same folder on your computer (eg.: c:\fastboot).
Make sure all files are in the same folder: moto-fastboot, the ADB DLL files and recovery.img
Open a command prompt window pointing to that folder (tip: hold shift on the keyboard, right click on the folder and select "open command window here")
Connect yout atrix to your pc via USB and boot your atrix into fastboot mode (when the phone is off, keep the VOL - button pressed and press the power button. When Fastboot appears, press VOL +)
Now issue type these commands into the command prompt:
moto-fastboot erase recovery
moto-fastboot flash recovery recovery.img
after it's done, type
moto-fastboot reboot
After that you should be able to boot into TWRP recovery. Cheers!
vladeco said:
Download TWRP recovery from this thread
Download moto-fastboot-win32.zip from this thread
Unzip them both to the same folder on your computer (eg.: c:\fastboot).
Make sure all files are in the same folder: moto-fastboot, the ADB DLL files and recovery.img
Open a command prompt window pointing to that folder (tip: hold shift on the keyboard, right click on the folder and select "open command window here")
Connect yout atrix to your pc via USB and boot your atrix into fastboot mode (when the phone is off, keep the VOL - button pressed and press the power button. When Fastboot appears, press VOL +)
Now issue type these commands into the command prompt:
moto-fastboot erase recovery
moto-fastboot flash recovery recovery.img
after it's done, type
moto-fastboot reboot
After that you should be able to boot into TWRP recovery. Cheers!
Click to expand...
Click to collapse
I'm having a problem, I typed in moto-fastboot erase recovery and it says
"erasing 'recovery' ... FAILED <remote: <00180001>>"
and on the phone itself it reads in red text:
"Failed to process command erase:recovery error(0x180001)"
Is there a way to fix this error?
I fixed this, re-flashed the pudding.zip file I found, and I got the recovery to flash.
ksweeley said:
I'm having a problem, I typed in moto-fastboot erase recovery and it says
"erasing 'recovery' ... FAILED <remote: <00180001>>"
and on the phone itself it reads in red text:
"Failed to process command erase:recovery error(0x180001)"
Is there a way to fix this error?
I fixed this, re-flashed the pudding.zip file I found, and I got the recovery to flash.
Click to expand...
Click to collapse
Hi, Could you please share the steps for the resolution? I have read about pudding, also i tried but can not achive. Thanks

[GUIDE][FIX][L9 P760] Fix "Security Error"

Hello, first post and fisrst tutorial here.
So here I want to show you how you can restore completely died LG p760(or his brothers p765/p768/p769) showing nothing or just LG Logo and so well known "Security Error", or boot loop problems.
The goal is to flash stock recovery, x-loader and u-boot and to unlock the bootloader(u-boot), so it can boot Clockworkmod or TWRP recovery.
First of all you'll need a computer(preferably Win7/8), an died phone , some drivers on the computer and fastboot on the phone. Let's start.
I'm not responsible for any damage to your device made during this guide. You can continue at YOUR OWN RISK.
Please READ IT before taking any actions on your phone!
1. Get fastboot on the phone. How? You can see here and here, or search the internet. There is a driver package, install them following the instructions.
2. After you inserted phone, installed drivers, etc. start the fastboot loader script(I prefer Lelus's one, i'ts more option-rich), and select one option for ICS x-loader and u-boot for your phone. Follow the instructions, it may take 2 or 3 tries before the drivers are correctly installed. Start again if the drivers are not correctly installed.
3. Copy the bin folder that is inside the fastboot files folder in C:, press winkey+R, type cmd and press OK.
Then copy everything from v20c_00 folder inside the C:\bin\ folder, it's in attachments in the end.
Here is the time to say that this files are for p760 only, you can find x-loader, u-boot and stock recovery for you model from internet, or here in the forums. I flashed also the boot.img, but don't think it's necessary for the completion of the process. You can also extract the .img files from stock .KDZ rom with this tool here, thanks to user kuma82. In the archive is the tutorial how to make x-loader.img, it's easy.
Let's continue.
Type in:
Code:
cd C:\bin
Check if the phone is in fastboot mode with this command:
Code:
fastboot devices
It must show something like:
Code:
1234567890 fastboot
If not, check that you are in the correct folder(C:\bin\), go and check drivers(no yellow marks or unknown devices), read the instructions again.
Then after you copied the files from archive, or files that you extracted from your stock rom, type in, or copy and paste into the cmd window:
Code:
fastboot erase x-loader
fastboot erase u-boot
fastboot erase boot
fastboot erase recovery
fastboot flash x-loader 0-x-loader.img
fastboot flash u-boot 1-u-boot.img
fastboot flash boot 2-boot.img
fastboot flash recovery 3-recovery.img
You must be fast, because after 30-60 seconds(don't know exactly) of inactivity, the phone will exit the service mode it is in and try to boot. Nothing bad happened, just load fastboot again and repeat the above fastboot commands.
After all the commands are completed without any errors, plug out usb, plug out battery, put the battery in, start the phone. The "Security Error" message MUST be gone. If it's not, probably your recovery is wrong, flash recovery again, if not, try with other recovery. This is working on P760, at least on mine. Here the S/W Update mode must also work like a charm, and you can try with some KDZ updaters, but that's not for this tutorial.
4. Now for step 4 we will need the phone in Recovery Mode. With phone turned off and battery inserted, press VOL_UP+HOME+POWER, when LG logo shows, release POWER and hold other two while the LG Recovery Mode show up. The phone must go straight into recovery, not bootlooping or showing "Security Error". If this happens, probably you recovery or u-boot is wrong.
Now put the usb into the phone and install the drivers from usb_drv_windows folder that is in the fastboot archive.
5. Type into cmd window:
Code:
adb devices
It must show something like:
Code:
1234567890 recovery
If not, you know..
Then we will unlock the bootloader with this command:
Code:
adb oem-unlock
The phone will restart, don't touch nothing. You'll see screen with info on what to do. Guess what..? We must press the VOL_UP button to confirm that we want to UNLOCK the bootloader, so it can load unsigned recoveries like CWM or TWRP and not to show the annoying "Security Error".
6. The phone will go into fastboot mode itself, you must install the drivers, again from the folder in the archive.
Now we'll flash CWM recovery with the help of fastboot. Copy the recovery-clockwork-6.0.2.9-p760 or recovery that is for your model to C:\bin\ folder.
Write:
Code:
fastboot flash recovery recovery-clockwork-6.0.2.9-p760.img
fastboot reboot
The phone will reboot, and hopefully you will not see "Security Error" error message. Now try to boot into recovery - pull the battery out, the usb cable, put battery in, and hold down VOL_UP+HOME+POWER, you know..
7. If everything is successfull you phone will load the recovery and you will be able to load nandroid backup or stock update.zip or CyanogenMod on your phone. Don't forget to wipe cache/data and dalvik's cache. From here you can backup your data or do whatever you want.
If your phone is not totally bricked, and if you are lucky enough you can continue from step 4(if you have recovery in your phone and it's still loading).
DOWNLOAD
I want to attach them here to the forum, but I can't for now, so here is Google Drive folder.
https://drive.google.com/folderview?id=0B9wMsz4X38L2aE5VdGFZcWczcEk

My phone is breck (bootloop but can access fastboot)

So I tried to change the ROM of my phone because the vendor's one had malware but it was worse, my phone is stuck at boot screen and can't do anything with it.
First I tried to install a ROM with TWRP, it installed but it was just a black screen, you could only see the battery status.
Then I tried to install the global ROM that is on the official xiaomi site but it didn't work and it locked my phone.
Now I can't use TWRP, please help me. I am desperate.
Miflash isn't detecting the phone, but the PC does cause it listed under Android Phone->Android ADB Interface on device manager.
1st:
http://en.miui.com/thread-277276-1-1.html
Once you rebooted it into download mode, use this:
http://en.miui.com/thread-254606-1-1.html
My PC is no longer detecting the phone, only detects Qualcomm 9008
Ok, it is working till the miflash step it says "receiving hello packet" in red
You will need to flash a ROM using fastboot.
First install fastboot on your pc: http://www.theandroidsoul.com/how-to...t-setup-75174/
Second Download a flashable Rom: http://en.miui.com/a-234.html (make sure to choose the right one)
Unzip the rom and navigate to the 'images' folder
Put the phone into Fastboot mode (volume down and power button together until fastboot appears)
Connect the phone to pc with USB
Shift Right click on a blank space in the folder and choose 'open command window here'
run the following commands. one at a time
fastboot devices
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash system system.img
fastboot reboot
Feriol said:
You will need to flash a ROM using fastboot.
First install fastboot on your pc: http://www.theandroidsoul.com/how-to...t-setup-75174/
Second Download a flashable Rom: http://en.miui.com/a-234.html (make sure to choose the right one)
Unzip the rom and navigate to the 'images' folder
Put the phone into Fastboot mode (volume down and power button together until fastboot appears)
Connect the phone to pc with USB
Shift Right click on a blank space in the folder and choose 'open command window here'
run the following commands. one at a time
fastboot devices
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash system system.img
fastboot reboot
Click to expand...
Click to collapse
After that I use miflash?
Failed after second command
Hello guys, i have a redmi 3s china version, so i try to find global version, i installed all driver and try to use with miflash that:
land_global_images_V7.5.9.0.MALMIDE_20160805.0000.29_6.0_global_470b843c10.tgz
(if i use xiaomiflash i get error) meanwhile with miflash i see device and i flash it but something wrong , i restart the phone i stuck on the logo MI
I try also to download land_global_images_V7.5.4.0.MALMIDE_20160523.0000.23_6.0_global_dc5d804271.tar
seems is the right firmware
So i try again to flash in fastboot mode with miflash but i get error like i have no permission.
So i extract the whole firmware on a dir where there is ADB files , same problem...the device is locked
I try online the procedure with sms to unlock the bootloader ( i think is the only way, right?) or there are any other solution?
Maybe there is a stock rom to replace the original rom and put the global rom in another way?
Thanks in advanced
Bye
Benz83 said:
Hello guys, i have a redmi 3s china version, so i try to find global version, i installed all driver and try to use with miflash that:
land_global_images_V7.5.9.0.MALMIDE_20160805.0000.29_6.0_global_470b843c10.tgz
(if i use xiaomiflash i get error) meanwhile with miflash i see device and i flash it but something wrong , i restart the phone i stuck on the logo MI
I try also to download land_global_images_V7.5.4.0.MALMIDE_20160523.0000.23_6.0_global_dc5d804271.tar
seems is the right firmware
So i try again to flash in fastboot mode with miflash but i get error like i have no permission.
So i extract the whole firmware on a dir where there is ADB files , same problem...the d: evice is locked
I try online the procedure with sms to unlock the bootloader ( i think is the only way, right?) or there are any other solution?
Maybe there is a stock rom to replace the original rom and put the global rom in another way?
Thanks in advanced
Bye
Click to expand...
Click to collapse
Try this: https://www.reddit.com/r/Xiaomi/wiki/roms/flashofficial
or this: http://en.miui.com/thread-290959-1-1.html
andrespm said:
After that I use miflash?
Failed after second command
Click to expand...
Click to collapse
After you run 'fastboot devices' is anything listed? Usually a string of numbers. If not then the computer isn't seeing your device.
Try rebooting the computer, and trying different USB leads and ports if possible and try again.
Using this method you don't have to use MiFlash, and is for when MiFlash doesn't work.
Once your phone is working again you can try again to install another ROM using traditional methods.
andrespm said:
Try this: https://www.reddit.com/r/Xiaomi/wiki/roms/flashofficial
or this: http://en.miui.com/thread-290959-1-1.html
Click to expand...
Click to collapse
Hello, i try the steps you give for EDL, after it the screen is not black but i see again the logo MI, i can go on fastboot mode but if i try to flash anykind of rom i get error "FAILED: remote: Critical partition flashing is not allowed)
other solution?
I think the only way is the unlock bootloader, but sincerally i dont know how it work. i did the steps online and the sim is on another device not xiaomi. I will get a sms from xiaomi with some kind of code? and after it how can use for bootloader?
There is another solution? I thinking....but why i cant use the original rom ?? always about the bootloader lock?
___
now i see another post ...use both volume to enter in download mode and on the miflash i saw port com 49, load a rom and start to flash it ...but....another error : The system can not find the file specified (0x80070002: Max buffer sector is 256)
___
This Morning i received the unlock code. When i use the tool stuck on 50℅

Oneplus X brick

Hello guys,
i have a bricked rooted oneplus x
I had issues with the rooted rom so i flashed the newest stock rom via twrp
The phone boots up and showed the usual otimizing apps message. After the proccess is done it just the usual "let me helpt set up your phone page" and then restarts
I cant acces twrp anymore and when i try to acces the stock recovery it just shows a oneplus logo
I do have access to fastboot though (i hope that leaves some hope)
I have tried the MegaUnbrickGuide here in the forum but i wasn't able to install the drivers i need for that method
One more thing whenever i try
Code:
fastboot boot recovery.img
i get the "remote dtb not found" message
Does that have to do with developer options not being unlocked?
Any ideas on how to just get some form of working os installed on the device
(i dont care wheter rooted or not at this point have been trying stuff for hours now)
regards
Jan
First download Minimal ADB and Fastboot and install it.
Go into fastboot mode.
1. Re-unlock your bootloader using the command - fastboot oem unlock
2. After doing that, download the latest version of TWRP(which at the time of writing this is 3.1.0) and rename it to 'recovery.img'
3. Open a command window in the place you have downloaded the recovery by pressing the shift key and right clicking and then choosing the option Open Command WIndow Here... Flash the recovery using the command fastboot flash recovery recovery.img
4. Boot into it using the command fastboot boot recovery.img
5. If it still gives 'remote dtb not found' then follow this guide: https://forum.xda-developers.com/oneplus-x/help/opx-remote-dtb-solution-t3480274
6. If it boots into recovery, your phone is now fine and go ahead and flash whatever ROM you want.
Cheers!

Categories

Resources