yashsingh1/xdaforums huggingface dataset:
[Verizon HTC Droid Incredible 4G LTE] jonno95:
I'm just glad zarboz is excited to develop for us. i'm currently using his sleep2wake function in our only modded kernal and i like it a lot.

thanks to all the devolopers
[Verizon HTC Droid Incredible 4G LTE] DavDoc:
dirtyracun is just incorporating the newer HBOOTs for the EVO

I think we are all just a little jumpy........ no hard feelings on this end. With everyone's anticipation at 15 on a scale of 1 to 10, it was an easy mistake.
[Verizon HTC Droid Incredible 4G LTE] Linch89:
No one was mean or anything why so serious?? No ones to blame for anything Jesus... butt hurt much?
[Verizon HTC Droid Incredible 4G LTE] squeezyb:
i agree, i feel like a starving animal just waiting for some new thread to show up so it can be devoured :( Hah. My anticipation is through the roof!
[Verizon HTC Droid Incredible 4G LTE] jerdog:
Closing thread
[General Questions and Answers] endhalf:
First of all, I do sincerely apologize if this question have been answered already. Now to my question:

I want to reflash my device (HTC 3D) and since I've already done it, I've turned off my S-On (so I have S-Off now). I want to flash this rom but I need to have their firmware. It is quite a long time since I've done the flashing (like a year or so) and I'm not sure whether that firmware will turn my S-Off back to S-On. Is it safe for me to flash the firmware?

Thank you for any answers.
[General Questions and Answers] endhalf:
And, once again, I will answer my own question - no, it won't do anything to my S-Off... That's just for the newbies like I am who would search for similar answer.
[AT&T, Rogers HTC One X, Telstra One XL] yarrimapirate:
Disclaimer: This is BETA. It works well, but may still set fire to your house if you anger it.

UPDATE 11/14/12 - Updated OP with SLS's device detection code fixes.

Update 2: Fixed bug in device detection loop causing freeze at "Waking Device"

JET - The Jewel/Evita Tool "kit."

This all started as a downgrade script for the Jewel. You can follow the original JET thread in the EVO 4G LTE forums. I'm creating this thread to track/support issues from Evita users.

JET performs several useful functions, including:

Downgrading your HBOOT to 1.09 for easier radio flashing.

SuperCID (For HTCDev unlocking)

Partition/IMEI backup.

Detection of eMMC partitions on a phone stuck in Qualcomm download mode

Possible unbricking of your device (depending on circumstances)

JET is and always will be 100% open source and with full support given here on XDA.

Changelog

Credits:

Requirements

FAQ

Instructions:

Command Line Options

To do:

Source:

A big Thank You to all who've sent donations! Caffeine and beer help generate code, and a few extra bucks convinces the wife it's worth the time I spend glued to my PC/phone. Your donation money is also being used to buy devices to further test/develop with. :good:
[AT&T, Rogers HTC One X, Telstra One XL] yarrimapirate:
Reserved.
[AT&T, Rogers HTC One X, Telstra One XL] yarrimapirate:
This one too...
[AT&T, Rogers HTC One X, Telstra One XL] XsMagical:
oh sweet, video coming right up!

Just one step closer to S-Off!
[AT&T, Rogers HTC One X, Telstra One XL] Deleted member 3452239:
----

Hboot protects itself, I thought sbl3 verified hboot, then it protected itself but that's not the case. Sbl3 is controlling emmc mode from my understanding...

p9 (sbl3) sets emmc mode before p12(hboot) sets protection...........p1,2,3 will never be vulnerable to the same exploit as they have already set their protection well before emmc mode. They are the first 3 partitions so you cannot brick anything earlier in the chain. So, just say, hboot was p7, it would protect itself before emmc mode, and would never be vulnerable. -18th.abn

----

However, if for any reason you cannot flash Kernels/Radios.. Just run the 1.85 RUU and your issues will be solved.

----

To RUU downgrade, you will need to pull mmcblk0p23 from your phone and hex edit it. To do so, open terminal emulator on your phone..

$ su
# dd if=/dev/block/mmcblk0p23 of=/sdcard/mmcblk0p23

Open this in a hex editor of your choice.

at 0x0A0 you will see

ClearAutoImage..2.20.xxx.x...................... x being whatever number is listed..

change it to 1.00.000.0

Place back on your sdcard

open terminal emulator

$ su
# dd if=/sdcard/mmcblk0p23 of=/dev/block/mmcblk0p23

reboot to fastboot and lock your bootloader. Boot into your ROM and RUU downgrade
[AT&T, Rogers HTC One X, Telstra One XL] Genetic517:
ugh i wish i had linux. i want old hboot back! :( . awesome job though, this is great to see.
[AT&T, Rogers HTC One X, Telstra One XL] Deleted member 3452239:
Go boot up a liveCD and do it.

I have done it 3 or 4 times, but with the manual process. These tools work. I endorse them.
[AT&T, Rogers HTC One X, Telstra One XL] bpear96:
Just use the ubuntu live cd like suggested in the OP. Or dual boot it, ubuntu or other Linux distro is really great to have

EDIT: absolutelygrim beat me to it :D

Great job to all involved with this !. S-Off would be nice, but having Hboot 1.09 is pretty nice as well.
[AT&T, Rogers HTC One X, Telstra One XL] MyronJ906:
I'm using this now, a bit concerned that the device seems like it doesn't want to wake right now (stuck at Waking Device...) ANyone have any ideas? Would it be safe to unplug this USB cable and try a different one? I'm using one other than the one that came with the One X
[AT&T, Rogers HTC One X, Telstra One XL] Genetic517:
i did read i could use livecd but i also read this in the FAQ. livecd looks to be unfinished? please correct me if im wrong. im 100% a windows guy, have never even used linux

Q: Is there/Will there be a Windows version?

A: No. Nor are there plans to make a Windows native version. There are some inherent issues with the way Windows deals with USB devices that prohibits us from accessing QDL. If you're not comfortable trying/using Linux, I suggest you wait for the LiveCD to be finished.
[AT&T, Rogers HTC One X, Telstra One XL] Deleted member 3452239:
Hold power down for 10 seconds

open another terminal window and type

watch -n.1 lsusb

let go of power when you see "Qualcomm, Inc. Gobi Wireless Modem (QDL mode)" disappear
[AT&T, Rogers HTC One X, Telstra One XL] bpear96:
He means a actual "jet" AIO live cd is what is a unfinished . Theres nothing stopping you from downloading the latest Ubuntu distro, burning it to a disc (or bootable usb) and running that on your computer. Ubuntu can be ran directly from the disc, no install needed (though it will be slower than install obviously ) Once your running the live cd/usb of ubuntu you can easily load up this toolkit.
[AT&T, Rogers HTC One X, Telstra One XL] MyronJ906:
It won't stay disappeared, it's pretty much appearing and then reappearing
[AT&T, Rogers HTC One X, Telstra One XL] Deleted member 3452239:
did you brick by flashing ICJ or are you trying to downgrade?

edit: It should disappear and then say Qualcomm, Inc. for a few seconds
[AT&T, Rogers HTC One X, Telstra One XL] MyronJ906:
Downgrade. Haha just my luck for trying something I didn't need to do :D

If it's safe to actually unplug the USB and grab another cable, I'm definitely willing/able to do that

EDIT: and it does disappear and say Qualcom Inc for a few seconds, then nothing and then it flashes the full "Qualcomm, Inc. Gobi Wireless Modem (QDL mode)" for a split second and repeats the process
[AT&T, Rogers HTC One X, Telstra One XL] Deleted member 3452239:
Yes, go get the cable that came with your phone and restart from the beginning
[AT&T, Rogers HTC One X, Telstra One XL] zounduser:
kickass!
[AT&T, Rogers HTC One X, Telstra One XL] MyronJ906:
Beginning as in from the very beginning of the script? Just ran home and grabbed the cable. Thanks for the help by the way
[AT&T, Rogers HTC One X, Telstra One XL] Deleted member 3452239:
Use the command line switch -r

sudo ./jet -r
[AT&T, Rogers HTC One X, Telstra One XL] rohan32:
Great work on this, to all involved!
[AT&T, Rogers HTC One X, Telstra One XL] PUfelix85:
So I tried this and had some issues. Lucky I made a guess and it seems to have worked. I got stuck at the wakeup step; so, I held down the power button for a couple of seconds. It then started pushing the data. Not sure if this will be of help to anyone.
[AT&T, Rogers HTC One X, Telstra One XL] codeprimate:
I have an Ubuntu comp, but it is out of commission, is there an linux specific commands in this script or will it work on other unices? I have access to an OS X computer, which has most of the same utilities available via the command line as my old (and slightly less functional) Ubuntu machine.

I don't have (too many) issues with bricking my phone just to unbrick it, as long as I have a good chance of being able to unbrick it...
[AT&T, Rogers HTC One X, Telstra One XL] SouL Shadow:
Probably won't work on unix/osX because it needs a kernel module (device driver), qcserial, to interface with the phone in download mode. The script would end up bricking your phone without having a way to unbrick.

It's possible that such a driver exists for unix/OSX/windows but the program emmc_recover would need to be rewritten.

There are also timing issues. qhsusb_dload mode only has a short window where read/write access is available. It has been stated (though I can not confirm) that windows does not register the device fast enough to utilize the short window.

So, long story short, linux is currently the only platform that can be used.

-SLS-
[AT&T, Rogers HTC One X, Telstra One XL] codeprimate:
ok, thanks for saving me some pain, I've managed to get the old ubuntu box fired up and it it's working it's black magic right now.

woot, hboot-1.09.000

You guys rock.
[AT&T, Rogers HTC One X, Telstra One XL] benny3:
A flash drive or thumb drive is not recommened. you really dont want any usb devices plugged in other than the phone, plus there are timing issue that a flash drive may complicate
[AT&T, Rogers HTC One X, Telstra One XL] Mister J:
That makes no sense and I have no idea where you're getting that information from.
[AT&T, Rogers HTC One X, Telstra One XL] superchilpil:
Editing...
[AT&T, Rogers HTC One X, Telstra One XL] benny3:
First i was a original tester on the Evo LTE and its been talked about in the LTE thread. its just recommended but you can do what you want to do
[AT&T, Rogers HTC One X, Telstra One XL] inphamous36:
same exact problem

every single problem you have had, I have had, did you ever figure out what was wrong? I want to downgrade my hboot so bad, :/
[AT&T, Rogers HTC One X, Telstra One XL] yarrimapirate:
The device detection code has been rewritten and is USB drive proof ;)
[AT&T, Rogers HTC One X, Telstra One XL] inphamous36:
hey guys,

i am having the same problem ken was, please help... im going to attach the log file. it did this for about 15 minutes before i stopped it and unbricked it
[AT&T, Rogers HTC One X, Telstra One XL] ken bentley:
Sorry never got it sorted might try later with live cd
[AT&T, Rogers HTC One X, Telstra One XL] Scott:
Running it now on Zorin OS (Installed to SSD) and it seems to be going well!

Currently at offset: 0x000F6000

Thanks Jesus and the Baby Jesus for this!!!!

Will report back shortly!

Great Job!
[AT&T, Rogers HTC One X, Telstra One XL] Scott:
Perfection!

The world will now be a better place!

Benny, why did-int you tell me about this? Grrrrrrr.... lol

Great job Dev!

The work yo put into this is MUCH MUCH appreciated by me!

Confirmation number: 6NJ702283L680705N
[AT&T, Rogers HTC One X, Telstra One XL] benny3:
Ha! didn't know you still had the HOX

---------- Post added at 06:44 AM ---------- Previous post was at 06:42 AM ----------

Thanks yar, i'll keep my yap shut then....lol
[AT&T, Rogers HTC One X, Telstra One XL] Calebt:
followed directions in op everything went fine, now on hboot 1.09 from 1.14.

No more fastboot boot.img.

Thanks.
[AT&T, Rogers HTC One X, Telstra One XL] Mister J:
*Not attacking you or the

android

devs, but I want to clear up this confusion

Whoever recommended that seems to be misinformed, when stating that flash drives aren't as good as CD's for a livecd. Even if you use a CD, your main drive where your primary OS is will always be sda*, and the livecd (USB or CD) will be sdb*. That is, of course if you have nothing else plugged in at the time (like another flash drive or a anything), and you shouldn't.

Do note that devices like wireless mouse adapters aren't counted as a drive, so it is safe to leave things like that plugged in, I'm assuming wireless modems and etc. should be the same case.

I will use my setup as an example. I have Ubuntu 12.10 on my external HDD. I plug the external into my computer and it boots into Ubuntu. So, Ubuntu is now sdb* and when I plug my phone in it will become sdc*. This is the setup most people have, and if they have a different setup, they will need to adjust by simply finding out the right letter and substituting it.

One might argue that flashdrives can fail, and that is true. But CD's also can be burned badly and not function. The flashdrive does have the advantage of being easily reusable and not everyone has a CD drive (or even a working one). Flash drives are also easy to use since most modern computers that include netbooks have USB ports, but not everyone has a CD drive. A con of the CD's is that some distro's can be heavier than others and not all will be able to fit on the CD. A pro for both is that CD's and Flash drives are dirt cheap so either way is good.

In all, it does not matter what you use to boot the livecd, whatever you were told seems to be misinformation. I do respect android devs, but they make mistakes as well, or maybe you just misunderstood.
[AT&T, Rogers HTC One X, Telstra One XL] traesnaidensdad:
I have HBoot 1.14 and would love downgrading, but am incredibly intimidated by this. I have one hox and it is my daily. I am rooted " S-on of course"

Just not familiar with code and such. Is this plug n play after I have the live CD or does get more complicated. In short...if something went wrong "I" may not know enough to fix it. Thanks

I feel more like I do now then I did then...
[AT&T, Rogers HTC One X, Telstra One XL] Mister J:
If you're not comfortable wait for the OP to make the livecd specifically made for those who aren't familiar with doing this.
[AT&T, Rogers HTC One X, Telstra One XL] yarrimapirate:
He had outdated information. Several weeks ago (before there was an automated tool and people were manually downgrading the EVO) people were using a third party utility to find their bricked devices. That utility read dmesg output in a weird way which sometimes had trouble if USB drives were used. I never saw it with my own eyes but we had multiple reports from multiple sources. It hasn't been an issue since I first released the beta of this tool (with it's own detection code).
[AT&T, Rogers HTC One X, Telstra One XL] davidalindsey:
I have Fedora-17-i686-Live-KDE on USB

