yashsingh1/xdaforums huggingface dataset:
[HTC One S] LibertyMonger:
I barely know anything I just installed Ubuntu to my hard drive and installed Android SDK, wasn't sure if I needed to or not. Then booted into Ubuntu and opened this thread and followed the steps. It was as easy as that. As long as you know how to open the terminal cmd windows.

I copied and pasted the commands. But don't take my word for it! What may be easy for some may be confusing for others I guess!

***EDIT***

I had to change cid to supercid first, then run a 2.31 RUU so you will have to learn those steps first before attempting this!
[HTC One S] :
I prefer using a CD, but if made by USB I reccomend uNetbootin or PenDriveLinux
[HTC One S] rijon99:
Alright, so I'm stuck on step 9, it's on the "waiting device /dev/sdc12......." screen and every time I try to reset to remove QDL mode, it goes but comes back. I've also tried the "sudo ./emmc_recover -r" command with no avail. Any ideas?
[HTC One S] Raptylos:
I was stuck exactly at that step, too.

Switch to another PC, if you have that option. It's an incompatibility with your USB-Chipset, at least for me.
[HTC One S] rijon99:
Thank you, I shall try that.
[HTC One S] Sneakyghost:
See that's one of the things I'm terribly afraid of, that my usb won't work right with my phone. I've got a laptop with a newer generation AMD chipset as a backup plan with real ubuntu installed. So I guess I should be all set in case my 5 year old amd 790 Northbridge decides to play tricks on me...

sent from a phone
[HTC One S] rijon99:
FIXED!!! Turns out my device was at sdb not sdc.. I didn't know how to check and just tried sdb for the hell of it and BOOM worked. Thought I really messed up, guess I just got lucky :)
[HTC One S] Raptylos:
:good:
[HTC One S] Sneakyghost:
Raptylos,

Thanks for offering to help me. There's one thing I would like to know.

I am actually confident now with the terminal commands. I think I have learned them all and can use and modify them, I also think I understand the steps being done.

Can you or someone who knows maybe explain what exactly emmc_recover does?

I understand its a small executable that is capable to read and write from and to an emmc via a serial connection, written for Linux.

Is that correct and if yes, is there some documentation of the parameters used with it?

If not, can the guides author please mention what the used parameters do?

[EDIT]

found it here: emmc_recover
[HTC One S] _-..zKiLLA..-_:
So to downgrade do I only have to do what's in post #2? I'm definitely not bricked just want a lower hboot
[HTC One S] cat2115:
I succesfully downgrade Hboot from 1.14 to 1.06 per your guide. I would like to install RUU T-Mobile 1.84. Do I need to follow post #2 in order to install RUU 1.84? i already had mmcblk0p23 from post #2. What I don't understand is "at 0xA0"... I look in the hex editor but cannot find "0xA0"

I do see 00A0h. If that's the one you meant, where do i start typing 1.00.000.0 at? There's a column from 0 to 9 then A to F

thanks.
[HTC One S] yankiadler:
thanks man i was really stuck but after i followed your instructions i was ablle to reflash my fido ruu thanks :good::fingers-crossed::p

---------- Post added at 07:13 AM ---------- Previous post was at 07:05 AM ----------

this is from the original post

a null p4 is included in the unbrick package if you didn't save your backup.. you will need to hex edit your IMEI into this file. the offset is 0x21c, it's after 11111111, which is the SuperCID

---------- Post added at 07:20 AM ---------- Previous post was at 07:13 AM ----------

I had the same problem and it turned out that when it writes the hboot and keeps reseting the device it gets stuck, i had thought that it had finished so i pressed CTRL c and went on with the other commands

in truth you have to wait until the command finishes and if you see it waiting for device then you need to leave that terminal open and open another terminal navigate to Desktop/ville and enter

sudo ./emmc_recover -r the you should see it start sending again

---------- Post added at 07:27 AM ---------- Previous post was at 07:20 AM ----------

Press the power button on the device until it disappears from terminal (about ten seconds ) then leave it it will come on by itself and start spamming you should get all the partitions the partitions will only show when your not in qdl mode
[HTC One S] jac10000:
I think you use hext editor with Linux and me too I have same problem. But with Windows hext editor there is no problem
[HTC One S] RockR172:
Same question here...

