yashsingh1/xdaforums huggingface dataset:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Official Update to 3.2.3-3

Official TWRP got updated to 3.2.3-3.

Official Changelog: twrp.me

01.01.2019 3.2.3-3

Add support for successfully decryption devices on firmware 1.53.xxx.y with security patch state of 1st December 2018

NOTE: The official TWRP image 3.2.3-3 will only decrypt devices on the 1st December 2018 security patch state when fastboot booted! The TWRP 3.2.3-2 image will only decrypt devices on the 1st Sepember 2018 security patch if fastboot booted! The TWRP 3.2.3-1 image will only decrypt devices on the 1 June 2018 security patch if fastboot booted. If you are on the 1 March 2018 security patch, you will need to fastboot boot one of the unofficial 1.15 TWRP images. The zip installer (also from the 3.2.3-3 release), however, will work on any patch level, but if you're on stock kernel, you will still need to flash the hex patcher or a custom kernel to have working touch when rebooting into recovery mode.

Important

Before asking any questions please take a look at the OP and the FAQ. Also search in this thread. There is a big pile of information available already!

Thanks to all of you!

At this point fastboot booting twrp breaks OTA capability. To restore it have a look at the FAQ here in post #2 and the links there!

have a nice day all :)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] adrpam:
U12+ This device is corrupt. It can not be trusted and will not boot.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] JEANRIVERA:
Download this https://androidfilehost.com/?fid=11410932744536984886 and rename the file to 2Q55IMG.zip put it in the root of your MicroSD card smaller than 32GB formatted in fat32 a 4GB will work just fine and then boot the device in to Download mode and press Vol+ to start flashing back to stock, this will wipe you device entirely like factory

P.D. if you want to flash permanent TWRP make sure to Unlock your bootloader before doing that again, otherwise, you will end up in the same situation
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I´m sorry you got in this situation. Best thing to do is follow the advice of [MENTION=453495]JEANRIVERA[/MENTION] and flash the RUU on your phone. Look also at the firmware thread for a "how to" and to understand what the RUU actually does.

If you don´t understand what the magisk.zip is why didn´t you just ask here?

Magisk.zip and Root.zip is the same thing. Basically it´s a flashable zip file, which can be flashed in TWRP to obtain root. Or on a already rooted phone in Magisk Manager App to update the magisk version itself.

Download can be found here: https://github.com/topjohnwu/Magisk/releases

Do not download it elsewhere! All official releases can be found on the link I provided only!

Maybe you want to take a look at my guide thread here too:

https://xdaforums.com/u12-plus/how-to/guide-how-to-root-u12-magisk-tips-tricks-t3802583

It has a wealth of information and may make things a bit clearer even. There I stated that you need an unlocked bootloader for all this.

I´m sorry I didn´t mention it explicitly in the TWRP thread here! It is one of these things that is that obvious, to one experienced in these fields, you don´t even think about the need of mentioning it.

Really sorry you need to reset your device now. I edited the OP to indicate the need of an unlocked bootloader now.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] JEANRIVERA:
[MENTION=720412]adrpam[/MENTION] it would be nice to know if you were able to fix your device
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] adrpam:
First of all, I want to thank you all for your help in solving the problem described and to understanding how the system works.

I have been using HTC devices since 2001, I think I have not missed any HTC flagship, even since they had WM and were selling like Qtek or XDA.

But now, at U12 +, everything looks more complicated than the HTC phone I had before (U11).

I apologize for the delay. Obviously, I owe you details about how the problem solved.

But I waited to finish everything, to give a detailed answer.

- I've resolved with reinstalling the OS

- I unlocked the bootloader

- I solved with the recovery and magisk installation

- I tried the two custom ROM versions available, but finally I resumed everything from the begining and reinstalled the original ROM, which I rooted now. Thus, I hoped that face unlocking would work.

Unfortunately, I do not have this option either. Not even on the non-roooted ROM (however, with the bootloader unlocked).

Question 1: Is this feature (face unlock) is not available at U12 + at all, or does it disable when unloading the botloader?