I put the Unziped jet-evita-0.3.3b folder on the USB

Boot into Linux, copy the jet-evita-0.3.3b folder to /root/home

Open terminal ,type su for permissions

cd to the directory.

Type command: $ chmod +x jet

Enter

Type command: $ sudo ./jet

Then follow the onscreen instructions

Is it that simple?

I am not to comfortable when it comes to Linux systems, I ran a couple of versions back in the day.

I used Backtrack3 alot and was very good at commands and such. But that was a while ago.

Are my above instructions correct, or is there something more to it?

Thanks.
[AT&T, Rogers HTC One X, Telstra One XL] benny3:
All is good,i see yarand SS has all the little bugs worked out
[AT&T, Rogers HTC One X, Telstra One XL] SouL Shadow:
Sort of.

The jet directory can be located anywhere, it doesn't have to be in /root

Once you run "su -" or "su root" then you are root. "su -" acts like a new login, where as "su root" preserves your current login environment. In this case it doesn't matter, however in other usage cases you may find that "su root" is "limited" because it doesn't add extra directories to you PATH (such as /sbin). Usually not a problem, just figured i'd mention it while I'm already rambling on. Yes, I tend to give more information then needed.

Easier steps would be to put the jet zip file in to your home dir on the usb drive, /home/your-user-name-here

