yashsingh1/xdaforums huggingface dataset:
[HTC U11+ Guides, News, & Discussion] marusia7:
THANK YOU! THANK YOU! THANK YOU!

it worked, you are really great!

here the progress on terminal:

C:\adb>fastboot flash -S 1G system system.img

Invalid sparse file format at header magi

erasing 'system'...

OKAY [ 0.109s]

sending sparse 'system' (1040818 KB)...

OKAY [ 33.493s]

writing 'system'...

(bootloader) HOSD CL#1010171

(bootloader) start@1

(bootloader) system@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 82.781s]

sending sparse 'system' (1042332 KB)...

OKAY [ 33.518s]

writing 'system'...

(bootloader) HOSD CL#1010171

(bootloader) start@1

(bootloader) system@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 82.643s]

sending sparse 'system' (1037310 KB)...

OKAY [ 33.556s]

writing 'system'...

(bootloader) HOSD CL#1010171

(bootloader) start@1

(bootloader) system@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 83.334s]

sending sparse 'system' (167660 KB)...

OKAY [ 6.356s]

writing 'system'...

(bootloader) HOSD CL#1010171

(bootloader) start@1

(bootloader) system@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 14.354s]

finished. total time: 370.175s

C:\adb>

phone booted normally, I am back on 1.24.709.8

Thanks again!!!!

Once I double-backup everything again I will continue with update to 709.93 tomorrow...
[HTC U11+ Guides, News, & Discussion] kenosis:
Good to hear that. Please share if there is improvement over previous version.
[HTC U11+ Guides, News, & Discussion] marusia7:
Tried now update to 1.24.709.93 (in between I flashed patched boot.img from Magisk to revert to root and then flashed stock boot from 709.8 OTA to enable 709.93 OTA):

update stops with red triangle at 24% , luckily boots afterwards normally.

Really weird...honestly no idea where the problem lays... maybe I shouldn't have touched Magisk in between (?) or that TitaniumBack is affecting (I launched the app after rooting but did not do anything because no files were changed...) - is it possible to create/save logs during OTA update process to see what is going on?

What about vendor.img? Could this also affect the OTA update progress?

(sorry for the many questions, I just want to understand what is going on and if I can apply the OTA sometimes...)
[HTC U11+ Guides, News, & Discussion] kenosis:
I tried that before and it stopped at RED Triangle too. After that, I tried to flash 709.93 image file. Used Magisk to create patched_boot to root.
[HTC U11+ Guides, News, & Discussion] marusia7:
So even the standard OTA update with 709.93 OTA file showed red triangle you flashed the 709.93 system.img (4.2 Gb) with fastboot?

(or boot.img, recovery.img?) As you know I already could not flash the "stock" 709.8 system.img because of errors (before you kindly and greatly helped (!)), if flashing 709.93 image will fail I cannot go back to 709.8
[HTC U11+ Guides, News, & Discussion] metaxuss:
Thank you guys so much! It worked and I am now on the lastest OTA.

Here is what I did:

1. Use this link to download the OTA Images corresponding to you current software. (Credits to nene bear)

2. Extract the zip. It contains boot.img, recovery.img and system.img

3. Turn off phone and boot into download mode by holding volume down + power

4. Flash system image using this command (thanks to kenosis):

fastboot flash -S 1G system system.img

Warning: At first there is an error and it seems to do nothing. Just wait a while and it will flash the image.

5. Flash recovery:

fastboot flash recovery recovery.img

6. Flash boot:

fastboot flash boot boot.img

7. Power on phone. I had no data loss, so good luck :)

8. Do not patch any images with magisk or play around in any other way. Just go to settings and download the OTA. It should install as intended.

9. Now you can root, just as you did before. Link for the OTA in case you need to patch boot.img. (Credits again to nene bear)

Have fun :D
[HTC U11+ Guides, News, & Discussion] marusia7:
thanks a lot for the info, I will try that in evening...(fingers crossed)
[HTC U11+ Guides, News, & Discussion] marusia7:
I performed the sequential flashing of system.img, recovery.img and boot.img of 709.8 as described above (everything worked smoothly), rebooted normally and downloaded & tried to install OTA 709.93.

