yashsingh1/xdaforums huggingface dataset:
[HTC 10 Guides, News, & Discussion] TheKnux:
It would be extremely helpful if there was an EXE RUU that I could use. Not really too experienced on how to flash RUU's. Do I need to flash the stock recovery first, then the RUU?

This is all of my info from the download mode screen and from the getvar all command:

*UNLOCKED*

htc_pmeuh1 PVT S-ON

LK-1.0.0.0000

Radio-1.0U010013@60331.4

OS-1.30.401.1

April 23, 2016

Mid-2PS6200

CID-HTC_J15

Hope that helps.

Once I flash a stock or close-to-stock RUU or ROM, and S-Off, isn't that enough to where I don't have to take any incrementals, official, or OTA's? I'm trying to get S-Off because I'd like to update the firmware and flash a new radio. I bought an International version off Swappa and I don't get the best service at work as I did with my G5, so I'm hoping a different radio would help my situation. I don't remember having this many problems with my M8, but then again, I also gained S-Off while it was already stock.
[HTC 10 Guides, News, & Discussion] Joselos:
Hi, can i update my HTC 10 CID_621 to Nougat? I'm s-on?:confused:
[HTC 10 Guides, News, & Discussion] Kisakuku:
No, unless you have a time machine.
[HTC 10 Guides, News, & Discussion] Joselos:
Humm, or s-off with sunshine and supercid ?
[HTC 10 Guides, News, & Discussion] Kisakuku:
S-Off would certainly make life easier, then change CID and possibly MID to the desired ones.
[HTC 10 Guides, News, & Discussion] LeeDroid:
Still no official Nougat leak for Europe?.... sad times..
[HTC 10 Guides, News, & Discussion] vegetaleb:
We should ask HTC to let you join their team of devs, we would had the update since September :laugh:

Actual dev team of htc in Europe is lazy as hell
[HTC 10 Guides, News, & Discussion] lordmago:
I think they released the beta because they hoped we would stay quiet... :rolleyes:
[HTC 10 Guides, News, & Discussion] mzeshanhakeem:
Once US HTC 10 got nougat, its not hard to fixes some bugs and release Europe update but I think all the HTC devs are busy in ironing ROMs for their new devices, to be launched on 12-Jan-17. No more preference and love for Europe users, so sad.....
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
He's correct:
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
You could also flash it from within TWRP.
[HTC 10 Guides, News, & Discussion] demi9od:
This. Now how someone got the stock recovery backed up in the first place is a mystery to me LOL, chicken and egg situation there.
[HTC 10 Guides, News, & Discussion] Nosferatu.:
okay cool maybe I'll give this a crack later. This community is great when everyone helps. :) So down the road do you guys think there will be a way to firmware upgrade from 1.21 without reverting the whole phone back to stock? That's my only reservation...setting everything up to just start all over again lol.

EDIT: Say I went through flashed custom ROM and everything. If I TWRP backup EVERYTHING on the custom ROM would I be able to restore it later considering the data partition is encrypted? If you can easily restore everything back count me as down for rooting this phone today.

Lastly...the decision to S-OFF or not...ugh $25...For the casual flasher I'm thinking not necessary.
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Find a stock boot image for your device

Flash TWRP to BOOT partition

Boot phone (it will boot directly to TWRP)

Backup recovery (this is still stock)

Reboot to download mode and flash the stock boot.img from step one

---------- Post added at 01:34 PM ---------- Previous post was at 01:33 PM ----------

S-Off

Then you just flash the firmware zips in download mode.

fastboot flash zip NameOfFirmwarePkg.zip

