yashsingh1/xdaforums huggingface dataset:
[HTC U11  Guides, News, & Discussion] simu_lacrum:
I'm also trying to revert to stock because I want to sell my U11. I'm just posting here to be sure I'm doing everything right. I own a HTC U11 (DUGL, European version). Currently I use a custom ROM Maximus HD 3.4.0 ("[ROM] MaximusHD | 3.4.0 | Android 8.0.0. | Fast&Stable | APM | OTA | 2.33.401.19"). So my phone is rooted and unlocked with the latest TWRP recoyery. When I boot into download mode and issue "fastboot getvar all" I'm told I'm using version 1.13.401.1 whereas Maximus HD claims to be on 2.33.401.19. That gets me confused.

Fastboot also says my MID is 2PZC30000 and my CID is HTC__034.

I'd like to reflash a stock image using a RUU but am unsure about the correct one. Is it 2.33.401.10 or 1.13.401.1?
[HTC U11  Guides, News, & Discussion] tanto124:
Ran into Error 21 when extracting system.img_23

Seems failed to unzip.

Checked the md5 and SD card file system all OK, don't know what's wrong now...

21 RU_UNZIP_FAIL

21 RU_UNZIP_FAIL

FAIL21 RU_UNZIP_FAIL
[HTC U11  Guides, News, & Discussion] metropical:
odd - no software version #. In any case, I'm totally stock and I would like to know how to make a stock boot image dump so I can install Magisk and Es File.

Fritzs-Air:~ fritz$ fastboot getvar all

(bootloader) boot-mode:FASTBOOT

(bootloader) unlocked:no

(bootloader) off-mode-charge:0

(bootloader) charger-screen-enabled:0

(bootloader) battery-soc-ok:yes

(bootloader) battery-voltage:4260

(bootloader) version-baseband:

(bootloader) version-bootloader:

(bootloader) variant:MSM UFS

(bootloader) partition-type:cache:ext4

(bootloader) partition-size:cache: 0xE000000

(bootloader) partition-type:userdata:ext4

(bootloader) partition-size:userdata: 0xD9D800000

(bootloader) partition-type:system:ext4

(bootloader) partition-size:system: 0xFE800000

(bootloader) secure:yes

(bootloader) serialno:

(bootloader) product:HTC_Phone

(bootloader) max-download-size:536870912

(bootloader) kernel:uefi
[HTC U11  Guides, News, & Discussion] landmerk7:
is ther a way to fix the 171 error in 2021 with the newest window 10 build? (I get this error for my old HTC Chacha)
[HTC U11  Guides, News, & Discussion] alberts29:
I got the HTC U11 + from a developer from HTC. To be able to use the phone, you need to log in to their panel. I do not have such a possibility, because of this I would like to upload a new firmware. Preferably stock, but if there is no other option, I am open to modified. I have Minimal ADB and Fastboot version 1.4.3 (latest). He successfully uploads TWRP, the operation is successful in the log, but in practice there is no TWRP. The phone is visible in cmd, it boots to the RUU upload mode, but after trying to upload several different software, it ends with an error:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip rom.zip

target reported max download size of 2399200000 bytes

sending 'zip' (2322028 KB)...

FAILED (remote: data too large, 2377757287 > 1318682624)

finished. total time: 2.079s

I try 2Q4DIMG_OCEAN_M_DUGL_P90_SENSE10GP_MR_hTC_Asia_TW_2.15.709.1_R8_Radio_8998-200321-1905211056_release_540498_signed_2_4_B

Can anyone suggest how to get this phone back to normal?
[HTC U11  Guides, News, & Discussion] adebambo:
Pls do I need to lock my phone before all this.
[HTC U11  Guides, News, & Discussion] Golv:
No need lock.
[HTC U11  Guides, News, & Discussion] adebambo:
Thanks ... But the spreadsheet link is not working any more ... Can you help me with that have attached my phone information... Thanks
[HTC U11  Guides, News, & Discussion] Golv:
Search Results for "3.37.617.1" | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com
[HTC U11  Guides, News, & Discussion] adebambo:
Have downloaded this ... But not working... I don't no what wrong with it
[HTC U11  Guides, News, & Discussion] adebambo:
Pls which one out of 4 files there... Please
[HTC U11  Guides, News, & Discussion] Golv:
What do you want to do?
[HTC U11  Guides, News, & Discussion] adebambo:
Want to return back to stock ROM
[HTC U11  Guides, News, & Discussion] Golv:
You need flash this ruu via sdcard:

2PZCIMG_OCEAN_WHL_P90_SENSE10GP_MR_NA_Gen_Unlock_3.37.617.1_R2_Radio_8998-200321-1905211056_release_545430_signed_2_4.zip | by Golv for U11

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

Read this manual:

https://xdaforums.com/t/collection-htcu-u11-ruu-firmware-recovery-ota-backups.3612048/post-72425224
[HTC U11  Guides, News, & Discussion] adebambo:
Thank you very much.. have seen where my problem is... Love you... 🥰 The link you give me match my phone version baseband .... I will install it today thank you again... the lineage 16 is good and sweet but just that my phone seen not to work fine... WhatsApp calling not working it will just display camera stop working ... Sometimes Bluetooth won't talk.... Thank you very much.
[HTC U11  Guides, News, & Discussion] aadeshiscool:
From the restoring via Nandroid backup guide, I'm sorry I'm not exactly undestanding what has to be done twice in here? Do we have to flash each incremental otp zip file twice something like flash zip 1, zip 2, zip 3 and then again zip 1, zip 2, zip 3 or is it like zip1 zip1, zip2 zip2 and then zip 3 zip3.

@Golv seems like you're quite experineced in this, can you help me out please?
[HTC U11  Guides, News, & Discussion] System23:
do following, download this tool HTC-RUU_Decrypt_Tool_3.6.8-WINDOWS64.zip extract it and go to the extracted Folder "HTC-RUU_Decrypt_Tool_3.6.8-WINDOWS64" and open a Terminal in it or open terminal and change to Folder with "cd folderPATH" and then you copy or move the "2PZCIMG.zip" to it and Type in Terminal following command for PowerShell Terminal "./RUU_Decrypt_Tool.exe -f name-of-the-2PZCIMG.zip" or for CMD Terminal "RUU_Decrypt_Tool.exe -f name-of-the-2PZCIMG.zip" and type Enter and let it Finish the Firmware extract. now are a New Folder in the "HTC-RUU_Decrypt_Tool_3.6.8-WINDOWS64" Folder "OUT_2PZC_xxxxx" go into it and open Folder firmware and only copy the "android-info.txt" to Desktop and you can Delete the "OUT_2PZC_xxxx" folder. now you rename the "2PZCIMG.zip" to "rom.zip" and Download this ARUWizard from Here ARUWizard to Flash StockROM with Windows, then you extract the downloaded zip and you see the Folder RUU ,now copy or move the "android-info.txt" from Desktop & "rom.zip" into RUU Folder and then start "ARUWizard.exe" and follow the Steps!!! if the Flash Process Fail you must use a newer or the same "2PZCIMG.zip" and do the steps again extract the "android-info.txt" and rename "2PZCIMG" to "rom.zip" and copy it to RUU folder and start "ARUWizard.exe" again. here you find the Files HTC U11 StockROM Files on this Website show the Picture you must click on "View All 117 Files" to see the Full list of Files ,but it work only with "2PZCIMG.zip" they are Signed!!! ps you can not Downgrade your Firmware with this tool or Flash a different branding StockROM, to do this you must Manipulate your device first, and it works with Bootloader Locked or Unlocked!!! After Finish the Steps your back on StockROM
[HTC U11  Guides, News, & Discussion] mr573162:
I was trying both! That wasn't the problem though, I had to redownload all of my drivers and reset my pc then it worked like 10 minutes ago.
[HTC U11  Guides, News, & Discussion] rebelde80:
I've read the guide a couple times, and want to make sure I understand correctly. 1) If my phone is S-ON, then I need an HTC signed RUU to revert phone to stock? 2) Can I use Sunshine to S-Off the U11? 3) Does HTC have signed RUU's for this phone? (I can't find them)
[HTC U11  Guides, News, & Discussion] gromero7:
Hi. I was trying to return to stock this weekend a couple of times but the only thing I did was brick the phone 2 times. I did the method of nandroid because I've not found the RUU for my phone, I don't know why. I never ask here because I always read all the instructions and I am doing all step by step, but I don't found the solution here.

All is correct until the "incremental ota", that I try to flash(I tried at download mode and bootloader mode) the OTA for my phone model but I have error 9: Security and something else.

I tried with an other nandroid of other user with lower version (that works perfectly) but always fails when I flash the ota.

Thanks

Enviado desde mi HTC U11 mediante Tapatalk
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
1) Yes

2) No, not available as if yet

