yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
Thanks :)

Couldn't live without a unlocked Android anymore. Android User since around 8 Years here (Made some Holidays on iOS and Windows). And i'm glad to be back on Xperia. Hope You enjoy it as much as i do and will with the XZP :) But to understand that right, what's the actual Point with the Google Camera? I managed to gain some extra functionalities in the Past, but how does it actually looks like after installing the Stock Google Camera (Or even the Modded Ones)?

Is it full functional? Are the Pixel (2) Configs working? Differences between Stock and AOSP? Would love to take a look on the Camera Part overall. I want to shoot great Results with My new Baby so it's also important for Me...

:cowboy:
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
thats the thing, what I understood is aosp doesnt have legace camera2 API support, no super slow mo, no noise reduction (as drm is lost).

as for screen options 4k HDR or 1080p 120hz seem to show in options but people and devs say its not actually working, as after they choose an option and restart they claim to nothing changing.

these are the main reasons why people here hesitate unlocking the bootloader, as there is no camera2 API support on aosp so you get google camera but lose noise reduction and so many other camera features.

and there is no additional features that aosp give, neither of 4k nor 120hz work, so there is really no point of unlocking, if any thing its not just useless but also worsens...

and while still having drm, google camera has no support for max resolution (only 8mp) and does not have HDR+ option

so here to sum up:

2 thing that will make this community love you so much :P

1) fully working google camera while still having drm (or drm patch for that matter if its impossible to backup drm)

2) screen options of 4k@60hz or 1080p@120hz

if you can do that in aosp build thats the best

if you can do it in stock based build, also great

but as I saw your snappatch rom it looks very nice but yet again, unless it has those 2 things, unlocking bootloader and going through this much trouble is useless in my opinion

so good luck bro I really appreciate your collaboration
[Sony Xperia XZ Premium Guides, News, & Discussion] kibet85:
the thing about google camera is in the HDR+ algorithm. its an incredibly easy way to produce some stunning photos. for HDR+ to work,, it needs the full camera2api and support of RAW images. currently, Sony use some kind of legacy camera2api and doesn't support RAW, So most ports are limited to 8mp and HDR+ doesn't work.
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
SONY really HAS to include Camera HAL3 in the Future... Looks like the XZ2 will have the same Issues, but i wonder how hard it can be to change the Software of the own produced Hardware!? The Xperia Cameras would be outstanding against Others running AOSP, but even with all the Developer Support are they missing this Important Point...

I really hope i can gain some nice Results on Stock, otherwise would i like to try out Porting the SONY Camera App(s) to AOSP (With working Noise Reduction) which would even without HAL3 Support end in better Results as without HAL3 on AOSP/Google Camera Apps. Could be something for Xperia Cross Device Development, but i don't know yet if this is even possible without Porting the half of the Xperia Stock Systems to AOSP...

Can't wait to get My Hands on the XZP... Checking the Shipping State all 10 Minutes :D

https://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=de&idc=JJD1405123613478

Bit worried about the coming Camera Quality but i'm looking forward to get the best out of our Devices! Treble would also be something nice to have... Has anyone checked the Partition Table of the XZ Premium to see if there is a chance for a Vendor Partition!?
[Sony Xperia XZ Premium Guides, News, & Discussion] Blackghosthm:
I think if you create a stock based rom with ported xz2 features and native 4k, you are doing the best and it most be easier and more stable than a aosp.
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
Yeha, i was thinking about to deliver Stock again (Since SONY Stock is also really good except of the End of Support with Updates at any Point). But that means pretty Device Specific Work (Lot of Work). I could ease the Things on Stock up if i would deliver real Stock (Barely Debloated) flashable ZIPs for Xperia Devices besides doing the Snappatch for Xperia (Debloating, Adding, Root, Features, Google App Replacements, Mods and such).

I see there is also actually no alternative to this "Turbo ROM" i've taken a look on. And to be honestly, i don't see Me using this ROM. So a Stock Flashable with some Extra Features and deep going Optimizations from the Patch could be something great in My Eyes. I could also extend the Support with that up to other Xperia Devices like the XZ1 and XZ2 (If the need is there).

