yashsingh1/xdaforums huggingface dataset:
[HTC U11  Guides, News, & Discussion] chriszue:
Hi all,

I have some question regarding the "relock" of bootloader,

I am using a Chinese Version of U11 (dual sim, which support all the bands in world), so I have unlocked my bootloader and flashed custom roms, and I actually want to roll back to official Rom,

so I have done the RUU restore by using SD card method, and OTA is also working after I flashed the RUU,

However in dev option "OEM unlock" is grayed out and I could not relock the Bootloader in download mode with the adb "fastboot oem lock".

I wonder If i done any steps wrong and is there any solution to this?(of course the 5 sec screen is annoying too)

thank you so much!
[HTC U11  Guides, News, & Discussion] Simpody:
Looking forward to the debrand thread ?
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Will do at the weekend. Am on a working trip until friday.
[HTC U11  Guides, News, & Discussion] Simpody:
Patiently waiting :D
[HTC U11  Guides, News, & Discussion] dobknobby:
Stupid Question, does this relock bootloader? And flash stock Recovery?
[HTC U11  Guides, News, & Discussion] Avs7300:
Flashing back to stock rom

Hi guys

Very new on the flashing scene so my apologies if my query and question is silly, i have downloaded the correct software version of htc u11 which is the dual sim Asian variant, after booting to download mode before installing my software version, how do I apply this code htc_fastboot getvar all ?

I purchased a phone which was rooted which I was not aware of, I accidentally deleted the custom rom without having the stock rom downloaded and now the phone is stuck on htc start up screen doesn't boot, I think this is now bricked so trying to flash stock rom to be able to use it normally but I am just confused on how to apply this part

Code htc_fastboot getvar all - before being able to flash stock rom, any help would be appreciated guys cheers Avs7300
[HTC U11  Guides, News, & Discussion] mcwups1:
Installed Sprint's new firmware (signed because I'm s-on) and tried to reinstall recovery and got this....
[HTC U11  Guides, News, & Discussion] michaelbsheldon:
Can only install recovery if you are bootloader unlocked.

Otherwise you can only flash same or newer signed stuff.
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Regarding this command it is important to install all drivers as well as and and fastboot first. It's not in my manual as there are lots of threads explaining hot to install those on a windows or Linux machine.

Maybe try something else. Rboit to download mode by turning the device off completely. Then power on while holding the Vol- key. This should bring up the download mode immediately and you'll be able to read the OS version there.
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Am on it. As there are some things to be looked at as long as S-OFF is temporary it is a little bit more complicated to ensure the guide is noob proof and no one risks a brick. There are steps I want to describe more precisely to make sure if one follows the guide to the word, One won't risk a brick or weird behaviour.

Indeed I'm not sure if I want to do it for the time being after running through the process myself, die to those critical points that are to be done.
[HTC U11  Guides, News, & Discussion] Avs7300:
Thank you for the reply I will search other threads and make sure my windows based system has all drivers much appreciated

---------- Post added at 09:01 AM ---------- Previous post was at 08:57 AM ----------

Sorry one more thing, with regards to your second part of your message, I can reboot to download mode so does this I don't need to install drivers or I still have to? Was thinking when in download mode I can flash directly from stock rom or all drivers are still required?

QUOTE=5m4r7ph0n36uru;73656580]Regarding this command it is important to install all drivers as well as and and fastboot first. It's not in my manual as there are lots of threads explaining hot to install those on a windows or Linux machine.

Maybe try something else. Rboit to download mode by turning the device off completely. Then power on while holding the Vol- key. This should bring up the download mode immediately and you'll be able to read the OS version there.
[HTC U11  Guides, News, & Discussion] LibertyMonger:
Can someone reassure me on the right ruu to flash? I only see one for the US unlocked model so I assume it is the same ruu for the US unlocked 6gb/128gb model? Thanks.
[HTC U11  Guides, News, & Discussion] Simpody:
I did it on Sunday afternoon. I'm too impatient. All went well and I'm now on UK unlocked
[HTC U11  Guides, News, & Discussion] Zico 10:
Which is generally the best RUU to flash for fastest updates?

I am still on 1.13 in Australia, an unbranded experience with faster updates would be great.
[HTC U11  Guides, News, & Discussion] volpeastuta:
In on dual sim Indian version cid 060 and it's stable and fast with updates. Live in Europe and zero problems
[HTC U11  Guides, News, & Discussion] Avs7300:
Flashing Custom and Stock ROM issues

