yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] hardcoremildred:
If flashing new TWRP did not solve your Problem, you can edit the updater-script to accept the "" empty string.

For this, open the Rom in WinRAR (WinRAR works for sure, other ZIPpers may differ) and edit the following file inside (!) WinRAR:

CARBON-CR-6.1-NOCT-WEEKLY-sirius-20180515-2255.zip\META-INF\com\google\android\updater-script

Open it in a text-editor like Notepad and copy the first

getprop("ro.product.device") == "D6502" || getprop("ro.build.product") == "D6502" ||

Just paste it directly after the "||", so it will be two times there. Now delete the first two D6502 to get two empty strings "".

It will look something like this:

(getprop("ro.product.device") == "" || getprop("ro.build.product") == "" || getprop("ro.product.device") == "D6502" || getprop("ro.build.product") == "D6502" .......

Close WinRAR and wait for it to rezip the modified ROM, then flash your modified ROM, it will now accept a phone with an empty string as a valid device.

Keep a non-modified copy of your updater-script, in case you mess it up (Notepad doesnt like the linux newline, so its sometimes hard to use with linux files).
[Xperia Z2 Android Development] mazznetw:
when i flash the boot.img via fastboot i got this message

FAILED (Remote : command not allowed....)

IDK What happening , my phone has clean install 6.0.1 , try usb debugging on / off still i can't
[Xperia Z2 Android Development] Chronic2k13:
Don't quote the whole post In future Mate!!
[Xperia Z2 Android Development] iXaidyiu:
Unlock your bootloader.

Please never quote OP.
[Xperia Z2 Android Development] AhmadOkda:
Hi all

I got a Z2 today to play with and since i am a CR fan , i installed it immmediatly coming from a full stock rom and i am having two issues

[1] double tap to wake is not working at all

[2] /system is not being mounted as RW, can't uninstall any system application for example , i used the linked SuperSU and flashed it after Carbon and before the gapps as stated in the install instructions

anyone can help please ?
[Xperia Z2 Android Development] TepaC:
1. Settings>Display>Tap to wake

2. Use Fx file explorer

;)
[Xperia Z2 Android Development] Chronic2k13:
You need to set selinux to permissive and use a program like system app remover from the play store!
[Xperia Z2 Android Development] AhmadOkda:
unfortunately this didn't work also, i set it manually using terminal and tried a software on play store, both change the mode to permissive but still wasn't able to remove system applications, can you please suggest the correct way to do it

what about the tap to wake, is it working with anyone ?
[Xperia Z2 Android Development] mimo.aridi:
Works here. Try reflashing clean install.
[Xperia Z2 Android Development] Chronic2k13:
Works for me too and my phone is TOTALLY debloated from any app that I don't want or need!! Did you do a clean install?
[Xperia Z2 Android Development] Chronic2k13:
Try this!! Use System App Remover at your own risk!!! It's a very powerful tool in my eyes!! Press thanks if this helps!! [MENTION=2762849]AhmadOkda[/MENTION]
[Xperia Z2 Android Development] AhmadOkda:
this is the second time to try a fresh install and i test the double tap to wake before installing anything

very weird

just to confirm, i install the SuperSU before the gapps , right ?

the correct TWRP to use is the one named "TWRP-Sirius.img" ?

---------- Post added at 03:02 PM ---------- Previous post was at 02:13 PM ----------

SOLVED: by only installing busybox

The double tap to wake is still not working
[Xperia Z2 Android Development] Cygmon0:
Clean install

_____________

Use TWRP-3.1.img

_____________

Wipe system/data/cache/dalvik

_____________

Install rom > install OPENGAPPS FULL ( DONT INSTALL BEANGAPPS )

_____________

Let the device boot

go back to recovery

Install supersu or magisk.

تم الإرسال من Xperia Z2 باستخدام Tapatalk
[Xperia Z2 Android Development] AhmadOkda:
Followed those steps but still double tap to wake is not working at all

Everything else is super fine

I even tried the weekly builds

I can't say that it is a hardware issue since normal touch is working fine and double tap to sleep on lock screen and status bar is working fine
[Xperia Z2 Android Development] tenmatei:
positioning problem

Hello guys,

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/details?id=com.citynav.jakdojade.pl.android&hl=pl

