Htc one x for the Linux operating system software installations do not have any documentation.
- Bootloader Unlock ?
- Recovery install ?
- Root install ?
- Custom roms, etc ... ?
How do we do them with a Linux operating system?
I have fastboot flasher program but she also just have no idea about how to do. I am very curious in this forum, only I'm using linux?
all i know is that i used HTCDev to unlock the bootloader the other day and it said i needed HTC Sync software to do this. HTC Sync is Windows only. according to what it says there, you can't unlock the bootloader on Linux.
I unlocked mine via HTCDev on Linux, no problem. The requirement to have HTC Sync installed is to ensure you have the correct drivers installed for Windows, it's not necessary otherwise.
You just need to have the adb/fastboot binaries. Easiest way is to just install the Android SDK (as recommended on HTCDev), but you can find them floating about elsewhere. Once you've got them the commands are the same regardless of your platform.
Here's a tutorial on installing java, android sdk, adb, and fastboot in linux mint and ubuntu - http://rootzwiki.com/topic/20770-guideinstall-java-android-sdk-adb-and-fastboot-in-linux-ubuntu-and-mint12/ or http://forums.linuxmint.com/viewtopic.php?f=197&t=64860. Here's a tutorial for fastboot commands in linux - http://wiki.cyanogenmod.com/wiki/Fastboot. Here's a tutorial for unlocking your bootloader via htcdev in linux - http://www.droidforums.net/forum/htc-rezound-development/197282-how-unlock-bootloader-through-htc-dev-linux-edition.html
Hi, I have HTC Vision and recovery ClockworkMod Recovery v5.8.1.0 and want to flash a new recovery (4ext). Device isn't recognized by fastboot, but it is recognized by adb. I have Windows 8 and tried to install tons of drivers, but nothing helped. Could you recommend to me which drivers i should install (it doesnt matter if linux, mac or windows) or recommend to me another way how to install new recovery?
Are you in bootloader mode when using fastboot? Here you will find lots of info on fastboot and the vision in general
http://forum.xda-developers.com/showthread.php?t=2348266
Sent from my Nexus 4 using XDA Premium 4 mobile app
GSarge said:
Hi, I have HTC Vision and recovery ClockworkMod Recovery v5.8.1.0 and want to flash a new recovery (4ext). Device isn't recognized by fastboot, but it is recognized by adb. I have Windows 8 and tried to install tons of drivers, but nothing helped. Could you recommend to me which drivers i should install (it doesnt matter if linux, mac or windows) or recommend to me another way how to install new recovery?
Click to expand...
Click to collapse
I have also experienced problems with Windows 8 and Android Drivers. If you work on Linux you shouldn't need any drivers.
For Windows 7 just install HTC Sync from Website and you should be fine (http://www.htc.com/de/support/content.aspx?id=6223).
If you have S-OFF you can install 4EXT with the APK (does not work with S-ON), this link gets you the App http://www.4ext.net/get.php?apk.
I'm currently s-on and unlocked with ARHD 9.2. I can't get any drivers to allow me to be detected in fastboot and I've used multiple USB cords. I'm just wondering if there would be any 4.0+ ROMs that would be compatible with my current boot.img or if there are any alternative methods to flashing my boot.img
I hope you're familiar with Terminal Emulator. Follow below link and get things running.
And yeah,every kernel suppose to be specific for The ROM has designed.
link: http://www.addictivetips.com/mobile/how-to-install-kernels-on-android-phones-custom-roms/
As long as you are S-ON you can install 4EXT Recovery Touch to flash any kernel with smartflash.
You could also try to make your device S-OFF.Try this guide if you like.
Why you can't install drivers for fastboot?
Can you see your phone gets recogniced in device manager?
Just download and install latest htc drivers.(If you download and install htc sync it installs the latest drivers but you have to uninstall sync after installation.It won't remove htc drivers)
If you have win8 you probably have to install drivers manually.
Check how to install unsigned drivers on Windows 8:
[HOWTO] Installing HTC Drivers for adb/fastboot on Windows 8
How to Install Unsigned Drivers in Windows 8 or 8.1
dr.patron99 said:
I hope you're familiar with Terminal Emulator. Follow below link and get things running.
And yeah,every kernel suppose to be specific for The ROM has designed.
link: http://www.addictivetips.com/mobile/how-to-install-kernels-on-android-phones-custom-roms/
Click to expand...
Click to collapse
Gatosbil said:
As long as you are S-ON you can install 4EXT Recovery Touch to flash any kernel with smartflash.
You could also try to make your device S-OFF.Try this guide if you like.
Yes I am and thanks I'll have a look.
Why you can't install drivers for fastboot?
Can you see your phone gets recogniced in device manager?
Just download and install latest htc drivers.(If you download and install htc sync it installs the latest drivers but you have to uninstall sync after installation.It won't remove htc drivers)
If you have win8 you probably have to install drivers manually.
Check how to install unsigned drivers on Windows 8:
[HOWTO] Installing HTC Drivers for adb/fastboot on Windows 8
How to Install Unsigned Drivers in Windows 8 or 8.1
Click to expand...
Click to collapse
I am on Windows 8. It gets recognized but fails to install drivers. I'll see if I can get that going and report back here. Thanks a lot guys!
Hey Devs,
I am running a HTC One M8 H/K from Sprint. I rooted it the week I got it and could not have been happier. A few days ago my 4G stopped working and I tried to install an OTA update but it wouldn't take. I tried to unroot and relock the bootloader but I think I have done some steps out of order. I do not have a recovery anymore although I still think I am rooted. I tried doing some RUU's but none of the .exe's will even start. I tried flashing firmware with a zip as well with the Hansoon's toolkit but I keep getting an error 12.
My fastboot info reads
*** Software status ***
*** Relocked ***
M8_WHL PVT SHIP S-ON
HBOOT-3.19.0.000
RADIO-1.08.20.0916
OpenDSP-v54.2.2-00564-M8974_HM.0811f
OS-3.31.654.2
eMMC-boot 2048
I had CWM PhilzTouch installed as a recovery but I when I select recovery on HBOOT I just get returned to the HBOOT screen. Any help would be greatly appreciated. I'm at wit's end here and know when it's time to ask for help. Thanks in advance.
dommiboy said:
I tried doing some RUU's but none of the .exe's will even start.
Click to expand...
Click to collapse
Do you have HTC Sync, or at least HTC drivers installed? This is required for the RUU to work.
What version of Windows?
dommiboy said:
I tried flashing firmware with a zip as well with the Hansoon's toolkit but I keep getting an error 12.
Click to expand...
Click to collapse
If its not a signed firmware package, it won't flash with s-on.
Do you NEED HTC Sync installed to run an RUU? I've never had it installed on my Windows 7 PC here at work and RUUs work fine but at home on my Windows 8.1 laptop they won't run past the T&Cs
EddyOS said:
Do you NEED HTC Sync installed to run an RUU? I've never had it installed on my Windows 7 PC here at work and RUUs work fine but at home on my Windows 8.1 laptop they won't run past the T&Cs
Click to expand...
Click to collapse
Definitely don't need HTC Sync to RUU (although not sure if you need HTC drivers, or if "generic" fastboot drivers will do). HTC Sync sometimes causes more problems than it solves. But I just mention HTC Sync, as its what most people have installed on their PC after connecting the phone and letting it do its thing automatically. And easy for folks to just Google for HTC Sync rather then finding a link for HTC drivers alone.
I have the HTC drivers on the computer. I'm able to adb commands and I originally rooted using this computer. The computer is running 8.1. When I try running RUU it never gets past the install wizard.
The firmware packages read signed in the filename. I have tried so many I can't even give you the links but I would say 90% came off this forum. I tried all of the base stock non-rooted complete firmware packs I could find.
dommiboy said:
I have the HTC drivers on the computer. I'm able to adb commands and I originally rooted using this computer. The computer is running 8.1. When I try running RUU it never gets past the install wizard.
Click to expand...
Click to collapse
If I knew that I'd tell you! When you get to the T&Cs, open a Run box and type in %temp% and in there, in one of the new folders, will be a zip file called rom. Copy this to your Desktop and flash this in RUU mode (fastboot oem rebootRUU) using htc_fastboot.exe (which I have here - htc_fastboot flash zip rom.zip) and it should work
dommiboy said:
The computer is running 8.1. When I try running RUU it never gets past the install wizard.
Click to expand...
Click to collapse
That may be your problem. RUUs don't play well with Win8.1. Try a Win7 or even an XP machine.
---------- Post added at 02:04 PM ---------- Previous post was at 02:03 PM ----------
dommiboy said:
A few days ago my 4G stopped working and I tried to install an OTA update but it wouldn't take. I tried to unroot and relock the bootloader but I think I have done some steps out of order. I do not have a recovery anymore although I still think I am rooted.
Click to expand...
Click to collapse
What happened when you tried to OTA?
You don't need to relock the bootloader to OTA, nor do you need to unroot. But all system files must be stock (nothing modified by root).
For a vast majority of instances (pretty much everything except trying to run RUU), I don't recommend to relock the bootloader. Its not required for OTA as mentioned, and it puts you in a worse position than UNLOCKED.
Did you try to fastboot flash the stock recovery and install the OTA again (believe you need to unlock bootloader again to do so)? You don't need a firmware zip to do that. Just find the stock recovery for your CID here: http://forum.xda-developers.com/showthread.php?t=2701376
---------- Post added at 02:10 PM ---------- Previous post was at 02:04 PM ----------
dommiboy said:
The firmware packages read signed in the filename. I have tried so many I can't even give you the links but I would say 90% came off this forum. I tried all of the base stock non-rooted complete firmware packs I could find.
Click to expand...
Click to collapse
Are you running firmware for your CID (its required with s-on)? If not, that is why you have error 12 signature fail with a signed file.
Hey Guys. I've been trying a few more things today. I first tried running opening the temp folder with the RUU install shield running but that's all the farther it gets. I never see a rom zip because it never makes it to the T&C's. Next I tried flashing these firmwares with Hansoon's toolkit.
4.20.6.51.10/URL]
[URL="http://forum.xda-developers.com/showthread.php?t=2729173"]3.30.654.2 Full Firmware From OTA/URL]
Both of those failed with a signature failure.
I will try flashing a recovery but I have no idea which one I should try to flash nor how to flash it.
In a final act of desperation for the night I tried to S-off with firewater which I pulled from web archive. I was able to push the file to the device, I had root permissions, I THINK I was able to chmod the file, however when I tried to run the file it just said not found. When I cd into the directory it's nowhere to be found?? I have no idea what happened there. I need to take a break for the evening to keep from physically bricking it into a wall. BTW, my reasoning for trying to S-Off was to use writecid and completely circumvent the signature errors. Maybe it was an okay idea, maybe it wasn't, but it didn't work so that's all that counts
I will try the official HTC RUU exe tomorrow when I have access to a win7 box but after that I really am out of ideas. I do seriously appreciate the help thus far and will greatly appreciate any more! Thank you!
1. Get rid of that Hansoon's toolkit, don't use it
2. Get the correct files from : http://forum.xda-developers.com/showthread.php?t=2729173
a- Sprint_HTC_One_M8_HK_4.20.654.10_RUU (exe)
or
b- 0P6BIMG_Sprint_HTC_One_M8_Harman_4.20.654.10_RUU.zip (zip)
3. Get the htc_fastboot.exe from @EddyOS thread : http://forum.xda-developers.com/showthread.php?t=2735235
You have three options here (all of this need a relocked bootloader, which you already have)
(Note : not sure whether this still valid on newer RUU, use USB 2.0 on your PC regardless Win 7, Win 8.1 or Win 10)
Option 1: Run the RUU.exe
a- relock bootloader
b- boot to bootloader/fastboot usb mode
c- Right click the RUU.exe and select run as Administrator
Option 2: Use the RUU.zip
a- rename the long RUU.zip name to RUU.zip (easier for you to follow commands)
b- relock bootloader
c- use the htc-fastboot.exe instead of the regular fastboot.exe
b- boot to bootloader/fastboot usb mode
c- run below commands
fastboot oem rebootRUU
htc_fastboot flash zip ruu.zip
Option 3 : Try the above 2 options first, keep this option 3 later
dommiboy said:
In a final act of desperation for the night I tried to S-off with firewater which I pulled from web archive. I was able to push the file to the device, I had root permissions, I THINK I was able to chmod the file, however when I tried to run the file it just said not found. When I cd into the directory it's nowhere to be found?? I have no idea what happened there.
Click to expand...
Click to collapse
firewater was discontinued in December. Its an online service, and won't work now that the dev has stopped supporting it.
---------- Post added at 10:34 AM ---------- Previous post was at 10:32 AM ----------
ckpv5 said:
(Note : not sure whether this still valid on newer RUU, use USB 2.0 on your PC regardless Win 7, Win 8.1 or Win 10)
Click to expand...
Click to collapse
AFAIK, USB 3.0 still indeed plays havoc with RUUs and fastboot. But I don't think it would cause the RUU program to stop at terms and conditions, it would probably get stuck at trying to communicate with the device.
Suspect its a Win8 issue.
redpoint73 said:
Suspect its a Win8 issue.
Click to expand...
Click to collapse
I have no problem running RUU with my Win 8.1 64-bit, the only thing is my USB ports are all 2.0
and some Win 8.1 can't detect device when in fastboot mode but that easily can be fixed with a reg file (no need all those 3rd party drivers)
I have issues running RUUs, but both mine are USB 3.0 - but the issue I have is it not even running past the T&Cs. It extracts the files and then does nothing. Windows 7 Pro 64-bit at work works fine
Fastboot works fine (never had an issue with Windows 8.1 Pro), though, and I can flash RUU ZIPs without issue
ckpv5 said:
I have no problem running RUU with my Win 8.1 64-bit, the only thing is my USB ports are all 2.0
and some Win 8.1 can't detect device when in fastboot mode but that easily can be fixed with a reg file (no need all those 3rd party drivers)
Click to expand...
Click to collapse
The issue I've seen with Win8.1 is some C++ files not updated, so it might be build specific. A few users manually updated the appropriate files to get RUUs working.
Agree that checking the USB type (2.0 versus 3.0) is a good call. But I think that would not cause the RUU exe to crash at Terms & Conditions; but rather just get stuck trying to connect to the phone.
---------- Post added at 11:04 AM ---------- Previous post was at 11:02 AM ----------
EddyOS said:
I have issues running RUUs, but both mine are USB 3.0 - but the issue I have is it not even running past the T&Cs. It extracts the files and then does nothing. Windows 7 Pro 64-bit at work works fine
Click to expand...
Click to collapse
Right, that is the issue I've seen with USB 3.0.
Of course, it makes sense for the OP to look at (troubleshoot) every possibility (including USB type). Just trying another computer is probably the easiest fix, as long as they have access.
I'll say I was using USB 3.0 at work on the Win 7 machine, so I think it's just some PCs don't like the RUUs - proper annoying!
Randomly, thought I'd try again but run the RUU in Compatibility Mode as Windows 7 (as Administrator) and it worked fine
firstly you must install the driver and sdk
adb setup and sdk
There is easy way to unlock the bootloader in realme 2 pro using 3 comments only
adb devices
adb reboot bootloader
fastboot flashing unlock
if you facing issues like waiting for devices ,???????? fastboot, press key to shutdown , fastboot is not able to run etc. There is a solution i find and fixed my problem
watch this and download this
and run it the problem must solved
I used sdk platform-tools_r31.0.1-windows.zip(latest sdk)
and adb-setup-1.4.2.exe
(I used the intel android driver maybe helped or not to bypass the problem)
safar144 said:
firstly you must install the driver and sdk
adb setup and sdk
There is easy way to unlock the bootloader in realme 2 pro using 3 comments only
adb devices
adb reboot bootloader
fastboot flashing unlock
if you facing issues like waiting for devices ,???????? fastboot, press key to shutdown , fastboot is not able to run etc. There is a solution i find and fixed my problem
watch this and download this
and run it the problem must solved
I used sdk platform-tools_r31.0.1-windows.zip(latest sdk)
and adb-setup-1.4.2.exe
(I used the intel android driver maybe helped or not to bypass the problem)
Click to expand...
Click to collapse
I have the issue in my case after the 3rd command it says <waiting for any device>.
and unable to resolve the issue after trying above your provided solution.
HELP ASAP
safar144 said:
firstly you must install the driver and sdk
adb setup and sdk
There is easy way to unlock the bootloader in realme 2 pro using 3 comments only
adb devices
adb reboot bootloader
fastboot flashing unlock
if you facing issues like waiting for devices ,???????? fastboot, press key to shutdown , fastboot is not able to run etc. There is a solution i find and fixed my problem
watch this and download this
and run it the problem must solved
I used sdk platform-tools_r31.0.1-windows.zip(latest sdk)
and adb-setup-1.4.2.exe
(I used the intel android driver maybe helped or not to bypass the problem)
Click to expand...
Click to collapse
Holy cow! It worked! You're awesome dude!