yashsingh1/xdaforums huggingface dataset:
[HTC 10 Guides, News, & Discussion] KotTHECat:
Hey everyone!

I just S-OFF´ed my phone, then formatted data and did factory reset in TWRP. Now i want to get the official OTA update. Is it enough to flash stock recovery? How do i do this? Is it the same way as for the M8? Afaik i do not need to relock the bootloader since i am S-Off..

P.S. Is this normal?

F:\HTC>fastboot getvar all
(bootloader) version:0.5
(bootloader) ramdump-mode:false
(bootloader) variant:Surf eMMC
(bootloader) secure:yes
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0xe000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0x61e000000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0xef000000
(bootloader) serialno: - - -
all:
Execution time is 358(ms)

F:\HTC>

Why there is no bootloader and baseband versions? And "secure" is "yes"?
[HTC 10 Guides, News, & Discussion] King p1n:
My CID is HTC_001 so is the worldwide edition, the 1.80 update hasn't rolled out yet.

Am I okay to manually flash the 1.80 which rolled out for HTC__621 on my 001 edition?

Am I right in assuming for future updates in terms of OTA, my CID will remain HTC__001 and thus I will have to wait for them to roll out on that CID, If I dont manually flash again.

Im new to this stuff especially on HTC devices. im 100% stock and unrooted.

Also whats the difference between 1.80.401.1 and 1.80.701.1?
[HTC 10 Guides, News, & Discussion] yldlj:
Never have to relock the bootloader. Stock recovery is flashed the same way you did twrp.
[HTC 10 Guides, News, & Discussion] :
If you manually want to install the OTA you need the same Cid as your phone. So you need the 001 version. Your phone will remain that version for future updates.

The difference between those two is that one is for WWE phones and the other for another version. Don't know which one but maybe states unlocked. You have the 401 version and you can find it in the OP.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
I've seen a few posts referencing relocking the bootloader, and I want to clear up what appears to be some confusion around that.

NO ONE should be relocking their bootloader to take an OTA, S-ON or S-OFF. It's completely unnecessary. The ONLY time people should be relocking is if they're returning their device back to complete stock for warranty purposes, and have already flashed an RUU.

I know on some previous HTC devices relocking the bootloader was necessary to flash an OTA or signed firmware, but that isn't the case on the 10. Hopefully that clears up any confusion people might have.
[HTC 10 Guides, News, & Discussion] King p1n:
Okay thanks, so I can install this 1.80.401.1 OTA someone posted? I assume its for phones with HTC_001 CID

The OP doesnt have the 1.80.401.1 update it only has the 709.1 update and thats for HTC__621, the quote I posted above was posted later so not sure If OP didnt catch it.
[HTC 10 Guides, News, & Discussion] :
Thanks for the clarification!

Yes you can. It's for all the WWE versions.
[HTC 10 Guides, News, & Discussion] KotTHECat:
Clear enough! :)

So, the answer for this

is "yes"?
[HTC 10 Guides, News, & Discussion] anndrenaline:
Should i flash the ota based on the system settings version, bootloader version or cid?
[HTC 10 Guides, News, & Discussion] King p1n:
nvm
[HTC 10 Guides, News, & Discussion] :
I justed flashed RUU to go completely stock again only I know found out that it says software status modified. Is there a way (without going s-off) to go back to status official? I have the WWE version and I used the RUU in the OP. Thanks!
[HTC 10 Guides, News, & Discussion] TomF1979:
Why are the 1.80.401.1 OTA and Stock Recovery not in the first post?
[HTC 10 Guides, News, & Discussion] mustaine8661:
Currently on 1.30.401.1, CID is HTC__001. I restored using my own system back up, but received the error message when trying to flash the .zip in stock recovery:

"Verifying Current System. /dev/block/bootdevice/by-name/system has been mouted R/W. Reflash to reenable OTA updates."

So I tried the 1.30.401.1 system from the 1st post, however the error is the same. I complete the restore in TWRP, reboot into download & flash stock recovery, then reboot back into the stock recovery & try to flash the update. Each time, the result is the same. On booting into Bootloader Mode, it shows system as modified.

Any clues on where I'm going wrong?

Apologies if I've missed this somewhere else in the thread.
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Are you sure about your cid? HTC__1 and not HTC__001? If you changed it and set it back to HTC__1, then that could be your problem.

