yashsingh1/xdaforums huggingface dataset:
[HTC U12+ Guides, News, & Discussion] qriozum:
Okay, I did it :)

Boot can not be flashing from the bootloader level - only from the "DownloadMode" level!

As I did flash under "DonwloadMode" it went like this:

e: \ ADB> fastboot flash boot_a patched_boot.img
target reported max download size of 1080800000 bytes
sending 'boot_a' (22444 KB) ...
OKAY [1.773s]
writing 'boot_a' ...
(bootloader) HOSD CL # 1036375
(bootloader) start @ 1
(bootloader) boot_a @ 100%
(bootloader) Update partition OK
(bootloader) end @ Done
OKAY [2.800s]
finished. total time: 4.574s

E: \ ADB>
[HTC U12+ Guides, News, & Discussion] Freak07:
Thank you very much for this! I have a development S-Off unit. So that makes it difficult to know how a production S-On into behaves. I’ll update the OP later on.
[HTC U12+ Guides, News, & Discussion] DaConcho:
Has anyone extracted the firmware/boot.img of the US models yet? At work now but itching to get root.. I can work on it tonight if no one has it already
[HTC U12+ Guides, News, & Discussion] qriozum:
Do you have a U12 + restart (root with the Magisk method), a window with the content is displayed:

There was an internal problem on your device. Contact the manufacturer to get detailed information

and the only possible "OK" button?

regards

q.
[HTC U12+ Guides, News, & Discussion] HeartWare42:
When I go to htcdev.com to try to get the unlock_code.bin, there's no entry for HTC U12+. Should I just use the "All Other Supported Models" ?
[HTC U12+ Guides, News, & Discussion] decodertje:
Yes
[HTC U12+ Guides, News, & Discussion] DeeZZ_NuuZZ:
That's okay, don't worry
[HTC U12+ Guides, News, & Discussion] Freak07:
This is because we rooted the boot.img and avb acts up I guess.

I think we can patch this up later when we have the sources or with a magisk update. But for now it’s just cosmetic.
[HTC U12+ Guides, News, & Discussion] ziand:
Ohh.. here you go:

MID: 2Q5520000 | CID: BS_US001

Full_Stock_firmware_1.15.617.4_UHL_FullWipe_combined.zip
[HTC U12+ Guides, News, & Discussion] DaConcho:
Lol thanks! I actually got impatient and went and extracted it myself. Was just about to post the firmware I pulled to share with everyone but you beat me to it.
[HTC U12+ Guides, News, & Discussion] ziand:
No problem. Share your link and I will remove mine :D
[HTC U12+ Guides, News, & Discussion] Vita.T:
Can you share the method of extracting firmware from unrooted U12+, thanks.
[HTC U12+ Guides, News, & Discussion] qriozum:
https://xdaforums.com/chef-central/android/tool-universal-htc-ruu-rom-decryption-t3382928
[HTC U12+ Guides, News, & Discussion] Vita.T:
Thanks, will give that a try
[HTC U12+ Guides, News, & Discussion] leungsk1:
Guys, I successfully rooted my U12+ and applied the above fix to re-enable Face Unlock. It worked like a charm but unfortunately the "Face Unlock" item under "Settings" is greyed out again after rebooting my phone (at OFF position now). The tick is still there on Magisk Hide but it just doesn't work anymore...

Similiar situation actually happened on "AdAway". I was able to click on the "Download files and apply ad blocking" button, files were downloaded successfully but the following error msg popped up when applying hosts files: "Copying of hosts file failed! Please read help for more information". During the first AdAway installation everything was downloaded and applied flawlessly but it no longer works after the reboot. My phone has S-ON.

Any suggestions please?
[HTC U12+ Guides, News, & Discussion] DeeZZ_NuuZZ:
Systemless host files enabled in magisk settings?
[HTC U12+ Guides, News, & Discussion] qriozum:
I have turned off ststemless in MagiskManager and after adding "faceunlock" in Magisk Hide, this function is available and works.