https://play.google.com/store/apps/details?id=pl.gda.infonet.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 Android Development] mfauzirahman:
no issue with me...waze apps is working fine for my grab driver use
[Xperia Z2 Android Development] tenmatei:
Are you sure, that location is not gps based when using waze?
[Xperia Z2 Android Development] mfauzirahman:
using it everyday...got same issue on 22nd build but not on latest build..

did you do clean install?
[Xperia Z2 Android Development] tenmatei:
So.... yeah.
[Xperia Z2 Android Development] KellerMan123:
i got a problem(reboot when screen is off) with flashing lineage14.1 released on0717.hope that won't happen in this rom! i am a Chinese boy ,first on xda forum,apologize for my bad English!thank u!
[Xperia Z2 Android Development] KellerMan123:
thanks for ur hard working! but i have not solved the problem(reboot when screen is off) flash the lineage14.1 released on0717,plz help me ...thank u again!
[Xperia Z2 Android Development] Taha_moahammed:
Thanks i tried twrp 3.2.1 and tried to flash it again and it worked ??
[Xperia Z2 Android Development] marcogiannetta:
https://blog.carbonrom.org/changelog/

Look for shinano commits to know changes made to our platform (Z2/Z3/Z3c)
[Xperia Z2 Android Development] matrix2012xman:
Our device code name is Sirius not shinano

I checked daily change log before asking ;) and didn't find any changes for Sirius

Anyway thanks for your help:)
[Xperia Z2 Android Development] marcogiannetta:
Yes sirius is z2, just like aries is z3c.

Shinano is the whole platform which includes Z2,Z3 Z3c
[Xperia Z2 Android Development] matrix2012xman:
This first time I know this information ... Thanks very much

:svetius:
[Xperia Z2 Android Development] rcstar6696:
the interesting repos are kernel sony msm8974, sony msm8974, sony shinano and the device so for us sirius
[Xperia Z2 Android Development] koraymers:
Guys is there anyone who know how to create flashable zip ?
[Xperia Z2 Android Development] :
https://xdaforums.com/android/software-hacking/tool-6-feb-android-flashable-zip-t3551772
[Xperia Z2 Android Development] Cygmon0:
Hmm.. opening zanti or csploit seems to reboot my phone..

EDIT: This seems to affect every oreo rom
[Xperia Z2 Android Development] Sandzhaj:
nothing changed.

I've using carbon from March and installing every update. But mic always has this bug. Few hours it is working well, but later nobody hears me at all. Is is strange, that voice search, etc, is working, but in calls - no. :confused:
[Xperia Z2 Android Development] koraymers:
Same here
[Xperia Z2 Android Development] rcstar6696:
Please open a jira issue (link on carbonwebsite) and attach proper logs when mic is OK and broken
[Xperia Z2 Android Development] skyrim000:
did you try the mic fix in magisk?
[Xperia Z2 Android Development] koraymers:
Probably issue is Google voice again. When I used to use test build and voice detection was turned off. I switched to official builds two weeks ago probably I forgot to turn it off in setup screen. I ll take a look it again [MENTION=5162263]skyrim000[/MENTION]
[Xperia Z2 Android Development] Sandzhaj:
Looks like you are right, after switching I hadn't checked voice detection. Thanks
[Xperia Z2 Android Development] darknessmc:
Why V4LKyR kernel is faster in charge than this one?

I can reach 2.2A in first one but in this kernel I got 1.46A only
[Xperia Z2 Android Development] PepeNS:
What with others functions on this kernel ? Wi Fi nfc etc ?
[Xperia Z2 Android Development] Agghost:
I tried this ROM and i see some problems! Vpn connection not working when i use it everything fail to connect, i see my Vpn connected but no internet!

Another thing sometimes my phone restart automatically i don't know why i just can say that everything working fine before installing this ROM "sorry for my bad English"
[Xperia Z2 Android Development] Cygmon0:
Full clean is a ( MUST DO ) if you came from another ROM with MODS

Full clean = Flash stock marshmallow ROM
[Xperia Z2 Android Development] Agghost:
I tried it again with full clean installation ( Installing a MM stock rom ) then installing this rom auto restart fixed but Vpn connection still not working Vpn connected but no internet in whole device :confused:
[Xperia Z2 Android Development] Cygmon0:
The VPN problem kinda weird, I have super VPN and secure VPN.. they work great for me... What VPN app that didn't work for you?

