yashsingh1/xdaforums huggingface dataset:
[HTC One S] zoreli:
I tried that last night , haved unloked boatloader + twrp recovery and I try from twrp recovery to flash zip file OTA_VILLEC2_U_JB_45_S_HTC_Europe_3.17.401.102_16.22.20.03U_16.11.20.24_M_release_305849f16hjx6h6neosbyn

but it gives me a erorr ... (E: failed to verify whole-file signature ...)

So today I relock boatloader and flash phone with exe: RUU_VILLEC2_U_ICS_40_S_HTC_Europe_2.15.401.100_Radio_16.21.20.02U_16.09.20.11_M2_release_286571_signed

Now when I go to recovery it gives me just a black screen and a circle with a green arrow.

So you think that I must again unlock boatloader / instal twrp recovery and tried flash/update with OTA Jb zip file ??? do I need to root phone before?
[HTC One S] fatpanda0:
I think you are entering the download mode. try do it again properly you should be able to enter. stock recoveries are a little tricky to enter.

or you could try this

go to the location where you have adb installed. shift rightclick empty space and use command from here.

then try"adb reboot recovery" without quotes. make sure usb debugging in on. in case you dont understand anything message back.
[HTC One S] Bipe:
circle with green arrow is due to having stock recovery, you need to unlock bootlader again and flash twrp

but before flashing twrp try to flash firmware.zip from OTA zip using adb (step 6 & 7)

that should update your hboot, after that unlock bootloader, flash twrp and from it flash OTA zip (remove signature verification from twrp options, not sure if it is under advanced settings or when flashing zip)

also, don't forget to remove

from updater-script inside ota zip (open zip with 7zip or winrar, extract it from zip, edit with notepad++, delete old from zip and copy edited one inside) else you will get an error.
[HTC One S] fatpanda0:
I have actually never bothered to enter the stock recovery so had no idea we cant. So when we enter bootloader and press enter recovery the above image turns up and nothing else??
[HTC One S] xander1993:
it is easy my friend you just need UNLOCKED BOOTLOADER , TWRP CUSTOM RECOVERY

if you have now the ota.zip open it with 7zip on windows 7 then find file "updater-script" in the directory META-INF/com/google/android.

when you find it copy it to desktop and edit it with notepad++ find these words or line

ifelse( is_ship_bootloader(getprop("ro.bootloader")) == "t" ,

assert(check_cid(getprop("ro.cid"), "00000000" , "11111111" ,

"22222222" , "33333333" , "44444444" , "55555555" , "66666666" ,

"77777777" , "88888888" , "99999999" , "HTC__044") == "t");

);

and delete that line and save it, after saving it exit the notepad++, hold on to your new saved "updater-script" file in a safe place.

after that go back to the open ota.zip and go back to META-INF/com/google/android. and delete the "updater-script".

after deleting it locate your recently edited "updater script" (it is the one i asked you to edit on notepad++)

after locating it,drag it to META-INF/com/google/android located inside the OTA.zip

remember! before closing the OTA.zip go back to the root where there is "META-INF,System,Firmware,FotaBoot and etc" copy or drag the FIRMWARE to the adb and fast boot folder

then....save or close the OTA.zip and put it on the phones storage.

then follow this steps now

plig in your phone,make sure adb debugging is enable...

then

6th step:this time to OEM update mode: adb reboot oem-78

7th step: Flash the firmware update: fastboot flash zip firmware.zip. If this complains without getting you a green progressbar on the screen, try it again – the second time it usually sticks.(even if it fails the the 4th time around just try and try it)

Once this process completes, reboot the phone again in the new bootloader: fastboot reboot-bootloader.

Now you can unlock your bootloader again, using the Unlock_Code.bin file you got from htcdev.com: fastboot flash unlocktoken Unlock_Code.bin.

At this point, you’d sure as hell wish you’d made a backup, if you didn’t. Because now your phone is wiped, reset to factory default. Don’t say I didn’t warn you upfront.

8th step: After the reboot finishes, you can once again boot in booloader/fastboot mode, and flash your recovery anew. For Clockworkdmod Recovery, the command is fastboot flash recovery <filename.img> Now you can boot the phone in the recovery (select the option from the bootloader menu).

9th step: Once in the recovery, it’s time to restore your nandroid backup. You did make one, did you?

If you finished restoring the backup, or you can now flash the OTA zip on the phone, updating the ROM to the new version or stock version.

