yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Q&A, Help & Troubleshooting] car_lost:
So I rooted my KF a day or so ago and didn't follow the directions entirely. I ended up bricking my KF. Eventually I was able to unbrick it and got it back to stock.

I would like to try rooting it again using the KFU (which is what I used the first time), but the KFU won't find my KF.

I installed the drivers and after I plug in my KF, it shows up in my Device Manager under 'Disk Drives' and it is named 'Amazon Kindle USB Device.' Is this correct?

I have removed the drivers and reboot both my computer and KF, re-installed the drivers and the same thing happens.

Something to note... when I uninstall the drivers and plug the KF back into my computer, the drivers install by themselves. I remember the first time I plugged my KF in, the drivers were not found and would obviously not install. I had to manually install the drivers included in this utility in order for my computer to 'find' my KF.
[Kindle Fire Q&A, Help & Troubleshooting] Mattb4rd:
I'm having the same problem.

In the device manager, you should see Android phone or some such near the top, as well as the drive you mentioned.

I tried to root my KF yesterday on 4 different Windows machines using 4 different OS's: Windows 7 Professional, XP Professional, XP and Vista. (Yes, I stil have a Vista machine)

No joy. <Waiting For Device> _

Matt
[Kindle Fire Q&A, Help & Troubleshooting] kinfauns:
This might help both of you...

http://xdaforums.com/showthread.php?t=1552547

Post #2 deals with driver installation, but it might not hurt to read #1 before you get to that.

Good luck.
[Kindle Fire Q&A, Help & Troubleshooting] car_lost:
Yup, I've done all that.

One thing that doesn't happen for me anymore is this step when I remove/uninstall the drivers:

Check the "Delete the driver software for this device." box and press "OK"
[Kindle Fire Q&A, Help & Troubleshooting] kinfauns:
Is this on Windows XP?

"Disk drives - Amazon Kindle USB Device" is not what you should be worried about. That just lets you mount the sdcard on Windows.

You should be seeing something under "Android Phone" or "Other devices" in the Device Manager. That's the device that needs the ADB drivers.
[Kindle Fire Q&A, Help & Troubleshooting] car_lost:
Windows 7.

Nothing comes up under Android Phone. There is no 'Android Phone' in Device Manager and there is also nothing that says 'Other Devices.'
[Kindle Fire Q&A, Help & Troubleshooting] kinfauns:
On a stock device, booted up to the OS... some device in a category other than Disk drives or Portable Devices should come up when you connect it to your computer. I've never seen a situation where that did not happen. If you have another computer, I would suggest trying that.
[Kindle Fire Q&A, Help & Troubleshooting] b63:
is there a device named "kindle" ? - if yes delete it and try to unplug/replug

if this don't help try to use this method to show devices that are not connected atm:

http://www.petri.co.il/removing-old-drivers-from-vista-and-windows7.htm

disconnect the kf and remove everything with adb or kindle

take care that you uninstall the driver too where you get the option to do this

now reconnect the kf - it should ask for the drivers like at the first connection
[Kindle Fire Q&A, Help & Troubleshooting] car_lost:
I'm formatting my computer and starting from fresh. Fresh copy of Windows 7 and a stock KF.

I'll report back.
[Kindle Fire Q&A, Help & Troubleshooting] Mattb4rd:
regrouping

I'm going to regroup and try again as well and try again this evening. I've tried all of the above with no success.
[Kindle Fire Q&A, Help & Troubleshooting] b63:
maybe this one can help:

http://xdaforums.com/showpost.php?p=22342376&postcount=6
[Kindle Fire Q&A, Help & Troubleshooting] Mattb4rd:
Already had tried that but did again for good measure. The driver installs as before but the KFU still hangs on "oops, something went wrong" and <waiting for device>

and

Out of time right now and have to leave for a meeting. Will give it one more shot later.
[Kindle Fire Q&A, Help & Troubleshooting] b63:
you need two drivers:

