yashsingh1/xdaforums huggingface dataset:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Perfectionalism:
grear work. Thank you .just wait custom rom now!!
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] newyesor:
Great work. Thank you.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] AGMGCM:
Any dangers?

Hi guys,

I recently bought a U11+ from a friend's friend and he had TWRP on the device. I have done a factory reset but is there any harm in leaving TWRP there, I like my phones completely clean before I start using them. Is there any easy way of removing TWRP or should I leave it?

Thanks!
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] leicablue:
Should be fine if all works, as long as you don't try sell it to an mobile exchange kind of place where they check everything, or sell to someone who knows what to look for...either case they may not want to buy as they will see it's been rooted at some point. I
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] sabpprook:
The size of system partition is different between ocmdugl and ocmdtwl, please correct the size definition and make a new build.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] teorouge:
Sorry to bother you, what's the difference between ocmdugl and ocmdtwl devices? Different hardware? Different markets?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] sabpprook:
In ocmdtwl (for China only), hardware is the same but radio (LTE bands) and partitions table are different to ocmdugl
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] teorouge:
Where/how can I check that? My phone's import so I don't actually know...
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] sabpprook:
Go to settings and check the software number

The SKU number for China is 1405/1403 and software number will be like this 1.XX.1405.X

Another way to figure out, does phone brings with Google APPs? If not... it is ocmdtwl (for China)
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] teorouge:
It's GAPPS enabled so definitively not Chinese... software number's 1.24.709.7 so I guess it's Taiwanese. Thanks for the lesson! ;)
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] poppy22:
I can't decrypt the device with recovery compiled by the device tree you supplied.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] vegetaleb:
Long time not here, can you finally backup/restore with this twrp?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] DanteGR:
Haven't installed it myself yet but from what has been said I believe everything is working on the latest TWRP
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] newyesor:
Now,This twrp last version is everything work.

You can backup and restore data on twrp last version.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] vegetaleb:
Thanks :)
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] vegetaleb:
You still have to format the internal memory fir twrp to work?

Also I saw somewhere we can use magisk without unlocking the bootloader?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Formatting is not required. Twrp decrypts the data partition just fine now.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] vegetaleb:
I will root tonight, I usually get magisk when installing a custom rom, but this time I want to install magisk on my stock rom, I just have to install magisk zip in twrp? Or there is another step?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Just make sure, that system is not mounted read only. (swipe to allow modifications on first boot to TWRP). Flash the Magisk zip of your choice. 16.0 and 16.4 both work fine. Currently on the latest beta.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] vegetaleb:
Ok I unlocked the phone, I will flash twrp, backup system image then allow modification in twrp to flash magisk
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] 3lMghraby:
no need to allow modifications to flash magisk

you can flash magisk and maintain ota by reverting back to stock recovery when there is an ota
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Yeah would have suggested the same. Stock boot.img and system image come in handy for convenient OTA. Wasn't able to update from 1.10 base after flashing the stock boot.img, but with proper data mount there's not much that could go wrong. I am not aware of a model, that hasn't been covered with stock.ruu files. Credits to the extractors and uploaders. :good:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Bofahad:
Thank you so much , work great
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] st_voss:
[MENTION=4375068]sabpprook[/MENTION]:

Do you think that your device tree for the U11+ is a good starting point for the development of TWRP for the HTC U12+?

These two devices have a lot in common. but there also a differences, of course

In common

Both are HTC devices

Both are Qualcomm devices

Both support treble

differences

U11+ is SD 835, U12+ is SD 845

U12+ is an A/B slot device, U11+ isn't (?)
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] sabpprook:
Nope, I don't think so...

You may notice that U12+ doesn't have recovery partition, that's a tough thing for build TWRP reocvery and test it.

And I've made a blind build of TWRP recovery for U12+ few weeks ago, but it did not work... :eek:

Perhaps there is something got wrong in my device tree and I don't know that.

So... I'm quit to this challenge :p
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] vegetaleb:
We should trade, we (u11+) give you a twrp you (u12+) give us a leedroid rom :p
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

There seems to be an at least partially working device tree for the U12+ here:

https://github.com/CaptainThrowback/android_device_htc_imagine

It looks like [MENTION=3428502]Freak07[/MENTION] also contributed to it. Maybe you can work with him on it?

TWP
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] LeeDroid:
Hey man, hope your well!

Any chance you can share your sources to assist with U12+ development? Tried to PM you but i guess you have it turned off :D

recovery is inside boot.img on the U12+, we are currently fastboot booting a build but having a few issue, mainly with decryption
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] vegetaleb:
Promise us you will port your rom to u11+ and we will give you the recipe for treble twrp :p :D
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] LeeDroid:
It's definitely a possibility, but im not making promises lol
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] 10rdan:
Good to see you "over here now". :svetius:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] daheufster:
[MENTION=4375068]sabpprook[/MENTION], TWRP 3.2.2 is released; will you be able to adjust this version again for our wonderful handset?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] ouioui01:
+1

