yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Tablet Q&A, Help & Troubleshooting] bam80:
Oh, I see.. Didn't know that
[Xperia Z2 Tablet Q&A, Help & Troubleshooting] xperiator:
Carbon CR 6.1 Error 7

Hi,

thanks a lot for doing this work - keeping Xperia Tablets still "alive"

I just tried to install the mentioned carbon ROM (castor version) on my SGP 521 tablet but the installtion process failed with error 7

now I found some information about modifying the updater script but I feel a little bit uncomfortable in doing it without confirmation by whom mdeveloped that ROM

Could you please indicate the right work around

Thanks
[Xperia Z2 Tablet Q&A, Help & Troubleshooting] Rusty_Gunn:
great to see this still getting updates, whoever maintains it, thanks for the great work! this is the only reason my tablet is still in use!
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Reserved
[Xperia Z2 Q&A, Help & Troubleshooting] koraymers:
Same reborn waiting for LOS too :D
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
LOS is discontinued

forever

.
[Xperia Z2 Q&A, Help & Troubleshooting] koraymers:
Sad story:(

So it means that you're gonna focus on only Carbon ROM, am I wrong?

-- That was the last question about LOS --
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Only CarbonROM and later Android O.
[Xperia Z2 Q&A, Help & Troubleshooting] berkcano:
What're yours Antutu Scores with this rom ?
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Benchmark sucks, not reliable and trustworthy.

Anyway, last time I checked it was about 60K for both F2FS and EXT4 file systems. But generally F2FS does performs way better which benchmark scores cannot symbolize.
[Xperia Z2 Q&A, Help & Troubleshooting] berkcano:
Yeah yeah. It's average score good one How about microphone problem while calling? Still ok google issue is there? (muted mic issue) and do you suggest weekly stable or test build? You know today already released a new weekly stable build?

Edit: One more question on my phone I cannot reach recovery without a custom kernel with custom kernel it performs very well on .291 build 6.0.1 marsh. Is it a problem to go Carbon Rom ? (If you ask, I flashed .291 offical build with flashtool )
[Xperia Z2 Q&A, Help & Troubleshooting] Hans_Werner:
I found a bug. Connect to a VPN via l2tp/ipsec psk works without any problems. A disconnect from VPN has the effect that the device restarts. It does not matter which built I am using. I happens every time.
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
1. For bugs, please refer to the bug list in OP, if its not there, then it is fixed.

2. No problem with TWRP here. Try clean install again(?).

It would be very helpful if you can provide some logs of the events, for instructions please refer to my signature.
[Xperia Z2 Q&A, Help & Troubleshooting] Hans_Werner:
Here you will find my VPN Logcat
[Xperia Z2 Q&A, Help & Troubleshooting] N.Y.Gazz:
Hi everybody . I'm on RR 5.8.4. To flash this rom, I really have to follow all the installation steps?

Xperia Z2

(RESURRECTION REMIX 7.1.2)
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
WEEKLY: Yes.

TEST: Dirty flash is okay.
[Xperia Z2 Q&A, Help & Troubleshooting] kuba130000:
Can we flash boot.img and recovery.img and rom zip directly on Resurrection Remix Nougat with full wipe or must back to stock and install this?
[Xperia Z2 Q&A, Help & Troubleshooting] raminta:
There is no need to back to stock
[Xperia Z2 Q&A, Help & Troubleshooting] rcstar6696:
I See a service crash but i need last kmsg and dmesg

Instructions for both are there http://xdaforums.com/showthread.php?p=23036410
[Xperia Z2 Q&A, Help & Troubleshooting] N.Y.Gazz:
Thanks friend[emoji6]

Xperia Z2

(RESURRECTION REMIX 7.1.2)
[Xperia Z2 Q&A, Help & Troubleshooting] viruskiller1991:
Hello

---------- Post added at 08:34 AM ---------- Previous post was at 08:28 AM ----------

I'm using the carbon ROM on my Sony xperia z2 since last 2weeks.

In this latest update the phone is getting extremely hot with normal usage.

Also there isn't any support for xposed. I tried twice as soon as is flash xposed framework I get stuck on carbon boot logo for long. Please do add xposed support for the ROM.
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Not until Xposed is officially released will we support it.

For the overheat issue, clean install again. No problem here.
[Xperia Z2 Q&A, Help & Troubleshooting] Hans_Werner:
See attached last kmsg and dmesg.
[Xperia Z2 Q&A, Help & Troubleshooting] viruskiller1991:
Done the same but still getting overheating and much battery drain

---------- Post added at 10:55 AM ---------- Previous post was at 10:51 AM ----------

Also recently found a bug,

WiFi suddenly turned off and when I tried switching it on it got stuck on turning WiFi on.
[Xperia Z2 Q&A, Help & Troubleshooting] rcstar6696:
Please don't use f2fs its not officially supported by us and Sony

Use ext4
[Xperia Z2 Q&A, Help & Troubleshooting] Hans_Werner:
Okay thanks' . But I am a bit confused now. I never used f2fs format. Formated every partition as ext4. See screenshot. If I have the time at weekend I will try wipe very portion and flash again.
[Xperia Z2 Q&A, Help & Troubleshooting] viruskiller1991:
Please do include change logs for the weekly updates.

Thankyou.
[Xperia Z2 Q&A, Help & Troubleshooting] J.M.Siyath:
you can see it in carbon's official site.
[Xperia Z2 Q&A, Help & Troubleshooting] xMasterbaitx:
Dear developers.

At carbon rom 08/22 after disconnecting wifi my mobile data can't work. After reboot so-so work,but need to only reboot. Any idea for what can I do :)?
[Xperia Z2 Q&A, Help & Troubleshooting] freekzak:
During calls people can't hear me well and if I use the open speaker people can hear their own voice ... echos e.t.c

This is happening with all lineage os based roms.

Any solutions ?
[Xperia Z2 Q&A, Help & Troubleshooting] viruskiller1991:
Hello folks i found some error, every time I flash this rom on my Sony xperia z2. Please see the attached screenshot.

Is something wrong m'i doing, should I take care of anything in feature.

Please suggest and reply for the doubt.

Thankyou
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Just ignore it or flash the modded TWRP provided in OP of the Dev thread.
[Xperia Z2 Q&A, Help & Troubleshooting] yenero:
3. Flash the Boot.img from ROM via fastboot (fastboot flash boot pathTo/boot.img)

4. Flash TWRP Recovery via fastboot (fastboot flash recovery pathTo/recovery.img)

I have 2 questions about that.

What does mean between parenthesis?

And there is so many options in fastboot mode on flashtool (select system to flash, reboot into flashmode, by doomlord or version 1.0 etc.) Which option is correct for "flash via fastboot"?
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Install adb and fastboot drivers system wide, run the commands in the brackets chronologically with adaptation. Want more information? Google is always there to help you.
[Xperia Z2 Q&A, Help & Troubleshooting] yenero:
Thank you for your help. I managed to install ROM. But my camera button doesn't work after flashing ROM. Is it knowing bug or i have to do something to work? Or is it only work on stock camera? Because i have a different camera app than stock.
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Camera button is disabled on most ROMs other than stock, including this.
[Xperia Z2 Q&A, Help & Troubleshooting] okij:
No, it's not disabled, it's just not fully implemented in CarbonROM yet (so e.g. focussing by half-pressing the button is already working with camera apps that support it).

But this issue is being worked on by Brett Montague ([MENTION=7372752]gtpitch[/MENTION]), look for his camera button related commits on the CarbonROM Gerrit. :)