Then boot up, log in as normal.

unzip jet-evita-0.3.3beta.zip
cd jet
chmod +x jet adb fastboot emmc_recover
su root -c "./jet"

Then read the on screen instructions (more like explanations, as you do very little from this point forward)

Note: some distro's use sudo instead of su. Myself, on Slackware, I've always used su. Either will achieve the desired result (root)

-SLS-
[AT&T, Rogers HTC One X, Telstra One XL] davidalindsey:
unzip jet-evita-0.3.3beta.zip

cd jet

chmod +x jet adb fastboot emmc_recover

su root -c "./jet"

Do i input this text into the terminal?

Or I just put

$ chmod +x jet

$ sudo ./jet
[AT&T, Rogers HTC One X, Telstra One XL] SouL Shadow:
That would all be in a terminal / on the command line.

Either way will work.

If you already unzipped jet and have changed in to that directory, then the second set of commands will work because jet will check if adb, fastboot, and emmc_recover are executable. If not it will set them +x for you.

-SLS-
[AT&T, Rogers HTC One X, Telstra One XL] inphamous36:
hey...

Hey soul shadow, can you take a look at the logfile i posted a page back? it was stuck at the ubable to flash hboot screen for like 20 minutes....
[AT&T, Rogers HTC One X, Telstra One XL] davidalindsey:
ah I see, thanks.

