The key to unlocking your HTC Device - HTC One X

anyone know what program i need to open the email?says windows can't open this file

You don't open the attachment. You need to flash it.
You need fastboot then flash the unlock bin.
See guide here:
http://forum.xda-developers.com/showthread.php?t=1592355

Related

FAILED S-OFF with AlphaRev

Hello evrybody,
Let me explain you the problem
Current configuration: HTC Desire (Bravo) PVT1 (ship s-on)
Baseband/Radio 32.54.00.32U_5.14.05.17
Rooted with unrEVOked v3
ROM LeeDroid v2.4.1
HBOOT v0.80.0000
I tryed to s-off my phone with AlphaRev v1.8 using VirtualBox v4.0.6 (with usb 2.0 support add-on installed) under Windows 7 Pro x86 with SP1.
For some (unknown to me) reasons it didn't worked for me....
Current situation:
- Impossible to boot the OS - blank htc screen
- In Bootloader menu ("Power"+"Volume down") when trying to enter Clockwork Recovery Mod sometimes phone rebooting 4 times and sometimes it make 7 fast vibrations but anyways dropes me to blank htc screen...
- While I'm in Bootloader and connected through USB to PC, I can see that in Device Manager - Android Phone - Bootloader Interface detected (drivers OK)
Please help me.....
Did you ask on the alpha rev irc channel?
Since your phone is still able to start the bootloader, you should be able to get it back up running using fastboot.
Step1: Download some stuff.
- An image of your favorite recovery tool. I'm using clockworkmod recovery.
http://forum.xda-developers.com/showthread.php?t=1039954&highlight=clockworkmod
You want the .img file.
- The Android SDK. Use Google =)
Step2:
Start the SDK Manager and download the SDK Tools and SDK Platform Tools. You now should have a "fastboot.exe" in the "tools"-folder.
Step3:
Connect your phone via usb, boot up the bootloader, and enter fastboot mode.
Step4:
Open a command line window using shift+right click in the folder where fastboot is. Launch "fastboot.exe devices". This should list your device. If not, Download the USB Driver Package using the SDK Manager and install the fastboot drivers. Windows might start whining about not being able to find the driver, but its definitely there. If fastboot.exe fails to start, you might need to copy it to the platform-tools folder and/or run cmd.exe using administrator privileges.
Step5:
Copy your recovery image to where fastboot.exe is and execute "fastboot.exe flash recovery <yourrecoveryimage>"
Further Steps:
You should now be able to boot into recovery and install roms.
You can also try to flash hboot using fastboot. If this fails, you got a handy $400 mirror to put in your pocket. You've been warned
Download a suitable image from alpharev (i think you want to go with the stock s-off hboot - that one with 250MB system) and flash it using "fastboot.exe flash hboot <hbootimage>" like described above.
Hope that helps.
godutch said:
Did you ask on the alpha rev irc channel?
Click to expand...
Click to collapse
Thank you for you advice!
Yes, they provided me a huge support and despite my desperate case I will probably solve my problem very soon ----> GOLDCARD
I tryed to get back to original stock rom with a zip file but failed because didn't found my rom zip on google (ver.1.22.73.1)
when tryin to s-off use cyanogenmod 7 rom to s-off thats wat i was told and worked a charm
rearwheeldriver said:
Since your phone is still able to start the bootloader, you should be able to get it back up running using fastboot.
Step1: Download some stuff.
- An image of your favorite recovery tool. I'm using clockworkmod recovery.
http://forum.xda-developers.com/showthread.php?t=1039954&highlight=clockworkmod
You want the .img file.
- The Android SDK. Use Google =)
Step2:
Start the SDK Manager and download the SDK Tools and SDK Platform Tools. You now should have a "fastboot.exe" in the "tools"-folder.
Step3:
Connect your phone via usb, boot up the bootloader, and enter fastboot mode.
Step4:
Open a command line window using shift+right click in the folder where fastboot is. Launch "fastboot.exe devices". This should list your device. If not, Download the USB Driver Package using the SDK Manager and install the fastboot drivers. Windows might start whining about not being able to find the driver, but its definitely there. If fastboot.exe fails to start, you might need to copy it to the platform-tools folder and/or run cmd.exe using administrator privileges.
Step5:
Copy your recovery image to where fastboot.exe is and execute "fastboot.exe flash recovery <yourrecoveryimage>"
Further Steps:
You should now be able to boot into recovery and install roms.
You can also try to flash hboot using fastboot. If this fails, you got a handy $400 mirror to put in your pocket. You've been warned
Download a suitable image from alpharev (i think you want to go with the stock s-off hboot - that one with 250MB system) and flash it using "fastboot.exe flash hboot <hbootimage>" like described above.
Hope that helps.
Click to expand...
Click to collapse
Thank you for this solution it could resolve my problem but I can't push .img files to my phone through fastboot because my device still S-ON...
daddyspud said:
when tryin to s-off use cyanogenmod 7 rom to s-off thats wat i was told and worked a charm
Click to expand...
Click to collapse
Ok. So I will try install cyanogen after rooting my phone. And then try s-off.
Thank you
Use Cd method, it's the better method
Sent from my HTC Desire using XDA Premium App
SOLVED!
---> http://forum.xda-developers.com/showthread.php?t=1087164