Can someone please answer it? :)

EDIT: Nevermind, i got it..
[HTC One S] Qs5:
Noob question I can't find 0xA0 what am i exactly looking for?
[HTC One S] jac10000:
I already had to ask the question and I never had the answer ...

---------- Post added at 06:45 PM ---------- Previous post was at 06:43 PM ----------

If you use linux hex editor you don't find it, but you have to use windows hex editor to find it
[HTC One S] dc211:
To downgrade your hboot you have to follow the instructions in post 1. If you want to run a RUU after you have downgraded your hboot then you need to do what's in post 2.
[HTC One S] ridearoundsolo:
How do I downgrade hboot on windows 7? I'm not trying to run ubunto on my dads laptop
[HTC One S] Raptylos:
Just burn Ubuntu on a CD and start it as live-cd. You don't have to install it.

Emmc-recover will only work in a native linux. Doesn't work in a virtual machine.
[HTC One S] Darknites:
Or use the web installer then that way you can uninstall easily after doing the downgrade.
[HTC One S] jac10000:
Thank you, like that, it is very clear :D
[HTC One S] ridearoundsolo:
Ok I will give it a try and this won't wipe anything on my dads hard drive right?
[HTC One S] Raptylos:
As long as you use a live cd/USB stick, you won't erase anything on the harddrive.
[HTC One S] :
Use hex workshop on windows to edit the ruu version
[HTC One S] :
If someone just gives me their partition 23 I'll edit it and upload it.
[HTC One S] :
QDL mode!!!!

I've been trying to get the partition info for the past two days! Its crazy, I spam it like hell when QDL mode is is gone and you can only see Qualcomm, Inc, but nothing happens it just shows that normal set of partitions. The funny thing is that I've gotten it to work once and only once, and never again. I thought I wrote down the right info but the flashing never starts and I'm left with trying to get the partition info again for like the millionth time and of course it hasnt worked since.

Just to clarify when I did get the partition info I was on Ubuntu 12.10 64bit, it worked the second time I reset it but I wasnt able to flash the bootloader, it just never worked. So from that point I tried from the begining again and again and again, until I thought that I must have written down the info wrong for which partition I was suppose to flash. So I tried to get that info again, and this is where I fell into a dark and insanity inducing keyboard tapdance. On 12.10 I was never getting out of QDL mode, the line would just disappear, when it would return it would be "Qualcomm, Inc, Gobi Wireless Modem (QDL mode)." So I tried this about a million times, and I thought this must be wrong becuase I had never seen it say "Qualcomm, Inc,."

I read a post about someone using 12.10 64bit and having no luck with it so they switched to 12.04 32bit and it worked. I thought, "what the hell." So I made a dvd and booted it up and got my terminal windows all ready, and low and behold I was able to get two distinctly different lines when I reset the device. So I thought I must be on the right track, so this brings me to where I am now. I've been spamming the hell out of that terminal command and it has never once showed me those 36 partitions since that intial time. So my question is, whats next? Am I boned? Have I missed something? Should I just keep spamming like a lunatic until my wife admits me to a metal institution, where I tap on a keyboard plugged into nothing as I scream for the partitions to reveal themselves to me?
[HTC One S] dc211:
I pulled a copy of mine.

https://dl.dropbox.com/s/iww7nx556rrxjjr/mmcblk0p23?dl=1
[HTC One S] cat2115:
Please check your inbox. Just PM you. Thanks
[HTC One S] Paradoxxx:
Does it downgrades JB Hboot too ?

Envoyé depuis mon HTC One S Special Edition avec Tapatalk
[HTC One S] :
it should
[HTC One S] Sneakyghost:
Hey Grim,

massive Job! Finally did it. First thing to try was changing the horrible splash screen... hrhrhr...

One thing though: mmcblk0p23 has some odd edits at position 274H, see Screenshot:

The empty partition i pulled from my device does NOT have that. I doubt this is required data is it? If it was, what would that be since you never mentioned an Edit at that position.

Kinda not wanting to flash that if there's something odd about it...

[EDIT]

Is the supplied hboot.nb0 edited in any way? could i replace it with the hboot 1.04 from RUU 1.47 EU?

