Importing xz2 camera to xz1 - Sony Xperia XZ1 Compact Questions & Answers

Hello,
since xz2 and xz1 have same camera sensor (imx400) and xz2 makes clearly better pictures, i wonder if it is possible to get the xz2 camera software to the xz1, i mean if it is the same sensor shouldn't it be just a software problem that the xz1 is so crapy compared to xz2?

barbarendave said:
Hello,
since xz2 and xz1 have same camera sensor (imx400) and xz2 makes clearly better pictures, i wonder if it is possible to get the xz2 camera software to the xz1, i mean if it is the same sensor shouldn't it be just a software problem that the xz1 is so crapy compared to xz2?
Click to expand...
Click to collapse
There is already a XZ3 camera port, reporting improved performance with low light and frame rate, but I haven't tried it so I don't know if it works.

Didgesteve said:
There is already a XZ3 camera port, reporting improved performance with low light and frame rate, but I haven't tried it so I don't know if it works.
Click to expand...
Click to collapse
Thank you! I will try that

barbarendave said:
Thank you! I will try that
Click to expand...
Click to collapse
Does it work?
Sent from my XZ1 Compact using XDA Labs

TheArt. said:
Does it work?
Sent from my XZ1 Compact using XDA Labs
Click to expand...
Click to collapse
Didn't try yet, i have to root but this could cause the DRM Keys to get lost, they are important for the camera, and the DRM Backup is rather complicated. I guess i will wait for Android PIE and then root and flash the XZ3 camera. Other users say its working thougt, if you do it right! You can read this Thread for more that "Didgesteve" showed me, to gain some more infos: https://forum.xda-developers.com/crossdevice-dev/sony/mod-xperia-xz2-camera-port-xperia-xzs-t3771889

I would say backing up the DRM keys was a piece of cake compared to trying to get the camera mod working. At least j4nn has written clear instructions how to do it.
The camera mod instructions are so fuzzy that it seems to be impossible to get it working with the mentions of "superuser mod" or "patched services.jar", as the mentioned superuser mod is only for XZ, not XZ1C, and there's no mention about how to patch your own services.jar. I tried smali patcher already but it requires the file to be "deodexed", whatever that means etc.