However, stuck at 24% with red triangle, phone reboots normally after some time without applying the OTA. So currently I am stable on 1.24.709.8 but not able to apply OTA.

+) Should I completely uninstall Magisk? (so far only "restore image" from within Magisk was always performed but not completely uninstalled, which was never the issue.)

+) Also I have systemless Xposed framework installed (version 90.2 beta3 - requirement for XprivacyLua) which I unchecked before restoring image (=unrooting) from within Magisk - completely uninstall before? I read that some Xposed modules are touching system and/or vendor. As currently all my flashed images are stock (boot, recovery, system) then only vendor.img is left (?)

I am able to live without OTA update but of course want to apply it.... also as HTC-U11+ is supposed to receive Android P upgrade I want to identify the issue to avoid future troubles.

Any hints are highly welcome!
[HTC U11+ Guides, News, & Discussion] metaxuss:
Magisk is removed by flashing the boot.img from the OTA. I don't use Xposed, but give it a try and completely uninstall it before flashing the system.img again. Also you could try wiping the system before flashing the img, but that will result in data loss and I don't know, if it helps.

I don't know where to get the proper vendor.img since non of the OTA.zips contained it. Maybe you could extract it from a RUU, but since there is no RUU for 709.8 available that might be very risky.
[HTC U11+ Guides, News, & Discussion] marusia7:
this link contains also the vendor.img of the OTAs (you have to be logged in):

https://drive.google.com/drive/folders/147LagtE8PIe-R46kajrJA_HKowQ3SmPM

The system.img (4.2Gb) used in this thread is also taken from that google drive, so everything seems trustworthy but it is risky.

I uninstalled sequencially XprivacyLua, Xposed Framework (systemless) and Magisk (complete uninstall), in between still always unrooting to see if the OTA update works, but not successful, stuck at 24%, red triangle.

I noticed that during uninstall (cannot remember during Xposed Framework or Magisk) both system and vendor were mounted, so most probably the vendor.img is still tampered even after complete uninstall.

I found now the signed RUU from 1.24.709.8 (!) and will upload it in the evening, the contained vendor.img is probably my last attempt before cleaning up the system...
[HTC U11+ Guides, News, & Discussion] marusia7:
RUU 1.24.709.8 and RUU 1.24.709.93

I did not check/use 1.24.709.93 yet, so everything on your own risk & responsibility:

RUU (signed) for 1.24.709.8 - already used for flashing, works fine:

2Q4DIMG_OCEAN_M_DUGL_O80_SENSE90GP_hTC_Asia_TW_1.24.709.8_Radio_8998-002772-1712201227_release_526361_signed.zip

https://drive.google.com/open?id=1C6Zhdy9MEEu8e9Pz6P33G4OiswsArpcZ

RUU (signed) for 1.24.709.93:

2Q4DIMG_OCEAN_M_DUGL_O80_SENSE90GP_hTC_Asia_TW_1.24.709.93_Radio_8998-002772-1712201227_release_528412_signed.zip

https://drive.google.com/open?id=1pfc9HJh5HfBFOw0cViUmY64E7_k-i5-A
[HTC U11+ Guides, News, & Discussion] marusia7:
which is correct vendor.img used for flashing?

after checking in the forum I am aware that issues caused by vendor.img flashing can brick the phone badly.

checking for the 1.24.708.9 vendor.img file caused now confusion, because available vendor.img files have very different sizes - which is the correct vendor.img file used for flashing?

1) the folder "vendor partition" with this d/l link contains containing files from 1.24.708.9 provided a "vendor.img" file with approx. 1 Gb size (credits to nene bear):

https://drive.google.com/drive/folders/147LagtE8PIe-R46kajrJA_HKowQ3SmPM

2) however, extracting the vendor.img from the 1.24.709.8 RUU files with HTC RUU decrypt tool yields a "vendor.img" file with approx only 422 Mb size (similar as obtained from extracting other RUUs).

