Reinstalling stock recovery - help requested - HTC One X

So as will be immediately obvious, I am new to posting on this site and I'm sure the title will explain why. Before I start, I was using (the 'was' will be explained later) a rooted stock ROM and I had not backed it up (the instructions I used forgot to mention it).
The 2.17 HOX OTA update was finally released by three (I'm currently on 1.28) and I hoped that this update would fix several problems I've been having (standard HOX problems like battery life, camera quality, lag, and an ever growing system data). So I was fairly desperate to install this update, but when I tried clockwork recovery told me that it failed, and by using google I discovered that I'm not the only one with this problem.
This where I get stupid. In desperation to install this update I found that SuperSu has an option to full unroot and I hoped that this would reinstall the stock recovery in the process, but now I am left with an unrooted phone with clockwork recovery installed.
If anyone can help me reinstall the stock recovery so I can install this update I'd very much appreciate it. I apologise if I was long winded, I just felt it better to try and explain the whole situation.
Sent from my HTC One X using xda app-developers app

I'm not sure what's stopping you from installing the stock recovery?
fastboot flash recovery stock-recovery.img

Thanks for replying. I'm not very knowledgeable at this so I'm not sure how to, and would I need to use a computer or can I do it directly on my phone?
Sent from my HTC One X using xda app-developers app

adb reboot-bootloader
adb flash recovery recovery.img
Click to expand...
Click to collapse
do you have the stock reocvery.img?

No I don't think so, can I download it? Should I already have it, and if so where would it be?
Sent from my HTC One X using xda app-developers app

Mbennett156 said:
No I don't think so, can I download it? Should I already have it, and if so where would it be?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
hold on ill upload it for you

Thanks
Sent from my HTC One X using xda app-developers app

Mbennett156 said:
Thanks
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
recovery for 1.28

hamdir said:
recovery for 1.28
Click to expand...
Click to collapse
thanks so much. how do i flash it? if it's too much trouble i'm sure i could find it on google

@Mbennet
hamdir said:
recovery for 1.28
Click to expand...
Click to collapse
Place it in your fastboot Android-SDK folder on your PC (C:/Android-SDK/platform-tools)
Put phone into fastboot USB
Open command prompt on PC
CD c:/Android-SDK/platform-tools
fastboot flash recovery recovery.img
Sent from my Nexus 7 using XDA Premium HD app

chrisjcks said:
@Mbennet
Place it in your fastboot Android-SDK folder on your PC (C:/Android-SDK/platform-tools)
Put phone into fastboot USB
Open command prompt on PC
CD c:/Android-SDK/platform-tools
fastboot flash recovery recovery.img
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
thanks so much for your help and quick replies my phone is currently on low battery as i've spent all day frantically trying to figure this out, but when it is charged i'll let you know if this is successful :good:
EDIT: the computer i'm using at the moment is not the same computer that i used when i rooted (that one broke unfortunately) can i just create that folder or do i need to redownload other files?

Mbennett156 said:
thanks so much for your help and quick replies my phone is currently on low battery as i've spent all day frantically trying to figure this out, but when it is charged i'll let you know if this is successful :good:
EDIT: the computer i'm using at the moment is not the same computer that i used when i rooted (that one broke unfortunately) can i just create that folder or do i need to redownload other files?
Click to expand...
Click to collapse
You need to install Android SDK on the PC you want to do this on.
http://developer.android.com/sdk/index.html
Update/install everything on it once installed.
Then you can begin.
Sent from my Nexus 7 using XDA Premium HD app

chrisjcks said:
@Mbennet
Place it in your fastboot Android-SDK folder on your PC (C:/Android-SDK/platform-tools)
Put phone into fastboot USB
Open command prompt on PC
CD c:/Android-SDK/platform-tools
fastboot flash recovery recovery.img
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
I have just successfully reinstalled the stock recovery, and although I am very grateful for your help, you forgot to mention the next step which was to type "fastboot oem lock" on command prompt.
Thanks again!

Mbennett156 said:
I have just successfully reinstalled the stock recovery, and although I am very grateful for your help, you forgot to mention the next step which was to type "fastboot oem lock" on command prompt.
Thanks again!
Click to expand...
Click to collapse
I would have done had you kept your ongoing progress posted.
But guess you figured it out yourself, congrats.
Sent from my HTC One X using XDA Premium HD app

Related

Boot.img flash without PC?

Hey
is there a way to flash the kernel without a PC?
So i can download it with htc one x and install it with a app or termibal comand or something like that.
Sent from my HTC One X using xda premium
D4rk_nVidia said:
Hey
is there a way to flash the kernel without a PC?
So i can download it with htc one x and install it with a app or termibal comand or something like that.
Click to expand...
Click to collapse
Yes of course there is, but in every ROM flashing guide they say you have to do it from PC because nobody likes you.
D4rk_nVidia said:
Hey
is there a way to flash the kernel without a PC?
So i can download it with htc one x and install it with a app or termibal comand or something like that.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
No need to be rude BenPoope.
No, unfortunately its not possible yet. It will be possible once bootloader is fully unlocked aka S-Off access.
asestar said:
No need to be rude BenPoope.
Click to expand...
Click to collapse
It was just a joke. If I was a little too sensitive, perhaps having my name misspelt could be considered rude.
Unfortunately not.
I did some experimenting with this by manually flashing boot.img with dd
Reading and flashing a boot.img works fine but as soon as you reboot its back to old img.
Deduction
Hboot protection is removing external changes to the boot partition and the only way to get a change to stick after reboot is with fastboot which requires a PC to use
Sent from my HTC One X using xda app-developers app
Thanks all
Okay i wait and flash my phone when im back in germany or in a internet cafe
I hope that S-Off comes soon
Sent from my HTC One X using xda premium

[Q] Copying fastboot folder from old PC to new

I flash my boot.img files using command prompt, and my fastboot folder is stored on my C drive. I got a new computer and am trashing the old one soon. Can I just copy the entire fastboot folder onto the new computer, C drive, and continue as before? I'd initially got the fastboot folder while rooting, but don't remember where I got it from. Both my old and new computers run on Windows 7, if that helps.
Thanks in advance to anyone who can help!
Sent from my HTC One X using xda app-developers app
yes you can but you have to install the drivers in your new computer
DynamicRam said:
yes you can but you have to install the drivers in your new computer
Click to expand...
Click to collapse
Thanks a lot for getting back to me. But *noob alert* what did you mean by installing the drivers again? Do you mean the ones from htcdev? Can you point me somewhere the steps might be? Or if you've seen this query before, just let me know. I searched this forum once, but will check again if you've seen someone else ask this question before. Thanks again!
Sent from my HTC One X using xda app-developers app
Neo3369 said:
Thanks a lot for getting back to me. But *noob alert* what did you mean by installing the drivers again? Do you mean the ones from htcdev? Can you point me somewhere the steps might be? Or if you've seen this query before, just let me know. I searched this forum once, but will check again if you've seen someone else ask this question before. Thanks again!
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Copy fastboot folder to a usb and copy to new computer.
Fastest way to install drivers is to install the HTC sync for the one x
Sent from my HTC One X using xda app-developers app
treebill said:
Copy fastboot folder to a usb and copy to new computer.
Fastest way to install drivers is to install the HTC sync for the one x
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Thanks treebill!

I think my HTC one x is bricked please help me

Hi guys
yesterday i unlocked the bootloader and flashed Insecurebootandroot. after flashing it i accidentally pull the ubs cable out of the computer, before the SU files get installed. From then on i started to panic and started looking up for the solution. so i flashed the stock recovery but it didnt work. i tried clear cache, it didnt work. then i found the disaster recovery and followed the instructions. i tried to find the RUU for my phone but i cant find it from endeavoru shipped rom list.i dont know what to do now. my phone is relocked and it says security warning on the fastboot screen. radio is 1.1204.105.14. i dont know what i should do now? or can someone please get me the RUU 2.17.862.2?:crying:
all i know about my phone is that the image version is 2.17.862.2 and it is VODAP021. please please please help me with my phone
I can help you reunlock and flash recovery but did you make a back up when you unlocked
Sent from my HTC One X using xda premium
joewong1991 said:
I can help you reunlock and flash recovery but did you make a back up when you unlocked
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
im a noob so i didnt know how to make a backup before rooting
Ok we will just go straight to a stock Rom then do you still have your unlock key from htcdev
Sent from my HTC One X using xda premium
suminkim90 said:
Hi guys
yesterday i unlocked the bootloader and flashed Insecurebootandroot. after flashing it i accidentally pull the ubs cable out of the computer, before the SU files get installed. From then on i started to panic and started looking up for the solution. so i flashed the stock recovery but it didnt work. i tried clear cache, it didnt work. then i found the disaster recovery and followed the instructions. i tried to find the RUU for my phone but i cant find it from endeavoru shipped rom list.i dont know what to do now. my phone is relocked and it says security warning on the fastboot screen. radio is 1.1204.105.14. i dont know what i should do now? or can someone please get me the RUU 2.17.862.2?:crying:
all i know about my phone is that the image version is 2.17.862.2 and it is VODAP021. please please please help me with my phone
Click to expand...
Click to collapse
Re-unlock your bootloader
Flash CWM touch recovery
Flash a custom rom
this will get your phone back up & running whilst giving you the root you were after in the first place.
Sent from my HTC One X using Tapatalk 2
joewong1991 said:
Ok we will just go straight to a stock Rom then do you still have your unlock key from htcdev
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
should i fastboot oem get_identifier_token? or can i check the code with the Unlock_code.bin sent by HTC?
suminkim90 said:
should i fastboot oem get_identifier_token? or can i check the code with the Unlock_code.bin sent by HTC?
Click to expand...
Click to collapse
You can use the same unlock code, use the same bin file, you don't need to generate it all again.
Once unlocked,
Enter fastboot on your phone
Plug into PC (should now say fastboot usb)
Flash CWM touch recovery
CWM touch > http://db.tt/VF9J2eo8
place it in your fastboot folder within Android SDK on your PC
Open command prompt on pc
Default commands are: (first command is different if your pc installation of Android SDK differs from its default location)
CD c:/Android-SDK/platform-tools
fastboot flash recovery CWM.img
---
Then you want to download a custom rom of choice,
You can place the zip files on your phone from within CWM recovery whilst plugged into PC - just select mount usb storage within CWM recovery, and drag them to your phone, then unmount.
Sent from my HTC One X using Tapatalk 2
chrisjcks said:
You can use the same unlock code
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
so i can reunlock at htcdev website(unlock bootloader page) using the same unlock code?
suminkim90 said:
so i can reunlock at htcdev website(unlock bootloader page) using the same unlock code?
Click to expand...
Click to collapse
If you have the unlock code file still, you dont need to go to HTC Dev - just use the same command you used before.
fastboot flash unlocktoken Unlock_code.bin
Sent from my HTC One X using Tapatalk 2
Heres a tool just put the .bin in the unlock key folder open tool and click unlock and same for recovery tthen just flash a Rom
http://forum.xda-developers.com/showthread.php?t=1734365
Sent from my HTC One X using xda premium
chrisjcks said:
If you have the unlock code file still, you dont need to go to HTC Dev - just use the same command you used before.
fastboot flash unlocktoken Unlock_code.bin
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
thank you very much for your help Sir! i followed your instructions and installed Androidrevolution rom. my phone is working as a new. Your a lifesaver!:good:
joewong1991 said:
Heres a tool just put the .bin in the unlock key folder open tool and click unlock and same for recovery tthen just flash a Rom
http://forum.xda-developers.com/showthread.php?t=1734365
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
thank you very much for your help. i really appreciate it :good:
suminkim90 said:
thank you very much for your help. i really appreciate it :good:
Click to expand...
Click to collapse
No prob any time
Sent from my HTC One X using xda premium
suminkim90 said:
thank you very much for your help Sir! i followed your instructions and installed Androidrevolution rom. my phone is working as a new. Your a lifesaver!:good:
Click to expand...
Click to collapse
No problem
I'm relieved some people on here can follow instructions
Sent from my HTC One X using Tapatalk 2
chrisjcks said:
No problem
I'm relieved some people on here can follow instructions
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
Hi, I got in a pretty much similar situation as this man, I got the same one x with all those specnumber like version main is 2.17.862.2. The only different thing is that I just install the nightlies cm 10 and now my phone just keep stuck and spinning at the cyanogenmod screen, I just followed some of the way in other topic and now my phone is bootloader-relocked, and I cant find a away to flash any rom for it to work as I cant see the device in my computer, so cant copy the Rom zip file to install. Can you help me out
samurai1004 said:
Hi, I got in a pretty much similar situation as this man, I got the same one x with all those specnumber like version main is 2.17.862.2. The only different thing is that I just install the nightlies cm 10 and now my phone just keep stuck and spinning at the cyanogenmod screen, I just followed some of the way in other topic and now my phone is bootloader-relocked, and I cant find a away to flash any rom for it to work as I cant see the device in my computer, so cant copy the Rom zip file to install. Can you help me out
Click to expand...
Click to collapse
Ye need to unlock it and and install a recovery do you still have your unlock key from htc
Sent from my HTC One X using xda premium
Thank you!!!!
I had my phone for 3 days, got root and tried to change the font.........BOOTLOOP.
Then I read & read & read & found NOTHING that worked till this.
AWESOME!!!

[Q] Stock Unrooted Desire Z restarting

Hi, I have a Desire Z that keeps restarting itself almost. I can go as far as opening the app drawer before it restarts again. I'm trying to figure out how to fix it or at least recover/backup files from the phone. Can anyone help?
if I flash a custom recovery/root my phone, will that wipe everything on the phone? I am mainly concerned with backing up all my data. The stock recovery shows phone with red triangle, dont know what that means. Please help.
Try starting in safe mode
Sent from my Nexus One using xda app-developers app
demkantor said:
Try starting in safe mode
Sent from my Nexus One using xda app-developers app
Click to expand...
Click to collapse
If i remember correctly you can do this by holding down the S button while booting the device.
Sent from my HTC Vision using xda app-developers app
Tried booting in safe mode, still the same thing. The phone reboots as soon as the launcher is done loading. I think its an issue with either the launcher or there's a conflict in android/sense which is causing a crash. Still trying out different things.
Edit:
Since I have never recieved OTA update for this phone, I believe I'm still on RUU_Vision_BellMobility_WWE_1.34.666.1_Radio_12.28 b.60.140e_26.03.02.18_M2. I have adb set up, is there a way to confirm I can safely S-OFF/root?
Edit 2:
Did a factory reset - no changes, still rebooting
Edit 3:
Seems like USB debug is not turned on my phone, I tried my gt-i900 and can see it using adb devices but not when i plug in my Desire Z
Edit 4:
While in stock recovery, I have a phone with a red triangle, and adb shows device as offline. At least I can confirm that adb is working with my DZ. Now to figure out how to push files to it
After the factory reset you won't get any of your data back, but you need an os so you can root. Find the latest ruu for your phone and fllash it through fastboot or bootllader as a pc10img
Sent from my Nexus One using xda app-developers app
demkantor said:
After the factory reset you won't get any of your data back, but you need an os so you can root. Find the latest ruu for your phone and fllash it through fastboot or bootllader as a pc10img
Sent from my Nexus One using xda app-developers app
Click to expand...
Click to collapse
Can I flash the ruu from an external sd because I cannot copy to the internal memory as the phone doesn't stay on long enough. Thanks
Nope, but you can use fastboot
Sent from my Nexus One using xda app-developers app
demkantor said:
Nope, but you can use fastboot
Sent from my Nexus One using xda app-developers app
Click to expand...
Click to collapse
is fastboot the same as adb? for example, when using gfree do i just replace adb push with fastboot push?
Edit: Nvm, figured it out, now I need to find the proper RUU for my phone, which one should i be using?
Edit: Stupid question above, I already mentioned which ruu i was using so I'll try to flash that. brb
Nope, adb is similar to fastboot but different, read my thread on it as if you own any HTC phones (and various others) its a must to learn. You'll find it here in the general section
You will use fastboot not to root but to flash the latest ruu as you need to have adb access and this means you'll need an os that's working.
fastboot oem rebootRUU
This is the command you will run in cmd or terminal but read up on my thread to understand more
Sent from my Nexus 7 using xda premium
demkantor said:
Nope, adb is similar to fastboot but different, read my thread on it as if you own any HTC phones (and various others) its a must to learn. You'll find it here in the general section
You will use fastboot not to root but to flash the latest ruu as you need to have adb access and this means you'll need an os that's working.
fastboot oem rebootRUU
This is the command you will run in cmd or terminal but read up on my thread to understand more
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I read your thread, very helpful. I had one question though, do i need an oem ruu to run the command fastboot oem rebootRUU? I'm just confused as to whether I need to root first, flash the hboot, or flash the ruu. I also have the stock recovery so when do i flash the cwmr?
1st you need the ruu, I believe nipqer has most on his server found in one of his threads. You will use fastboot to flash this. This will rewrite all your firmware and software and hopefully produce a functional os so you can get adb access
Once this is done, follow the xda wiki to root your phonephone
Sent from my Nexus One using xda app-developers app
demkantor said:
1st you need the ruu, I believe nipqer has most on his server found in one of his threads. You will use fastboot to flash this. This will rewrite all your firmware and software and hopefully produce a functional os so you can get adb access
Once this is done, follow the xda wiki to root your phonephone
Sent from my Nexus One using xda app-developers app
Click to expand...
Click to collapse
Finally! Phone boots up and I have adb access. Followed the instructions (ran into some trouble with chmod command returning "Operation not permitted" - had to start all over again with fastboot flash oemRUU) and now I'm rooted. Time to install some custom roms. Thanks demkantor, your fastboot tip and thread got me through this!
I'm glad you're up and running! I suggest to check out my is this a brick thread as it may help know what to look for if you run into trouble in the future
Either way, happy flashing!
Sent from my Nexus One using xda app-developers app

HTC one x stock ROM needed ASAP PLEASE

I have unlocked my bootloader and installed cm10.1 on my HTC one x. I forgot to make a recovery for my ROM and cannot find a working stock ROM. I am from the UK and my HTC one x was locked to three, I got a code to unlock it so it would work on O2-UK. Does anyone know of a stock recovery Rom so I can re store my phone? The reason why I cannot use cm10.1 on my one x is because I get a error saying "the process com.android.phone has unexpectedly stopped" every time I press ok to get rid of it, it comes back over and over. Anyone know or suggest why? (THE CM10.1 MOD IS THE NIGHTLY VERSION) thanks
Sent from my HTC Wildfire using xda app-developers app
Wipe data... Manually format /system from custom recovery and then flash CM10.1 again! and also make sure you flash the boot.img again!
If you want to go full stock, then post the result of the following:
Code:
fastboot getvar version-main
Thanks, how do I flash the boot.img please?
Sent from my HTC Wildfire using xda app-developers app
LDH2K10 said:
Thanks, how do I flash the boot.img please?
Sent from my HTC Wildfire using xda app-developers app
Click to expand...
Click to collapse
You need fastboot folder : http://d-h.st/8Jr (Download it and extract the Fastboot folder in your pc)
HTC Sync Manager (For the latest drivers) : http://www.htc.com/www/support/software/htc-sync-manager.aspx (Skip it if you already have)
Now boot your phone to fastboot mode by pressing Power and Volume Down button together till you reach bootloader screen. Now select fastboot from the screen.
Open the cm10.1rom.zip file and extract the boot.img from it place it in the fastboot folder.
Connect your phone to your PC and then go to fastboot folder and open a cmd window there (Pressing shift and right click)
Now run the following commands:
Code:
fastboot erase cache
fastboot flash boot boot.img
fastboot erase cache
Now go to recovery, wipe data/cache/dalvic and then flash rom.zip and then gapps.zip and REBOOT!
Okay thank you I will try this later, hope it works
Sent from my HTC Wildfire using xda app-developers app
LDH2K10 said:
Okay thank you I will try this later, hope it works
Sent from my HTC Wildfire using xda app-developers app
Click to expand...
Click to collapse
If you follow it step by step, it will!
Good Luck!
OMG IT WORKED! I LOVE YOU XD THANK YOU SO MUCH!!!!!
Sent from my HTC Wildfire using xda app-developers app
LDH2K10 said:
OMG IT WORKED! I LOVE YOU XD THANK YOU SO MUCH!!!!!
Sent from my HTC Wildfire using xda app-developers app
Click to expand...
Click to collapse
Greatt!! Enjoy the rom!

Categories

Resources