yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
I have the G8142.

downloaded the file, tried flashing it twice now, still says G8141 and kernel says Nov 22
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] savi0023:
anyone have an error on ROOTING?

"unable to repack boot image" shown when the flash script is processing magisk

update: tried a few times, successfully flashed and booted up (G8142, using G8141's kernel)

update2: setup wizard jammed at "checking for update" for half hour.. nothing happen
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Blackghosthm:
Works for me (dosent work normally yo must delete boot.IMG in flashable ROM and put this boot.IMG in ROM and reflash the ROM) but no network connection on that I mean it have problem with cellular data when you active it deosent work.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] karrouma:
Phone boot then restart after some seconds

We need to unzip the file then extract boot.img then restart to twrp and fkash the .img it is now updated to april security but phone restart after booting some seconds and keep restarting
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
The best way to use the Dual SIM Kernel is by replacing it on the ROM ZIP (Just drag and drop and overwrite). Clean flash is adviced. Possible that the Network Issues are coming from the build.prop. Can anyone extract it for Me from the default Dual SIM ROM that i can create a Patch!? That would help a lot...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] lGIKDk:
is this volte of the korea supported?

i can try it
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] oneheart:
here you are! would you upload ROM to androidfilehost.com? Google Drive not good in China
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] raven213:
If I have a g8142 which kernel should u use? Also is the fingerprint scanner working?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
Finger print is working here ,I have a G8142, everything is working with this rom
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Thanks for Your Feedback! Are You on the default ROM Kernel and Build Prop?

Btw. Just enabled 4K Video Recording on the Front Cam but the SONY Camera App is not having the Option for it. Is anyone able to add this Option by editing? Works great with Open Camera but would be great to have this on the default Cam...

We can also merge this to AOSP if wanted...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
Yes I'm running the default ROM setting with my G8142
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] raven213:
Which kernel did you use?seeming OP said we need to get our own kernel?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
Using the one that came with the ROM, Nov 22
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] raven213:
Thanks I'll give it a go
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Patrck744:
Is the 2nd sim slot functional?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
I just have my sim card in there ATM, it's working. No way of telling if another sim would work. Probably not , cause we are running a G8141 rom

Second sim slot is not showing up in my mobile network tab
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] raven213:
hi does anyone have stock sony launcher?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Google is your friend.

---------- Post added at 04:55 PM ---------- Previous post was at 04:53 PM ----------

Has anyone got a boot animation working yet? No matter if i have one in oem/media or not, all I end up with is white screen with a black sony until it boots.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] madshark2009:
You should really concider reading the change log before flashing haha it says that he removed it so the device can boot even faster
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
And....... it doesnt? Boot time is the same, or damn close to stock anyway, id prefer a boot animation than the white screen.

As for reading the changelog, I have, and your pointing it out was kinda irrelevant. I didnt ask what happened to it (boot animation), I asked if anyone had succeeded in replacing it.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] madshark2009:
Ohsorry my bad man though its supposed to be faster...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
It probably is slightly, but yeah, id prefer having an animation.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] madshark2009:
Yah me too, but honestly how often do you actually turn your phone off and on? Mine is on ever since i bought it xD

Hey check out the boot animation on xz2 its a lot cooler and its fast i hope some one can extract that to us
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Its available now, but something has been modified in the ROM so even after manually placing the animation and giving permissions, still no dice. Its not a deal breaker, just wanted to know if anyone else got it going.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] madshark2009:
[MENTION=4756773]Miustone[/MENTION] any update on that 4k@60 fps camera?

Or 4k front facing camera?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Since AROMA ist broken on our Devices (See TWRP Thread), am i Not able top deliver a AROMA Installer to give You a Choice. But if You really want it that badly see the build.prop "nobootanimation from 1 to 0" and place a Animation into /system/media. You waste Time on Reboots with that but enjoy ?

4K Front facing is working now, but only on Open Camera (SONY App needs a edit). 4K 60FPS is next. Hope i can make it as default on the 4K Recording Option (Instead of the usal 30FPS). That ends in bigger Files and possible more Heat but i'll manage that somehow...

Out of Interest, has the XZ2 4K Recording on the Front with the Default Cam App?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] madshark2009:
No its 1080p.

Well ia it possible to add the 4k@60 as an option and not default? Like in 1080 you have 2 options can that be possible in 4k?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
That remembered Me about something...

I will test a bit around over the Day and let You know what i was able to do (Be prepared to buy a 2TB SD for the Records lol)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] madshark2009:
Yah i guess thats why iphone x has a version of 256gb ?

Still it would be awesome to have the option and mess around with it every now and then, plus its areal cool reason for more people to unlock and start flashing roms

