Systemless host files enabled in magisk settings?
Sent from my HTC U12+ using XDA Labs
AdAway works fine now after enabling "Systemless hosts" in magisk settings. Thanks!!
However, Face Unlock is still not working. Any ideas?
Systemless host files enabled in magisk settings?
Sent from my HTC U12+ using XDA Labs
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.
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.
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?
Yes that is normal. No need to worryI did that, and it results in error popup once the device loads, "Android internal error, contact HTC". Is that expected on a rooted device?
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?
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.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 =)
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.
Sent from my HTC U12+ using XDA Labs
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.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.
Think its not the tool im looking for, i mean pulling the ruu directly from device.
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.
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.
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.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.
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.
Really ? I am wondering..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.
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
fastboot flash boot_a boot.img
adb reboot bootloader
adb reboot download
fastboot getvar current-slot
fastboot --set-active=a
fastboot --set-active=b
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash system_a system.img
fastboot flash system_b system.img
fastboot flash vendor_a vendor.img
fastboot flash vendor_b vendor.img
fastboot flash dtbo_a dtbo.img
fastboot flash dtbo_b dtbo.img
htc_imedugl:/dev/block/platform/soc/1d84000.ufshc/by-name # ls -al
total 0
drwxr-xr-x 2 root root 1880 1970-02-05 04:16 .
drwxr-xr-x 4 root root 2040 1970-02-05 04:16 ..
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 abl_a -> /dev/block/sde9
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 abl_b -> /dev/block/sde30
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 aop_a -> /dev/block/sde1
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 aop_b -> /dev/block/sde22
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 apdp -> /dev/block/sde46
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 avb_rec -> /dev/block/sde56
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 bluetooth_a -> /dev/block/sde6
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 bluetooth_b -> /dev/block/sde27
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 board_info -> /dev/block/sdf1
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 boot_a -> /dev/block/sde13
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 boot_b -> /dev/block/sde34
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 carrier -> /dev/block/sda16
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 cdt -> /dev/block/sdd2
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 cmnlib64_a -> /dev/block/sde16
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 cmnlib64_b -> /dev/block/sde37
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 cmnlib_a -> /dev/block/sde15
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 cmnlib_b -> /dev/block/sde36
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 control -> /dev/block/sda13
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 cota -> /dev/block/sda17
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 ddr -> /dev/block/sdd3
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 devcfg_a -> /dev/block/sde17
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 devcfg_b -> /dev/block/sde38
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 devinfo -> /dev/block/sde44
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 devlog -> /dev/block/sda10
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 dip -> /dev/block/sde45
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 dpo -> /dev/block/sde48
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 dsp_a -> /dev/block/sde10
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 dsp_b -> /dev/block/sde31
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 dtbo_a -> /dev/block/sde21
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 dtbo_b -> /dev/block/sde42
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 extra -> /dev/block/sda12
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 fataldevlog -> /dev/block/sda11
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 frp -> /dev/block/sda14
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 fsc -> /dev/block/sdf4
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 fsg -> /dev/block/sdf3
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 hosd_a -> /dev/block/sde14
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 hosd_b -> /dev/block/sde35
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 hvbmeta -> /dev/block/sda4
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 hyp_a -> /dev/block/sde3
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 hyp_b -> /dev/block/sde24
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 keymaster_a -> /dev/block/sde11
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 keymaster_b -> /dev/block/sde32
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 limits -> /dev/block/sde50
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 local -> /dev/block/sda15
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 lockbooter_a -> /dev/block/sde12
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 lockbooter_b -> /dev/block/sde33
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 logdump -> /dev/block/sde54
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 logfs -> /dev/block/sde52
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 mdtp_a -> /dev/block/sde8
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 mdtp_b -> /dev/block/sde29
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 mdtpsecapp_a -> /dev/block/sde7
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 mdtpsecapp_b -> /dev/block/sde28
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 mfg -> /dev/block/sdf2
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 misc -> /dev/block/sda6
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 modemst1 -> /dev/block/sdf5
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 modemst2 -> /dev/block/sdf6
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 msadp -> /dev/block/sde47
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 oem_misc -> /dev/block/sda7
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 padding0 -> /dev/block/sda1
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 padding3 -> /dev/block/sdd1
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 persist -> /dev/block/sda3
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 pg1fs -> /dev/block/sda5
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 pmic_a -> /dev/block/sde4
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 pmic_b -> /dev/block/sde25
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 qupfw_a -> /dev/block/sde18
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 qupfw_b -> /dev/block/sde39
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 radio_a -> /dev/block/sde5
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 radio_b -> /dev/block/sde26
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 ramdump -> /dev/block/sda8
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 reserve0 -> /dev/block/sda21
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 reserve4 -> /dev/block/sde57
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 reserve5 -> /dev/block/sdf7
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 sec -> /dev/block/sde43
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 sp1 -> /dev/block/sde49
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 ssd -> /dev/block/sda2
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 sti -> /dev/block/sde53
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 storsec -> /dev/block/sde55
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 system_a -> /dev/block/sda18
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 system_b -> /dev/block/sda19
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 tool_diag -> /dev/block/sda9
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 toolsfv -> /dev/block/sde51
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 tz_a -> /dev/block/sde2
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 tz_b -> /dev/block/sde23
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 userdata -> /dev/block/sda20
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 vbmeta_a -> /dev/block/sde20
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 vbmeta_b -> /dev/block/sde41
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 vendor_a -> /dev/block/sde19
lrwxrwxrwx 1 root root 16 1970-02-05 04:16 vendor_b -> /dev/block/sde40
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 xbl_a -> /dev/block/sdb1
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 xbl_b -> /dev/block/sdc1
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 xbl_config_a -> /dev/block/sdb2
lrwxrwxrwx 1 root root 15 1970-02-05 04:16 xbl_config_b -> /dev/block/sdc2
fastboot boot nameoftwrp.img
adb devices
adb pull /sdcard/MagiskManager/patched_boot.img
adb reboot download
fastboot getvar current-slot
fastboot flash boot_a patched_boot.img
fastboot flash boot_b patched_boot.img
fastboot reboot