driver (under android phone):

normal & recovery boot: -> android composite adb interface

fastboot: -> android adb interface

according to your screenshot the kf is not recognized by adb

what are the status lines if you start kfu ?

should look like:

ADB Status: Online

Boot Status: 4000
[Kindle Fire Q&A, Help & Troubleshooting] car_lost:
So I did a fresh install of Windows 7, plugged in the KF and the same damn thing is happening. I'm gonna throw this thing against the wall.
[Kindle Fire Q&A, Help & Troubleshooting] car_lost:
This is what I get...
[Kindle Fire Q&A, Help & Troubleshooting] car_lost:
previous pic doesnt seem to be working..
[Kindle Fire Q&A, Help & Troubleshooting] kinfauns:
You're in an unusual spot... I figured a new Windows install would get it to work. In my opinion, if you can rule out Windows 7 as the problem, you're going to have to start looking at the KF as the possible cause. I haven't had stock on my device in a while, but if I was in your shoes... I would try a factory reset. Maybe even try to get it to reflash the stock software. I think you can download the KF software from Amazon, rename it update.zip and put it at the root of /sdcard or /sdcard/kindleupdates and reboot to initiate a flash.

If none of that works, you might want to build/buy/borrow a factory cable. Then you can flash a new bootloader/recovery and try a ROM to see if you can get adb working with that.
[Kindle Fire Q&A, Help & Troubleshooting] car_lost:
this worked! This worked! This worked! This worked! Thank you a million times!!
[Kindle Fire Q&A, Help & Troubleshooting] Mattb4rd:
ok .. I'm taking it with me to the office. That's a Win7 Pro machine, but I'm thinking about trying a restoration to factory defaults like Carlos.
[Kindle Fire Q&A, Help & Troubleshooting] kinfauns:
A factory reset isn't going to hurt, but you are in a different boat than Carlos. Based on your screenshot of the Device Manager, it looks to me like your computer is recognizing the device correctly and loading the right drivers since it says "Android Phone -> Android Composite ADB Interface" when it's hooked up. For whatever reason, KFU is not able to push the required files onto your device and get it into fastboot mode. I suggest taking KFU the middleman out of the picture and seeing what adb tells you when you try to use it directly. Try something simple like "adb devices" on the command line and see what you get. You'll have to use the command line to run the adb program located in the tools directory of KFU.
[Kindle Fire Q&A, Help & Troubleshooting] Mattb4rd:
ok .. now the KF shows as Android Phone/Android ADB Interface in the device manager.

Running the KFU nets: ADB Status: Offline - Boot Status: Unknown

Generating an adb device list from within C:/Kindle Fire Utility/tools produced an empty list.

I'm starting to think I've got a bad or incorrect cable so I tried another one. Same results.
[Kindle Fire Q&A, Help & Troubleshooting] b63:
if you see only "kindle fire" on the screen of kf then it seems to be in fastboot mode

"Android ADB Interface" is the right driver for fastboot - verify with :

fastboot -i 0x1949 getvar product - it should return "kindle"

if this works it's a good starting point to recover !
[Kindle Fire Q&A, Help & Troubleshooting] Mattb4rd:
I get this:
[Kindle Fire Q&A, Help & Troubleshooting] kinfauns:
My understanding is that you are running all stock software on your device. If you are just booting into the OS, then it should not show "Android ADB Interface" in the Device Manager. You should see "Android Composite ADB Interface" there and it shouldn't flip back and forth at random.

In my experience, having the device connected to the computer when installing the drivers from the install_drivers.bat file can bring odd results. I suggest following the step by step directions in the second half of my post.

http://xdaforums.com/showpost.php?p=23747671&postcount=2