Or, it's possible you just mis-typed it in your post...
[HTC 10 Guides, News, & Discussion] mustaine8661:
Sorry, my fault! You're right, yes - it's HTC__001.
[HTC 10 Guides, News, & Discussion] CrazyCypher:
Hello, could you guys please point me in the right direction.. I did a backup of everything except data before modifying anything... now if I want to flash my stock recovery and restore system so I can perform OTA from the Settings menu, what do I have to do?

Thank you very much, I really appreciate it.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Can you tell me what the md5 checksum is of your system image backup, and the one from the OP?

EDIT: According to my information, the correct MD5# should be e04bb686a5665d3b940f07d8291493a0
[HTC 10 Guides, News, & Discussion] Alpert3:
Hello, I am wondering about "manually apply OTA", you mentioned the zip file must be put into a external sdcard, but if I formatted sdcard as internal, will this procedure work?
[HTC 10 Guides, News, & Discussion] :
Nope. You have to format again (for example in TWRP to ext3).

Otherwise download-mode can't mount your sd-card.

Well, atleast this happend to me...
[HTC 10 Guides, News, & Discussion] Alpert3:
Thank you!
[HTC 10 Guides, News, & Discussion] KotTHECat:
Do i have to have stock recovery to receive OTA (or to be able to see it if its there; not flash)? I am now on TWRP; all the rest is stock, no root.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
http://xdaforums.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297/post67306178
[HTC 10 Guides, News, & Discussion] KotTHECat:
Thanks.

I was wondering why its still not there ("No updates for your phone"). Thought its becoz of custom recovery...

P.S. HTC__034
[HTC 10 Guides, News, & Discussion] squ89r97:
Hi all, just need some clarification on the best way to get up to 1.80 base. I'm s-off and rooted with all the usual goodies.

Should I flash the 1.30.401 RUU then take the update or am I able to just use the 1.80 TWRP backup to get up to that base?

Cheers in advance.
[HTC 10 Guides, News, & Discussion] Alpert3:
Custom recovery won't be a problem to receive the notification of "new update available", but it will make the install of the update failed.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Incorrect. You didn't read my post ;).
[HTC 10 Guides, News, & Discussion] Alpert3:
What post? Your link redirects to a post of request for uploading RUU. On HTC M8 it's like what I said. I didn't know it's changed.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Not sure what post you're looking at. I'm talking about the link I posted just a few posts ago.

Much has changed since the M8, thus the lengthy FAQ in the TWRP thread.
[HTC 10 Guides, News, & Discussion] Alpert3:
Too many posts you've posted, I didn't know which. OK, read it, very clear, thank you.

I've been away of flashing and rooting for quite a while. Hard to catch up.
[HTC 10 Guides, News, & Discussion] mustaine8661:
Sorry for the slow reply.

MD5 for the .zip came back as 7603AFEE52E2EBB167BDE812BB53FE94! The checksum on the files inside the .zip matched, but it can't hurt to download it again from a different source.

Thank you for your help :)

EDIT: Have looked in the OP & the MD5 given through the link for 1.30.401.1 matches the same one I have. I'll have a poke around and see what else I can find!
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
If restoring the system image in TWRP isn't working, you can also try fastboot flashing the image file in Download mode, using the command

fastboot flash system <name-of-file>

where <name-of-file> is the name of the image file you're trying to flash. In this case, that's likely system_image.emmc.win.

Sometimes the restore in TWRP doesn't work right on some devices, and fastboot flashing typically gets everything back to normal. You *may* need to use htc_fastboot to flash it, although I don't have problems using the latest fastboot version in the Android SDK on Linux.

EDIT: Wait, are you saying the MD5# in system_image.emmc.win.md5 doesn't match what I posted? If so, that would mean it's not a clean image after all, which would explain the OTA error. Let me know, and I can upload the system.img I got the checksum from. Or you can try the above first and see if that works.
[HTC 10 Guides, News, & Discussion] jbm76:
Does anyone have or know where I can get the full RUU 1.21.841.8 - if anyone knows where to find it or some how obtain it I'd be really grateful
[HTC 10 Guides, News, & Discussion] ExMM:
I have a question that I don't understand, I read most of the post and the OP, but I want to make sure I won't brick my Device.

I am currently on the 1.55.709.5 firmware and I want to flash the new OTA 1.80.709.1, but I have TWRP custom recovery, S-OFF with Viper One ROM installed.