And could you adjust the date system in twrp (by default, it's in 1970 ...)

Thx
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Slok 00:
guys can i flash the new twrp image directly from old twrp? or still have to use fastboot?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] lyfkevin:
[MENTION=4375068]sabpprook[/MENTION]

any chance to have 2018-Oct(latest tw version) patch level version?

Would be appreciated to have guide to patch the recovery with updated security patch level.

Thanks
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] skodann:
Take a look here https://xdaforums.com/htc-u11/help/twrp-november-patch-update-t3890134
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] deechte:
Hi,

Can you please confirm that I have completely understood the process to root my TW U11+ please? It's been a long time since I've done flashing, actually since the Windows Mobile days! So I'm a relative noob again. I've read a lot, including this guide: https://www.xda-developers.com/how-to-install-magisk/

First I have to unlock the bootloader via htcdev.com.

Then I have to flash TWRP recovery, with the appropriate version from the OP for the Oktober 1st 2018 security patch that my TW model is on.

Then flash Magisk from this source: https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Right?

I'm still wondering about a couple of things:

I read here on XDA about people doing Magisk systemless root, without TWRP. Is TWRP not preferable to use, and why?

Do I understand correctly that, to remove TWRP and go back to stock bootloader in case I need a warranty repair, I need a RUU? And that I need a RUU with at least the same version or higher than 1.24.709.994 which is installed? I haven't found a RUU yet, maybe was never released by HTC.

What do I need to do, when an OTA comes with a newer security patch date or maybe even Pie? I read about encryption problems occuring due to that?

Thanks for helping out!
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] sabpprook:
1. Just for Magisk rooting, TWRP recovery is not necessary, you can make a magisk patched boot image with "magisk manager" app once you have stock boot image. So, I've made a program (HTC OTA Downloader) to query HTC's OTA package which included boot image.

2. You can flash the RUU if the "os version" in bootloader is equal or lower than RUU. So, I've made a program (HTC_Version_Tool) to modify "os version".

3. You need original system, vendor partition and a stock recovery to apply official OTA package. In some case, a few app will modify system partition, thus please be careful of these operations if you do not know how to restore original system partition.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] deechte:
Thank you so much for helping me! So going without twrp seems the easiest way then. So I use your HTC OTA downloader application, which will give the stock boot image. How do I use your application? On a Unix machine? Do I have to extract the boot image from the OTA download manually?

Magisk manager app on Android can then open the downloaded stock boot image, patch it for root, right, and insert that as new boot image directly, or do I have to go into recovery to flash the patched image?

So if I want to go back stock, it would only take setting the original downloaded boot image back, right? Unless, some app with root modified the system partition, like you said. Then I'm screwed and I'll have to start searching XDA.

And when an OTA becomes available, prior to installing it, I'd set the stock boot image, and make a new patched boot image based on the new OTA and install that after the OTA is done. Did I understand it right?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] sabpprook:
1. The "HTC OTA downloader" is develop in C#, it only wok on Windows OS, but I have also made a Python variant, you can choice one you like. And there is a firmware.zip inside OTA package, boot.img will be there.

The parameters for U11+ Asia TW version

htc_ocmdugl
1.24.709.93
HTC__621

2. magisk patched boot image will be located at /sdcard/Download/patched_boot.img. Please pull it from device and flash it via fastboot.

3. The OTA update will not check boot image is modified or not, but it's up to you, you can restore it to original one.

4. If your device has already apply an OTA update, it will restore boot partition to stock under the procedure, just make a new magisk patched boot image and flash it.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] deechte:
Thank you, I'm very grateful for your explanation. Windows is fine for me, I thought Unix because I saw a tar there. Will give it all a try!!
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] deechte:
BTW, are you sure of this? Is htc_ocmdugl not dependent on single/dual SIM model?

[edit]I get now why I need to provide the previous version nr .93, I submit 93 and receive the OTA to 1.24.709.994.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] deechte:
Thank you again [MENTION=4375068]sabpprook[/MENTION]! It took me a few days to get everything installed and configured again, but the process with your OTA downloader and Magisk was super smooth! Thank you for all the explanations!
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] wleagle:
Many thanks for your great efforts! I've recently recieved a new OTA, and updated to 20190101. Are you working on this?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] deechte:
Hi [MENTION=4375068]sabpprook[/MENTION], I have just let the OTA to Android 9.0 install on my Magisk rooted device. I did everything in the same way as with the previous OTA's, but now I'm in a boot loop.

