yashsingh1/xdaforums huggingface dataset:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] mrsyamsul:
Sorry my bad english

I already run RUU 1.15.400.6 from sd card

Then update OTA 1.21.400.6 thru recovery

And update again OTA 1.25.400.3 thru recovery

is if I install cleanslate kernel using flash twrp, can I do next OTA thru HTC recovery like I do just last update 1.25.400.3

Please advise
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

If you flash (or boot) TWRP and then flash CleanSlate kernel, it's possible you won't be able to take an OTA for two reasons. One is that you need stock boot.img to take OTA, which CleanSlate modifies. The other is listed in the FAQ, and is related to Lifetime Writes in TWRP. You should read that before doing anything else.

TWP
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] gerzii:
by trying to do a system update, comes the following:

Installation can not be completed

An error occurred while installing the software updates. Under Settings, Info you can look for software updates.

thats why i installed TWRP perm and Magisk?

cheers
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Take a look at the faq section. You probably mounted system R/W by installing twrp.

The lifetime_kb_writes file will probably not return 0 and therefore making the OTA fail.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] gerzii:
i will try this first:

https://xdaforums.com/sho...13&postcount=3

hopefully this hack will work and OTA-functionality will be given.

i tried ur fix in the faq, but i dont find ur recommend folders :(
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] gerzii:
https://xdaforums.com/htc-10/how-to/8-0-htc-10-oreo-firmware-t3756126

firmwarfe flashign like that would be nice, but didnt found it yet for the u12+ ?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
The link in this post is not working.

The folders are named according to the slot you’re on. These folders will be there. If not you probably have a different phone.

You have to restore back a pristine system and vendor.img and flash back stock boot.img.

If you refer to the twrp flashable firmware zips, this probably won’t be happening on the U12+, because we have no permanent S-Off available. Was the same on U11. Take a look at the firmware thread. Everything is covered in great detail there.

https://xdaforums.com/u12-plus/how-to/collection-htcu-u12-ruu-firmware-t3794664
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Don´t boot any old twrp.img on the 1.30 firmware!

I´ll release an updated twrp build for the new security patch state as soon as I can.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] gerzii:
Restored OTA by this thread:

https://xdaforums.com/u12-plus/how-to/collection-htcu-u12-ruu-firmware-t3794664

it works perfect :)

just hope that ota istn broken, becuase of temp use twrp. cant check it now, beccause i am on latest firmware.

ur checks are nice, but just for linux and not for windows :( any idea for windows?

many thx for help :) donantion is done :)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
If you’re phone is rooted you can check the lifetime_kb_writes with a root explorer. That has nothing to do with linux or windows. Just download a root explorer and navigate to the correct folders to check the files.

Thank you very much for your donation! :) it’s greatly appreciated.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] gerzii:
i did something else now:

flashed stock again with sd-card method, that i can use ota :)

root via sunshine doestn work...

magisk installation failed via adb, because i stuck at htc logo after reboot...

adb sideload the kernel failed with error 21...

TWRP I do not dare to use anymore (no matter if permanent or temporary), because then OTA is always broken :(

Maybe you can use twrp in the future without OTA being destroyed?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
You can root without twrp by following the guide here:

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

It works I used it myself multiple times already. It was also the only way to root before twrp was available on the U12+.

Sunshine only does temp s-off on U11 and U12+. Means after a reboot it’s gone.

In the FAQ section the last paragraph is about keeping twrp installed and not losing OTA ability. You just have to use the twrps file and follow the process that’s described.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] gerzii:
I tried that several times last night, but always got stuck on boot, so i must reflash to stock -.-

sunshine, i mean rooting not s-off ;)

maybe a fixed version of twrp is coming in the future !? :)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] DeeZZ_NuuZZ:
A fixed version might come soon, but don't ask for eta. Also sunshine can't temp root since a long time, only works on older/other devices.

If you've have a boot.img sith magisk and it bootloops...then something is wrong. Did you take the proper boot.img for your main version?

Should be fine.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] kickyoace:
something like kingroot might be able to autoroot an older base number in the future but thats always a pain to remove completely and i used to always just root to get s off but no perm s off is available yet still hope we can get something more permanent
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] chrisvuong:
Hi, i'm new with U12+, a silly question: I've installed permanent TWRP-so now how to boot to TWRP without a computer by combination of hard buttons? Tried Power+ Volume - but it failed
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Long-Press only power button until you feel a slightly stronger vibration than the usual button feedback! The screen will go black. When this happens immediately let go of the power button and hit volume down. You´ll be in the bootloader if you hit the timing correctly. then choose with volume buttons "reboot to recovery", confirm with power button and you´re in recovery.

