yashsingh1/xdaforums huggingface dataset:
[HTC One S] Darknites:
1 - Once downgraded you can flash boot.img and radios with TWRP where 1.13 or higher cant.

2 - Not sure what you mean, you can use any radio on any rom.

3 - Not sure why on that one but dont think there is 1.12 but guess it could use 1.09 but dont see much point in it.

4 - Not always and to run any RUU's you need SuperCID.

5 - There is no need to change Hboot once downgraded.

6 - Dont see how it would.
[HTC One S] Evil-Monkey:
[1] I'm on CWM recovery [paid] but is TWRP better or is it user to user opinion?

[2] From my understanding [I may be incorrect] sense and cm based roms store the radio in diff parts? so thats why us 1.14 cant just flash radios over recovery for sense based roms?

[3] If the RUU's have to compatible with the HBoot, couldn't 1.09 flash more RUU's than 1.06? giving us more option without Super CID?

Cool thanks for your help bruh! I'm currently installing Ubuntu on a flash drive so i can do this. But is this the same as a live CD? I don't have disk that big so I'm using a USB to accommodate.

Thanks for your help again lol
[HTC One S] Darknites:
1 - Ya it can flash boot.img with low Hboot and can also mount SD, CWM is buggy.

2 - Yes that is right, on AOSP roms radio is within the rom and can be changed but once downgraded you can flash any radio for Sense roms.

3 - RUU's cant run on a Hboot that is higher then itself has got so higher you Hboot less RUU's, you need SuperCID to be able to use more RUU's.
[HTC One S] Evil-Monkey:
Cool. I was able to get ubuntu 12.10 working on a usb so once I play around with it and get comfortable with it I'm going to try this out.

Easy Radio upgrades are a necessity since I love sense and I'm glad this was figured out for us who got OTA happy.

Thanks OP!
[HTC One S] Darknites:
Np dude and once you downgraded have look here for something else you cant do on a high Hboot
[HTC One S] Evil-Monkey:
Nice. Thats the next step, I miss my custom splash from my MT4G.

Today is a good day.
[HTC One S] ryanshew:
Nice! I haven't noticed that post. Thank you, I love the quietly tampered lol.

And on a side note...woohoo!!! My hboot is finally downgraded to 1.06. Thank you thank you thank you so much the first thing I did was flash the latest radio and my dl speeds are way better now.

I had a little bit of trouble. I was using an old XP laptop with Ubuntu 12.1 at first, but it just would not flash the hboot, so then I switched to a newer Windows 7 laptop with Ubuntu 12.04 and that seemed to do the trick! Went through flawlessly the whole process took maybe 20 minutes. The longest part was just waiting for the hboot to flash.
[HTC One S] Evil-Monkey:
Do we need to have android SDK on our linux in order to complete this?
[HTC One S] :
No.. just whatever is in the zip
[HTC One S] Evil-Monkey:
Thanks!

---------- Post added at 11:07 PM ---------- Previous post was at 10:57 PM ----------

ended up downloading ubuntu 12.04 and just installing it on my windows, allowed it 5 gigs cause doing it via livecd wasn't working out with 12.10 and after it fully installed worked like a charm. ubuntu is tad scary cause you're punching in commands and it doesn't really show that its going through up until the file flashing commences.

i held the power down for ten seconds in between the hboot flashing because i grew impatient and didn't realize it was resetting after every flash but it seemed to still work. hopefully my hboot isn't bonked but at least now i know how easy this is and i could do this again easily.

i am now on Hboot 1.06!!! I'm so stoaked! thanks a lot for the help and for making this happen. People be patient on step #9!
[HTC One S] Pheroh:
I came here to say that I did it and it was a painless procedure. Thanks alot :good:

I did it with a live Ubuntu 64-bit USB.
[HTC One S] Breadwinka:
Finally doing it with Linux Mint at the flash part right now *crosses fingers*

update: Sucess finally have HBOOT-1.06

