yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
I guess there will be alot of pizza for you from some guys here :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please don't inline 2 working bash commands again. :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] M-Rom:
In addition to clearpad, there is also tcm

This solution. :o

insmod /sbin/tof_sensor.ko

insmod /sbin/tcs3490.ko

touch_id=`cat /sys/devices/dsi_panel_driver/panel_id`

if [ "$touch_id" == "4" ]; then

insmod /sbin/clearpad_rmi_dev.ko

insmod /sbin/clearpad_core.ko

insmod /sbin/clearpad_i2c.ko

echo 1 > /sys/devices/virtual/input/clearpad/post_probe_start

fi

if [ "$touch_id" == "8" ]; then

insmod /sbin/synaptics_tcm_i2c.ko

insmod /sbin/synaptics_tcm_core.ko

insmod /sbin/synaptics_tcm_touch.ko

insmod /sbin/synaptics_tcm_device.ko

insmod /sbin/synaptics_tcm_testing.ko

insmod /sbin/synaptics_tcm_reflash.ko

insmod /sbin/synaptics_tcm_recovery.ko

insmod /sbin/synaptics_tcm_diagnostics.ko

fi

XZ2 touch_id 3 and 7

XZ2C touch_id 4 and 8
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
Does touch drivers exist for XZ2P or only XZ2/XZ2C?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
First we need to know which touch hardware the XZ2P has.

But the service menu entry is empty at the moment, so we should wait for the new firmware update for the XZ2P

Maybe the October update will fix it?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
It said SIW touch.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I need a tutorial where to extract the files and which files to edit :(

The in the RAMDISK of your hacky twrp I don't find it.

Edit:

I search now in the ramdisk with sudo grep -R clearpad_core.ko .

maybe i find the right files / init.rc scripts.

Edit1:

Ah.

The ./init.rc:service set_permissive /sbin/permissive.sh executes the mentioned permissive.sh script.

The /sbin/permissive.sh contains the needed values.
[MENTION=6844550]M-Rom[/MENTION] THANK YOU!

Btw [MENTION=599722]niaboc79[/MENTION] in the permissive.sh is the value 'setenforce 0'

If we still need to set the selinux context to permissive (i hope not), I can activate it with the "twrp installer zip", after I fixed the bash script.

(After the [MENTION=8363210]sToRm//[/MENTION] drm fix works and I can unlock my phone)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
So lets check.

In your premium device, is there any file under /vendor/lib/modules/ containing the word SIW?

Or better

list every file with ls for me.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
I tried searching for siw, touch but nothing, when search for Is it found siw_touch-input.idc in the /vendor/user/idc folder.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Which files are in /vendor/lib/modules/ ?

The phone needs a touch driver. :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
You don't need the permissive.zip if you are using XperiFIX. It does it's own job with this. ;)

The problem I found is that the boot image patching doesn't work. Have to check XperiFIX flasher and maybe change something there. Just had to get some sleep, hahaha...

---------- Post added at 12:07 PM ---------- Previous post was at 12:06 PM ----------

Pscht! Hahahaha...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
Attached screenies.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yes, but not everyone uses your fix :P

Woohooo, I hope the sleep helped you. :D

I am so excited that you will fix it. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thx, could you put a list with

adb shell

ls /vendor/lib/modules/

in this forum ? :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
Duh, I thought it was is and not Ls.

Damn you uppercase i being same as lowercase L

Anyway, here.

127|H8166:/ $ ls /vendor/lib/modules/
ls: /vendor/lib/modules//fpc1145_platform.ko: Permission denied
ls: /vendor/lib/modules//llcc_perfmon.ko: Permission denied
ls: /vendor/lib/modules//modules.dep: Permission denied
ls: /vendor/lib/modules//mpq-adapter.ko: Permission denied
ls: /vendor/lib/modules//mpq-dmx-hw-plugin.ko: Permission denied
ls: /vendor/lib/modules//msm_11ad_proxy.ko: Permission denied
ls: /vendor/lib/modules//nxp_pn553_nfc.ko: Permission denied
ls: /vendor/lib/modules//pinctrl-wcd.ko: Permission denied
ls: /vendor/lib/modules//powerkey_forcecrash.ko: Permission denied
ls: /vendor/lib/modules//qca_cld3_wlan.ko: Permission denied
ls: /vendor/lib/modules//rdbg.ko: Permission denied
ls: /vendor/lib/modules//snd-soc-sdm845.ko: Permission denied
ls: /vendor/lib/modules//snd-soc-wcd-mbhc.ko: Permission denied
ls: /vendor/lib/modules//snd-soc-wcd-spi.ko: Permission denied
ls: /vendor/lib/modules//snd-soc-wcd934x.ko: Permission denied
ls: /vendor/lib/modules//snd-soc-wcd9xxx.ko: Permission denied
ls: /vendor/lib/modules//snd-soc-wsa881x.ko: Permission denied
ls: /vendor/lib/modules//sony_camera.ko: Permission denied
ls: /vendor/lib/modules//ssw49501.ko: Permission denied
ls: /vendor/lib/modules//ssw_mon.ko: Permission denied
ls: /vendor/lib/modules//swr-wcd-ctrl.ko: Permission denied
ls: /vendor/lib/modules//tcs3490.ko: Permission denied
ls: /vendor/lib/modules//texfat.ko: Permission denied
ls: /vendor/lib/modules//tof_sensor.ko: Permission denied
ls: /vendor/lib/modules//tspp.ko: Permission denied
ls: /vendor/lib/modules//wcd-core.ko: Permission denied
ls: /vendor/lib/modules//wcd-dsp-glink.ko: Permission denied
ls: /vendor/lib/modules//wil6210.ko: Permission denied
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
[MENTION=5479767]machao44[/MENTION] your twrp works only in Chinese, it gets stucked if we choose other languages. Could you fix this ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you :)