Alternatively if you´re rooted, go to magisk manager. Open module tab. Top right corner, three dot menu, reboot to recovery. (given you didn´t flash the hexpatch zip)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
about a fix for the OTA situation. there was already an issue opened on github here. So hopefully it gets taken care of at some point. Right now the workaround in the FAQ is working and tested.

A/B partition devices are still fairly new and it needs time to iron out all the little niggles that hide somewhere.

I know you meant rooting, but as far as I know sunshine only does temp s-off and not more. it´s not hard to either patch the boot.img with magisk or flash magisk from twrp. it´s just no one click solution.

I don´t know what went wrong for you that you get stuck at boot. the guides should all work just fine.

Maybe you should open a seperate thread in the Q&A explain your steps in detail. Maybe someone can help you and we find where the error is hiding. :good:

thanks for chiming in :good:

[MENTION=4645599]DeeZZ_NuuZZ[/MENTION] is right there. if you take the boot.img for the firmware that matches your current firmware status it will work just fine.

I´m not to sure about it, it´s not my area of expertise. But as far as I can remember achieving perm s-off on U11 and U12+ involves greater risks of bricking. so temp s-off is the safest and best bet we currently have.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Update to TWRP 3.2.3-2 Official

Official TWRP got updated to 3.2.3-2.

Official Changelog: twrp.me

05.10.2018 3.2.3-2

[Fix] TWRP Image 3.2.3-2 successfully decrypts devices on 1st September Security patch state! Also see the information below.

[Tweak] resetprop included statically, remove dependencies for it thanks [MENTION=1162986]Captain_Throwback[/MENTION], [MENTION=4470081]topjohnwu[/MENTION] and [MENTION=2605798]nkk71[/MENTION]

NOTE: The official TWRP image 3.2.3-2 will only decrypt devices on the 1st Sepember 2018 security patch state when 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-2 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

I also updated the OP with some more information regarding fastboot booting twrp and OTA ability. Please take a look at the FAQ too!

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] gerzii:
i know the workaround, but i am too stupid for that :( never working for me :(

i will wait for a fixed version :) is easier for me :)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] pixelvisions:
UPDATE: Today (after restarting a dozen times) I got touchscreen working using twrp-3.2.3-0-ime.img. I don't know enough to know whether the below is a bug or user error.

_____________________________________

I've only used temporary boot, but my touchscreen is now disabled in TWRP. Where did I go wrong? Touchscreen works fine in the ROM.

My steps were --

1) adb reboot bootloader

2) fastboot boot twrp-3.2.3-2-ime.img

3) Booted, no touchscreen.

4) adb reboot bootloader

5) fastboot boot twrp-3.2.3-1-ime.img

6) Booted, had touchscreen, did a full backup, restart. This was the one time it worked.

Ever since then, none of the 3.2.3 images give me touchscreen. I've tried relocking the bootloader, no effect. Using bootload mode.

Specs below and log attached.

(bootloader) kernel: lk
(bootloader) product: htc_imedugl
(bootloader) version: 1.0
(bootloader) max-download-size: 1092000000
(bootloader) slot-count: 2
(bootloader) current-slot: b
(bootloader) version-main: 1.21.708.3
(bootloader) boot-mode: download
(bootloader) version-baseband: sdm845-000191c-1806221012
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2Q5510000
(bootloader) cid: HTC__622
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
It looks like you’re on 1.21 firmware from the info you posted. So fastboot booting 3.2.3-2.img will certainly be not be beneficial to you as decryption will not work because you’re device is on june security patch still.

Thanks for the recovery log but there is nothing about the touchscreen in there.

I fastboot booted every release quite a few times already and never had any touchscreen problems until now. Also no other tester had this issue.

I don’t really know what’s happening to you. But it’s good you got it working now.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] pixelvisions:
It is bizarre. I tried using Mac OS and using Windows, over 50 attempts, with all the variations I could think of.

Thanks for looking into it. :highfive:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
after “adb shell”

Type

“su” and grant superuser permissions if needed.

And please don’t post the whole faq post :p
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] mioni:
Thank you so much for you kind :D it works.

