[HELP] Camera modules and HAL - Xperia Z2 Q&A, Help & Troubleshooting

Hello there
2 months ago I've replaced my damaged Z2 camera with a Z3 one and everything works . On AOSP roms I get that fisheye bug wich I understand is not possible to fix , so I went back on stock sony ROM but the fisheye bug didn't get fixed . I guess Z2 drivers and blobs are maybe not compatible with Z3 camera so I want to try to replace them manually from a Z3 extracted FTF . Can someone help me to locate the files needed to replace ? And also help me replace them because it seems it's not possible to replace them while system in running .

Dragoss91 said:
Hello there
2 months ago I've replaced my damaged Z2 camera with a Z3 one and everything works . On AOSP roms I get that fisheye bug wich I understand is not possible to fix , so I went back on stock sony ROM but the fisheye bug didn't get fixed . I guess Z2 drivers and blobs are maybe not compatible with Z3 camera so I want to try to replace them manually from a Z3 extracted FTF . Can someone help me to locate the files needed to replace ? And also help me replace them because it seems it's not possible to replace them while system in running .
Click to expand...
Click to collapse
Sorry i know this doesn't help you but can i ask how easy was it to replace and do you think you could swap the xperia sp front facing camera with the z1/z2's ?

GFlexForever said:
Sorry i know this doesn't help you but can i ask how easy was it to replace and do you think you could swap the xperia sp front facing camera with the z1/z2's ?
Click to expand...
Click to collapse
Once you remove the back cover of Z2 is very easy to remove the camera too , the Z3 and Z2 camera has same dimensions and same specs , only focal lenght is 25mm on z3 and 27mm on Z2 but this won't affect compatibility .
If Xperia sp has same front camera specs as Z1/Z2 then it's most likely same hardware part so yes you can replace it .

Related

[ROM][21/01][9.1.A.0.485][Small Apps][Bravia Engine 2][ClearAudio+]Fidelity VX 8.0

I made this ROM for my Xperia P device in this thread below
http://forum.xda-developers.com/showthread.php?t=1889581
Some users reported that it can also be installed on Sola and working fine. Not so surprising though as build.prop is modified not overwritten and most stuff I added are stuff from T/V so it's quite possible. I don't have devices on hand to test myself besides Xperia P so let me know what works and broken there so I can try fixing it to make it more generalized.
Very promising ROM
Appearantly it works on Xperia U and should also work on Sola/Go too for any 6.1.1.B.1.x stock ROM. Make sure you prepare root/busybox/init.d before flashing this ROM.
Windows X said:
Appearantly it works on Xperia U and should also work on Sola/Go too for any 6.1.1.B.1.x stock ROM. Make sure you prepare root/busybox/init.d before flashing this ROM.
Click to expand...
Click to collapse
it worked on my xperia u .. i didn't saw any problem besides the middle button didnt work.. not at all
Hello Windows X,
Thanks for your job, I have tested Fidelity VX 7 and8 and it's great !
I just have one weird problem with the 8.0 version, I'm not able to connect to internet through 3G/3G+ unless I ask to the phone to search and download MMS and Internet configuration ( in setup ) each time I boot the phone.
Sorry for my poor english if you have trouble to understand.
It probably has something to do with partial working JB files. I hope next release will solve those problems.
Version 9.0 was released btw and v10 with Xperia Z files is in development.

Custom ROM (mt6572) bug fixing (front-camera)

Hello everyone.. this is my 1st post in XDA forum. want advice from the elders.
problem: In my Customized Ported Rom front camera does not work.
Info: My devices is a non brand mtk (Cellular A102) with mt6572.
it is difficult to find any custom rom ported for my device.. so I selected an Customized ROM of mt6572 similar to my device (Walton F3i)
I ported that rom with my system stock rom.. everything goes well bt the front camera does not works.. even in camera there is no camera switching option.. during 3g video calling it automatically enables back camera. I tried third party app such as skype to switch the camera bt it was unable to open camera.
Stuff I did to fix that:
1.replaced system/etc/permission whole folder from stock rom to custom rom.
2. replaced system/lib
3.replaced build.prop
Sent from my A102 using XDA Free mobile app
You Dont Have To Replace Whole Folders,Just replace camera.default.so under lib/hw folder and camera permission under etc/permissions with stock...Give Feedback if fixed or not..
Happy to Help..

Xperia Z2 Camer for CM12?

Hi,my friend unlocked his boot loader and then installed CM 12.1.5.1.1 and he doesn't like google camera and he's willing to install xperia z2 original camera how to do that?also wants xperia keyboard how to do that too?
thanks!
Look in the cross dev sections
There are ports for cm12+
yeah in the cross dev section you will find it.
i have never have any sucess with the z2 camera ported to cm, but for some people it looks like it worked