Let's hope that these commits can be merged soon (I'm also waiting for this on my Z3c.) :fingers-crossed:
[Xperia Z2 Q&A, Help & Troubleshooting] Blackyx007:
Which custom kervel is compatible Würth this custom ROM:)
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
None at the moment.
[Xperia Z2 Q&A, Help & Troubleshooting] yenero:
After installing ROM my charge speed significantly decreased. I'm monitoring with a battery monitor app and it's says 500-700 mA/h. Takes about 4-5 hours to %100. It's was maximum 3 hours to %100. Battery life is same as before, about 4-5 hours without any tweaks. I'm on original charger and cable. I have tried different charger-cable and it's even worse - 250-350 mA/h. Battery tempeture is 35C. Can someone suggest me anything before i try stock ROM again for to be sure my battery is okay?
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Use a tablet charger rating at about 2A output.
[Xperia Z2 Q&A, Help & Troubleshooting] DiogoSilva48:
It's better to buy a branded charger, right? A cheap one can damage our phone ? I wanted to buy one from Xiaomi but I don't know if I can trust those sellers.
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
I use a Samsung one's.
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
This should be fixed long time ago.
[Xperia Z2 Q&A, Help & Troubleshooting] freekzak:
I agree with you but do you have anything to suggest so I can fix it ?
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Clean install.
[Xperia Z2 Q&A, Help & Troubleshooting] freekzak:
I flash via terminal the boot img file from the last ROMs release and the latest recovery TWRP 3.0.2-0 (fastboot flash boot boot.img and fastboot flash recovery recovery.img after I used the adb reboot bootloader command).