Let's see what i'm able to do after getting My new Baby. I'm full of Hopes that i rock this Device for all of us here :fingers-crossed:
[Sony Xperia XZ Premium Guides, News, & Discussion] iArvee:
I used to run an old build of AOSP to test out the 120 hz feature (though it's bugged. Sony devs are aware of this and I filed an issue in their github). The noise reduction was albeit the same. AFAIK the pictures you take will just show a green picture if you don't have the drm keys (at least the fix). But the noise reduction is still quite the same. However, I did not test that completely, just from memory. :D

As for topic, I'd rather go stock. The google camera isn't really something I'm after, but that's just me. I'm slowly teaching myself how to port stuff from other phones, specifically the new XZ2. I'd rather have stock + your patch + xz2 goodies, maybe?
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
Yah in stock based the fix works good

But in aosp that doesnt work
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
Getting XZ2 Features on the XZ Premium sounds Good to Me. Smart would be to integrate the Ported Content into the Patch so People can add it or just keep it Original with a untouched Stock Firmware (System+Boot). But i wonder...

Does it mean that the Camera does not work without this DRM Fix (Which isn't TWRP flashable (Without a PC))?

And AOSP has a working Camera out of the Box but without Camera2 API and with Noisy Pictures!? Just want to make sure i got it right before flaming about the lack of a mobile DRM Fix (Which could be included in ROMs, or simple be a Flashable ZIP for on the go)

Something i don't want is the need for a PC after flashing anything. I test so often My changes with Clean Flashs over the Day that it would kill Me to use Windows with this DRM Fix over and over again >.<
[Sony Xperia XZ Premium Guides, News, & Discussion] Blackghosthm:
When you wana fix drm keys on stock or stock based rom you need twrp+flashable kernel (you can find it in afs)+flashable magisk+drm fix flashable file thats all so quickly without pc.

Im do it all the time in all oreo firmware.
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
So there no need for the XperiFix Tool all the Time? Can You give Me any Links to it? I don't see the need to include it into the ROMs itself, but i would really like to take a look on what it does (Especially since Magisk in involved somehow). Maybe is there a way to get the Noise Reduction on a AOSP Port of the SONY Camera App. Can't say anything about this yet...
[Sony Xperia XZ Premium Guides, News, & Discussion] Blackghosthm:
Kernel link:https://androidfilehost.com/?fid=673791459329069491

Drm fix link:https://mega.nz/#!LRoFkSDA!bOsnRRE1gRpAZ0su-bZMfUjvMB7aRkLEc3V63bOuKnM

You dont need xperifix but if you flash stock rom with flashtool you need to flash twrp in fastboot and if you want twrp you can download it from here:https://dl.twrp.me/maple/twrp-3.2.1-0-maple.img.html
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
Thanks for sharing this with Me! Since this includes a Kernel am i wondering what's changed on the boot.img to get the Fix working. And it's dated on 2017 and still working on newer Firmwares?

I just extracted the latest G8414 .145 Firmware. Would be cool if i could Patch the kernel for the fix so that we can run the latest Kernel with it...
[Sony Xperia XZ Premium Guides, News, & Discussion] Blackghosthm:
Yes it works,this is canbe good.
[Sony Xperia XZ Premium Guides, News, & Discussion] iArvee:
Yes and no. On an old version of the hack, you can just flash the drmfix. However, on the new xperifix software, it seems to also change a few file attributes. Not really sure about that though.

Androplus' kernel (kernel.andro.plus) is always updated to the latest version. You can flash that and do the old method of the drmfix (flashing) instead of the xperifix. I've tried that before but it seems to not work. I probably missed a step anyways.
[Sony Xperia XZ Premium Guides, News, & Discussion] Blackghosthm:
Im tried androplus kernel and it doesn't fix drm keys.
[Sony Xperia XZ Premium Guides, News, & Discussion] schickel:
Viel Spaß ;)

Have fun
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
I'll give XperiFix a try on german Stock .145. Hope it works, sad it uses old kernels :(

Thanks for letting me know! i will try to talk to some Devs here to see if there is not a more easy way to fix the DRM Problem... (AnyKernel, Ramdisk Changes)

Thanks! :D

Unlocking it right now ?
[Sony Xperia XZ Premium Guides, News, & Discussion] iArvee:
The xperifix won't work on .145 since it isn't supported yet. However, there's a workaround:

1. Flash .75 on it. Boot it once. You don't have to complete the setup, just have it boot until there.

2. Flash .145 and don't boot.

3. Run xperifix.

Xperifix will think it's on .75, but it's really on .145. The drmfix process should complete successfully then. That's what I did with .112.
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
Good to know! Thanks! I ended up with Carbon ROM for now. Sadly isn't My Patch flashing, and i guess it's a AROMA/TWRP Problem (Invisible Installer). So i think i play a bit more around before deciding what i go with. Stock looked cool, but it looks like a pain to handle this DRM Stuff...
[Sony Xperia XZ Premium Guides, News, & Discussion] nevenx:
I just want to be able to install google camera with all functions.
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
We all have our Dreams right :angel::laugh: You really should ask SONY for Camera2 API Support. After that do You get all the Famous Features of the Google Camera...
[Sony Xperia XZ Premium Guides, News, & Discussion] Blackghosthm:
Hi miustone did xperifix recognize your device.
[Sony Xperia XZ Premium Guides, News, & Discussion] XxperexX:
what is snappatch?
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
Im too lazy to explain xD

Just go on the link in the signature of the publisher of this thread
[Sony Xperia XZ Premium Guides, News, & Discussion] XxperexX:
lolll here was i thinking it was something to make snapchat better ???
[Sony Xperia XZ Premium Guides, News, & Discussion] Inerent:
Features I want:

60fps camera preview - both if possible

Enable Displayport Alt Mode

Real 4k resolutions

120hz

Can you look at qualcomm spectra libs and try to modify video encoding to 60 fps on higher res than 1080p? Maybe 2k. I also think Sd835 is limited in binaries not to be able to 4k60fps, but that would be a lot of work. Maybe bypassing the isp and using the 8 cores to do the video encoding... Don't need the hevc codec which is hardware implemented in spectra. 100 bitrate would do with h264 and the 8 cores for the 4k 60fps

I don't understand the software updating mania as for the safety. For me nougat and oreo january patch was the fastest. Now my phone is crap. Lagging and and stuttering. Not that a hacked will ever use meltdown and spectre to hack my phone and find nothing in it. I will revert to nougat asap.
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
Not tried yet, but i'll keep that in mind :)

Well, i'm not the Wizard of Oz, but i just recorded 4K on 60FPS and enabled RAW with HDR+ on the Google Camera Mod 5.1.018_R4X V3.4.6. Have to check some more Things but i can already say that i prefer AOSP over Stock... (With Snappatch)

Display Port Alt Mode is something i can't test without a Adapter, and it's a pain in the A** to let others test my changes. But i'll take a look on that on AOSP as soon as i have such a Adapter. And 120Hz is something i never worked with. I don't even know how it acts with Audio/Video Sync and Vsync. Could be intersting to optimize it when the other Devs finally manage to enable it (For real)...
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
dude stock sucks aosp is a lot snappier and cooler ( i dont know about other people in here but thats just my opinion)

i really don think people would actually care if it was aosp based or stock based as long as have some thing new to offer (some thing that is worth unlocking)

4k@60fps thats a great start! raw HDR+? dude YOURE AWESOME, that alone is good enough already

if you can make aosp with snappatch with these working and a native 4k display or/and 1080p@120hz (if its hard, still those other things are still worth unlocking)

so hats down keep up the good work.

I personally prefer aosp as stock is not new... i got used to it im sick of it aosp is a lot cooler imo plus its easier to work with...

and how is raw with hdr+? or 4k@60 recording? is there really a difference? is it better or worse ? :D (the quality i mean of both image and video)

fingers crossed for you mate!
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
RAW is incredible good to have. Snapseed works well with it, but sadly it's still noisy af. Same for HDR+ (JPEG + RAW). 4K @ 60FPS has 17Mbps. Not bad at all, the Videos looks smoother and moving Objects are less smudgy. Tested with Open Camera and the called GCam, but still a lot to test...

For now it does looks like that everything works with Pixel 2 XL and Pixel 2017 ZSL HDR+ Configs (Yeha ZSL and Burstshots are working too)
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
snaspeed?

wait so if you take a picture with google camera a normal picture, how would you compare it to the stock camera? a lot noisier?

4k@60fps besides the fact that its smoother , is the quality actually better? same or worse?

over all how would you compare the camera to stock?
[Sony Xperia XZ Premium Guides, News, & Discussion] Inerent:
17mbps for 4k 60fps is low! Even with hevc encoding the iphone x has 55mbps, or 100 Mbps with h264. You should change the bitrate to 100 or 55 for h265 hevc

---------- Post added at 06:34 AM ---------- Previous post was at 06:33 AM ----------

Nice job btw and Congrats for your work.

I think i will root my phone asap
[Sony Xperia XZ Premium Guides, News, & Discussion] Blackghosthm:
Hi miustone how you flash snappatch on xz premium because aroma installer doesn't on twrp for maple.
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
Snapseed from Google :) It's able to edit RAW... But Yeha, lot Nosier. Tried in low Light and high Light Conditions, both ends in Noisy Pictures :(