I wonder if that is still even more open? You got any info on that mate?
[HTC One S] :
You can use the p23 in post 2 or use your own. But be warned about using the one I uploaded. Take a look at the 2 screenshots and you'll see what I mean. And yes you can use any hboot with this method. Just use the same command, different file
[HTC One S] Sneakyghost:
Ok cool. Used my own p23. Worked out good :D

The hboot thing is good to know, I might go up again when I've done all things needed as the 1.06 is definitely buggy on my phone. The vol down and power combination fails more often than not. Dunno if anyone else noticed that but I already noticed that back in June before the newer hboots came up.

sent from a phone
[HTC One S] cat2115:
OP,

Could you please put the code back for pulling "mmcblk0p23" from phone. Thanks
[HTC One S] Sneakyghost:
dd if=/dev/block/mmcblk0p23 of=/sdcard/mmcblk0p23

That should be it. Make a note for future reference...

sent from a phone
[HTC One S] LibertyMonger:
Well that is nice to know! So much to learn with this phone it's all really confusing and can't get any of the info narrowed down into one forum. It's really aggravating, this is one phone that is hard to search for info too. I know how some people get snapped at for asking questions without searching but I have to say searching for answers for this phone is not easy lol.

---------- Post added at 04:28 PM ---------- Previous post was at 04:03 PM ----------

I have a question, since I am downgrade to 1.06 hboot and am on 2.31 version, can I now flash any version ROM base like this OTA JB rom 3.16 base? This is something I have not faced yet or seen any answers to, I just now realized it before flashing the new Zarboz JB ROM.
[HTC One S] jac10000:
You can flash Zarboz's JB rom without problem with hboot 1.06 but other JB rom must have hboot 2.xxx (like http://xdaforums.com/showthread.php?t=2065357)

But after , if you have hboot 2.15 I think you can downdrade to 1.06
[HTC One S] Darknites:
Flash this and this and you should have wifi in JB roms and I'm really liking Blackout rom.

---------- Post added at 09:58 PM ---------- Previous post was at 09:44 PM ----------

Em dude what you on about, all JB roms should work on 1.06.
[HTC One S] jac10000:
Are you sure ? I saw that :

You need
HTC One S unlocked with htcdev.com (S-ON) or S-OFF
Custom recovery
HBoot 2.xx.xxxx ( you can install ROM on 1.xx.xxxx HBoots on your risk )
[HTC One S] Darknites:
Lol it says you can lol and I see at least one known person running it and with having downgraded too.
[HTC One S] jac10000:
So ok lol , all JB custom rom can work with hboot 1.06 . It was this precision which blocked me lol
[HTC One S] Sneakyghost:
Yah thats bullcrap. You can run any JB on low hboot, its got no negative side effects.

LibertyMonger, there is info on how to flash the ota on the forums but be warned, it will update hboot again and if you want to flash anything like you can now, you will have to downgrade again.

Gesendet von meinem HTC One S mit Tapatalk 2
[HTC One S] Raptylos:
Happy new year!
[HTC One S] Sneakyghost:
hboot collection

Hello Grim,

i've got another question. Maybe you (or others?) can answer: i extracted all hboots i could, the only RUU's i was not able to check where 1.84 Bell Mobile and the Asia JB Ville+ RUU. They refused to run and i didn't feel like hunting the MSI error.

So, i got these hboots: 1.04; 1.06; 1.08; 1.09; 1.13; 1.14.2; 1.14.4; 2.15

Number 1.09 comes as *.img though. Not as *.nb0

Can that be written with emmc_recover?

I can post the link to the hboot collection zip but i would like to know wether or not that hboot.img poses a risk. Only when that is answered i could post the collection with or without 1.09.

[EDIT]

Hello,

need help here. Recovering mmcblk0p4 got stuck. It won't write one byte, saying i need to blacklist qcserial module.

I already rebooted linux to make sure the ports are ok, re-ran the modprobe and mknod parts to properly set the port up but it won't let me talk to qcserial anymore.

Phone was on JB 3.16, usb debugging enabled and rooted. Also checked if functioning. Anyone got a clue how to deal with this hiccup?

Thanks!

[EDIT 2]

Qcserial blacklist request: Solved.

Do: change USB port, rebuild connection and node with modprobe and mknod commands given in OP. Then re-run the emmc_recover. Works.