After this, you just need to reboot one more time, this time to the ROM itself. Let it finish upgrading all applications, and tadaa, your freshly upgraded phone.

hope this helps my friend,

feel free to thank me :)

-xander
[HTC One S] skinnemuva:
Recovery issue

I am having an issue after flashing TWRP that when I go in recovery and select it takes me to a image that says HTC Quietly Brilliant and then some message about how this build is for developers only, etc. It just hangs there. Did I download the wrong version of TWRP? I got 2.4.4 from techeratta site listed in the OP. Thoughts?

Thanks!

Update: I tried with TWRP 2.3.3 as well and I get stuck at the same place. As soon as I select Recovery from the bootloader it brings me to the htc splashscreen with the "This build is for developer purposes only Do not distribute outside of HTC without HTC's written permission., etc." What am I missing???

Update 2: I figured it out. I was installing the TWRP for the S3 and I needed the S4. Please ignore!
[HTC One S] hellodzulz:
anyone has hboot 3.06 mine is hboot 2.11 how can i upgrade to 3.06? i cant use the kernels :(
[HTC One S] xander1993:
you probably need to update
[HTC One S] dannypharm:
1. Can I do this with relocked bootloader and stock recovery?

2. Do i really have to unlock bootloader and flash custom recovery after flashing the firmware update?
[HTC One S] hellodzulz:
you mean, i need to unroot, lock up my phone and install jellybean?
[HTC One S] mihaibuda:
xander1993 i used your steps, except my phone was RELOCKED and then UNLOCKED before, and didnt Relock bootloader after i fashed Firmware. I entered in recovery and flash modified OTA.zip. Now my HBOOT updated from 2.11.0000 to 3.01.0000, soft is 3.17.401.102 but my WiFi does not start.

When i flashed Firmware it gave me an error, but de green bar moved on screen (while in fastboot mode). I did not use oem-78 becouse it did nothing (just an black HTC logo, no green bar), and i entered in fastboot mode and flashed Firmware.zip from that white screen.

What do i need to do to have an working WiFi? Flash only Radio againg from fastboot, or another file?

My phone has HTC_032 if mattered.

Edit:

i skiped some steps:

now i did it again, and everything works.
[HTC One S] xander1993:
hello you should not skip some steps, that happened to me too i dont have wifi working and the green bar is not there, you must flash the firmware in locked bootloader but please folllow all steps to be sure no problem occur , and when you are flashing the firmware it will error but then retry it again i a sure you it will work. come back to me when you still have problem i am happy to help you.

---------- Post added at 02:31 AM ---------- Previous post was at 02:28 AM ----------

yes mate i think thats the only solution because for now we cannot s-off

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

1. im sorry it is impossible without unlock bootloader and custom recovery

2. you must follow the steps, as the steps will lock your bootloader and you will have to unlock it again thats for the FIRMWARE. and for operating system or ROM you will need to modified it and install it thru custom recovery
[HTC One S] mihaibuda:
I said in the post that i did it again, and everything works :cowboy:

Thanks. I learned a lot from that post of yours :good:
[HTC One S] xander1993:
thank you you are welcome. :)
[HTC One S] SmoothOne13:
Hi guys

I've got a problem. My computer doesn't run fastboot so I can't re lock my bootloader. Can somebody help me ?:(
[HTC One S] xander1993:
what do you mean that its not running fast boot?
[HTC One S] inxes87:
ok so i really fuked up my phone (HTC ONE S). maybe someone can help me..

first of all...a month ago or so when i bought my phone i thought is s4 (bad ideea it was s3) i flashed a recovery that couldnt work .. i said np , dont need it.. used it my phone just fine.

Last night i tryied to update my firmware from the software update (it found the 4.1.1 update in europe , romania 032 cid). ofc it didnt work.. i start reading alot on this forum and on others and i managed to install the twrp recovery that actually worked. using the steps from here i flashed the firmware.zip and after the whole ota through the twrp , i restarted phone but kept getting all the processes not working after the unlock. I entered recovery wiped cache and tryied again and nothing, i said fuk it factory reset for the win and leave it as it be. . but now .. my internal sdcard is not partitioned i think becuz it sais it's empty .. nothing works..

