yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ricardo99831390:
we're is that kernel and the drivers? You mean more performance and battery life than stock?.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] TjNiko:
far more. never GPU drivers game me like 15k score more in antutu drivers are from 5/2018, and syncmaster making a kernel for it, firstly he handed me an working version of Androkernel, wich is working perfect, but i will temm him what else to add so i can get the most out of the device.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jymmyreevs:
heloo

i wish i can flash this ROM , but i need some instruction from the begining

at the moment i have same problem with green pictures from camera

anyway i have bootloader unlocked so far

thanks...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] TjNiko:
tahts becouse missing drm fix. GEGE i will stay to stock with the real nice findings i made and be happy untill i see a real good and friendly Rom porter. so Carbon is a nogo 4 me.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
On Carbon? What App did you use to take pictures?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jymmyreevs:
1 st green pictures with the device app, the i installed another camera app from gplay , worked for a while the green pictures also
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
And thats on Stock I assume?

If you want to install Carbon look around in the thread a bit (like here: https://xdaforums.com/showpost.php?p=77059266&postcount=218) where many stated what you need to install it.

If there's any problem with the process, let us know and I'm sure someone is willing to help.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] SilverGamer_YT:
If it on stock he need to find the correct kernel for his stock rom and then flash the drmpatch
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Blackghosthm:
He right [MENTION=6937085]TjNiko[/MENTION] because he using new adreno drivers and those file will replace with stock files in vendor so then camera get broken and take green picture ?.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] amakuramio:
tested out the rom -

its much slower than stock, voice recording is impossible because the sound volume too low, I'm back to stock rom.

Didn't test the camera.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] mk4y5en:
someone maybe able to make the soundmod working for G1841 Single Sim XZ Premium. It would be so awesome to fully enjoy everything...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
I would have to disagree with you. I have had it installed for three weeks and its as fast as stock, and better in some instances. As for the low volume, did you install/modify the mixerpaths file? It solved the low microphone issue in call. The camera is pretty good, not quite as good as stock, but totally acceptable. Im using the 4k kernel posted a couple of pages back and I get 6 to 7 hours screen on time on average. Full Xposed compatibility compared to latest stock roms is a bonus too.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
This is my file from my G8141. Unzip and copy to system/vendor/etc and give permissions r-w-r-r with a file explorer like ES.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] mk4y5en:
You are my personal HERO! Whatsapp voice recording is still low but better than before <3
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
The low recording Volume isn't caused by the Mixer Paths. Raising the input volume isn't a fix, it is just a workaround. I'm currently working on my new Patch and i fixed it on the latest carbon builds by changing some Values on the build.prop...

BR

BTW. Audio has changed to terrible on the latest Builds. Also for the Output. Sounds like my Speaker is done but older builds an stock don't have the problem. The Camera has also a Problem with the Stabilization on Videos (Camera FC). Hope tha can be fixed in the next Builds! Thanks anyways for Carbon!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
All the audio things should be fixed on the next build due to the mixer paths issues as we've been using the wrong configs for the time being. Also power profiles has been fixed (so max battery is properly reported now and some other battery behaviours should improve).

I'll take a look at the camera issue.

Also for others: We might finally have a lead on the network issues with some apps, but I can't promise that it will be in the next release.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xueyaotianxia:
Thank you for the wonderful work! I flashed this build but could the camera app record slow motion? 120 fps? I could not find it... I tried take photos from dark room, it seems stock camera has more light. Otherwise the camera app takes decent photos.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] SXS-Groovemaster:
Bugs:

* Video stabilisation at full-hd recording crashes the camera app.

* The recorded video files dont play back in the built in media apps, but they play in VLC app from playstore.

* GPS satellite linkup has a big delay when starting up googlemaps journey.

* Sometimes other person can't hear you in the call, they say "sounds like a very tiny echo".

Even with the above issues, I love it, but once the polished next version arrives, that's when I will seriously love it. :D

Many thanks [MENTION=3816568]Myself5[/MENTION]
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Alex1911:
Does anyone know something about the upcoming build ?

Because there was no Build Release for this Month.

The last Relase wos in July

Best Regard's

Alex1911
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Check a page back mate, august still has more than 3 weeks to go :silly:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Alex1911:
Oh really ? :eek: From the old build it's more then a Month a part now
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] frostydawn:
Yeah the latest build is 20180705 and it's more than a month ago.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
That because last month the Security releases dropped earlier. They were released yesterday night (after Pie) and we merged them right away. New builds will start once we're confident everything is stable and no regressions got introduced by the latest merges. Expect them around the weekend.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Alex1911:
Perfect ! I'm very excited for the new build :D

