yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] pbarrette:
Hi karrouma,

I like the mod, but it's a giant pain to get installed correctly. I also don't see any immediate improvement in low-light quality, but I just got it working so I haven't had a chance to thoroughly test it all out yet.

I also see some calls to com.sonymobile.control.fusionMode failing, which suggests I'm missing some component, and I see that there may be a database issue where the proper HDR column isn't being created. I'll have to look at that later

06-08 02:42:05.342 15165 15182 E VendorTagDescriptor: lookupTag: Tag name 'fusionMode' does not exist.
06-08 02:42:05.342 15165 15182 E CameraApp: [CaptureRequestHolder] setRequest(): key (com.sonymobile.control.fusionMode) is not valid.

06-08 02:42:05.415 3465 4413 E SQLiteLog: (1) no such column: is_hdr
06-08 02:42:05.415 3465 4413 E DatabaseUtils: Writing exception to parcel
06-08 02:42:05.415 3465 4413 E DatabaseUtils: android.database.sqlite.SQLiteException: no such column: is_hdr (code 1): , while compiling: SELECT _data, is_hdr FROM files_with_ext WHERE (_data like '/storage/0000-0000/DCIM/100ANDRO/DSC_0172.JPG') ORDER BY datetaken DESC, _id DESC

If you're on a newer firmware version, then the

libcameralight.so

libraries are breaking the camera. That's because Sony has changed some of the functions in the library. At least, they have in the XZ1c firmware version 47.1.A.12.179 (which I'm on). I haven't checked the older firmware versions. So the camera HAL is looking for a new function that doesn't exist in the old library.

I'm guessing that you're using my flashlight brightness mod from here. I can fix up the new version, but it'll be at least a week until I can get to it because I'm about to go on vacation.

The Magisk module would also be a lot easier for installation and removal if it was also handling the odex/vdex files.

I fixed up the module provided by [MENTION=5832554]iArvee[/MENTION] to handle that task. It's fairly simple, actually. Just create a file named

.replace

in the folders where you want to replace the contents instead of merge and create empty files with the same name where you aren't replacing the folder, but want the files to not be used. I've attached a zip containing the diff between his module and mine, so you can see what I'm talking about.
[Sony Cross-Device General] karrouma:
I will check the error

Maybe if i add camera fusion file the error gone.

I am not expert in this domain.

I will do my best.

Waiting your next lib files.

If you used xz2 libcamera files are fine and better than xzp

Thank you bro for your comment and your help
[Sony Cross-Device General] megaxp:
hey bro, fix link V4 Magisk donload link created by [MENTION=5832554]iArvee[/MENTION] :

https://drive.google.com/open?id=1el...tyemWsaSoI-kpF

Thanks!
[Sony Cross-Device General] karrouma:
I will work in an update. I will find some buggs and solve them. Also i will update cam app to latest version

For v3-4 magisk maybe [MENTION=5832554]iArvee[/MENTION] has a problem in his google drive or fikes are deleted

I will upload them if he didn't have a problem
[Sony Cross-Device General] iArvee:
Link is still the same, but here it is again just in case something messed up: https://drive.google.com/open?id=1elvygfkcaawinbK0CKtyemWsaSoI-kpF

[MENTION=935147]megaxp[/MENTION] thanks for the reupload!