Follow the instructions carefully. That will tell Windows exactly what drivers you want loaded. Refer to the table and make sure it's loading the right driver for the right boot mode.
[Kindle Fire Q&A, Help & Troubleshooting] Mattb4rd:
I had already done that, but for good measure I tried again. The correct driver seems to be installed, but the KFU can't find the kf. I still get < waiting for device >
[Kindle Fire Q&A, Help & Troubleshooting] Mattb4rd:
I tried yet again this morning. Deleted the drivers first, rebooted the PC with the KF unplugged and installed the drivers packaged with the kfu.

Plugged in the Kindle, verified driver was active, started the kfu and got the same result; offline, unknown < waiting for device >

I'm officially stuck.
[Kindle Fire Q&A, Help & Troubleshooting] kinfauns:
Let's try this... go into the device manager, right click on the "Android Composite ADB Interface" and select properties. In the details tab, there's a menu, select "Hardware IDs" and you'll see some values. After "VID_" there should be a 3-4 character alphanumeric ID listed. Copy that down somewhere.

Open your user directory and there should be a .android folder. In it is the adb_usb.ini file, open it with wordpad (you probably want to use wordpad instead of notepad because it handles linebreaks better) and the last line should be something like 0x1949. If the 1949 part doesn't match the ID you copied down from the device manager.... APPEND a new one at the end of the file in a similar form.... so, if you got ABCD in the first part, you'll be appending 0xABCD (that's a zero).

You'll have to "adb kill-server" and retry "adb devices" so adb knows to look at the file again. If that doesn't work, paste the contents of Hardware IDs and your new adb_usb.ini file into your next post.
[Kindle Fire Q&A, Help & Troubleshooting] Mattb4rd:
I think we're on to something.

I can't locate the .android folder. I even searched C: for it to see if I misplaced it.

***UPDATE***

I installed the sdk which created the folder for me. I then created the ini file with this text:

# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.

# USE 'android update adb' TO GENERATE.

# 1 USB VENDOR ID PER LINE.

0x1949

Here's the hardware IDs:

USB\VID_1949&PID_0006&REV_0216&MI_01

USB\VID_1949&PID_0006&MI_01
[Kindle Fire Q&A, Help & Troubleshooting] Mattb4rd:
I of course then ran the kill server command and attempted to list the devices which netted no results.
[Kindle Fire Q&A, Help & Troubleshooting] kinfauns:
Excuse my skepticism... you claimed to have followed the directions in the post I mentioned previously to install the device drivers, but did you actually run the install_drivers.bat file to do that?

That batch file creates the .android folder and has the appropriate settings in a file to be installed alongside the drivers. The fact that you didn't have the .android folder makes me suspect you've skipped this part.
[Kindle Fire Q&A, Help & Troubleshooting] Mattb4rd:
Yes. In fact I've done it no fewer than a dozen times. It's there now via the sdk install and the kfu is still not seeing my fire.
[Kindle Fire Q&A, Help & Troubleshooting] kinfauns:
Well, the only other thing I can think of is that since you've also used the android SDK to install the drivers, you may have to follow the directions here...

http://liliputing.com/2011/11/how-to-root-an-amazon-kindle-fire.html

to enable adb. In fact, it might be a better idea for you to match the Kindle Fire information found in KFU's drivers/kindle/android_winusb.inf file. You may also have to uninstall/reinstall the drivers for the drivers after the edit. I'm not entirely sure at what stage the file gets used.
[Kindle Fire Q&A, Help & Troubleshooting] Mattb4rd:
I forgot to bring my kf to work this morning :eek: I'll try your suggestion this afternoon.

Many thanks for your patience and the help!
[HTC One X] paulobrien:
Hi folks!

Until such time as an official ClockworkMod recovery is available, I have created an interim (non official) ClockworkMod Touch release. Please note that the One X doesn't seem to enable access to USB when booted as recovery (proven by flashing the recovery partition with the insecure boot), so you will not be able to use ADB etc. at this time.

INSTALL AND USE AT YOUR OWN RISK!

Your bootloader must be unlocked via htcdev.com to install this.

To use, either flash via fastboot ('fastboot flash recovery r1-modaco-recovery-clockwork-touch-endeavoru.img') or boot directly ('fastboot boot r1-modaco-recovery-clockwork-touch-endeavoru.img').

MOD EDIT: warning!!! old recovery with charging issues and NO USB Mount use latest recovery from here or TWRP

I have also uploaded the stock recovery should you wish to flash it (e.g. for OTA).

Enjoy! :)