With previous OTA's, I would just let the OTA install and when it's finished, my device would startup and Magisk would tell me that root wasn't there anymore. And that I could fix by downloading the OTA with your tool, grabbing and patching the boot.img and flashing the patched boot.img to my device with fastboot.

With this OTA to Pie, the device has never started up again, it was boot loop immediately. I have flashed the patched boot.img from the correctly downloaded OTA nevertheless, but no success.

Is there something else I need to do since this OTA upgrades the Android version from 8 to 9? I thought that only applied to TWRP (which I don't use). I hope you can give me a hint.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] sabpprook:
I think you should take full RUU restore in this situation, please follow this guide for U11+ downgrading

https://xdaforums.com/u11/how-to/guide-downgrade-htc-u11-oreo-to-nougat-t3754481

TWRP for U11+ Pie

https://www78.zippyshare.com/v/FwLuw0BG/file.html

# Flash TWRP recovery into boot partition

RUU for U11+ 1.24.709.93

https://drive.google.com/file/d/1pfc9HJh5HfBFOw0cViUmY64E7_k-i5-A/view

HOSD image

Just grab it from OTA update package
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] deechte:
Thanks so much for helping out. Diving into it...

Verstuurd vanaf mijn SM-A520F met Tapatalk
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] BaDuc:
I flash TWRP recovery but Touch cannot be used, how do fix it?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] deechte:
Hi,

I was fortunate. A factory reset solved my problem. So I could skip the downgrade process. I'm keeping this information for future reference though!

Still wondering why the Pie OTA forced me to do a hard reset, where previous OTA's didn't.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] devsk:
Do you have the boot.img from pie OTA somewhere? If you can upload the whole OTA, that would be awesome!
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] goodman_east:
nene bear uploaded OTA files, here is the link: https://drive.google.com/drive/folders/1wccnIY0NaoelhZQS4uhgP8ZGIn1iXhNX
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] deechte:
Here is the stock boot.img from the 2.15.709.1 OTA: https://mega.nz/#!OxMTHChB!7BrV8k7WZF4TLmaFhkHXxOalGp43OAy9kTnUrjBPz0I
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] jilin.denis2011:
Help me please

sabprook I beg you to help me. I bought HTC U11 PLUS version for China 2Q4D200 HTCCH701, which is impossible to flash. I want to install TWRP on this phone. I tried many versions of TWRP, but every time after rebooting, my phone is locked and does not accept the password or pattern. I understand that this data was encrypted due to an incorrect TWRP. I could not find TWRP required by security release date. My security system date is October 1, 2017, i.e. I need TWRP (as I understand it) 171001, but such a TWRP does not exist ... I tried to update the security system, but immediately after it, the Androyd system update begins, but it ends with an error. The security date changes to November 7, 2018, i.e. TWRP needs 181107, but this one does not exist either. The guys from the forum advised me to ask you for help, because You are very well able to collect and make these TWRP. Could you help me with my problem and make TWRP for me?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] wfht10086:
去中国HTC社区，有对应的twrp
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] zacharyrs:
TWRP for Pie

Hiya,

I just flashed this to the recovery partition, but touch seems broken.

Does it have to be flashed to the boot partition?

I'm on 2.15.709.1, with security update 01.05.19 (May 1st, 2019).

Hoping to take a full backup, then flash a Pie GSI.

Cheers,

Zach
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] harry655:
Hi, it seems that twrp for pie has issues with touch.

I had the same problem so I flashed with previous version. I think it was the 181101 version and so far so good. Pretty sure from memory the 181001 version worked just the same.

Noteworthy is that I've also installed magisk and gotten root on my device that way. so I'd steer clear from allowing twrp to install supersu or could end up with same decryption/unlocking issue at boot up.

Hope that helps.

PS. I too am on 2.15.709.1
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] zacharyrs:
I ended up staying on stock and just patching the boot image with magisk.

Seems to run nicely anyway, and I got rid of the bloat which is great.

I'll give the older TWRP a go later and back everything up!

Completely aside, but as you're running Magisk I thought I'd ask, can you see netflix in the play store?

Cheers!
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] harry655:
Just had a look for netflix in playstore and no, I don't see it actually. I'd be super annoyed if I wanted it though. do you know if you were able to get it before installing magisk?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] zacharyrs:
Unfortunately I'm not actually sure. I know I had netflix on Oreo, but as I had the Hong Kong model I ended up having to patch it to the TW CID to get pie.

I just tried reflashing the stock boot image, with no luck. I couldn't relock because it would wipe my data.

I do know that the device is certified in google play, and I pass safetynet, so it's rather odd...
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] q3ahmd:
TWRP for pie asks for decrypt password and touch is broken
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] daheufster:
Even if only you phone is bootloader unlocked netflix isn't shown in playstore. Really annoying..
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] skythunder83:
thx bro