Likewise, after losing the GP store certification, you must add it to "Hide" and clear the Google Store cache and data. After a few minutes, the certification will appear ;)

regards

q.
[HTC U12+ Guides, News, & Discussion] qriozum:
Do you know the solution to the issue of access / write to the SD cashdash having the root privileges of the method described here?

I mean - I have a problem with TitaniumBackup. It reads data from the card, but does not make a copy (there is a message about the protection of the media on the status).

Entering the TBP options and wanting to change the directory, I noticed the "red icon" superior (i.e. on the main directory of the external SD card) with the description that the record is not allowed.

The application of "SDFix KitKat" from GP does not give a result (the application returns a message about the lack of a group).

Applicable to the suggestion from the TBP Wiki (# 31) https://www.titaniumtrack.com/kb/ti...kup-troubleshooting.html#folder-not-writeable

it seems to work. Only from a poser. After copying to this directory about 580 copies, he sees me only .. 30 (thirty) :(

If I change the warehouse in TBP, then I can save copies, but I do not have the possibility to "protect" individual backups anymore, and this is a very convenient and safe option, which is why I care about it.

Cramps, on Viper or Lee ROMs - the structure with the "TBP" directory on the main catalog of the SD card worked sensational.

Is there a known way to get the ability to write to an SD card?

Any commands from the console? ADB?

regards

q
[HTC U12+ Guides, News, & Discussion] leungsk1:
AdAway works fine now after enabling "Systemless hosts" in magisk settings. Thanks!!

However, Face Unlock is still not working. Any ideas?
[HTC U12+ Guides, News, & Discussion] zvisoft:
Hi All,

Got U12+ yesterday. Unlocked bootloader. Downloaded 1.15.617.4 from the link in OP, installed Magisk. In short, all was ok until I got to the patched boot img flash. It fails with the error:

C:\Dev\AndroidSdk\platform-tools>fastboot flash boot_a boot_signed.img

Sending 'boot_a' (65536 KB) OKAY [ 1.403s]

Writing 'boot_a' FAILED (remote: Not allowed on PRODUCTION device)

Finished. Total time: 1.419s

Device is in dev mode, USB debugging allowed, bootloader unlocked, etc. Am I missing something?

If I load the device into download mode, then the fastboot flash patch succeeds, but after reboot I get the error popup stating that Android has internal problem and I should contact HTC. Root works fine btw, at least I didn't notice anomalies, except for 2 crashes after installing apps from play market.

For now I've decided to revert to the boot from the 1.15.617.4, again had to flash it from download mode, but the android internal error is gone, well so is the root :(

Any help would be appreciated.

I am using official Android sdk tools for all the above, is it necessary to get HTC's fastboot to succeed with flash in bootloader mode?

P.S. Active slot was A, I did test before flashing.
[HTC U12+ Guides, News, & Discussion] Shark5060:
use download mode instead of bootloader mode.
[HTC U12+ Guides, News, & Discussion] Freak07:
Thank you for the post :) I added this to the guide now!

Hopefully it’s more clear.:svetius:
[HTC U12+ Guides, News, & Discussion] zvisoft:
I did that, and it results in error popup once the device loads, "Android internal error, contact HTC". Is that expected on a rooted device?
[HTC U12+ Guides, News, & Discussion] DeeZZ_NuuZZ:
Yes that is normal. No need to worry
[HTC U12+ Guides, News, & Discussion] Freak07:
Also added that to OP now :)
[HTC U12+ Guides, News, & Discussion] Shark5060:
while you're at it ... please add to the OP that you have to DECRYPT the downloaded firmware (using the tool you've linked). It isn't as obvious for people who have never used Magisk before and hence never had to unpack the ruu =)
[HTC U12+ Guides, News, & Discussion] 5m4r7ph0n36uru:
Decryption is needed ever since there has been S-OFF and thus combined firmware files. On the other hand no one who doesn't recognize such a fact should tinker in the first place, as she/he is missing a large part of the needed knowledge - just my 2 cent.
[HTC U12+ Guides, News, & Discussion] zvisoft:
Thanks guys. Flashed patched boot again, and interestingly the error message disappeared, rebooted few times to confirm. Root ok.
[HTC U12+ Guides, News, & Discussion] Shark5060:
If I want to restore the stock firmware of my device I just copy the downloaded file onto my SD Card and boot into download mode.

