yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Guides, News, & Discussion] sam.foro:
ROM下载地址

刷完rom刷补丁

ROM下载地址

本帖隐藏的内容

链接：https://pan.baidu.com/s/1zTxXg4IAH4Hdby8IQcdCJA

提取码：co68

ROM补丁与升级包

3D大师等插件

本帖隐藏的内容

链接：https://pan.baidu.com/s/1dGtD0uX

密码：4auv
[Sony Xperia XZ Premium Guides, News, & Discussion] Devil0Pr:
Dirty flash to update? Is there a link?
[Sony Xperia XZ Premium Guides, News, & Discussion] sam.foro:
Uploaded to mega

https://mega.nz/#F!MNYGhKhR!OtCS6j-YBXaxcDI1sa7FlQ
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Thank you my friend
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Thanks mate!!!

Any chance you could share the latest OREO version as well? It would be greatly appreciated.

http://bbs.gfan.com/android-9530324-1-1.html
[Sony Xperia XZ Premium Guides, News, & Discussion] Omega200:
If i have 8141 do i have to flash fw for 8142 and then m rom? Or i can flash m rom directrly on 8141 fw? Sry for noob questions.
[Sony Xperia XZ Premium Guides, News, & Discussion] uditrawat:
https://drive.google.com/open?id=1LKGSFqKoq5WuAhv_WrcK41IAJ1dNWIvz
[Sony Xperia XZ Premium Guides, News, & Discussion] Indashio:
I have many problems with this version. 1.0 working good, but 1.1 works slower and some sliders and icons are missing side sense have settings icon but Bluetooth and rest on down they are invisible colorless. And the biggest problem after adding fingerprint and restart phone I have a black screen after starting system Problem with system.ui I think

I tried many installation methods. For version 1.0 Pie after wipe factory reset and flash 1.1. And I flash version from xperifirm 47.2.A.2.33 and then flash by twrp but still with bugs

I had to go back to version 1.0. Version 1.1 is unstable. Maybe I did something wrong, but I doubt it. How is your situation?
[Sony Xperia XZ Premium Guides, News, & Discussion] Elysiumx:
I flash .33 CE firmware, twrp, flash rom, fix, gapps, magisk 18, module permissive

After boot, i let settle the rom, delete chinacrap app, restore Titanium backup backup and flash different module

Now it's seems smooth, maybe a little worst compared to 1.0, but still ok

For battery it's to soon for a feedback

I have no problem for system ui, xz3 clock works perfect , no crash no freeze
[Sony Xperia XZ Premium Guides, News, & Discussion] Indashio:
And you add fingerprint ?
[Sony Xperia XZ Premium Guides, News, & Discussion] Elysiumx:
Yeah, finger + pin
[Sony Xperia XZ Premium Guides, News, & Discussion] lGIKDk:
please add korean volte
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
Anyone noticed on 1.1 version delay if you want back at home screen while pressing hone button?
[Sony Xperia XZ Premium Guides, News, & Discussion] Elysiumx:
Yes, a very little delay
[Sony Xperia XZ Premium Guides, News, & Discussion] SilverGamer_YT:
Meh for me less than Oreo
[Sony Xperia XZ Premium Guides, News, & Discussion] Sgellz:
Keep getting green icon flashing on top left corner after flashing rom
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
Guys 1.2 is out.

Changelog:

Updated to 47.2.A.4.41

Remove the one-hand mode (this will cause the home button to react slowly, take the time to repair it and add it back)

Graphic brush machine

Optional streamlining

Other adjustments
[Sony Xperia XZ Premium Guides, News, & Discussion] SilverGamer_YT:
Is it on Google drive or mega?
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
[MENTION=8946654]uditrawat[/MENTION]

Could you please share the latest pie build please? It is upto v1.2 now.
[Sony Xperia XZ Premium Guides, News, & Discussion] uditrawat:
sir i have paper this week i will download it in coming week
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Thank you sir! Whenever you find the spare time buddy, there is no need to rush
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Downloaded V2

I will upload it to drive and share the link

But not today
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
[MENTION=6107327]Indashio[/MENTION]

Can you upload the rom somewhere please and share the link?
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
I don't have the link to the newest rom atm. Can ask some friends from z5 forum, maybe they will share link.
[Sony Xperia XZ Premium Guides, News, & Discussion] Indashio:
Download this app on your smartphone if you dont understant chinesse https://android.myapp.com/myapp/detail.htm?apkName=cn.net.gfan.portal&ADTAG=mobile