Wipe -> Advanced Wipe -> checked Dalvik - System - Cache - Data - Internal Storage and wiped. Then I also did go to Format Data, types yes and format data.

Flashed the ROM file -> wiped dalvik and cache.

Flashed BeanGapps mini -> wiped dalvik and cache.

Flashed Magisk13 (or SU) -> wiped dalvik and cache and then reboot for the first time the system.

I never do a dirty installation. When I CLEAN install everything is running like a charm! The only problem I have is with phone calls :(

I use sony xperia d6503,

thanks.
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
1. Use a larger gapps bundle, like stock or full.

2. Go back to stock and flash again.
[Xperia Z2 Q&A, Help & Troubleshooting] freekzak:
already did that with no luck ... anyway thank you for your replies :)
[Xperia Z2 Q&A, Help & Troubleshooting] Mega99:
I just did a clean install (flashed .570, then stock .291, then flashed CarbonRom weekly with full opengapps) and people are unable to hear me in phone calls. Any suggestions for a fix?
[Xperia Z2 Q&A, Help & Troubleshooting] Hans_Werner:
For clear calling try editing build.prop

Find line with

ro.qc.sdk.audio.fluencetype=fluence

edit to

ro.qc.sdk.audio.fluencetype=none
[Xperia Z2 Q&A, Help & Troubleshooting] raminta:
Hello guys

I want to know is there any way to change wifi region code via ADB or terminal???
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Google should be your better place to ask this question.
[Xperia Z2 Q&A, Help & Troubleshooting] raminta:
If you don't know the answer please don't reply

I know i can search Google and i did it first but didn't found a working command

It's not your job to answer all questions

Please respect to people and don't answer like you know better than them and others are stupid

Thanks
[Xperia Z2 Q&A, Help & Troubleshooting] V4LKyR:
Hello!

First of all, I want to thank all who contributed to create this beautiful ROM. I just saw about it today, installed on my Z2 right away and it's really good. No camera issues, no nothing, all good and fast.

My only question would be,

Is there any possibility to implement "quick charge" on this ROM? Like the one we can use on stock ROM with Jacko's zip. Is there any custom kernel available for this? Because it only takes maximum 60 mins to charge from 10% to 100% on stock ROM with quick charge feature, but on this beautiful Carbon ROM, it takes around 3 hours...

Thanks in advance.

My regards.
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Quickly charge cannot be implemented as it uses different charging protocols from stock.
[Xperia Z2 Q&A, Help & Troubleshooting] V4LKyR:
I understand.

How about those difference charging protocols from stock ROM? Can they be implemented?

This is a great ROM really... It would only be even greater with a Quick Charge support and a custom kernel.
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Not compatible.
[Xperia Z2 Q&A, Help & Troubleshooting] KellerMan123:
which build of LineageOS14.1 do u use now?

---------- Post added at 01:13 AM ---------- Previous post was at 12:57 AM ----------