There is no need to know that this file is encrypted to undo whatever you fcked up during flashing.

Soooo where exactly is this knowledge needed? Sure, if you want to develop your own rom I think that might come in handy... but as an "end user" not neccessarily.
[HTC U12+ Guides, News, & Discussion] 5m4r7ph0n36uru:
Well as I said. Rooting is modding, is tinkering with boot images, and thus with parts of firmware decrypted from RUUs. And if one does such things, for me such knowledge is basic knowledge. You won't persuade me of anything else. And by this I'll stop this OT chatter, so I won't clutter this thread.
[HTC U12+ Guides, News, & Discussion] Vita.T:
Think its not the tool im looking for, i mean pulling the ruu directly from device.
[HTC U12+ Guides, News, & Discussion] qriozum:
You do not have RUU on your smartphone.

The only thing you could do is to snap images of system partitions under custom recovery. The latter is not present at the moment.

The RUU decompression link given is the most optimal, provided you have access to the RUU. And for now, RUU is available for U12 + :)

regards

q.

---------- Post added at 09:48 AM ---------- Previous post was at 09:47 AM ----------

https://xdaforums.com/showpost.php?p=76887258&postcount=103

regards

q.
[HTC U12+ Guides, News, & Discussion] Freak07:
Updated the OP again a bit to make steps for rooting a bit more foolproof.

Also I second [MENTION=5832952]5m4r7ph0n36uru[/MENTION]'s opinion.

Just because I did a pretty detailed step by step guide doesn’t mean you shouldn’t research properly beforehand.

when I started with this and followed a tutorial back in the desired HD times I tried to Google each step until I was able to understand what it does. And also to get the basic picture of what I actually try to do in a certain way that is described by whoever wrote the guide I follow.
[HTC U12+ Guides, News, & Discussion] scottspa74:
Not true.

S-off was acheivable on my htc supersonic in 2010, yet decryption was not. So those two things mean different things to different audiences. I have an htc10, first device I haven't rooted and used custom recovery since 2010 and it's because some of the decrypt and security language has absolutely changed and become confusing.

Thank you for your contributions here, seriously. But 9ver the last few years there is certainly some confusion regarding terminology with regard to security and decryption etc.

As of Android 6.o maybe, encryption/decryption started becoming a thing to really complicate how to understand rooting, and s_off with firmware, and whatnot. It still is confusing to me, and from 2010 yo 2014 I think I had a pretty good understanding of how it all worked. Be patient.

Still thanks for your work, I see you all over on here.
[HTC U12+ Guides, News, & Discussion] 5m4r7ph0n36uru:
It is true. I'm not talking about encrypted partitions on the device, as we were talking about RUUs (ROM Update Utilities) here, and those - at least As Long As I've been using them - came encrypted by HTC. Which is why some fellow contributers worked on a decryption tool for those RUUs. Please read what this has been all about, previous to telling me that I'm winding, or something I said isn't true mate. You jumped to a conclusion maybe due to the fact you simply thought of something different.
[HTC U12+ Guides, News, & Discussion] LeeDroid:
I concur, ruu encryption and device data encryption are 2 very different things...

Yes RUU zips are encrypted & require a key to decrypt them... Signed and encrypted RUU zips can be flashed on any device with a matching MID/CID, zips that have been decrypted can only be flashed on S-Off devices as they are no longer signed with secure keys.

In addition, since the HTC 10, the userdata partition on all devices has been encypted for additional security.. causing us some big old custom recovery challenges.
[HTC U12+ Guides, News, & Discussion] ziand:
Really ? I am wondering..