And open website with rom in this app : http://bbs.gfan.com/android-9535577-1-1.html

then you see password to this files without captcha

Add tempermonkey addons to your Chrome in pc and download rom with idm
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Tomorrow i wil upload
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
Gonna share link to gdrive in 30 minutes.

Edit:Here you go my xperia brothers :cool:

https://drive.google.com/open?id=1ZXuQWnfbStqklp3ZCnixVN09Ry_vVhDf
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
https://drive.google.com/file/d/14K-8KDf6GQDMbwxQZXv77O-1eMSiSoy0/view?usp=sharing
[Sony Xperia XZ Premium Guides, News, & Discussion] megaxp:
how to translate menu aroma?
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Unzip and modify the Aroma config, or wait a while and i will do it by tonight
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Decompress the ROM zip

Download then extract the META-INF folder below

Copy META-INF folder into ROM files (replace old folder)

Re-compress the files

Profit

Some minor text is still Chinese. Google Translate all the way. Dont blame me for confusing ****.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Anyone with v1.2 has error in settimgs name and some text in settings.

Any laggs after installing gapps

Installed gapps and phone is slow deleted all chinease app and still lagg
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
I have exactly same thing, that's why I installed again m-rom oreo.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
No settings issues here

Overlays are the problem with lag. I deleted heaps from system/vendor/overlay and some at oem/overlay.

I didnt flash gapps, the selection in aroma worked for me, but I found magisk 18 beta was causing all sorts of issues. I use magisk v18 stable
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
Can you point out which one overlays should be deleted to get rid of lags?
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Use the photo above
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
In /oem/overlay they have same names as in vendor/overlay?
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Sorry here is a pic of the oem folder
[Sony Xperia XZ Premium Guides, News, & Discussion] megaxp:
i used your archive with no problem thanks for sharing.

i upload ROM without chinese apps, and i don't find a solution for fix model.

https://drive.google.com/file/d/14QIB4VG27AHaVjHBKgJI8GUpevaMs6Zr/view
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Do you mean G8141/g8142?

Unzip and copy the build.prop below to /system and change permissions to r-w-r-r with a root explorer. This will change model to G8141 in about phone
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
After deleting overlays I have a issue in settings witch connection preferences. When I open up settings, open device connection>connection preferences phone freezes for a while. After that screen goes blank for 2-3 seconds and tab opens up. Do you have same issue [MENTION=5503871]Beetle84[/MENTION] ?
[Sony Xperia XZ Premium Guides, News, & Discussion] Sgellz:
gapps

Which gapps do I use with this rom do I need to install gapps
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
V1.2 takes more time more than 2min to boot

Anyone has this startup lagg

Phone still laggy

In v1.2

Settings has some error (screenshot attached)
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
Yeah booting up takes more time comparing to stock but I don't have problem with names in settings. No lags after deleting overlays and some time.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
My settings didnt have that, did you clean install or dirty flash it? Long start up is related to deodexing
[Sony Xperia XZ Premium Guides, News, & Discussion] beammer335d:
All good here also.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
I never tried once I deleted the overlays I think. Im on Oreo 1.9 now so I cant test
[Sony Xperia XZ Premium Guides, News, & Discussion] Mobfigurz:
Would the latest version work with .306?

I ask because I want Wifi calling and my network provider has only released .306.
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
It won't work beacuse 1.2 version is based on 47.2.A.4.41. If you want use m-rom on .306 you need to install 1.0 version
[Sony Xperia XZ Premium Guides, News, & Discussion] amakuramio:
Do you have link to baidu folder? Its missing xposedfix.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Use the 1.8 xposed fix, any earlier versions will bootloop.

https://mega.nz/#!HVx0RKbD!xIGYMhl3G_C24j2cW0JuWo2Ph1Rg2OyIwOafvdnasAk
[Sony Xperia XZ Premium Guides, News, & Discussion] amakuramio:
Thanks, do you have link to full folder too? From the chinese forum. The thread was closed
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
No sorry, [MENTION=2692828]sam.foro[/MENTION] may have if you are lucky
[Sony Xperia XZ Premium Guides, News, & Discussion] Elysiumx:
Edit : link don't work anymore

I will upload the fix for u