Question 2: I am very dissatisfied with the very low level of brightness the device has when setting the light on Auto. Is there a way to change this level, but stay on Auto? To be brighter in identical external lighting conditions.

Question 3: The Power and Volume buttons are terrible to use in this form of sensor buttons. Are there some tricks somehow developed to improve in some way how to react?

Question 4: I have never managed to go into the phone's programming menus using the key combinations. He does not want to go in, just. I can not get into the bootloader except from my computer commands, with adb reboot download, and then surf through fastboot menus.

Can someone give me the apk with reboot in these menus? It was in one of the rum, but I forgot to backup it and extract this apk, and now I do not work for a few hours just to put that ROM only for this apk.

Many thanks and best regards!
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] EMJI79:
Question 1 answer: face unlock have been unavailable after Magisk root for some of us but in the Viper ROM thread you can find a zip to flash that bring it back (at least for me and even though I haven't flashed that ROM and only use Kirisakura kernel).

You can try and flash that zip. Just remember to hide face unlock app in Magisk.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] zaibatsu:
TWRP boot and OTA

Hi!

On the first page of this thread is mentioned that fastboot booting twrp breaks verity on the system partition. The linked github page indicates that the issue has since been resolved. Could somebody link me a version of twrp for the htc u12 which has this fix implemented?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] bigAL99:
stuck

I'm at my wits end. i had TWRP running fine and have installed previously no problem. I had flashed stock so i could get the latest update, all went well.

But I have tried without success to boot to twrp without success. most of the time it just hangs So i have uninstalled drivers and re installed everything and now I'm getting this

adb server version (31) doesn't match this client (40); killing...

could not read ok from ADB Server

I am using the latest platform tools I believe r28.01 i have loaded the latest HTc sync with its drivers 2.0.7.30 which it installed.

also should i be in bootloader or downloader when doing fastboot boot twrp.img

the front page says bootloader but on the image download page it says boot to downloader.

have to say either worked for me.

any advice would be greatfully received.

thanks
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Electronic Punk:
Try uninstalling HTC Sync, but leaving the drivers on, looks like you have multiple copies of adb installed and 31 sounds quite old!

And bootloader worked fine for me earlier.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] bigAL99:
Thanks, followed your advice and got back to fastboot working and fastboot devices getting a reply but just hangs when trying fastboot boot twrp.img

Comes back with FAILED (Status read failed (Too many links)). Tried every usb slot and have the original cable. all very frustrating.

only thing different now to previous attempts is now I have a new pc, not sure if that is buggering it up.

may just wait for a boot.img to appear and then use magisk to patch it.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Electronic Punk:
You need the boot img for 1.53.401.5 ?

I have the DUGL one
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] bigAL99:
Yes please that would be great.

I can get away with no TRWP for now but Magisk is a different matter nothing works unless its hidden.

thanks
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Electronic Punk:
Here we go:

https://www.electronicpunk.com/u12/

ALso don't forget that once you do have Magisk up and running you can flash TWRP.zip from Magisk Manager as well.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] bigAL99:
Thanks, all done and magisk up and running :D can you point me in the direction on how to now flash TWRP using Magisk?

thanks again
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Electronic Punk:
I believe Captain and Freak packaged it in such a way that you could flash it like a module, it wouldn't appear as a module but would do the job and flash both A/B as it does in TWRP itself. Been a while tho and I did mine fine after booting in fastboot
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] bigAL99:
Unfortunately although it appeared to flash correctly to both A/B it gave a message at the end to say i wasn't rooted and on reboot I wasn't. Does the fact that i'm rooted me I could fastboot flash TWRP using fastboot commands?

to be fair the important thing was getting root working having TWRP would just be a bonus.

Will do so more research

thanks
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Electronic Punk:
hmm, but do you have TWRP ?

Might have to reflash Magisk after - really can't recall :D
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] urik7200:
Hi! Dear Freak07, guys from russian forum 4pda are asking for TWRP based on 1.57 Exodus 1. Of course if you have a free time for this. It will be great :)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Alan-B:
Hi,