Hi All [IMG="Issue 1"][IMG="Issue 2"][IMG="Issue 3"][IMG="Issue 4"]https://imgur.com/a/g41zb[/IMG][/IMG][/IMG][/IMG]

wondering if i can get some assistance/advise here

I have, purchased phone from online 2nd HTC U11 not knowing it was rooted with TWRP installed, didn’t really mind but issue I had was phone didn’t have a physical keyboard and only voice was available so couldn’t use phone and log into Google account from factory reset, I did something like wiped something not sure and now it just hangs on start screen with HTC logo visible doesn’t really turn on, tried downloading stock rom and also custom rom Magisk.zip and installing via root of SD card but get error ( Zip file corrupt! ) ( Error installing Zip file ‘/external_sd/2PZCIMG.zip )

All I want to do is either fix rooted rom and use or even go back to stock rom but I believe I need locked bootloader completed before going back to stock, not sure? Not even sure how to do this, never had a rooted phone so sorry to ask you this issue but literally don’t have no one to ask, I have also attached some images of my issues

Any help will be greatly appreciated guys
[HTC U11  Guides, News, & Discussion] affliction_emrah:
Hi guys,

Have an issue;

Unlocked my bootloader and then boot in twrp, didn't flash it to be able to have OTAs, mounted as read only and made full backup, then for achieving root privileges flashed Magisk and all went great.

Now, OTA arrived, booted in twrp again, restore everything but data, tried to flash OTA but it stucked at %24. Tried a few times, same... Tried to mount twrp as read only and restore that way but didn't allow me.

If I follow the steps mentioned in the guide I think my problem would be solved, right?

If so Will I lose data?

Thanks in advance
[HTC U11  Guides, News, & Discussion] :
I had the same problem, stuck at 24%. Flashed RUU again from Download mode, and then made factory reset in recovery.. after that OTA finally installed.
[HTC U11  Guides, News, & Discussion] affliction_emrah:
So, I have to definitely lose my data?
[HTC U11  Guides, News, & Discussion] :
Probably, make a backup of everything you need. :highfive:
[HTC U11  Guides, News, & Discussion] affliction_emrah:
:)

I wrote Magisk developer also, let's see what he's gonna say:)

Thanks
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Easier would have been to make a full read-only backup of system image, boot and recovery before you start tinkering. Even though I never touched my system. Nevertheless the OTA had a problem installing it with stock recovery and boot in place. Did an additional restore of all three partitions through TWRP and all went fine without any loss of data.
[HTC U11  Guides, News, & Discussion] affliction_emrah:
Thanks for the reply but as I mentioned,

I mounted twrp read only and backed up everything including system, You meant no need to backup and then restore system?

I will try restore only the ones you mentioned now.

Edit: Tried but no avail.

Seems like need to follow the steps in the guide, i think im gonna lose my data. Can i restore only data partition? It was giving problem on my older phones but is it possible with U11?
[HTC U11  Guides, News, & Discussion] starkdon:
I tried to flash the RUU following the above steps, but when I reboot to download mode, it doesn't read the RUU file, and I can't do anything.

What's the correct steps for doing this? Currently I'm unlocked bootloader with TWRP recovery flashed and a third party rom.

I wanna flash the stock RUU and check the network on the stock rom coz I can't use all my sim card now (HTC_J15, middle east version, worked fine in ME, but when I roam to China, none of my sim cards working, one Dubai sim card, one Iraq and tried some Chinese ones... no luck)

Thx in advance.
[HTC U11  Guides, News, & Discussion] affliction_emrah:
Most probably you put it internal storage, same thing happened to me as well, put the file external storage (real SD card) it worked for me like that.
[HTC U11  Guides, News, & Discussion] mathrania:
I have custom rom, rooted with magisk. For going back to complete stock in order to receive OTAs, do i just flash the RUU or do i have to relock bootloader and flash stock recovery as well?
[HTC U11  Guides, News, & Discussion] affliction_emrah:
You have to flash stock recovery, no need to lock bootloader.
[HTC U11  Guides, News, & Discussion] ziand:
Hi,

It will be enough to flash RUU (with full wipes of data) with your current software number or higher.

P.S. If you would like to close your bootloader to Relocked status (procedure is with factory reset), anyway after that you need to flash RUU to get OTAs.
[HTC U11  Guides, News, & Discussion] starkdon:
Nope, I put it in both internal and SD storage, no luck.:crying:
[HTC U11  Guides, News, & Discussion] :
I'm unable to relock bootloader and remove that message when phone is starting, any solutions?
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
fastboot oem lock in download mode should do the trick.
[HTC U11  Guides, News, & Discussion] Petarg:
Do i have to have a sd kart to flash RUU?
[HTC U11  Guides, News, & Discussion] :
You can do it in fastboot "fastboot flash zip nameofzip.zip"
[HTC U11  Guides, News, & Discussion] treams:
My home button quit working this morning and need to take my phone in to Sprint before 5

