HELP i cannot istall CWM recovery!! - HTC One X

Hello friends,
I had unlock the bootloader and root my one X.The next step is to install the CWM recovery but i cant and i need your help!!
I tried this http://forum.xda-developers.com/showthread.php?t=1594819 with exactly this steps http://www.youtube.com/watch?v=80lMHUgxwww&feature=relmfu but is says all the time 'error cannot install recovery.img'
I am not doing nothing wrong!pleaze help me!!
(i am sorry wrong thread....my mistake)

Try and reboot your computer and phone. It sometimes gives an error. Rebooting can help.

i had reboot and try it again and again 1000 times!!

Try and redownload the recovery.img.
Can you give the commands you enter?

http://forum.xda-developers.com/att...hp?attachmentid=1104242&stc=1&d=1338750100100http://forum.xda-developers.com/attachment.php?attachmentid=1104241&stc=1&d=1338750100

paris07121978 said:
http://forum.xda-developers.com/att...hp?attachmentid=1104242&stc=1&d=1338750100100http://forum.xda-developers.com/attachment.php?attachmentid=1104241&stc=1&d=1338750100
Click to expand...
Click to collapse
Probably you didnt put "recovery.img" into "c:\fastboot" folder. Copy "recovery.img" into "c:\fastboot" and rerun flash recovery command

Serge.C said:
Probably you didnt put "recovery.img" into "c:\fastboot" folder. Copy "recovery.img" into "c:\fastboot" and rerun flash recovery command
Click to expand...
Click to collapse
I have done many times ... what else can I do laths

paris07121978 said:
I have done many times ... what else can I do laths
Click to expand...
Click to collapse
You dont navigate the CMD prompt to the right place ... or you dont have installed android drivers.

Ive just rooted my one x. When i downloaded CWM my file was not called recovery.img. Are you sure youve downloaded the correct file. I had to type: fastboot flash recovery recovery-clockwork-touch-5.8.3.1-endeavoru.img
Re-download it from: http://download.clockworkmod.com/recoveries/recovery-clockwork-touch-5.8.3.1-endeavoru.img
Stick that file in your fastboot folder and try again.

you obviously have the drivers installed as you unlocked the bootloader, so if the command is not working for you and you're typing recovery.img, is your .img file ACTUALLY CALLED 'recovery.img' you need to type the exact filename
from your screenshot you are typing literally 'recovery.img' yet I BET YOU THE FILE YOU DOWNLOADED IS NOT NAMED RECOVERY.IMG
OT: We really need a basic technical literacy test for people to pass before they flash lol
99% of these issues are fundamental errors like not even having the android usb driver installed, typing in the wrong .img name (because they copied and pasted a command without understanding what its really doing), not having the .img file in the same folder, rushing and doing fastboot flash boot recovery.img or something similar.

Also I wonder why the size of that recovery.img is 5797 KB when the right recovery is 5760 KB.
So I suggest to download again the recovery, maybe use the one from RichardTrip : http://xda.richardtrip.org/HTC/reco...kwork-touch-5.8.3.1-endeavoru_fixedadbusb.img

http://forum.xda-developers.com/attachment.php?attachmentid=1108250&stc=1&d=1338901907
thank you all you .. Eventually the problem was the writing of keyboard Thanks again

Related

PLEASE HELP!!! Have got myself without a boot img stuck in recovery