i dont know if you understand any of this but please , if anyone can help me
[HTC One S] zoreli:
I have a problem with the One S, Update and updated to 4.1.1 is done as root and TWRP recovery loaded phone is operating normally, I did him a hard reset and now when I press the power button a few times and will light up the keys to light up only when I put it on the charger , take it off the charger and everything was normal - and turn it off again the same - power and shake a few times illuminated keys and will not start until you put it on the charger, the other thing is that iGO navigation will not work, in fact when you start throw me that the resolution is not supported 0x0???! and has previously worked flawlessly iGO, anyone know what it could be???
[HTC One S] Cayman.n2o:
What is your hboot? I belive there were some partition changes

in 4.1 that's causing problems on you phone. Try to flash ruu, should fix things.

Sent from my HTC One S

---------- Post added at 05:29 PM ---------- Previous post was at 05:24 PM ----------

About your first problem I have no idea. For igo it could be due to the 3 dot menu button.

Sent from my HTC One S
[HTC One S] zoreli:
I want to reflash my One S (C2) but I cant find RUU JB Europe :(
[HTC One S] inxes87:
ok , so the problem was not that i had custom rom and tryied to flash ruu. i had 4.0.4 stock and wanted to upgrade 4.1.1 but because of bad recovery i couldnt go after the restart. i started toying around and managed to screw everything up, it was deleted everything from the phone.. all partitions messed up. but when it was all blank i tryied once again to flash with TWRP the latest RUU and finally got it to work.

now i have another problem.. or i think it is a problem.. my internal space shows 4gb+ full out of 6gb .. but i dont even have 1gb.. so 4 gb are lost? i don't understand.. i am scared to try to fix the problems due to recent softbricks :P

i had sgs2 previous and i swear to god it was so much easier to flash a rom . be it custom , or original

a
[HTC One S] Udumees:
Hi,

My OneS (S3) (unlocked and rooted, but stock firmware) said today that it wants to install official update.

But it can’t be installed because I haven’t got stock recovery.

Can anybody help me and tell me where I can get stock recovery package so I can install this update?

My Android version is 4.1.1 and software version 3.17.401.102.
[HTC One S] vksjangra:
what is the update that u have received?

and for flashing OTA

u will need stock recovery that u will get from the ruu for ur cid

and locked bootloader as well

or u can download the ota save on your computer and flash it manually after removing cid check
[HTC One S] Nightwish sgsl:
Guys i was with 2.11 hotboot and on luxandroid v4 rom. i installed miui but got bootloop. then i tried to restore my backup from twrp.(luxandroid rom backup) but i get bootloop again.what should i do ? (
[HTC One S] bilal_liberty:
flash boot.img from luxandroid
[HTC One S] Nightwish sgsl:
i solved problem. i enabled usb masa storage in twrp and copied luxandroid zip to sdcard.then flashed again with boot.img... thanks:good:
[HTC One S] siltz:
About to unlock my One S and install a custom ROM but does it matter that the phone storage is encrypted? Should I un-encrypt it first?
[HTC One S] chepui:
yes, you have to un-encrypt
[HTC One S] sloperr:
So I flashed Cyanogenmod 10.1 and now I would like to back to 4.1.1 stock or custom 4.1.1 rom but I don't have any backups done ; x Is it possible to do it now? I'm on cid32. Can't find the matching RUU.
[HTC One S] ZackehSoul:
There are no RUUs for C2 JB.

Try find the OTA (around 600MB) and flash it in recovery.
[HTC One S] wqq2511:
I just got a problem. The boot loader of my phone is unlocked, but the S is ON. So there is no recovery in my phone. Can some one tell me how can I do with my phone. Just do the same way as the boot loader locked phone?
[HTC One S] xander1993:
s-on is fine you can still get custom recovery or with the new exploit you can s-off your phone at moonshine.io and everything will be fine
[HTC One S] :
Hi guys! I have a question for you

If my hboot is 3.01 can I flash ICS ruu? After it should found JB update automatically right?
[HTC One S] bilal_liberty:
Since u have higher hboot, flashing ruu o lower hboot might give an error.
[HTC One S] :
Ok aren't there JB ruu for ville C2?
[HTC One S] bilal_liberty:
no, there r only ota's and few custom roms based on that ota's
[HTC One S] :
Even if i'm s-off?
[HTC One S] xQrzy:
While you are S-OFF you can run ICS RUU, it will set your bootloader to "locked" state. :)

Remember to flash stock hboot and recovery before RUU.
[HTC One S] :
So i have to flash stock recovery, relock bootloader and run ruu right?
[HTC One S] xQrzy:
If you are s-off you don't need to lock bootloader. RUU will do it for you.
[HTC One S] :
And the ruu will replace the stock hboot
[HTC One S] thienvandac:
Oh my god, my one S die a year ago now live, it can turn on fastboot usb interface, how can I return it to stock? I'm so exciting but forget almost everything about this.... Please help me
[HTC One S] ZackehSoul:
Depending on the state of it, unlock bootloader & flash a stock ROM.

Unless you mean complete stock, in which case unlock bootloader + flash stock ROM + root, S-OFF, run RUU, S-ON.
[HTC One S] thienvandac:
Sorry I forget to post a picture of it. I cant flash recovery or do other things to it, I try run Ruu but the first time it say battery not enough 30%( my phone is totally dead without put the charge or usb port, it is likely without the battery/ next time I try to install the htc syns manager but it worst without recognize I had already plug the usb). I try to install recovery(some version) but it say signature verify fail. then I stuck at the bootloader interface.

Here is the picture: https://www.dropbox.com/s/8gmb2ssa8sptqtp/IMG_20130805_021902.jpg

I mean any running form of this phone is ok.
[HTC One S] thienvandac:
After I unlock bootloader, it become black and unable to come back to fastboot or do anything else. What should I do? It not recognize by the laptop too
[HTC One S] ZackehSoul:
Do you not have a system on it? Force it off (hold power for 10 seconds), then boot fastboot and see how that goes.
[HTC One S] thienvandac:
I try it for a year ago, but not work, hold it 10s it flash a green row and then off that all. I do mean not working at any try I know
[HTC One S] ZackehSoul:
How did you get it on the other day?
[HTC One S] thienvandac:
It quite weird because it turn lock booloader and can switch to fastboot interface, I have post a link to dropbox like this

https://www.dropbox.com/s/8gmb2ssa8sptqtp/IMG_20130805_021902.jpg

then someone advice me to unlock the bootloader, after I do it , it turn black without come back normal state or fastboot interface anymore
[HTC One S] ZackehSoul:
How did they tell you to unlock the bootloader?
[HTC One S] thienvandac:
I did it like normal way, through all in one kit and through htcdev website

actually that a member in a group of htc user, he tell me to unlock bootloader then run to RUU to turn it back. Last year I have the same issue like this after I unlock bootloader my phone is dead and not recognize by the laptop then I send to many repair center, I don't know how they can turn it on and lock the bootloader again but now I make the same situation
[HTC One S] ZackehSoul:
And running an RUU fails, yes?
[HTC One S] thienvandac:
It not recognize by the lap so when I run RUU it fail by usb problem

---------- Post added at 04:09 AM ---------- Previous post was at 04:04 AM ----------

If you free, can you chat with me through yahoo or gmail chat? chuyengia3a2006 for both of them
[HTC One S] stefpaul:
S-OFF question

Hey there guys. I wast interested these day to flash my phone a custom rom. i have it for almost a year and was interested to flash a new rom. i'm not new to these things but i do have some questions and if you guys can help me :D

1. What's the advantage if i S-OFF the phone? because i read that after you flash the rom in TWRP you have to flash from fastboot the boot.img and that's kind of unusual since on my htc hero and hp touchpad i didn't do that

2.I am interested in flash a MIUI rom of a CM 10.1 or maybe 10.2 since it's out and a lot of things are working, are these ones working or they still got major problems ?

3.I need to rely on my phone for every day use, so compared to the current software that the phone has, are there any better roms or is it better to remain stock ?

-i don't use my phone to play on it, just mails, music, reading and anything else, besides playing.

Thanks for the help in advance, Stefan:D
[HTC One S] ZackehSoul:
1. S-OFF allows you to write partitions that aren't available by default. It allows you to flash the boot partition from recovery and so on. It also allows you to downgrade your software via an RUU, which is normally blocked. The reason you didn't have to use fastboot on your HP is that it doesn't follow the same partition system as "normal" Android devices. You don't have to use fastboot to flash a boot.img with S-OFF if the ROM includes the ability to write the kernel for you automatically. It's important to note you don't have to S-OFF to flash a custom ROM.

2. The latest MIUI and CM10.1 are fine for daily use (perhaps the MIUI ROM more-so, because of the stock Sense camera). The 10.2 build is buggy at the moment and has several features which aren't 100%.

3. It depends what your "every day use" includes. CM10.1 is fine for daily use, although the camera isn't as good as stock Sense (although it's a minor difference). The MIUI ROM is also fine for daily use as it's based on stock Sense (which means there are no camera issues). However, the one advantage I saw for CM10.1 over MIUI is that the battery lasts a few hours longer, but that's about it.