[Q]How to flash RUU

How to flash Ruu ?? I have S-off rooted using infra ROM an overclocked I want to update my radio firmware. Bcoz getting poor battery can any one give me a guide plss..
thanks in advance
Sent from my HTC Wildfire S using XDA Premium App
Just run the exe file.............connect you phone and follow the instructions.......
Is it that hard that you had to ask???
It's not that simple. Here's what you need to do:
Charge the battery above 50%.
Relock the bootloader using the following command:
Code:
fastboot oem lock
Then boot the phone into bootloader and select Fastboot using the volume rocker and pressing power. Then connect the USB cable. You should see FASTBOOT USB.
Run the RUU from Windows and follow the wizard. You may have to extract and re-flash the stock recovery from the RUU for it to work, I don't remember.
Once the install is done you'll have unlock the bootloader again using the token you already have from the first time, reflash cwm recovery and re-root. All this will be 10x easier than the first time.
No its not the thing of hard I'm a bit scared to try the attempt.bcoz my one friends phone got bricked while trying this I don knw wat wrong step he did so I don WAN my phone to get brick like tat simple.
Q. I jus WAN a proper guide guys could any one help
Thanks for reply friends
Sent from my HTC Wildfire S using XDA Premium App
Thanks dude
But one doubt mine is already unlocked bootloader. Aft flashing it ill get locked r wat ??
Sent from my HTC Wildfire S using XDA Premium App
I'm not sure what you are saying. If you unlocked the bootloader with HTC dev then you must relock it before flashing. Either way it will be locked after.
how do I relock the boot loader, I've gone to terminal emulater typed in fastboot oem lock but it comes up with fastboot not found.
thanks.
Sent from my BlackBerry Runtime for Android Apps using Tapatalk 2
Boot the phone into HBOOT, select FASTBOOT with the volume rocker and press the power button. It will turn red. Then plug it into your computer with the USB cable and it will say FASTBOOT USB.
Open a command prompt and type in the command.
CafeKampuchia said:
Boot the phone into HBOOT, select FASTBOOT with the volume rocker and press the power button. It will turn red. Then plug it into your computer with the USB cable and it will say FASTBOOT USB.
Open a command prompt and type in the command.
Click to expand...
Click to collapse
where am i opening command prompt ? and whats the full path ? CMD in windows 7 ? or am i missing something ?
CMD in Windows 7 and navigate to the folder you have install Android SDK tools. Then enter the command.
CafeKampuchia said:
CMD in Windows 7 and navigate to the folder you have install Android SDK tools. Then enter the command.
Click to expand...
Click to collapse
#
OK i did that and it now says RELOCKED Yay!
But when i try to install the RUU update it gets halfway through and says failed
is this because i have CWM and root still going ?
Do i need to clear Root, Remove CWM as well as relocking the bootloader ?
im sorry to keep mithering you
OK, you have to revert to the stock recovery. While the RUU wizard is open, find the temporary folder it created. (Open Explorer in windows and type %temp% in the navigation bar.) There will be two folders with long encrypted names. In one of them you will find ROM.zip. Open it with 7zip and extract recovery.img. Flash it from FASTBOOT USB (like before) using the command
Code:
fastboot flash recovery recovery.img
Then re-run the RUU and it should finish.
CafeKampuchia said:
OK, you have to revert to the stock recovery. While the RUU wizard is open, find the temporary folder it created. (Open Explorer in windows and type %temp% in the navigation bar.) There will be two folders with long encrypted names. In one of them you will find ROM.zip. Open it with 7zip and extract recovery.img. Flash it from FASTBOOT USB (like before) using the command
Code:
fastboot flash recovery recovery.img
Then re-run the RUU and it should finish.
Click to expand...
Click to collapse
Thanks for those great directions.. worked PERFECT!