You're right, it was the default Setting. Open Camera is still recording at 100Mbps @4K + 60FPS. But i have to check first if the saved Video is really recorded on that Level. I'm right now working on a Stock based ROM, based on the latest Firmware .145, maybe am i able to Produce better Results with it... I don't regret unlocking and rooting My new Baby, but looks like AOSP isn't a alternative if You want to take great Pictures. Besides that it is annoying to use XperiFix on a PC. It looks for Me that the creator of this DRM Fix wants to keep the Fix exclusive (Without giving other Devs a Way to fix it this Stuff with a ROM). Every Update of Stock means another flash with XperiFix, while the latest Firmware support isn't even available...

Hey, i just edited the AROMA config a bit to flash Magisk by default. After that have i just started the Patch (Invisible) and tapped thru the Installer without selecting anything (Just pressed next a few Times). I can't recommend that if You don't know how the Patch looks like, but i'm pretty sure our TWRP is faulty and that AROMA will never work right, no matter what we change on AROMA...

Another Question, can i just use Flashtool 0.9.24.4 to flash the latest Firmware from XperiFirm? I need a rooted System to create the Symlinks for a flashable ZIP. Would be good to know before i brick My Device with Flashtool (Seen something like another Flash Tool (Newflasher!?))
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
Flashed successfully the latest .145 Firmware with NewFlasher. Extracting the System now to create a flashable. Can't wait to play with it, but that the Camera isn't working out of the Box is really a huge Problem in My Eyes. How is this acting on this Turbo Stock ROM? Does it includes the DRM Fix with the old Kernel or do People need to use XperiFix after flashing it?
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
i think its working on turbo rom