https://drive.google.com/open?id=1C0ZOaf4ZmyBzOI3xH6Nqs6MqiJLo76UI
[Sony Xperia XZ Premium Guides, News, & Discussion] amakuramio:
I sold my xz premium, but missed it... so I downloaded everything and went to the shop to buy it back but they refused ;(
[Sony Xperia XZ Premium Guides, News, & Discussion] Elysiumx:
1.3 is out

Changelog :

Mobile Unicom Telecom volte card 1 card 2 can be (refer to the iovf modification, thanks)

Call, call, dial, record display attribution

Add back one-hand mode (corrected)

Replace the XZ3 camera app (nothing to improve, someone feels better)

Increase the volume of the external release

Screening function correction

Update app

Other adjustments

Download :

https://pan.baidu.com/s/1Ybwxyf9XWkAI-aR1pEW4ZQ

psw : uu05
[Sony Xperia XZ Premium Guides, News, & Discussion] rainjov30:
Upload please to google drive ??
[Sony Xperia XZ Premium Guides, News, & Discussion] Elysiumx:
Sorry but i have ****ty internet at home so it's a problem for me to upload large file

If someone don't upload until tuesday i will upload with univerisity wifi

Rom seems much more smooth than before.
[Sony Xperia XZ Premium Guides, News, & Discussion] rainjov30:
Thank you in advance. ?
[Sony Xperia XZ Premium Guides, News, & Discussion] rainjov30:
I tried to download it on the Chinese website but it asking me to create an account.
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
Gonna upload today at the end of day/tommorow both newest versions of m-rom(pie and oreo)

Stay tuned.
[Sony Xperia XZ Premium Guides, News, & Discussion] arslancn:
hi,

can u upload for xz1 too? it will be really appreciated.

thanks
[Sony Xperia XZ Premium Guides, News, & Discussion] rainjov30:
Not all hero wears cape. ??
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
Yeah, Can upload as well. Do you need magisk folder for xz1/xz1c and only pie version or both as xz premium?
[Sony Xperia XZ Premium Guides, News, & Discussion] arslancn:
upload both version if u have time, if u dont have time, just upload pie version bro :D

thanks in advance!

and one question, can u explain how to download roms from bbs.gfan?
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
Actually some time ago somehow I created account and I download files by using baidunetdisk. To show url and password you need to download bbs gfan apk for android.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
V1.3 faster and less lagg than v1.2

Flash v1.3

Flash gapps

Reboot

Force turn off

Flash magisk then reboot
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
Due to slow downloading from baidu and actually I forgot to leave computer for the night, I uploaded only pie version for xzp.

Link:https://drive.google.com/open?id=10lV9SePwvjDefWD-cKuGinaYCEzy-vt_

This is whole folder so stay tuned, I will upload here oreo version and XZ1 roms.
[Sony Xperia XZ Premium Guides, News, & Discussion] Elysiumx:
Front stock camera Is working for u?

Mine freeze when i switch to front

Fix It by install camera of 1.2 version
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
There's a Xpie_1.3fix.zip which contains new camera maybe this will fix problem with camera?
[Sony Xperia XZ Premium Guides, News, & Discussion] rainjov30:
Thank you. ?
[Sony Xperia XZ Premium Guides, News, & Discussion] Elysiumx:
I Will try later, i think It Will work

Thank u :)
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
The 1.3fix zip DOES fix the front cam
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Thanks for sharing, if you ever get the chance or are lucky enough to create another account for Baidu (I have gfan), I have half decent internet to up/download.

I agree, v1.3 is really fast. [MENTION=2902434]Pandemic[/MENTION], your Oreo font zip is working like stock (perfectly) on these Chinese roms (m-rom v1.1+) for XZP pie, the pie zip you shared doesnt appear to work though lol :p).

Below is a flashable zip (v1.2 or 1.3 only) for rounded recents menu. I also closed up the gap between signal and battery and clock and notifications.
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
I can try create another account. If not I can give mine :)

I think it's app pan baidu netdisk app limitation due to free account(avg download speed 100-150KB/s), but maybe I'm wrong. As I said I will try to create account.
[Sony Xperia XZ Premium Guides, News, & Discussion] SilverGamer_YT:
can u send me the link for the gapps ?
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
Just go opengapps.org and download package.
[Sony Xperia XZ Premium Guides, News, & Discussion] SilverGamer_YT:
ah ok thanks witch version should i use arm 64 ?
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
Yeah arm64. Nano,pico etc. just contains less or more google apps.
[Sony Xperia XZ Premium Guides, News, & Discussion] Elysiumx:
Thanks for rounded recents :)