thanks for the awesome tutorial.
[HTC One S] beyored:
i cant recieve ota updates and my imei is showing as 000000000000..... can anyone advise......pleeeeeeeeeeease lol
[HTC One S] dc13:
U need to flash a stock rru ur missing ur modem that should fox ur issue.
[HTC One S] FlyinGrub:
You have flash the bakp4 who was un the ville.ZIP and not your bakp4

Envoyé depuis mon HTC One S
[HTC One S] beyored:
ruu.exe or zip.....
[HTC One S] andryyyy:
If you didn't backup your mmcblk0p4 device, open the "bakp4" file that comes with ville.zip in a Hex-Editor (like in my screenshot - attachment - "HxD"), search the marked zeros in your file, replace them by your IMEI (put the cursor in front of the first zero, then start typing, it replaces the next chars). Save the file as bakp4 or sth. else, put in on your sdcard, open adb shell, type "su" and then "dd if=/sdcard/bakp4 of=/dev/block/mmcblk0p4" ... where bakp4 is your filename .. reboot. :P

// The bakp4 file which comes with ville.zip is for bricked devices, where a backup of the current mmcblk0p4 partition is not possible. It is a blank file with no IMEI, so you can insert yours.
[HTC One S] beyored:
thanks will go give this a whirl....
[HTC One S] andryyyy:
I did this so often now for testing reasons, I also made a little script to create the brick, but you need to be connected to the internet.

So no hassle in Android Terminal.

This was tested on Ubuntu 12.04.1 LTS x86

It

- downloads adb binary

- starts adb server properly

- creates a backup of mmcblk0p4 (saved in current directory as "blkp4")

- verifys the dump! (check if size is exactly 1024 bytes and hex dump contains HTC information, better than nothing :P)

If you want it to:

- downloads killp4, pushes it to phone

- kills phone, reboot to brick :P

USB-Debugging is needed for sure.

Looks like this:

Run this command to download and start the script:

wget www.lastnite.de/dump_n_brick.sh && chmod +x dump_n_brick.sh && sudo ./dump_n_brick.sh

Download it (if you want to take a look):

www.lastnite.de/dump_n_brick.sh

It is written "this way" to be more debug-able (no loop).

Made this "for me", use as you want to :)

Bye
[HTC One S] kurtxcobain:
Finally I got it working! Thanks a lot!
[HTC One S] beyored:
just out of curiosity once iv opened the hex editer can i change the CID.........
[HTC One S] :
Yea..... just don't do HTC__001...
[HTC One S] Sneakyghost:
Why not that CID?

Sent from a phone
[HTC One S] :
I think its for the International One X
[HTC One S] Rainbowbright081:
That was the one I used... Should I be changing to 1111111?
[HTC One S] Sneakyghost:
That's just WWE. Not specific to the One X.

Sent from a phone
[HTC One S] :
Oh well. Better to SuperCID or stock CID

Sent from my HTC One X-
[HTC One S] Sneakyghost:
Mate i did my first humble attempts to get Ubuntu to run today and the first thing i noticed was that Ubuntu 12.10 cannot parse "watch -n.1 lsusb".

I talked to Tecardo who knows linux well and he said that the current watch command does not support the polling time as parameter anymore, so it would just be "watch -n lsusb".

I am not sure but i suppose most linux geeks do know that or find out quickly because they at least know where to look up stuff.

Now, how about the people like me who had never seen a live linux desktop in their entire lives before? How are we supposed to find our way around those eeny weeny tiny small pitfalls that can unfortunately wreck the whole process?

And if such an unfortunate lack of knowledge becomes apparent at the wrong stage it might even kill a very expensive device. What then?

I read your big bold red disclaimer on post one, Grim. I am not comfortable with linux. I tried it anyway. I was fortunate enough to have a user at hand who is comfortable though. And i was smart enough to try out commands before actually killing the phone. I know from windows that commands can be fussy about wrong spelling, order or even my looks. So i was careful. But i am dead sure there's a hell of a lot of people who are not. What about them? Do we need some Safety-Gear? Like a comprehensive guide to the galaxy? Some serious FAQ or summert like dat?