Using 181101 from this link worked root well

https://xdaforums.com/htc-u11/development/unofficial-htc-u11-twrp-recovery-t3706264
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] harry655:
yep, that's the one that worked for me

where would we be without xda, it simply rocks. despite how "active" the 11+ forum has been :cool:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] zeemenshater:
2.19.401.2 Pie update for HTC__002 / 034 / A07 / J15 / M27 comes with security patch level July 1, 2019.

It would be nice to have a TWRP with the data decrypt bug fixed.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

Just so you know, no HTC device with official Pie (U11, U12+) has TWRP with working decryption. So while "it would be nice", it won't happen until someone is able to figure out why it's broken.

TWP
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] DJBhardwaj:
Can't we install the latest TWRP available, and then use the ADB Sideload feature in TWRP to flash Magisk 19.4 for root?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] yennv90:
Yes, i do
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] DJBhardwaj:
It worked fine for you?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] deechte:
HTC_OTA_Downloader.exe doesn't GET?

Hi [MENTION=4375068]sabpprook[/MENTION],

Today an OTA update became available on my U11+ But when I put in the appropriate information in HTC_OTA_Downloader.exe (htc_ocmdugl, 2.15.709.1 current FW, HTC__621) it returns:

Any way to fix that?

Thank you very much!
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] sabpprook:
You must input "taskid" get from build.prop at ROM version 2.15.709.1, use the command below to get it.

And a latest HTC_OTA_Downloader.exe

adb shell "getprop | grep task"
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] JackeyHuang:
Suitable TWRP version for 2.15.709.1

Folks,

Could someone tell me which TWRP version would suitable with ROM version 2.15.709.1?

I just "unbricked" my phone from HTC service center and they updated my phone to version 2.15.709.1.

I'm afraid there's no suitable TWRP for this version of ROM.

Or is there any method to flash my phone to older version?

Thanks
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] deechte:
Thank you for your reply. I'll try that next time.

This time I managed pulling the OTA file from /data/OTA_package before installing and losing root.

Verstuurd vanaf mijn HTC_2Q4D100 met Tapatalk
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] foosoomin:
to flash TWRP, we must first unlock bootloader ?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] harry655:
yep, totally
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] raxus_5:
Hi all,

I am trying to root my HTC U11+. I followed the following guides for unlocking anf flashing twrp @

https://unofficialtwrp.com/how-to-root-install-twrp-recovery-for-htc-u11-plus/ https://www.cyanogenmods.org/forums/topic/download-install-twrp-recovery-root-htc-u11-plus/

I tried flashing the recovery with a couple of unofficial twrp images, but I could not boot into TWRP recovery, in order to flash SuperSU/root.

Is there any fix for this yet ?

Or can I just flash SuperSu without using TWRP ?

Replay is appreciated.

Thanks in advance,

Raj
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] vj7771:
Please use magisk to get ROOT

{Mod edit: Formatting repaired}
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] sheikin.igor:
Hi!

Currently, I have Android 9 installed on my U11+. Successfully unlocked the bootloader and installed TWRP. But as it was mentioned in the topic message:

U11+ already get Android Pie update, but this update will break data decrypt function in TWRP recovery.

Is there a way to proceed and root my device?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] raxus_5:
You need to extract boot.img from your stock image using HTC RUU tool, and then patch it using Magisk app. Store the patched boot image in an SD card. Then TWRP can read it from the SD card. Flash the patched boot img using TWRP onto boot sector. And reboot. Then Magisk app will detect that and install root facilities, and your phone will be rooted. But Safety net and banking apps will fail. Use magisk hide for that.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] sheikin.igor:
When I boot in TWRP I don't see any files on my SD card.

i.e. currently installed TWRP cannot read/mount both internal storage & SD
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] raxus_5:
Copy the patched boot.img to your pc and transfer from pc to SD card, and then insert your SD card in the phone. That worked for me. Perhaps, it doesn't decrypt it when you transfer directly from internal storage to your SD card.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] angcar807:
Hi, unfortunately my HTC U11 plus has Android patch level 2019-07-01, can I still use twrp-3.3.1-0-ocm_190501.img?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] raxus_5:
TWRP is mainly needed for flashing only. But if you don't have right version, then it will not be able to read internal phone memory. But it can read data from external SD card or OTG. So, you can copy files required for flashing, into the SD card, and then you can locate it when using TWRP, and flash it into correct partition.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] angcar807:
thanks for the tip :)
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] gentle_giant:
Hi raxus_5,

glad to see at least some answers here. Could you tell me if there's a TWRP for a 11+ with Pie on it?

Or will your answer be equal as what you answered to angcar807, as long as I put the files on the micro SD card I can at least flash.