Can I just extract from the OTA the firmware.zip, then place it on the my external SD card rename it then flash it, or flash it through ADB?
[HTC 10 Guides, News, & Discussion] Toxicology:
Beeing soff gives you the freedom doing both ways. I have soff, twrp, and leedroid Rom... Just flashed 1.80.401.1 via adb in download mode. Flash it twice cause the first time it will give you a fail message.

Edit: use that step by step by sneakyghost

http://xdaforums.com/htc-10/how-to/2016-05-27-fastboot-flashing-firmware-t3387520/page16
[HTC 10 Guides, News, & Discussion] ExMM:
Fantastic, thank you for your help.
[HTC 10 Guides, News, & Discussion] fokus:
Hello,

i'm not sure if i'm right. Currently i am on 1.30.401.1, S-OFF, SuperCID, Firmware 180.401.1

If I restore the TWRP Backup (180.401.1) from the first post, do I have a current ROM then? Or is there anything elseI have to do?

Thank you!!
[HTC 10 Guides, News, & Discussion] Toxicology:
With the twrp bu you'll have a stock rom...nothing more or less:)
[HTC 10 Guides, News, & Discussion] fokus:
Hmmm, OK, that means that i have to reinstall all apps again after restore?

Is ther a better way to update from 130 to 180? Without loosing all the aps?

What if i restore the 180 system image an than restore the data partition from a earlier TWRP backup (from the 130...)? :confused:

Thank you very much!!
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Restoring 1.80 system image will give you the updated system files, and you can flash the updated firmware files separately.

Or, you can restore 1.30 system image and try take OTA, if it's released for your device yet.
[HTC 10 Guides, News, & Discussion] djluisbento:
RUU for 1.80.401.1

https://1drv.ms/u/s!AiX9cOZjjkadiBPRgEsjGtPtydmr
[HTC 10 Guides, News, & Discussion] pasudag:
guys someone can explain why when I do a backup restore boot me wrong pin? Thank you
[HTC 10 Guides, News, & Discussion] jbm76:
http://xdaforums.com/nexus-6p/general/psa-twrp-backups-lockscreen-security-t3245070

I also deleted the gatekeeper* files but not sure you need too.. But it worked :)
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Reading the FAQ in the TWRP thread would've been easier....:rolleyes:
[HTC 10 Guides, News, & Discussion] phucmaster:
Can anyone explain for me ?

I'm S-on, rom Viper 1.5, CID HTC__034, now i'm in 1.30.401.1. Now i want to update firmware to 1.80.401.1 to use with ROM Viper 2.0

Can i just use TWRP Backup (180.401.1) on one page to update firmware or i need to install Backup, then install recovery to update through OTA (do i need relocked after install recovery)?

I tried re-locked boot loader and install RUU in first page but it's not working. I don't know why.

If i use my back up nandroid, then relocked, i have to meet the notice 'Decryption unsuccessful

The password you entered is correct, but unfortunately your data is corrupt', then bootloop.

Thank you

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

Can i apply this for update firmware for S-ON

1. relocked bootloader:

fastboot oem lock

2.go to mode RUU

fastboot oem rebootRUU

3. flash firmware first time: fastboot flash zip firmware.zip

4. flash firmware second time: fastboot flash zip firmware.zip

After finished, go to Fastboot USB and Unlock Bootloader - Flash recovery - Flash Rom Cook. Done

In this topic http://xdaforums.com/htc-10/how-to/2016-05-27-fastboot-flashing-firmware-t3387520

they say : This thread is meant for S-OFF phones. People not having their security OFF please refer to HTC RUU methods or “Stock Backup and OTA” method.
[HTC 10 Guides, News, & Discussion] Alpert3:
And BANG!!! It works!!!

Thank you so much!
[HTC 10 Guides, News, & Discussion] PlayPetepp:
You need to download TWRP stock 1.21.710.10 system.img and boot and 1.53.710.6-1.21.710.10 OTA zip and also stock 1.21.710.10 recovery. Extract firmware.zip from OTA and flash it manually. Then rename recovery.img to recovery.emmc.win and place it in the same folder as system.img and boot. Then boot to TWRP, mount system as read only (r/o) and then restore system.img, boot and recovery. After that's finished just boot to system and apply OTA. That's how [MENTION=7482301]Rocco2d[/MENTION] did it and it updated fine.
[HTC 10 Guides, News, & Discussion] pasudag:
excuse trivial question, because you have to put the firmware manually? by ota not even update the firmware?