Sorry for the impatience.

Best Regard's

Alex1911
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] HoiFung:
The new build is now available for download, I flashed it, but it doesn't seem to work for me, it stays on the SONY logo, you can try it.

Now, I flashed the previous version of boot.img, which now works.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Alex1911:
I can't even download the build, it say's "not found" on get.carbonrom.org

Best Regard's

Alex1911
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] HoiFung:
Find it here.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
It's there now, I was able to download it
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] mk4y5en:
its not working. stuck at sony logo for me too!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] HoiFung:
Try to flash this kernel

https://dl.myself5.de/boot.img
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] mk4y5en:
working! ty so much!

---------- Post added at 04:54 PM ---------- Previous post was at 04:37 PM ----------

audio is still bad in the newest release :/

mic levels and loudness!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
Working here also. Thanks.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
Wow this is messed up. The boot.img linked is the exact same sources built on the exact same machine...

I'll take another look... Sorry for the inconvenience.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] HoiFung:
We will understand that when we brush third-party ROM, we will know if anything will happen, we thank you developers, because you don't owe us anything:good:.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] SXS-Groovemaster:
Has it been pulled? couldn't find any August releases.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
Yes, i pulled it until I figure out what the heck is wrong.

Should be fixed in the next few hours along with a new build.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
Its working now, I just got the update
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] SXS-Groovemaster:
MP3 and video-camera files now work perfectly in built-in and playstore apps. Phone generally seems much snappier.

Bugsies (so far):

* PicoTTS crashes.

* GPS doesn't seem to acquire lock on current location at times, and at other times it is very slow to get a lock. (can be fixed by installed GPS optimization magisk module)

* Video Stabilisation not working in camera video-mode.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] muphetz:
About GPS,, if you have magisk, try global optomised gps module,,,lock fastest and accurate location.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] mk4y5en:
you have a fix for us now?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] SXS-Groovemaster:
I can confirm that after installing the Magisk module "Global Optimized GPS File Replacer", GPS works perfectly.

If anyone wants to tweak the system sound quality, I highly recommend the ViPER4Android FX Magisk module, speaker now sounds quite luscious indeed :D
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
Working good here.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] SXS-Groovemaster:
Such a clean layout :good:

---------- Post added at 12:47 AM ---------- Previous post was at 12:42 AM ----------

So apparently Sony have released Android P sources... is that in the Carbon pipeline devs?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Shellyaffff:
No HDR support on this ROM there is no video enhancement which is in display settings normally

---------- Post added at 06:11 AM ---------- Previous post was at 05:44 AM ----------

If you no HDR how can I at least tweak screen colour kcal support
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] SXS-Groovemaster:
From what I understand, some functionality which Sony have held back from the OpenSource world is simply not implementable unless someone had the time and experience to reverse-engineer Sony's proprietory tech, though alternatives do pop-up now and again, but I do not know of any alternative to achieve the colour calibration and video-enhancements outside of stock Sony roms.

Personally I do hope Sony release more of their magic into the OpenSource community or at the very least provide precompiled libraries and apps for Sony phones running AOSP roms. Sony Mobile division is regarded as one of the few big-tech companies who are quite committed to the Opensource community, and hopefully they will increase their support to gain further respectable recognition in the enthusiast sector.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] mk4y5en:
if they do this, they will definetly be back in business in their smartphone category! 100%!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] raven213:
does camera 60fps? or 120fps work????
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Shellyaffff:
In call volume too loud in top speaker
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Udit68:
Good news guys modpunk is releasing stock cemra app for custom roms check in xz1c forum
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Alex1911:
Hi Guys,

I'm getting an Camera error Message after some time on the latest CarbonRom build -> "Camera not available"

Is there a workaround or fix for that ?

Edit: On Stock it works flawlessly.

Best Regard's

Alex1911
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LSS4181:
Need some help:

How to configure rotation degrees and enable lock screen rotation on this ROM? There's only "auto-rotate screen" in the Display settings section (after expanding Advanced), and nothing else.

EDIT: It's not in the Accessibility section, either. Interesting as every ROM I came by so far has the option to enable rotating the lock screen as well as setting rotation degrees.