Probably: deleting the persistence file of your live linux will make linux "forget" the port settings as well, so clean reboot of linux would most likely solve that too.
[HTC One S] :
Rename it to .nb0
[HTC One S] Darknites:
Well better get flashing then lol.

Wait so it took you ages to do the downgrade and you thought it be a good idea to play around with the Hboot when there nothing wrong with 1.06.
[HTC One S] cat2115:
Happy New Year all. . May all your wishes come true.

Was wondering which hboot is better between 1.06 and 1.09 in term of anything?
[HTC One S] Raptylos:
Finally you did the downgrade :thumbup:

Happy new year, mate!
[HTC One S] Sneakyghost:
Same to you, friend. :D

I did it twice now and screwed up once...

---------- Post added at 06:00 PM ---------- Previous post was at 05:55 PM ----------

The "ages" where like umm... two weeks or so. I used that time to overcome my endless fear and learn a few things about Linux and serial connections. And it was worth it.

I play with the hboots because 1.06 keeps having issues with the Vol Down & Power button combination. The newer ones work much more reliable. But they come at the price of locking down the partitions. So I'm tying to work out which one serves me best. Not easy while also testing ROM's.
[HTC One S] Darknites:
Ya that ages lol. What do you mean with the button combination? seems to work fine getting into bootloader. Don't think I mess about with Hboot in till there a reason to, for now it does everything I need it to do.
[HTC One S] LibertyMonger:
Yeah I tested mine since reading this and mine is fine. Only thing I notice is the timing of how long to hold the power button. Other than that the volume down/power button combo works every time. The same as on hboot 1.13.
[HTC One S] Darknites:
Is it me or is it slower getting to recovery, just seems to sit at the splash a bit longer or it could just the loader being there making me think that lol.
[HTC One S] fmedrano1977:
IGNORE

T-Mobile HTC One™ S

---------- Post added at 03:15 PM ---------- Previous post was at 03:06 PM ----------

Do I need to save the bakp4 at a certain location?

T-Mobile HTC One™ S
[HTC One S] Sneakyghost:
So what IMEI is in that bakp4 lol?!?

You do know that flashing a different IMEI into that partition could be very dangerous, don't you?

The IMEI is stored in different places plus there's a master which serves as compare. With a wrong IMEI, the device will most likely be bricked. So I wouldn't just post your bakp4, others might download it and kill their devices.

Grim provided an empty bakp4 with no IMEI so people can edit it and put in their own.
[HTC One S] fmedrano1977:
It was my back up and Yeah it was temporary so I can download it while using ubuntu.

T-Mobile HTC One™ S

---------- Post added at 03:49 PM ---------- Previous post was at 03:20 PM ----------

It keeps asking for a password, whats that?
[HTC One S] Darknites:
Your user password.
[HTC One S] Raptylos:
If you set a root password, it'll ask for that password when you use the command sudo. Sudo means "execute as superuser" (root)
[HTC One S] fmedrano1977:
I'm at restoring bakp4, after I hit enter I get Please Connected Device

What's my problem?
[HTC One S] Darknites:
Have you tried holding the power button down like it says in step 13?
[HTC One S] jac10000:
Do that :

.
[HTC One S] Buickguy:
Are there any benefits to the 1.06 hboot vs. the 1.09?? I am considering finally making the move to JB and trying to get a good understanding of things before i go flashing.

Trying to hedge my bets on any known wifi/helicoptering issues.
[HTC One S] fmedrano1977:
Yeah I've tried that, my (QDL Mode) is gone
[HTC One S] Darknites:
Not as far I know and 1.06 does everything.

Not sure best wait for the master lol unless anybody else got ideas.
[HTC One S] jac10000:
Restart your computer and begins again since step 1, whithout the step 3 and witout step 9 because you know the sd*4 and sd*12 and step 9 work.

If you block another, restart another the computer and begins again and again until that work
[HTC One S] Buickguy:
Actually I am on 1.09, and wonder if there is any good reasons to downgrade?
[HTC One S] fmedrano1977:
Only reason people want to downgrade is when they are at 1.14 and the reason to downgrade is becuase one cant flash radios and wifi partitions when they are past 1.13 HBOOT if I'm not mistaken. YOUR'E GOOD!

DOWNGRADING WAS A SUCCESS!
[HTC One S] mycomputerisjunk:
Well my phone is still stuck in QDL mode for now.