DOWNLOAD - MD5: f47ebe81400c00ddefc0499d2a18b9fd

DOWNLOAD - MD5: 4af6f2b658d2e13f72e928a72fcde9cd

P

PS If you find this useful, details on how to donate should you wish to do so are available in the MoDaCo topic.
[HTC One X] torxx:
You are the man!

What works actually?
[HTC One X] paulobrien:
I did a backup and restore, I imagine most of the functions should work. The lack of USB (and therefore ADB) is annoying (i'm investigating), but that aside you should do all the stuff you need to.

Obviously it's a quick hack-up so use with care!

P
[HTC One X] tids2k:
Awesome news. Anything on s-off yet ?
[HTC One X] monx®:
that is the most important thing to know :D
[HTC One X] paulobrien:
Stock recovery download added should you wish to revert.

P
[HTC One X] torxx:
Thanks Paul, that sounds really good!

The best would be if the Revolutionary team would now release the S-OFF tool which supports our device..
[HTC One X] DooMLoRD:
hey Paul in the ICS kernel there is a difference in the USB gadget... so there is different way to activate ADB... i will get to work on it...

but i need the mkbootimg parameters to repack the zImage and ramdisk...

BTW i will be working on my own version of touch recovery ;)

here is a video of it workign on another of my supported devices...

[youtube]7FN4toSbB5A[/youtube]
[HTC One X] paulobrien:
Yeah, it's not that - a fully working boot image that's OK in boot mode doesn't give you USB in recovery mode. Very odd.

P
[HTC One X] DooMLoRD:
hmmm let me have a go at it... right now i am struggling with a pathetic net connection as my main internet line is down...

can u give me the complete mkbootimg repack command?
[HTC One X] paulobrien:
Blank command line, base 0x10000000, pagesize 0x800. I don't use mkbootimg directly as it's all scripted up. :)

P
[HTC One X] DooMLoRD:
thanks i will give it a shot... i work with kernels so i prefer using mkbootimg directly :)
[HTC One X] stian230:
Thanks Paul .

Ps I really liked your last review on the oneX
[HTC One X] jonata:
Paul,

link for signed recovery (the second one) doesn't works ...
[HTC One X] DooMLoRD:
hey paul i finally got it working... but there is a correction..

pagesize has to be specified to 2048

then it boots atleast for me :)
[HTC One X] paulobrien:
2048 = 0x800 hex!

P
[HTC One X] DooMLoRD:
ya i know but the mkbootimg binaries i tried didnt accept pagesize in HEX :p
[HTC One X] Alex240188:
quick query paul, as of now we need to fastboot flash boot.img to gain root as for some reason we cannot fastboot boot a boot img.

if we can fastboot boot a recovery image can we then install a prerooted rom using the booted recovery without needing to unlock the bootloader
[HTC One X] DooMLoRD:
for fastboot boot bootloader needs to be unlocked :)
[HTC One X] Alex240188:
ah well suppose it was worth asking, didnt know that.

Coming from a nexus one "fastboot oem unlock" was the first thing that i did with it so never new it needed to be unlocked to boot, thought it was only to flash
[HTC One X] witek_77:
PaulOBrien Your clockword is amazing. I have unlocked bootloader and now i doing a backup. I have only one question. WIPE is working ? And when i WIPE I loose data from "sdcard". On desire Z I know everything but one X is new. Is the same as in desire Z : wipe+instal from zip ? (sory for my eng)
[HTC One X] paulobrien:
Wipe doesn't wipe sdcard.