3) Yes, see my collection thread pinned at the top of the guides section. Btw RUU are always signed.
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
You need a nandroid of the same version as your current firmware as well as the corresponding stock recovery. Flash of the OTA stops as I imagine cause it registers that you're already on the firmware of the OTA that is to be flashed.

Guess you didn't follow the golden rule and make a backup of stock recovery and system image prior to tinkering with your device!?!?
[HTC U11  Guides, News, & Discussion] rebelde80:
Thanks! I was under the impression your RUUs weren't HTC signed and that I therefore couldn't flash them on my S-ON phone. I had tried flashing on my rooted U11 by putting zip in SD Card but my phone wasn't recognizing it. I'll try again.
[HTC U11  Guides, News, & Discussion] gromero7:
I made a nandroid of recovery and system image before tinkering with my phone, I always do it.

But the version of the firmware I made the nandroid is the latest and, of course, there is no higher ota. I don't know if I am understanding well all the process, I thought yes.

Should I wait to a higher ota?

Thanks
[HTC U11  Guides, News, & Discussion] andybg40:
---------- Post added at 08:31 AM ---------- Previous post was at 08:27 AM ----------

[/COLOR]

Are you flashing the correct RUU?[/QUOTE]

Yes, correct RUU. Just tried to do it again this morning, same fail, error code 19. Doesn't seem to be listed in the first post, any ideas of this error code?

Thanks a lot.
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Nothing besides this code regarding an error message. Also a getvar all would help, as we could check CID/MID combination when done in download mode. Did you try to re-download the RUU just to make sure the file hasn't been corrupted through this process and checked if the md5 of the RUU matched the one on AFH?

There are quite some possibilities as you can see. But nothing specific to tell you as long as parts of the picture are amiss.
[HTC U11  Guides, News, & Discussion] Akhayev:
I unlocked my phones bootloader and rooted it . My question is : i want to relock the bootloader and unroot my phone , will this method work ?
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Yes it'll work. But I'd say don't relic ATM and wait if SunShine might get available to set a real locked state instead if relocked.
[HTC U11  Guides, News, & Discussion] Akhayev:
I want to sell my phone , if I relock it will it show that te bootloader is relocked ?
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Yes it will definitely show relocked instead of locked, which will - to a trained eye - indicated that it has once been modified.
[HTC U11  Guides, News, & Discussion] Schrotty35:
I think Sunshine is not coming. The Phone is now out months but no news from sunhine.
[HTC U11  Guides, News, & Discussion] OMJ:
well I wouldn't say "no news" as they have already shown they have temp s-off...I am told there is still hope for a release...hopefully soon we'll hear more
[HTC U11  Guides, News, & Discussion] Schrotty35:
The picture was a fake.This was a developer U11 and this is s-off.
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Absolutely right. Will hope for it as well.

The picture by the SunShine developers on Twitter wasn't fake at all. Seems we're talking about two different pictures that surfaced.
[HTC U11  Guides, News, & Discussion] OMJ:
Fake? Not...

https://twitter.com/firewaterdevs/status/889118758865960961
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
He's telling that it is fake in every thread where discussions about S-OFF arise. Even in the SunShine thread itself. Don't know what he wants to achieve with such a manner...

Just trolling as it seems.
[HTC U11  Guides, News, & Discussion] andybg40:
Okay, so it's me! lol

The RUU for my O2 handset is not available it seems. The two versions on the download sheet ore 102, mine is 101.
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
OK let me check. What's your software version number. Can be found in download mode, or if on stock in settings > about.
[HTC U11  Guides, News, & Discussion] andybg40:
Thanks for your help. It's 1.13.206.1
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
OK so I just missed a CID in my list. The linked RUU is valid for you as well.
[HTC U11  Guides, News, & Discussion] andybg40:
Sorry, which linked RUU file do you mean?

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

Should add that neither of the current O2 RUU files will flash, both fail as per my previous message, error 19.
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Yeah saw it to late. Both RUU are of a lower version so they won't flash. As you are on 1.13.206.1 you need to flash the according RUU. Due to the fact that the portal (easy firmware) providing the RUU files is a paid service I only download RUUs that can be used on my EMEA UHL device as well, and thus are running software with software numbers x.xx.401.x.

I surely could provide other RUUs as well but won't spend my money on RUUs I don't need for myself, just to be able to provide them here.
[HTC U11  Guides, News, & Discussion] andybg40:
Sure, I wouldn't want you to do that, you offer enough support already :)