I managed to install that mod. (Look post number #333) Lets say dont expect big changes.

hohosanta said:
I managed to install that mod. (Look post number #333) Lets say dont expect big changes.
Click to expand...
Click to collapse
Does the UI change when you install the mod?
Also did you do anything about the mentioned superuser mod or patched services.jar to get it working?
Did you delete the whole SemcCameraUI and CameraCommon folders or just the arm64 inside?

The ui didn't changed. And i didn't do any of super user mod and service jar thing.. But i did have a bug with video enchants force closing at setting. Maybe i didn't get the Mod fully working that's why i didn't get the effect. But yes i deleted whole folders.

vofferz said:
I would say backing up the DRM keys was a piece of cake compared to trying to get the camera mod working. At least j4nn has written clear instructions how to do it.
The camera mod instructions are so fuzzy that it seems to be impossible to get it working with the mentions of "superuser mod" or "patched services.jar", as the mentioned superuser mod is only for XZ, not XZ1C, and there's no mention about how to patch your own services.jar. I tried smali patcher already but it requires the file to be "deodexed", whatever that means etc.
Click to expand...
Click to collapse
Really? Oh man :crying: Sony should be ashamed not giving us the same quality with cam, just because they want us to buy the xz2c
To hohosanta: If the UI does not change, you did something wrong, therefore you don't have the better quality. At least this is what i read in the post, that the UI has to be the new one and if you do it right the quality is really better. Hope so.

It's hard to say how different the ui in xz3 is compared to xz1c in Pie as I haven't seen the xz3.
But anyway, maybe I'll try again to patch that services.jar and then try the mod as a magisk module (it seemed to install when I just used the oreo magisk module config files with the system folder from the Pie v2 zip, but trying to start the camera gives an unspecified error) if I just find a working way to do the patching. It might be that the apk signatures don't match and that's why it doesn't start. @hohosanta said that he tried to copy the files manually but it gave the same error as I got with the magisk module.

Used Smali patcher to patch services.jar, but I still get the same error with the camera mod. Doesn't seem to work...

Related

Xposed - Someone installed it?

Just received my brand new Z3,but already feeling the itch for some customization.
Someone already tried playing around with xposed?
It is fully working or at least some features?
Thanks
After rooting/bootloader unlocking the phone, I installed Xposed. It works well. I use the following:
App Settings - I made systemUI (and most of my non-sony apps) 240 dpi.
GravityBox (smaller nav bar, orange icons, replacement battery, AM/PM removal, 3 dot on nav bar right, search on nav bar left.
Tinted Status bar
Xperia Xposed - installed but I decided not to use anything
Please note, per conversations on general, unlocking the bootloader will irreversibly worsen the camera's low-light picture quality and kill native miracasting/chromecasting ability linked to Sony's DRM keys
I'm using tons of Xposed modules and I couldn't live without it. It's one of the greatest pieces of software ever written and I'll stay away from Android L until Xposed works on it. i never felt the urge to use CM or another rom since I'm using Xposed, GravityBox alone is such a mighty module that it replaces a plethora of third party rom features.
It's really hard to live without Xposed after having it for so long on my Moto X. I'm just not willing to lose the camera quality by unlocking the BL. Of course, there are other things I'm itching to do as well with root (like freezing and deleting lots of useless apps that suck battery!)
I am using xposed with
- xstana module
- tinted status bar
- gravity box
Everything works perfectly!
mickliq said:
It's really hard to live without Xposed after having it for so long on my Moto X. I'm just not willing to lose the camera quality by unlocking the BL. Of course, there are other things I'm itching to do as well with root (like freezing and deleting lots of useless apps that suck battery!)
Click to expand...
Click to collapse
I don't mind losing some of the camera quality either, I believe that people will either find a way to reverse the process, or make something better.
I'm just waiting till I can backup my TA partition.
Sent from my D5803
I istalled Xposed and run xled, xquiet hours and cyan lock screen the lose of the cameras low light abilty is not a big problem i use camera fv5 and change the iso settings
So no way in hell to get root without unlocking the bootloader?
i was using pie controls from gravitybox with navbar disabled, but i found out that pie doesn't appear when using camera with physical button with phone in standby.... anyone can confirm this?
I use XBlast and Xposed LED Control.
Both works fine. What does NOT work is GravityBox. But why? Can someone help me?
When trying to start it, it says "GravityBox System Framework does not answer" in german. in english perhaps its something like "cant retrieve System Framework data" or something like that.
It doesn matter how often i try, always the same error message
tranceonline said:
I use XBlast and Xposed LED Control.
Both works fine. What does NOT work is GravityBox. But why? Can someone help me?
When trying to start it, it says "GravityBox System Framework does not answer" in german. in english perhaps its something like "cant retrieve System Framework data" or something like that.
It doesn matter how often i try, always the same error message
Click to expand...
Click to collapse
You need to enable it in Module and restart phone. After that you can do what you want! In Download section, you can find more module with search filter by typing: xperia
Zanr Zij said:
You need to enable it in Module and restart phone. After that you can do what you want! In Download section, you can find more module with search filter by typing: xperia
Click to expand...
Click to collapse
Thx but did you read what i wrote? do i look as i use xposed the first time??
I am using xlast and xposed led, as i mentioned before.
tranceonline said:
Thx but did you read what i wrote? do i look as i use xposed the first time??
I am using xlast and xposed led, as i mentioned before.
Click to expand...
Click to collapse
I think gravity Box can not handle sonys ui. Had it before on lg g2 stock rom. Just some features worked. Keep in mind that gb is actually for vanilla kitkat(aosp,maybe cm)
GB worked fine for me on the Z1C, but eventually some features require a deodexed rom. I've always been using RomAur.
tranceonline said:
Thx but did you read what i wrote? do i look as i use xposed the first time??
I am using xlast and xposed led, as i mentioned before.
Click to expand...
Click to collapse
I did not mean you have to enable xposed installer. I said: you have to enable GravityKK module by tick the box, do nothing more, restart the phone first. After that you can config without any framework message error!
xposed works great
I using xposed for remote play (ps4)
and its workign great!
kekec777 said:
I using xposed for remote play (ps4)
and its workign great!
Click to expand...
Click to collapse
How does this work?
With bootloader unlocked? (I think so )
THX
gabsi55 said:
How does this work?
With bootloader unlocked? (I think so )
THX
Click to expand...
Click to collapse
I actually just installed CM11 for my Samsung Tab 2 p5110 so i have a custom stock rom..
kekec777 said:
I actually just installed CM11 for my Samsung Tab 2 p5110 so i have a custom stock rom..
Click to expand...
Click to collapse
Ah ok...
Thought you are using unlocked Z3C ..
Zanr Zij said:
I did not mean you have to enable xposed installer. I said: you have to enable GravityKK module by tick the box, do nothing more, restart the phone first. After that you can config without any framework message error!
Click to expand...
Click to collapse
Yes and as i said, i used Xposed before. what i want to say with that is : I know how Xposed works and how to use it. I know that you have to "activate" modules with the checkbox.
still, GB won't work.

Z4 ported camera problem on z1 cm12.1

Hi, l want to install z4 ported camera on my sony z1 cm12.1 . But after installing framework via recovery the phone doesn't boot again, also l installed only ported camera. Zip without framework, but camera doesn't work without framework
Please help me fix this
Is there other z3 or z4 ported Camera for z1 cm12.1.?
baku_boy_97 said:
Hi, l want to install z4 ported camera on my sony z1 cm12.1 . But after installing framework via recovery the phone doesn't boot again, also l installed only ported camera. Zip without framework, but camera doesn't work without framework
Please help me fix this
Is there other z3 or z4 ported Camera for z1 cm12.1.?
Click to expand...
Click to collapse
If you think that Sony camera app will produce a better picture, you are mistaken. You lose a bit of quality when you unlock your bootloader and it has nothing to do with the actual camera app. In other words, changing camera app (including Sony) won't produce any better picture. Apart from that, Sony camera is full of bloat...
optimumpro said:
If you think that Sony camera app will produce a better picture, you are mistaken. You lose a bit of quality when you unlock your bootloader and it has nothing to do with the actual camera app. In other words, changing camera app (including Sony) won't produce any better picture. Apart from that, Sony camera is full of bloat...
Click to expand...
Click to collapse
Thank you, but l want to install Sony stock camera

[MAGISK] [STOCK 7.0] LG G5 & V20 Camera

Hey everyone, here is a magisk module that will allow you to use both G5 and V20 cameras at the same time on a stock LG nougat rom.
For the ones that don't use magisk, delete the stock lg camera folder in priv-appp,then copy and paste only the two camera folders from my zip to priv-app.
Remember thatV20 camera app doesn't have manual photo or video yet on G5 cause of smali editing that's needed to put those options on the main screen. (now they are located on the second screen that only V10 and V20 have)
Enjoy (by the way re-uploads are welcome cause my Internet speed sucks. :laugh:
https://www.dropbox.com/s/lzzd1tix834v7zb/LGCameras.zip?dl=0
Thanks for this mod. Can these files be used in a Marshmallow environment? Or is the structure too different?
If the answer is no (as I suspect) this may be a good reason to upgrade to Nougat...
sugerdroid said:
Thanks for this mod. Can these files be used in a Marshmallow environment? Or is the structure too different?
If the answer is no (as I suspect) this may be a good reason to upgrade to Nougat...
Click to expand...
Click to collapse
No,these are nougat only I'm afraid. By the way,you should know that V20 cam is still a bit buggy on G5,this mod is for the ones who just want to have them both at the same time ?
Was looking for something like this! Works perfectly on Fulmics. Thanks!
Excuse me ,
I deleted and replaced my Camera , now I have lost camera and camera icons.
I am on nougat
max414 said:
Excuse me ,
I deleted and replaced my Camera , now I have lost camera and camera icons.
I am on nougat
Click to expand...
Click to collapse
Which folder did you deleted and which folders did you copied in priv-app?? Did you set the permissions and rebooted after?
Is LGCameraApp from the G5 and LGCameraAppx from the V20, or is it the other way around? I'd like to install the stock Nougat Camera app on my wife's G5 (she's using LineageOS now).
ataris_kid said:
Is LGCameraApp from the G5 and LGCameraAppx from the V20, or is it the other way around? I'd like to install the stock Nougat Camera app on my wife's G5 (she's using LineageOS now).
Click to expand...
Click to collapse
Only for stock rom,los or anything based on los won't be able to use this magisk module.
can you pleas make a mod to use tock camera with lineage 14.1, I will donate <3
The best of lg is wide and selfie, lineage has is how camera with no possibility to chose.
Someone posted the camera stock apk, but it says I can't install

[MODULE] Huawei P20 Camera for Kirin(659)-Devices

There won't be a new Version for Oreo with vendor files because of change to pie... A new Module for pie is in Progress...!
What is it?
It's a port of the Huawei P20 pro Camera, which should work on all Kirin-Devices.
With Magisk these arrives systemless.
It's tested on Honor 9 lite (Kirin659)
Why do i need that?
Because the Quality is much better than the Stock Camera. Test it yourself.
Whats Working
- Aperture
- Portrait
- Photo
- Video
- Pro Mode
- Night Shot
- Light Painting
- HDR
- Panorama
- Time-lapse
- Good food
- Document scan
- Filter
- Watermark
- QR-Code-Scanner (v1.3+; Photomode the Button in the upper left corner)
What's not working... (tell me if you find more)
- Slow-Mo (needs stock gallery; only works on stock rom)
- Switching from Camera to Video Mode the Camera closes about a second and reopen at once.
- Devices running <Oreo, cameraserver crashes.
What should i know... Changelog...
v.1.6. (21.07.2018)
- some stabelize improvments
v.1.5. (13.07.2018)
-some changes to reduce bootloops on some devices
v.1.4. (06.07.2018)
-added some permissons to reduce crashing without gallery and changed manifest in apk for same reason.
v.1.3. (18.06.2018)
-new Camera Version from P20 Rom with minor changes in ui and new QR-Code-Scanner (see above)
- ready for use with AI-Mode (minor lifesinghs on lld-l31 with pre-ported TestAI, cause no (software) AI implemented in Rom)
v.1.2. (06.06.2018)
-added some libs, so that the camera works on gsi roms too.
v.1.1. (01.06.2018)
- added the Camera itself to the Module (one Module and debugging easier)
- added Panorama-Mode
- added Modifications to Props for Quality Improvements
v.1.0
- initial release with only libraries
Download
You can download the Module here.
For devices where is an seperate apk in product partition... (Ended with v.1.4) take this one.
Thx to...
topjohnwu for Magisk
VigneshS007 for Testing and Support
All who helped to improve it
and everybody i forgot (sry!)

			
				
thanks, picture and video work fine, honor v9 flash it on pixel experience.
Sent from my Honor V9 using XDA Labs
lmentor said:
thanks, picture and video work fine, honor v9 flash it on pixel experience.
Click to expand...
Click to collapse
but the problem is Fingerprint gesture broken.
Sent from my Honor V9 using XDA Labs
lmentor said:
but the problem is Fingerprint gesture broken.
Sent from my Honor V9 using XDA Labs
Click to expand...
Click to collapse
I don't use it, so can you provide logcat?
If for some reason I have to unistall the module and/or Magisk will I have back the stock camera or I should reflash the ROM?
Thanks
Harlock1978 said:
If for some reason I have to unistall the module and/or Magisk will I have back the stock camera or I should reflash the ROM?
Thanks
Click to expand...
Click to collapse
Magisk override the stock camera.
It install some libs too, if the user isn't on stock rom.
The easiest way back would be a dirty flash.
When I open Magisk manager and I click on + under the Module menu and I choose your module it open the zip instead of installing it.
Should I install it through recovery?
Harlock1978 said:
When I open Magisk manager and I click on + under the Module menu and I choose your module it open the zip instead of installing it.
Should I install it through recovery?
Click to expand...
Click to collapse
Sounds like the stock browser behaviour. Long-press the zip and select "Open".
Long-press the zip and select "Open".
Click to expand...
Click to collapse
It works, thanks
Just tried this on my Honor 8 and it caused systemUI to not load on a restart. Had to force a reboot and uninstall the module to get back navigation buttons.
linkazoid said:
Just tried this on my Honor 8 and it caused systemUI to not load on a restart. Had to force a reboot and uninstall the module to get back navigation buttons.
Click to expand...
Click to collapse
The libs are for Oreo...
You could try to add the HwCamera2 folder alone to /system/priv-app/ without module and see.
That should work. Maybe the app didn't start, but you can see missing dependies in logcat.
i'd like to see logcat too, may i can improve something for other kirin devices.
This Module works only if you have Oreo as ROM?
Harlock1978 said:
This Module works only if you have Oreo as ROM?
Click to expand...
Click to collapse
The libs for Porting a from Oreo (P20pro as source) .
It should work on other Versions too, but because the "newer libs" a debuging is needed for compatibility.
The only way is that someone test and provide a logcat.
Darkest-Dark said:
The libs for Porting a from Oreo (P20pro as source) .
It should work on other Versions too, but because the "newer libs" a debuging is needed for compatibility.
The only way is that someone test and provide a logcat.
Click to expand...
Click to collapse
I try to install it on P10lite with Nougat, now I have no camera und also the command to go back or home.
It doesn't show also the connection to the net, but I'm able to do a phonecall, but now I'm stuck on the phone menu.
I try to produce a logcat with these command:
adb logcat -v long > p20camera.txt
I attach it
What should I reflash to restore my P10lite, System or Boot image?
Doing a reflash through Hisuite, will lock my bootloader again.
After many reboot Magisk manager was not crashing after opening and I could uninstall the module.
Now the phone is working again and the camera is again working on the phone.
Harlock1978 said:
What should I reflash to restore my P10lite, System or Boot image?
Doing a reflash through Hisuite, will lock my bootloader again.
After many reboot Magisk manager was not crashing after opening and I could uninstall the module.
Now the phone is working again and the camera is again working on the phone.
Click to expand...
Click to collapse
thats an magisk error. simple clear repo cache...
so far as i have seen in the log the problem are missing arguments in cameraserver/the lib of it.
i will think about adding the server with libs to the modul too.
btw the slowmo don't works because it has dependies with stock gallery... so far...
thx for logcat, that helps much.
Hi, does 3d portrait lighting works?
yasitoo said:
Hi, does 3d portrait lighting works?
Click to expand...
Click to collapse
when your device has all hardware dependies, it should. it is original camera from p20. nobody tested till now, cause missing hardware. libs are not included and had to be in your system.
The camera automatic shows the mods which could work.
Darkest-Dark said:
I don't use it, so can you provide logcat?
Click to expand...
Click to collapse
logcat is here.
Sent from my Honor V9 using XDA Labs

[Module] Magisk DRM Disabler

https://gitlab.com/Atrate/magisk-drm-disabler
READ THIS FIRST
Some (quite a few) users have reported various breakages due to this module. It is not really possible to fix them, since it seems that DRM might be integrated to tightly into some ROMs. You have been warned.
Description
A Magisk module designed to disable DRM (Digital Restrictions Management) completely on Android devices using Magisk, for reasons of security or ethics (see: Opposing Digital Rights Mismanagement and Examples of proprietary DRM).
Installation
Install through Magisk Manager
OR
Download the module from the releases
Flash the module through Magisk Manager or TWRP/OrangeFox
Grab the newest release on GitLab or GitHub
THIS IS NOT A MODULE THAT WILL HELP YOU BYPASS DRM PROTECTION
Quite the contrary, it will make you unable to watch any DRM-restricted content.
This is an alpha release
I am not responsible for any damage done to your device by this module, so flash at your of discretion
LOOKING FOR TESTERS!
If you're interested in helping the project by being a tester, please refer to CONTRIBUTING.md
Credits
topjohnwu for magisk
Changelog
License
This project is licensed under the GPL-3.0-or-later.
sad to say but after flashing your module on my device my volumes are not working. even set low its still got sounds or music! Removed module on magisk manager then issue is gone! ?
problemathic said:
sad to say but after flashing your module on my device my volumes are not working. even set low its still got sounds or music! Removed module on magisk manager then issue is gone! ?
Click to expand...
Click to collapse
All device sounds or just music in some apps?
Atrate said:
All device sounds or just music in some apps?
Click to expand...
Click to collapse
all devices sounds! i set it to mute but still got a sounds! removing the modules fixed it. hopes you get a fix
problemathic said:
all devices sounds! i set it to mute but still got a sounds! removing the modules fixed it. hopes you get a fix
Click to expand...
Click to collapse
Wonder what this could be caused by. Let's see if anyone else has a similar issue. What device and ROM do you use?
Atrate said:
Wonder what this could be caused by. Let's see if anyone else has a similar issue. What device and ROM do you use?
Click to expand...
Click to collapse
i have redmi note 5 pro (whyred) china variant. any rom i used same issue.
Atrate said:
Wonder what this could be caused by. Let's see if anyone else has a similar issue. What device and ROM do you use?
Click to expand...
Click to collapse
Odd request. Anyway you can make a module that actually adds all this stuff to a device that doesn't currently have it?
RLKirk said:
Odd request. Anyway you can make a module that actually adds all this stuff to a device that doesn't currently have it?
Click to expand...
Click to collapse
Unfortunately no, it would have to be device-specific, better to ask a custom ROM maintainer for that device
Atrate said:
Unfortunately no, it would have to be device-specific, better to ask a custom ROM maintainer for that device
Click to expand...
Click to collapse
It's a joying headunit for a car and sadly has no custom ROMs. I would attempt it myself but have no clue where to start on making a ROM for a device with no source code lol. But thanks for the reply.
Two things, what the scope of this module what is it supposed to allow you to do?
Also why not a backup or the original files of one have to go back to the original files
Darkcast said:
Two things, what the scope of this module what is it supposed to allow you to do?
Also why not a backup or the original files of one have to go back to the original files
Click to expand...
Click to collapse
It's a simple module that removes DRM components (services and libraries) from your device for reasons of ethics or security. See the OP for links about that.
Works great!
and now on latest update im having no sounds at all! im on redmi note 5 pro codename: whyred
problemathic said:
and now on latest update im having no sounds at all! im on redmi note 5 pro codename: whyred
Click to expand...
Click to collapse
Seems to be a device-specific issue, got a logcat woth any errors?
Atrate said:
Seems to be a device-specific issue, got a logcat woth any errors?
Click to expand...
Click to collapse
let me try matlog. ill post it here as soon as i get the logs
edit: latest release fixed the issue. what did you do? got the volume properly working now. high, low and mute! thank you
Great to know it's working for you!
I have released v0.2.0 today, let's hope it didn't break it again.
Alarms without sound, aslo no IU sounds - no that I miss them, but alarms would be nice to have. Since first release to the latest version v0.2.0.
Xiaomi mi 9t, xiaomi eu 11.0.4.
View attachment logcat_04-29-2020_11-24-56.txt
hovnonium said:
Alarms without sound, aslo no IU sounds - no that I miss them, but alarms would be nice to have. Since first release to the latest version v0.2.0.
Xiaomi mi 9t, xiaomi eu 11.0.4.
View attachment 5007359
Click to expand...
Click to collapse
Can't reproduce and the logcat doesn't seem to show anything useful. Try rebooting, I've heard from someone that their sound was broken on first reboot but fixed itself on second. (Don't ask me why it works ¯\_(ツ)_/¯ )
Oneplus 6t havoc 3.4 here without gapps.
This module detached all controls over screen brightness so I dumped ot for now.
The idea ia nice though
darfri said:
Oneplus 6t havoc 3.4 here without gapps.
This module detached all controls over screen brightness so I dumped ot for now.
The idea ia nice though
Click to expand...
Click to collapse
Hmm, wonder what causes it. Must be an OP-specific issue, since I have tested the module on a gappless G6 with Havoc 3.4 and didn't experience that issue. Also, have you tried rebooting twice?

Categories

Resources