Idiots guide

SOLVED SOLVED SOLVED
Hi All
Is there anyone willing to help me recover my phone (presently stuck on logo screen). I've looked at various solutions posted on different forums but I just get confused.
So what I would like is idiots guide on how to do it, including how to write the commands codes so I can flash the updated CWM rom. Tried to work it out but everything I've tried keeps failing and I desperate to get my phone working again.
Please please help
Tell us what you have done so far m8 and the reason for it being stuck. At a guess did you flash the boot.img when installing a Rom?
To install or update recovery, go here and follow the instructions on the second part "Installing A Recovery" Just follow the steps its pretty easy.
http://forum.xda-developers.com/showthread.php?t=1592355
Flash the appropriate boot.IMG for your rom
Sent from my HTC One X using Tapatalk 2
hmmm
Thats what i've trying to do but I can't seem to work out what cmd codes I need to get it to work. All I get is:
'Downloads\OneXRoot' is not recognized as an internal or external command
operable program or batch file.
This error message on everything I try to do incuding flashboot, flashboot recovery etc
Tried micks solution and all it did was open Nero gggrrrrrr
And yes I did flash a boot image but i'm trying to get the updated one onto my phone but because my battery won't charge it proving to be a nightmare
From the link I posted do as the guide says re making a folder called fastboot on C: and then download the files and extract them to fastboot. Replace the end of the guide with instructions for flashing a boot image. The boot.img is usually in the zip of the rom. So you need to extract the boot.img and place it in your C:\fastboot folder
It should go something like this. Use C:\ not Downloads\OneXRoot
1. Download These Fastboot Files
2. Make a new folder on your C: drive called fastboot.
3. Extract The Zip downloaded in step 1 to the new folder
4. The Official Version of CWM has been released and is now capable of flashing all roms, you can grab it HERE
5. download the custom recovery and save it in the same folder as you did the fastboot files
6. Power Phone Off by Holding power button for 10 secs
7. select Fastboot with volume + or - then press power
8. plug your phone into your PC and open a Command Prompt.
(windows XP - Click Start > Run > type CMD in box then press OK
(Windows 7 - Click Start > type CMD in search box then press Enter)
9. cd to your fastboot files folder cd c:\fastboot
10. Then enter fastboot flash boot boot.img and hit enter
11. fastboot erase cache is recommended if you have booting issues
reboot
ignore steps 4 and 5, copy and paste from above link
Going to buy a new phone
Followed your instruction to the letter but it failed to work. I think the problem is with my computer not recognising fastboot and the solution also failed. So I think i'm just going to buy a new phone and thanks for all your help
No need to buy a new phone, stick with it, you'll get there
Maybe give this a try. It does everything for you
http://forum.xda-developers.com/showthread.php?t=1734365
Nice
Thanks thats a solution that will work once I find away to charge my battery. You have been a legend.
Cant you just put it in to recovery or leave it on the hboot screen, then plug in to a wall charger?
In Q&A, find the topic "flashing boot.img hoooooooow????" Or something, and at second side, u have my guide to flash boot.img files. Hope it works.
Sent from my HTC One X using xda app-developers app

HTC 10 - OEM Unlocked - TWRP Recovery - SuperSU Rooted - Sunshine S-OFF

I had the hardest time figuring out the whole unlock, root and install ROM on my HTC 10. The biggest issue was that I encrypted my phone, and most guides did not take that into consideration. After consolidating all my notes from multiple sources on the interweb, here's what I have.
GOAL: To have an HTC 10 that is OEM unlocked, custom recovery on board, rooted and has S-OFF setting. This will allow for most flexible customization of software and ROM choices. This may affect your warranty, so proceed with caution.
ASSUMPTIONS: This guide is for an American stock T-Mobile HTC 10 phone with a separate microSD card. It may work with other carriers or countries, but I honestly don't know for sure. This is also written for a Windows PC with access to microSD. You have time and $25 to spare. Money is for a certain unlocking app; not for me. You understand the meaning of bootloader unlocked, custom recovery, rooted, S-OFF and custom ROM. Please look elsewhere for what these mean. They are not synonymous.
GENERAL STEPS:
Prepare stock phone for unlocking and rooting
OEM unlock the phone
Install custom recovery software
Backup stock phone image
Install root access software
Install S-OFF software
Install custom ROM
Download required software
Create folder C:\android
Download and install HTC Hotsync Manager to recognize the device by USB.
Download Google's Android Platform Tools. Unzip and place files in C:\android. Unless you want to waste 4GB of time and storage, you can also download the full Android Studio.
HTC's custom fastboot.exe will be downloaded later on.
Download latest TWRP for HTC 10. Copy file into C:\android
Download latest SuperSU. Copy file into C:\android then copy it to the microSD card.
Download latest Sunshine. Copy file into C:\android then copy it to the microSD card.
Download ROM zip file
Pick a ROM to download. Can get custom ones as listed in xda forums page. Copy ROM zip file into C:\android. If you pick a custom ROM, disregard the rest of this section.
Or pick a stock HTC ROM from website. Can pick most recent ROM for specific carrier or the Unlocked/Developer ROM.
To extract ROM zip file from *.exe, do the following.
Download Microsoft Process Monitor. Unzip folder and run program.
Press CTRL-L to set proper filters: "Process name", "is", [name of ROM with .exe] > click Add; "Path", "contains", "rom.zip" > click Add > Click OK
Run the ROM exe. Do not "install" it. Just run the program to start the "process". Go back to Process Monitor and look for the temp folder that the installer extracted the files to.
Go to the temp folder above that contains the rom.zip. Copy this to C:\android
Close the ROM exe install program.
Get CID for the HTC ROM. Open multi-volume zip archive via Winrar. The usual Windows zip cannot open multi-volume archives. DO NOT extract the file. But find the text file within the ROM zip archive that contains CID, and write it down for later (just keep opening text files; some will be errors; some will open; it'll be obvious). The phone's CID and the ROM's CID must match (more on this later).
Prepare stock phone for unlocking and rooting
Save/backup everything to the cloud or microSD. All data will be deleted with this process!!
Turn on Developer options: Settings > About > Software information > More > tap "Build number" many times until you see "You are now a developer".
Settings > Developer options > check "OEM unlocking", check "USB debugging"
Reboot to Download Mode via Volume-Down+Power. Do not let go of the buttons until you see the gray HTC on a black screen (otherwise won't boot to Download Mode).
HTC OEM Unlock The Phone
Go to HTCdev website. They have screwy SSL certificate and port forwarding. You will have to create a login; and so I recommend making sure it is https -- unless you don't care. Click on Unlock Bootloader and select HTC 10. Go through all the usual prompts.
No need to download all the files on the right side panel. They were already downloaded up above.
Be sure to download the HTC Windows fastboot.exe in Step 4. In C:\android rename Google's version to fastboot-google.com and then unzip and place HTC's version into this folder.
Plug in phone (make sure it is in Download Mode) to PC.
Open command prompt. Press WINDOWS+R and type cmd. In command prompt type cd \android
In C:\android> type fastboot oem get_identifier_token
As the HTCdev website shows, copy all the text between (and including) <<<< Identifier Token Start >>>> and <<<<< Identifier Token End >>>>> into the appropriate part of the website. Make sure the extra text/characters are not included (see example from HTCdev site).
Go to email and download Unlock_code.bin sent by HTCdev. Save this file to C:\android>
In C:\android> type fastboot flash unlocktoken Unlock_code.bin
Press Volume-up or -down on phone and select YES for OEM unlock.
Allow phone to reboot and do a factory reset.
After factory reset, reboot to Download Mode via Volume-Down+Power
Flash TWRP Custom Recovery Software to Phone and Prepare for SuperSU
In C:\android> type fastboot flash recovery [twrp-file-downloaded-above]
After flashing TWRP, you MUST do a hardware reboot by pressing Volume-Down+Power. If you allow reboot by any other method, phone will erase TWRP. For example, do not use adb or fastboot to reboot at this point.
Use Volume-up and -down buttons to highlight reboot to bootloader and press Power button to select it; then do the same for boot to recovery mode.
TWRP now loads
If you happen to have encrypted your phone, you MUST enter your password here. To get phone rooted, a file needs to be created in /data/ folder. This folder can only be accessed by TWRP after putting in encryption password.
If your phone is not encrypted, TWRP should not ask for a password.
Swipe right to access TWRP (cannot use TWRP in read-only mode, if you want it to do anything to the phone ... duh).
Go to Advanced > Terminal
In # type echo KEEPFORCEENCRYPT=true >> /data/.supersu
Backup Working Phone System Image
Unless you've done this before, you will likely miss a step or two. Doing so may end up with a bootloop or other error where you can't get to a user interface. Backing up your system now is a MUST.
While in TWRP, go to Backup. Select all the folders. Rename the file to something meaningful to you. Be sure it saves to microSD card.
Now do the back up.
Install SuperSU Root Access and Prepare for Sunshine
While in TWRP, go to Install.
Select the microSD and then the most recent SuperSU file you copied there earlier.
After install, select Reboot. If phone is encrypted, you will be asked to enter password, and it will likely reboot another time or two.
After phone boots up, load the SuperSU app and go through all the prompts.
Go to Settings > Security > check "Unknown sources"
Install Sunshine S-OFF App
Go to Settings > Storage > sd card (e.g., "New Storage") > select sunshine-latest.apk
Run Sunshine app
Select Grant when SuperSU pops up. If you see this pop up, your phone was successfully rooted.
Pay Sunshine $25. If you want S-OFF, I don't know of any alternatives.
Go through all prompts. Phone will likely reboot. This is part of the process. If Sunshine does not load after reboot, then load it up again and go through all the prompts. You'll have success, once the phone automatically turns off.
Turn on to Download Mode via buttton combo. This will confirm if phone is UNLOCKED and S-OFF
If you will be changing your CID later on, note all settings here (including CID) and save in case you want to revert to this state.
Alternatively, you can get the CID and MID by fastboot.
Connect phone (make sure in Download Mode) and connect to PC. In C:\android type fastboot oem readcid and then fastboot getvar mid
Install Custom ROM to HTC 10 Phone
If you used a custom ROM from the usual sources via XDA, then follow their instructions. Disregard the rest.
DO NOT perform the steps below unless the ROM is from the official HTC ROM website above for HTC 10.
For using HTC Unlocked/Developer ROM, you must change your phone's CID. If the CID on your phone does not match the ROM CID, then you will see an error before ROM installation begins.
Plug in phone (while in Download Mode) to PC
Note CID in HTC ROM text file above. It should have been BS_US001
The following step requires S-OFF. The $25 step above.
In C:\android type fastboot oem writecid [cid-code-eg-BS_US001]
Rename HTC ROM in C:\android to 2PS6IMG.zip. Copy file to microSD.
Reboot to Download Mode.
Press Volume-Up to install HTC ROM
After HTC ROM installation, TWRP recovery and SuperSU will be overwritten.
Reinstall TWRP as above.
Reinstall SuperSU as above.
Consider back up of system via TWRP onto microSD after completing all custom ROM installation, recovery flashing and rooting.
And you're done. Congrats!!
These days you'll have a better time using Magisk than SuperSU for systemless root and it'll allow you to use Android Pay as well.
Does this process remove the carrier SIM lock as well?
Sent from my HTC 10 using XDA-Developers Legacy app
Simpody said:
Does this process remove the carrier SIM lock as well?
Click to expand...
Click to collapse
No, Sunshine (nor any other app that I'm aware of) has any function affecting SIM lock. Sometimes there are other ways to hack that ability but I've never had to do it so I don't know where to suggest.

[How To] Unlock Bootloader, Install Recovery and Root

Everytime I have to unlock,flash recovery and root I can't remember how to do it....
So I'm writing this very easy guide.
First off get the One X drivers from here:
https://forum.xda-developers.com/showthread.php?t=2217384
These are old drivers as HTC have stopped including them in HTC Sync.
Download Android SDK Slim from here:
https://mega.nz/#!8tETTbga!iVOYHGwT7SYV9s9AKqT6hukX-odb7PNuQCrX6zJxpwQ
Unzip it anywhere you like, desktop's easy but it can be anywhere...
Go to https://www.htcdev.com log in click on Get Started then Unlock Bootloader and choose All Other Supported Models from the dropdown.
Click Yes and Tick the two boxes for all the legal stuff.
Now go into your One X Phone Developer Settings and switch on USB debugging.
Next go to Power settings and switch off Fastboot.
Then connect the phone to your PC via USB cable.
Allow your PC to recognise it and download any stuff it wants to.....
Go make a cup of Tea while this is happening.
Next go to your SDK folder, wherever you ended up putting it, click through to the Platform Tools folder where you will see ADB and Fastboot.
Hold down Shift and Right Click anywhere in the folder, choose Open Command Window Here.
In Command Window Type: adb reboot bootloader
Your Phone will boot into Bootloader
Keep the Command Window open...from now until the very end!!
That has just skipped all the 4 Steps on the HTC Dev site!!!
Proceed to Step 5
Now in the Command Windows Type: fastboot oem get_identifier_token
You will see a long block of text. Copy and paste this text into the the token field on the HTC Dev site. Right Click choose Mark and highlight the square bit of code then press Enter to copy.
Paste that into the My Device Identifier Token
HTC will email you a little Unlock_code.bin file within seconds (Check your Junk folder)
Then copy or move the token to the Platform Tools folder.
Back to your Command Window which should still be open!!
Type: fastboot flash unlocktoken Unlock_code.bin
Now follow the instructions on the Phone....
The phone will Unlock the bootloader....
And Reboot your phone....
You need to go back to settings and switch on USB Debugging and switch off Fastboot (See start of tutorial)
Make sure you are still plugged into your PC
In Command Window Type: adb reboot bootloader and your phone will go back into the Bootloader screen.
Next go here: https://twrp.me/Devices/HTC/
Choose your One X and download an early version of TWRP as the newer ones need the old ones to be installed!!
The One X comes in different flavours so make sure you get the right one for your model....
For sake of argument say I downloaded this file: twrp-2.4.4.0-endeavoru.img
Place that file in the Platform Tools folder
Then in Command Window type: fastboot flash recovery twrp-2.4.4.0-endeavoru.img
This will install your TWRP Recovery!!!
Excellent...now you can unplug from your PC and boot into Recovery.
In TWRP select Reboot and it will ask you if you want to install SuperSU.
You do, swipe the screen and your phone will Reboot into the Operating System.
From there open the Super SU app and update your Super User Binaries...
And that's how to Unlock the Bootloader, Install TWRP Recovery and Root....
EASILY!!!!
:silly::silly::silly:
Hit Thanks if its Helped You!!

Categories

Resources