Thanks for the link.It is not patched?

A patched version may give a bootloop!

PS:

I made a custom with the boot 1.30.401.2 but it is not compatible and everything planted!
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Electronic Punk:
Its a dump from TWRP and stock only. I used fastboot boot to get it, I then flashed TWRP and Magisk from TWRP directly.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] ovstanislav:
For version 3.2.3-5 it is necessary to sew a patch for a tach?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] JEANRIVERA:
for every version it is
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Take a look at the official twrp homepage :svetius:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] flashlight06:
This might be a dumb question but since https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1301 got fixed via https://github.com/omnirom/android_bootable_recovery/commit/54970bb1a9a7fb4a6326b7b784ef360bb182f6a4 do i still need to do the steps from the FAQ after fastbooting the lastest twrp to get my OTA functionality back?

Also do i need the touchscreen fix when fastbooting twrp?

(My primary goal ist to install ViperU12+ via Magisk)

EDIT:

Ok this was a dumb question since i'm kinda blind. :) The homepage https://twrp.me/htc/htcu12+.html says:

This answer my question!
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] JEANRIVERA:
Yes you still need touchscreen fix always if your going to permanently flash TWRP, unless your going to flash a custom kernel like Kirisakura or Clean Slate kernel

if you're going to fastboot boot the TWRP is not needed
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] ziand:
Thank you for your work. Unfortunately TWRP. Release 3.2.3-5 doesn't support properly Shell commands, exactly for Downgrade or returning to U12+ firmware with this:

adb shell " dd if =/dev/zero of =/dev/block/bootdevice/by-name/misc bs=1 seek=2208 count=16 "

Of course this works with root from Android Terminal

also with this unofficial TWRP
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] qriozum:
I uploaded RUU v1.53 to U12 + I uploaded Magisk 18.1 and TWRP 3.2.3-4 - all according to the instructions.

And now, every reboot of the device after displaying bootanimation, a screen appears with the introduction of a formula with a limit of 30 attempts after which the "clearing" will occur.

Is this going to be like this due to changes in TWRP or rather, I've been scolding something?

greetings

q.

How I have mechanically selected the requirement to provide a pattern to protect me when my phone is lost or stolen.

regards

q.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
The official builds use toybox instead of busybox now.

Can you try toybox dd?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] ziand:
Thank you for your prompt reply. We have quick ways for downgrade. But we waited for all in one, and sorry...we don't understand why you are using toybox instead busybox...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
So is toybox dd working for you?

Toybox was needed at some point for work that’s being done in the background. I’ll try to remember to put a short reminder out in case we switch back to busybox again. :svetius:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] ziand:
Sorry for the delay... the problem is that unfortunately I do not have U12+. This is help to my users of our domestic forum. So, it takes more time to get info.

Screens of user with 3.2.3-5 TWRP on 1.57.709.6 firmware can be only tomorrow. But here are attached results with 3.2.3-4 TWRP.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] goodman_east:
3.2.3-5 works well with EXODUS 1.57, BUT cannot decrypt EXODUS 1.62 with security_patch=2019-02-01
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] ziand:
Use this Temp TWRP.img to flash Permanent TWRP 3.2.3-5, touchscreen_hexpatcher, magisk v19
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] goodman_east:
Thank you for reply, but the link recovery is for January patch, still cannot decrypt 1.62.

And I found the other twrp recovery for February patch, data decryption works well. https://androidfilehost.com/?fid=1395089523397932197
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] ziand:
I shared untouched backup 1.62 here: https://xdaforums.com/showpost.php?p=79360100&postcount=474https://xdaforums.com/u12-plus/how-to/collection-htcu-u12-ruu-firmware-t3794664/post79278256
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Official TWRP got updated to 3.3.0-0

Official Changelog: twrp.me

17.04.2019 3.3.0-0

Decryption on devices running firmware 1.62.xxx.y with security patch state of 1st February 2019 when fastboot booting the twrp.img