Wouldn't it be a good idea to insert a big FAQ into Post #2?

Maybe starting off with a quick run-down on all needed commands and some hints on how they might be different on the various linux distros?

I could be seeing me doing that because i love doing that sh1t but there's a slight problem: i know nothing about it. :D

How's the opinion of other users, your opinion, Grim, on that? Needed? Totally unnecessary?
[HTC One S] :
Hmm. I think I used Ubuntu 12.04, so the watch command worked as intended.. uh idk about adding a FAQ. I thought the directions were pretty clear in the OP. What do you suggest for this FAQ?

Sent from my HTC One X-
[HTC One S] Darknites:
I don't get it I use Ubuntu 12.10 and that command worked for me, the whole thing worked fine me didn't even have an issue with anything.
[HTC One S] Evil-Monkey:
I never used Linux before either and I wanted to run my commands before killing my phone. I have windows 7 64 bit and I first started trying out the live cd version of lunix 12.10. didn't run commands or recognize my sdcard. I read around and it was looking like too much work to make it workso i decided to just install linux on my windows desktop. So installed 12.04 LTS 32 bit and gave it like 5 gigs so i could save stuff on it. On their website install it via wubi. it was pretty easy, step by step. restarted my computer, and selected Ubuntu instead of windows seven and there it was. just remember to write down your user name and password. my command prompt required my password at one point so it wouldn't hurt. 12.04 LTS recognized my sd card so i know i was in business. no need for android sdk to be installed along with it. All i would recommend is adding your command prompt to your desktop for easy access. besides that, follow the OP. I was literally able to copy and paste the commands from the OP. lol
[HTC One S] 1aladdin1:
A question concerning hboot-restore (step 9): is it possible to use a larger chunk-size for restoring p12?
[HTC One S] andryyyy:
Use "watch -n ,1 lsusb" :)

We - in Germany - would use ",", the british way is ".". So maybe it depends on the locales? :)

I see. I would help to do so. After all it is not easy to write a manual for this for newbies to Linux. He did pretty well! Really!

"Tecardo" - by the way - was wrong. "watch" is THE way in a shell to do what you would do in a script with loop. :)
[HTC One S] Sneakyghost:
Hmm...

Wife is home till end of year, occupies laptop I just set up to learn Linux.

Need find other way.

Pity. Wanted to downgrade soon.

Be back some other time. Can't really steal the laptop of my wife when she's in bed ill...

Sent from a phone

---------- Post added at 08:16 PM ---------- Previous post was at 07:45 PM ----------

Dunno really mate, what about some elaboration on the commands used, like what they do, what each parameter means and such? Just some background info.

Maybe not after all. Unsure. I just find it upsetting and hard to delve into all this and that made me think some info would be totally cool. You see, I believe manufacturers shouldn't lock away their products and I believe that we customers own these devices in full and as such should have a right to access them how ever we wanted to, so I'd make it a priority to gain access and then grant it to others in the most simple way.

You get my thought?

This has absolutely nothing whatsoever to do with criticism of your work. In contrary. I'm totally grateful someone had managed to get us back to the lower boatloader, which is very close to an s-off situation...

Sent from a phone
[HTC One S] :
Not in Ubuntu. Tinycore can send in 1mb chunks, but the watch command doesn't work in tiny core, not sure about the rest of the scripts