I think it will takes more investigation after the twrp for the XZ2 and then the XZ2C is stable (fixing tarp installer, switch language to English).

Or someone who has enough know how wants to hack the XZ2P?

I am not sure if it is still a part of the Tama Plattform.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
DRM ????

It says it's part of tama in the service info.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Maybe it works after adding TCM drivers. :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
Wouldn't it be worth to try xD?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yeah, after doing my housekeeping tasks :p
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
I understand the XZ2 is a priority. Shame there's only you. It kinda surprises me tbh!

I already feel bad for Sony XZ3 users.

So I guess the only solution is for you to clone yourself.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Hihi thank you :)

I should ask my gf if she wants a baby

A minime :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] M-Rom:
tcm if the touch fails

restart cellphone

:)

I am still testing

It should be ok

https://mega.nz/#!xsxz1ACR!5lFry_7LDbEE6MuR16eKiGKChQq0vtOQoMIr0O0B5Hk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] M-Rom:
Work in English

You can try again

Fix tcm touch

Two xz2c are borrowed from the user. I will return it when the user needs it.

https://mega.nz/#F!dphRQabL!w6_pynFjz1GZ1nAdFpC3fg
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Can't download attachment

HTTP 404

But thanks in advance :)

Will now modify the permissive.sh and add the other .ko files, after I did download the newest H8324 firmware. (XZ2c; will work with H8314, too)

Btw. I will download the aurora/XZ2P H8166 firmware, too.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Doublepost
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] M-Rom:
Please understand that our China's network access is unstable. :(

https://mega.nz/#!xsxz1ACR!5lFry_7LDbEE6MuR16eKiGKChQq0vtOQoMIr0O0B5Hk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
sbin is included?

So i will reactivate adb again and insert the right fstab files.

thank you :)

Edit:

Yes, the last sbin file is included in the last img file ramdisk :)

I will integrate my changes again and reupload the files onto google drive nad make a new News entry.

Please be patient. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
06.10.2018
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
According to the Sony AOSP is the XZ3 part of our TAMA plattform.

Where I still don't see any sign of the XZ2P.

Maybe its hardware is different.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
So it's using black magic, ok.

I'm willing to try anything though, so maybe installing xz2 touch drivers works.