These ROMs (including stock) are all different with different features, so I can't just say "this one is better because", it all comes down to preference :)
[HTC One S] stefpaul:
Thanks for the response :D. True what you say about the comparison between the roms. I'm pleased with the stock version of the phone, it's fast. but tested 2 years ago MIUI on a HTC Desire and it was interesting. The problem is that i like some features on sense( like speed dial) and only android 4.3 has it. i can put an app to do the same thing but the one from the sense rom does it better (tested). i think i'm gonna stick with the stock version of the phone for the moment since it's a carrier locked phone and i think in October i will close the contract and i need to send the phone at their service so the can unlock it and if i will S-OFF the phone there will be some problems when i send it.

All the best, Stefan :D
[HTC One S] thewonderer:
Hi,

I have successfully unlocked my phone following this guide. I wish I had known i will loose all info on the OS (SMS etc).

Now I wish to root the phone so I can put on pac man... Is Superboot r1 still the way to go? Had read in this thread that it bricked a persons phone. It was created a while ago.

thanks!

UPDATE..

Took the plunge and it worked fine. Just needed to do a cold boot after using superboot for phone to start up again.
[HTC One S] ZackehSoul:
Well when you unlock the bootloader, HTC does warn you before you press continue.
[HTC One S] Cbetter:
i should have updated to a higher boot-loader first stuck

