yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LSS4181:
Your data partition is encrypted.

It should at first show a mounting error. If you don't set a screen lock it should have been decrypted using default ones.

Which TWRP version are you using? I think you might need the 3.2.3 one as that was the one I used when I was still on stock Oreo as well as CarbonROM Oreo.

If you still can't access data partition and you don't have anything critical, you probably need to format data (not wipe) then flash ROM and avoid encrypting your phone in the future, unless you never flash OTA updates, as sometimes it can break across updates (asking you for a text password that you cannot answer), and that when you restore your phone from TWRP backup, your screen lock credentials become invalid that you need to delete locksettings.db so you can enter and reconfigure screen lock (you still need to use your previous screen lock to decrypt your data partition, though).
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] HoiFung:
I have a strange problem.Now based on stock oreo flash lineage or carbon, the first boot WIFI is normal, does not work after reboot. But when I flash the lineage or carbon in stock pie, WIFI everything works fine. I even flash the old version of carbon in stock oreo, WiFi is still not Work for me. But last year I flashed carbon and everything worked fine. Anyone have any suggestions? Thanks in advance!:)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] netwave:
Has the latest CARBON-CR-6.1-NOCT-RELEASE-maple-20190312-0036.zip been removed from the server? It wont download
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] HoiFung:
You can find it here.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] CRNO:
hello all

i download camera sony from apkmirror

but i don't know how install it on my phone

any one can help how i do it right ?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
After collecting dust on my desk for way too long, I eventually could be assed to finish it up.

Credits to [MENTION=4297219]modpunk[/MENTION] and [MENTION=4063475]derf elot[/MENTION] for all the hard work of doing the actual bringup. Gonna release some testbuilds soon, specifically looking for someone with the DualSIM variant to test these unified builds.

EDIT: Some things happen sooner than expected: https://dl.myself5.de/maple/CarbonROM/
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] cr7gg:
update: Working now, had to remove sim and sdcard before it would work properly.

update2: now working nicely with new sdhc, rom probably doesn't support exfat (sdxc cards) which was causing my problems

seems ok for daily driver.

thanks for working on the rom, tried every other rom on xda and CR6 was the best.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] CRNO:
CR7 work normal on device single sim except D2W not working
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Grancapitan:
Thank you. Installation without problems, but I can not use mobile data (with previous factory reset).
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Knowbody42:
When I boot up Carbon ROM, it complains that I don't have the right vendor image, and tells me to flash PQ3A.190801.002

So I searched for that, and I found this:

https://androidfilehost.com/?w=files&flid=286596

I downloaded maple-img-9-PQ3A.190801.002-20190924.zip, backed up my stuff, and went to flash it, but it is not a TWRP flashable zip

It just has a bunch of img files, including:

boot.img

cache.img

recovery.img

recovery-two-step.img

system.img

userdata.img
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
Theoretically yes, practically I lack the time and motivation to do so.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] madshark2009:
Well if motivation is what you need and money gives it

You can maybe raise a foundation of 100$ and if you reached it would you then try and make our phone better in terms of camera and screen?

I really hope you do as you seem to have the knowledge to do so
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Getting Noise Reduction based on RAW would be awesome and Change a Lot. I think most of the Users are still on Stock cause of the poor Picture Quality on AOSP. It's really a Dealbreaker. When this would be fixed am i sure the Interest on AOSP will raise and many People will spent a Coffee...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] madshark2009:
Exactly so whoever does this is gonna get a lot of thanks and donations from a lot of people
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
https://xdaforums.com/showpost.php?p=76192471&postcount=123

Soon solved :cowboy:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] rubensiooo:
when it starts for the first time it asks me to insert my access code to start the phone. when I insert any key it tells me that it is correct, but that my data is damaged and I have to restore the data ... can someone help me please? my device is G8141 thanks
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] blweldon2:
Easy fix my friend. Either compile or download the userdata.img file from 8.1 AOSP and flash it to your device's userdata partition over fastboot. Specific instructions will be available in the AOSP installation threads that use fastboot for installation. Don't worry about flashing anything else if you made it that far.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sassa04:
Please refrain from quoting the entire OP, it helps keep a thread clean.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] noppoer2:
Can't get the wifi working. Installed no gapps. clean flash. Flashed the lasted version (builded on april 10). I installed the latest sw binaries. And i am comming from stock central europe .119. I did multiple installs but can't get it working

Edit: Wifi is working on the version builded april 5
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] mbienert:
Fingerprint Sensor not working

