faild to install recovery tryed many time - GT540 Optimus General

hello to all friends
i cant install recovery in my gt540 i flashed with fastboot rom also
when power on with holding camera+power it gose in one dark screen and and i installed the drivers from device manager by updating atumaticaly
but now i have problem in cmd how to install recovery in phon any have
pic from cmd how to writh recovery plz help

have you installed google SDK tools in your computer? download them from here then unzip and put the folder into your c:\program files\android-sdk, then install the fastboot drivers on your computer, download them from here, once you have done this, take your recovery.img and paste it into the android-sdk folder you created early in your c:\. put your phone into fastboot (that is if you installed a rom with fastboot already), to go to fastboot do this Camera + Power, you will get a black screen, thats normal, plug your phone into your computer, and wait until it gets recognized by your computer.
Open CMD as administrator.
input the following line.
cd c:\program files\android-sdk
(remember that you unzip the sdk tools and moved the android-sdk folder to your program files in your C:\)
after that, you will be moved to the carpet \android-sdk in cmd
then input the following line.
fastboot flash recovery recovery.img (or the name of your recovery image.)
once you do that, you will flash recovery into your phone.
if it doesnt work, follow this tutorial in here.
Hope it helps!

Or use the tool by junwei178 (the normal version);

Related

Need help with ADB on a mac

I'm trying to install baconbits on my G2 and I have a mac. I cannot seem to get the recovery image to work through fastboot. Help?
I can access the phone through the terminal but once I command it to reboot to the bootloader I can't get it to find the img file
There's a fastboot binary available for download from this page: http://developer.htc.com/adp.html
I have the binary in my sdk's tools folder but I still can't figure it out. Where/how do input the command to boot the img file?
pak256 said:
I have the binary in my sdk's tools folder but I still can't figure it out. Where/how do input the command to boot the img file?
Click to expand...
Click to collapse
You can flash files from recovery if they are on the SD card. You can either adb push while in recovery, or mount USB storage and tranfer the file. Or just transfer it via USB while the phone is on (big, green android screen)
I'm not sure how to install baconbits, but I think you need fastboot to flash the .img file. Recovery flashes .zip files and fastboot flashes .img files. You can put fastboot-mac in the same folder as adb... then fastboot flash recovery your_recovery.img. You really don't need adb (for this) since you can boot into fastboot on the phone by restarting while holding down the trackpad button.
These might be the droids you are looking for...
Code:
adb (read the instructions)
adb devices (you'll see your phone if it's plugged in, turned on, and in the proper mode)
adb reboot bootloader (white screen with androids on skateboards)
fastboot-mac (more reading...)
fastboot-mac devices (your phone again)
fastboot flash recovery your_recovery.img
fastboot reboot-bootloader
For some reason, I had a little trouble flashing my recovery- sometimes it would hang and wouldn't flash, sometimes it would only fastboot boot. So if you run into trouble, there might be other problems.
While you are at it, you might as well save yourself the trouble and either add the adb and flashboot folders into your path, or put the binaries somewhere in your path. I also renamed fastboot-mac to fastboot for simplicity.
Going to try that when I get out of class but I think you helped me realize what I was doing wrong. Thanks and will let you know if it works
Sent from my T-Mobile G2 using XDA App
Okay I could get the fastboot prompts to work but when I try to flash the recovery it tells me "g2recovery.img" could not be loaded
okay, used clockwork and got it to work. yay!

[HOW TO] Unbrick Yu Yureka (easiest method)