P
[HTC One X] leventccc:
Recovery stucks when I want to do a backup.
[HTC One X] ckpv5:
Backup works fine for me. Restore function not sure as I don't see a need to do that just yet.
[HTC One X] witek_77:
backup, wipe data, wipe cache, wipe dalvik and install from ZIP are working
[HTC One X] putti71:
PLease, I need some help!

First, which file should I download from post 1? The first or the second?

And than, how do I flash via fastboot?

Right now I am in bootloader, what now?

PLease!
[HTC One X] vegetaleb:
Having back Paul on HTC is giving good memories of Nexus 1 :D

Doomlord you too you are converted to HTC?

Geez with both of you we will have full root in no time (though I will not have One X before 3 weeks)
[HTC One X] witek_77:
putti download first and copy to c:/android on PC (must be there ADB.exe and fastboot.exe). Phone turn on on FASTBOOT i plug USB. Run CMD on PC and go to c:/android and copy this: 'fastboot flash recovery r1-modaco-recovery-clockwork-touch-endeavoru.img' to CMD and enter.
[HTC One X] doublecheese:
I have succesfully flashed Paul's recovery just now by Fastboot USB .

Now that I have the Root + Superuser + Recovery , it feels like I 'm almost S-OFF'ed :)
[HTC One X] leventccc:
When I try to backup my rom it sucks like that

Backing up boot image...

Backing up recovery image...

Backing up system...

(After 30-60 seconds force reboot to system)
[HTC One X] paulobrien:
leventccc - I can't replicate that... (see below)?

P
[HTC One X] doublecheese:
It works on my One X too....
[HTC One X] aussie1234:
It worked

Thank you Paul :)

Your touch recovery worked a treat and I was able to install Android Developments Superwipe script and ROM.

Keep up the great work, especially for us noobs (like me).

Cheers

Aussie
[HTC One X] DooMLoRD:
ok so i dont want to hijack this thread or anything but i have been working on my own version of CWM-based recovery...

since it is based on the CWM 5.0.2.x branch (GB), there are some issue with getting touch screen properly working/recognized on an ICS kernel... but the recovery functions work correctly...

if u guys are interested in this recovery do let me know i will post it in another thread
[HTC One X] torxx:
Of course we are interested!

Open a thread :)
[HTC One X] leventccc:
I want try that please post it in another thread
[HTC One X] DooMLoRD:
ok so here u go:

http://xdaforums.com/showthread.php?t=1583713

happy testing
[HTC One X] jureca:
Paul I need usb storage, delete all of the SD and now I can not get anything, please help ....
[HTC One X] ckpv5:
Did you wipe the system partition too ? If not, just try wipe data & dalvik-cache and reboot to see the phone will boot or not.

If everything is gone, then the only solution is to flash the original RUU to return to original state and re-do all the rooting process again to unroot.
[HTC One X] jureca:
If is empty and does not start, try RUU but it takes more than 30 minutes to send, it can be?, Thanks
[HTC One X] ckpv5:
I sent you PM.
[HTC One X] jureca:
Do not let me send private messages, installing more than 30 minutes and nothing, I'll do what you say blocking other vez.thanks

---------- Post added at 06:56 AM ---------- Previous post was at 06:36 AM ----------

I've already locked, if you now have installed RUU
[HTC One X] tohid:
I have done the same thing...anyone have stock nandroid backup to push the .img files via fastboot? Please help ....
[HTC One X] jureca:
Thanks if anyone can help there thanks.
[HTC One X] DooMLoRD:
the nandroid backups are in tar format so u wont be able to flash them via fastboot...

but if u have the RUU u can try flashing the system.img via fastboot flash system system.img (this worked on the Xperia 2011 devices, i dont know if it will work on this device)
[HTC One X] paulobrien:
Just boot to fastboot and flash the RUU?

P
[HTC One X] tohid:
I have successfully got through RUU

But got an error message after sometime