Inviato dal mio HTC 10 utilizzando Tapatalk
[HTC 10 Guides, News, & Discussion] PlayPetepp:
It's because once converted to wwe, your firmware doesn't match for ota to install.
[HTC 10 Guides, News, & Discussion] Rocco2d:
This step may or may not be necessary , you could try to apply OTA without flashing firmware manually and it would probably work but we can't confirm as we haven't tried it.
[HTC 10 Guides, News, & Discussion] KotTHECat:
Guys, just to be sure, what

exactly

are my steps to create a

completely stock

backup in case something goes wrong? Bootloader already unlocked (htcdev) and now i am about to flash TWRP...

What should i check to be backed up? Someone says "System Image" and "Boot", the other one says "System" and "Boot", and the next one says to check all except of "Data".

I only want to know the

minimum

that i must to check.
[HTC 10 Guides, News, & Discussion] TomF1979:
You have to take system-image and boot.
[HTC 10 Guides, News, & Discussion] :
Flash TWRP > Start TWRP > Don't allow modifications! (system read-only) > Do a backup of system-image and boot (or if you want of all partitions, but minimum and important is system-image and boot) > Reboot TWRP > Allow modifications > Flash whatever you want

System-Image is just useful if you didn't do any modifications to system partition to go back to stock.

That's why it's so important to use "read-only" mode in TWRP before you do this backup.
[HTC 10 Guides, News, & Discussion] KotTHECat:
Thx, this is exactly what i've been looking for!
[HTC 10 Guides, News, & Discussion] tkoreaper:
[MENTION=4470081]topjohnwu[/MENTION] I found the newest RUU for the US Unlocked version. All I did was copy/change the link address on the official site from xx.1.53.617.5.exe to xx.1.80.617.1.exe and it downloaded the latest RUU. I have also used the RUU and can confirm that it is fully functional.

http://dl3.htc.com/application/RUU_PERFUME_WL_M60_SENSE80GP_NA_Gen_Unlock_1.80.617.1.exe
[HTC 10 Guides, News, & Discussion] djluisbento:
RUU for 1.80.401.1 (New Link)

https://1drv.ms/u/s!AiX9cOZjjkadiCf8TEW0JQLgahxw
[HTC 10 Guides, News, & Discussion] anndrenaline:
I'm s-on rooted with viper rom. Tried flashing firmware zip via fastboot, ruu mode and download mode to no avail.. Zip info errors, security fail errors etc. Firmware zip just won't flash.

So now can i just download a twrp backup of 1.80 and restore system image and boot to get an updated firmware while keeping my data?
[HTC 10 Guides, News, & Discussion] topjohnwu:
Update the OP with latest RUUs
[HTC 10 Guides, News, & Discussion] drmoeed:
thanks ...

1.80.617.x RUU.zip wouldn't be available ????
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Just extract it from the RUU if you need it ;).
[HTC 10 Guides, News, & Discussion] drmoeed:
Don't know the method ... :/
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Did you search?