Hello guys!
Is your Yu Yureka stuck at the YU boot logo?
Is it not booting any further?
Here you can find the perfect solution to your problem!
Disclaimer
Do it on your own risk
Lets unbrick your device
First of all you will need to download the following files: (remove spaces and the links will work)
1. Minimal ADB Fastboot tool: drive. google. com/file/d/0ByxhrvEhhF3FSFU4SnNFR0hSYmc/view
2. Latest release Cyanogen Recovery and CyanogenMod build (ROM): download. cyanogenmod. org/?device=tomato
3. TWRP Recovery: drive. google. com/file/d/0ByxhrvEhhF3Fc0d6S0hMRTNQSW8/view
Now install the Minimal ADB and Fastboot tool.
After the program is installed correctly, open C:\Program Files\Minimal ADB and Fastboot in your computer.
Copy the CyanogenMod build(ROM) zip file in an external SD card and insert the SD card in your phone.
Now rename the Cyanogen recovery image your downloaded before to recovery.img and then copy it in the Minimal ADB and Fastboot folder. Do copy the twrp.img also in the same folder.
In the folder, hold shift and right click anywhere in the empty space, there will be an option, "open command window here", click that. This is will open cmd prompt window.
Before continuing any further, make sure your device is charged at least 50%.
Now take the battery out from your Yu Yureka and connect it to the computer with the help of micro USB cable.
Yes, connect it without the battery, make sure its connected properly.
after connecting the phone, type this command in the cmd prompt:
fastboot flash recovery recovery.img
If your device is detected and everything will be working,then this will flash the stock cyanogen recovery to your phone.
(Note:You must have renamed it and copied it to the folder as mentioned above )
Now remove the cable from your device, insert the battery, then hold volume up, volume down as well as power button simultaneously for a few seconds. This will take you to the recovery mode.
Format all your data and cache with help of the recovery option.
Now attach the cable again and type this commandin the command prompt:
adb fastboot bootloader
Wait till the device boots into the fastboot mode, thn type this command in the command prompt:
fastboot boot twrp.img
([OPTIONAL] Note: if you want to flash the TWRP recovery permanently on your phone, then type this command instead:
fastboot flash recovery twrp.img
and then manually reboot into recovery mode)
Now you will boot into TWRP recovery. Go to "wipe" option, followed by "advance" option then mark all option you see except sdcard, and wipe it all. This will delete all your data.
Now go to "install" option in the main recovery page. Direct to External SD card and find the CyanogenMod build you copied earlier to it. Then install it.
This will take time. After the installation will complete, TWRP will display the message "Successful".
Then reboot your phone. This will take at most 45 mins to install. So, kepp patients and wait till it boot completely.
Here you go!
your Yu Yureka is unbricked now.
I have tried this on my own Yureka and it works fine
Thank you all! :good:
-------------------------------------------------------------------------------
By Abhishek Shiyal
Twitter: ShiyalAbhi
Instagram: abhi_shiyal
friend i cant understand what said in above line can u describe it step wise i am in serious problem i have yureka plus and i ugraded it cm 13 marshmallow after that when i flash gapps it stuck in yu logo and till then i cant find any solution of it i watching you tube videos but that want work in my cm13 marshmallow updated version phone because these all videos are for cm 12 lolipop
AbhiShiyal said:
Hello guys!
Is your Yu Yureka stuck at the YU boot logo?
Is it not booting any further?
Here you can find the perfect solution to your problem!
Disclaimer
Do it on your own risk
Lets unbrick your device
First of all you will need to download the following files: (remove spaces and the links will work)
1. Minimal ADB Fastboot tool: drive. google. com/file/d/0ByxhrvEhhF3FSFU4SnNFR0hSYmc/view
2. Latest release Cyanogen Recovery and CyanogenMod build (ROM): download. cyanogenmod. org/?device=tomato
3. TWRP Recovery: drive. google. com/file/d/0ByxhrvEhhF3Fc0d6S0hMRTNQSW8/view
Now install the Minimal ADB and Fastboot tool.
After the program is installed correctly, open C:\Program Files\Minimal ADB and Fastboot in your computer.
Copy the CyanogenMod build(ROM) zip file in an external SD card and insert the SD card in your phone.
Now rename the Cyanogen recovery image your downloaded before to recovery.img and then copy it in the Minimal ADB and Fastboot folder. Do copy the twrp.img also in the same folder.
In the folder, hold shift and right click anywhere in the empty space, there will be an option, "open command window here", click that. This is will open cmd prompt window.
Before continuing any further, make sure your device is charged at least 50%.
Now take the battery out from your Yu Yureka and connect it to the computer with the help of micro USB cable.
Yes, connect it without the battery, make sure its connected properly.
after connecting the phone, type this command in the cmd prompt:
fastboot flash recovery recovery.img
If your device is detected and everything will be working,then this will flash the stock cyanogen recovery to your phone.
(Note:You must have renamed it and copied it to the folder as mentioned above )
Now remove the cable from your device, insert the battery, then hold volume up, volume down as well as power button simultaneously for a few seconds. This will take you to the recovery mode.
Format all your data and cache with help of the recovery option.
Now attach the cable again and type this commandin the command prompt:
adb fastboot bootloader
Wait till the device boots into the fastboot mode, thn type this command in the command prompt:
fastboot boot twrp.img
([OPTIONAL] Note: if you want to flash the TWRP recovery permanently on your phone, then type this command instead:
fastboot flash recovery twrp.img
and then manually reboot into recovery mode)
Now you will boot into TWRP recovery. Go to "wipe" option, followed by "advance" option then mark all option you see except sdcard, and wipe it all. This will delete all your data.
Now go to "install" option in the main recovery page. Direct to External SD card and find the CyanogenMod build you copied earlier to it. Then install it.
This will take time. After the installation will complete, TWRP will display the message "Successful".
Then reboot your phone. This will take at most 45 mins to install. So, kepp patients and wait till it boot completely.
Here you go!
your Yu Yureka is unbricked now.
I have tried this on my own Yureka and it works fine
Thank you all! :good:
-------------------------------------------------------------------------------
By Abhishek Shiyal
Twitter: ShiyalAbhi
Instagram: abhi_shiyal
Click to expand...
Click to collapse
how can u connect the device in fastboot mode without the battery????