hahah...sorry for my careless~~~
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] pixelvisions:
FWIW I had to start from scratch and ran into the same touchscreen issue with temporary boot. Tried a few dozen times and then again version 3.2.3-0 somehow responded. Now using permanent TWRP with the hexpatcher. Works every time -- so thankful for that!!
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] beartiger:
Has the twrp installer zip been updated with TWRP 3.2.3-2? It still says uploaded back in August hence the question.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] DeeZZ_NuuZZ:
get it from twrp.me directly...there is the updated installer
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] geoffwoerner:
did the fastboot boot twrp-3.2.3-2ime.img

downloading.....

OKAY [ 0.996s ]

booting....

Phone says

Flash image success

Start downloading

nothing seems to be happening
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] DeeZZ_NuuZZ:
In bootloader not download... Guys... Read the posts properly
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] geoffwoerner:
Duh, sorry, that worked

Thanks
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Alan-B:
Hi,

It is not possible to integrate touch activation directly in the .zip TWRP 3.2.3-2 ? It would be easier :)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] mauiblue:
Thanks for all the hard work, OP et al.

One minor issue I've come across is after I've installed TWRP permanently, I've tried rooting the U12+ via flashing the Magisk zip via TWRP. The Magisk flash would fail. So I installed Magisk Manager and rooted the phone via patched boot img process. Yeah, that worked to root the phone but now when I go to recovery via bootloader mode to open TWRP I get the red triangle in the phone image:

I'm able to use fastboot boot recovery.img to boot up TWRP but not via recovery when I'm in bootloader mode on the phone. Any insight on what is going on would be greatly appreciated.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] JEANRIVERA:
Unless you flashed the twrp zip while on fastboot boot twrp.img you have not installed permanent twrp, and that is what it looks like and if you the twrp zip after the magisk zip that's why magisk failed flashing twrp will get rid of root, I would advice you to re-read the first few post on this thread for better understanding
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] 5m4r7ph0n36uru:
As an addition. Recovery is part of the boot image on A/B devices. As you patched the stock boot with Magisk and flashed it, TWRP has been overwritten and you got to flash it yet again, so it gets flashed to the patched boot image.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] mauiblue:
Thank you both for your response to my post. All is resolved and I now have a rooted U12+ with TWRP permanently install. You people are the BEST. Aloha and mahalo!!!
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] blocka:
Pre-ROOT TWRP Backup

Hey all,

I want to take a Pre-ROOT TWRP backup for backout and recovery. What's the correct partitions I need to backup before I root. Or has the nandroid backup process changed in the last few years?

Cheers.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] EMJI79:
Here's what's written in the thread:

https://xdaforums.com/u12-plus/how-to/collection-htcu-u12-ruu-firmware-t3794664
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Read through the OP and the complete faq of the twrp thread.

If you want to obtain a pristine untouched system and vendor backup you need to backup before booting twrp and rooting with magisk zip.

The process is also described in the faq. The other required partitions you can back up with twrp after you did system and vendor with said method.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] 5m4r7ph0n36uru:
Removed the how to do a backup part in my thread, as [MENTION=3428502]Freak07[/MENTION] wrote it down in the TWRP threads faq section.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] blocka:
Hi thanks for the reply. I was reading through the OP but I didn't see the information I was looking for, maybe I was looking in the wrong place. Do you have a couple of links you can flick my way.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
The second post of this thread is the FAQ. The question you should look at, is “I fastbooted twrp but now OTA functionality is broken”. It is explained why and how to obtain system and vendor without twrp.

Afterwards you can backup stock boot.img and your data in twrp.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] kickyoace:
[MENTION=3428502]Freak07[/MENTION] is the data tampered flag ever gonna be fixed in bootable twrp?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] blocka:
Hi,

I'm running the commands to check if the system has been modified and I'm getting the below. I think I know why, I've got permission denieed on a ls -al. So how to I elevate? I'm running the command from a PC with ADB.

127|htc_imedugl:/ $ /sys/fs/ext4/sde40/lifetime_write_kbytes

/system/bin/sh: /sys/fs/ext4/sde40/lifetime_write_kbytes: not found
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] DeeZZ_NuuZZ:
Check them with root browser, otherwise in recovery
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Alan-B:
Hi,

Still no possibility to have the latest TWRP with active touch, and even compatible Aroma?

The compatible version Aroma is a 3.2.3-0! and non-touch also.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] DeeZZ_NuuZZ:
Touch on stock works with the hex patcher
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Alan-B:
Hi,

Yes with the pach, but if we forget to flash it at the same time as TWRP!

It would be easier to have it with TWRP in TWRP .zip.

Small remarks:

Because of the partition system A / B, a restor of a backup TWRP is not always obvious for novices!

Fortunately TWRP can switch from one partition to another ...

And the compatible version for Aroma can give bootloop after installation in rom !!
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

It's my understanding that the hex patcher isn't included in the TWRP zip because it's only needed if you're on the stock kernel. If you have or plan on flashing a custom kernel, then the hex patch isn't needed. Since the patcher breaks the ability to reboot to recovery on the stock kernel, having the user make the choice to flash it seems to make the most sense (to me and the devs, at least).

I think, generally speaking, none of these modifications are for novices. But there is a plethora of information in this thread and others that explain the steps needed to have everything fully working, and if people can't be bothered to read before they proceed, that's on them. And if they read and have questions, I would think they would ask them before proceeding.

TWP
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] kenkino555:
stuck when temp booting twrp

hello, i am using firmware 1.30.709.2

i followed all the steps to flash this ROM but somehow i am unable to temp boot twrp on my u12+

my adb says Booting...

and it gets stuck there

my phone screen is still on download mode and stuck. It doesnt boot into twrp at all

But adb and my phone screen says DOWNLOAD SUCCESS but it does NOT boot into twrp at all

Can anyone help me with this issue please?

My bootloader is already unlocked
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] kenkino555:
attached is the screenshot of the error i keep getting in my ADB when i try to temp boot into twrp
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] EMJI79:
Did you boot into bootloader prior to tapping "fastboot boot etc...", by tapping "adb reboot bootloader"?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] kenkino555:
Yes I did but the problem still occurs
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] DeeZZ_NuuZZ:
try getting the latest drivers for HTC. might be some old ones installed
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
follow all the advice straight from the FAQ:

Q: I´m not able to fastboot boot the recovery, because the command won´t execute properly.

A: Update your adb and fastboot binaries to the latest one found here:

https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/

Make sure you´re using the original cable.

Make sure you are in bootloader mode.

Try different USB ports on your machine.

On windows make sure you have the latest usb/mtp driver installed properly when the phone is connected in bootloader mode.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] 5m4r7ph0n36uru:
Your using Powershell. Which is the result if you use a CMD!?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Tachi91:
Do not go into Download Mode. Stay in bootloader and mentioned before.

If Android loads up simply do with debugging enabled.

adb reboot bootloader

So you don't have to deal with the buttons. Then once in the bootloader do the fastboot boot command.

Attached is an image of the bootloader screen to avoid confusion. Temp booting recovery can only be done in this screen. Not Download.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] kenkino555:
Attached is the screenshot of my adb keeps getting invalid error when temporarily trying to boot to twrp

I am using original HTC cable and already tried different ports on my PC

Maybe it's my firmware's problem? I am using 1.30.709.2 firmware and also my phone is S-ON
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Did you try all options in the FAQ?

Are you absolutely you’re having latest usb/mtp driver installed on your machine?

Are you sure you’re using the latest adb/fastboot binaries from the link I provided earlier?

Why are you still using powershell instead of cmd as was recommended? ;)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] kenkino555:
What does your Device Manager show when your phone is in fastboot? Does it show My HTC ? My device manager shows ADB Interface when my phone is in fastboot mode. If yours is My HTC, how do i install the proper usb driver for U12+?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] kenkino555:
I tried using cmd instead of powershell but adb shows

C:\Users\User Kedekut\Desktop\root>fastboot boot twrp-ime-September-AROMA-UNOFFICIAL.img

downloading 'boot.img'...

FAILED (command write failed (Invalid argument))

finished. total time: 0.003s
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] DeeZZ_NuuZZ:
All proper drivers are in first post, as the OP wrote.

And like he said, be sure to have the newest adb/fastboot files.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tdwpkidd:
If I flash a custom kernel after installing hex patch, will the "reboot into recovery" problems presented from the hex patch still be an issue?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] kenkino555:
UPDATE : managed to boot into twrp at last after using another pc with windows 7 whew..
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Try it and report back. In case it´s still an issue flash stock boot.img back and redo rooting etc.

great!
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Hello everyone.

Here are some unofficial builds that can successfully decrypt 1.53 firmware with security patch state at 12.01.2018.

This is only for those on 1.53. Do NOT try to boot this build if you´re on 1.30.

these builds can be used until the official builds on TWRP.me are available.

https://www.androidfilehost.com/?w=files&flid=287797
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] donmarkoni:
No, it won't be a problem. Reboot to recovery will work again. I tried.