[MENTION=4782500]pbarrette[/MENTION] thanks for the advice! I'll do that for the next version of the camera port.
[Sony Cross-Device General] saved-j:
show_progress(1.000000);
ui_print("= = = = Installing = = = =");
ui_print("= The XZ2 Camera Port =");
ui_print("=Only For Oreo And XZs/XZP=");
ui_print("= =");
ui_print("XZ2 Camera Port By Karrouma");
ui_print("= Zip By Pandemic =");
ui_print("= ----------------------- =");
ui_print("= Pandemic CEO Of RXS =");
ui_print("= Karrouma Brother Of RXS =");
ui_print("===========================");
ui_print("= Mounting partitions... =");
run_program("/sbin/mount", "/system");
run_program("/sbin/busybox", "mount", "/data");
set_progress(0.100000);
ui_print("= Wiping the stock camera app...");
set_progress(0.200000);
delete_recursive("/system/priv-app/SemcCameraUI-jniLibs64-xxhdpi-release/");
delete_recursive("/system/priv-app/SemcCameraUI-jniLibs64-xhdpi-release/");
delete_recursive("/system/priv-app/SemcCameraUI-generic-xxhdpi-release/");
delete_recursive("/system/priv-app/SemcCameraUI-xxhdpi-release/");
delete_recursive("/system/priv-app/SemcCameraUI-generic-xhdpi-release/");
delete_recursive("/system/priv-app/CameraCommon/");
delete_recursive("/system/priv-app/CameraWearableBridgeHandheldServer/");
set_progress(0.400000);
delete_recursive("/system/app/CameraCommonPermission-release/");
ui_print("= Wiping camera cache and settings...");
delete_recursive("/data/data/com.sonymobile.cameracommon");
delete_recursive("/data/data/com.sonyericsson.android.camera");
delete_recursive("/data/data/com.sonymobile.imageenhancer");
delete_recursive("/data/data/com.sony.tvsideview.videoph");
delete_recursive("/data/data/com.sony.tvsideview.phone");
set_progress(0.500000);
ui_print("= Extracting the XZ2 Camera files...");
package_extract_dir("system", "/system");
set_progress(0.700000);
ui_print("= Checking permissions...");
set_perm_recursive(0, 0, 0755, 0644, "/system/priv-app/SemcCameraUI-xxhdpi-release/SemcCameraUI-xxhdpi-release.apk");
set_perm_recursive(0, 0, 0755, 0644, "/system/framework/com.sonyericsson.cameraextension_impl.jar");
set_perm_recursive(0, 0, 0755, 0644, "/system/framework/com.sonymobile.camera.addon_impl.jar");
set_perm_recursive(0, 0, 0755, 0644, "/system/framework/com.sonymobile.imageprocessor.jpegencoder_impl.jar");
set_perm_recursive(0, 0, 0755, 0644, "/system/framework/com.sonymobile.imageprocessor.jpegdecoder_impl.jar");
set_progress(0.900000);
ui_print("= Unmounting partitions...");
run_program("/sbin/umount", "/system");
run_program("/sbin/umount", "/data");
ui_print("= Installation complete =");
show_progress(1.000000);
ui_print("= ...RXS MoonBreakers... =");
ui_print("= Born For Xperia Devices =");
ui_print("= Biggest Stand Alone =");
ui_print("= Team On XDA =");
ui_print("= Powered and Maintained =");
ui_print("= By Pandemic =");
ui_print("===========================");

PLEASE replace the updater-script in the zip.

I wonder what was the problem all this time, so that the people would need to wipe the previous camera files manually.

No credits necessary, though it took me some time to figure out all the package names and their locations.
[Sony Cross-Device General] 3mozz:
i dont know if i did something wrong. mine went to boot loop.

what i did : deleted those arms and flash the zip. :(

xperia XZS dual
[Sony Cross-Device General] karrouma:
not working for xzs

xzp and xz1 works fine with them
[Sony Cross-Device General] pw1nce:
Can i just flash the magisk module, will it work?
[Sony Cross-Device General] karrouma:
yes
[Sony Cross-Device General] chgr:
Hi there,

Now that this port has been available for some time, could anybody post a few more sample photos taken with the app ?

Ideally some trees, foliage from a distance (HDR and no HDR) and low-light pics.

This would be very kind of you guys who are using the port.

Thanks.
[Sony Cross-Device General] iArvee:
I have posted a few low light pictures a few pages back.
[Sony Cross-Device General] Inerent:
I think this will improve night quality even more:

https://youtu.be/dz4XoC7ncAI

I had compared xzp with xz2 and xz2 has clear glass on those 3 sensor... Xzp has paint over those 3... one is laser, the other 2 i don't know