I'll grab the RUU from the portal, let me know if you want it to add to the spreadsheet.
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Would be great if you'd share it for me to add it. Thanks for your understanding and such help is always appreciated.
[HTC U11  Guides, News, & Discussion] andybg40:
I'll DM you link to my google drive later. :good:
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Thanks a million mate.
[HTC U11  Guides, News, & Discussion] Ajmartin001:
Hey guys, great thread, really helpful.

Ime tryign to return my phone to stock recovery (I used my own nandroid backup to return to stock firmware) as I want to lock the bootloader and sell the phone. However whenever I try to reflash any recovery / OTA updates in the google spreadsheet provided, the error im getting is :

htc_fastboot v3.0.9.2 (2015-05-29)

target reported max download size of 1562400000 bytes

sending 'zip' (66674 KB)...

OKAY [ 3.107s]

writing 'zip'...

(bootloader) HOSD CL#932705

FAILED (remote: 9 RU_SECURITY_FAIL zip from usb command in download mode)

finished. total time: 4.115s

htc_fastboot finished. total time: 4.520s

My phone is S-ON - cant see any version of S-OFF software for the U11 to change this (unless im being really stupid!). Id welcome any help.

---------- Post added at 11:12 AM ---------- Previous post was at 11:08 AM ----------

Also. as Im a No0b, I relocked the bootloader thinking that might resolve the issue with the security. No it didnt, and of course i have TWRP and the phone wont boot now...

---------- Post added at 11:22 AM ---------- Previous post was at 11:12 AM ----------

Re-unlocked the bootloader but still failing to flash the stock recovery/ firmware. Any help gratefully received! :)
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
There are no firmwares for S-ON in the spreadsheet. Best would be to flash a RUU according to your CID/MID using SD card method.

What CID, MID and firmware version are you on atm. Do a getvar all in download mode and post it without IMEI and serial number. Could be of better help if those information are known.
[HTC U11  Guides, News, & Discussion] velimirchek:
Edit: beat me :p

Download appropriate RUU (ie for my dual sim version 1.13.401.1), rename to 2PZCIMG.zip, place in root of your SD card, enter download mode (power + vol down).. press vol up to flash RUU and voila (backup your data in TWRP before if you need them).
[HTC U11  Guides, News, & Discussion] Ajmartin001:
Thanks guys, I tried the below using ruu on external SD and get a completely different error - error 19 RU_MAIN_VER_FAIL. I thought I had chosen the right FW as when I did getvar It showed my device as being H_001. details are:

bootloader) kernel: lk

(bootloader) product: htc_ocnuhl

(bootloader) version: 1.0

(bootloader) max-download-size: 1562400000

(bootloader) slot-count: 0

(bootloader) current-slot:

(bootloader) version-main: 1.13.401.1

(bootloader) boot-mode: download

(bootloader) version-baseband: 8998-001791-1705231845

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PZC10000

(bootloader) cid: HTC__001

all:
[HTC U11  Guides, News, & Discussion] velimirchek:
Did you download correct file

https://www.androidfilehost.com/?fid=673368273298967358

(At least I think I linked correct for single sim, bit hard with needle and infusion in my right hand).. see pic
[HTC U11  Guides, News, & Discussion] Ajmartin001:
Hey thanks so much for that. I hope you are OK? Sounds painful in your hand!? It seems to have worked! I just checked recovery and im getting a graphic of a phone with a red triangle and exclamation mark in it. Does this mean I need to flash a recovery zip too? If so I would be grateful for your help on this! Sorry... !
[HTC U11  Guides, News, & Discussion] :
The red triangle with the red exclamation mark is stock recovery actually. Looks said everything went fine regarding the flash then.
[HTC U11  Guides, News, & Discussion] :
Oh how funny! So I should just need to lock the bootloader and then it should all be OK?! Thanks for the help!
[HTC U11  Guides, News, & Discussion] ouais25:
Hello all,

Thanks for all those info on the HTC U11.

I'm a HTC lover (since years) and I've my hands on a U11 test device.

Instead of keeping it unused in some drawer, I'd like to install a retail ROM and use it in replacement of my old good M8.

My CID is 111111111 and my MID is 2PZC30000.

Software version is 0.93.401.4.

What ROM shall I use to flash it ?

(I've tried a ROM that I've found on htc.com but I get an error 130 (wrong m-id)).

If not downloaded from htc, how can I ensure that the ROM is not full with backdoors or other pre-installed botnet/malwares?