Hello,

i like the carbonrom on my XZP. Unfortunally , the fingerprint sensor is not working. Has anyone else the same behavior?

Regards Marco
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
G8142 here still running this ROM, it's weird the behaviour with the fingerprint, sometimes it's working after reboot , other times it won't work.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] noppoer2:
Same here
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Strange Thing, i got it working today with My new Patch Version on top. Can't tell if it's the new Patch but the last 100 Installs was the Fingerprint not working anymore after the first Thumb Scan. Would like to know more about this Issue... Hope Myself5 finds the Time...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] nevenx:
after using storm's hack its nice to have recovery on phone and green pictures fixed, but everytime i try to flash this rom, im being stuck at sony logo and thats it, ideas?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] mbienert:
hmm... i cant even start scanning the first thumb. I stuck in the initial screen "Touch sensor" . It says , touch sensor, it is on the back of your phone. Ok, it's defenitly not at the back :).
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
shouldn't be your patch. BTW, if you want I can test it on the XZ1, afterall XZP and XZ1 are the same phone.

The text needs to be changed in the device tree as an overlay. So far, thats only done for english. If you tell me the proper translation for https://github.com/CarbonROM/androi...ages/apps/Settings/res/values/strings.xml#L19 in your Language I can update that.

for the general FPC issues: The people involved in the SODP project that have more time than I currently do, are working on fixing the HAL for Oreo.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] nevenx:
Flashing causes me bootloop and everytime when I check internal storage in recovery, it says that it's empty...?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Lirannl:
Same here. It only flashes boot.img. It doesn't install anything on /system...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Blackghosthm:
I haved the same problem but i fix it by tis instruction:

1-flash stock rom with new flasher and let it boot up.

2-flash aosp 8.1 data and boot and software binaries v11.

3-flash twrp.

4-wipe system, data, cache, dalvick cache and install carbon.

So now you can enjoy it.

---------- Post added at 06:01 AM ---------- Previous post was at 05:53 AM ----------

Myself5 you only guy that works on custom unstock for xz premium, so and you create a great rom, but can you create a cr Droid for xz premium it based on aosp, if you do it I'm sure you gonna a lot pay for it because it have lots of features,or adding more features to carbon, i saw carbon for other devices they have more features why you must don't add them to yours.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] nevenx:
Okay, thanks for that, can you just tell me what software binaries v11 is and where i can find it? Does it come with aosp 8.1?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
Please explain what features you're refering to. All our official builds are built from the exact same source, and other than Hardware dependent features that are not supported by the XZP, no feature is disabled.

Wow, you still didn't read all of the OP....
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] nevenx:
I did, i been at doctor so i didnt had time. Im flashing it soon.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Blackghosthm:
So features yeah here is some of them important for me:

1-double tap to wake

2-immersive display

3-navbar settings(moving buttons and use another response for them)

4-slim recent

5-slim pie

6-working night light (it doesn't work at least for me)

7-amient display or always on

Thanks for the time you spend for our device.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
1 Not supported by the Hardware

2,3,4,5 not a Carbon Feature on Oreo (yet?)

6 WIP

7 On a TFT Screen? Thats worthless, as brightness will be always on, therefore consumes as much power as if you screen was on normally. Only sane on OLED devices, which the XZP doesn't have.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Thunder_47:
Has the Carbon Rom been updated or any particular issues resolved? I see no activity on this thread since April 19...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
It's getting updated Weekly and changelogs are linked in the OP. I think the lack of activity is related to the forums generally being dead in comparison to other devices.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Thunder_47:
Thanks! Hopefully I can update to this and it will work, I initially shied away from it because the last post was on April 19..and I didn't really know what "Weeklies" meant, aside from the obvious and I guess I really should have posted confirming it. I read on another post that combined with the Snappatch, this ROM brings the best out of the Premium.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] SilverGamer_YT:
If I flash your rom how could I do to the all apps and when I do it shy it's stock at Sony's logo
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Alex1911:
I'm having issues with the lastest Carbon Rom update (8 May 2018).

It says that my Vendor image does not match so updated the Vendor and the issue still persists.

Best Regard's

Alex1911
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
Check the last part of the Announcement here:

https://blog.carbonrom.org/new-devices-and-may-security-patches/
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] frostydawn:
There seems to be a bug with gapps in latest 05/08/2018 build.

When I tried to install mindthegapps you've recommended, there were no changes made in system, and seems like that zip file didn't do nothing though it said installation completed.