Future TWRP.img files can be flashed via the "Install Recovery Ramdisk" option inside TWRP´s advanced settings (for now the twrp.zip is also still available) or when choosing to flash an .img file instead of a zip file.

If you don´t flash magisk there is also option to "Fix Recovery Bootloop" inside TWRP´s advanced settings to be able to boot to system

you are able to take screenshots via power + home button

busybox is included instead of toybox

NOTE: The official TWRP image 3.3.0-0 will only decrypt devices on the 1st February 2019 security patch state when fastboot booted. The official TWRP image 3.2.3-5 will only decrypt devices on the 1st January 2019 security patch state when fastboot booted. The official TWRP image 3.2.3-3 will only decrypt devices on the 1st December 2018 security patch state when fastboot booted! The TWRP 3.2.3-2 image will only decrypt devices on the 1st Sepember 2018 security patch if fastboot booted! The TWRP 3.2.3-1 image will only decrypt devices on the 1 June 2018 security patch if fastboot booted. If you are on the 1 March 2018 security patch, you will need to fastboot boot one of the unofficial 1.15 TWRP images. The zip installer (also from the 3.2.3-3 release), however, will work on any patch level, but if you're on stock kernel, you will still need to flash the hex patcher or a custom kernel to have working touch when rebooting into recovery mode.

Important

Before asking any questions please take a look at the OP and the FAQ. Also search in this thread. There is a big pile of information available already!

Thanks to all of you!

have a nice day all :)

thanks to [MENTION=1162986]Captain_Throwback[/MENTION] for all the work he´s silently doing in the background.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] fabrizio b92:
something can help me? i've htc u12+ firmware 1.53.401.5 ime dugl. i've installed twrp recovery 3.2.3.3 using adb command,but when i reboot in recovery touch does'nt works, why? maybe i need a fix or others? Thanks
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] donmarkoni:
Seems like you didn't read... Everything is in the first post.

I could spoon feed you, but that would defeat the purpose of XDA Developers spirit.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Jump1ng:
Especially start reading at

bit...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] urik7200:
Hi! My friends from domestic forum(4pda) have issues with Face Unlock feature. It suddenly stopped working with root even though app is hidden in Magisk following instructions. Face Unlock registers face but doesn't recognize it when you try to unlock your smartphone. Firmware 1.68(they have tried even downgrade to 1.30, it didn't help) TWRP 3.3.0-1 and other versions too. I attached log file,it might be helpful.. Is there any way to fix this or maybe they should wait for an update? I appreciate any help you can provide. Faithfully yours, urik7200.

Log link: https://1drv.ms/u/s!AqB6LhdK2naD131uIYUQ9iXPyMkV
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] fabrizio b92:
flash this fix on twrp ---> https://drive.google.com/file/d/1uu4hZ7lFz0XBS7XHO2ImTYigNlK5GOOd/view?usp=sharing
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] urik7200:
Thanks!We'll try :)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] urik7200:
Unfortunately,it didn't help.. As I know author of this fix is Viper ROM's author,and he has the same issue with face unlock even with this fix now..
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] fabrizio b92:
i've firmwae 1.54.401.5 oreo rom stock, root adn recovery, cid HTC_ 034 dual sim works fine.

Maybe your roms has a bug. Try with a different rom
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] urik7200:
Sad,but it doesn't work both stock ROM(RUU) and custom... ¯\_(ツ)_/¯
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] fabrizio b92:
Really? :confused:

Maybe The twrp ,Read this note from twrp site:

"NOTE: Updates may break decrypt in TWRP. MTP is working starting with Release 3.2.3-1. Release 3.2.3-2 supports HTC´s firmware 1.30.xxx.y with security patch state of 1st September 2018. Release 3.2.3-3 supports HTC´s firmware 1.53.xxx.y with security patch state of 1st December 2018. Release 3.2.3-4 supports HTC´s firmware 1.53.xxx.y with security patch state of 1st December 2018. Starting with 3.2.3-4 booting TWRP won´t mount system RW, therefore no longer impacting OTA functionality by solely booting TWRP. Release 3.2.3-5 supports HTC´s firmware 1.57.xxx.y with security patch state of 1st January 2019. Release 3.3.0-0 supports HTC´s firmware 1.62.xxx.y with security patch state of 1st February 2019. Release 3.3.0-1 supports HTC´s firmware 1.68.xxx.y with security patch state of 1st April 2019."