Otherwise, you have to revert to stock to take OTA.
[HTC 10 Guides, News, & Discussion] demi9od:
Ah thanks man that's been bugging me forever.
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Thank [MENTION=1162986]Captain_Throwback[/MENTION] because I learned that from him in his TWRP thread
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Actually, [MENTION=4470081]topjohnwu[/MENTION] said it first....
[HTC 10 Guides, News, & Discussion] TRLOS:
Well, I ended up taking my phone back in for warranty (NFC Reader wasn't working properly), so now I have a brand new HTC10 untouched.

Just to sound like a complete and utter noob, how do you flash TWRP to the boot partition ?

Are there instructions to make an .IMG backup of the stock recovery before flashing TWRP to recovery ?

If I can do that, then I'll happily make a system backup of the VodafoneAU version.
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
Well, you need two people with your exact variant.

One person pulls the stock boot.img by flashing twrp and backing up boot.img.

Then the second person flashes TWRP to the boot partition (fastboot flash boot PathToTWRP.img). Boots the phone (it will boot to TWRP since TWRP is on the boot partition), then backs up recovery from within TWRP. Once you have the stock recovery, restore the boot.img backup that the first person provided.
[HTC 10 Guides, News, & Discussion] topjohnwu:
You need to have a backup of your boot image before flashing TWRP to boot, or you can never get a backup of your stock boot image.

You can backup either recovery or boot of a phone. You cannot have both.

If you have a boot backup, you can flash TWRP to boot partition in download mode:

fastboot flash boot TWRP.img

Then reboot to system. It should boot to TWRP rather than system.

Backup your raw system image and recovery, then flash your backup boot image back to your phone with the same command above, changing TWRP.img to your boot image.
[HTC 10 Guides, News, & Discussion] TRLOS:
I might have a way around that.

On the original phone, I flashed TWRP to Recovery and did a full backup of absolutely everything except the UserData partition.

Could I flash TWRP to the Boot, get the stock recovery backed up from this phone, then use TWRP to recover the Boot from the old phone ?

Out of curiosity. are we able to boot the device with a temporary custom recovery ?

IE : fastboot boot twrp.img

???
[HTC 10 Guides, News, & Discussion] topjohnwu:
Is your old phone the same model?

If so, you're good to go!!
[HTC 10 Guides, News, & Discussion] duowing:
I downloaded the 1.53.617.5 OTA this morning. I assume I did this right, I extracted it, then pulled the recovery.img from the firmware.zip file inside of that. If someone doesn't beat me to it, I'll upload the full 1.21 -> 1.53 OTA file later, but for now here should be the working stock recovery.
[HTC 10 Guides, News, & Discussion] Electronic Punk:
Can you stick the firmware.zip somewhere as well? :)
[HTC 10 Guides, News, & Discussion] topjohnwu:
Just post the full filename of the OTA package :)

We can get the original link of the update, you don't need to upload it.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
OTA link:

http://fotadl-az.htc.com/secure/OTA...1.21.617.3_release_4783800963d36etjiokme8.zip

P.S. I received this OTA while rooted and with TWRP installed ;)
[HTC 10 Guides, News, & Discussion] jollywhitefoot:
That's funny. I get an unexpected error and the file system may be corrupted. Maybe my system image backup wasn't pristine?
[HTC 10 Guides, News, & Discussion] cauqazn:
Same issue here. Restored using my original backup I made in TWRP read only. Just tried the backup posted here too. Still errors out.
[HTC 10 Guides, News, & Discussion] demi9od:
1.53.617.5 is showing available now on my 1.21.617.3 US 10 with TWRP. Has anyone successfully installed automatically or manually via restored stock recovery ?
[HTC 10 Guides, News, & Discussion] select97:
is there the possibility to install the US (original) firmware and have Nougat on European devices?

is there any guide?
[HTC 10 Guides, News, & Discussion] vegetaleb:
What? the HTC 11 is gonna be released now and nobody told me?
[HTC 10 Guides, News, & Discussion] mzeshanhakeem:
HTC is going to release three devices on 12-Jan-17, don't know which....
[HTC 10 Guides, News, & Discussion] lordmago:
First guess https://www.xda-developers.com/htc-ocean-note-aka-htc-u-ultra-images-leak-in-live-photos-show-off-secondary-display/
[HTC 10 Guides, News, & Discussion] crazcan:
I have custom rom based on 1.95.401.4 and i need to restore stock firmware without root. I think i should download ruu.exe for my device but i couldn't find for 1.95.401.4. My device's CID: HTC_M27 then which ruu version should i download or is there another way? btw: my device is s-on.
[HTC 10 Guides, News, & Discussion] candleworth7808:
Anyone have a link to the latest tmous nougat RUU.zip?
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Extract it from the RUU.exe.
[HTC 10 Guides, News, & Discussion] candleworth7808:
With 7zip?
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
With the decrypt tool/unruu. Search the thread, I've explained how to do it several times...
[HTC 10 Guides, News, & Discussion] syntropic:
OK...I am going to say thank you in advance, because I feel its best to lead with humility here.