When I tried opengapps as an alternative, it made the phone bootloop, while 04/10/2018 build worked flawlessly with opengapps nano.

Seems like there's no way to get opengapps working with the latest build, so I downgraded to 04/10 build.

In addition, of course I did clean install.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] wza24:
Same here - 05/08/2018 build is working fine, but no luck to get opengapps or mindthegapps to work with it...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] oneheart:
pls， where is the ODM Images？
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] frostydawn:
Do you mean there was a ODM image update during 4/10 to 5/8?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] oneheart:
yes，I don't know where is the download link
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] frostydawn:
https://developer.sony.com/develop/open-devices/latest-updates/

Here it is.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] oneheart:
thanks!

---------- Post added at 07:25 AM ---------- Previous post was at 07:16 AM ----------

does it No fingerprints at this time ?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] frostydawn:
For 04/10 build, it's buggy.

It stops working after a few hours of booting.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] oneheart:
if you test on 05.08?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Blackghosthm:
It's working sometimes and sometimes not lol.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Blackghosthm:
[MENTION=3816568]Myself5[/MENTION]

Dt2w, you said it's need sensor but huwaei y360 who just have a tilt sensor (even doesn't have proximity)can do it.

Why xz premium not just for not making problem it's need pocket detection with proximity sensor.

Carbon rom has already have always on display so you can add it and leave that to users to enable it or not.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Myself5:
Thats wrong. The XZ Premiums Touchscreen has issues with using DT2W where using DT2W would end up messing with the power button and other things.

Also, big no to AOD. It's a TFT screen, your battery will die in hours and you'll blame me for it. Not gonna happen.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Blackghosthm:
Ok,man i don't mean always on I just meant Ambient display who just turn on in some satiation.

Peace.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Sassa04:
To anyone having problems after clean install, try resizing system and boot partitions as they can deform slightly with repeated flashing.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Ho:
I have got this message after install carbon rom

Your vendor image does not match the system. Please flash the OPM2. 171019.029. B1 vendor image for your device

Is this OPM2?

https://developer.sony.com/file/download/software-binaries-for-aosp-oreo-android-8-1-kernel-4-4-yoshino/

fastboot flash oem SW_binaries_for_Xperia_Android_8.1.6.4_r1_v12_yoshino.img.img
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jymmyreevs:
hello people

I have a problem with my device . After i succefully unlocked bootloader , i flashed TWRP with ADB.

OK , then i followed exacly this thread https://xdaforums.com/showpost.php?p=74426201&postcount=285 .

I manage to install root.zip with TWRP .

Now i`m stucked in SONY logo , doesnt want to start , i need help, thank you
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] HoiFung:
Do you use xperifix?You should try to use Twrp flash magisk instead of Xperifix because this tool is only applicable to stock firmware:highfive:.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jymmyreevs:
No , i dont use Xperifix , i just used only ADB and TWRP , after i installed root.zip with TWRP , i reboted my device and thats it , i stucked on logo.

Now i can just go in TWRP menu , and its show me that i dont have an OS installed, need a fresh ROM flash from the start.

Problem is , i didnt copyied before any Rom in my device , i dont know what tot do
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] HoiFung:
Specific steps? I see if I can help you.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jymmyreevs:
1. i unlocked bootloader

2. i instaled TWRP with ADB

3 turned on device and i copyied 3 folders on phone memory , Kernel , Root , DRMpach .... (found on xda by storm_restore_pack)

4 turned off device , volume down and power button , i go on TWRP menu and i installed this three zips

5 i reboot system from TWRP , and i am stuck on logo SONY

i mention that i might wiped something from Data or System ,can`t remember
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] HoiFung:
You can try this.

1. Flash Twrp.

2. Restart to twrp.

3. Clear data at twrp.

4. Flash this rom.

5. Flash turns on gapps (optional) and magisk-16

6.Use the FASTBOOT flash ODM file.

7.reboot.

You don't need flash Kernel , DRMpach .... (found on xda by storm_restore_pack)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jymmyreevs:
the point was that i dont have any ROM on my device , nothing , but i solved with Xperia Flashtool EMMA

i was able to restore deleted files with this programme to the device

But Thankyou anyway for you help and understanding , i really apreciate
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] frostydawn:
With latest ODM image, 05/08 build works fine.

But the fingerprint sensor stops working after a few hours of boot.

Also, is there any way to improve camera image quality?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] SilverGamer_YT:
Using open camera but you can not use 19mp
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] frostydawn:
I found this great camera app.