So try to flash your stock rom.Download here(look your CID): ----> https://docs.google.com/spreadsheets/d/1wIRrVQawd5rD-t9VKPQ-SdRK20RcJVZhwD7lhmPIK8w/edit#gid=0
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] urik7200:
We did it all) Nothing helped. Sorry mate for wasting your time. If there will be any success I'll post here.;)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] donmarkoni:
There are now more then few users with broken face unlock, including me. I guess it's some protection in some partition that is broken, which is not overwritten with RUU flash. Probably happens because of mixing different firmware, boot, vendor and system versions. I can link you to at least one more user, just need to find thread...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] ziand:
Yes, exactly... personally do not know which one.

No, It cases when was used not correct TWRP, not for exact security patch or using non-official TWRP. Maybe there are some value of its function which was broken as like OTA functional... I do not know.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] mioni:
Dears ,

how should I use this code

"to check if system has been modified check the following path:

"/sys/fs/" + Current_File_System + "/" + block + "/lifetime_write_kbytes"

Current_File_System is ext4 on the U12+"

Should I install a terminal on the device and input

"/sys/fs/" + Current_File_System + "/" + block + "/lifetime_write_kbytes"

Current_File_System is ext4

is it right?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] ziand:
A solution how to restore a functionality of Face Unlock here: https://xdaforums.com/u12-plus/help/recognition-register-unlock-smartphone-t3925514#post79770773
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Official TWRP got updated to 3.3.1-0

Official Changelog: twrp.me

20.05.2019 3.3.1-0

Decryption on devices running firmware 1.68.xxx.y with security patch state of 1st April 2019 when fastboot booting the twrp.img

NOTE:The official TWRP image 3.3.1-0 will only decrypt devices on the 1st April 2019 security patch state when fastboot booted. The official TWRP image 3.3.0-0 will only decrypt devices on the 1st February 2019 security patch state when fastboot booted. The official TWRP image 3.2.3-5 will only decrypt devices on the 1st January 2019 security patch state when fastboot booted. The official TWRP image 3.2.3-3 will only decrypt devices on the 1st December 2018 security patch state when fastboot booted! The TWRP 3.2.3-2 image will only decrypt devices on the 1st Sepember 2018 security patch if fastboot booted! The TWRP 3.2.3-1 image will only decrypt devices on the 1 June 2018 security patch if fastboot booted. If you are on the 1 March 2018 security patch, you will need to fastboot boot one of the unofficial 1.15 TWRP images. The zip installer (also from the 3.2.3-3 release), however, will work on any patch level, but if you're on stock kernel, you will still need to flash the hex patcher or a custom kernel to have working touch when rebooting into recovery mode.

Important

Before asking any questions please take a look at the OP and the FAQ. Also search in this thread. There is a big pile of information available already!

Thanks to all of you!

have a nice day all :)

thanks to [MENTION=1162986]Captain_Throwback[/MENTION] for all the work he´s silently doing in the background.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] JR 2007:
Hi! My device - HTC U12+ ( CID 622) After update to 1.68.708 there was a problem loading the temporary TWRP. USB debugging is activated. When you try to boot via (fastboot boot XXX.img), it displays the following message - C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot twrp.img

downloading 'boot.img'...

FAILED (remote: unknown command)

finished. total time: 0.002s
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Tiltdozer:
Hi guys!

I have a big problem.

I can enter twrp and bootloader and so on, but i have no root and cannot install a RUU for my phone...

I have no OS installed now, all is gone..

Have you a solution?

When you need more info then pls write me.

Pls help me..

i have no phone now ^^

Phone: HTC U12+
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] JEANRIVERA:
To be able to help you, we need to know how did that happened