Have completed rumrunner root for htc one.
Have installed twrp through adb using command prompt.
Then when trying to reboot system it boots up in recovery.
Need help to find out how to get back on my phone.
Have found similar sites with information but not clear enough for me to understand
I'm able to access twrp so i would assume it's a mount of the sd card but i am not seeing that option anywhere
twrp v 2.6.3.0
I know it's late guys thanks for your help!
if you ever get this issue please understand that there are websites out there that are making you use "fastboot flash boot blah.img" which is making you flash recovery on top of your boot img. please understand that you have overwritten something that is necessary for your phone to work so just open a rom you are preparing to flash and unzip. Copy the boot.img from the unzipped folder and move it to your fastboot folder where your going to open command prompt.
after you open command prompt in the same folder as your adb/fastboot/ and such using shift right click
you then type in the command prompt "fastboot flash boot boot.img" that should flash the boot image back and you should be able to turn on your phone.... wow that took a lot of stress but figured it out in the end. JUST HAD TO GET A GRIP! now happy flashing thanks!
kiit408 said:
if you ever get this issue please understand that there are websites out there that are making you use "fastboot flash boot blah.img" which is making you flash recovery on top of your boot img.
Click to expand...
Click to collapse
Either the tutorial was completely written wrong, or you read them wrong. There's no way of telling which happened, but the point is to be very careful with fastboot.
The command "fastboot flash boot file.img" doesn't flash recovery in your boot partition unless you mis-labeled your .img file and flashed the wrong file in the wrong place.
Most people modding their phones are going to be using fasboot to flash to boot, recovery, system, or bootloader. It's important to understand all of the places that fastboot can flash before you start pushing in .img files. Understanding fastboot commands can also help you possibly identify if someone made a typo in their guides.
Want to put in recovery? "fastboot flash recovery recovery.img". Want to put in a new kernel? "fastboot flash boot boot.img", and so on. Ensure that you've got files that are properly named and you won't ever have to worry about flashing the wrong thing in the wrong place.
kiit408 said:
if you ever get this issue please understand that there are websites out there that are making you use "fastboot flash boot blah.img" which is making you flash recovery on top of your boot img. please understand that you have overwritten something that is necessary for your phone to work so just open a rom you are preparing to flash and unzip. Copy the boot.img from the unzipped folder and move it to your fastboot folder where your going to open command prompt.
after you open command prompt in the same folder as your adb/fastboot/ and such using shift right click
you then type in the command prompt "fastboot flash boot boot.img" that should flash the boot image back and you should be able to turn on your phone.... wow that took a lot of stress but figured it out in the end. JUST HAD TO GET A GRIP! now happy flashing thanks!
Click to expand...
Click to collapse
Jjust understand what you're flashing, you can't 100% trust a tutorial..
If you do the command, fastboot flash boot boot.img, you BEST DAMN be sure that is a kernel/boot.img you are flashing and make sure your working is right, if you fastboot flash a boot.img to say recovery.img, you are screwed.
make sure the file is right my MD5, also make sure the tutorial is good, messing with ANYTHING in fastboot is dangerous.

I have unlocked my device but can't boot into TWRP

I can't boot into TWRP.
I have unlocked my device, now I have this problem:
My computer shows me the name of the file as twrp.img.mid5, and when I place it in my phone and in my computer and cmd the folder, it says "no error" or "can't load" or "no file or directory" etc. And if I remove the "mid5" it becomes a legit image file but when I try to boot into TWRP it says "booting.. Failed (dtk something)".
Also, I can only cmd the folder on my pc but not on my storage, there's no such option to do that on my storage.
I'm clueless, what should I do? Thanks.
MaorSwan said:
I can't boot into TWRP.
I have unlocked my device, now I have this problem:
My computer shows me the name of the file as twrp.img.mid5, and when I place it in my phone and in my computer and cmd the folder, it says "no error" or "can't load" or "no file or directory" etc. And if I remove the "mid5" it becomes a legit image file but when I try to boot into TWRP it says "booting.. Failed (dtk something)".
Also, I can only cmd the folder on my pc but not on my storage, there's no such option to do that on my storage.
I'm clueless, what should I do? Thanks.
Click to expand...
Click to collapse
twrp.img.mid5?
It's seams that you only use the md5 checksum file, not the realy img file.
Use this file:
twrp-3.0.0-0-h815.img
without md5!
Assuming you have a H815 (that would be the case since you unlocked it), download this :
https://dl.twrp.me/h815/twrp-3.0.0-0-h815.img
Rename it to recovery.img
Put it in the folder where there are adb.exe and fastboot.exe
Plug your phone to the PC (with debugging enabled)
now open a cmd in the folder where you put the recovery.img (shift + click droit in the folder)
type the following command :
adb reboot bootloader
Once your phone has rebooted in the bootloader type the following command :
fastboot flash recovery recovery.img
And then type this last command to "fix" the installation :
fastboot boot recovery.img
Your phone should reboot into the recovery, and from now you're good to go.
PS : no need to put anything on your phone to flash the recovery, it must be done from the PC
NeBouse said:
Assuming you have a H815 (that would be the case since you unlocked it), download this :
https://dl.twrp.me/h815/twrp-3.0.0-0-h815.img
Rename it to recovery.img
Put it in the folder where there are adb.exe and fastboot.exe
Plug your phone to the PC (with debugging enabled)
now open a cmd in the folder where you put the recovery.img (shift + click droit in the folder)
type the following command :
adb reboot bootloader
Once your phone has rebooted in the bootloader type the following command :
fastboot flash recovery recovery.img
And then type this last command to "fix" the installation :
fastboot boot recovery.img
Your phone should reboot into the recovery, and from now you're good to go.
PS : no need to put anything on your phone to flash the recovery, it must be done from the PC
Click to expand...
Click to collapse
I have managed to do that, thanks. After that, I installed SuperSU with the TWRP, now I'm stuck on the LG logo. What should I do?
MaorSwan said:
I have managed to do that, thanks. After that, I installed SuperSU with the TWRP, now I'm stuck on the LG logo. What should I do?
Click to expand...
Click to collapse
Wich version of super su did you use ?
Maybe you used one wich need a custopm kernel.
My advice would be to boot into TWRP and flash imperium kernel (wich contains as well supersu), then you should be able to boot without issues.
MArc
marcge 63 said:
Wich version of super su did you use ?
Maybe you used one wich need a custopm kernel.
My advice would be to boot into TWRP and flash imperium kernel (wich contains as well supersu), then you should be able to boot without issues.
MArc
Click to expand...
Click to collapse
Two questions:
1. I don't remember but before or after installing it I pressed "wipe dalvik and cache", might it be that?
2. If I downloaded stock ROM, put it in my sd card, wiped and flashed it through TWRP, would it fix the problem?
1) It might but i doubt it.
2) This is what i have done myself. It always solved my boot problems.
I flash h815.20d.complete.zip and supersu 2.65 (or imperium kernel)
I advise you to try it !
Marc