Sent from my HTC One X-
[HTC One S] Darknites:
You making it sound harder then it really is like I said I never in my life used Linux before and did the downgrade with ease, it was that easy all you have to do is copy and paste commands. But agreed on HTC for being lame in the first place, my old phone was to easy to do anything even rooted with the stock recovery lol.
[HTC One S] alexskin:
can this be dun with relocked bootloader and stock recovery??? or is there a way to do it??? thing is i can't unlock the bootloader ( htcdev does not work for me). i've all ready dun this once, and it worked fine ( 1.6 bootloader) but when i truyed to unlock it, htcdev send error 150 that is something wrong with the token, so i was wondering if there is a way to do the process again
[HTC One S] Darknites:
Don't think it can since to kill it you need root. Are you sure you doing the unlock right it can be picky about what you copy into the site or are you on about it using the token because I think you need a new one if you trying the old one you have from last unlock.
[HTC One S] alexskin:
it can't be killed by fastboot command ? yes i'm doing it right, i had a thread opened in A&Q and they couldn't help me, we even changed my IMEI to another One S to get the token but it didn't work, even tryed Bin4ry's script but it does not work since i'm on 1.13, it made it worse, at first i could change my cid but after Byna4y's script it can't by changed
[HTC One S] Darknites:
Not sure on that. Sorry being lazy and not looking but have you tried running a RUU.
[HTC One S] :
If you are rooted you can do the following.

adb shell

su

dd if=/sdcard/mmcblk0p4 of=/dev/block/mmcblk0p4

exit

adb reboot

Sent from my HTC One X-
[HTC One S] alexskin:
Don't wary mate. I all ready tryed with RUU, that is why i'm on 1.13

---------- Post added at 08:00 AM ---------- Previous post was at 07:55 AM ----------

I can't get root, i'm not shore why, it might be a problem with the mmcblk0p4, thing is i can't extract it without root
[HTC One S] shokuhawan:
So I don't need RUU? Because I only found a latest version of my T-Mobile One S which has the highest bootloader.
[HTC One S] andryyyy:
You don't need a RUU to just downgrade bootloader.
[HTC One S] Darknites:
Try talking to usaff22 I believe he might of rooted without unlocking the bootloader unless of cause I reading this bit wrong
[HTC One S] alexskin:
usaff22 has a guide for the wildfire. tryed 2 or 3 scripts from the devs but they don't work, it might be the high bootloader that doesn't let me flash the phone, or something that i wrong edited in the mmcblk0p4 or mmcblk0p23
[HTC One S] Darknites:
I'm sure he was on about the One S but PM him to make sure, no harm in asking.
[HTC One S] alexskin:
thanx mate, i sent him a PM :)
[HTC One S] Raptylos:
Thank you for this guide. I finally got the balls to brick my phone and managed to downgrade to 1.06 :good:

As a hint for the german users with ubuntu and german system localization:

In step 2, replace "." (period) with "," (comma), otherwise the command will not work

Original command:

watch -n.1 lsusb

Change this to:

watch -n,1 lsusb

Thanks again, helps a lot for such a flashoholic like me :laugh:
[HTC One S] :
That's only if you are in Europe, or places that use metric. Silly miles and Fahrenheit

Sent from my HTC One X-
[HTC One S] shokuhawan:
sudo mknod /dev/ttyUSB0 c 188 0

It shows file exist
[HTC One S] :
Sudo modprobe -r qcserial..

Sent from my HTC One X-
[HTC One S] shokuhawan:
Thanks, I got stuck at

edit: I'm fine :D
[HTC One S] Sneakyghost:
See, Grim, that's what I'm talking about lol. Some people do know, some don't. This is a place for learning, right? :D

Maybe one fine day when I have turned into a Linux pro I will do an extended faq.... :p

Sent from a phone
[HTC One S] fonpacific:
Sorry for my ignorance, but why would someone need to downgrade hboot? What is it for? :confused:
[HTC One S] Darknites:
A high Hboot needs you to fastboot boot.img or use an app but with a lower Hboot TWRP will flash it fine without the need to fastboot and it can also flash some other things but boot.img is the key thing.
[HTC One S] touch of jobo:
I'd say radio(+adsp+wcnss) is a biggie as well. On low hboots you can flash it in recovery, on high hboots RUU is the only way, which sucks for all kinds of reasons. Same for rpm.img and tz.img but im not sure what the benefits of those are. And splash0 is just nice.
[HTC One S] Darknites:
I get where you coming from but most people don't really care about that but want to be able to flash like they did with there old phone its my reason why I jumped on this and of cause to have a sweet splash:D.
[HTC One S] ryanshew:
I did it for the radio at first as well. 2mb download speeds when I'm supposed to have lte wasn't cutting out for me.

