[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Androidler92:
product name htc phone

variant sdm ufs

bootloader version -

baseband version -

serial - xxx

secure boot - production

secure state - s-on

device state - unlocked

key state none

download mode:

unlocked

production

htc_imedugl PVT S-ON

LK-1.0.0.0000

Radio-sdm845-000041c-1906261449

opendsp-unknown

os-2.55.401.1

jul 27 2019

sd mounted

otg not mounted

file not found

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 0.696s]
booting...
OKAY [ 10.139s]
finished. total time: 10.847s

on device:

twrp mount

decrypt data

enter password

cancel or select language

cmd:

C:\Program Files (x86)\Minimal ADB and Fastboot>adb push update.zip /update.zip
[100%] /update.zip

still same on device

press cancel

reboot page is slot a.

do same command on cmd again

same success

reboot to download on device

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase userdata
******** Did you mean to fastboot format this ext4 partition?
erasing 'userdata'...
OKAY [ 0.372s]
finished. total time: 0.378s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase system
******** Did you mean to fastboot format this ext4 partition?
erasing 'system'...
OKAY [ 0.158s]
finished. total time: 0.163s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img
target reported max download size of 1072000000 bytes
erasing 'system'...
OKAY [ 0.119s]
sending sparse 'system' 1/2 (1044612 KB)...
OKAY [ 34.958s]
writing 'system' 1/2...
(bootloader) HOSD CL#1088647
(bootloader) start@1
(bootloader) ERR ERROR: Fatail error, blocks overflow
(bootloader) ERR SPARSE data size=-1
(bootloader) system_a@100%
(bootloader) Update partition OK
(bootloader) end@Done
OKAY [ 75.550s]
sending sparse 'system' 2/2 (0 KB)...
OKAY [ 1.188s]
writing 'system' 2/2...
(bootloader) HOSD CL#1088647
(bootloader) start@1
(bootloader) system_a@100%
(bootloader) Update partition OK
(bootloader) end@Done
OKAY [ 3.245s]
finished. total time: 115.084s

on device:

system 0%

flash image success (2/4)

end flashing, press power key to continue

press power on device

goes back in dl mode instantly

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot
rebooting...

finished. total time: 0.002s

and here we are again. same issue

i see there is an error above. but idk why

edit:

system.img is alpha 2 https://androidfilehost.com/?w=files&flid=308352

edit2: i think i missed the install update.zip in twrp last time

so i writed down the screen etc. did it all again

in twrp:

install zip

successful

failed to mount '/system_root' (invalid argument)

failed to decrypt data

unable to decrypt with default password. you may need to perform a format data

updating partition details...

failed to mount '/system_root' (invalid argument)

...done

unable to mount storage

full selinux support is present.

unable to mount /data/media/twrp/.twrps

updating partition details...

failed to mount '/system_root' (invalid argument)

...done

unable to mount storage

updating partition details...

failed to mount '/system_root' (invalid argument)

...done

unable to mount storage

installing zip file '/update.zip'

checking for digest file...

unmounting system...

flashing vbmeta with disabled verity

done

script succeeded: result was [1.0]

updating partition details...

failed to mount '/system_root' (invalid argument)

...done

unable to mount storage

c:\adb>fastboot boot twrp.img
Sending 'boot.img' (32212 KB) OKAY [ 0.696s]
Booting OKAY [ 10.136s]
Finished. Total time: 10.875s

c:\adb>adb push update.zip /update.zip
adb server version (35) doesn't match this client (41); killing...
* daemon started successfully
update.zip: 1 file pushed, 0 skipped. 74.2 MB/s (382758 bytes in 0.005s)

c:\adb>adb push update.zip /update.zip
update.zip: 1 file pushed, 0 skipped. 540.5 MB/s (382758 bytes in 0.001s)

c:\adb>adb push update.zip /update.zip
update.zip: 1 file pushed, 0 skipped. 671.3 MB/s (382758 bytes in 0.001s)

c:\adb>adb push update.zip /update.zip
update.zip: 1 file pushed, 0 skipped. 526.6 MB/s (382758 bytes in 0.001s)

c:\adb>adb push update.zip /update.zip
update.zip: 1 file pushed, 0 skipped. 757.9 MB/s (382758 bytes in 0.000s)