Issue installing TWRP

I know that I have to temporarily fastboot boot into twrp. so when i type fastboot boot path/to/twrp.img it says there is no such file or directory! i tried it so many times. i want to root my phone. I easily unlocked the bootloader, but i cant boot into the twrp. the file clearly exists ... and yes, i opened the command prompt in the folder containing both the twrp.img and fastboot.exe. i'm perplexed.. and infuriated! this was supposed to be a easy process. i googled my issue. nothing to be found or that even makes sense. can someone help me? I would appreciate it so so so so much.
Abbieru said:
I know that I have to temporarily fastboot boot into twrp. so when i type fastboot boot path/to/twrp.img it says there is no such file or directory! i tried it so many times. i want to root my phone. I easily unlocked the bootloader, but i cant boot into the twrp. the file clearly exists ... and yes, i opened the command prompt in the folder containing both the twrp.img and fastboot.exe. i'm perplexed.. and infuriated! this was supposed to be a easy process. i googled my issue. nothing to be found or that even makes sense. can someone help me? I would appreciate it so so so so much.
Click to expand...
Click to collapse
If they are in the same folder you don't need the path. Probably getting messed up with spaces or something on the path.
Rename the TWRP file to TWRP.img
Fastboot boot TWRP.img
Abbieru said:
I know that I have to temporarily fastboot boot into twrp. so when i type fastboot boot path/to/twrp.img it says there is no such file or directory! i tried it so many times. i want to root my phone. I easily unlocked the bootloader, but i cant boot into the twrp. the file clearly exists ... and yes, i opened the command prompt in the folder containing both the twrp.img and fastboot.exe. i'm perplexed.. and infuriated! this was supposed to be a easy process. i googled my issue. nothing to be found or that even makes sense. can someone help me? I would appreciate it so so so so much.
Click to expand...
Click to collapse
If you are using Windows 10 even after u rename it try fastboot boot TWRP.img.img. For some reason u have to add extra IMG. I saw someone posted that somewhere after lots of screwing around. What worked for me anyways
Make sure your SDK is up-to-date and flashing TWRP RC1

unable to load recovery.img

