yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] Udit68:
Guys default iso of xz2 is 12800? So why in the only showing 3200?
[Sony Cross-Device General] nhanphamzm:
Front camera was wrong. Help me fix.
[Sony Cross-Device General] Pandemic:
post a logcat then my bro CAN fix !!
[Sony Cross-Device General] karrouma:
differant sensor
[Sony Cross-Device General] Blackghosthm:
3200 in manual mode but take some shot in auto mode in low light(for exaple cover camera sensor with something black) and check the info of photo for me its shows up to 12800.
[Sony Cross-Device General] busawahk:
Phew, just read the entire chat. Love the work being done here and the patience for the workers of this port is very admiral.

From the beginning it looks like this port is based on the knowledge the XZ PREMIUM and XZ2 use the same sensor, may I have a link to the source you used?

I notice a lot of questions are asking for 4k HDR and 1080p 960fps but I am asking will there be support for 12000 ISO in manual mode? I compared the XZ PREMIUM and XZ2's camera app. A main feature for me from the XZ2 was 12000 ISO and less aggressive noise reduction in photos. Maybe these are easier to tackle than video recording. Small wins are still wins and I'd really be able to jump in on this then once my warranty expires :p

I don't have root, yet, so my experience is very little but just a thought: what if the camera app from the XZ2 is tied with Xperia launcher, and that only certain builds of the camera app needs to work with the Xperia launcher version on the XZ2?

Sounds crazy but if anyone who has an XZ2 can test this by trying to install the SONY camera app while in the Android P Beta, it won't work.

I don't have root on my XZP so I can't compare the contents of the launcher with the app.

Second thought: is the new camera features are tied to the kernel of the XZ2. I think the kernel in the XZ2 has specific modifications to allow new camera abilities that weren't available in the XZPREMIUM. I'm not sure if possible but if a port of the XZ2 kernel or maybe just the script for the camera abilities is able to work on the XZPREMIUM's kernel (or a version that works), I think this app would then work without further modifications.

I used to root the Galaxy Note (2011) a lot and a lot of features were tied directly to the kernel, so much that recoveries had to have a kernel built in them!

My leading theory is that the camera in the XZ2 is tied directly to the kernel or a specific script in the kernel. I don't have the knowledge with scripts of kernels to help much more though.
[Sony Cross-Device General] fobtob387:
Would this work on CarbonROM?
[Sony Cross-Device General] Pandemic:
why you not make a back up and try it !
[Sony Cross-Device General] Blackghosthm:
Nope,I even try it with Sony apps enabler.
[Sony Cross-Device General] fobtob387:
Alright, that sucks :( Thanks though.
[Sony Cross-Device General] Indashio:
XZ2 Premium on xperifirm who has camera files ?
[Sony Cross-Device General] karrouma:
Xperia™ XZ2 Premium Dual (H8166) firmware appeared

i will try to prot camera app to work with xz premium and xz1
[Sony Cross-Device General] Indashio:
? in xz2 premium is the older camera app than in latest xz2 I don't see nothing new
[Sony Cross-Device General] karrouma:
Yes same. And used older version used here in v2
[Sony Cross-Device General] iffadian:
Just want to make sure, please justify if what I did wrong.

I use xzs, the last firmware of Oreo. All I need to install this mod via magisk is to delete the arm folder, superuser mod, flash this mod, reboot, wipe the data. Enjoy?

Is it already correct?
[Sony Cross-Device General] karrouma:
Xzs not working till now. Xzp and xz1 works fine
[Sony Cross-Device General] iffadian:
Oke broo, thx,

Hope it can be fixed soon ??
[Sony Cross-Device General] Alvian_P:
V4 magisk link not working, plz check
[Sony Cross-Device General] Quoclam851995:
does it work on x perf
[Sony Cross-Device General] karrouma:
i will update the link with latest xz2 camera application
[Sony Cross-Device General] karrouma:
Magisk updated : new Google link updated

please delete all oat folders amd files before flashing
[Sony Cross-Device General] raven213:
What would be better for lens correction??
[Sony Cross-Device General] beammer335d:
Mine is saying to save location across the top

Any ideas
[Sony Cross-Device General] raven213:
What I did was install mod on magisk and restart the phone with the power button. When I restarted using magisk I was getting that.
[Sony Cross-Device General] beammer335d:
Have been trying that, still getting it weird
[Sony Cross-Device General] raven213:
How did you install??what I did was add the module and closed magisk and hold power and restart the phone.
[Sony Cross-Device General] beammer335d:
Installed with magisk16.7. Added mod(zip) closed magisk, rebooted phone. Still have the GPS.

What firmware you running? .270 here with janjan
[Sony Cross-Device General] raven213:
I'm on .235
[Sony Cross-Device General] beammer335d:
Just installed turbo edge v2. Everything works great
[Sony Cross-Device General] raven213:
I'm glad it's working :)
[Sony Cross-Device General] tolya-666:
For the recovery version will be?
[Sony Cross-Device General] karrouma:
Try v4 and push camera file from latest magisk
[Sony Cross-Device General] busawahk:
Anyone installed this have experience with working ISO 12800 in manual mode?
[Sony Cross-Device General] EpicGtab:
I keep getting this banner regarding location. Any idea how to solve it?
[Sony Cross-Device General] beammer335d:
I was getting that also running .270