I will test it
[Xperia Z2 Android Development] Agghost:
It's called DroidVpn
[Xperia Z2 Android Development] Cygmon0:
Tested with free account and all methods works for me ( except ICMP ) since SELinux set to enforcing

It's issue on your side, I guess
[Xperia Z2 Android Development] Agghost:
I really don't know i have a premium account and it's working fine on marshmallow but it didn't work for me on oreo

i see connected status but no internet btw thanks for all your support buddy
[Xperia Z2 Android Development] CVRMV:
Games are still crashing in last update (05.22.2018)
[Xperia Z2 Android Development] darknessmc:
Is there a chance to add kcal to this rom? I used this command after every reboot

echo 240 235 255 > /sys/devices/platform/kcal_ctrl.0/kcal
[Xperia Z2 Android Development] koraymers:
Kcal included in test builds

Take a look mega.nz link on first post

Test builds as stable as official ones if you wanna try
[Xperia Z2 Android Development] darknessmc:
Thanks for the advice but it's old version and doesn't contain QC as I know. I'll give it a try.
[Xperia Z2 Android Development] koraymers:
Than flash qcharge.zip

Test builds continue to be updated monthly instead of weekly as official ones, so they re not old actually
[Xperia Z2 Android Development] darknessmc:
I dirty flash test build over weekly but it shutdown when loading android (lock screen) and don't have time to fresh flash so I'll do it later. Thank you
[Xperia Z2 Android Development] PepeNS:
In last time i get problem with OTA updates. When carbon delta serching files and i see updates are redy, app bugging proces. Cant flash files or delta carbon rastart serching. Only i had this isue ?
[Xperia Z2 Android Development] koraymers:
As u wish
[Xperia Z2 Android Development] fribriz:
Current mic fix v3.2.4 via Magisk kills mic for me. Deleting module restores mic function.

Weekly May 29 build.
[Xperia Z2 Android Development] Keramblocked:
No, you are not =(

[MENTION=5621191]rcstar6696[/MENTION], any news for now?)
[Xperia Z2 Android Development] rcstar6696:
Yes you have to Update your twrp after that Install works

Btw we fixed sd Access issues and fixed Game crashes today so next weekly will be important update
[Xperia Z2 Android Development] Keramblocked:
Currently Im using TWRP(3.2.1-s) from: https://mega.nz/#F!SYQxnRrb!ahC91yfNOmi8NVavJvuydw

Still not working =(

Is it correct version?
[Xperia Z2 Android Development] m1st3r1:
Wow. Can't wait. Is it gonna be in test builds or official weeklies? I hope you build it as test build too.

And mind sharing what's the cause of game crashing? My guess is the gpu driver. Cause when I had game crashed, I changed around the graphic settings in developer options then after some times, the said game run perfectly. Theres no correct settings tho, just changed them around after the game crashed, and hope for the best.

Thanks for your work.
[Xperia Z2 Android Development] darknessmc:
[MENTION=5621191]rcstar6696[/MENTION] are you limited the charge in kernel to 1600 mA?
[Xperia Z2 Android Development] xperia1-2:
We can change the GPU graphics settings in advance.Avoid the dilemma of the game crashing when we are playing?
[Xperia Z2 Android Development] rcstar6696:
Currently there is no plan to release a testbuild with the new changes only a new weekly comes

Please share the changes you made in developersettings. Maybe we can get games more smooth with it

Its limited if the device gets hotter then 50 degree but the same happens in sony stock rom
[Xperia Z2 Android Development] Bokhsan:
This rom better battery life or stock rom ???
[Xperia Z2 Android Development] fribriz:
Is there a stock room for Oreo?

How would you compare?
[Xperia Z2 Android Development] Samir2298:
There's no stock oreo for z2. I am on MM rom with custom setup and its so smooth and has good battery life.
[Xperia Z2 Android Development] iSKG:
A late thank you... :)