With S-ON you are able to flash only a signed firmware by HTC. Two kinds of them are exist: FullWipe_signed and incremental not Full signed from OTA. Which one you told about ? For now only first one is available on easy-firmware, but there isn't any reason to flash it with wipe because there is a RUU.

Just to learn more, for example look at first post since OP by @5m4r7ph0n36uru in this thread: https://xdaforums.com/u12-plus/how-to/collection-htcu-u12-ruu-firmware-t3794664
[HTC U12+ Guides, News, & Discussion] Shark5060:
The linked Spreadsheet does mention RUU. The FullWipe/Incremental Firmware are on a different Tab to download. I was under the assumption the linked files would be the RUU. Also nothing contradicting this is mentioned in the post you're refering to.
[HTC U12+ Guides, News, & Discussion] ziand:
From what can find anybody too is:

That is why and other wonder what you flash.. ?

The Spreadsheet by @5m4r7ph0n36uru has RUUs/Firmware and so on. But files of firmware are named as "_combined".. so for S-OFF only (in that thread learn what is combined firmware).

My firmwares in the Spreadsheet are decrypted from RUUs. But just to get only boot_signed.img you don't have to download RUU and then to decrypt it. You can download only a FullWipe_signed firmware from easy-firmware to get it without decryption tool.
[HTC U12+ Guides, News, & Discussion] Shark5060:
That would have made things much easier. I agree.

Great to know, thank you.
[HTC U12+ Guides, News, & Discussion] Electronic Punk:
Here is a quick and dirty Magisk module to replace Mail.apk with my usual modded one that removes the security requirements set by Exchange servers. (pesky thing)

Guess it could also act as a nice template as well.
[HTC U12+ Guides, News, & Discussion] wiQbold:
great guide
[HTC U12+ Guides, News, & Discussion] hek.je:
Warning. Noob here.

Okay. I've downloaded and installed Magisk manager, and now when starting Magisk Manager it keeps showing a popup "Install Magisk" Do you want to install Magisk-v16(1600).zip now.

I have 3 options. No Thanks, Release Notes and Install.

When selecting Install, I get another popup saying "Select Methode" Download Zip Only and Patch Boot Image File.

When selecting Download Zip, it does download Magisk-v16.0(1600).zip (it's about 5.59MB)

So what do I need to do after this?

Also. I downloaded as suggested in step 2 the needed firmware zip for my firmware 1.15.401.4 (Full_Stock_firmware_1.15.401.4_DUGL_FullWipe_combined.zip) , and the .zip file does contain the file boot_signed.img. Is this the one I need for step 3?

Once again sorry for the noob questions, and I hope someone here can help me with this?!

Thank you
[HTC U12+ Guides, News, & Discussion] Freak07:
yes that boot_signed.img is the one you need.

And you have to choose install and after that patch boot image file. In the following prompt choose the boot_signed.img from before.

Like it’s explained in the guide.

Although I would recommend to make you familiar with fastboot and adb before you proceed.
[HTC U12+ Guides, News, & Discussion] hek.je:
Freak07, thank you for the info.

So what do I need to do with the "Magisk-v16.0(1600).zip" file "Magisk manager" keeps downloading over and over again?

Should I ignore it, and point "Magisk manager" to the boot_signed.img?

Also note that when I start "Magisk manager", it tells me that I have the latest version v16.0, and just below that it tells me that Magisk is not installed.

I done some searching, but all I find are "indian" youtube video's about "Magisk manager", and how to install it using TWRP.

Once again thank you for any info on this.
[HTC U12+ Guides, News, & Discussion] Freak07:
You open magisk, when it asks you to install it click on install. Next dialog choose the option patch boot.img. In the following file manager choose the boot.img you downloaded earlier. It will download magisk zip again and patch the boot.img. And then follow the steps in the OP. :)
[HTC U12+ Guides, News, & Discussion] hek.je:
Freak07.