Though i really cant wait for 4k screen or 120hz

But lets climb the ladder one step at a time

Great work
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Inerent:
Hello Miu,

I really don't think it woul be that easy as editing media vendor for 4k 60fps encoding.

It will be an work in: media profiles, media vendor, camera apk, kernel, Qualcomm isp libraries, maybe another qualcomm libs, Sony libs also, camera imx400 driver, generic Qualcomm camera driver and many more.

Now the real problem is that some of these files, maybe qualcomm, maybe sony, maybe both are encrypted as safe as 256bit.

Maybe you can trick software rutes, good luck with enabling this feature, your work will be highly rewarded in PayPal. :good:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Right :fingers-crossed:

That can be true, but as far as i can say now are we able to change the most over the Media Profiles. I was able to record with My new Settings but the SONY App has Limits built in and missing Options. For now does it only work with open camera, but maybe are we able to patch the main app somehow. Think i will upload a new ROM in some Hours including many new changes from the last Days. Some really nice Things are Part of that! Be prepared...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] moh1978sen:
Thank you very much everything working fine

And I tried Viper fx works fine with magisk or without

Nice job?

I even received Ota update from Sony but doesn't install

Thanks again
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] madshark2009:
wow cant wait
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Zelric:
Just to make sure I'm not missing something, so basically just install it as if I was in G8141 (I'm G8142)? I really want to try this one and am in need of refreshing my ROM. I'm coming from TURBO's ROM, is there anything I should keep in mind before flashing this one??? Or is it fine to just flash it as is?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] oneheart:
no body use xposed on 145？:confused:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Updated Instructions for better understanding and added a new Changelog top the second Post.

Please use XperiFirm and NewFlasher V10 to get the latest Modem, Bootloader etc. for YOUR MODEL. Keep in mind that You also have to Download and flash TWRP after that.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] madshark2009:
Great stuff!

By new xperia camera app what do you mean exactly?

And about volume, any luck making it louder?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] raven213:
Yep just install like any rom make sure to wipe. So far so good with this rom I'm really loving it
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] grodri19721:
I'm on 8142 as well just wipe and flash loving this room!!! Coming from turbo super smooth tomorrow just like turbo
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] SuzutsukiKaede:
the kernal for G8142 works fine with me.

btw this rom is fantastic..
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] RJASSI21:
I know in the other thread people said they wanted Google camera but I personally would much rather have a camera mod to the stock app. This would save having 2 camera apps if the mod is good, something on the lines of Cyberian camera mod which was absolutely amazing. This mod is only for z1-z3 series. There was also another great camera mod which was pexocam. Both mod the default Xperia app but I believe that Cyberian was the one with the more features. It gave 12800 ISO on the Z2 and 25600 on the Z3 which originally on the Z3 was 12800. It also did some other things too but if something alike could be brought to this rom that would be awesome! Just something in the long run doesn't have to be done right now, just a suggestion for something next when you run out of ideas.

Cyberian Camera Mod

https://xdaforums.com/crossdevice-dev/sony-themes-apps/mod-cyberian-camera-t3267271

PexoCam Camera Mod

https://xdaforums.com/crossdevice-dev/sony-themes-apps/mod-pexocam-t3359898

Edit: some of the images I have taken with both

Cyberian

https://plus.google.com/116272109758114321506/posts/gxnQfEeeFJN

PexoCam

https://plus.google.com/116272109758114321506/posts/LXRGbdLoWSw

All shots were taken on Xperia Z2 with these mods corresponding to the links.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Blackghosthm:
Hi miustone can you add advanced power menu in next versions of your rom. i saw that on some lg g3 stock roms.and please dont forget to work on optimizing the rom for higher resolutions (2k or 4k).

Thanks for your great rom.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] amakuramio:
thanks for the rom :)

I'm coming from .75 and noticed the wifi is weak / heats up at the beginning.

Maybe I was supposed to flash latest oreo instead? does it also support drm?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] madshark2009:
Yes flash oreo first as in instructions it says so

Yes it has drm
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] amakuramio:
On .75, xposed works, but not on Xperistock .145, XperiStock doesn't work if I flash it on top of .75

I tried to flash stock ftf .145 then twrp, but twrp doesn't boot at all. adb reboot recovery, not working either.

nvm, was using old twrp XD fixed it by doing boot twrptemp from storms drm fix
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] amakuramio:
never mind, xposed doesnt work with this rom. unfortunately.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Xposed needs a edited Services Jar to work on the latest Firmwares. Someone shared it on this Thread, I will include it in the next Update If wanted...