https://drive.google.com/open?id=1C6Zhdy9MEEu8e9Pz6P33G4OiswsArpcZ

Question: which vendor.img file is the correct one which should be used for flashing?
[HTC U11+ Guides, News, & Discussion] daheufster:
Same here, still stuck at Dec 2017 security patch.. With an WWE model
[HTC U11+ Guides, News, & Discussion] vegetaleb:
Better not play with these FW if you have an European EMEA version. The only way to get new features if there are any software wise (like new clocks for AOD), is that someone realease a custom rom based on latest TW version but opened to all models. Now if the fw updates of Taiwan are just Radio and kernel updates then it's not worth the hassle. Htc promised a Pie update, I hope before Christmas :)
[HTC U11+ Guides, News, & Discussion] BlackTigerR:
Perhaps an easier way is to return the smartphone to the stock state. I acted thus: I have had the RUU file version 1.24.709.7 renamed 2Q4DIMG.ZIP. Copied on a cd-card and inserted in the smartphone. Put it in download mode. The phone suggested to flash the firmware discovered. After the firmware without configuring it updated to 1.24.709.7 and then to 1.24.709.93.
[HTC U11+ Guides, News, & Discussion] marusia7:
Did the stock RUU flashing wiped your personal data & settings?
[HTC U11+ Guides, News, & Discussion] BlackTigerR:
Yes, certainly. It's like a hard reset. Therefore, it is advisable to make a backup. But now through Google you can save a lot of things. In settings in section Google.
[HTC U11+ Guides, News, & Discussion] vegetaleb:
RUU = full wipe

Unlocking bootloader = full wipe

It shouldn't touch the microsd card though

I think it's better to relock bootloader before using ruu if you want an ota
[HTC U11+ Guides, News, & Discussion] veeny101:
has anyone tried this ruu?
[HTC U11+ Guides, News, & Discussion] marusia7:
I have decrypted RUU 1.24.709.8 and used extracted boot_signed.img, recovery_signed.img and system.img to flash again my HTC-U11+ with fastboot using commands described in this thread (all went fine, no data loss).

Compared md5sums of these images with images from the 709.8 OTA (perfect match) and in case of system.img also additionally with the files provided by nene bear: perfect match.

Compared also md5sums of 709.93 images (boot, recovery, system) of decrypted RUU with files from nene bear and OTA:

perfect match

I did not perform yet complete 709.8/709.93 RUUs flash with the zip files as I am still struggeling with 709.93 OTA (see below).

applying the 709.93 OTA failed again (stuck at 24% with red triangle).

therefore flashed vendor.img (466 Mb) extracted from same RUU 1.24.709.8, however it failed:

C:\adb>fastboot flash vendor vendor.img

target reported max download size of 2399200000 bytes

sending 'vendor' (466238 KB)...

OKAY [ 14.322s]

writing 'vendor'...

(bootloader) HOSD CL#1010171

FAILED (remote: 35 RU_PARTITION_NOT_SUPPORT vendor)

finished. total time: 15.352s

search for error "(remote: 35 RU_PARTITION_NOT_SUPPORT vendor) indicated that file cannot be flashed in download mode, therefore rebooted from download mode into bootloader and flashed again with fastboot, it failed:

C:\adb>fastboot flash vendor vendor.img

target reported max download size of 536870912 bytes

sending 'vendor' (466238 KB)...

OKAY [ 10.116s]

writing 'vendor'...

FAILED (remote: Not allowed on PRODUCTION device)

finished. total time: 10.138s

C:\adb

normal reboot, no data loss.

any ideas/suggestions to proceed further (still without complete RUU flash) are highly appreciated.
[HTC U11+ Guides, News, & Discussion] marusia7:
How did you figure out that these system apps (instagram, facebook) caused the OTA failure? How did you remove them with TitaniumBackup?

I have neither used both apps nor uninstalled them while rooted (sometimes keep them inactivated).