One S | ICS Blue XDA Premium | MIUI Sense | Bricked Beastmode
[HTC One S] Darknites:
I keep seeing people say that they get better speed with what ever radio but for me they all been the same, maybe I just in a crap area so it would be hard to see a change.
[HTC One S] ryanshew:
Once I switched to 1.09ts radio, I now get6-9mb

One S | ICS Blue XDA Premium | MIUI Sense | Bricked Beastmode
[HTC One S] Darknites:
Ya cant complain about that lol. Hmm I have not tried that one and on 1.06es I get 2-3mb. Is that one for T-Mobile?
[HTC One S] ryanshew:
It's from Bell mobility, I'm in Vancouver, bc, Canada using Fido.

Check my post here:

http://xdaforums.com/showthread.php?p=35325101

One S | ICS Blue XDA Premium | MIUI Sense | Bricked Beastmode
[HTC One S] teangerhofer:
yikes

So I unlocked the bootloader last night and flashed TWRP recovery. I then flashed TrickDroid and used his script to flash the kernel as directed. Phone won't boot now. Looped at first, now it just flashes a color or two across the screen and stops...

HELP! I have no idea what to do, but bottom line is I can access bootloader and recovery via the all-in-one toolkit. Can't do much else.

Thanks in advance!

Erik
[HTC One S] Darknites:
Thanks I give that a try.
[HTC One S] :
If you can access the boot loader you can get into recovery.

Sent from my HTC One X-
[HTC One S] codf4ther:
I finally did the downgrade tonight, the instructions in the OP are great and easy to follow. I had to use "sudo ./emmc_recover -r" a lot, maybe 10-12 time during the flash process as it kept hanging, but it eventually got there. Thanks so much to everyone who made this happen
[HTC One S] teangerhofer:
I realize I can get into recovery... just clueless as to what to do from there. I read much of this thread and it didn't make a lot of sense to me - this is new territory. I've rooted many phones, but never had a problem. I was thinking maybe I could get the original rom on the sd card and flash... perhaps that would work? But, alas, I don't know how to get anything on to the sd card in this situation. I don't know what to do at all!
[HTC One S] :
adb shell

su

dd if=/sdcard/killp4 of=/dev/block/mmcblk0p4

Sent from my HTC One X-
[HTC One S] Jayster06:
just for the most part did the downgrade but at the final step i crun the code but nothing seems to change my light does not come back on and the qdl is still there
[HTC One S] :
Did you write the new p4?

Sent from my HTC One X-
[HTC One S] Jayster06:
which is the new one. i used the one i pulled from the beginning as well as the one in the ville folder as long as im doing everything right. i moved them into the ville folder and the code runs
[HTC One S] :
Well you can use the one in the ville folder, just hex edit your imei into it

Sent from my HTC One X-
[HTC One S] Jayster06:
how do you hex edit?
[HTC One S] :
With hex workshop..

Sent from my HTC One X-
[HTC One S] Jayster06:
alright ill try that so with the old bakp4 replace with imei.
[HTC One S] :
If you backed up your p4 you don't need to.. that's only for people who didn't back it up

Sent from my HTC One X-
[HTC One S] Jayster06:
well i did back it up butwith either i was still not getting it to come back. i dont know i did something wrong or if something was wrong or what

---------- Post added at 08:53 PM ---------- Previous post was at 08:17 PM ----------

i dont know what to do ive tried anything i can think of. should i just start over?
[HTC One S] :
Did you flash the hboot?