I just don't understand how it can work if there's no drivers? Are they hidden or what.

Under HW Config rev it says HWC_Tama_Com_001
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The naming of the files is different maybe.

So there need to be some diagnostic.

But what's wrong with black magic?

Your device is stronger.

Maybe that means you're using hardware revision 1 of the Premium model.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
Brb, buying another XZ2P and a XZ3 for good measure :silly:.

I did pre-order the phone from Sonys own webshop so.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
So this is the freshest they had.

Could you buy a XZ3 for me, too?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] M-Rom:
xz2p and xz3 should be these

xz2p

ssw49501.ko

ssw_mon.ko

/sys/devices/virtual/input/siw_touch_input/init_late_session 1

xz3

atmel_mxt640u.ko

/sys/devices/virtual/input/lge_touch/charge_out 1

https://mega.nz/#!o4pzTAoC!3bqyNlXyea_bDHFfItlHNld_25OdN2YH0G60hS1ZA5U
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
If that makes the touch work in twrp for XZ2P I will personally apologize for being suspicious/hostile to you.

Will definitely donate when I get money as well.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
https://xdaforums.com/xperia-xz2/de...-3-2-2-0-touch-recovery-t3821597/post77810201

[MENTION=4530014]VeixES[/MENTION]

[MENTION=4898998]Klaus N.[/MENTION]

[MENTION=5231789]nreuge[/MENTION]

[MENTION=599722]niaboc79[/MENTION]

[MENTION=2902434]Pandemic[/MENTION]
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
No the chinese language in twrp, we need english !

---------- Post added at 04:07 PM ---------- Previous post was at 04:05 PM ----------

Where is the link then and cant we flash the twrp fix ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
No like, I was just joking that the Chinese language acted as a DRM so it wouldn't be tempered with :P.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Third post, standard download link. :)

Twrp zip installer bash script need to be fixed.

At the moment we need to flash the IMG via Fastboot. :)

Will fix it after [MENTION=8363210]sToRm//[/MENTION] fixes his drmfix.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Hmm oke and you know i dont need to wait on that drm fix ^^
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
I remain out of this topic for the moment, I think I have already done my share :silly:

Good luck, I'll keep an eye :)

BTW, you know that all is now fixed on my device, even the DRM**** ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Oh this new build is about to look if the twrp is in English and possible touch problems with the TCM akari xz2 touch models are solved. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
English twrp is included there? Anything else? I am already used to the chinese version and would prefer to have next flash with potential drmfix working.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It should include the English twrp and if you had Touchproblem, they should be solved. :)

For the storm DRM fix, we need to wait for the fixes from [MENTION=8363210]sToRm//[/MENTION]

But only after storm fixes it, I will unlock my phone and repair the twrp installer zip file. :)

Then I will work on my own twrp build, so it can be used instead of the m-rom twrp hack from OnePlus6.

So we get a reproductable twrp with the Omni sources and my open source device files.

And it will be easier to migrate it to android pie.

Plus the twrp developer would build the twrp. Images for me.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
PS if you need twrp, you should wait with the android pie upgrade, until we get a working pie twrp.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
No then we can use [MENTION=6844550]M-Rom[/MENTION] his twrp, its in chinese so we hope, he add english language but so far all good on my xz2 ^^
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
How you know if exchanging the kernel will make this twrp ramdisk compatible with pie?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Michele2:
could you make the same unofficial port also for xz2 compact? I'll test...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Of course :)

Wait a little :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Oh XZ2 Compact has EXACTLY the same kernel as the XZ2.

I wouldn't wonder if you could flash a XZ2Compact firmware on your XZ2.

Keep a look into the download link posted in the third post and follow these steps:

1. Clean flash (Reinstall the firmware and wipe userdata)
[b]or[/b]
1.1 fastboot format cache
1.2 fastboot format userdata