Hi,man,i flashed the Carbon ROM last night ,it works well,but could u plz show me the link of Magisk？i have never used it for rooting，any course？
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Google...
[Xperia Z2 Q&A, Help & Troubleshooting] KellerMan123:
got it ,thx
[Xperia Z2 Q&A, Help & Troubleshooting] tenmatei:
Hello guys,

As my issue wasn't too popular on main dev thread, i'll just paste it here below. By the way it's weird that people posting 70th time about xposed get answered, lol.

I'm using latest version of carbon rom (CARBON-CR-5.1-MOO-WEEKLY-sirius-20170830) and I have pretty weird problem with localization. So everything goes well with google maps, i have my position based on wifi, bts-es and of course gps, so i'm rather happy. It works from buildings and all. Unfortunately other apps are more problematic.

I'm from Poland and I'm using popular apps for local/public transportation - Jakdojadę and Tofy taxi.

https://play.google.com/store/apps/d....android&hl=pl

https://play.google.com/store/apps/d...tofytaxi&hl=pl

These apps (and others besides gmaps - these 2 were tested for longer period of time) are having problems with lower accuracy positioning and they can get my position only with gps signal.

In android we have 3 options for accuracy:

- High accuracy

- Battery saving

- Only device

Setting battery saving gives me no position, even in highly crowded, open areas (on other android phone it works nicely). High accuracy to show position only when our Z2 gets gps fix, otherwise no location is shown. Only device working as suspected - location when gps fix, no aprroximate location.

.291 was flashed before COS. Same problem with test version from 8.11 and Lineage OS. On stock rom i can get approximate location for battery saving option for other apps, besides google apps. I'd be glad if You can help me with that issue, because it's really annoying. Especially when i'm ordering taxi and looking for public transportation from buildings.
[Xperia Z2 Q&A, Help & Troubleshooting] KellerMan123:
WTF! the terrible thing comes back(CarbonROM0811)when screen is off,reboot...reboot...reboot...i am ****ing crazy...i do everything what the first page said,but did not fixed...does my z2 is a fake???
[Xperia Z2 Q&A, Help & Troubleshooting] dumpystig:
[MENTION=8529228]KellerMan123[/MENTION]

You're a pest and should be banned.
[Xperia Z2 Q&A, Help & Troubleshooting] KellerMan123:
what do u mean?
[Xperia Z2 Q&A, Help & Troubleshooting] DiogoSilva48:
Did you tried to flash the .291 stock rom with flashtool and then flash this rom after flashing boot and recovery, I once had that problem months ago and that solved. Remember to clean the phone completely, so that you ensure that every partition on your phone is restored.
[Xperia Z2 Q&A, Help & Troubleshooting] KellerMan123:
thans for ur reply!!! yeah,i did it what u say! i flash the .291HK stock with flsahtool and i trick APPSLOG，CACHE and DATA ，then flash.291……i wiped every partition in TWRP, then flash 0616 or 0717 ,however ,it happens ……
[Xperia Z2 Q&A, Help & Troubleshooting] DiogoSilva48:
That's really strange, try to flash .570 with Emma and then try to update to .291 with flashtool without any wipes.
[Xperia Z2 Q&A, Help & Troubleshooting] KellerMan123:
i will try ，thx bro !!! Dose build 0717 have no the reboot problem on ur device yet???apologize for my bad english:)
[Xperia Z2 Q&A, Help & Troubleshooting] DiogoSilva48:
I am using the official build from carbon website, from 5th September and I don't have any problem.
[Xperia Z2 Q&A, Help & Troubleshooting] KellerMan123:
OK,Thank u Man！
[Xperia Z2 Q&A, Help & Troubleshooting] tenmatei:
totally fake
[Xperia Z2 Q&A, Help & Troubleshooting] KellerMan123:
haha,i have solved the problem! the reason i failed is i flash a wrong kernel! now it works well,it is not a fake!thx everybody!
[Xperia Z2 Q&A, Help & Troubleshooting] DiogoSilva48:
Now you've made me curious, what kernel were you trying to flash ?
[Xperia Z2 Q&A, Help & Troubleshooting] KellerMan123:
I have terrible obsessive-compulsive disorder！！！