N7 Flashing Problem

Hi all im new to this forum. I am having a problem with my N7 im trying to unbrick it with nexus tool kit but at the flashing stage its says FAILED write failed unknown error for all partitions and when I try to flash a rom in twrp it hangs on patching system unconditionally. Has any one come across this problem before.
Update I have no software on my device without a way to flash it all tools including fastboot via comand prompt can't see it in bootloader mode please I really need help
gavster26 said:
Update I have no software on my device without a way to flash it all tools including fastboot via comand prompt can't see it in bootloader mode please I really need help
Click to expand...
Click to collapse
so you can boot to recovery or bootloader?
try nexus root toolkit - there is an option to unbrick. Wipe everything and try to unbrick.
how windows detects your N7? maybe try different usb cable - if not genuine, then cut a lil bit of plastic, so it goes all the way to the usb port
give some photos of what errors do you have in recovery
yaro666 said:
so you can boot to recovery or bootloader?
try nexus root toolkit - there is an option to unbrick. Wipe everything and try to unbrick.
how windows detects your N7? maybe try different usb cable - if not genuine, then cut a lil bit of plastic, so it goes all the way to the usb port
give some photos of what errors do you have in recovery
Click to expand...
Click to collapse
I can boot to bootloader and thats it that tool can't write to any partitions thats what I tried in the first place it erased the partitions but then could not write to them so im left with no system no kernel or recovery
Download drivers from here
Open cmd as admin and type fastboot devices, it should detect your n7 with some numbers and letters.
If you have grouper (wifi) n7 then download recovery here
Go to bootloader, connect n7 with pc and type:
fastboot flash recovery twrp.img
Where twrp.img is the name of recovery file you downloaded.
Then type: fastboot reboot
In cmd you probably have to go to proper folder just use cd.. to go up a folder and cd name of the folder to go to proper folder. I use C:\adb as drivers install right there
yaro666 said:
Download drivers from here
Open cmd as admin and type fastboot devices, it should detect your n7 with some numbers and letters.
If you have grouper (wifi) n7 then download recovery here
Go to bootloader, connect n7 with pc and type:
fastboot flash recovery twrp.img
Where twrp.img is the name of recovery file you downloaded.
Then type: fastboot reboot
In cmd you probably have to go to proper folder just use cd.. to go up a folder and cd name of the folder to go to proper folder. I use C:\adb as drivers install right there
Click to expand...
Click to collapse
Ok thanks I've got twrp to boot and I fastbooted aosp mm system and kernel but it won't boot up and twrp cant mount storage data or cache where to go from here it wont fastboot any stock img

How i can install Oxygen Os from adb fastboot on OnePlus 5 ?