I have read in HTCU11 forum that while red triangle appears pressing powerbutton (keeping) and pressing/releasing Vol-UP button should deliver list of errors, but this process is not working in my case (any ideas?).

I still want to figure out what is causing the error during OTA install (before continuing with RUU flashing/data wipe).
[HTC U11+ Guides, News, & Discussion] BlackTigerR:
For vendor you can try this command:

"dd if=/sdcard/vendor.img of=/dev/block/sda6"

But this need ROOT and terminal emulator.

The path to the file vendor.img may be different depending on your situation.
[HTC U11+ Guides, News, & Discussion] marusia7:
thanks a lot!

question: in your command the location of "sdcard" is the usual "internal storage" (= root folder of the 128 Gb) or an external microSD card placed instead of a 2nd SIM card?
[HTC U11+ Guides, News, & Discussion] BlackTigerR:
It is an internal storage.
[HTC U11+ Guides, News, & Discussion] edzilla:
Is it possible to upgrade a european version to this version without unlocking bootloader or rooting it?
[HTC U11+ Guides, News, & Discussion] metaxuss:
It's the only thing a did with root, what I didn't do before the last OTA. It has to be it.

You can just tap on the app in titanium backup and hit uninstall. It gives a warning that you are about to remove a system app, which can lead to problems.
[HTC U11+ Guides, News, & Discussion] marusia7:
vendor.img flash ok, but phone bricked... RUU flashing "data too large"

I have extracted the vendor.img from the current RUU and flashed it from within rooted Android (terminal) from SD card back to system (path of file adapted):

dd if=/storage/emulated/0/vendor.img of=/dev/block/sda6

Copying worked, but Device is not booting anymore (no blames, I continue...), I still can access download mode, bootloader and recovery (after red triangle).

OK, now I want to flash back the stock RUU (I did full backup before with Titanium, so ok):

C:\adb>htc_fastboot oem rebootRUU

... OKAY

Execution time is 4(ms)

C:\adb>htc_fastboot flash zip 2Q4DIMG.zip

sending 'zip'... (2140196 KB) FAILdata too large, 2191561329 > 1317765120