Once the command is done, is there anything else to do?

Just reboot into Hboot and check version?

One last question, will this erase any data on the phone, such as rom, or sd data?

Thanks again.
[AT&T, Rogers HTC One X, Telstra One XL] SouL Shadow:
Just follow the on screen directions.

And no, it will not touch your rom or sd card

-SLS-

---------- Post added at 08:48 PM ---------- Previous post was at 08:40 PM ----------

I already looked at it. Not sure the cause. The problem is emmc_recover not being able to write hboot (p12). Unclear as to why. Currently we have no logging set up for emmc_recover's messages. It's on my todo list.

You could try a different usb port. Although, since emmc_recover was able to write to p4 without any problems, I'm not sure the usb port is the problem either.

It could just be the ever annoying problem of timing, but again, based on the logfile alone it's unclear.

-SLS-
[AT&T, Rogers HTC One X, Telstra One XL] inphamous36:
hmmm

hmm, okay I think ill try again on a different usb port and let it go for longer, maybe 30 minutes this time, if that doesn't work im going to try making a cd on monday
[AT&T, Rogers HTC One X, Telstra One XL] mbh87:
you can wait as long as you want, but it likely isn't going to work. should probably head to the unbrick thread and finish manually.
[AT&T, Rogers HTC One X, Telstra One XL] SouL Shadow:
The thing is, everything is working except hboot isn't being written at all. He was able to stop, unbrick and boot his phone normally. He even repeated many times with the same result. Something is going on which we are not capturing in the logfile yet. Once I add some additional logging we'll be able to see why, then figure out what needs to be done.