Is there an available app for this, or do I have to result in build.prop tweaks?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Lirannl:
Use substratum, it has an overlay which enables that.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LSS4181:
I'm not sure how... I mainly only use it to enable dark themes, and I never found anything related to enabling lockscreen rotation and such, because with most ROMs I came by, those features were natively provided by system settings and no need to use anything at all... Even my Pixel C tablet which runs RR-O also have this functionality under Display as Rotation Settings, where I can enable rotation on lockscreen as well as specifying which degrees the system is allowed to rotate (0, 90, 180, 270).

With this ROM not including this feature, it feels quite complicated when I wanted to unlock the phone while holding the phone horizontally.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Lirannl:
There's a theme with options that allows that. I don't remember the name.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Magimaster:
Hello, can you share a link? I searched the xz1c forums but couldn’t find the post.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LSS4181:
Maybe this could be made as a feature request for CarbonROM itself, as many other custom ROMs (at least those I've ever used) do support enabling lockscreen rotation.

As for substratum, I don't think that'll work unless the ROM natively supports it somehow... as according to Rotation - Orientation Manager, since Oreo third-party apps are not allowed on the lock screen, so if the ROM doesn't support it, using third party apps to enable lockscreen rotation is out of question.

Guess I'll need to use build.prop hacks, but I still can't be sure whether it'll work...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Lirannl:
https://play.google.com/store/apps/details?id=me.msfjarvis.substweaks

Here you go, that's the app that does it.

It works because it's an overlay.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LSS4181:
Nope it doesn't work for me... probably because I already have an active theme (PitchBlack) for Android System, and the two overlays can't work on top of each other. But thank you for the tip anyway.

EDIT: Yeah, it seems I need to restart the phone in order to get it applied. Thanks, now it works. :)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LSS4181:
Adding another question: Does adb shell "settings put" function work with this ROM?

Currently I'm looking for a way to change captive portal detection URL to somewhere else (in order to remove the "No Internet" indicator), but the values I put via "settings put" don't get honored, and they would revert to null after restart (although before restart I can still get the value I previously set). Setting SELinux permissive according to this stackexchange comment doesn't help either.

It appears as if the settings section has been made write-protected in this ROM and could not be really changed for some reasons.

EDIT (2018-11-01): Problem solved. Turned out I need to enter "su" twice before actually setting the values using "settings put" to make those values effective (according to this guide).
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Udit68:
looks his github modpunk even have commits done so myslef5 can add it to carbon rom to
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] TjNiko:
so sad, using https://xdaforums.com/mi-mix/development/driver-adreno-530-540-gpu-driver-t3815853 libs leaving the ca´mera with green pictures, any fix for that?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
Can't help you without logs.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] TjNiko:
View attachment 2018-09-02-17-54-10.7z there you go.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] VaultBoy!:
Calls not working

So I downloaded this ROM today for my G8142, got it installed, its awesome!

My issue comes when making or receiving a call. I cannot hear anyone talk, I don't know if they can hear me either. I tried multiple different phone apps and none worked.

I also saw the sound patch, but there was no system/vender/etc folder...or whatever the directory was, I can't remember it off the top of my head.

What am I doing wrong?

Thanks guys!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ishaang:
Hi, did you first flash stock .205 on your phone before installing Carbon? Also this may sound silly sorry but just double check which version of the ROM you installed (latest one right?)

Question for dev/everyone though - with the latest version of Carbon do you still need to be on .205 before installing it or can it be done from .270 or .235 now?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
Sounds like you still have the SonyOpenDevices ODM installed. That's causing issues.

Flash stock (or at least the ODM/OEM image from stock) and then try again.

Newer ones should all be fine.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] VaultBoy!:
Hey! I flashed the latest stock firmware (.270 I think?) and the calling now works perfect! The ROM is smooth, and with an icon pack + Evie launcher, it's great!

My one issue is that I can no longer use Audible because it shows no SD card being mounted. The strange thing is that I never needed an SD card to use the app on any phone I had before...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] VaultBoy!:
Hey, anyone have any ideas about why Xposed works for some modules, but others show as not activated when they are? Is it a ROM issue or an Xposed Issue?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LSS4181:
Need help.

Just flashed the 20180911 version that just came out and found myself stuck at Sony logo. At first I though my data must have been messed up and after some reflashing attempts with no success, I wiped and flashed just the ROM and still couldn't boot.