Ouais
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Seems to be a dual SIM device. Thus it'd be good to run latest RUU to update the current pre-release firmware first. Head over to the collection thread an you shallfind it in my spreadsheet 1.13.401.1. But take care to download the DUGL (dual SIM) RUU.
[HTC U11  Guides, News, & Discussion] ouais25:
Thanks, downloading.

It's a dual SIM indeed.

Are those RUU safe?

Where do they come from?
[HTC U11  Guides, News, & Discussion] velimirchek:
HTC, signed by HTC :eek:
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
They are leaked RUUs right from HTC. they are all save to use. Wouldn't it be officially signed ones they wouldn't work at all on our devices.
[HTC U11  Guides, News, & Discussion] ouais25:
I tried with the batchtool ADB and fastboot and got an error:

(I cannot insert screenshot)

Now, it is stuck on the HTC logo page :(

I can load into download mode.

I see that the header is changed in this mode:

*** RELOCKED ***[...]

OS-1.13.401.1

Jun 5 2017

I could access the ADB from SDCARD in the recovery menu so I tried to install from Sdcard but got an error too:

Signature verification failed :(

I've checked the md5 checksum of the ROM file and it's OK though.

Still stuck on the logo page, even after a factory reset :(

Ouais
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Why did you relock? Unlock the bootloader. I'm sure you didn't change the CID back to a correct one HTC__034 e.g.

Guess you still on SuperCID 11111111!? If so that's what's causing it. Only way to get back up is to somehow manage to get into download, and - if S-OFF - change CID. otherwise bootloader unlock needed at least to boot up again.
[HTC U11  Guides, News, & Discussion] popcorn2404:
Hello, i got a 2PZC30000 and i have to return it. I unlocked the bootloader already and flashed ViperU. I will choose the RUU-Method. Do i have to lock the bootloader before flashing or after? After Locking, is it in "Relock" state or "Locked"? Sorry, i'm new with HTC-Phones.
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Lock it after flashing, but HTC will see it anyway as it states relocked and not locked.

Only HTC device your able to go to a real locked state is the HTC 10 thanks to Sunshine or better said [MENTION=2376614]jcase[/MENTION] and [MENTION=711482]beaups[/MENTION].
[HTC U11  Guides, News, & Discussion] ouais25:
[/COLOR]

But the checksum is provided by the one who uploaded the RUU. Might be someone different from HTC.

And custom ROMs can be installed despite the fact that they are not made by HTC, can't they?
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Custom ROMs and ruuqs are two different things. Maybe google firmware vs. ROM and you'll find some good article explaining it. E.g. here https://venomroms.com/rom-vs-firmware/

RUUs are singed and can't be resigned by someone else without the exact HTC key. Yes as they are leaked they are of course uploaded by someone else. The md5 is calculated during the upload by Android File Host for you to check if your download hasn't been corrupted during the process.
[HTC U11  Guides, News, & Discussion] ouais25:
I finally managed (by luck) to flash with the latest RUU.

I left my CID changed to HTC_001.

It's loading properly.

The only drawback is that it is still recognized as a test device :(

So, I did all that for nothing :(
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Did you change to HTC_001 or HTC__001, cause the first one - as you typed it in - is wrong. It's short if one underline.

Where does it recognize as a test device? During setup? If so well then it is as is. Won't change anything in daily use I'd guess.
[HTC U11  Guides, News, & Discussion] ouais25:
I used HTC__01. Sorry for the typo.

It's recognized as a test device in the about page. Where we can enable/disable bug report and usage report to HTC.

There is a disclaimer in red at the bottom, explaining that it's a test device and that it's anyway enforced to send all data to HTC.

:(

However, I don't see the processus viewer and loggers menus now. Don't need anyway and I disabled loggers already.
[HTC U11  Guides, News, & Discussion] beaups:
We will provide a solution inside SunShine to get to "LOCKED" for u11 at some point after we release SunShine for it.
[HTC U11  Guides, News, & Discussion] OMJ:
thx for chiming in, maybe it will shut up the naysayers thinking it's not coming...
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Thanks for this information beaups! Really appreciated.

Glad if it'll get those naysayers to shut up as well :)

Hope I haven't been misunderstood. Just wanted to explain how it works on HTC devices.
[HTC U11  Guides, News, & Discussion] Kisakuku:
With S-Off you can get Locked bootloader status on devices older than HTC 10 by manually changing the flag (Sensation, One S, One Max, M7, M8, E8, M9, Desire 510 and a bunch more).
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Thanks.

Now that you mention it, and thinking about it, well I might have done that on the M7 but am not sure.