Hi , on my Oneplus 5 i flash custom rom (twrp) and root my device , now i want delete all , i want return my OnePlus 5 at the same when i buy .
On the OnePlus one , i download a cyanogen fasboot rom , and in fastboot mode i put a command for erease all and install new recovery new system etc .
But on OnePlus 5 i not find this possibility , I can do this ? I can erease all and install a Oxygen from fastboot ? where I can find the fastboot rom and the command to put?
Solution
I solved my problem with this step.
1) Dowload OxygenOS rom from official site OnePlus http://downloads.oneplus.net/
3) Adb driver installed
4) Put the file of the oxygenOs in adb folder , you can see this folder in C:
5) Start the smartphone in recovery mode , now click install from adb
6) From windows positioning on C folder , and start new session of prompt from adb folder ( you can do this, click shift on keyboard and while right click on adb folder , and you can see the option start new prompt command from folder)
7) from the prompt you can put the command "adb devices" , for be sure the computer see your devices.
8) Now you can install your rom , put the command "adb sideload filename.zip"
Flashing stock recovery
1) Download stock Recovery OnePlus from here http://oxygenos.oneplus.net.s3.amazonaws.com/OP5_recovery.img or else you can see on the download site of oneplus
2) Copy the recovery in the adb folder
3) Start a new prompt command from the folder adb
4) Put the smartphone in fastboot mode (power off the smartphone , and click volume up + power)
5) Put the command "fastboot device" for be sure computer can see the smartphone
6) Put the command "fastboot flash recovery name-recovery.img"
I hope I can help other persons with the same problem
Flash stock recovery and install the latest full zip firmware.
Sent from my ONEPLUS A5000 using Tapatalk
omrij said:
Flash stock recovery and install the latest full zip firmware.
Sent from my ONEPLUS A5000 using Tapatalk
Click to expand...
Click to collapse
I install a stock recovery from fastboot , but when i prove to install a new incremental Ota of Oxygen Os this fails , so I wanted to delete everything and by fastboot install all from scratch.
simon3r said:
Hi , on my Oneplus 5 i flash custom rom (twrp) and root my device , now i want delete all , i want to return my OnePlus 5 at the same when i buy .
On the OnePlus one , i download a cyanogen fasboot rom , and in fastboot mode i put a command for erease all and install new recovery new system etc .
but on OnePlus 5 i not find this possibility , i can do this ? i can erease all and install a Oxygen from fastboot ? where i can find the fastboot rom , and the command to put?
Click to expand...
Click to collapse
Doesn't work for me the original recovery won't recognize adb device so here i have done this:
1) Flash a custom rom Oos based via twrp (i've done this with freedomos) DO NOT REBOOT phone after flash
2) Flash original OxygenOs firmware provided by oneplus site DO NOT REBOOT phone, not yet
3) Put original recovery in your sd card from your pc via twrp (if you don't already have it)
4) Install original recovery from twrp
5) After that, reboot to recovery and you should have the op original one, perform a factory reset via recovery
6) try starting device, if everything works you can finally re-lock bootloader (only if you want)
Solution
Thank you all for reply , i solved my problem with this step.
1) Dowload OxygenOS rom from official site OnePlus http://downloads.oneplus.net/
3) Adb driver installed
4) Put the file of the oxygenOs in adb folder , you can see this folder in C:
5) Start the smartphone in recovery mode , now click install from adb
6) From windows positioning on C folder , and start new session of prompt from adb folder ( you can do this, click shift on keyboard and while right click on adb folder , and you can see the option start new prompt command from folder)
7) from the prompt you can put the command "adb devices" , for be sure the computer see your devices.
8) Now you can install your rom , put the command "adb sideload filename.zip"
Flashing stock recovery
1) Download stock Recovery OnePlus from here http://oxygenos.oneplus.net.s3.amazonaws.com/OP5_recovery.img or else you can see on the download site of oneplus
2) Copy the recovery in the adb folder
3) Start a new prompt command from the folder adb
4) Put the smartphone in fastboot mode (power off the smartphone , and click volume up + power)
5) Put the command "fastboot device" for be sure computer can see the smartphone
6) Put the command fastboot "flash recovery name-recovery.img"
I hope i can help other person with my problem
simon3r said:
Thank you all for reply , i solved my problem with this step.
1) Dowload OxygenOS rom from official site OnePlus http://downloads.oneplus.net/
3) Adb driver installed
4) Put the file of the oxygenOs in adb folder , you can see this folder in C:
5) Start the smartphone in recovery mode , now click install from adb
6) From windows positioning on C folder , and start new session of prompt from adb folder ( you can do this, click shift on keyboard and while right click on adb folder , and you can see the option start new prompt command from folder)
7) from the prompt you can put the command "adb devices" , for be sure the computer see your devices.
8) Now you can install your rom , put the command "adb sideload filename.zip"
Flashing stock recovery
1) Download stock Recovery OnePlus from here http://oxygenos.oneplus.net.s3.amazonaws.com/OP5_recovery.img or else you can see on the download site of oneplus
2) Copy the recovery in the adb folder
3) Start a new prompt command from the folder adb
4) Put the smartphone in fastboot mode (power off the smartphone , and click volume up + power)
5) Put the command "fastboot device" for be sure computer can see the smartphone
6) Put the command fastboot "flash recovery name-recovery.img"
I hope i can help other person with my problem
Click to expand...
Click to collapse
Yes this is the "defualt" method.. Mine was in case your PC won't recognize adb in stock recovery, because it happened at too many people for what i've seen on oneplus 3/3t/5
simon3r said:
Thank you all for reply , i solved my problem with this step.
1) Dowload OxygenOS rom from official site OnePlus http://downloads.oneplus.net/
3) Adb driver installed
4) Put the file of the oxygenOs in adb folder , you can see this folder in C:
5) Start the smartphone in recovery mode , now click install from adb
6) From windows positioning on C folder , and start new session of prompt from adb folder ( you can do this, click shift on keyboard and while right click on adb folder , and you can see the option start new prompt command from folder)
7) from the prompt you can put the command "adb devices" , for be sure the computer see your devices.
8) Now you can install your rom , put the command "adb sideload filename.zip"
Flashing stock recovery
1) Download stock Recovery OnePlus from here http://oxygenos.oneplus.net.s3.amazonaws.com/OP5_recovery.img or else you can see on the download site of oneplus
2) Copy the recovery in the adb folder
3) Start a new prompt command from the folder adb
4) Put the smartphone in fastboot mode (power off the smartphone , and click volume up + power)
5) Put the command "fastboot device" for be sure computer can see the smartphone
6) Put the command fastboot "flash recovery name-recovery.img"
I hope i can help other person with my problem
Click to expand...
Click to collapse
This definitely will help me recover my semi-bricked device, with twrp not accepting modifications or even read/Write internal memory, flashed oreo rom it wiped out my internal memory and now stucked completely to that rom. Hopefully i will get back to factory os with this method Thanks in advance bro helpful people like you keeping this community alive!
simon3r said:
Thank you all for reply , i solved my problem with this step.
1) Dowload OxygenOS rom from official site OnePlus http://downloads.oneplus.net/
3) Adb driver installed
4) Put the file of the oxygenOs in adb folder , you can see this folder in C:
5) Start the smartphone in recovery mode , now click install from adb
6) From windows positioning on C folder , and start new session of prompt from adb folder ( you can do this, click shift on keyboard and while right click on adb folder , and you can see the option start new prompt command from folder)
7) from the prompt you can put the command "adb devices" , for be sure the computer see your devices.
8) Now you can install your rom , put the command "adb sideload filename.zip"
Flashing stock recovery
1) Download stock Recovery OnePlus from here http://oxygenos.oneplus.net.s3.amazonaws.com/OP5_recovery.img or else you can see on the download site of oneplus
2) Copy the recovery in the adb folder
3) Start a new prompt command from the folder adb
4) Put the smartphone in fastboot mode (power off the smartphone , and click volume up + power)
5) Put the command "fastboot device" for be sure computer can see the smartphone
6) Put the command fastboot "flash recovery name-recovery.img"
I hope i can help other person with my problem
Click to expand...
Click to collapse
Awesome, works
Thank you for valuable guidance . I found this explanation only You and another perso
Thank you for valuable guidance . I found this explanation only You and another person how to get back with oreo on runoff
Worked Perfectly for me!! really helphul
:laugh::laugh::good:
simon3r said:
Thank you all for reply , i solved my problem with this step.
1) Dowload OxygenOS rom from official site OnePlus http://downloads.oneplus.net/
3) Adb driver installed
4) Put the file of the oxygenOs in adb folder , you can see this folder in C:
5) Start the smartphone in recovery mode , now click install from adb
6) From windows positioning on C folder , and start new session of prompt from adb folder ( you can do this, click shift on keyboard and while right click on adb folder , and you can see the option start new prompt command from folder)
7) from the prompt you can put the command "adb devices" , for be sure the computer see your devices.
8) Now you can install your rom , put the command "adb sideload filename.zip"
Flashing stock recovery
1) Download stock Recovery OnePlus from here http://oxygenos.oneplus.net.s3.amazonaws.com/OP5_recovery.img or else you can see on the download site of oneplus
2) Copy the recovery in the adb folder
3) Start a new prompt command from the folder adb
4) Put the smartphone in fastboot mode (power off the smartphone , and click volume up + power)
5) Put the command "fastboot device" for be sure computer can see the smartphone
6) Put the command fastboot "flash recovery name-recovery.img"
I hope i can help other person with my problem
Click to expand...
Click to collapse
Help! I tried to do the sideload but in my powershell window says "loading: 'update.zip' *cannot read 'update.zip'* " I don't know what's the problem, my computer can detect my phone with "adb devices" and "fasboot devices" so that's not the problem
Reason for that is adb on Windows can't read large files as it's not Large Address Aware, I'll get the article I use that has a tool that enables that when I get home, it's basically a small program you need to run that enables that functionality.
Fosko Stock said:
Help! I tried to do the sideload but in my powershell window says "loading: 'update.zip' *cannot read 'update.zip'* " I don't know what's the problem, my computer can detect my phone with "adb devices" and "fasboot devices" so that's not the problem
Click to expand...
Click to collapse
use This Software to solve Large address Aware problem
w.techpowerup.com/forums/threads/large-address-aware.112556
it worked for me
Please Select the adb Software correctly as it got me Confused I have installed 2-3 Of them
love you