2. Fastboot flash twrp-xz2c-fixed-fstab-fixed-security.img
3. Fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
4. Reboot into recovery
5. Twrp flash stock kernel xz2c_51boot.zip
7. Install drmfix by storm// [b]or[/b] m-rom
8. Twrp flash magisk-v17.1.zip
9. Twrp flash permissive.zip
10. Reboot into system

TWRP will be lost, but you should get root and a dowking drmfix.

(@storm// need to fix his drm fix, it doesn't work correctly at the moment)

PS:

[MENTION=5527402]Michele2[/MENTION] please report if it works.

Then I will make a Project Thread in the XZ2c forum with the build and the right informations.

I will be excited, if the XZ2c owners can use it. [MENTION=3142060]old.splatterhand[/MENTION]
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
I dunno about Pie, we need to wait on Pie what comes next month.

But i can remember you tokd me on whatsapp that it should work on Pie also.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
Aren't both made by Storm just that one is older and that's how M-Rom got it?

Was it also that the old one is considered dangerous for xz2?

If twrp and drmfix works what is there to fix? I guess you would rather use the newest drmfix plus your own twrp?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I did? Oh.

Definitely I would test if using the newer kernel will work with the TWRP.

But maybe I would need to recompile TWRP with the newest omni pie 9.0 sources.

But in any case I will recompile TWRP for the oreo 8.0 version and write working device sources.

So i can adapt things without decompressing img files and other stuff.

I want that everyone could use the sources to compile TWRP on his own.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Because this I am scared, don't use the old drmfix and wait for [MENTION=8363210]sToRm//[/MENTION] .

I paid money for the device. I don't want to destroy it with a low level drm hack.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
That's what I thought but weren't sure.

So the other guys have it working but with old drmfix.

It sounds better to wait for proper fixes.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] old.splatterhand:
I follow this thread constantly and i'm in as soon as root & drmfix are working!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Yeah you did m8, shall i send a screenshot or do you read back on whatsapp ? But oke like i said we need to wait on pie ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It's fine :)

Let's see what pie will bring and if we need to fix things. :)

So I would wait and not flash the pie updates asap.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
No not with only old drm fix, new drm with maybe 2 a 3 files what is old but not so old and it works without issue or struggles or anything similar, i use the chinese drm fix and works as a charm ;) we only need an english twrp or better with all languages !
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The newest build should be English.

If someone wants to test and report it. :p
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Better [emoji12]

Flash all you want in system partition, it will never kill your phone.

The extra fix might cost more due to extra work you know [emoji1]

Envoyé de mon iPhone en utilisant Tapatalk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
:laugh:

And seriously, on a juridical point of view, I'm not sure he has the right to sell a code which is against Sony policy.

But let's not start a war...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
You’re right

I respect everyone choice. Even if I don’t share point of views...

Envoyé de mon iPhone en utilisant Tapatalk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
Just a short report:

I did a fresh install, but now my device stucks a 4. (it went into TWRP, but it freezes, means, I can't swipe to the right...)!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] drowningchild:
THIS right here :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
True and agree with that and bro [MENTION=599722]niaboc79[/MENTION] see pm ;)

---------- Post added at 08:58 PM ---------- Previous post was at 08:52 PM ----------

Oke now kinda OT question because some have root now:..

Does substratum works now or ? I am curious bout that :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
Is the latest twrp-xz2-2c-fixed-fstab-fixed-security.img for tcm touchpads?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It should include both.

Tcm and clearpad.

There is a if condition in the file which choose it. [MENTION=6844550]M-Rom[/MENTION] wrote it. Maybe the if condition is wrong.

But is it in English now?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
No, it's still Chinese - and the display doesn't react when touching :eek:

...therefore I guess, it's now only for tcm - and not for clearpad displays!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Then use the older build please :) . The only change was his attempt to make it an English and to add TCM drivers which are activated by an indicator.

But I need to fix it after I've got the DRM fix from [MENTION=8363210]sToRm//[/MENTION]
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
OK. Could you please provide me the latest one before the attempt? vbmeta hasn't changed?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It is the previous folder on Google drive :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
But now I've got the same behaviour as yesterday - NO drm fix, and no TWRP!