I'm not new to this root, recovery etc. Windows 8.1 , disabled device driver signature enforcement, adb installed as administrator, able to boot to bootloader by adb commands, fastboot devices shows device ID, but when fastboot flash recovery.img shows unable to load recovery.img ,but recovery image is in fastboot folder in C, what to do ?
I think when you renamed the file to recovery.img it added a double extention. So recovery.img.img rename it properly andere i think you are good to go.
Syntax is
Fastboot flash recovery recovery.img
Thank you. I'm not rename with .img and I know fastboot flash recovery recovery.img, I think it's due to file pathway problem but after 1 day search I could not figure it out. In my old laptop with windows 7 I was not met with any problem but my new windows 8.1 laptop has this problem.
drmuruga said:
Thank you. I'm not rename with .img and I know fastboot flash recovery recovery.img, I think it's due to file pathway problem but after 1 day search I could not figure it out. In my old laptop with windows 7 I was not met with any problem but my new windows 8.1 laptop has this problem.
Click to expand...
Click to collapse
You are right, it is a problem of the path. May be you can keep the .img file in another location and type the full path of the file.
tnsmani said:
You are right, it is a problem of the path. May be you can keep the .img file in another location and type the full path of the file.
Click to expand...
Click to collapse
Thank you, I will try.
I use git bash
https://github.com/git-for-windows/git/releases/download/v2.15.1.windows.2/Git-2.15.1.2-64-bit.exe
and put twrp in
mingw64/c/users/my profile name
and now fastboot commands work and flashed twrp etc....

Trouble installing Magisk

Any help would be appreciated. This is my first time dealing with Magisk, I've always used SuperSU in the past. I finally used my unlock code and the bootloader says unlocked, that was easy. I installed the Magisk Manager apk but am having trouble with Magisk itself. I'm used to flashing in TWRP, which I apparently can't install until Magisk is installed. I have two options, install - download zip only, and patch boot image file...
So I was trying to use the boot image file from this thread https://forum.xda-developers.com/mate-20-x/development/guide-mate-20-x-root-t3883269 and either patch it or used the patched one, but when my phone goes into the bootloader screen, adb is not recognizing the phone or finding the file which I set inside the adb folder itself. Sorry, I am not a noob to flashing. Done many many phones rooting, unlocking, roms, modems, etc. I am just new to adb and Magisk. Any help would be great as I've been at this all day reading and downloading things I needed. Thank you.
EDIT: I'm not sure if I'm putting the .img file in the wrong folder??? I am stuck on step 5 in that thread.
So more specifics on where I am stuck, hoping for help. I've tried, tried and tried and Googled lots...
When I run fastboot devices it does show my phone. I took the Patched Recovery Ramdisk for EVR-AL00 from the site above. I renamed it to recovery.img and put it inside the folder c:\adb where adb and fastboot are located. When I am in the command prompt under c:\adb> I put "fastboot flash recovery_ramdisk recovery_ramdiskMagiskrecovery.img". And I get this error... fastboot: error: cannot load 'recovery_ramdiskMagiskrecovery.img': No such file or directory
DavidMT909 said:
So more specifics on where I am stuck, hoping for help. I've tried, tried and tried and Googled lots...
When I run fastboot devices it does show my phone. I took the Patched Recovery Ramdisk for EVR-AL00 from the site above. I renamed it to recovery.img and put it inside the folder c:\adb where adb and fastboot are located. When I am in the command prompt under c:\adb> I put "fastboot flash recovery_ramdisk recovery_ramdiskMagiskrecovery.img". And I get this error... fastboot: error: cannot load 'recovery_ramdiskMagiskrecovery.img': No such file or directory
Click to expand...
Click to collapse
If you renamed the file recovery.img then the command should be
'fastboot flash recovery_ramdisk recovery.img'
lightning413 said:
If you renamed the file recovery.img then the command should be
'fastboot flash recovery_ramdisk recovery.img'
Click to expand...
Click to collapse
Thank you, but I may have messed up my phone now. I was trying this from the thread above, and even his example shows Magisk in it.
Step 5:
-Once the device is in bootloader and connected to the PC, run the command "fastboot flash recovery_ramdisk recovery_ramdiskMagiskVARIANT" with VARIANT being whatever ramdisk you downloaded. For example with AL00 you would input "fastboot flash recovery_ramdisk recovery_ramdiskMagiskAL00.img"
As soon as I tried your way it seemed to work... except when I booted it still did not have root. And now I cannot get into fastboot or recovery. It just keeps rebooting to the phone if I try recovery or fastboot. I used to be able to do this stuff following directions. It just doesn't seem to be working out. Thanks for trying.
My devices still lists in adb, but not fastboot. I'm still working on this. I do make an effort to do things myself.
Okay, I don't know what happened. My Magisk had an update, I installed it and rebooted and for the first time two green checks in Magisk, ran root checker and I have root. So hopefully I can install TWRP now and on to the ROM. Slow progress...
I have TWRP. Time to make a backup, and I'll install a ROM next.

Categories

Resources