everytime after flashing 291 ftf, i have to flash the bootbundle of 402ftf which is 4.4.2 in order to make sure the bootanimation Just have one symbol:SONY,not SONY and XPERIA under SONY!

bad English!can u get it?
[Xperia Z2 Q&A, Help & Troubleshooting] makis780:
fastboot failed ?

3. Flash the Boot.img from ROM via fastboot (fastboot flash boot pathTo/boot.img)

see you image ----->https://imgur.com/a/uQJqd :silly:
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Unlock your bootloader.
[Xperia Z2 Q&A, Help & Troubleshooting] makis780:
My bootloader is unlock [emoji20]
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Fastboot and device drivers installed properly?
[Xperia Z2 Q&A, Help & Troubleshooting] makis780:
Yes. Installed [emoji20] !!!
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Reunlock your bootloader and try again.

Or go back to stock .291 and clean install again.
[Xperia Z2 Q&A, Help & Troubleshooting] makis780:
I spent the stock rom 291

whether it was locked again ?
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Flashing stock ROM won't lock your device's bootloader, restoring TA partition (DRM keys) do.
[Xperia Z2 Q&A, Help & Troubleshooting] Javtor:
hello guys! im using this rom from 20170822 build and now with 20170905 (im using the rom since 2 week). im still with low accuracy gps problems. i will detail:

in some ocations positioning services cannot locate me at all. always im inside buildings, positioning does not work. when im outdoors in 90% cases works fine...

some apps always work, like gmaps and uber.

but others like ingress, burger king, pedidos ya, does not.

https://play.google.com/store/apps/details?id=com.nianticproject.ingress

https://play.google.com/store/apps/details?id=com.citrusbits.burgerking

https://play.google.com/store/apps/details?id=com.pedidosya

could this issue be related with poor network signal? always have Internet in that moments and never had this problem with other roms.

Thank you!
[Xperia Z2 Q&A, Help & Troubleshooting] makis780:
I will try it at some point.

now I do not have time.

Thank you for your help. [emoji4]
[Xperia Z2 Q&A, Help & Troubleshooting] kuba130000:
Is the Cyberian 8.0 or Meli mod works with Carbon ROM with stock camera port?
[Xperia Z2 Q&A, Help & Troubleshooting] tenmatei:
I have the same problem. Wifi, bluetooth and bts positioning doesn't work at all in apps, besides google maps. Really annoying issue. Flashed .291 before flashing COS, but didn't help. Unfortunately no one has repied me.
[Xperia Z2 Q&A, Help & Troubleshooting] Javtor:
it is like a big elephant in the room and nobody talk about it xD

i trust in future builds to solve it. ?
[Xperia Z2 Q&A, Help & Troubleshooting] Magdy Yassen:
we cant install xposed on this rom ?
[Xperia Z2 Q&A, Help & Troubleshooting] jaltek:
https://xdaforums.com/xperia-z2/development/7-x-x-carbonrom-cr-5-1-t3655016/post73730196
[Xperia Z2 Q&A, Help & Troubleshooting] freekzak:
It is a little bit better, thank you !
[Xperia Z2 Q&A, Help & Troubleshooting] :
Looks there is a problem on mpdecision. If I decrease the max frequency of cpu to 1036mhz with kernel auditor , mpdecision can't close the cores.

Edit: it's working good if I restart the phone(while apply on boot is open)
[Xperia Z2 Q&A, Help & Troubleshooting] iphonoid:
Anyone else having a strange issue when music playback comes out of just the speakers? Even if headphones are plugged in?
[Xperia Z2 Q&A, Help & Troubleshooting] DiogoSilva48:
What means icon for delta ?
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Search CrbonDelta in settings then you will know:)
[Xperia Z2 Q&A, Help & Troubleshooting] :
On which version?
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Did you even read the post I was quoting?
[Xperia Z2 Q&A, Help & Troubleshooting] DiogoSilva48:
I just asked because I'm on rr right now.
[Xperia Z2 Q&A, Help & Troubleshooting] :
Sorry, I mean is it on beta or not released?
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
If it is presented in the change log then it won't be unreleased.
[Xperia Z2 Q&A, Help & Troubleshooting] reknew:
CarbonDelta was written to provide automatic OTA updates for Carbon's nightly builds, making use of deltas when possible, to reduce the size of the download.
[Xperia Z2 Q&A, Help & Troubleshooting] mannte:
Probably the same problem as I had on Lineage OS.