XA ultra F3211 custom rom

Hi guys, I've found a custom rom that seems to work for our XA ultra. I'm using an other phones rom as base.
I don't want to steal someone elses credits and/or work.
I haven't spoken with the author and I'm not aware of all the rules. I fell of the motorcycle when a dog tried to attack me so my hands(palms) are wounded. Feel free to help me on this journey. Finally no more sickening bloated sony rom.
Kernel used: https://forum.xda-developers.com/xa-ultra/development/f32xx-stock-kernel-built-sources-t3639725
System image ROM: AOSP? 7.0 Need to contact author first.
Bugs:
- Battery shows as 1%
- No sound from speaker, MIC works
- Settings System app crashes when opening about phone
- Camera with weird blueish greenish hue/tint
- Share image upload doesn't show file browser
What's working:
- Touchscreen
- Keyboard
- WIFI
- Camera front and rear
- Auto rotate
- SD card
- Vibrations
Pictures:
https://imgur.com/a/vM58t
Contacted author of rom through the pm system
Tahsin88 said:
Pictures:
https://imgur.com/a/vM58t
Contacted author of rom through the pm system
Click to expand...
Click to collapse
Thank you for pictures, you know if the rom have sources?
rrvuhpg said:
Thank you for pictures, you know if the rom have sources?
Click to expand...
Click to collapse
No clue I contacted the author of the rom if it is okay to link his rom in this thread, will ask him if he replies. Not sure if it is an aosp or 7.0 modified to look like one.
I'm just happy we found a non sony rom to work as expected with our phone with minor issues. I did not port the rom just flashed system.img and it seemed to work. No major crashes overheating or anything like that. I know we can replace some files like camera libs so charger to get stuff working properly and maybe fix the settings crash when trying to open about phone with logcat? I know most fixes are listed in porting guide topics so hopefully it will be a piece of cake.
I prefer slim roms over any sony roms. TBH i debloated stock 6.0 rom but the phone was overheating and minor issues so I tried some other roms, i removed the backplate of my phone so I can test and remove thr battery cable to quickly reboot when it's stuck or looping. I have no problem with it since my screen broke I also took twrp backups incase it's needed. The sony threads are just too empty
rrvuhpg said:
Thank you for pictures, you know if the rom have sources?
Click to expand...
Click to collapse
Oh crap I just noticed you provided the kernel I used :good: :highfive:
now the forum is little fired up
I'm excited about the rom im sure devs will hep to make it live working
Finally we have something. I'm still waiting for Android 8 sources to be released
Tahsin88 said:
Hi guys, I've found a custom rom that seems to work for our XA ultra. I'm using an other phones rom as base.
I don't want to steal someone elses credits and/or work.
I haven't spoken with the author and I'm not aware of all the rules. I fell of the motorcycle when a dog tried to attack me so my hands(palms) are wounded. Feel free to help me on this journey. Finally no more sickening bloated sony rom.
Kernel used: https://forum.xda-developers.com/xa-ultra/development/f32xx-stock-kernel-built-sources-t3639725
System image ROM: AOSP? 7.0 Need to contact author first.
Bugs:
- Battery shows as 1%
- No sound from speaker, MIC works
- Settings System app crashes when opening about phone
- Camera with weird blueish greenish hue/tint
- Share image upload doesn't show file browser
What's working:
- Touchscreen
- Keyboard
- WIFI
- Camera front and rear
- Auto rotate
- SD card
- Vibrations
Click to expand...
Click to collapse
Send me the link please?
rrvuhpg said:
Thank you for pictures, you know if the rom have sources?
Click to expand...
Click to collapse
Author is not responding found some related source code that will most likely work for our device aswell!
Forwarded it to user rrvuhpg, lets cross our fingers and hope for the best!!!!
Any more news on this?
appleknight said:
Any more news on this?
Click to expand...
Click to collapse
As said by @Tahsin88 he have forwarded sources code links to me, very big thanks to him :good:. Until now I worked with Elephone P9000 sources code as base and it was good on Marshmallow but for Nougat it uses a lot of files from MM and it's not good. New sources are even better to build Nougat based roms, I have to port them to XA and start building. It will takes some time but it's on the good way
rrvuhpg said:
As said by @Tahsin88 he have forwarded sources code links to me, very big thanks to him :good:. Until now I worked with Elephone P9000 sources code as base and it was good on Marshmallow but for Nougat it uses a lot of files from MM and it's not good. New sources are even better to build Nougat based roms, I have to port them to XA and start building. It will takes some time but it's on the good way
Click to expand...
Click to collapse
What about dt2w? Any progress?
And please don't forget XA Ultra, the bigger one
BlueTR said:
What about dt2w? Any progress?
And please don't forget XA Ultra, the bigger one
Click to expand...
Click to collapse
I worked on dt2w P9000 is not good because needed files are already compiled, I need original .c and .h but they are already compiled in .o so it's like some already chewed food and I can't port the patch from it. I tried with an other patch but it doesn't work because some kernel definitions are different in the code and I'm not good enough to correct this. I think that if I can find the same thing in a 3.18 kernel it will works.
Good news for you, all this work and rom building are made on a F3211 device Now I have this one and a F3112 (XA), I work on it because the XA Ultra community thanked me more than the XA community for my work on Nougat so for me it's normal to work on XAU first and later on XA
rrvuhpg said:
I worked on dt2w P9000 is not good because needed files are already compiled, I need original .c and .h but they are already compiled in .o so it's like some already chewed food and I can't port the patch from it. I tried with an other patch but it doesn't work because some kernel definitions are different in the code and I'm not good enough to correct this. I think that if I can find the same thing in a 3.18 kernel it will works.
Good news for you, all this work and rom building are made on a F3211 device Now I have this one and a F3112 (XA), I work on it because the XA Ultra community thanked me more than the XA community for my work on Nougat so for me it's normal to work on XAU first and later on XA
Click to expand...
Click to collapse
So, I guess it will be harder to succeed. Anyway it's not the end of the world, we may not have dt2w but we will have a working custom rom which is better
Tahsin88 said:
Hi guys, I've found a custom rom that seems to work for our XA ultra. I'm using an other phones rom as base.
I don't want to steal someone elses credits and/or work.
I haven't spoken with the author and I'm not aware of all the rules. I fell of the motorcycle when a dog tried to attack me so my hands(palms) are wounded. Feel free to help me on this journey. Finally no more sickening bloated sony rom.
Kernel used: https://forum.xda-developers.com/xa-ultra/development/f32xx-stock-kernel-built-sources-t3639725
System image ROM: AOSP? 7.0 Need to contact author first.
Bugs:
- Battery shows as 1%
- No sound from speaker, MIC works
- Settings System app crashes when opening about phone
- Camera with weird blueish greenish hue/tint
- Share image upload doesn't show file browser
What's working:
- Touchscreen
- Keyboard
- WIFI
- Camera front and rear
- Auto rotate
- SD card
- Vibrations
Click to expand...
Click to collapse
Can u ported miui9 for xa ultra
Status update? Need for testing?
following
Tahsin88 said:
Hi guys, I've found a custom rom that seems to work for our XA ultra. I'm using an other phones rom as base.
I don't want to steal someone elses credits and/or work.
I haven't spoken with the author and I'm not aware of all the rules. I fell of the motorcycle when a dog tried to attack me so my hands(palms) are wounded. Feel free to help me on this journey. Finally no more sickening bloated sony rom.
Kernel used: https://forum.xda-developers.com/xa-ultra/development/f32xx-stock-kernel-built-sources-t3639725
System image ROM: AOSP? 7.0 Need to contact author first.
Bugs:
- Battery shows as 1%
- No sound from speaker, MIC works
- Settings System app crashes when opening about phone
- Camera with weird blueish greenish hue/tint
- Share image upload doesn't show file browser
What's working:
- Touchscreen
- Keyboard
- WIFI
- Camera front and rear
- Auto rotate
- SD card
- Vibrations
Click to expand...
Click to collapse
Could I possibly get the link for this? I will start developing on it.
I feel like this has died?
I hope not so