I'm currently running .179 - all is good ,working camera, no location status across the top
[Sony Cross-Device General] EpicGtab:
So you gotta downgrade to get this working?
[Sony Cross-Device General] beammer335d:
I see raven has it working on .235
[Sony Cross-Device General] davidhozic:
Can you mod the xa2 camera app (bitrate, 1440p..)

Or maybe port this app to the xa2?
[Sony Cross-Device General] snake218:
Not working ing xz1 205 i think I'm doing something wrong

1. Not superuser

2. Delete oat folders mentioned on OP

3. Clear data/cache for camera and camera common

4. Flash in magisk version v5

5. Resulting in FC (unknown error) when I open camera app

6. Also tried flashing in twrp instead magisk and same result
[Sony Cross-Device General] karrouma:
patch your service.jar or superuser to disable signature from other app to work
[Sony Cross-Device General] postz:
Can't undo?

Tried it on my XZ1 Dual (.270) but it didn't work. I removed the arm folders and installed everything through Magisk (patchedservices included). When I rebooted the camera app was replaced by "To save locations...", and when launched it just says unknown error.

The problem is I can't undo it. I removed the Magisk modules and even restored the original folders (semccamera, cameracommon, cameracommonpermission) but the original camera app doesn't work correctly anymore. It launches but if I try to take a pic it doesn't do anything and eventually just crashes out. Other camera apps say they can't connect to the camera.

I factory reset the phone and even flashed over a new rom but it still persists. What am I missing?
[Sony Cross-Device General] karrouma:
restor your backup or wait to a new firmware then update
[Sony Cross-Device General] postz:
Well that's what I don't understand, why the camera doesn't work even after I restored the backup *and flashed over the original rom. I tried different roms actually. Tried .145 and 270, US and CE. Same issue regardless of which rom I use.

Out of curiosity I downloaded a new camera app (Retrica) I'd never used before and surprisingly the app connected to the camera and it seemed to work, but when I took a pic it came out green-screen.

Perhaps it's possible somehow the DRM fix I had installed got messed up, but even so I re-applied it so it should be working again.

:eek:
[Sony Cross-Device General] davidhozic:
Xa2 please
[Sony Cross-Device General] karrouma:
Install magisk then drm

Then patch service.jar

Dete oat

Flash v4 magisk
[Sony Cross-Device General] karrouma:
Your cam is not working after flashing this because some cam and permissions fikes for the original cam are replaced by xz2 one.

For people that got location or 120.0 dpi error or something like.