You can download gapps from here :

https://opengapps.org/

Be sure to pick arm64 9.0 and select the variant that you prefer (i used super)
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Thank you, you could try download accelerator plus (DAP) or ninja for Windows, they can download the same link up to four times at once at close to your top d/l speed.
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
That's nice. Does gfan account is required for that? If not could you pm me and give instructions for that :silly: ? But anyway I will try to create account for you.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
For camera fix use xzp camera mod

https://xdaforums.com/crossdevice-dev/sony/mod-xperia-xz2-camera-port-xperia-xzs-t3771889

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

Use this mod

https://xdaforums.com/crossdevice-dev/sony/mod-xperia-xz2-camera-port-xperia-xzs-t3771889
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
Uploaded Pie version for XZ1+magisk(not icluding xz1 compact, not enough time + I won't have acess to computer to the end of week).

Sorry bro, I'm not able to create account. Now it requires a phone number(does not includes mine starting with +48), but anytime I can give you mine if u want to. I tried dap and ninja but for me it just download baidu netdisk.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
delete camera folder SemcCameraUI-xxhdpi-release from 1.3 befor the mod
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
I'm gonna use you camera mod anyway but I can delete folder.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
I have problem with theme

Theme fc when trying to enter
[Sony Xperia XZ Premium Guides, News, & Discussion] Pandemic:
Then you probarly deleted updatecenter.apk
[Sony Xperia XZ Premium Guides, News, & Discussion] arslancn:
Thank you so much bro!
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
No

Now i copied the oat folder with permission to updatecenter folder

I can see theme but can't change

Any help
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Did you delete any system apps? As pandemic said deleting updatecenter.apk can cause this or deleting Xperia lounge has done it to me before.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
I will check if xperia lounge has causing this .

Stock 4.41 has no problem when deleting xperia loung.

Thank you for help i will try and reply
[Sony Xperia XZ Premium Guides, News, & Discussion] Shellyaffff:
Calling app won't let me make calls from contacts but can directly by dialling number no application found to view this contact
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Use gapps

Google dialler is fine

This rom contain a ton of garbage app

Sound is lower than stock

I restore to my stock 4.41

Faster than v1.3

V1.3 Antutu 192670

Stock 4.41 209568

Same app and same phone
[Sony Xperia XZ Premium Guides, News, & Discussion] arslancn:
in xz1, aroma ui does not showing on twrp. any idea?
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
Probably twrp which you're using doesn't have aroma patch.
[Sony Xperia XZ Premium Guides, News, & Discussion] Elysiumx:
Do u flash a twrp with aroma support?
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
After deleting bloatware, phone works fast.

Screenshot from antutu in attachments.
[Sony Xperia XZ Premium Guides, News, & Discussion] Elysiumx:
200k here, i am agree with you

For me the rom feels smooth and fluid and battery is ok (not amazing)
[Sony Xperia XZ Premium Guides, News, & Discussion] arslancn:
i dont see anywhere a twrp with aroma support for XZ1(G8341)..
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Can you share what do you delete
[Sony Xperia XZ Premium Guides, News, & Discussion] Yanun:
All apps in priv-app starting with tg and from solid explorer>system apps, all apps with chinese letters.
[Sony Xperia XZ Premium Guides, News, & Discussion] megaxp:
- edited
[Sony Xperia XZ Premium Guides, News, & Discussion] Pandemic:
Kinda nice but did you ask us 1st ?

I saw no pm in my inbiz and also sure not by my RXS brothers [MENTION=5503871]Beetle84[/MENTION] and [MENTION=5327840]karrouma[/MENTION]... I get so tired of this -____-"
[Sony Xperia XZ Premium Guides, News, & Discussion] megaxp:
You're right, I'm sorry for not asking.

I will delete the file.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
For me no problem to use the cam port.

Do what you want
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
I dont mind whatever file you use, they're really someone elses files that I modified anyway...
[Sony Xperia XZ Premium Guides, News, & Discussion] megaxp:
no problem, I edited the TWRP translation file and improve some parts in Chinese that I had.

sry for the inconvenient.:fingers-crossed::fingers-crossed:
[Sony Xperia XZ Premium Guides, News, & Discussion] rainjov30:
Since you got already permissions from our beloved modders. You can now reupload the rom. With no Chinese apps, english aroma and with XZ3 camera port from sir karrouma..except the soundmod since we don't get the permission from sir pandemic ? Upload it please and we will wait for you and expect our sincerely thanks ?
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Heres the 1.3 build prop for G8141. Add it to your zip if you want. Anyone else, unzip and copy to /system with 0644/R-W-R-R permissions.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Added all the main download links to the second post on the first page. All the addons for v1 have been removed (is anyone still using that?) and all the other addons and aroma scripts for 1.1 to 1.3 are scattered about still until I fix up post three. Cheers to all the uploaders, without you guys it would be pretty boring.
[Sony Xperia XZ Premium Guides, News, & Discussion] megaxp:
Thanks! i just uploaded file 1.3 with the modification of the build.prop.

the rom is clean of sony and chinese applications.

***stock rom includes gboard and no Chinese keyboard***

ROM for G8141: https://drive.google.com/file/d/1TEs29YsHeXwxjDUfx1S2R8luJaj3jv_t/view?usp=sharing

ROM for G8142: https://drive.google.com/file/d/1ZMVlbxAMmUzfh5lI8B9iIu_eZH7bkry2/view?usp=sharing

*Optional install mod nav pill gestures*

Download link: https://drive.google.com/file/d/1n_1Q5lGSbMiDBKCdgtmP3ft93YUT0C43/view?usp=sharing

- in adb place this command -> adb shell settings put secure swipe_up_to_switch_apps_enabled 1

- Restart phone.

Notes: fix as main launcher Launcher3QuickStep, if they occupy sony launcher next to the mod will have unexpected closures because the sony launcher does not support the gestures and closes.

***the steps of install***

0. Clean Installation stock FW

1. Wipe - Swipe all data factory

2. Wipe - Advanced Wipe - Dalvik - System - Cache - Data

3. Install ROM

4. Reboot

***Changelog***

-fix of the front camera.

-English language for TWRP installation

-it was added build.prop model g8141

-Gboard

-Gmail

-Chrome

-Digital Wellbeing

-Fix bootloop on some devices
[Sony Xperia XZ Premium Guides, News, & Discussion] kountry83:
Is there a RR MOD for M-ROM V1. 1? If so would you mind uploading it please.

The reason I'm still using M-ROM v1. 1 47.2.A.2.33 is because I can't find a patched service.jar or modded secd for 47.2.A.4.41.

Thank you
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
V1.2 and v1.3 have patched superuser built in.
[Sony Xperia XZ Premium Guides, News, & Discussion] kountry83:
[MENTION=5503871]Beetle84[/MENTION]

Oh I didn't know that. So I don't need to flash a patched service. jar.

Thank you
[Sony Xperia XZ Premium Guides, News, & Discussion] rainjov30:
[MENTION=935147]megaxp[/MENTION] can you upload for g8142? Thanks ☺️?
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
No need, flash the ROM by megaxp's instructions then copy this (unzip first) to /system (r-w-r-r permissions)

Or decompress the ROM file. add it and recompress it.
[Sony Xperia XZ Premium Guides, News, & Discussion] rainjov30:
Nice one sir [MENTION=5503871]Beetle84[/MENTION] salute ?
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
If you or anyone wants to change the model in about phone from G8141 to G8142 or vice versa, theres a couple of lines to modify. In photo one, the first circled part will change the build number (in this case I changed out the 47.blah for M-ROM.....).

The second two circled parts change the model from G8141 to G8142, or 42 to 41.

Edited

The second photo only applies if you are using a G8142 build.prop editing to G8141. Applying the hash at the beginning of these 2 lines will cause signal/data for single sim devices to load faster after booting.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
V1.3 fix dosen't boot for me.

After sony logo i got black screen 1minute then restart
[Sony Xperia XZ Premium Guides, News, & Discussion] beammer335d:
Same here......G8142
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
I followed your instructions karrouma for the ROM installation, set everything up (apps/most settings) then realised the front cam didnt work. Then I flashed the fix zip. I have G8141 but its only a camera and it is a G8142 ROM after all so that isnt the issue.

When in the flashing/setup process are you guys installing it?
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Yes

Also tried to change the kernel but not booting