Question about camera fimeware

Hello,
Is it possible to remove the camera firmware out of a custom Rom from a smartphone with a IMX220 Exmor RS (https://www.kimovil.com/de/liste-smartphones-nach-objektivmodell/sony-imx220-exmor-rs) and
include it on the firmware/custom Rom of the elephone s8?
There hasn't been any custom ROM development going on for this phone in the last 3 months.
But skeleton made Eragon and my question is if it is the possible ?
joh9 said:
Hello,
Is it possible to remove the camera firmware out of a custom Rom from a smartphone with a IMX220 Exmor RS (https://www.kimovil.com/de/liste-smartphones-nach-objektivmodell/sony-imx220-exmor-rs) and
include it on the firmware/custom Rom of the elephone s8?
Click to expand...
Click to collapse
Maybe. You can look into the system files . There are camera libs and some more things in system/etc and vendor folder.
Copy them out of the firmware . And of course the camera.apk
Then copy all into your custom ROM on the s8 and reboot.
(Make a backup in twrp first. Just in case something goes wrong, also make sure the files have the right permissions. Use mixplorer explorer for that. It will set permissions automatically)
I will try it with "Meizu MX 5" and "Sony Xperia Z3"
by the way: only Ver. 7.0 Like Google Camera 4.1.006.126161292 works on elephone s8
is there a way to get the images a little brighter? with the Google camera the pictures are super dark

Categories

Resources