At that point in the process control has been handed over to emmc_recover which does the actual writing of the partition. Writing hboot (p12) and unbricking (writing p4) are identical processes except for the location being written. In his case p4 writes fine, p12 isn't written at all. Trying to do it manually probably won't achieve a different result because all your doing is manually handing off control to emmc_recover.

I'm planning on working tomorrow on expanding the logging. If you can wait, it will give us a better idea of what is happening and hopefully a clue as to what needs to be done to get it working.

-SLS-
[AT&T, Rogers HTC One X, Telstra One XL] inphamous36:
Nah, I'll wait for him to update the logging so we can see what is going on. I have successfully dual booted my laptop so I'm not using a flash drive anymore. I'm new to ubuntu/linux so just be patient with me. I do have a good understanding about computers. Could code in java if I had some refresher courses, but that won't help me much here. I'm interested in figuring this out, not only so I can downgrade but so if other people have had this problem they can successfully do it too. :)
[AT&T, Rogers HTC One X, Telstra One XL] Mister J:
Just a question, when you unbricked, did you flash the hboot 1.14 as the instructions said? I had the same problem, and I did every other step but flashing the hboot. When I unbricked my phone it had downgraded.
[AT&T, Rogers HTC One X, Telstra One XL] inphamous36:
Yeah. I used the unbrick method. Didn't get downgraded...
[AT&T, Rogers HTC One X, Telstra One XL] inphamous36:
Got your message soul, I won't be able to try again until tomorrow night most likely. I work a lot so sometimes sleep comes first. Only sometimes lol
[AT&T, Rogers HTC One X, Telstra One XL] SouL Shadow:
No problem. I'm the same way. Monday-Friday I usually work 12-14 hour days. Weekends are my only "awake" time to code, but I check in here multiple times every day to see what's going on.