[url/]https://drive.google.com/open?id=1zRaApVoSvQtON_h6ta1OB5QVeJRZaeZn[/url]

It improves image quality and removes quite impressively.

It made the noisy poor camera to acceptable one for me compared to stock.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] lGIKDk:
SAME opm2 ploblem how can I do ¿
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Cherokee007:
Hi, after the instal my phone says next:

"Your vendor image does not match the system. Please flash the OPM2.171019.029.B1 vendor image for your device"

Please tell me how I repair it.

Thanks
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] frostydawn:
There's no actual problem related to vendor image in your phone.

That message is displayed by bug, and is gonna be fixed in next build which is gonna be released in next week.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] tainhao:
copy a stock. ROM too your SD card, then you can flash ROM:cool:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] netwave:
I had the same problem, revert back to build CR-6.1-NOCT-WEEKLY-maple-20180501-0225 , to clear the vendor/system warning :good:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xueyaotianxia:
All fine now...after I formatted data in twrp, I went into the system successfully..
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xueyaotianxia:
It works perfectly for G8142, thank you!!

I have tested for G8142, dual sim works perfectly!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] frostydawn:
Seems like failing at fingerprint scan makes it malfunction and stop working, instead of displaying error message and giving me a second chance.

Also, VOLTE isn't working with my G8141 South Korea version
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Alex1911:
Hi Guys.

Does someone have also bootloop's with the latest build (20180522) ?

Best Regards

Alex1911
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] wza24:
No bootloop, but all Google apps still keeps crashing unfortunately.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xueyaotianxia:
I had the same problem, but then I went into twrp and did a factory reset, it went ok afterwards. However when I tried to make a phone call, after the dialling the number I wasn't be able to end the call. The conversation window did not pop up...I flashed stock 8.1 open gapps.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Udit68:
Guys can anyone check the extented setting menu i think 120hrz option is working sometime but my fps test is showing 61fps only but i think screen is more sharp and one more 4k option is not working
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] frostydawn:
With 20180522 build, fingerprint scanner is working perfectly fine with no bugs at all!

Always thank you for your great roms.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Blackghosthm:
Hi, myself5 can you make colors of rom better(more natural and Realistic like sRGB)?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] netwave:
Liking this Rom,

CARBON-CR-6.1-NOCT-WEEKLY-maple-20180522-0400

&

SW_binaries_for_Xperia_Android_8.1.6.4_r1_v12_yoshino , now works without compatibility warnings.

However have an issue installing 'MindTheGapps' linked from the OP

Installed via TWRP, MindTheGapps-8.1.0-arm64-20180320_011441.zip but did not show in Carbon?

There are a few varients of this, arm,arm64,atv-arm etc, so please verify which ones for the G8141 as thought it was arm64.

Personally id like OpenGapps Pico on this Rom as all I want is the playstore.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] cerberuxx:
Fingerprint sensor as a capacitive button

Hi guys! i have a question about this room, is there a chance of using the fingerprint sensor as a capacitive button, so you dont have to click the button read your fingerprint and unlock the device?:confused::confused:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Lirannl:
Yes, it already works this way
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xueyaotianxia:
I have tested this ROM for a while, everything seems to be so fine. Just one thing I could not find a good camera, stock google camera crashes when choosing slow motion and there is no camera can record 4k videos (maximum 1080, maybe Open camera, but quality is not so good). I think this ROM is better than stock rom, quick and smooth. I flashed Stock Open Gapps.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] cerberuxx:
How do you install this rom?

Well i came from a mi5 so i know the basic steps, but seems like installing a custom rom in this device is a lot more work, plus what gapps do you recommend, cuz i read that depending on the gapps you flash you can get a bootloop...:confused:

Thanks!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xueyaotianxia:
I used open gapps stock...had no problems. But I couldn't find a good camera app. The stock Google camera has no 4k recording and no slow motion.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] netwave:
What Build of Open Gapps are you successfully using?

I've installed both,

MindTheGapps-8.1.0-arm64-20180320_011441

and

MindTheGapps-8.1.0-arm64-20180505_211628

But neither of those showed up in the apps list for me on CARBON-CR-6.1-NOCT-WEEKLY-maple-20180529-0359

Flashed via TWRP

& open_gapps-arm64-8.1-pico-20180525 just bootloops
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] frostydawn:
I've had same problem and updating your device's oem image to latest one might fix it.