Thanks for your support
[HTC One X] tohid:
Tried to do that but it shows "FAILED (remote: (00000006))"
[HTC One X] shingers5:
to flash stock ruu ensure its the same as the original software that came with your device. relock bootloader and it will boot in bootloader screen then flash the ruu file for your device. choosing the incorrect fail means it will sit at checking signature and eventually fail. always make a note of your software version before customising your device. while s-off is not available and no goldcard this is essential

anyway recovery flashed without a hitch. Tad on the long side to finally boot up but it works fine. shame we couldnt get it going for xl :D
[HTC One X] tohid:
Dear Shingers5, Thanks ! Thanks! Thanks!

Relock code for fastboot: "fastboot oem lock" then running RUU in fastboot USB have solved the problem.
[HTC One X] shingers5:
No probs mate. It's basically similar to xl procedure until we have s-off
[HTC One X] onyx234:
hi all have joined up with the one x

Have gone to htc dev. But cannot enter bootloader with vol down and power as per htc dev instructions. Any ideas

ps I am a noob

edit. turned off fast boot in power options & voila
[HTC One X] jmkhenka:
fastboot boot r1-modaco-recovery-clockwork-touch-endeavoru.img

nothing happens on the phone, it just freeze.

C:\Users\xxxx\Downloads>fastboot boot r1-modaco-recovery-clockwork-touch-endeav
oru.img
downloading 'boot.img'...
OKAY [ 1.030s]
booting...
OKAY [ -0.000s]
finished. total time: 1.030s
[HTC One X] broncogr:
Read instructions again....

Fastboot boot doesnt work..
[HTC One X] onyx234:
can anyone help. im tryin to flash this through recovery

when ive clicked recovery i get an image of my pone with a red triangle so im assuming i have done something wrong

how do i boot directly??

sorry for noobness

edit just realised my phone is S on. do i need to change this

in fastboot i have image crc but this doesnt seem to do anything

i can now get into recovery does this now mean im rooted and can flash another rom?
[HTC One X] shingers5:
Yes mate but how you guys manage to complicate something so straight forward is beyond me. Remember can also enter bootloader via adb command. Enter adb reboot bootloader then flash recovery
[HTC One X] ebes24:
Red triangle and exclamation mark

Hi I have Installed the clockwork mod touch for my htc one x but when I try to boot into recovery i get an image of a phone and a red triangle and exclamation mark.

It will then go no further unless, I'm still able to boot up as normal, but I can't boot in to CWM.

Can anyone help please?

Never mind got it working now
[HTC One X] Sebring5:
These are the instructions that enabled me to flash this. I had to adapt them for a mac but this explains in a nutshell what to do.
[HTC One X] Alex240188:
you quite clearly havnt installed the clockwork mod touch recovery as what you are seeing is the stock recovery, go back to the fastboot screen

things you should already have

→ unlocked bootloader from htc-dev

→ fastboot.exe in a folder

→ r1-modaco-recovery-clockwork-touch-endeavoru.img from original post placed in same directory as fastboot.exe

1. power off phone by holding power button for 10seconds

2. hold both power and volume down to enter the bootloader

3. press power button while selected on fastboot (default)

4. plug usb cable in

5. open a cmd window and cd to the directory with fastboot and your new recovery image in

6. type "fastboot flash recovery r1-modaco-recovery-clockwork-touch-endeavoru.img" (this will install the clockwork recovery onto your recovery partition)

7. use volume down to select reboot bootloader then press power button

8. use volume down to select recovery then press power button

you will now be on the new recovery
[HTC One X] bigdyl69:
Thanks for this, managed to root my new One X.

Just a quick question though as I've been with Samsung for a while after using HTC phones for years, do I have to flash back the original recovery file you posted on here in order to get updates for the phone and will I lose the root on it if I do?

Thanks again ;)
[HTC One X] tak.japan:
how can I verify that i have the recovery installed?
[HTC One X] ckpv5:
When you enter the recovery, you should see the familiar CWM recovery. If not you will get a black screen with phone logo.