---------- Post added at 23:56 ---------- Previous post was at 23:52 ----------

I give up for today...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The twrp installer doesn't work, because of a bug in the installer script

The DRM fix doesn't work because of [MENTION=8363210]sToRm//[/MENTION]

But if you flash the twrp img and in the twrp the boot.zip, then you can install everything via twrp.

The twrp works but is not persistent :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Why you mention [MENTION=8363210]sToRm//[/MENTION] so much ? Damn !! Lol
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Because I paid money for [MENTION=8363210]sToRm//[/MENTION] 's drmfix.

So I want to mention [MENTION=8363210]sToRm//[/MENTION] as much as I can mention [MENTION=8363210]sToRm//[/MENTION] to disturb [MENTION=8363210]sToRm//[/MENTION] , until [MENTION=8363210]sToRm//[/MENTION] fixes [MENTION=8363210]sToRm//[/MENTION] 's drmfix , [MENTION=8363210]sToRm//[/MENTION] advertised months ago on [MENTION=8363210]sToRm//[/MENTION] 's blog as a working solution :silly::silly::silly::silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Damm give that man some rest -__-
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It won't steal his rest.

He has a live aside of XDA and can easily ignore the mentions. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Hahahahahahahahahaha... Stop it bro. I **** bricks... Hahahhaha...

The DRM fix isn't the problem. It works. But the boot image patch routine doesn't work actually. Same problem with the TWRP installer. I'll send you a pm later. Maybe we get it fixed together.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
Nvm.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you. :)

I'm sure we will. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
[MENTION=8363210]sToRm//[/MENTION]
[MENTION=6031898]MartinX3[/MENTION]

I'm absolutely sure you will rock it :svetius::svetius:

My device is already on its mark :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Or I need to use the working "old" drmfix which is able to modify this device correctly with this twrp, [MENTION=8363210]sToRm//[/MENTION] :P
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Oh XZ2Premium has EXACTLY the same kernel as the XZ2.

I wouldn't wonder if you could flash a XZ2Premium firmware on your XZ2.

(Yes, of course the vendor drivers won't work., but SONY is hardly using treble.)

Keep a look into the download link posted in the third post and follow these steps:

1. Clean flash (Reinstall the firmware and wipe userdata)
[b]or[/b]
1.1 fastboot format cache
1.2 fastboot format userdata

2. Fastboot flash twrp-xz2premium-fixed-fstab-fixed-security.img
3. Fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
4. Reboot into recovery
5. Twrp flash stock kernel xz2Premium_51boot.zip
7. Twrp flash magisk-v17.1.zip
8. Twrp flash permissive.zip
9. Install drmfix by storm// [b]or[/b] m-rom
10. Boot into fastboot mode.
11. Fastboot flash vbmeta vbmeta.img
12. Reboot into system

TWRP will be lost, but you should get root and a working drmfix.

PS: [MENTION=8004595]FartyParty[/MENTION] please report if it works.

Then I will make a Project Thread in the XZ2P forum with the build and the right informations.

I will be excited, if the XZ2P owners can use it.

And again, thank you [MENTION=6844550]M-Rom[/MENTION] ! 謝謝

Edit: Investigating if the XZ2P bootloader is locked and can't boot a modified boot image.

Because vbmeta.img need to be flashed again to enable verified boot or the device will get a bootloop.

https://github.com/sonyxperiadev/bug_tracker/issues/197
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Doublepost. Thanks to the slow XDA servers. :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Did anybody complain about the not mounting sdcard?

The fstab was wrong for the XZ2P.

I wonder if the sdarc is mountable in the XZ2 and the XZ2C in TWRP?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
[MENTION=8363210]sToRm//[/MENTION]

shouldn't it be the init.secd.rc you are searching?

Is this file there, too?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
No SD card isn't mountable.

Envoyé de mon H8266 en utilisant Tapatalk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Will be fixed with the next build.

Or is it important?

I will unlock my phone now and install the chinese drm fix.

Until storm fixed his.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Yes it's important [emoji16]

Envoyé de mon H8266 en utilisant Tapatalk