Once again thank you for the info.

For some reason I do not feel comfortable doing it this way, so I'm going to wait for a TWRP release before continuing.

Once again thank you for all the info.
[HTC U12+ Guides, News, & Discussion] tdwpkidd:
I'm having trouble unlocking my bootloader. I get "No such file or directory for fastboot flash unlocktoken Unlock_code.bin"

It's located in same folder adb and fastboot are. I'm able to go through all the steps up until that point.
[HTC U12+ Guides, News, & Discussion] DeeZZ_NuuZZ:
It's very easy to do. But it's up to you if you're not comfortable with it
[HTC U12+ Guides, News, & Discussion] Shark5060:
then just use the direct path.. like

fastboot flash unlocktoken "C:\my adb folder\Unlock_code.bin"
[HTC U12+ Guides, News, & Discussion] hek.je:
So basically

1 - unbox new HTC U12+

2 - set it up with gmail account , enable "Developer options", USB debugging, download magisk manager with HTC 12 and install it

3 - Download abd to PC, and get it to work / communicate with HTC 12

4 - Download (in my case) Full_Stock_firmware_1.15.401.4_DUGL_FullWipe_comb ined.zip to PC, and extract zip file.

Than copy boot_signed.img from extracted file to HTC 12

5 - Start magisk manager, (popup pops up with "Install Magisk") select Install, then select for "Select Methode" the "Patch Boot Image File", and navigate to the file uploaded in step 4 (boot_signed.img)

follow rest of Freak07 directions....