FAILED (data size is too large(2140196 KB) for device to download ZIP file '2Q4D

IMG.zip')

Execution time is 2(s)

so what I can do now? the command option "fastboot -s -1g flash zip 2Q4DIM.zip" is also not working in this case (probably only for *.img files suitable)

Any suggestions are highly appreciated...
[HTC U11+ Guides, News, & Discussion] BlackTigerR:
Try the option with SD card as I described earlier
[HTC U11+ Guides, News, & Discussion] marusia7:
so in this case you copied the *.zip file on a microSD card and inserted it instead of 2nd SIM card?
[HTC U11+ Guides, News, & Discussion] BlackTigerR:
Yes. And start phone to download mode.
[HTC U11+ Guides, News, & Discussion] marusia7:
THANK YOU!

I am back to stock RUU..., still with unlocked bootloader, so easy to continue rooting with Magisk.

(before you replied I just copied zip on FAT32-formatted USB flashdrive and inserted it via adapter into USB-C slot of HTC-U11+ , booted into download mode, zip was recognized and suggested for installation - and voila...

I tried the above described vendor.img flashing and the reflashing of the RUU on my 2nd HTCU11+ (device for working place), which is EU model 1.24.401.7 (RUU was available).

My private HTC-U11+ (TW) is still on 1.24.709.8 where I am hesitating to reflash the vendor.img via DD, because my EU version bricked...(no idea why).

so any ideas are still welcome and I am still digging into the source problem why OTA update stucks...(and cannot rely on the vendor.img flashing)
[HTC U11+ Guides, News, & Discussion] marusia7:
maybe coming closer:

checked now (rooted with Magisk) in TitaniumBack for "frozen apps" (see picture), I defroze.

I remembered now (...) that I did not use the HTC pre-installed Twitter system app but installed Twitter from GooglePlay several months ago (and probably disabled/froze HTC Twitter app afterwards).

Now I uninstalled GooglePlay Twitter, defrosted HTC Twitter and tried to uninstall it from within Titanium (similarly as metaxuss described for facebook & instagram system apps).

However uninstall of HTC Twitter failed (according to Titanium device should boot 2x & do smth with recovery):

here again (!) the red triangle

Maybe something with recovery (the images are correct)?

HTC Twitter is not listed in the app folder but again in Titanium as frozen app.

any hints highly appreciated....
[HTC U11+ Guides, News, & Discussion] BlackTigerR:
In order to remove unnecessary applications, it is not necessary to have root and use Titanium. Everything can be done through adb, however, only from a computer. Thus integrity of the firmware is not broken and OTA will be established without problems. In any case, this is the information I have. You can remove it with adb shell pm uninstall-k --user 0 <packet name> where <packet name> is the name of the package and not the name of the program. For example, for the same Facebook package name com.facebook.katana.
[HTC U11+ Guides, News, & Discussion] marusia7:
RUU 1.24.709.8 successfully used for flashing

just used the 709.8 RUU.zip for flashing, worked fine
[HTC U11+ Guides, News, & Discussion] ouioui01:
you can download and flash directly 1.24.709.93 from link

https://xdaforums.com/showpost.php?p=78273635&postcount=36

I changed my wwe u11+ to TW and then flash directly ruu 1.24.709.93. Works like a charm

Cheers
[HTC U11+ Guides, News, & Discussion] gortys:
I can confirm that your 1.24.709.93 version is working great!! I had a 8.1 AOSP GSI rom installed and flashed your ruu (renamed 2Q4DIMG.zip, moved to sd card and rebooted in download mode -> system directly asked to install) -> success and back to stock!

Can someone confirm that the recovery is now back on the stock one while flashing ruu in order to receive OTAs?

Many thanks!!
[HTC U11+ Guides, News, & Discussion] marusia7:
the recovery contained in the 1.24.709.93 OTA is identical to the one contained in the 1.24.709.93 RUU, which you flashed (I extracted it after decryption and compared both images with md5sum - they are identical).

RUU flashing reverts everything to stock, so next OTAs should install without problems.

You cannot test this now because 709.93 is currently latest version (Taiwan) while even European and other CID versions have not even received the update yet.
[HTC U11+ Guides, News, & Discussion] gortys:
Thanks for the clarification!!!
[HTC U11+ Guides, News, & Discussion] marusia7:
backup via TWRP, install stock RUU & restore: finally on 709.93 without issues

finally I am on 709.93 version without loosing data or settings (very special thanks to devsk, metaxuss and sabpprook).

starting point: HTC U11+ 709.8, rooted with Magisk 17.1, Xposed Framework, Xposed module XprivacyLua

activated PIN lock on phone, rebooted and checked if really working (this step is required for restoring backup via TWRP recovery)

(I performed also complete backup with Titanium and saved on PC to keep second choice if smth fails; which I highly recommend...)

1. backup of entire SD card, saved on PC

2. restored boot.img from within Magisk

3. flash TWRP recovery

https://xdaforums.com/htc-u11/development/unofficial-htc-u11-twrp-recovery-t3706264

2. backup of data partition via TWRP, later saved on PC

3. flash stock recovery

4. flash 709.93 RUU.zip (from FAT32-formatted USB stick plugged into USB-C port), which wipes all (SD)card data & settings

5. flash TWRP, restore backup

6. install Magisk, patch boot.img, flash patched_boot.img
[HTC U11+ Guides, News, & Discussion] lillypad_33:
I'd like to thank everybody in this thread.

I've bee getting the OTA update notification for the last 3 months, and I've had to ignore it over and over.

I use the sdcard method of flash, and the 709.93 ruu as posted worked.
[HTC U11+ Guides, News, & Discussion] lillypad_33:
I'd also like to point out that the latest OTA just popped up on my phone so I was able to install it.

As there are no great custom roms available as of yet for this phone, I'm going to stay on stock.
[HTC U11+ Guides, News, & Discussion] WayneKerr:
That's really interesting try as i might i cant install the OTA update 1.24.709.994 its 124.37mb .

124.709.93 is running great but i cant seem to install the update i tried bootloader locked /unlocked/ have tried recovery original and twrp recovery tried it rooted and unrooted.

I wonder is it my hkg CID could I has what CID do you have lillypad out of interest?
[HTC U11+ Guides, News, & Discussion] WayneKerr:
Hi That looks like an easy way to get ride of the bloat and spyware.

where do you get the package names from is it in the /Android/data folder?

Or did you use an ADB Shell to look for the packages

Rgds W
[HTC U11+ Guides, News, & Discussion] BlackTigerR:
I am using APKMirror.
[HTC U11+ Guides, News, & Discussion] WayneKerr:
Thanks I will try that method
[HTC U11+ Guides, News, & Discussion] kenosis:
1.24.709.994 is available to update.
[OnePlus 6T  Questions & Answers] chazarss:
Hi all, I am planning to buy 6t, but haven't decide to color. which one do u prefer?
[OnePlus 6T  Questions & Answers] coolguy:
Ultimately , case has to be put. The front is always black .
[OnePlus 6T  Questions & Answers] Krunk_Kracker:
Do not get the mirror finish. Although it looks awesome, it is impossible to keep it clean, and it gets grimy very easy.
[OnePlus 6T  Questions & Answers] CHH2:
Get the black one. Seriously though, neither black are really stand out enough to not suggest a case which means it won't matter which one you get.
[OnePlus 6T  Questions & Answers] justibasa:
Thunder purple goes on sale on the 15th.
[OnePlus 6T  Questions & Answers] jasons1004:
Haha black or black....

I got the mirror one...I think the matte one scratches easier on the back.

Ohtee wise purple is nice....if you like purple.
[Huawei Mate 20 Pro Questions & Answers] myabc:
Hello. I selled Mate 10 pro for disperation because i need notifications of third part apps in always on display. Like Samsung, if arrive a whatsapp or gmail notifications, the samsung shows in black screen of aod the icon and clicking two times the phone unlock and show the notification by opening app..... instead huawei mate 10 pro don't do this, it shows only calls and sms icon and doesn't open if click on it.

the huawei support promised that will solve this but yet the mate 10 pro has non this function.

Now i ask, in a 1000 $ of phone, is solved this problem? shows the whatsapp and gmail in blach always on display and if click on it, opens the app????

thanks
[Huawei Mate 20 Pro Questions & Answers] manfredek:
The answer is unfortunately: NOPE.

It can only show missed call and sms, but even that leaves much to be desired.
[Huawei Mate 20 Pro Questions & Answers] Trident10:
No. Still exactly the same as in M10P.
[Huawei Mate 20 Pro Questions & Answers] myabc:
it's a very beautiful phone but this function for me is very important. i hope they implement...
[Huawei Mate 20 Pro Questions & Answers] ero69:
Was looking forward to Mate 20 Pro but 99% sure will be ditching in favour of OnePlus 6T - not exactly AOD but at least shows 3rd party notifications when picking up the phone . Plus has screen-off gestures which is intriguing.
[Huawei Mate 20 Pro Questions & Answers] myabc:
is there any update from newest update?
[Nokia 7 Plus Questions & Answers] K.singh:
Recently, I've noticed that my phone's screen completely blacks out while the phone is still working. So, if you plug in your charger, it'll play that charger connect notification sound if you use the fingerprint, it'll unlock the phone but nothing comes up on the screen. It'd be completely blacked out. This has happened to to me twice and has me got worried now. No matter for how long you hold the power button, nothing happens. Right now, it seems that the phone corrects the default by itself after leaving it aside for a good 10-15 minutes. Has anyone of you faced this?
[Nokia 7 Plus Questions & Answers] schetz:
Yep, unfortunately happens, though rarely . Mentioned in few other threads.

Happened to me thrice. Yesterday was the last go. You can reboot with Vol up + power.

It's an annoying bug, I'll admit that.