If anyone in interested... I made a ssh script that will automatically refresh the drive list (ls /dev/sd*) so you dont have to keep spamming the terminal window.

Just run it from a new terminal window, and it will run for a while. Use ctrl+c to quit if needed. I did this because it makes it easer to just watch the window for a change.

Extract the file.

Change to the extracted file location and run: ./hdd.sh
[HTC One S] Darknites:
Oh so you good to go, everything should work.
[HTC One S] :
Great script

Thats a great script, saves the hassle and removes human error. Although it seems to be doing whats intended, it unfortunately does not seem to be working, I have yet to see the partition info. This is very weird, I was able to see those 36 partitions originally but the flashing never worked, it didnt even start. Now I cant get the partition info regardless of what I do. If you have any success let me know, I would appreciate it.
[HTC One S] Gazzellone:
I think that doing this downgrade in Ubuntu 12.10 is better because with 12.04 didn't work with me, I don't know why. Only me had this problem? Anyone else? By the way, amazing work by you absolutelygrim, you're amazing. And all you guys're amazing! Good luck to everyone want to downgrade his hboot :)
[HTC One S] LibertyMonger:
It may run a little smoother with 12,10, I did run into a few small hiccups where I had to hold power down 5-10 times, not sure but it works great 12.04, i have downgraded 2 phones so far and still need to do my sisters and my moms and have faith it will work, it is really very easy.

I just wanted to say again how much I appreciate this, it is a great mod and tutorial. When I was making my decision to buy these phone's I seen so much development in these forums without reading into it much and thought for sure it was gonna be a great phone for custom ROM's and mod's but after getting it and reading into everything deeper it started to be very disappointing, especially when I learned i was on the dreaded 1.13 hboot. It was an awful feeling of disappointment, especially after owning the Nexus S and then the GNex. But this brought new life and excitement to this phone and I am very happy I stuck with it! These are very exciting times for our beloved HTC One S and things keep getting better and better and i am very grateful for all the dev's and contributors we have here, I wish I could donate but do not have the extra funds at this time. Donations are well deserved! Thank you all for all your work and dedication, XDA and this HTC One S forum is a wonderful part of our lives! We would be nothing without you! Lol
[HTC One S] cecengazi:
Finally,

From Hboot 2.15 to 1.06.....................................Finally

Thanks....................................:):):)
[HTC One S] williamx87:
Please help!!

i have done every thing and all i get is this

ubuntu@ubuntu:~/Downloads$ ls /dev/sd*

/dev/sda /dev/sda1
[HTC One S] fmedrano1977:
What step are you on?

Tmobile HTC One™ S
[HTC One S] plnghiepla:
Hi All!

I want to downgrade hboot1.14 to hboot1.09, but I don't know how to start. It's first time I do it, can every body help me step by step

I use T-Mobile phone, I flash many jb roms version4.1. The result, wifi doesn't work

Pls help me

Tks!
[HTC One S] fmedrano1977:
There's already a step by step on post one. First, if on a Windows pc, install ubuntu via Windows installer,

Second the bakp4 created in one of the first steps, put it in a zip file, and upload to dropbox if you have an account so that you can download it from ubuntu browser. Download it in ubuntu, extract and replace the one in the ville folder with it. Make sure you place ville folder on desktop in ubuntu.

Now meet all requirements in post one and your good to go, basically just copy and paste through the steps.

Tmobile HTC One™ S

---------- Post added at 11:31 AM ---------- Previous post was at 11:29 AM ----------

Also this will downgrade you to 1.06 which is what I have now with it out any issues.

Tmobile HTC One™ S

---------- Post added at 11:35 AM ---------- Previous post was at 11:31 AM ----------

Message to OP, it would help many to include the friendly reminder in step 9 on step 12. Since many are probably like me and just copying and pasting, I just copied and pasted step 12 completely forgetting about the notation from step 4, reminded in step 9.

Tmobile HTC One™ S
[HTC One S] williamx87:
well this is whats funny lol my phone died on me before i could do the p4kill so its a brick but i get the same usb thing or i did so i did all steps rom ubuntu on and thats all that shows up... well today i come home after my phone has been in that moad all night and plug it into my laptop now my pc keeps saying HID usb found and un found repeating... what can i do...