About TWRP, just download the latest Version from the TWRP Website. It works well for flashing Oreo and should be the One which Storm is using in his Exe. Only bug is that AROMA isn't working. Called that on the Thread for it and hope it will be fixed soon to give You more awesomeness! Sry If My replies are short but i'm a bit busy right now. Be soon back to You Folks!

BR
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] amakuramio:
no idea how to install the services jar, will wait till you include it in your next build. ty!

edit: will make a flashable in the morning
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] madshark2009:
is it possible you could make a rom based on 7.1.1? i mean that version had better performance over all and about 20-30% better battery life and heats less
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] oneheart:
that's really great, if you can achieve it ！:good:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Night ??

Edit: Just about to fix our Xperia Cameras on AOSP with the Developer of one of the most used and best Camera Apps for Android (Free App, just needs Camera2 API (See new Screenshot)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Referring to xposed, It still wont work. Its something Sony has changed.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] oneheart:
it not work on g8142_145firmware
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] amakuramio:
Services.jar plus xposed causes bootloop, doesn't work
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] amakuramio:
I will study about rom building and make oreo .75 for xperia so xposed can be used and .137 latest nougat debloated rom. Will take some time so please patience

Rom will include

Drm fixes and kernels

Extremely super super light rom with all functions intact, 100% stock, no changes or optimizations

Magisk 16.3

edit: it's going well. extracted 7.1.1 so far. Wow these roms are big when uncompressed!!!!!

Next is 8.0 .75. Then going to blend in with Xperistock rom (will see what files he / she used, then copy over it, in 1 day both roms should be done)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Let Me know when You need some Help or anything. Turbos ROM seems to be also back in the Works, so can i Focus on AOSP for now...

My Snappatch runs well on AOSP for now, AROMA is still bugged on our TWRP but it was worth a blind flash. Audio is much better compared to Stock. Smoothness and Performance is almost the same. The Camera delivers good Results with Noise Filter and besides that, all latest Android Features which i really miss on 8.0... After havig the Camera in a usable state is it really a worthy expierence on the XZ Premium (And Yeha, Substratum for Theming!)

Think i will come around with a new Thread and Patch the next Days, and hopefully also with the Open source Fix for our actual Camera Noise Problem (And without the need for DRMs)!

BR
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] amakuramio:
Hey Miustone, I have extracted the sin, ext4, then deleted unnecessary files, then used android script creator to put everything together. I am now copying it to my phone and see how it flashes. I will keep the stock android 7.1.1 / 8.0 under administration, you try to focus on aosp. :)

I never done this before, but I'm a human and I can learn :)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Mate, its very rude to announce/advertise a ROM in another ROM's thread. You should have opened something in news/discussions.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Blackghosthm:
its so good to see you work on aosp but aosp have a major problem ((screen colors)) the colors i fu**in bad like a cheap phone or even worse.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] amakuramio:
I'm sorry~ I never done it before, I will when finished :) so sorry

have problems creating updater script though :(
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Right, that should be a Problem on all SONY Devices including the Ones with Treble Support and unified AOSP ROMs. But that's something which i can enhance with the Patch. Actually looks the Display on My Device very good but i think there is more possible in the next Time. Another Bug is the non working Mic on Google, and some Sensors are not set right (Looks like SONY implanted own Sensors/Configs instead of using the Qualcomm ones). But i'm really looking forward to that. AOSP feels very good and is almost Bugless thanks to SONYs great Contributions to AOSP and the Xperia Devices running 4.X Kernels. Really close as possible to Nexus/Pixel, and not to compare with other Devices...

Know that feel, but don't give up! I can recommend using Superr Kitchen Ubuntu 16.4 which does the Scripts automated on Your Choices (And some Other Time intense Things). Just flash the wanted Firmware on Your Device, use the Kitchen with ADB (Recovery Mode) and let the Kitchen do the Work. After getting a ZIP are You free to do with it what You want (Script Edits, ROM Edits and so on). Hope that Helps!

BR
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] amakuramio:
I'm using different kitchen software on Windows, making progress so far. I'm deodexing, zipaligning, tweaking, etc :)

edit: success! going to make a new thread.

edit2: problems booting yet, maybe I included wrong kernel. now downgrading to nougat using newflasher.

edit3: boot screen is appearing...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] enricostella:
HI [MENTION=4756773]Miustone[/MENTION],

first of all many thanks for this ROM, it's just amazing how it works smooth and flawless. Using it since the last 2-3 days and it's working like a charm (G8141) !!!

But... I'm a noob and I like to play with different ROMs, searching the best one for me and taking some risks :P

So I have a question: I was using the Carbon AOSP ROM (0501), which is good as well, and I would like to know if it's possible to use your ROM "on it" (for some people it could be a stupid question, but I love risks :D) and if yes how to do it ?