Ente to the error from settings application and ckeare data like if you got tap for location.(ente to it and cleare data)

Then re-install the camera app foind in the .zip

Extract and copy camera app to you phone then i stall like you install any other .apk file

Restart and hope the error is solved and cam work
[Sony Cross-Device General] postz:
It's worth a shot and I hope it will work for others. The stock camera is working again on my XZ1, probably because I

wiped all the partitions using Sony Flasher

and then patched DRM. So for testers, hopefully that brings the camera back if they want to revert and can't get it to work otherwise.
[Sony Cross-Device General] Indashio:
Autoportrait PortraiSelfie.apk signed with mixplorer from XA2 APKmirror Starts up by quickshortcutmaker app but only instruction I do not know how to implementat this to the application Camera Help !
[Sony Cross-Device General] Knowbody42:
Would it work on an XZP using Carbon ROM?
[Sony Cross-Device General] karrouma:
it should work

do a backup before trying
[Sony Cross-Device General] Knowbody42:
I just tried flashing v5 using Magisk. It installed, but the app just kept crashing when I tried to open it.
[Sony Cross-Device General] karrouma:
Fkash v4 restart thennv5 via magisk
[Sony Cross-Device General] beammer335d:
Download V5,,installed it, everything is working fine , but magisk is saying V4....
[Sony Cross-Device General] Knowbody42:
Still crashes on opening.

Maybe the stock ROM has more libraries it needs that Carbon ROM doesn't have.
[Sony Cross-Device General] fobtob387:
Crashes for me as well on CarbonROM, even with the Camera2 API Enabler and Sony Framework Magisk modules.
[Sony Cross-Device General] raven213:
Can someone show me how to remove this module? When I delete the module it doesn't go back to the stock camera
[Sony Cross-Device General] Quoclam851995:
sorry but which version can work on xzs
[Sony Cross-Device General] karrouma:
nit working on xzs

it is working on xzp and xz1
[Sony Cross-Device General] Knowbody42:
Restore system partition from a backup, or format and re-flash your system partition with a clean ROM.

Otherwise, figure out which files it added and delete them manually.
[Sony Cross-Device General] karrouma:
for who want to revert to original

i will create a flashable file and upload it to the forum