its based on 47.1.A.3.254 / 75

kernel: check this screenshot of the rom info.

https://imgur.com/51g0rOY
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
Yes, it is the old Kernel. Thanks! Maybe can i get around this if someone is willed to backup the Boot Image after using XperiFix. That combined with the DRM Fix ZIP should do the Magic (Not Sure). I need to Patch the Kernel further for Deodexing and Decryption, so isn't it a Option to add One afterwards... It will simply end in Bootloops if the new Kernel isn't including the SE Policy flags for a Deodexed System
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
try to DM storm or turbo as storm made the fix and turbo used it in his rom, maybe with their help you can see how to solve the problem
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
Hope that wasn't to offensive: https://xdaforums.com/showpost.php?p=76154035&postcount=1970 :rolleyes:

EDIT: Also contacted [MENTION=4675598]shoey63[/MENTION] about this, since it looks like he knows something about it. I would really appreciate if i could create a DRM Fix without the need for Windows or a PC with him! Based on the latest Firmwares (Or Maybe a Ramdisk Patch instead of real Kernels (AnyKernel eg))
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
We can hope for the best

Much love bro
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
Just created and flashed My first Xperia ROM based on G8414 .145 Custom DE (Germany). Hope it boots and works just fine, i started the upload of it and will share it later today (If all is fine). Finger crossed for a new DRM Fix soon!
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
Holly **** **** cant wait to see the changelog and what it has to offer if its good enough and worth it then f*** warranty i will flash
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
Glad to hear this! It works just fine for now. Not a single FC or Error. Great Base to start with. The first Version will be full Stock (Deodexed, DM-Verity Off, Encryption Off) but i'm sure the next One will bring a lot of new Goodies, Options and Features. I'm for example planning to include Magisk by default, and to remove a lot of Apps. Sadly is AROMA not working on our Devices but i'll compare this somehow...