c:\adb>fastboot erase userdata
******** Did you mean to fastboot format this ext4 partition?
Erasing 'userdata' OKAY [ 0.373s]
Finished. Total time: 0.378s

c:\adb>fastboot erase system
******** Did you mean to fastboot format this ext4 partition?
Erasing 'system' OKAY [ 0.159s]
Finished. Total time: 0.166s

c:\adb>fastboot flash system system.img
Sending sparse 'system' 1/2 (915076 KB) OKAY [ 30.414s]
Writing 'system' (bootloader) HOSD CL#1088647
(bootloader) start@1
(bootloader) ERR ERROR: Fatail error, blocks overflow
(bootloader) ERR SPARSE data size=-1
(bootloader) system_a@100%
(bootloader) Update partition OK
(bootloader) end@Done
OKAY [ 66.220s]
Sending sparse 'system' 2/2 (0 KB) OKAY [ 1.166s]
Writing 'system' (bootloader) HOSD CL#1088647
(bootloader) start@1
(bootloader) system_a@100%
(bootloader) Update partition OK
(bootloader) end@Done
OKAY [ 3.228s]
Finished. Total time: 102.992s

c:\adb>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.001s

c:\adb>

got still the same issue with bootloop

edit3:

twrp asks about keep system read only? when i boot into from adb

edit4:

wiped everything and format data in twrp

ok now i f**eck up i think.

can't go to download mode. in bootloader it says: "this device is corrupt. it can't be trusted and i will not boot."

c:\adb>fastboot boot twrp.img
Sending 'boot.img' (32212 KB) OKAY [ 0.689s]
Booting FAILED (remote: 'Failed to load/authenticate boot image: Load Error')
fastboot: error: Command failed

edit5: ok i managed to get back in download mode again (after factory reset in recovery).

will try the whole manual again

sorry for the many edits.

changed the following in download mode:

unlocked

production

htc_imedugl PVT S-ON

LK-1.0.0.0000

Radio-sdm845-000201b-1807311356

opendsp-unknown

os-1.68.401.6

may 7 2019

edit:

c:\adb>fastboot boot twrp.img
Sending 'boot.img' (32212 KB) OKAY [ 1.967s]
Booting

waiting for progress on boot

device says "start downloading"

looks good:

c:\adb>fastboot boot twrp.img
< waiting for any device >
Sending 'boot.img' (32212 KB) OKAY [ 0.686s]
Booting OKAY [ 10.144s]
Finished. Total time: 10.877s

c:\adb>adb push update.zip /update.zip
update.zip: 1 file pushed, 0 skipped. 65.3 MB/s (382758 bytes in 0.006s)

c:\adb>fastboot erase userdata
******** Did you mean to fastboot format this ext4 partition?
Erasing 'userdata' OKAY [ 0.631s]
Finished. Total time: 0.634s

c:\adb>fastboot erase system
******** Did you mean to fastboot format this ext4 partition?
Erasing 'system' OKAY [ 0.153s]
Finished. Total time: 0.156s

c:\adb>fastboot flash system system.img
Sending sparse 'system' 1/4 (915076 KB) OKAY [ 30.395s]
Writing 'system' (bootloader) HOSD CL#1088647
(bootloader) start@1
(bootloader) system_a@100%
(bootloader) Update partition OK
(bootloader) end@Done
OKAY [ 65.799s]
Sending sparse 'system' 2/4 (1039060 KB) OKAY [ 34.377s]
Writing 'system' (bootloader) HOSD CL#1088647
(bootloader) start@1
(bootloader) system_a@100%
(bootloader) Update partition OK
(bootloader) end@Done
OKAY [ 75.101s]
Sending sparse 'system' 3/4 (1039060 KB) OKAY [ 34.423s]
Writing 'system' (bootloader) HOSD CL#1088647
(bootloader) start@1
(bootloader) system_a@100%
(bootloader) Update partition OK
(bootloader) end@Done
OKAY [ 74.449s]
Sending sparse 'system' 4/4 (321852 KB) OKAY [ 11.502s]
Writing 'system' (bootloader) HOSD CL#1088647
(bootloader) start@1
(bootloader) system_a@100%
(bootloader) Update partition OK
(bootloader) end@Done
OKAY [ 24.138s]
Finished. Total time: 358.829s

c:\adb>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.002s

c:\adb>

and it boots :D yes!!!

after all.

so what i made after all TL;DR

wipe the full device. full factory reset.

clean flash.