HBOOT versions and ROM compatibility

Not all ROMs are compatible with all HBOOT versions.

Minimum required HBOOT version for flashing SENSE based, android 4.04 or 4.1.1 (JellyBean) ROM is 2.11 (you will get it with official 4.0.4 OTA update).

You can run older versions of Sense based ROMs (4.0.3) on newer hboot versions.

This does not comply to AOSP ROMs[/QUOTE]

i am not sure if this where i should ask but i followed the about procedure without full understanding what i was doing (idiot) an how i unlocked boot loader tried to root (only partial root achieved) and now i realize i should have updated to a higher boot-loader and 4.1.to use trickdroid rom i have an official update that is on my phone waiting to install i have tried to install through fastboot (error canot find 3 files android.txt )*

Do i remove twrp to install ota update ? how do i remove i don not have a backup that works ( i lost it when unlocking loader)

Am i better off trying to go to a cynageon tpe rom or am i stuck with this massive error

I have been accused of a lot of things in my time intelligent is not one of them !! ANY hELP would be appreciated

c:\fastboot>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 2.09.0001

(bootloader) version-baseband: 16.05.20.24_M

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: HT26VW403807

(bootloader) imei: **********************

(bootloader) product: villec2

(bootloader) platform: HBOOT-8260

(bootloader) modelid: PJ4023000

(bootloader) cidnum: TELST001

(bootloader) battery-status: good
[HTC One S] manalotozoilo:
help, i followed all the instructions and i'm done on rooting, when i installed the voomanager ang flashed twrp, when i reboot my phone to recovery nothing happens it is only a phone with a red triangle.
[HTC One S] Stano36:
Progressed to the following:

Download the te of Google Play application GooManager, after installing open the menu and select "Install OpenRecoveryScript" after installing vents menu again and select "Reboot Recovery". We'll get into recovery and can back up your ROM.
[HTC One S] manalotozoilo:
help, installed the pacman rom yesterday then i run smoothly but now i decided to go back with my stock htc one s rom, i open my twrp then i hit restore, after it finished i clicked reboot system, after 10mins i'm stock with the htc one beats audio logo. help
[HTC One S] Stano36:
If you have boot.img to the rom and install it via fastboot.
[HTC One S] Forrestyilin:
i tried to install the kitkat android 4.4 rom but i always stuck at the cm logon screen.

My hboot is 3.01 and i used the latest version of TWRP recovery.

I did flash the boot from ROM.zip

Could anyone help me on this issue?

Appreciate...
[HTC One S] bilal_liberty:
how much time u waited?
[HTC One S] Forrestyilin:
Dear dominos_liberty,

i have waited about 6~8 min
[HTC One S] neoandresk:
Hi. I follow the guide from the op and still i cannot unlock boatloader