no twrp even after command prompt confirmation..pls help

hello everyone..new on the forum..its my first post...
so, MODs pls delete or guide where to post this question although i didnt find any relevant thread...
i just bought a new asus m1 pro and have been trying to root it with majisk from 2 days but no luck..
here is what i did...
first i unlocked bootloader from asus website's apk..link is https://www.asus.com/in/Phone/ZenFone-Max-Pro-ZB601KL/HelpDesk_Download/
on this link 740KB bootloader unlocker
then instead of installing any drivers i installed asus pclink available on pclink.asus.com as i assumed it would contain drivers..although haven't started pclink program just completed installation..
then from this link https://www.xda-developers.com/install-adb-windows-macos-linux/ under microsot windows adb setup heading 1st step gives u zip containing adb and fastboot drivers so extracted it and ran cmd from extracted folder and got twrp image file from https://forum.xda-developers.com/asus-zenfone-max-pro-m1/development/recovery-twrp-3-2-1-x-t3787134 got the twrp-3.2.2-1 20180727 57MB image file....
then ran cmd from extracted folder after connecting phone typed adb devices and device was there (gonna attach screenshots of cmd) and then adb reboot bootloader then fastboot flash recovery twrp.img (i copied twrp file to this folder and renamed it as twrp.img) and then fastboot reboot all this went fine in cmd according to me but i haven't used cmd before so i know nothing about it...
and yes after adb reobot bootloader the phone did switch off and restarted and phone screen displayed fastboot mode and after fastboot reboot phone did restart...
cmd screenshot..
https://imgur.com/anxoFAB
so even after all this i booted to recovery (vol down+lock) but i find that twrp is not there...its still the phone's recovery software...
what i can't seem to understand is after cmd showing everything it should there should be rare possibility of this happening..right?or does it happen more often?
if i would have got stuck in some other manner i would have searched web but this after a bit of searching seems rare...
experts please help....much needed...

Categories

Resources