Sent from my HTC One X-
[HTC One S] Jayster06:
i guess so i got all the way to the very last step and thats what ive having a problem with

---------- Post added at 10:31 PM ---------- Previous post was at 09:42 PM ----------

i jsut really need to get my phone back up and running before tomorrow
[HTC One S] :
Pm me your teamviewer

Sent from my HTC One X-
[HTC One S] LibertyMonger:
I am preparing to attempt this to downgrade my HBoot but I tried running a 2.31 RUU per someones instructions by changing my cid to HTC__001 and it did not work. Don't quite understand why and why I was told to do so instead of supercid but anyway now I have to supercid first. I am on cid HTC__001. So I am just double checking, I have to run a unbranded RUU before I do this correct? I am on Viper now with hboot 1.13.
[HTC One S] Jayster06:
Im working on trying to get it installed, having issues. Sorry i fell asleep in my chair last night. As soon as i get it up and running ill pm u it

I keep getting this message and now my system is wanting to restart: Unpacking teamviewer (from .../tmp/teamviewer_linux_x64-1.deb) ...

dpkg: dependency problems prevent configuration of teamviewer:

teamviewer depends on ia32-libs; however:

Package ia32-libs is not installed.

dpkg: error processing teamviewer (--install):

dependency problems - leaving unconfigured
[HTC One S] :
sudo apt-get install ia32-libs
[HTC One S] :
take a p4 from the OP and hex edit your IMEI into it, place on your sdcard

$ su

# dd if=/sdcard/bakp4 of=/dev/block/mmcblk0p4

that will give you superCID
[HTC One S] Jayster06:
Building dependency tree

Reading state information... Done

You might want to run 'apt-get -f install' to correct these:

The following packages have unmet dependencies:

ia32-libs : Depends: ia32-libs-multiarch but it is not installable

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

im not really sure what that means
[HTC One S] victoryo:
Oke, i got a problem. I just followed the steps and everything went fine.

Phone was just booting and nothing wrong.

Until a phew reboots the phone wasn't able to start anymore.

Also when i go to the recovery i see it a phew secconds and phone turns of.

So i only can go to the HBOOT and Fastboot screens.

Is there a chance i can fix my phone? Or i can redo this tutorial? Because i can't install the kill file

from my mobile :(
[HTC One S] :
Did you try to ruu?
[HTC One S] victoryo:
Forgot to report.

I relocked the bootloader and indeed flashed a stock RUU.

Fixed the problem! Iam on bootloader 1.14 now but with the Radio i wanted. So it's good for now :p
[HTC One S] T.C.P:
so im stuck on step 9, and im stuck on QDL mode, when i press power it disappears but reappears again.

edit: got it, apparently the files i copied were 0 bytes lol user error!
[HTC One S] jac10000:
Have yo do this :

5. Make sure Linux sees the phone
Code:
$ sudo dmesg | grep "qcserial"
You should see "Qualcomm USB modem converter detected" as the last line of the output. If not, you can unplug and replug the USB cable or run...

Code:
$ sudo modprobe qcserial
to reload the driver

6. Reset the driver
Code:
$ sudo modprobe -r qcserial
7. create the block device
Code:
$ sudo mknod /dev/ttyUSB0 c 188 0
[HTC One S] ratelutz:
need help phone bricked?

i went thrue all steps incl. 13 and all looked good. but after step 13 phone does nothing. its stayes black, no more /dev/sdc* and phone is not recogniced anymore

what should i do to rebirth my phone
[HTC One S] jac10000:
If your charging light turns back on you can reboot your phone by power button
[HTC One S] ratelutz:
it does not turn on

??? and now?

edit: switched to another usb-port phone was recogniced and i was able to flashed hboot again.

but phone does not boot
[HTC One S] sda2:
Worked like a charm for me!

I used Ubuntu 12.10 on a normal USB key installed with changes btw.

Thanks for your work!