-SLS-
[AT&T, Rogers HTC One X, Telstra One XL] davidalindsey:
Okay I got to step two:

Resetting qcserial module...

Creating block device...

Waking QDL device...

================= emmc_recover 0.3 alpha 2 ==========================

Using chunksize 24576

Please connect device

Error flashing HBOOT!!

Retrying...

I get this message over and over again.

I did the ./jet -u command and got this:

[root@localhost jet]# ./jet -u

JET - Jewel/Evita Toolkit v0.3.3beta

**Unbrick Mode**

Device detection started...

Waking Device...

Found partitions at /dev/sdc.

Resetting qcserial module...

Creating block device...

mknod: `/dev/ttyUSB0': File exists

Waking QDL device...

Restoring /dev/block/mmcblk0p4...

0+1 records in

0+1 records out

1024 bytes (1.0 kB) copied, 0.00362902 s, 282 kB/s

Success!

Do I just start all over and try again?
[AT&T, Rogers HTC One X, Telstra One XL] benny3:
Check your hboot,it might have flashed it.it wouldn't be the first time this has happened
[AT&T, Rogers HTC One X, Telstra One XL] davidalindsey:
Checked still on HBOOT 1.14.0002

I tired it again with same results.

Device bricks and unbricks using the -r command but the device fails to write HBOOT
[AT&T, Rogers HTC One X, Telstra One XL] inphamous36:
You're having the same problem as me , soul and I are trying to figure out where it's getting stuck at.
[AT&T, Rogers HTC One X, Telstra One XL] scottspa74:
Yarr, you're kicking a$$ over here, too, huh? Nice! :thumbup:

hurled from my AOKP'd Evo LTE. Enjoy.
[AT&T, Rogers HTC One X, Telstra One XL] inphamous36:
here ya go

Here ya go soul, sorry it took so long. I'm running my laptop dualbooted, windows 7 hone premium and this:
[AT&T, Rogers HTC One X, Telstra One XL] davidalindsey:
Tired a 3rd time and still fails to write HBOOT.

I attached a log.

I tried unplugging, changed ports, pressing power button and nothing.

I open another termnial and "./jet -d" and it does detect partition, /dev/sdc but on the 1st termnial it just repeats "Error flashing HBOOT!!".

I opened another termnial and "./jet -r" but again it just repeats itself.

I "./jet -u" just fine without problems, so I am booted and still on 1.14 HBOOT.
[AT&T, Rogers HTC One X, Telstra One XL] nugzo:
I'm having an issue i need some help please. Using Jet tool, after corrupting hboot, It wont go any farther. Stuck at waking device. I've rebooted phone, plugged in to different ports, different cable, different computer, None of the Jet commands work. sudo ./jet-d, sudo ./jet -r or sudo ./jet-u. Devices shows phone changing from Qualcom Inc to QDL mode. The tool just wont pick back up and finish. Help please!
[AT&T, Rogers HTC One X, Telstra One XL] ken bentley:
I have a problem using jet from unbuntu cd,downlod and extact zip but can not access with terminal i must be using wrong command.

i am totall noob to this any help would be appreciated.