As I wanted to see my Z2 with Oreo and with 4K recording working perfectly now, unfortunately I was stolen, and there is no way to test it, but still thank you for the effort... ROM had problems with the game PUBG MOBILE and some others and also with stereo microphone, if solved these unique problems will be the best ROM for the Xperia Z2...

(Sorry for poor English)
[Xperia Z2 Android Development] Sony92:
Smartphone restarts every 5min. and when listening to music through headphones it happens that the music suddenly runs on loudspeakers
[Xperia Z2 Android Development] rcstar6696:
I think you did Something wrong

Please reflash stock and then try again to install the rom
[Xperia Z2 Android Development] Cygmon0:
It has been mentioned a lot of times.. to fix restart problem. Just flash stock mm then flash the rom.

Se first page instructions
[Xperia Z2 Android Development] Integryx:
Has anyone tried to use a magnetic charger after installing this awesome and so alive CarbonROM?

I tried mine, it's now working. Just wanna know if it's just my phones magnetic charger doesn't work.
[Xperia Z2 Android Development] Sony92:
That's how I did it. I'll try it again anyway
[Xperia Z2 Android Development] Kali_307:
Magnetic charger is working great. Maybe yours is broken.
[Xperia Z2 Android Development] bobbyzord:
I'm on RR oreo, can I wipe with TWRP and install this rom with no problems?
[Xperia Z2 Android Development] Integryx:
Thanks, got it working. The cable is actually not that plugged in, and I pushed my case where the flex cables are located. Now it's working.
[Xperia Z2 Android Development] fribriz:
Yup. I came from RR Oreo too.
[Xperia Z2 Android Development] bobbyzord:
And you think it's better? I'm getting games crash a lot.
[Xperia Z2 Android Development] mxperial:
Games crash is supposed to be fixed in the last build mate, so give it a try (didn't test it yet)
[Xperia Z2 Android Development] xperia1-2:
I am tempted to know that the new establishment has found the key problem for the crash of the game?
[Xperia Z2 Android Development] mfauzirahman:
just flash and test it....
[Xperia Z2 Android Development] xperia1-2:
Then I waited for a while. No computer at my side could not provide the test log. I would wait for the analysis.
[Xperia Z2 Android Development] m1st3r1:
i think it can. but it's totally random. im not even totally sure changing the gpu settings helped or not.

there's no fixed setting, before gaming, i just changed around some of those settings, specially the opengl skia and default, and the msaa one, change them around, lock the phone, then hoping the game runs pretty well. sometimes it still crashed tho. haha.

so, is the rom with the game-crashed fix already built? (it's not asking for eta :D )

thanks
[Xperia Z2 Android Development] xperia1-2:
My approach is just like you. Before you play the game, change some of the settings in the developer options. I think it's not the reason of the image processor. It should be a deeper reason. . . . .:rolleyes:
[Xperia Z2 Android Development] PepeNS:
Something new on todays update ?
[Xperia Z2 Android Development] rcstar6696:
I already posted whats new in this build some days ago
[Xperia Z2 Android Development] zingo7:
hey guys

sorry late to party. Does the DRM key trick work with the Carbon mod?!

(https://xdaforums.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672)

The more i read the more I understand that all is covered. And you do the drm fix only if you go back to Stock-

- Is that correct?!
[Xperia Z2 Android Development] Integryx:
So the new update has a Fixed 60 Fps on 1080P and Fixed 120fps on 720p? Am I correct with this new weekly update?

---------- Post added at 09:37 AM ---------- Previous post was at 08:43 AM ----------

So this is what I've noticed, using the SNAP.APK camera default by CarbonROM, when you switched to 1080p the video is at 60fps Fixed, and 720p at 120fps Fixed and it's super dark, and upon flashing the update the Snap.apk camera is removed, I don't know if it's just me having this struggle of not able to pick specific 1080p & 720p Frame rate shooting mode, and the camera got laggy upon using stock google camera. Please do confirm if someone experienced the same thing.
[Xperia Z2 Android Development] Michael2190:
Adreno 330 Drivers

Hello,may be useful to someone, fixed the latest gpu drivers 145(system reboot when playing video).

Before flash make backup your system.

https://xdaforums.com/galaxy-s5/unified-development/drivers-qualcomm-adreno-330-drivers-t3794305
[Xperia Z2 Android Development] rcstar6696:
we have no crashs on video playing so why should we use it ?
[Xperia Z2 Android Development] Michael2190:
Original 145 drivers cause a reboot when playing video,this modded driver fixed reboot when playing video.

These drivers increase the performance in some games, I also checked the performance in Antutu and 3DMark.

145 give a bit more performance than 140 installed in the system, with it does not cause a reboot when playing video.

Owner z3 also confirmed the performance improvement of this driver.
[Xperia Z2 Android Development] xperia1-2:
Wow, weekly update The latest version of the game crash has been fixed, I would like to know what you have done, bothered my half-year problem solved!:p
[Xperia Z2 Android Development] darknessmc:
This is my normal use
[Xperia Z2 Android Development] Hariskh:
Can i increase the volume of speakers by editing system files? If yes please tell how
[Xperia Z2 Android Development] rcstar6696:
You can but i won't tell it here because you can damage your device with to high values

Please send me a pm
[Xperia Z2 Android Development] rcstar6696:
Thats quite ok for an old battery

We used a wrong configuration of davilk and heap now ours match nexus 6 values and it works
[Xperia Z2 Android Development] darknessmc:
I don't complaining but what about heat issue? It's always hot than stock rom
[Xperia Z2 Android Development] thelegendy:
So, PUBG is working good on Oreo? I'm really excited now :) Finally i can try Oreo. But I wonder, is there any problem still exist in Oreo? (maybe like mic) :)
[Xperia Z2 Android Development] rcstar6696:
No there are no issues left

Except some small but i don't fix them because those are rom related and not device

In the device part all is working
[Xperia Z2 Android Development] thelegendy:
Just wonder, what kind of problems, small one's? I'm still using Carbon N and no complaints. Never mind, thanks... :fingers-crossed: I think, i will give a chance again, i'm little bored of Nougat...
[Xperia Z2 Android Development] omarbeco:
i am on carbon nougat too and i will change it if the carbon oreo is much stable

can i just install it via OTA??
[Xperia Z2 Android Development] oscar_16:
No.. Carbon nougat best
[Xperia Z2 Android Development] OmarKhalifa:
Hello, Thanks for your great effort , but is there are any mic issues or not ?
[Xperia Z2 Android Development] Integryx:
Mind if you share the theme?
[Xperia Z2 Android Development] omarbeco:
Good changes and everything is working well game crashes is totally fixed everything seems to be fixed except the rear video recording lag
[Xperia Z2 Android Development] rcstar6696:
Can you explain whats better on nougat then on oreo?

I will test Video recording again but i think its due the the high fps setting. Try open camera and lower fps a bit. Would be nice when you report back
[Xperia Z2 Android Development] xperia1-2:
You can try 0506 this Oreo version, and then compare the nougat, maybe the previous version of Oreo has always been this or that bug, but now this version has become perfect, Google encourages us to upgrade, can not always stop at Nougat, or many new features we can not experience.:laugh:
[Xperia Z2 Android Development] oscar_16:
The temperature is very high on oreo when playing games i do not know why so far this is the most important reason why i settled on the nougat and the sound of the microphone is not low on oreo [emoji848]..nougat stable
[Xperia Z2 Android Development] rcstar6696:
so i tested the video recording thing its just the preview on phone while recording which lags. the video itself is smooth. i think the fps are low because its a heavy task to decode high fps ranges and thats why the device slows down the preview
[Xperia Z2 Android Development] m1st3r1:
wow, the official weeklies 5-june is really good. no crash in games whatsoever. i think im used to the crash, it feels like a new phone. haha. cant believe how many time i slammed the phone cause of the crash...

so just go ahead flash the weeklies 5-june.

thanks rcstar6696, myself5, and all the contributors.
[Xperia Z2 Android Development] omarbeco:
Seems li

really its good to make our 4 years old phone alive.huge thanks

---------- Post added at 03:20 PM ---------- Previous post was at 03:09 PM ----------

I recorded a video . yeah the fps is low at the preview. When i saw the video that i recorded it,i is very smooth and no lags
[Xperia Z2 Android Development] frgtn:
thanks for your working.
[Xperia Z2 Android Development] darknessmc:
Flux White

https://play.google.com/store/apps/details?id=flux.white.substratum