Thread will come with the Release in the Development Section! Stay tuned <3
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
Still we have to wait for working camera but great start!
[Sony Xperia XZ Premium Guides, News, & Discussion] Blackghosthm:
Miustone I think found that why drm fix need those kernels(I'm not %100 sure about this). Drm fix need root. For rooting your phone you need flash magisk, for flash magisk you need a patched magisk kernel, because I install magisk on stock firmwares (3 different firmware) and it flashed but it doesn't work just a icon come in your phone but when you tap on that it doesn't do any thing.

Conclusion:I think if you are creating your own kernel that supports magisk you probably do the job, and if you put those drm fix on your Rom(same as turbo, but he use storm kernel) and your Rom flashing magisk by itself we don't need do anything to have fixed drm.
[Sony Xperia XZ Premium Guides, News, & Discussion] Miustone:
I flashed the Magisk V16 out of My Patch on the XperiStock ROM https://xdaforums.com/xz-premium/development/xperistock-rom-t3774699

And it worked just great (Root works, and Passes SafetyNet). I will investigate some more Time over the Weekend in the DRM Fix, and i do just hope that i can publish a Way without the need to Donate or the need for a PC at all... (I'm really pissed about how it actually is with XperiFix)
[Sony Xperia XZ Premium Guides, News, & Discussion] Blackghosthm:
Tomorrow I will download your rom and test it.
[Sony Xperia XZ Premium Guides, News, & Discussion] Inerent:
I think you should build your custom based on the firmware with january security level. The february and march, now april have issues ( i think intentionally made by Sony) with lagging just to promote xz2. Oreo with january patch is the best firmware for this device, trust me.

Also regarding other devs, I allways have been suspicios that some devs here are Sony's employees just to make some development so that no one tries the other way.
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
haha ikr? XD i dont think its the issue though, there are only a couple of devs which is weird its not that sony is doing this its that the device isnt much used by people for more devs to work with, for them its a waste of time to put much effort on a device that only few people use, compared to google pixel, HTC, samsung, they would rather work there thats how I personally think I could be wrong though, but I do know one thing:

when you buy sony you must root! because the phone on stock doesnt unleash its full potential! in terms of EVERY THING! screen quality, camera quality, sound quality and volume, so much other features are not to their full potential, but take HTC on the other hand or samsung whatever it is they offer, they enable their costumers to use it, max screen resolution, max camera quality, same goes for google pixel and HTC, true you can still make them be more powerful but then you are over riding their max potential, kind of like over clocking, but with sony i feel like they set all features to unleash 60-80% of what it can actually deliver and thats why im never going back to sony :D unless i do my research and see if its worth rooting... but I kinda got my hopes up for [MENTION=4756773]Miustone[/MENTION] :D

BUT, when rooted, the XZ premium can dominate all the other devices in my opinion which is why once you buy sony YOU MUST ROOT, but thanks to sony now, if you root you lose a lot of features which makes the device even worse even when trying to make it better, unless you have great devs and many of them but again this device has very few users to its pointless for devs to waster their time on such a small comunity when they can put their work more famous devices.
[Galaxy S 4 Q&A, Help & Troubleshooting] Mapaputsi:
Please help my phone is switching itself off, Can someone advice me step by step how to tweak my phone so it safes battery, fast and it does not turn off by itself. I need name of app to load and all the settings.I installed Morphose Rom V2.0
[Galaxy S 4 Q&A, Help & Troubleshooting] audit13:
I recommend flashing the latest stock ROM and using the phone to see if it still turns off by itself. If it doesn't, you know it's not a hardware problem.
[Galaxy S 4 Q&A, Help & Troubleshooting] Mapaputsi:
Thanks, Pls send me the link for latest stock Rom. Will it work on Morphose 2.0?

Again besides low battery life the phone gets extremely hot.
[Galaxy S 4 Q&A, Help & Troubleshooting] audit13:
Check sammobile.com for the latest stock ROM.

Flashing the stock ROM will replace the existing ROM.