I wanted to double check something.

First, I have an HTC 10 SIM-unlocked, S-off, running 1.96.617.2 (which is a US version...perhaps geared toward TMO since I selected TMO as my carrier initially. My CID is BS_US001)]

I basically want to upgrade to N. I think I have my original stock backup, but I am on vacation, and thought I might upgrade to N without it. My thoughts so far:

I. Revert to a variant of an MM stock to take the OTA:

I found this RUU zip. 2PS6IMG_PERFUME_UHL_M60_SENSE80GP_HTC_Europe_1.90.401.5_Radio_1.0.U010141a@60714.2_59.06_F_release_483306_combined_signed_2

So I can rename this 2PS6IMG.zip, boot into this which would run the RUU. It would be my hope that then, since it was now stock, I would get the N OTA, however, it sounds like from what I am reading here that this may be a mistake since it is not a stock rom RUU for my phone.

So...

II. In the alternative, I could just RUU to N. I have the RUU_PERFUME_WL_N70_SENSE80GP_MR_NA_Gen_Unlock_2.28.617.8.exe, which I believe is an Android N RUU for the SIM-unlocked phone (presuming it is US).

I decrypted this exe to its essential parts: (i) firmware; (ii) romzip, and; (iii) system. However, despite CTT explaining how to get this zip, I cannot find that post on how to rebuild a RUU zip from these parts. I hate to cause anyone to do extra work, but I would love a link (or a post #) where I can reassemble this into a zip.

III. Or... lastly, should I wait another week and when I get home and find that original backup just use that to get the OTAs properly?

Thank you!

S
[HTC 10 Guides, News, & Discussion] ante_ante:
I need help because i cant install OTA on my new/old HTC 10. I bought it from a guy who has unlocked it earlier from htcdev and tried to install stock rom when he was selling it.

Now i cant either install OTA or anything else.

Status: Custom

** Relocked **

CID _034

What should i do, phone works but want OTA to work.
[HTC 10 Guides, News, & Discussion] mirok:
Wait for htc to release nougat ruu.
[HTC 10 Guides, News, & Discussion] ante_ante:
Well got problem to update already now so i dont see why nougat should work. Got error in lane 7

EDIT: Trying to install this now and only got errors OTA_PERFUME_UHL_M60_SENSE80GP_HTC_Europe_1.90.401.5-1.80.401.3_release_48298098rouo8hjv9c3m5v
[HTC 10 Guides, News, & Discussion] yldlj:
Just run the us unlocked RUU.exe and be done with it. No need to extract anything. It will wipe your phobe so make backups

---------- Post added at 03:47 AM ---------- Previous post was at 03:44 AM ----------

What firmware are you on now? N hasnt been released yet for your cid.
[HTC 10 Guides, News, & Discussion] syntropic:
Thank you for your reply!

I'm getting an "Error [170] can't connect to USB" or something like that. But I know my HTC drivers are fine and I'm pretty certain I have the Windows requirement that an RUU needs (or it would inform me).

So I need to create a RUU zip from the RUU exe, then I know it will run and I won't have to deal with that error.

One more question: Is the RUU.exe build I listed above 2.28.617.8 (I think that's it..on my phone, and can't scroll up) the "US unlocked RUU"? I think I downloaded it from HTC, so I'm sure it is, but I just want to confirm.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
You don't rebuild it. You didn't follow my instructions properly, or read the instructions in the thread that tell you how to output the zip you want. Do that and it'll all become clear.

P.S. That's not the newest US Unlocked RUU. You need to get the one from the "View" link on the HTC ROM Downloads page, not the one from the "Download" link. The former may be newer than the latter, so always check there first.
[HTC 10 Guides, News, & Discussion] s2kaka:
hi, i need a stock of HTC10 japan. Can anyone help me?
[HTC 10 Guides, News, & Discussion] syntropic:
Yep! I glossed right over that part about unruu.exe in the bin folder. I assumed that whole post was just bringing up the encryption tool. I am typically a more careful reader.... but sometimes these endless threads turn me into an ADHD poster child.

And thanks for the tip regarding the HTC Rom download page!

PS: Cool! my 1,000th post!
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Even without using just the unruu binary, running the tool with the -z flag will output the ROM zip, already renamed for SD card flashing. Seems you missed that part of the post/thread as well.
[HTC 10 Guides, News, & Discussion] syntropic:
Acknowledged.

Quick question for future reference (like the next OTA or just in general):

If I use the decrypt tool and remove the DZDATA files from the firmware, would it be possible to create a new rom.zip that wouldn't erase internal storage?

I would imagine it would need to be resigned by HTC... Thanks!
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
If you're S-OFF, that would work fine.
[HTC 10 Guides, News, & Discussion] ex-president:
Guys, please help...

Yesterday i flashed lineageOS, and then i restore my stockrom (marshmallow) but after booting it says need pin to decrypt phone. And my twrp can't mount system after restoring stockrom.

How can i go back to stock? With normal twrp?

I'm s-on, my 10 is taiwan version.

Thanks so much
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Use the unofficial TWRP from the TWRP thread.
[HTC 10 Guides, News, & Discussion] ex-president:
I already use it from the beginning v3.2.0.3
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
I don't know what version that is. I'm talking about 3.0.3-0_UNOFFICIAL.
[HTC 10 Guides, News, & Discussion] ex-president:
Sorry, i mean i already use v3.0.3-0...

What should i do now sir?
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Format Data in TWRP.
[HTC 10 Guides, News, & Discussion] ex-president:
Only format data n i'll be good? Thanks, will try
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Use the "Format Data" option that requires you to type "yes" and you'll be good.
[HTC 10 Guides, News, & Discussion] ex-president:
Thanks sir, it works... Now i'm fully stock, but i can't flash supersu it says can't mount system (invalid argument)

I choose swipe to allow modification in twrp, but it still can't mount system.

And everytime i'm going to reboot it always say no OS installed, but it booted fine.

Thanks for your help
[HTC 10 Guides, News, & Discussion] Kim Lu:
Taiwan nougat OTA file(version:2.41.709.3)

http://fotadl-az.htc.com/secure/OTA...98.709.5_R_release_4934593c5743bjqrlsk8gh.zip
[HTC 10 Guides, News, & Discussion] ex-president:
Can i flash this with twrp?
[HTC 10 Guides, News, & Discussion] tcnineteen:
That was pretty fast man, thanks!

Edit: however, the firmware.zip inside the OTA couldn't be unzipped (it said it was corrupted), so I can't get the stock recovery inside. Anyone can help?
[HTC 10 Guides, News, & Discussion] DeadlyCoffee:
i have taiwan version s-on, with twrp installed, software number 1.98.709.5

If i want to go back to stock, can i restore version 1.92..709.1 provided in OP? Then apply manual OTA to get 1.98.709.5 again?

I'm afraid doing something wrong
[HTC 10 Guides, News, & Discussion] tcnineteen:
With S-on I don't think downgrade the firmware would be possible. Why not just restore to stock 1.98.709.5?
[HTC 10 Guides, News, & Discussion] DeadlyCoffee:
i dont have backup for that version :crying:
[HTC 10 Guides, News, & Discussion] tcnineteen:
Well, that's too bad... but do you mean these backup?:cool:
[HTC 10 Guides, News, & Discussion] DeadlyCoffee:
Wooow... OMG!!! My bad, i'm not search before ask... Thanks man, Many many thanks

---------- Post added at 07:35 AM ---------- Previous post was at 07:17 AM ----------

I can unzip firmware.zip inside the OTA, maybe u should redownload it
[HTC 10 Guides, News, & Discussion] hamdir:
please can you extract the recovery? [MENTION=2373210]tcnineteen[/MENTION] [MENTION=4470081]topjohnwu[/MENTION] (2.41.709.3 recovery)
[HTC 10 Guides, News, & Discussion] tcnineteen:
No problem, here's the recovery, and I'm uploading TWRP backup now.

Edit: TWRP backup uploaded.

2.41.709.3 Recovery

2.41.709.3 TWRP backup
[HTC 10 Guides, News, & Discussion] MPenguin:
Thanks! Successfully flashed OTA!
[HTC 10 Guides, News, & Discussion] hamdir:
sorry how is this done again?
[HTC 10 Guides, News, & Discussion] jhakjhuk1853:
thank you
[HTC 10 Guides, News, & Discussion] MPenguin:
Third post in this thread.

Revert to stock, download the OTA and put it on as card, flash it from stock recovery.
[HTC 10 Guides, News, & Discussion] vegetaleb:
Is this TW OTA a wwe version or we still have to wait for european one?
[HTC 10 Guides, News, & Discussion] MPenguin:
This is for Taiwan variant htc__621. Not WWE.
[HTC 10 Guides, News, & Discussion] vegetaleb:
Damn still have to wait then.
[HTC 10 Guides, News, & Discussion] hamdir:
users on the megathread are reporting a serious problem with the TW build, the two high performance cores gets disabled on sleep and they never wake up after it, essentially the phones gets stuck in dual core mode

https://xdaforums.com/showthread.php?t=2411840&page=5028#post70627985

TW users please check and report

nevermind its a false alarm

https://xdaforums.com/showpost.php?p=70628638&postcount=50275
[HTC 10 Guides, News, & Discussion] Winding:
Thank you TWRP Backup Upload

However, there was a problem.

Home button and fingerprint authentication do not work.

Twrpversion: 3.0.2-6

Is it a problem that the TWRP version is different? (From Recovery.log)

+Edit: We upgraded to TWRP 3.0.3 - 0 and tried again by downloading the file again.

Results Unchanged Home button does not work together

Upgrade from 1.98.709.5_twrp version

* Google Translate
[HTC 10 Guides, News, & Discussion] 5m4r7ph0n36uru:
Are you already on N firmware? This is just the ROM. Fingerprint won't work running a stock N ROM on MM firmware.

Edit: you are running MM firmware otherwise the old TWRP 3.0.2-6 won't work at all.
[HTC 10 Guides, News, & Discussion] Joselos:
HELP

I restore backup 1.98.709.5 for stock and recovery stock, but when I try install OTA via fastboot error:

C:\adb>fastboot reboot oem rebootRUU

...

OKAY [ 0.154s]

rebooting...

finished. total time: 0.169s

C:\adb>fastboot flash zip OTA_PERFUME_UHL_N70_SENSE80GP_MR_hTC_Asia_TW_2.41.709.3-1.98.709.5_R_release_4934593c5743bjqrlsk8gh.zip

target reported max download size of 800000000 bytes

Invalid sparse file format at header magi

error: write_sparse_skip_chunk: don't care size 1487120389 is not a multiple of the block size 4096

sending sparse 'zip' 1/1 (0 KB)...

error: write_sparse_skip_chunk: don't care size 1487120389 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 1487120389 is not a multiple of the block size 4096

OKAY [ 1.034s]

writing 'zip' 1/1...

(bootloader) HOSD CL#801953

(bootloader) ERR lzipv1_init : Cannot read header len bytes

(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_9

(bootloader) 164Bh

FAILED (remote: 99 RU_UNKNOWN_FAIL terrible mishap )

finished. total time: 4.175s

C:\adb>fastboot reboot-bootloader

rebooting into bootloader...

OKAY [ -0.000s]

finished. total time: 0.009s

Help me please:crying:
[HTC 10 Guides, News, & Discussion] Kisakuku:
Read the instructions in the 2nd post. You don't flash an OTA zip with fastboot.
[HTC 10 Guides, News, & Discussion] Joselos:
humm

I try with stock recovery and :crying:

ERROR

System partition has unexpected contents

E:Error in /sideload/package.zip

(Status 7)

Installation aborted
[HTC 10 Guides, News, & Discussion] MPenguin:
Follow the instructions in this thread - you'll need to flash the stock system image and boot and the recovery from that thread that erases the dev info. Then you'll be able to flash the OTA. Worked for me yesterday.
[HTC 10 Guides, News, & Discussion] epcd0728:
Does anyone have a ruu for bell canada?
[HTC 10 Guides, News, & Discussion] Joselos:
ready, thank you very much
[HTC 10 Guides, News, & Discussion] Lindsten:
First I'm s-off.

Is it safe to run 1.90.401.5 ruu when i'm on 2.41.401.3 fw? Heard about bricks when downgrading from 2.x to 1.x. Just wana be safe already bricked 1 htc 10 :P
[HTC 10 Guides, News, & Discussion] dRm42:
Can someone please upload a stock 1.98.709.5 TWRP backup for System_image + Boot? (HTC__621, TW version). The link the OP only has old ones, the max is 1.92.709.1. I'm pretty sure my one is 100% stock, but it didn't work with this guide, so I'd like to try another one, maybe it's corrupted or something.

Also, when you download the Nougat OTA (OTA_PERFUME_UHL_N70_SENSE80GP_MR_hTC_Asia_TW_2.41.709.3-1.98.709.5_R_release_4934593c5743bjqrlsk8gh.zip) you get an error when you try to extract firmware.zip. I've seen this being mentioned by others on XDA as well. Or actually, to be accurate, you can take the firmware.zip, but when you try to look into it, windows says that the zip is corrupted. So if someone would have a working Nougat firmware.zip that would be awesome, cause then I could use 2.41.709.3 TWRP backup + matching FW and wouldn't have to mess with the previous version at all.

EDIT: Firmware.zip does look like it's broken under windows, but it actually works fine if you flash it after 'fastboot oem rebootRUU'

Cheers,

dRm
[HTC 10 Guides, News, & Discussion] Haldi4803:
https://drive.google.com/file/d/0BwqG3liwGXQHdnduRzlLTFlJQ2c/view?usp=sharing

MD5: https://drive.google.com/file/d/0BwqG3liwGXQHdnduRzlLTFlJQ2c/view?usp=sharing
[HTC 10 Guides, News, & Discussion] dRm42:
Thank you sir!

---------- Post added at 03:01 AM ---------- Previous post was at 02:51 AM ----------

One more thing - if anyone happens to know the answer. After my struggles with the OTA, I decided to go forward instead. So I used a 2.41.709.3 TWRP backup (system_image + boot) that I found somewhere here and took firmware.zip from the new Nougat OTA, then flashed it. Everything works perfectly fine, but when I go to download mode, it still says 'OS version 1.98.709.5'. No biggie, I'm more just curious what is missing for this to show the actual version of the firmware and OS - that is now 2.41.709.3 :)

Cheers,

dRm
[HTC 10 Guides, News, & Discussion] Kisakuku:
Firmware.zip is signed by HTC and some programs are unable to parse it because of the signature (7zip, Windows archive viewer). Use Winrar instead.
[HTC 10 Guides, News, & Discussion] :
anyone has 2.41.401.3 RUU?
[HTC 10 Guides, News, & Discussion] Haldi4803:
You only updated ROM and not firmware.

Take the firmware.zip inside the ota and rename it 2PS6IMG.zip and place it onto your external SD card.

Reboot into download mode and flash it.

That should be written in the first or 2nd post here somewhere right?
[HTC 10 Guides, News, & Discussion] matekaneve:
There is no 2.41 RUU!
[HTC 10 Guides, News, & Discussion] KotTHECat:
Guys, what do i have to backup: system, system image or both? I am on Viper, so no need for clean dump.