If so, I'm ready to give it a shot :eek:
[HTC U12+ Guides, News, & Discussion] DeeZZ_NuuZZ:
No need for Gmail as it will be reset to factory state anyway. First just start it, then go through all things, no need for wifi or mobile network or whatever, just enable developer options, in that tick the oem unlock option. Reboot into download and follow the instructions for unlock on htcdev.com. everything is there step by step. (That's why you have to read everything, because bootloader unlock is necessary, phone comes with locked bootloader as always

Then if unlocked, you can set up everything, install magisk manager and do the steps freak07 told, like patching boot.img etc. Everything is written by him step by step too in OP. Very easy to do that ?
[HTC U12+ Guides, News, & Discussion] Elponius:
Hello Guys, i was too fast while rooting the Phone. I sweare i dont have seen any active slot.. So i have done it on boths a and b. Is there a way to reset one of them? Also on every boot android Shows a message that there is an internal problem. But everything is okey i dont find any issue.

So what should i do?
[HTC U12+ Guides, News, & Discussion] tdwpkidd:
Magisk Manager keeps crashing when i try to patch boot.img

edit: fixed please delete
[HTC U12+ Guides, News, & Discussion] schmeggy929:
I guess you didn't read the OP. The message is purely cosmetic, there are no side effects and will be corrected at a later date.
[HTC U12+ Guides, News, & Discussion] AtAM1:
The 'internal' error message is due to Magisk v16. Update to v16.4 (beta) and the error is gone!
[HTC U12+ Guides, News, & Discussion] aer0zer0:
Has anybody tried any of the magisk nightlies?
[HTC U12+ Guides, News, & Discussion] tdwpkidd:
Havinga problem with Adaway. Systemless hosts is enabled and I installed busybox from the op
[HTC U12+ Guides, News, & Discussion] AtAM1:
No need for nightlies... Just change 'Update Channel' to Beta under settings and repeat the patching process then flash and reboot.
[HTC U12+ Guides, News, & Discussion] aer0zer0:
Sure. Was just wondering if anybody has tried the nighties.
[HTC U12+ Guides, News, & Discussion] Jarras:
Since last night, all my apps are crashing and keep asking to restart nonstop with system apps are asking to send info back to HTC for crashes. I had to flash the original boot_signed.img back to get the phone to work again. I tried making a new patched boot image, but its always the same result. Any ideas?
[HTC U12+ Guides, News, & Discussion] Freak07:
I never faced this at all...

What magisk version are you using?

Do you use any magisk modules? Did you do any other modifications than flashing the patched boot.img?

Are you sure you took the boot.img from the matching firmware zip?
[HTC U12+ Guides, News, & Discussion] Jarras:
Magisk 16.4, modules I was using were (youtbe vanced, xposed and busybox), no other modifications to boot.img.

Yes verified the correct firmware and I've been running on patched boot with root for over a week with no issues until last night.
[HTC U12+ Guides, News, & Discussion] wiQbold:
with my HTC10 I lost root after a while, till a reboot. could not install modules.

also with the U12+. with 16.0 it works
[HTC U12+ Guides, News, & Discussion] Freak07:
As [MENTION=1312247]wiQbold[/MENTION] already proposed try magisk 16.0. I know magisk 16.4 supposedly fixes the internal problem message but 16.4 has various issues on multiples devices including the U11 and both pixel generations which I all own. So please stay on 16.0 for the time being!

That said I somehow made the message disappear on 16.0 after flashing multiple kernels but I don’t know what fixes the message in the end because there is no pattern to it.
[HTC U12+ Guides, News, & Discussion] Jarras:
I remade the patched boot with 16.0 and it looks like everything is working again. Still not sure why 16.4 worked for so long and now doesn't when its removed and reapplied. thanks for the help
[HTC U12+ Guides, News, & Discussion] schmeggy929:
Same here, I no longer see the internal message after booting numerous times. Only flashed the patched boot image once. i guess it internally fixed itself lol.
[HTC U12+ Guides, News, & Discussion] aaronc_98:
want to unlock the bootloader, and I can get to download mode, but none of the Fastboot commands seem to work - it just says "waiting for device", what I am doing wrong?

Thanks,
[HTC U12+ Guides, News, & Discussion] schmeggy929:
Did you enable Developers options by tapping Build number 7 times under About phone? You then need to enable usb debugging.
[HTC U12+ Guides, News, & Discussion] aaronc_98:
yes to both, and ADB works perfectly. That is how I got to download mode. I just double checked OEM unlock is still checked on.

Thoughts?
[HTC U12+ Guides, News, & Discussion] schmeggy929:
a few options would be revoke usb degug and start again.

Download latest Minimal ADB and Fastboot.

weird that adb works and Fastboot doesn't.
[HTC U12+ Guides, News, & Discussion] Freak07:
also make sure you have the latest adb and fastboot binaries which you can find here:

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

also try different usb ports. for me the 4th worked actually. the other three don´t work with the U12+ but all my others phones. Don´t know why but upon googling it seems that this is a common fastboot issue.
[HTC U12+ Guides, News, & Discussion] aaronc_98:
I have tried all the ports and downloaded the latest and still only get "waiting for device" in Fastboot. ADB works fine
[HTC U12+ Guides, News, & Discussion] Freak07:
reinstall the fastboot/adb driver if you are on windows. and reboot the pc.

is it the original cable that came with the phone?
[HTC U12+ Guides, News, & Discussion] tdwpkidd:
Anyone?
[HTC U12+ Guides, News, & Discussion] DeeZZ_NuuZZ:
Installed latest adaway?
[HTC U12+ Guides, News, & Discussion] tdwpkidd:
Yes 3.3
[HTC U12+ Guides, News, & Discussion] shango22:
sorry if this is a repeat I didn't read the entire thread. :)

1. How to unroot? figured this one out

2. Can't install titanium backup says it can't obtain root access. All I want to do is uninstall bloatware to help battery life? any and all help appreciated.

3. Face unlocked still greyed out

---------- Post added at 06:37 AM ---------- Previous post was at 06:06 AM ----------

Installed htc sync?
[Moto G5S Plus Accessories] cobrarated:
Anybody know which is best wireless charger for Motorola g5 s plus?
[Moto G5S Plus Accessories] treyweez11:
This phone doesn't have that feature.
[Moto G5S Plus Accessories] cobrarated:
In description it says that it has