Besides the other answers a Google/XDA search will turn up, a relatively easy method to extract the rom.zip from an RUU is to use the Universal HTC RUU/ROM Decryption Tool. In the bin folder is a statically compiled tool by [MENTION=4118840]kmdm[/MENTION] called "unruu". If you drop the RUU.exe onto the unruu executable, it will extract the rom.zip for you (if you're using Windows, that is).

Thanks to [MENTION=2605798]nkk71[/MENTION] for compiling that tool - it's very handy for a lot of things :).
[HTC 10 Guides, News, & Discussion] drmoeed:
Thanks ...

It couldn't get easier than this ...

Thanks to the developers involved in it as well ...
[HTC 10 Guides, News, & Discussion] angelo.bautista5:
i'm using custom ROM also and i want to update my base firmware from 1.30.709.1 to 1.80.709.1 (required for the custom ROM) would flashing the TWRP Backup Untouched System Image + Boot of 1.80.709.1 then flashing the latest custom ROM over it would be enough or do i need to go back to stock rom, stock recovery and relock my bootloader and flash the updated stock firmware? T I A

i'm s-on btw.
[HTC 10 Guides, News, & Discussion] louis198920:
you only need to go fully stock if you want to take ota, otherwise stock system image + twrp should be enough for you to flash your custom rom
[HTC 10 Guides, News, & Discussion] matekaneve:
Take the 1.30 based Stock System Image and Boot and restore them in TWRP. Flash 1.30 based Stock Recovery and flash it in Download mode. Restart your device, take the OTA update, flash TWRP, flash the rom you wish. If your device is set to S-OFF you can also just flash only the firmware if you want to use custom rom anyway. Flash the firmware then update your rom. See @Sneakyghost 's Thread how to do it.
[HTC 10 Guides, News, & Discussion] angelo.bautista5:
thanks.. i'm not thinking of having s-off for now. do i need to relock the bootloader for the above steps?
[HTC 10 Guides, News, & Discussion] matekaneve:
As far as I remember you don't need to lock bootloader. You should be fine unlocked!
[HTC 10 Guides, News, & Discussion] brantp:
Correct. Flashing in fastboot will actually fail if locked, the OTA will install whether locked or not.
[HTC 10 Guides, News, & Discussion] angelo.bautista5:
cool!! it's been a while since I did the procedure. last time I did was on M8.. Thanks for refreshing my memory
[HTC 10 Guides, News, & Discussion] gsw5700:
sick of waiting for HTC__001 update

Copied OTA_PERFUME_UHL_M60_SENSE80GP_HTC_Europe_1.80.401.1-1.30.401.1_release_4801706h9hgil87eo095xw to folder in SDCARD (after verifying MD5 checksum)

Applied from recovery Mode

Took about 30 minutes but looking good !

Glad I've done this, I now have a way to apply OTA updates manually as soon as they are available.
[HTC 10 Guides, News, & Discussion] linx1287:
Is there a RUU for the Taiwanese 10's? just asking as if things every go south, and booting into recovery becomes inaccessible for some reason (Super worst case scenario) the RUU would have been able to sort things out. Sorry, i am new to HTC so trying to learn as fast all the techniques i can in order to get out of any bad scenarios in the future....with sony and samsung (which i owned and modded up till now) you could just flash their firmware images through a respective program like odin and it would return to bare stock
[HTC 10 Guides, News, & Discussion] ismailonrails:
Take OTA

Hi, I have HTC 10 US unlock and I've converted it to WWE version so its running 1.30.401.x software, I installed this version to check if I can take OTA and I can't.. Is there any way to fix this? I did this before with my other HTC devices and it worked flawlessly and got OTA updates as well but now 10 saying up to date message..

Update: seem I've uploaded the latest version 1.80.401.1 even i wanted to try older version and go to 1.80
[HTC 10 Guides, News, & Discussion] pasudag:
Sorry guys, you think it's more convenient to keep S-Off Locked or unlocked S-off, what changes? I now have S-off unlocked, you should leave as well? thank you..

Inviato dal mio HTC 10 utilizzando Tapatalk
[HTC 10 Guides, News, & Discussion] yldlj:
Both the same...?
[HTC 10 Guides, News, & Discussion] pasudag:
I mean if it is safe to leave the S-off locked or not ...

Inviato dal mio HTC 10 utilizzando Tapatalk
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
They are equally safe. Locked if you want to return the device or sell it as 100% stock. But they're essentially the same.

Read more here:

http://xdaforums.com/htc-10/how-to/guide-safely-set-bootloader-to-locked-t3386456
[HTC 10 Guides, News, & Discussion] htcppadol:
where is HTC__621 RUU rom ?

hello. i need help.

my htc 10 cidnum HTC__621 . where is RUU rom?

first time i did unlocked and flashed TWRP and restore backup file 1.30.709.1

and flashed stock recovery,relock in adb

after boot my htc10 i try update in setting-update

but cant update

so i found ruu but htc__621ruu not here

how can i this problem?

now cant OTA update
[HTC 10 Guides, News, & Discussion] yldlj:
In op there is 1.80.709 ota and system image backups. You can manually flash firmware.zip from the ota and restore 1.80 system image.
[HTC 10 Guides, News, & Discussion] :
Hi :) is there someone with HTC__034 with newest version 1.80.401.1, updated from OTA (so automatically, not manually)?

Thanks in advance :)
[HTC 10 Guides, News, & Discussion] KotTHECat:
Nope. It will probably be available at the end of this month.