And second (stupid?) one: what about when you update your ROM? do we have to perform a full wipe again?

Thanks a lot once again.

Cheers
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] enricostella:
Thank you
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] aquaboy11:
I recently backed everything up and reflashed the complete .75 FTF. It would be kinda sucky if I have to go through that whole process again. I have seen some threads where people discuss their successes with flashing and FTF without losing their data, but it often ends in corrupted partitions thanks to encryption. Which part of the FTF would I have to flash to get the ROM properly working, without losing/wiping my internal storage?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] SilverGamer_YT:
How did you do to make it works in lastest version of software (.145). Did you came from the futur?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Can't tell You that right now, but it would be smart to Update Your Device from Time to Time. That's something You can get around without receiving OTAs from Your OEM. Just running the latest Systems and Kernels doesn't fully Update Your Device, and there are always Reasons for doing Updates... (Security, Performance, Efficiency, Fixes etc.)

What do You mean? I'm just a usual T-1000 :rolleyes:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
NEXT VERSION: 18.4.12 “BEASTMODE”

Changed pre selected Options (Snap Utility)

Added Camera Configurations (Snap Prop)

Added Debloating Content (Snap Utility)

Cleaned up some Content (Snap Utility)

Optimized Camera Quality (Snap Prop)

Optimized Rendering Performance (Snap Prop)

Fixed Audio Processing on Xperias (Snap Prop)

Fixed Microphones on Xperias (Snap Prop)

Fixed Camera Noise on Xperias (Snap Prop)

Fixed Sensor Handling on Xperias (Snap Prop)

(TESTED ON “CARBON” XZ PREMIUM)

Some Things coming with the next Snappatch. Thread comes soon and the Stock ROM is at least paused for now if not even discontinued (Hope Unlimited and Turbo are delivering the wanted Stock Experience). Hope there are coming more AOSP ROMs once everyone knows that the Camera can work well without DRM. It's just a matter of Configuration and the right Apps (Open Camera, G Cam, Snap Camera HDR, etc.). Sadly isn't Stock supporting most of the HAL 3 Features (Camera2 API Legacy), otherwise could we adapt it. But great enough for now, just some Things left to fix...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Blackghosthm:
Cool,google camera works for you on carbon?cant wait for test it but i still think the stock can be better(screen colors).
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
Sounds like advertising but true Story...

https://xdaforums.com/xz-premium/how-to/solved-xperia-aosp-problems-stock-t3776857
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] smiley.raver:
[MENTION=4756773]Miustone[/MENTION] stupid question or I am completely blind LOL- i use my phone for my alarm as well - any chance of keeping the clock and alarm as a default feature?? or is this somewhere in the build??

I had to actually download a clock app with alarm feature as I could not find anything.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
If you like the Sony apps, they are available at apkmirror.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] smiley.raver:
Thanks Beetle - i like to remove as much as possible - but the alarm feature generally helps with gettting to work on time LOL

as i said I have downloaded an app, but was just wondering if i had missed it completely or it was in fact removed ( as most builds generally have the clock & alarm/stop watch/timer as standard)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
I'm a bit unconventional, but with Sense. SONY has a own Clock App, but we are on Android and that means You can choose. The Google Clock is My Favorite since it's influenced by the ex Timely Developers, and other People my have other preferences. So since the SONY Clock is available on APK Mirror and the most other Apps too (Some are also available from the Play Store), am i forcing no One to use it (same for the other Apps). I personally really like the Pixel Style, it's just how Android should be in My Eyes, and having Stock with a lot of the Pixel look and Features is just cool. But i'm back to AOSP now. Theres even more freedom and i wish SONY would just follow the Google Style while delivering small Extras like Stamina and the Audio/Visual enhancements. Stock is actually pretty close to it, but not enough...

And since AOSP works just awesome with My Snappatch do i not continue this Stock ROM. It's was nice to do that once again, but since there is more of a need on AOSP as on Stock ROMs am i thinking it's the right Way... The Thread will stay open and i'll keep the ROM up as long as it's actual, but be prepared that i create a new Thread and that i'm less active here from now!

Enjoy My Work and have fun with Your Devices!

BR
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] smiley.raver:
Thanks - good to know i wasnt missing it and blind - and yes I went with google clock :)

Rom works flawlesly, as well and looking forward to the AOSP version :)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Blackghosthm:
For me its never happend.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Miustone:
New Thread is up for everyone who wants to get a awesome experience on AOSP. Hope we get more ROMs when the Interest on it raises (Carbon ROM)...

Happy flashing! https://xdaforums.com/crossdevice-dev/sony/pom-snappatch-xperia-aosp-t3777322