thank you for all
[Sony Cross-Device General] ubaidpks:
I need Xperia Camera App for my Huawei Honor 6X. Possible me for do ??? or any link for me ???
[Sony Cross-Device General] karrouma:
no
[Sony Cross-Device General] ubaidpks:
:( Thanks
[Sony Cross-Device General] karrouma:
I am working now on xz2 xz3 pie camera to works with oreo

Niw camera opened to me but i have some fc
[Sony Cross-Device General] Quoclam851995:
pie will come to xz1 soon,maybe it will work fine on pie
[Sony Cross-Device General] karrouma:
Yep
[Sony Cross-Device General] steso90:
Are there anyway to increase bitrate in video? Ive changed the value in media profiles XML but it doesent change... [MENTION=5327840]karrouma[/MENTION]
[Sony Cross-Device General] karrouma:
no

because sony limited the bitrate for the SD835

There are many files that we got error if changed and increased the bitrate.
[Sony Cross-Device General] steso90:
Ok thats a shame.. and Sonys EIS is only in Sony app?
[Sony Cross-Device General] karrouma:
in video mode
[Sony Cross-Device General] steso90:
If i use opencamera i have manual video mode and bitrate Up to 200mbps but it dont have EIS
[Sony Cross-Device General] raven213:
How's full HD 960fps coming along?
[Sony Cross-Device General] reckfield:
As far as I know xz1 compact camera has same hardware-based on xz3.

Hope One day u can create same xz3 camera for xz1, because that would be a real improvement for xz1 camera
[Sony Cross-Device General] karrouma:
i am testing a new version for android 9 pie

xz3 and some files and libs ported to xz premium and etc..z

the update in the coming days
[Sony Cross-Device General] reckfield:
Great!
[Sony Cross-Device General] mcraeally44:
Seems like with the Pie we're getting an updated version of the camera app INCLUDING 960fps@1080p as well as HDR video recording modes!
[Sony Cross-Device General] raven213:
Not sure about hdr recording but for sure 960fps@1080p
[Sony Cross-Device General] karrouma:
new pie version update version in the next days.

better photo and stable video

full hd slowmo is included with pie update

porting xz3 camera files and app

under testing.

wip
[Sony Cross-Device General] Pandemic:
Also for xz2 on pie bro [MENTION=5327840]karrouma[/MENTION] ?
[Sony Cross-Device General] karrouma:
Yess
[Sony Cross-Device General] CRYX:
[MENTION=4220786]karouma[/MENTION]

Hi Karouma, I flashed the V5 on pie9 (.306 rooted with magisk manager installed by restarting immediately in twrp to flash magisk 16.7 from above), everything works (photo, video) no green screen photo quality and higher video like promised (the slowmotion in HD is superb). My problem is when I record a video slowmotion and I want to switch to sms, the thumbnail of the video that I selected is GREEN.

a solution ? Thank you and good job Karouma ! :good:

(translated with google, sorry if inconsistency)
[Sony Cross-Device General] lonewolfbtown:
it was made for oreo so your bound to find bugs on android 9
[Sony Cross-Device General] karrouma:
try to change semccamerui apk to v1 pie
[Sony Cross-Device General] Guetto Design:
Can you make a port of the new ui for oreo ??
[Sony Cross-Device General] Pandemic:
You are a themer right, so why you cant ?
[Sony Cross-Device General] Pandemic:
Who tried v1 on xz2 with pie and all works ?
[Sony Cross-Device General] fedemyth:
Is there any way to flash the mod without sound mixer modification? It makes bottom spearker louder, but it lowers the upper one, which has better quality.
[Sony Cross-Device General] karrouma:
delete it from the fike before flashing

or do a backup for your original and replace
[Sony Cross-Device General] reckfield:
It is a kamikaze move if I use xz3 mod camera presumably on pie installed on my xz1 compact Oreo linegeos 15.1?
[Sony Cross-Device General] steso90:
flashed v2 but nothing happened. Checked files in system and no values has changed. Any idea why?

I have xzp on pie 306
[Sony Cross-Device General] karrouma:
i will check the file
[Sony Cross-Device General] manuerduarte:
i have the same problem, flashed but still use the original camera, the problem is that the folder and file in the patch are different than the original.

Original folder is system/priv-app/SemcCameraUI-xhdpi-release

Patch folder is system/priv-app/SemcCameraUI-xxhdpi-release, with 2 xx.

I flashed the patch and deleted the original folder and now it's working
[Sony Cross-Device General] snake218:
Working so far on XZ1 pie. Tried auto and manual camara, slow motion on hd.

- deleted SemcCameraUI and CameraCommon folder

- flashed zip in twrp, wipe data camera/camera common

Bugs

- settings: video enchantment setting crash when turn on/off. (after a reboot now display the message "function disabled when connected to a external screen", still doesn't work/crash)

- bottom speaker too loud (solved flashing a backup of original file mixer_paths_tasha.xml)

Great job, night shots with less noise, more clear image.
[Sony Cross-Device General] karrouma:
Thank you for your reply and for testing

For video enchantment crash when you are rooted on pie it is normal to get this error.

We all wait for the fix
[Sony Cross-Device General] steso90:
Is 1080 120fps possible? [MENTION=5327840]karrouma[/MENTION]
[Sony Cross-Device General] karrouma:
Sony didn't add this option

I will check camera files and cam app if i can do anything
[Sony Cross-Device General] Pandemic:
This camera have also the option that when we set the camera on an object, camera automatic open (smart launch) ?
[Sony Cross-Device General] rainjov30:
Is the new V2 with XZ3 port camera can be flash on oreo? I'm running .20 firmware. Thanks for answering. ??
[Sony Cross-Device General] snake218:
I upgraded to latest pie version today and notice something after flashing the mod:

It seems the files in system/vendor (and probably none of the files are not replaced, just the ones you delete first?) are not replaced by the ones in the mod zip files. Just checked file size and they are different.

Maybe that is the reason why the mod doesn't work if you don't delete first the camera and the other folder. Wonder, then the mod is not fully applied, cause all other files are not replaced?

The mod seems keep working, notice a less noisy image.

https://ibb.co/TMRYM4Z

Right panel is the mod folders, you can see the "components" folder was not copied.

https://ibb.co/LJwbTGn

Another example, you can see the file size of the files in root folder, are different from the ones in the mod.
[Sony Cross-Device General] vanokurilov@gmail.com:
Does not work on android 9. Sony xperia xz1. Nothing changes during installation.
[Sony Cross-Device General] karrouma:
i will update all the flashable file maybe next week of i have time

all you can flashed manually
[Sony Cross-Device General] gouster3:
can u please make this mod compatible with any treble rom? to bring Xperia Camera for any treble rom (when using stock vendor)

thanx. :)
[Sony Cross-Device General] steso90:
is it possible to "stretch" out camera ui so we that have change our screen to 4k could have "normal" looking camera ui ? thank you in advance [MENTION=5327840]karrouma[/MENTION]

or if you could point me in the right direction to the file i have to edit so it looks normal
[Sony Cross-Device General] karrouma:
It works but icin are little bit smaller
[Sony Cross-Device General] steso90:
How do i change it?
[Sony Cross-Device General] Gaaat:
Is it possible to have a magisk module also for XZ Premium with Pie?
[Sony Cross-Device General] niaboc79:
This patch does not flash anything on Pie, I'm wondering why people can see changes in picture quality [emoji849] Placebo effect...

Also this isn't XZ3 camera apk but an apk from XZ2 or XZ1 [emoji57]

Envoyé de mon H8266 en utilisant Tapatalk
[Sony Cross-Device General] Hakkinen3K:
Agree ?
[Sony Cross-Device General] nevenx:
Will magisk be possible?
[Sony Cross-Device General] karrouma:
[MENTION=599722]niaboc79[/MENTION]

This is a port to camera from xz3 works on others devices

This is what i know to do

If you have better than pls post it

I am not a developper like you

Help me if you can

I can test for you your work if anynew

I am using latest xz3 apk from latest xz3 firmware and some others libs and files

For quality and others yes it is better than any stock xz2 and other devices

If you can copy my files and create a flashable one that all works

If you want to help creat a flashabke for me

Where is your mod the xz3 camera port from 2monthes testing and nothing.

Thank you
[Sony Cross-Device General] niaboc79:
Take a look inside your updater script, you must flash in system/system/ for pie [emoji6]

I am sure your port works great, I know you're good on this matter, why should I do my own port. I am working on other stuffs [emoji6]

Envoyé de mon H8266 en utilisant Tapatalk
[Sony Cross-Device General] karrouma:
good luck my friend

if i can test or help let me know
[Sony Cross-Device General] raven213:
You think we can make flashlight brighter?
[Sony Cross-Device General] karrouma:
yes

it is modded from v1 oreo and same file in pie is working
[Sony Cross-Device General] raven213:
I see but any way to make it brighter for video recording? I'm using the flashlight on my s8+ to record in the night and it makes videos better.

Of course using my Sony lol
[Sony Cross-Device General] karrouma:
Increase brighness from left screen
[Sony Cross-Device General] raven213:
Makes the flashlight brighter?
[Sony Cross-Device General] karrouma:
no the video color is bright

flashlight more bright in next update
[Sony Cross-Device General] karrouma:
yesterday i baught a used xz2 unlock and then rooted and etc

xz2 has treble system xzp no

difference is xz2 xz1 xz3 xz1c xz2c are treble : system system and then aLl files

xzp non treble this port works with
[Sony Cross-Device General] niaboc79:
So create a zip for treeble devices [emoji6]

Envoyé de mon H8266 en utilisant Tapatalk
[Sony Cross-Device General] steso90:
Still No luck to make bitrate higher? [MENTION=5327840]karrouma[/MENTION]
[Sony Cross-Device General] karrouma:
No time my friend

After new year not now
[Sony Cross-Device General] Shellyaffff:
camera

Camera same after flashing deleting folders

---------- Post added at 03:22 PM ---------- Previous post was at 02:44 PM ----------

I did everything but camera looks same sound mod Has worked
[Sony Cross-Device General] karrouma:
device????

xzp or others
[Sony Cross-Device General] Sgellz:
xz

My device is xzp
[Sony Cross-Device General] tnecniv43208:
Having problems after installing v5 magisk module, I deleted all the oat folders and then installed the module from twrp, after reboot the camera just crashes, any thoughts that I'm doing wrong?

Xzp G8142 android 8.0.0 magisk17.3

Edit: now it works but the icon disppeared and the camera app name turned to "if you want to store the location..." something like that which is the text that will appear at first launch, any way to revert this?
[Sony Cross-Device General] karrouma:
reinstall the apk from the zip file manually
[Sony Cross-Device General] tnecniv43208:
It doesn't install even with services.jar patched

I copied it to data/app and the icon is suddenly back!
[Sony Cross-Device General] Sezar1332:
Can you add flash for front camera

---------- Post added at 08:01 PM ---------- Previous post was at 08:01 PM ----------

Xz premium
[Sony Cross-Device General] Pandemic:
We have no flash on the front camera dude. Lol
[Sony Cross-Device General] karrouma:
tried but not working

flash appeared but not working
[Sony Cross-Device General] Pandemic:
Ofcourse not because we dont have a flash in the front.
[Sony Cross-Device General] vofferz:
So does the Pie version work in XZ1 Compact?
[Sony Cross-Device General] hohosanta:
Does the v2 works with xz1c ? I tried flash zip file but seems not working. Can anybody explain step by step guide?
[Sony Cross-Device General] steso90:
You have to move the files to right folders by yourself because script isn't right. A couple of pages back refers to the issue.
[Sony Cross-Device General] hohosanta:
Go with root explorer to

SemcCameraUI: delete the arm folder

CameraCommonPermission: delete the arm folder

CameraCommon: delete the arm folder

So there are no arm folders anymore with odex files,

So you have only the apk files.

Do i have to do this step before manualy move fimes from zip file?

and should i move olny apk file?
[Sony Cross-Device General] vofferz:
How about the /system/priv-app/SemcCameraUI-xhdpi-release file, as in the mod there's a file/folder /system/priv-app/SemcCameraUI-xxhdpi-release with two x?

Also, why doesn't the updater_script work? Is it just because the extract line is for '/system' instead of '/system/'?

I tried to flash it yesterday and it seemed that the files were copied / replaced ok, but I'm not sure if itnactually changed anything regarding quality...
[Sony Cross-Device General] vofferz:
What does this mean?

Are you meaning that the line

package_extract_dir("system", "/system");

has to be altered in some way for the script to work correctly in Pie?
[Sony Cross-Device General] Pandemic:
For pie it must be this:
[Sony Cross-Device General] li0nh3art3d:
I have the Xperia XA2 which is on oreo. Will this likely work?
[Sony Cross-Device General] Pandemic:
Make a back up and try because i dont know, i own only the XZs
[Sony Cross-Device General] li0nh3art3d:
There's no TWRP available for the XA2 yet, and chainfire isn't working when I try to make backups. I suppose I'll just hold on for now. Thanks for the great work!!
[Sony Cross-Device General] Shako1993:
Hello, before i will root my XZP, I want to see example images taken with this mod, please someone share some sample images. Thanks.