so i downloaded the RUU OCNWHL_1.03.651.7_FullStock.zip and i get an error android info missing or malformed when attempting to flash from downloadmode

if i open adb on my pc and run fastboot getvar all it just sits at waiting for device.

---------- Post added at 05:05 PM ---------- Previous post was at 05:04 PM ----------

My home button quit working this morning and need to take my phone in to Sprint before 5

so i downloaded the RUU OCNWHL_1.03.651.7_FullStock.zip and i get an error android info missing or malformed when attempting to flash from downloadmode

if i open adb on my pc and run fastboot getvar all it just sits at waiting for device.
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
That's not a RUU you are trying to flash but a firmware pack designed for S-OFF devices only. Download the RUU that can be found in the spreadsheet on the first tab.
[HTC U11  Guides, News, & Discussion] treams:
well damn it, thanks!

---------- Post added at 06:20 PM ---------- Previous post was at 05:56 PM ----------

ok so how do i get back to stock recovery?
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
How about taking the latest RUU.exe from the spreadsheet. Link is as already told on the first tab.
[HTC U11  Guides, News, & Discussion] volpeastuta:
Is there any way or guide to set again my bootloader status to "locked"? I've unlocked mine U11 and performed soff, but right now I need to set everything stock. And... Fastboot oem lock doesn't work. :(
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
No. Just relocked. But you gotta activate OEM Unlock in developer setting for the community work first. If this isn't possible flash a RUU, activate OEM Unlock andntry command again.
[HTC U11  Guides, News, & Discussion] mrnovanova:
So I've been trying to go back to stop for 2 days now. This is the screen I see.

I'm unable to boot phone

RUU EXE does nothing

Downloaded RUU and when I try to flash it I see what you see on the second pic.

I tried with the batch tool and it doesn't work either.

I'm at my wits end.

Can somebody please help me?
[HTC U11  Guides, News, & Discussion] mrnovanova:
I think I figured out the batchtool thing but I keep getting error. Cannot load 2pzcimg.zip

---------- Post added at 02:52 AM ---------- Previous post was at 02:41 AM ----------

All good. Figured it out. Thanks.
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
A RUU image is either flashed in RUU mode, or as written in the OP using the SD card method. Place the RUU on the root directory if a micro SD card, insert it to the phone and reboot to download mode.

Edit: glad it worked. Didn't see you edit. My bad.
[HTC U11  Guides, News, & Discussion] lukjod:
I need help, there are so many ways that not sure which one is best for me. I am now on 1.13.401.1 and magisk 14 as root without sunshine. want to update to ota 1.27.401.5 and stay rooted. What is the easiest way to do it without loosing data (no wipe) my phone is uhl emea

thanks in advance
[HTC U11  Guides, News, & Discussion] ziand:
You cannot to be rooted and apply OTA.

Just to get and to apply OTA, using TWRP you need to restore your nandroid backup with system.image, boot and stock recovery. After that, flash again TWRP and get root.
[HTC U11  Guides, News, & Discussion] lukjod:
thx for quick answer, no wipe during process, will all data stay on?

so easiest way is to use nandroid and then put ota_127.402.5-1.13.401.1 and then twrp and magisk?
[HTC U11  Guides, News, & Discussion] mrnovanova:
No worries. That's exactly the piece of the puzzle I was missing. RUU mode. ? Thanks anyway. Much appreesh!
[HTC U11  Guides, News, & Discussion] lukjod:
i must do smth wrong all the time try to flash OTA_OCEAN_UHL_N71_SENSE90GP_HTC_Europe_1.27.401.5-1.13.401.1_release_508421mblbxch3xa0ws9fz.zip

using fastboot flash zip

OTA_OCEAN_UHL_N71_SENSE90GP_HTC_Europe_1.27.401.5-1.13.401.1_release_508421mblbxch3xa0ws9fz.zip

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

when i try to update via ota it downloads update start to update it then restart phone updates to 24% and shows recovery with red triangle in the middle of screen, then after a minute or so reboots to old software.

any help?
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
May I've that you altered your system in any way. If e.g. system partition has been mounted r/w instead of ro in TWRP this would change the md5 of the partition and the update will fail due to Google's block based OTA policy. On my end I took car to boot TWRP from bootloader without flashing it and restored a stock backup of an untouched system, recovery and boot image. Afterwards I redownloaded the OTA and all worked like a charm.
[HTC U11  Guides, News, & Discussion] lukjod:
ok any other way to do it eg flash twrp and flash full stock ?, later on should be possible to return back thru ruu right?
[HTC U11  Guides, News, & Discussion] beaups:
Use ruu mode, not download mode for flashing zips. Or go s-off.
[HTC U11  Guides, News, & Discussion] lukjod:
but using ruu means full wipe ?
[HTC U11  Guides, News, & Discussion] beaups:
Depends on the zip you are flashing. Which mode you flash it in does not have any affect on whether or not it wipes.
[HTC U11  Guides, News, & Discussion] ziand:
Yes, it is incorrect.

If you have been rooted, after restoring TWRP backup:

There are 2 ways to apply manually downloaded OTA zip-file:

- using your extSD card method;

- via your PC.

Both ones are from Stock Recovery (After booting to the recovery and if you see a red triangle, press and hold Power button then press shortly Volume Up button to penetrate into the recovery) :

1. Select "Apply update from SD card" and choose saved on extSD your OTA zip-file.

2. Select "Apply update from ADB" and start a command on PC with OTA.zip saved in the same folder with adb utilities:

adb>adb sideload OTA..xx.zip

Just to check second way if you would like, after applying it is possible to apply OTA again.

OTA will apply successfully again.

If you do everything correct and during applying you get Error 7, something went wrong with system on your phone then there is a single way: you have to flash RUU (with full wipes).

This Error can appear even on some user's phones with full stock too: https://xdaforums.com/showpost.php?p=73636610&postcount=373
[HTC U11  Guides, News, & Discussion] lukjod:
thx for this but using both ways i got status 7 error so for now will revert back magisk and stay on 1.13.401.1 when some major update like oreo will be up will do the ruu flash and configure it again, but for now no time for this

Just to be sure, no way to apply full stock 1.27.401.5 from spreadshhet combined no wipe and stay updated this way without playing with ota?
[HTC U11  Guides, News, & Discussion] ziand:
You do not read carefully that I gave you... you will have this Error now or later, it doesn't depend of next OTA, just your phone... You won't be able to apply next OTA

It is strange to hear because with root that you have it is very easy to save everything and restore after RUU and OTA !

Users with full stock don't have such possibilities....
[HTC U11  Guides, News, & Discussion] lukjod:
Yes I understand that, just thought can skip ota and all problems it cause with my phone and simply put full recovery from net with 1.27 soft via twrp. Well must learn how to make backup now. Think twrp and android is the way, must read carefully this stuff. Last time was using backup was few years and phones back that's way I'm so afraid off full wipe

Thx for advice about backup will try to go this way

Wysłane z mojego HTC U11 przy użyciu Tapatalka
[HTC U11  Guides, News, & Discussion] ziand:
Do not be afraid of this.

Both two ways: TWRP backup of ” data" and Titanium backup. Use both ways together to be free :)
[HTC U11  Guides, News, & Discussion] Shubham-goswami:
How did you lock the bootloader? Can you tell me the method .
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
fastboot oem lock in download mode.

ATTENTION: make sure you are on a full stock firmware and ROM, e.g. by flashing an appropriate ROM.
[HTC U11  Guides, News, & Discussion] Shubham-goswami:
I am using viper rom . so can i lock this please help me i have no idea what to do
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
NO don't for as long as you got a custom ROM and recovery installed.

If you do so you'll have a very expensive paper weight afterwards
[HTC U11  Guides, News, & Discussion] Shubham-goswami:
if i have nandroid backup So can i do this
[HTC U11  Guides, News, & Discussion] mrnovanova:
You have to flash your original firmware in RUU mode and the relock the bootloader. That's what worked for me.
[HTC U11  Guides, News, & Discussion] Shubham-goswami:
ok thankx

---------- Post added at 11:42 AM ---------- Previous post was at 11:39 AM ----------

one more think can i flash ruu in custom rom with download mode
[HTC U11  Guides, News, & Discussion] mrnovanova:
Nope. There's actually an RUU mode.
[HTC U11  Guides, News, & Discussion] Muff-Edwards:
IGood afternoon..... would anyone happen to have a Nandroid for htc u11 o2 uk? iv had the device 32 days and apprently missed the timescale for for swap so needs to sent in for repair, however my Usb C port only works for slow charge, nothing else, no earbuds now file transfer no otg etc, and i despratly need to flash a stock nandroid via TWRP if i can. please send me a message either via my profile or hangouts.

MANY THANKS GUYS xx

PS I have created a new thread that I believe is the correct place for post..... Asim if I've done this correct could u remove this one.... Many thanks.
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Flash the latest o2 RUU mate. It's on my spreadsheet.
[HTC U11  Guides, News, & Discussion] Muff-Edwards:
Thanks for the advice. But how do I do it. When I copy to SD card ( both external and internal ) it doesn't show up in download mode. And it has been renamed correctly with only 1 .zip extension.

Many thanks

Tum.edwards

I need a way without using the USB connection as this is why my handset is going back for repair....
[HTC U11  Guides, News, & Discussion] Muff-Edwards:
Could you please message me, as I cannot message you for some reason..
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Sorry no help via mail or message. Make sure the SD card is properly formatted as extFat. Then copy the appropriate file onto it named as given in the guide this should work.

Had to do it twice myself sometimes as Windows has a hand for not copying it correctly. Especially Windows 10.
[HTC U11  Guides, News, & Discussion] Muff-Edwards:
And simply find the file using download mode... I assume recovery is built in or do I flash this after.....

Oh does it matter that I have unlocked bootloader as I can't relock it with failed usb-c
[HTC U11  Guides, News, & Discussion] Muff-Edwards:
I've downloaded all the O2 ruu's and formatted the SD card etc. Nothing shows up in download mode

---------- Post added at 06:54 PM ---------- Previous post was at 06:42 PM ----------

I think I'm definitely going to need a Nandroid, unless someone can confirm that this option actually works..... The ex SD card has had a full EXfat format. File renamed placed on the SD card. Opened download mode where it is not detected
[HTC U11  Guides, News, & Discussion] michaelbsheldon:
You could try plain old FAT32 on that sdCard instead. Make sure there's only one ' .zip ' at the end of the file name.
[HTC U11  Guides, News, & Discussion] Muff-Edwards:
I've tried that also lol. I'll use my other HTC and try to upload a pic.
[HTC U11  Guides, News, & Discussion] Muff-Edwards:
Here are some Images
[HTC U11  Guides, News, & Discussion] Brds7t7:
The filename should be 2PZCIMG.zip

Try that and see if it works.
[HTC U11  Guides, News, & Discussion] Muff-Edwards:
Look at my 2nd named image..... ?
[HTC U11  Guides, News, & Discussion] Brds7t7:
What 2nd named image? I only see one and it's not named 2PZCIMG.zip it's named 2PS6IMG.zip

2PS6IMG.zip is for the HTC 10 not the U11.
[HTC U11  Guides, News, & Discussion] Aurelienazerty:
Hi,

I've got this :

(bootloader) kernel: lk
(bootloader) product: htc_ocnuhl
(bootloader) version: 1.0
(bootloader) max-download-size: 1562400000
(bootloader) serialno: FA7961800729
(bootloader) slot-count: 0
(bootloader) current-slot:
(bootloader) version-main: 1.27.89.7
(bootloader) boot-mode: download
(bootloader) version-baseband: 8998-001791-1705231845
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PZC10000
(bootloader) cid: ORANG219

Is the 1.27.401.5 for MId 2PZC10000 and CID HTC__001 will work ?
[HTC U11  Guides, News, & Discussion] ziand:
Hi

No, this RUU and software number is only for a phone with those CID, MID and you have another CID: ORANG219

You need to get S-OFF to change your CID to HTC__001 then you can use it.
[HTC U11  Guides, News, & Discussion] Aurelienazerty:
Thanks ziand_ !

And is th sunshine s-off method let you change the CID or, for the moment it's not possible ?
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
You could change your CID, but it is only temp S-OFF, thus flashing the correct RUU right after changing it is of importance to not risk a software brick or worst.
[HTC U11  Guides, News, & Discussion] OMJ:
if you're gonna change your CID, you might as well do it right & set SuperCID...being locked to a different CID then original could end up biting u...

fastboot oem writecid 11111111
[HTC U11  Guides, News, & Discussion] 5m4r7ph0n36uru:
Absolutely agreed. Will mention it in my next replies on such questions as well. As always thanks for your heads-up.
[HTC U11  Guides, News, & Discussion] ziand:
Good idea to avoid troubles, but people want to get and apply OTA after that. Thank you
[HTC U11  Guides, News, & Discussion] OMJ:
SuperCID should not cause ota to fail, when the ota is checking cid, superCID is also listed as acceptable.