Trying to install twrp recovery but failing... - AT&T, Rogers HTC One X, Telstra One XL

I am trying to install twrp recovery to install CleanROM but it is failing. I have unlocked my bootloader via htc dev but the following fails:
c:\Android>fastboot flash recovery openrecovery-twrp-2.2.2.0-evita.img
sending 'recovery' (7428 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 0.011s
I am also doing this knowing I have the option of installing the script on Goo Manager but that only downloads, I get a toast saying successfully installed and cannot confirm if it has been installed as the device did not automatically restart and flash.
Please advise... Thanks.

If your running windows, just make sure all you files are in the same folder ie twrp, adb, fast boot then press shift + right click, open command prompt here. I've heard of have you virus protection on? can cause problems.
Sent from my One X using xda premium

Yes, adb.exe - fastboot.exe - AdbWinApi.dll and the twrp recovery image are all in the same folder.

My only other suggestions would be to make sure you have administrative permission s on you PC. I can't imagine why its doing that to you unless you downloaded a corrupt boot image. I've had that happen a few times.
Sent from my One X using xda premium

subarudroid said:
My only other suggestions would be to make sure you have administrative permission s on you PC. I can't imagine why its doing that to you unless you downloaded a corrupt boot image. I've had that happen a few times.
Sent from my One X using xda premium
Click to expand...
Click to collapse
For some reason I never got it installed via my pc either, just used goomanager an it was done pronto.
Just saying.
WR
Sent from my HTC One X

Is there anyway configurations prior to running Goo Manager? I have an unlocked bootloader, not sure what else is missing for it to not restart on it's own after downloading and 'installing'. Did the same thing happen for you?
Also note my phone is not rooted (stuck on Rogers' 1.94.x.x firmware after the OTA) -- could this be a problem? If so, how do I root my device otherwise..?

an_xda said:
Is there anyway configurations prior to running Goo Manager? I have an unlocked bootloader, not sure what else is missing for it to not restart on it's own after downloading and 'installing'. Did the same thing happen for you?
Also note my phone is not rooted (stuck on Rogers' 1.94.x.x firmware after the OTA) -- could this be a problem? If so, how do I root my device otherwise..?
Click to expand...
Click to collapse
Have you checked out the One click tool v 2.2.2.0 under the Index in the dev thread.
I was never able to get fastboot to flash it and this worked for me.
Its under the android development index thread under the heading recovery.

eak1080 said:
Have you checked out the One click tool v 2.2.2.0 under the Index in the dev thread.
I was never able to get fastboot to flash it and this worked for me.
Its under the android development index thread under the heading recovery.
Click to expand...
Click to collapse
Which tool are you referring to? I cannot find it. Any one click tool I see does not work for 1.94.x.x firmware...

I was on 1.94 too.
Just try goomanager again, download twrp, then in goomanager go to options and install open recovery.
Might want to make sure fastboot is off in options too before tryin to boot into recovery.
If that don't work its beyond me sorry.
WR
Sent from my HTC One X

How long does it usually take to flash twrp to the phone? The first time I execute the command, it fails the second time it sends but after 12 minutes nothing changes.

an_xda said:
How long does it usually take to flash twrp to the phone? The first time I execute the command, it fails the second time it sends but after 12 minutes nothing changes.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1777773
this is the thread

Yeah, I found it a few minutes ago as well. I gave up though, I cannot flash through fastboot and goo manager won't work. Guess this phone is not getting any custom roms.

your bootloader is unlocked though?

Yes, via htcdev (it also has the ***unlocked*** status in recovery).

Here's your full proof method.......
Boot up phone all the way, enable USB debugging
Download-
http://db.tt/sXmdepmX
Stick it on root of your internal sdcard.
Open up your command prompt and cd to your adb/fastboot directory.....type-
adb shell
su
dd if=/sdcard/twerp.img of=/dev/block/mmcblk0p22
Once it's done, do it again for good measure...
press up arrow, it rewrites last command, and press enter.
When done type
exit
exit
adb reboot recovery
There u go.......twrp recovery installed:beer:
Sent from my HTC One X using xda premium

18th.abn said:
Here's your full proof method.......
Boot up phone all the way, enable USB debugging
Download-
http://db.tt/sXmdepmX
Stick it on root of your internal sdcard.
Open up your command prompt and cd to your adb/fastboot directory.....type-
adb shell
su
dd if=/sdcard/twerp.img of=/dev/block/mmcblk0p22
Once it's done, do it again for good measure...
press up arrow, it rewrites last command, and press enter.
When done type
exit
exit
adb reboot recovery
There u go.......twrp recovery installed:beer:
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
What does of=/dev/block/mmcblk0p22 mean? This is going to work for the evita One XL right? I do this while my phone is booted up normally?
Trying this, I cannot get past the 'su' command and get: /system/bin/sh: su: not found

Well that's why goo isn't working either......goomanager and this both require root.
Sent from my HTC One X using xda premium
---------- Post added at 09:26 AM ---------- Previous post was at 09:23 AM ----------
are u on windows 8, or using USB 3.0 by chance??
Sent from my HTC One X using xda premium

Right, so that is why I am stuck in this dilemma. I am on 1.94.x.x firmware with the latest Rogers OTA and have no one click method to root and flashing twrp is failing.
I am on Windows 7 and have 2 USB 3.0 ports but currently not hooking up device to those ports.

With bootloader unlocked you should be able to flash a recovery. I see the error your getting when flashing twrp from bootloader and it looks like a communication error of some sort. It's not the phone blocking it......try all your USB ports when in bootloader, make sure your phone says fastboot USB also....if nothing else try a different pc, because it's not the phone, it's def. A pc issue I'd say
Sent from my HTC One X using xda premium
---------- Post added at 05:42 PM ---------- Previous post was at 05:34 PM ----------
Here's your problem....not rooted, goo won't work.....your missing files in your adb/fastboot folder
Download this-
http://db.tt/5ePa4XV5
Unzip and place files in your adb folder, overwrite the ones that are in there or delete them first, but leave your twrp.img and your unlock_code.bin
Boot phone all the way
Open cmd prompt and cd to your adb folder
Type
adb reboot bootloader
Once in bootloader
fastboot flash recovery nameofrecovery.img
Now do it a second time for good measure
On phone screen, select bootloader, then recovery.....done:beer:
Sent from my HTC One X using xda premium

Do what 18th.abn says.

Related

[HOWTO] Restore Nexus s 4g to stock

Please delete this thread.
The updated version is here
http://forum.xda-developers.com/showthread.php?t=1167819
you could always post the links as text and then after 10 posts then you can convert to urls again
www.filefactory.com/file/cb882b4/n/Flash_Recovery.zip
www.filefactory.com/file/cb88370/n/Full_recovery.zip
filefactory.com/file/cb882b4/n/Flash_Recovery.zip link 1
filefactory.com/file/cb88370/n/Full_recovery.zip link 2
PM Sent.....
Its telling me that fastboot is not a internal or external command. I'm going into the cmd and typing cd filepath then the fastboot instructions. Am I missing something?
Fixed! Thanks so much!
cloo24 said:
Its telling me that fastboot is not a internal or external command. I'm going into the cmd and typing cd filepath then the fastboot instructions. Am I missing something?
Fixed! Thanks so much!
Click to expand...
Click to collapse
Your welcome and so everyone else knows you have to hold ctrl and shift in the folder and then click on open command prompt.
ok i made it simpiler to follow. I decided to do this because the ota is coming and many people want stock back.
Anyone have any issues getting stock recovery back on their nexus? I have ran odin a few times with stock files and I end up with no recovery, just that triangle exclamation thing. I have tried fastboot flashing stock recovery as well as custom ones with no luck. The only thing that has saved me is shabby's one click...for some reason its fastboot flash of recovery works while doing it manually doesn't...but that doesn't put on stock recovery...
Thanks I really needed these instructions.
Sent from my Nexus S 4G using XDA Premium App
raiderep said:
Anyone have any issues getting stock recovery back on their nexus? I have ran odin a few times with stock files and I end up with no recovery, just that triangle exclamation thing. I have tried fastboot flashing stock recovery as well as custom ones with no luck. The only thing that has saved me is shabby's one click...for some reason its fastboot flash of recovery works while doing it manually doesn't...but that doesn't put on stock recovery...
Click to expand...
Click to collapse
When I was on stock (when I first got the phone) I remember not having a recovery at all ( just the triangle) .
Sent from my Nexus S 4G using XDA Premium App
ok i used odin put those files in the right spot but its not doing anything. It says all threads comp succeed 0 failed 0 any ideas
ok will i treid this method and it dosent work i follow the directions just like it says put the tar files in the right spot hit start and nothing happens. it gives me the mess suceed 0 failed 0. put it download more and it just sits there. i do have adb set up for the device
Petes method is better than this method guys. Use fastboot, just copy and paste the commands into the terminal. Much better than this.
mikeyinid said:
Petes method is better than this method guys. Use fastboot, just copy and paste the commands into the terminal. Much better than this.
Click to expand...
Click to collapse
Hey mike would you mind a pm on how to, cause I'm a little lost.
Sent from my Nexus S 4G using XDA Premium App
info[]box1 said:
Hey mike would you mind a pm on how to, cause I'm a little lost.
Sent from my Nexus S 4G using XDA Premium App
Click to expand...
Click to collapse
OK. You obviously have fastboot drivers installed cus your rooted. Download THESE, courtesy of Pete. Extract that zip to a folder on your desktop. Open that folder, hold shift and right click in the folder and choose open command window here. Then run these commands, hitting enter at the end of each line:
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot oem lock
fastboot reboot
That is all, takes like a minute or 2 and your back to stock. I can do it with my eyes closed
Thanks Mike
Sent from my Nexus S 4G using XDA Premium App
windows can not recognize my phone can someone help me !
damnn said:
windows can not recognize my phone can someone help me !
Click to expand...
Click to collapse
can't recognize it at all, or can't recognize it in fasboot mode?
cant recognize it in fast boot mood.. my phone is on like normally and usb debugging is on and when i type in the cmd it doesnt go through it says "adb" is not regnozied as an internal or external command operable program or batch file
gonna try this since ive got a replacement phone on the way, what would happen if it sent the phone back unlocked and rooted anyway?

[Q] No recovery or rom, stuck in bootloop

I posted this before but it was dead so I'm reposting, sorry. I was in the process of rooting my brothers phone, I turned S-off and flashed updated firmware, however I forgot to flash a recovery. Now the phone is in a bootloop. I tried downloading 4ext recovery file PG58IMG to flash in bootloader. I added his cid number to the file but when I run bootloader it doesn't give me the option to install the file. The other method I was told to try involves using CMD to do it with the flashing tool. But since I can't start the phone, cmd doesn't recognize the device. Can somebody please help me? How can I install recovery on this device?
You could always go into fastboot manually and use the cmd prompt. Fastboot flash recovery **********.IMG I'm almost sure that's the proper command.
Sent from my HTC Sensation 4G using xda app-developers app
Sloopjoshb said:
You could always go into fastboot manually and use the cmd prompt. Fastboot flash recovery **********.IMG I'm almost sure that's the proper command.
Sent from my HTC Sensation 4G using xda app-developers app
Click to expand...
Click to collapse
I tried doing that but nothing happened. cmd prompt said waiting for device but nothing happened. Do I have to have adb set up or what are the steps in order for me to do that?
smockpuv said:
I tried doing that but nothing happened. cmd prompt said waiting for device but nothing happened. Do I have to have adb set up or what are the steps in order for me to do that?
Click to expand...
Click to collapse
Hi,
You need to have THESE DRIVERS on your PC.
ADB is explained HERE
Installing recovery is HERE
Took the words right out of my mouth.
Sent from my HTC Sensation 4G using xda app-developers app
smockpuv said:
I tried doing that but nothing happened. cmd prompt said waiting for device but nothing happened. Do I have to have adb set up or what are the steps in order for me to do that?
Click to expand...
Click to collapse
this means you havent connected the phone properly to pc
the phone should show "fastboot usb" if connected to pc properly ..if it shows hboot and there is an option fastboot in the list . browse to fastboot using volume download ..then select fastboot using power ...then connect the device to pc ( at the end phone should show fastboot usb)
then try the command
fastboot flash recovery recovery.img
(if you got PG58IMG.zip open it and copy the recovery.img to the folder where you got adb/fastboot )
Hi,
Take a look at this thread, it may be able to help you out, plus the tool is simple to use to install the recovery as well. Just follow the instructions.
http://forum.xda-developers.com/showthread.php?t=1668276

Cant boot into recovery...HTC screen only

I attempted to place a ROM on the phone using CWM recovery and something messed up. Now, I can boot into screen that says fastboot, recovery, etc. However, when I select recovery, nothing happens. Anyone point me in the right direction...im back to using my Blackberry!
From fastboot try and reflash recovery I would highly suggest twrp over cwm since twrp officially supports the one x.
Sent from my Nocturnalized Beast
E.Cadro said:
From fastboot try and reflash recovery I would highly suggest twrp over cwm since twrp officially supports the one x.
Sent from my Nocturnalized Beast
Click to expand...
Click to collapse
This is where I am stuck. Unfortunately, I'm not all that familiar with Fastboot. When connecting the phone to the PC with a USB, I see that the phone says Fatboot USB. From there I'm lost. I've not been able to find a guide that describes how to install a ROM using fastboot. Lots of posts says that it can be done, but none describing how its done. Anyone pointing me in the right direction?
http://forum.xda-developers.com/showthread.php?t=1754018
gunnyman said:
http://forum.xda-developers.com/showthread.php?t=1754018
Click to expand...
Click to collapse
Im still having difficulty loading a recovery via fastboot...
I get to the point where I enter the following line in command prompt...fastboot flash recovery twrp.img and the response I get is "error: cannot load 'twrp.img"
Any suggestions?
rpritch said:
Im still having difficulty loading a recovery via fastboot...
I get to the point where I enter the following line in command prompt...fastboot flash recovery twrp.img and the response I get is "error: cannot load 'twrp.img"
Any suggestions?
Click to expand...
Click to collapse
My Bad...didnt have the img file in the platform-tools folder.
So I've tried flashing the TRWP img and when I reboot into recover, I get the blue and black Teamwin splash screen. then it reboots and stays permanently on the HTC splash screen.
After I flash the clockwork img file and reboot into recovery, it reboots and stays permanetly on the HTC splash screen.
Any suggestions?
rpritch said:
My Bad...didnt have the img file in the platform-tools folder.
So I've tried flashing the TRWP img and when I reboot into recover, I get the blue and black Teamwin splash screen. then it reboots and stays permanently on the HTC splash screen.
After I flash the clockwork img file and reboot into recovery, it reboots and stays permanetly on the HTC splash screen.
Any suggestions?
Click to expand...
Click to collapse
I am having this same exact issue! Did you figure it out? I installed TWRP as well and now get the Teamwin screen before it reboots the the HTC screen with the legal disclaimer. Please help1
veritas2884 said:
I am having this same exact issue! Did you figure it out? I installed TWRP as well and now get the Teamwin screen before it reboots the the HTC screen with the legal disclaimer. Please help1
Click to expand...
Click to collapse
Sounds like a bad flash or corrupt recovery inage. Go to the play store and download goo manager and install twrp from goo manager instead. See if that fixes the problem.
Sent from my Nocturnalized Beast
E.Cadro said:
Sounds like a bad flash or corrupt recovery inage. Go to the play store and download goo manager and install twrp from goo manager instead. See if that fixes the problem.
Sent from my Nocturnalized Beast
Click to expand...
Click to collapse
Our devices will not boot. All we can get is either the white HTC Screen or get into the menu that allows fastboot/recover/ect...
Relock bootloader, run real stock ruu for your carrier, reunlock, reroot, reflash recovery. Flash your desired Rom. You will lose all data on phone!
Sent from my HTC One XL using xda app-developers app
c5satellite2 said:
Relock bootloader, run real stock ruu for your carrier, reunlock, reroot, reflash recovery. Flash your desired Rom. You will lose all data on phone!
Sent from my HTC One XL using xda app-developers app
Click to expand...
Click to collapse
That is what I am doing now. I did not relock the boot loader first it is in the process of running the RUU. Did I just fry my phone even more?
---------- Post added at 04:04 AM ---------- Previous post was at 03:56 AM ----------
Thanks c5satellite2 ,
For my AT&T One X I fixed it as you stated
Booted into fastboot
Used command window to relock bootloader:
fastboot devices <enter>
fastboot oem lock <enter>
Restarted and rebooted into fastboot again
Ran Stock Rom RUU Program from http://forum.xda-developers.com/showthread.php?t=1649658
Put me back to a working stock phone.
Re-rooted and re-unlocked bootloader
Installed TWRP this time! Thanks for the help! :good:
Recommended process for fixing strange issues like what you were experiencing. Glad it helped you guys out!
Sent from my HTC One XL using xda app-developers app
veritas2884 said:
That is what I am doing now. I did not relock the boot loader first it is in the process of running the RUU. Did I just fry my phone even more?
---------- Post added at 04:04 AM ---------- Previous post was at 03:56 AM ----------
Thanks c5satellite2 ,
For my AT&T One X I fixed it as you stated
Booted into fastboot
Used command window to relock bootloader:
fastboot devices <enter>
fastboot oem lock <enter>
Restarted and rebooted into fastboot again
Ran Stock Rom RUU Program from http://forum.xda-developers.com/showthread.php?t=1649658
Put me back to a working stock phone.
Re-rooted and re-unlocked bootloader
Installed TWRP this time! Thanks for the help! :good:
Click to expand...
Click to collapse
How exactly did you do this part "Ran Stock Rom RUU Program from http://forum.xda-developers.com/show....php?t=1649658"? What command did you use?
rpritch said:
How exactly did you do this part "Ran Stock Rom RUU Program from http://forum.xda-developers.com/show....php?t=1649658"? What command did you use?
Click to expand...
Click to collapse
It's just an exe. Boot your phone into fastboot mode. Your computer will recognize that it is plugged in in fast boot mode if you have the HTC driver installed. Then open the exe on your computer and follow the instructions on the screen. It will take about 15 mins for the whole process and your phone will reboot several times.
Also make sure you use twrp recovery instead of clockwork if you re-root!
veritas2884 said:
It's just an exe. Boot your phone into fastboot mode. Your computer will recognize that it is plugged in in fast boot mode if you have the HTC driver installed. Then open the exe on your computer and follow the instructions on the screen. It will take about 15 mins for the whole process and your phone will reboot several times.
Also make sure you use twrp recovery instead of clockwork if you re-root!
Click to expand...
Click to collapse
I cant seem to find a stock Rogers Ruu...will continue searching. Anyone out there have it?
http://http://forum.xda-developers.com/showthread.php?p=27882810#post27882810
Finally got it working...the above link is what worked. Here is the summary...
I was having this same problem and it took a while before I could get it to work. Try opening a command window in the same location of your adb tools.
First, make sure you're in fastboot mode, then type 'fastboot oem rebootRUU'
Next, make sure you have the .zip RUU file in the same folder and type 'fastboot flash zip XXX.zip' (replace XXX with whatever it's called, of course)
Now, you can see what is actually happening when you are flashing the RUU. In my case, there was 2 points where it told me to "re-flush image immediately" or something like that. When I ran the last command again (fastboot flash zip XXX.zip) it went a bit further each try, but it took until the 3rd try before it was successful.
Hopefully this helps you out!
Berserk87 said:
I'm stock right now (rooted) , but the updates keep failing, so i want to reflash stock rom.
I'm lost as to how to do this.
I downloaded ARUwizard and the stock rogers rom (PJ83IMG) but its still failing. I dont get all this adb tools stuff.
Click to expand...
Click to collapse
do this:
1.Put Rogers stock zip (keep it in zip form) in your platform-tools folder (you need to download Android SDK). This is the rogers file I downloaded...http://rapidlibrary.com/files/pj83i...elease-254934-signed-zip_ulc8eyefx8i89on.html
2. Boot phone into fastboot (hold power button and volume down key)
3. Used command window to relock bootloader by doing the following:
use command window to get to location on your computer where you have saved SDK stuff, continue with command window to the platform-tools folder then enter the following commands:
fastboot devices <enter>
fastboot oem lock <enter>
Phone will restart and reboot into fastboot again
4. type 'fastboot oem rebootRUU'.
5. Next, make sure you have the .zip RUU file in the same folder (see step 1) and type 'fastboot flash zip XXX.zip' (replace XXX with whatever the rogers stock zip is called, I changed it to "rogersstock.zip")
Phone will reboot to a HTC screen. If you see "re-flush image immediately", repeat fastboot flash zip XXX.zip command. You may have to do this 2 or 3 times.
After doing this, I was able to download and install the Rogers firmware update
BTW...I didn't discover any of this stuff on my own...I researched a bunch of different posts and put it together. Hopefully, someone else finds have all this in one post useful.
Hey guys, AT&T One X unlocked
I'm having a similar problem, been following the wiki exactly and when I flashed CWM recovery and it says it was successful:
F:\Users\Ryan\AppData\Local\Android\android-sdk\platform-tools>fastboot flash re
covery recovery-clockwork-touch-5.8.4.0-endeavoru.img
sending 'recovery' (5742 KB)...
OKAY [ 0.890s]
writing 'recovery'...
OKAY [ 1.480s]
finished. total time: 2.380s
When I select recovery it brings up the HTC logo and says in red text "This build is for development purposes only. Do not distribute without HTCs written permission... etc" after about 10 seconds the device boots up as normal.
Not sure what I'm doing wrong.
slash178 said:
Hey guys, AT&T One X unlocked
I'm having a similar problem, been following the wiki exactly and when I flashed CWM recovery and it says it was successful:
F:\Users\Ryan\AppData\Local\Android\android-sdk\platform-tools>fastboot flash re
covery recovery-clockwork-touch-5.8.4.0-endeavoru.img
sending 'recovery' (5742 KB)...
OKAY [ 0.890s]
writing 'recovery'...
OKAY [ 1.480s]
finished. total time: 2.380s
When I select recovery it brings up the HTC logo and says in red text "This build is for development purposes only. Do not distribute without HTCs written permission... etc" after about 10 seconds the device boots up as normal.
Not sure what I'm doing wrong.
Click to expand...
Click to collapse
What you are doing wrong is flashing the recovery for the wrong phone. Any file with "enveavoru" in it is for the international (Tegra3) version. Our phone is "evita".
Only install things in our Dev forum:
http://forum.xda-developers.com/forumdisplay.php?f=1541
To see everything in an organized list, go to my index: http://forum.xda-developers.com/showthread.php?t=1671237
Also, TWRP is recommended. CWM does not officially support our device, and therefore is just a port, and buggy. TWRP officially supports our device.
im getting the same error and im using the recovery ending on evita

ADB Walkthrough

So I got this help in the CM Q&A but while I've rooted man devices (mostly with oDin and one-click utilities) I've never used ADB and now I'm wanting to go from a sense to AOSP ROM and can't find active links to ADB or tutorials other than (type something here), youtube hasn't been help either, can someone help e out? I had a hboot 1.85 XL so I had it easy when I rooted.
LINKS
3.18 RUU Downloaded
S-Off Thread: http://forum.xda-developers.com/show....php?t=2155071 open in tab but the instructions aren't user friendly
Downgrade Touchscreen: http://forum.xda-developers.com/show....php?t=2159863
TWRP Recovery: http://goo.im/devs/OpenRecovery/evita downloaded
***openrecovery-twrp-2.3.3.1-evita.img or 2.3.3.0 are recommended at the time of this post***
OPTIONAL- Remove red text from splash screen: http://forum.xda-developers.com/show....php?t=2156368
INSTRUCTIONS
Thanks to @InflatedTitan for this breakdown.
While waiting for the RUU to download...
1. Download the 2 files for s-off and place in adb folder.
2. Download the recovery of choice and put in adb folder.
3 (optional) download the remove red text file and put in adb folder.
4. You'll have to downgrade touchscreen if you want to use aosp *SEE NOTE BELOW*. Head to original dev sticky to download files from h8rift. Put those in adb folder
_________________________________________
1. S-off! Make sure you confirm in bootloader (it usually works easier from a sense rom btw.) 4.2.2 roms need updated adb but it may work.
2. When you ruu, it doesn't touch sdcard. But I would quickly mount and backup your pics and whatnot just in case.
3. Enter fast boot. Run the ruu on the computer. It'll bring you back to 100% stock.
4. Once you up and running, enter fast boot again and send twrp. (Instructions below, insert whatever recovery image you're pushing)
Quote:
fastboot flash recovery openrecovery-twrp-2.3.3.1-recovery-evita.img
5. I recommend to get rid of the ugly ass red text on splash. Follow Liam's thread to rid it.
6. While in fastboot go ahead and downgrade touchscreen following h8rifts instructions.
7. Now you're golden to flash anything you want :thumbup:
*Note as of the 06/26 Nightly, you do NOT need to downgrade your touchscreen. However if you encounter any touch-related problems using TWRP 2.3.3.x, you should flash the downgrade in fastboot to move on. I'd recommend 2.5.0.0 on the latest touchpanel firmware. It works for me but if you run into trouble, downgrade the touchscreen and flash the recommended TWRP recovery.
ADB is a command line shell for accessing your phone remotely using linux commands. So many linux command line commands will work within adb. To become an ADB master, use linux command line.
As for downloading ADB and fastboot...
https://dl.dropboxusercontent.com/u/19685555/fb-adb.zip
I guess I'll stick to sense based ROM's because that wasn't helpful but thanks.
Edit after hours searching came across helpful info, but after changing the directory and putting int adb reboot bootloader i get "error device not found" when my phone is connected, any clue?
USFguy said:
I guess I'll stick to sense based ROM's because that wasn't helpful but thanks.
Click to expand...
Click to collapse
eh? What is it you want to know?
Here's a link to adb breakdown and commands? I googled "adb commands" and it was the first link...............
http://forum.xda-developers.com/showthread.php?t=2141817
Is this what you were looking for?
exad said:
eh? What is it you want to know?
Here's a link to adb breakdown and commands? I googled "adb commands" and it was the first link...............
http://forum.xda-developers.com/showthread.php?t=2141817
Is this what you were looking for?
Click to expand...
Click to collapse
"error: device not found"
USFguy said:
"error: device not found"
Click to expand...
Click to collapse
this is what i got....
USFguy said:
this is what i got....
Click to expand...
Click to collapse
is your phone plugged in with the rom booted and USB debugging turned on?
exad said:
is your phone plugged in with the rom booted and USB debugging turned on?
Click to expand...
Click to collapse
yeah, i uninstaleld HTC sync then went into device manager and updated the driver and it worked, I'm s-off and now waiting for RUU to finish
USFguy said:
yeah, i uninstaleld HTC sync then went into device manager and updated the driver and it worked, I'm s-off and now waiting for RUU to finish
Click to expand...
Click to collapse
current issue is in regards to "Quote:
fastboot flash recovery openrecovery-twrp-2.3.3.1-recovery-evita.img
"
I have openrecovery-twrp-2.3.3.1-recovery-evita.img in my c:\fb-adb folder and running the command from there but it's saying "error: cannot load 'openrecovery-twrp-2.3.3.1-recovery-evita.img'
USFguy said:
current issue is in regards to "Quote:
fastboot flash recovery openrecovery-twrp-2.3.3.1-recovery-evita.img
"
I have openrecovery-twrp-2.3.3.1-recovery-evita.img in my c:\fb-adb folder and running the command from there but it's saying "error: cannot load 'openrecovery-twrp-2.3.3.1-recovery-evita.img'
Click to expand...
Click to collapse
That means you're typing the filename wrong. Type the first few letters and then press tab. It will auto complete the file name for you.
exad said:
That means you're typing the filename wrong. Type the first few letters and then press tab. It will auto complete the file name for you.
Click to expand...
Click to collapse
i'm actually getting the no devices connected again since the ruu finished running.
Press and hold power until the phone shuts off then press and hold volume down until the bootloader comes on then try again
Sent from my HTC One X using xda app-developers app
USFguy said:
current issue is in regards to "Quote:
fastboot flash recovery openrecovery-twrp-2.3.3.1-recovery-evita.img
"
I have openrecovery-twrp-2.3.3.1-recovery-evita.img in my c:\fb-adb folder and running the command from there but it's saying "error: cannot load 'openrecovery-twrp-2.3.3.1-recovery-evita.img'
Click to expand...
Click to collapse
Twrp 2.6 works great. No real reason for 2.3.3.1 anymore but nostalgia.
Sent from my HTC One XL using xda premium

[Q] Reboots no recovery only fastboot

I have a one xl that will reboot after being on for 2 minutes
evita pvt ship s-on rl
hboot-1.14.0002
it is unlocked, but i cant relock it. Every time i try it says fails then reboots. I have also tried flashing twrp and cwm recovery via fastboot, but everytime i try to enter one it hangs on the teamwin screen. I have tried the ruu it reads my phone at first then when it says rebooting to bootloader the phone reboots normaly and get error 107.
Any help would be greatly appreciated.
What method are you using to try to relock the phone? What method are you using to install the mentioned recoveries? Please give as much detailed information as possible.
Sent from my Evita.
To relock i have used fastboot in cmd and typed fastboot oem lock. I have done that 10 times with the same result phone reboots normally and when i reboot back into bootloader it still says unlocked.
To flash recoveries i have used fastboot flash recovery ********.img
fastboot erase cache
fastboot reboot-bootloader
but instead of rebooting to the bootloader it boots normally
What did you do to the phone before all this started happening? Phones don't usually just start doing things like this of their own accord.
Sent from my Evita.
I bought it like this. The last owner said it happend after he installed a rom. I was hopping i could unbrick it with out jtagging it becuase i am still able to fastboot to it.
If you can't get an RUU to work I think jtag might be your only option.
Sent from my Evita.
I've only tried 2.20. I even extracted the system IMG from it but fast boot says it is too large. The only reason ruu won't work is because I can't get my phone to reboot into boot loader. Is there any way I can flash a different boot loader through fast boot.
Just curious, but when you type fastboot devices from the Bootloader, what is the output?
Are you running fastboot oem lock from the bootloader?
Sent from my One X using XDA Premium 4 mobile app
Nothing happens. And if I type fast boot OEM lock from the boot I get waiting for devices
keithman2567 said:
Nothing happens. And if I type fast boot OEM lock from the boot I get waiting for devices
Click to expand...
Click to collapse
If when you type fastboot devices (while in the boot loader) in your computers command prompt, and it doesn't show your HTC device being attached, that means that your computer is not recognizing your phone. Have you installed the HTC drivers? Do you have the newest versions of fastboot and adb installed?
What OS are you running on your computer?
Sent from my One X using XDA Premium 4 mobile app
I have the HTC drivers installed. My computer only recognizes my phone when I put it into fast boot mode then it tend me my device name ht253w309354. Fastboot. As for three adb and fast boot versions I do not know.
keithman2567 said:
I have the HTC drivers installed. My computer only recognizes my phone when I put it into fast boot mode then it tend me my device name ht253w309354. Fastboot. As for three adb and fast boot versions I do not know.
Click to expand...
Click to collapse
Does your device boot into the ROM at all?
Sent from my One X using XDA Premium 4 mobile app
Yes. But only for 2 mins before it reboots.
keithman2567 said:
Yes. But only for 2 mins before it reboots.
Click to expand...
Click to collapse
If you can connect to Google Play store, download recovery tools, if you have time. From there you could try to install a new recovery for your device. With only 2 minutes you will have to be quick though.
Do you have access to your sdcard from your computer?
Sent from my One X using XDA Premium 4 mobile app
I don't have time. Every time I reboot I have to renter my WiFi password. Yes I think I do but by the time any thing loads it reboots.
keithman2567 said:
I don't have time. Every time I reboot I have to renter my WiFi password. Yes I think I do but by the time any thing loads it reboots.
Click to expand...
Click to collapse
Here is the app. Not sure if you'll have time, but you can try
https://www.dropbox.com/s/wa4u565woyrrrlw/de.mkrtchyan.recoverytools-2.apk
Sent from my One X using XDA Premium 4 mobile app
Thank you, but there isn't enough time to even transfer it over
keithman2567 said:
Thank you, but there isn't enough time to even transfer it over
Click to expand...
Click to collapse
Do you have USB debugging enabled in the phone?
Sent from my One X using XDA Premium 4 mobile app
---------- Post added at 10:22 PM ---------- Previous post was at 10:15 PM ----------
Have you tried to flash a new ROM from fastboot? It sounds like your recovery partition might have been corrupted.
Sent from my One X using XDA Premium 4 mobile app
I can if I turn it on fast enough, but when it reboots I have to turn it back on.
I have only tried flashing a system.IMG I pulled from an ruu. But fast boot said it was too large.
keithman2567 said:
I can if I turn it on fast enough, but when it reboots I have to turn it back on.
I have only tried flashing a system.IMG I pulled from an ruu. But fast boot said it was too large.
Click to expand...
Click to collapse
Alright, so I have a few ideas.
1. Try flashing a new rom via fastboot. (the following is based on the assumption that you have adb and fastboot in your path)
Flashing a ROM through Fastboot
So Why Do I Need To Do This?
You don't, normally you would flash a ROM through recovery, but why not have another way? Maybe your recovery partition on your phone is corrupt?
Maybe you just want to say "I learned something new!" whatever your reason here are the simple steps:
To start:
Quote:
Quote:
We need to download the ROM of choice to your computer. Once complete find the folder that rom is in and open terminal/cmd to that directory
(quickest way for windows; just hold shift and right click within that folder > open command window here) of course make sure your phone is plugged into computer and in fastboot mode.
Lets see how quick and easy this really is...
In the command line type:
Code:
fastboot devices
Seeing your serial number means we know all is good
Now lets type these commands:
Code:
fastboot erase system -w
fastboot erase boot
fastboot update superawesomerom.zip
Of course replace <superawesomerom.zip> with the correct file name
and last but not least:
Code:
fastboot reboot
2. Boot into Recovery via fastboot.
Plug phone into PC, connect with USB cable and have phone in fastboot mode, now open CMD/Terminal in the same directory as your recovery image
Code:
fastboot boot recovery.img
Of course name image correctly to fit command or vise versa
Now you are in recovery of choice within your device without it being flashed to your recovery partition. There is a time and a place for everything, can you think of ways this may help you? Sure you can!
This doesn't actually flash the recovery.img... it will just allow you to boot into it. Make sure that you have a good TWRP version.
The previous quotes were taken from this guide on XDA-University:
http://forum.xda-developers.com/showthread.php?t=2277112

Categories

Resources