Eventually I was able to get it booting by flashing the kernel from post #262, but the phone is prompting a text password (Note that I have restored the data backup before wiping, and I previously used a PIN), and I couldn't unlock the phone anymore.

I can still access my data from TWRP, though.

EDIT: I only found a locksettings.db and deleting it won't solve the problem. Entering "default_password" won't work, either.

EDIT 2: At the very first time after I setup the PIN, TWRP prompted for my PIN and worked, but it is not prompting anymore as the default password (I don't know what it is) is able to decrypt it. That's still only on TWRP but not on the OS itself.

EDIT 3: I got out of it... by flashing the previous 20180811 ROM... how ironic. I'll be backing things up for now just in case things get messed up again...

PS: I noticed that the 20180911 build was pulled (or maybe not up yet, as I got the ROM from CarbonDelta) while I was posting this and just now it came back... maybe it's the same issue that happened before.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
I'll take a look. Sorry for the inconvenience.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
Just installed the lastest, with the boot.img from post #262. Everything is working
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] siim555:
Does anyone else have a problem that when headphones are plugged in the music stops after a few seconds (even though playback does not stop). Have tried everything, 3 carbonrom versions, wiping device completely (system, internal memory, etc), changing playback app (presists with even Google Play music) and tried with and without google apps. When playing from newpipe it is fine even in background, problem arises only when playing from internal storage (internal and sd).
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LSS4181:
Still I don't know exactly the reason why I could end up locked out of my phone, then regained access by reverting to the previous version:

When I first flashed CarbonROM and set my PIN (the phone is set to automatically encrypt the file system), TWRP would prompt me about it, but it stopped at some point citing that default password (I don't know what it really is) could successfully decrypt it. This wasn't a problem until I flashed the 20180911 version yesterday (from CarbonDelta) and got stuck on Sony logo (which was worked around using the kernel from post #262) , that it started prompting me for a passphrase, not my usual PIN input, and nothing I entered (even typing my PIN into the textbox, or "default_password") would continue.

It might be due to the fact that I did a wipe (for suspecting the stuffs I've installed might be the culprit), then restored the nandroid backup I made and reflashed the ROM, the correct kernel, Magisk and anything that needed to be refreshed, that I got locked out, but I'm not 100% sure, as if this were true, it means even nandroid backups won't save me if the phone's encrypted (which appears to be the norm for recent phones and it doesn't appear to be easy to completely disable it).

I tried deleting the locksettings.db (this is the only one present), but I was still locked out. Eventually I gave up and flashed the previous 20180811 version. To my surprise, the phone booted right into the system and I was able to reconfigure the PIN and get things back working as usual.

That's pretty much everything that happened yesterday. While the "stuck on sony logo" issue looked like a regression, this "flashing new version locked myself out and fixed by reverting to previous version" issue remained a mystery to me as I'm still new to all this encryption stuff with recent phones (my previous phones never forced encryption and I never attempted to use it mainly because I worried about it causing issues with system backups and such).

EDIT:

Can you confirm if the 20180911-2218 build boots without issues compared to 20180911-0230 (the one I got from CarbonDelta)?

Also, can you properly unlock the device after booting it? Mine got locked out when using 20180911-0230 with the kernel from post #262, and was fixed by flashing back the 20180811 build.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
Just downloading the update .... 2218.zip
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
I've had no issues ,boots up, unlocking my device works, did notice tho ,I came from running xposed 1.7rom, so I forgot I'm running the twrp aroma installer,Not sure if that makes difference... Are you running mindthegapps?

I have G8142
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sgellz:
Update on latest what's logs changes
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LSS4181:
I do have MindTheGapps, but I don't think that might be the culprit. I also have Nanodroid installed, but only for integrating F-Droid and systemlessly removing some system apps (namely SIM Toolkit which I don't use) and replace some of those with open-source alternatives. They all work just fine with 20180811 version.

Also, I did flash the SonyOpenDevices OEM images from here when flashing to 20180811 version from stock and never had any major issues. Do I need to flash back the stock OEM to use the new version (and how)?

Off-topic: It appears Sony also listed beta software binaries for 4.9 kernel (Yoshino, which our phone is based on), but I'm not sure what their plans for the future are as we're still 4.4 even on stock.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
I didnt flash the SonyOpenOEM.

Im running stock .270 CE1

1. Just flashed the zip file 2218.zip

2. Mind the gapps

3. Boot.img from #262

4 Magisk 16.0

Rebooted into system