[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] sabotage154:
I accidentally posted the below on the xz1 thread of hiding bootloader. i will post here correctly hopefully someone can help. thank you

hello. i am able to get kernel hiding bootloader unlock with magisk, Edxposed, XprivacyLua working on andriod 9.0 G8441-47.2.A.11.228 with the following setup but android 9.0 seems to be buggy for me. there are apps that act really weird like never load, cause the home screen to freeze and other wierd behavior. this is the setup i have

G8441 (xz1c)

Flashed via newflasher Firmware: 4 7.2.A.11.228 (skipped flasing *.ta in main folder, skipped persist.sin, skipped Qnovo, amms*, ssd sin files)

flashed TWRP via fastboot flash recovery twrp-3.3.1-0-lilac-pie-5.img version here https://xdaforums.com/xperia-xz1-compact/development/recovery-twrp-3-1-1-stock-security-t3706704

Flashed: kernel-G8441-47.2.A.11.228-hideunlock.zip (from post 2 on this thread)

Flashed: Magisk-v20.1.zip

Flashed via Magisk GUI: magisk-riru-core-v19.5.zip

Flashed via Magisk GUI: magisk-EdXposed-SandHook-v0.4.5.1_beta.4463.-release.zip

Installed apk: EdXposedInstaller_v2.2.4-release.apk to activate EdXposed

Installed apk Xprivacy Lua: eu.faircode.xlua_126.apk

Activated Xprivacy Lua via EdXposed and reboot

I also have the following in G8441 *#*#7378423#*#* service menu:

Configuration: Bootloader Unlock allowed: Yes

Security:

Suntory blobs [READY]

CKB LIVE OK [ACTIVE]

WIDEVINE [ACTIVE}

Key Provision deamon

SOMC FIDO Key PROVSIONSED, ver. 4

Androdid Attest Key PROVISIONED

RESULT: So kernel hiding bootloader unlock is working, device thinks bootloader is locked and my DRM backup is working correctly i believe based on Security and Key Prvovision daemon entries. So That magisk, EdXposed, XprivacyLua setup appears to work but Android 9.0 seems to give me the issues i mentioned at top of post.

I figured i would try the same setup on Android 8.0 47.1.A.16.20 to see if i had better performance with apps freezing, home screen freezing.ect..ect. I did the following:

Flashed via newflasher Firmware: 47.1.A.16.20 *PLEASE NOTE: i found this firmware via a post on XDA BUT its an .ftf format so i extracted files and copied into a new newflasher folder* (skipped flasing *.ta in main folder, skipped persist.sin, skipped Qnovo, amms*, ssd sin files) I did notice there was at least 1 extra file mixed in with other files and an Extra folder

called manifest i think from flashtool Or Xperifirm, the original source of the file.

flashed TWRP via fastboot flash recovery twrp-3.2.3-0-lilac-1.img version here https://xdaforums.com/xperia-xz1-compact/development/recovery-twrp-3-1-1-stock-security-t3706704

Flashed via TWRP: kernel-G8441-47.1.A.16.20-hideunlock.zip (from post 2 on this thread)

Flashed via TWRP: Magisk-v20.1.zip

Flashed via TWRP: xposed-magisk.zip (this is the magisk module version of xposed)

Installed apk: XposedInstaller_3.1.5-Magisk.apk to activate EdXposed

Installed apk Xprivacy Lua: eu.faircode.xlua_126.apk

On this setup i have the following in G8441 *#*#7378423#*#* service menu:

Configuration: Bootloader Unlock allowed: Yes

Security:

Suntory blobs ERROR

No entry for available for CKB LIVE

No entry for available for WIDEVINE

Key Provision deamon

SOMC FIDO Key NOT PROVISIONED

Androdid Attest Key PROVISIONED

RESULT: I run into bootloop issues with this setup on Android 8.0

So it appears like device thinks bootloader is still locked but i dont get the Suntory blobs and CKB LIVE OK [READY], WIDEVINE [ACTIVE] nor SOMC FIDO Key PROVISIONED, ver 4 messagages that i get on Android 9.0 4 7.2.A.11.228. So i think hiding bootloader unlock is working but not sure about DRM backup?

So i tired the following changes on the Android 8.0:

Flashed via newflasher Firmware: 47.1.A.16.20 *PLEASE NOTE: i found this firmware via a post on XDA BUT its an .ftf format so i extracted files and copied into a new newflasher folder* (skipped flasing *.ta in main folder, skipped persist.sin, skipped Qnovo, amms*, ssd sin files) I did notice there was at least 1 extra file mixed in with other files and an Extra folder

called manifest i think from flashtool Or Xperifirm, the original source of the file.

flashed TWRP via fastboot flash recovery twrp-3.2.3-0-lilac-1.img version here https://xdaforums.com/xperia-xz1-compact/development/recovery-twrp-3-1-1-stock-security-t3706704

Flashed via TWRP: boot-G8441-47.1.A.16.20-hideunlock-magisk-19.1-noverity.img (from post 3 on this thread)

Magisk 19.1 installed after connecting to internet and device reboot.

Flashed via TWRP: xposed-magisk.zip (this is the magisk module version of xposed)

Installed apk: XposedInstaller_3.1.5-Magisk.apk to activate EdXposed

Installed apk Xprivacy Lua: eu.faircode.xlua_126.apk

On this setup i have the following in G8441 *#*#7378423#*#* service menu:

Configuration: Bootloader Unlock allowed: Yes

Security:

Suntory blobs ERROR

No entry for available for CKB LIVE

No entry for available for WIDEVINE

Key Provision deamon

SOMC FIDO Key NOT PROVISIONED

Androdid Attest Key PROVISIONED

RESULT: i also get bootloops afer xposed/Xprivacy Lua apk installation. HAVE NEVER BEEN ABLE TO BOOT INTO SYSTEM AFTER INSTALLING XPOSED/XPRIVACY LUA ON ANDROID 8.0.

END RESULT I WOULD LIKE TO HAVE: Can anyone tell me what im doing wrong here? I spent hours (like 6 hours) trying to get hiiding bootloader unlock, magisk, xposed xpeivacyLUA setup working on Android 8.0 but failed. I would like to know if this setup is possible (from my experience on other devices like z3 compact, X compact, it is easier to get this setup working on Android 8 than Android 9) and if so can someone let me know what im doing incorrectly. I know all you guys are busy and i will be able to send you guys over a donation for your time if you can take the time and let me know how to get this working on Android 8.0. THANK YOU FOR THIS!!!!