In post 335 in that thread a fix was proposed: https://xdaforums.com/xperia-z2/orig-development/rom-lineageos-14-1-sirius-t3577518/page34

I could not get Emma to work so I just googled for a .575 (or .570) ftf and flashed the boot image with flashtools (fastboot) and then flashed the rom with TWRP.

The temp-fix only helps a bid so I would not recommend it.

It now seems to be fixed but I haven't tested it a lot yet (just flashed CarbonROM this weekend).
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Thanks for your quote, but that fix seems no longer working for now.

Enable "Mobile Data always on" in Developers Settings.
[Xperia Z2 Q&A, Help & Troubleshooting] rcstar6696:
I tested last weekly no problems with mobile data
[Xperia Z2 Q&A, Help & Troubleshooting] Little Snevil:
Hey folks. I've experiencing bad quality of microphone while calling, people can't hear me well, the same when I record voice notes in WhatsApp, the voice notes sounds distorted and low. I've read that is a ROM problem, and it's also present in Resurrection Remix. Curiously, in LOS I didn't experience it. I want to know, why it's happening? Any temp fix? I can't understand well because post about this topic are scattered between RR and Carbon Q&A and the development forum so it's frustrating. Thanks in advance :)
[Xperia Z2 Q&A, Help & Troubleshooting] amjad03:
I have a problem, same as the guy commented above, I switched from LOS to Carbon 09/05 and people cant hear me properly on calls. They say sound is very low and not clear. Any suggestions please?
[Xperia Z2 Q&A, Help & Troubleshooting] mannte:
After almost a week I can confirm that I did work for me. But the keep data always on is an easier fix.
[Xperia Z2 Q&A, Help & Troubleshooting] Little Snevil:
Guys i'm having problems trying to uninstalling system apps. I chaged the SELinux to permissive but didn't worked. Any advice? Maybe i'm doing something wrong.
[Xperia Z2 Q&A, Help & Troubleshooting] ashcalin:
Soft Reboots

Phone reboots continuously every 2-5 minute when idle
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
It should have been fixed long time ago, tried clean install?
[Xperia Z2 Q&A, Help & Troubleshooting] amjad03:
Any fix for my problem?
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Remove system app by deleting the associated folder (with its content) in either /system/app\ or /system/priv-app\ should work.
[Xperia Z2 Q&A, Help & Troubleshooting] ashcalin:
I was on a rooted, bootloader unlocked 23.5.A.1.291 firmware on D6502. Performed the following steps. Used Sep 05 build.

1. Downgraded to 17.1.1.A.0.402 firmware.

2. Rooted using rootkitXperia_20140719.

3. Installed PhilZ Touch recovery.

4. Flashed pre-rooted 23.5.A.1.291 firmware from recovery.

5. Flashed the Boot.img from ROM via fastboot.

6. Flashed TWRP Recovery via fastboot.

7. Wiped System,Data, Dalvik, Cache from recovery.

8. Flashed CarbonRom zip.

9. Flashed Gapps (open_gapps-arm-7.1-full-20170918) zip.

10. Flashed Baseband-Patch.

9. Reboot.

Phone working perfectly when in use. Reboots when idle with screen off.
[Xperia Z2 Q&A, Help & Troubleshooting] iXaidyiu:
Install again by following instructions listed in OP, no pre-rooted fw, no PhilZ, root only when finished flashing the last build.
[Xperia Z2 Q&A, Help & Troubleshooting] ashcalin:
Ok.... Will give it a try and respond