Why no one transplant sony camera to CM rom? - Xperia Z2 Q&A, Help & Troubleshooting

Sony camera is reaally amazing.

DanteAche said:
Sony camera is reaally amazing.
Click to expand...
Click to collapse
Because it requires Sony's framework to run, so you'll always need to be on a stock based ROM to utilize their camera. For now at least.

blyndfyre said:
Because it requires Sony's framework to run, so you'll always need to be on a stock based ROM to utilize their camera. For now at least.
Click to expand...
Click to collapse
Thanks a lot

i do believe such a thing already exists in the sony cross development sections however its extremly buggy due to how its been ported
i do recomend taking a look as this mod does work on/off cross devices, some it works fine and some not
great conecept though simply because it uses a custom app which contains all kinds of needed files and any apis have been moved within the camera app its self

Related

[Q] Could someone explain why the camera in sonybread and cm7 doesnt work??

Or how I can get it to work...?????If the camera worked like froyo these roms would eb absolutely great but everyone uses the camera!!
Well, that's just Sony's sudden way of saying "***** you"
But I guess it's because the libraries in 2.1 up to 2.3 has undergone significant changes ==> making it hard to port properly.
Hmm I guess it's well explained by: drivers.
Every Computer itself is hardware. Your mobile phone is also hardware and the ccamera is a specific hardware. that every other component of your mobile can use that specific hardware "camera" - for example that your camera recording app wants to use your camera to record video or take apicture - drivers are needed for the operating system.
The stack of communication levels looks very minimalistic like that:
app (camera.apk)
operating system (android in version 2.1. 2.2 or 2.3 or 1.6)
driver (inside operating system)
hardware (camera)
app says: take picture with camera (meaning open shutter, let the light into the light sensor) - operatingsystem knows what to do and tells driver (open specific shutter, let the light into the sensor xyz) and the driver opens the shutter and lets the light into it... maybe you get it...
The point now is: You have a specific camera that needs a specific driver in your phone. And Sony Ericsson has this perfect driver for that and does not give it out to us. That's why their operating system "stock ROM" works perfectly.
For Froyo the devs found a similar driver or maybe (I don't know really) could make the SE-driver compatible for Android 2.2. I guess was hard work to make Android 2.2 also for hardware keyboard and so on compatible for our mini pro!! And it was also another such hard work to make Android 2.3 compatible for our mini pro. But the Camera driver is still the Problem and thus the Camera can not be used as used in Gingerbread that is Android 2.3. And CM7 is a modified Android 2.3 for Mini, and slades and sonybread are based on cm7 and thus camera still does not work as we all would like it.
You can not use the drivers from froyo (cm6) or Eclair...
Okay?
As I guess the devs are still working hard on getting it worked but it's not that easy. That's also the point why the most people use the CM6 edition (Froyo ones)
Okiddoki?
thanks for your replies ...... Hope they LL fix it soon.....I definitely don't wanna go back to stock
Be grateful that it possible to even take pictures! With the HTC Click/Tattoo we had no cam on 2.1 up for over a year!
Download the applixation picsin from market ... Works great and takes.images in better resolution than vga.... Note* i only found it to.work with sonybread 4
..::XDA RocK::..
jls95 said:
Or how I can get it to work...?????If the camera worked like froyo these roms would eb absolutely great but everyone uses the camera!!
Click to expand...
Click to collapse
Use 6 but change your sdk to 10 and use a theme from 7
I know that the big X10 has different hardware with this phone, I was just wondering is it possible to port something from x10 when the 2.3 update roll out?
Sent from my U20i using XDA Premium App
sorry for offtopic, but can you make a port driver for sound and dsp manager with the CM7 at CM6?
picsin did not work on sonybread 4 for me
Snoopo said:
As I guess the devs are still working hard on getting it worked but it's not that easy.
Click to expand...
Click to collapse
I really doubt, that anyone is working on this... in fact I think everybody is waiting for a working driver to be released (from other devices or even from sony).
If somebody was working on getting it done we would know about this...
dllngr said:
I really doubt, that anyone is working on this... in fact I think everybody is waiting for a working driver to be released (from other devices or even from sony).
If somebody was working on getting it done we would know about this...
Click to expand...
Click to collapse
Paul-xxx (dev of sonybread) said that he is working on the camera drivers right now, and afaik none of the devs inform us always about his projects, before he is ready for a release...
Oh, I didn't even know that paul-xxx was capable of modding drivers (no offense).
And from my experience most developers start developement threads when they start big projects (like modding drivers) as they can work together with other devs that way and avoid doing some work twice (teamwork instead of duplicated work). But in my mind there's a slight difference between ("real") devs and ("just") cooks...
Known whether it will take on this project? I'm anxious to get back to having good photos
aLeex10 said:
Known whether it will take on this project? I'm anxious to get back to having good photos
Click to expand...
Click to collapse
just use cm6

why does AOKP have stayed in Alpha 0 long times....

I want port provision, miui.....
but there is no AOKP or AOSP...
Ah.... there is one AOKP whose version is Alpha 0...
no sms no call etc.....
OMG
when will AOKP or AOSP be able to release normally??
I can't wait...
we need the ICS source code from SONY. a few more weeks yet..
I might release it with Sony's kernel. It's freaking ugly, but it kind of works. I'll wait for the kernel source to call it stable, but I can make something that boots and mostly even works if you want it that much.
K900 said:
I might release it with Sony's kernel. It's freaking ugly, but it kind of works. I'll wait for the kernel source to call it stable, but I can make something that boots and mostly even works if you want it that much.
Click to expand...
Click to collapse
If you can, please help us!
Ok, I'll see how it works and maybe upload.
k900 said:
ok, i'll see how it works and maybe upload.
Click to expand...
Click to collapse
thank you very much!!! :good:
when it will be stable,useable?
nihattt said:
when it will be stable,useable?
Click to expand...
Click to collapse
First rule of XDA: Never ask for ETAs... Never ask when it's done. You may ask how the work is going and such. Give him time
Sent from my LT26i using Tapatalk 2
okay bro,calm dawn dont shout
nihattt said:
okay bro,calm dawn dont shout
Click to expand...
Click to collapse
If you said this to me, wasn't stressed. Sorry if I passed this to you.
Ok, the state of things is Bluetooth and NFC works, anything else wireless + Camera doesn't, lights is acting a bit weird, but it's a quick fix I'm too lazy to do now, the rest is ok. WiFi seems to be using some kind of their own code, at least with debugging output reduced, so I can't do much about it without reading the source.
replacing the broadcom .ko file from the original rom doesn't work?
fixing the lights is an easy fix... it just takes a ****load of time :silly:
camera is a real ***** without the source code I've been messing with AOKP when I still had a DZ and it was a pain in the ass
do you have a repo?
SnowOokami said:
replacing the broadcom .ko file from the original rom doesn't work?
fixing the lights is an easy fix... it just takes a ****load of time :silly:
camera is a real ***** without the source code I've been messing with AOKP when I still had a DZ and it was a pain in the ass
do you have a repo?
Click to expand...
Click to collapse
It's on my github, not the latest though. WiFi is broken on Sony's side, not much I can do. The camera HAL is linked to protobuf dynamically, and Sony's protobuf build breaks the boot somehow, so I think I need to cross compile the dynamic library using the AOSP tree as a base. I'm not prioritizing camera though, so you can try that.
K900 said:
It's on my github, not the latest though. WiFi is broken on Sony's side, not much I can do. The camera HAL is linked to protobuf dynamically, and Sony's protobuf build breaks the boot somehow, so I think I need to cross compile the dynamic library using the AOSP tree as a base. I'm not prioritizing camera though, so you can try that.
Click to expand...
Click to collapse
Hi K900
Is there a way to use mms.apk in AOKP rom for Arc/ArcS as system app instead of conservation.apk in stock rom ? I really hate it but dont wanna use 3rd app for stability
EDIT: Thanks God, it worked, unbelievable. Just copy mms.apk in your AOKP rom for Arc/Arcs to system/app, rename to conservation.apk then set permission and reboot. It's the time to say goodbye a stupid messaging app
lilude56214 said:
Hi K900
Is there a way to use mms.apk in AOKP rom for Arc/ArcS as system app instead of conservation.apk in stock rom ? I really hate it but dont wanna use 3rd app for stability
EDIT: Thanks God, it worked, unbelievable. Just copy mms.apk in your AOKP rom for Arc/Arcs to system/app, rename to conservation.apk then set permission and reboot. It's the time to say goodbye a stupid messaging app
Click to expand...
Click to collapse
Sorry but I am wondering you make st work for JB?
Sent from my LT26i using Tapatalk 2

[Q] Would I need a touchwiz based rom to best use the camera

I have been using a rooted IncS for more than a year now and finally want to make the switch from HTC to Samsung. One of the biggest drawbacks for me when using a rooted IncS was that I had to use a Sense based ROM to maximise the my camera experience. I understand some .apk relating to the camera has not been released by HTC hence AOKP/ASOP ROMs are unable to offer the same camera experience as Sense ROM.
My question is whether the same restrictions apply to a Samsung phone and would I be required to use a touchwiz based rom to best utilise my camera? Or would I be able to get the same camera experience in AOKP/ASOP ROMs.
I did try looking for an answer but was unable to locate one. In the event I missed out on it and end of repeating this question I sincerely apologize for the inconvenience.
Anweshahaldar said:
I have been using a rooted IncS for more than a year now and finally want to make the switch from HTC to Samsung. One of the biggest drawbacks for me when using a rooted IncS was that I had to use a Sense based ROM to maximise the my camera experience. I understand some .apk relating to the camera has not been released by HTC hence AOKP/ASOP ROMs are unable to offer the same camera experience as Sense ROM.
My question is whether the same restrictions apply to a Samsung phone and would I be required to use a touchwiz based rom to best utilise my camera? Or would I be able to get the same camera experience in AOKP/ASOP ROMs.
I did try looking for an answer but was unable to locate one. In the event I missed out on it and end of repeating this question I sincerely apologize for the inconvenience.
Click to expand...
Click to collapse
Unfortunately there's not one single AOSP/AOKP rom on the S3 that functions properly due to undocumented Exynos platform and partially working (or not working) hwcomposer. There are always glitches in the camera, when switching front to back and lack of support for modes that you have in stock firmwares like hdr, hires panorama mode etc. Stick to stock if you need your phone's full functionality. If you can live with some basic apps force closing try the newest CM10 nightly you shouldn't be too disappointed.

Which ROM is the fastest? (feeling, not benchmark)

Hi,
my girl friends S3 is actually completely stock and it's so laggish. Many people seem to have this problem. Everywhere they say "install cyanogenmod and it's fast". OK, but CM has no good camera app. For my GF the camera with its filters was the reason for buying it.
So is there a ROM which offers the Samsung Camera app AND fast experience?
(For example, I watched the video of S5 Sensation ROM and it seems to be laggish too.)
No asking for best rom etc. Try them out yourself.
Sent from my GT-I9300 using XDA Free mobile app
If it would be my phone, I would do so.
Perhaps someone here has had the same issue and found a way out by using another ROM and could share his experience.
It's wrong: CM camera is good, simply the stock one is much better... then is true that on CM builds there is no HDR/HDR+ filter support.
And yes, CM is tremendously faster than any stock or custom Samsung rom (be wary of enthusiasts who say the opposite).
"Thanks" to the TouchWiz, Samsung devices may be laggy, especially when you find that you want a bit more by a smartphone.
TouchWiz is the unremovable proprietary launcher who provide features (often useless) like many gestures and more others.
It's known by me and everyone as a "performance killer".
If an "excellent" camera is the priority, flash the MIUI rom, it provides almost the same Samsung experience and has good reviews.
It's based on the old 4.1.x Android, but receives frequently updates.
ponchofiesta said:
Hi,
my girl friends S3 is actually completely stock and it's so laggish. Many people seem to have this problem. Everywhere they say "install cyanogenmod and it's fast". OK, but CM has no good camera app. For my GF the camera with its filters was the reason for buying it.
So is there a ROM which offers the Samsung Camera app AND fast experience?
(For example, I watched the video of S5 Sensation ROM and it seems to be laggish too.)
Click to expand...
Click to collapse
Go for archidroid or neat rom,are the best stock based roms for s3
Simone98RC said:
It's wrong: CM camera is good, simply the stock one is much better... then is true that on CM builds there is no HDR/HDR+ filter support.
Click to expand...
Click to collapse
It doesn't have much features or filters. That's the problem. And other camera apps from the Play Store are mostly not userfriendly and/or do not have good filters. Personally I prefer the Sony camera app. My GF likes the "antique warm", "antique cold" and "blue point" (translated)
Simone98RC said:
And yes, CM is tremendously faster than any stock or custom Samsung rom (be wary of enthusiasts who say the opposite).
"Thanks" to the TouchWiz, Samsung devices may be laggy, especially when you find that you want a bit more by a smartphone.
TouchWiz is the unremovable proprietary launcher who provide features (often useless) like many gestures and more others.
It's known by me and everyone as a "performance killer".
Click to expand...
Click to collapse
So you think, this problem would be on any stock based ROM?
Simone98RC said:
If an "excellent" camera is the priority, flash the MIUI rom, it provides almost the same Samsung experience and has good reviews.
It's based on the old 4.1.x Android, but receives frequently updates.
Click to expand...
Click to collapse
Hmm. I will have a look on it.
Please no specific rom calling or I might have to call a mod here. Just give tips in general types of roms like sammy, aosp etc. Hehe
Sent from my GT-I9300 using XDA Free mobile app
Nor Samsung stock camera.
Under photo editing (both when and after taking photo) I find grateful the best rated camera apps, and there are a lot.
This probably because developement is concerned only to an app, not to an entire rom such Samsung, CM, MIUI, etc.
So it's an easier work, so you're luckless if you tell me the opposite about, do newly some research.
Then your mentioned three filters who exist in Cyanogen camera too!
And is easy to have lags on a Samsung stock/custom rom, especially when you use many apps, ram is already enough satured by TouchWiz and other proprietary ****ty processes.
Without root permissions you can remove very few things.
While important software upgrades (e.g. from Android 4.1.2 to 4.3) without a data wipe from recovery, are the first cause of lags.
Simone98RC said:
Nor Samsung stock camera.
Under photo editing (both when and after taking photo) I find grateful the best rated camera apps, and there are a lot.
This probably because developement is concerned only to an app, not to an entire rom such Samsung, CM, MIUI, etc.
So it's an easier work, so you're luckless if you tell me the opposite about, do newly some research.
Then your mentioned three filters who exist in Cyanogen camera too!
Click to expand...
Click to collapse
I know the filters from CMs edit function but are you sure these samsung filters are there? I don't have a CM phone here so I can't test it. But as I remember they aren't. Or can you make a screenshot of those filters?
Of course the camera is only an app in a ROM but most stock camera apps can't be used in non-stock ROMs. If I could, I would install CM and install Samsungs or Sonys camera app.
And at last: I did some research for camera apps. Because I wanted to switch to CM too. But there is none which gets me the functions and filters in a user friendly way like the stock app does. But this is a different story.
Simone98RC said:
And is easy to have lags on a Samsung stock/custom rom, especially when you use many apps, ram is already enough satured by TouchWiz and other proprietary ****ty processes.
Without root permissions you can remove very few things.
While important software upgrades (e.g. from Android 4.1.2 to 4.3) without a data wipe from recovery, are the first cause of lags.
Click to expand...
Click to collapse
She doesn't have many apps and I disabled and uninstalled everything she doesn't need. The lag is there and there seems to be no solution to fix it on non-rooted stock. And as told here, there might be no solution with rooted stock :/
ponchofiesta said:
I know the filters from CMs edit function but are you sure these samsung filters are there? I don't have a CM phone here so I can't test it. But as I remember they aren't. Or can you make a screenshot of those filters?
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Satisfied? [emoji41]
ponchofiesta said:
Of course the camera is only an app in a ROM but most stock camera apps can't be used in non-stock ROMs. If I could, I would install CM and install Samsungs or Sonys camera app.
Click to expand...
Click to collapse
Sadly in most of cases it's impossible.
For Samsung camera it's surely impossible due to the ****ing TouchWiz dependence, for Sony camera... may be a port I don't know, search about in XDA-Developers.
ponchofiesta said:
And at last: I did some research for camera apps. Because I wanted to switch to CM too. But there is none which gets me the functions and filters in a user friendly way like the stock app does. But this is a different story.
She doesn't have many apps and I disabled and uninstalled everything she doesn't need. The lag is there and there seems to be no solution to fix it on non-rooted stock. And as told here, there might be no solution with rooted stock :/
Click to expand...
Click to collapse
I know that's your gf, but don't be too pretentious [emoji6]: Camera Zoom FX, Camera MX, Retrica... a great choice!
Then... you uninstalled "everything she doesn't need", but never Samsung bloatware, nor TouchWiz, because are undeletable without root permissions.
Therefore a Samsung rom without TouchWiz should be unstable and mainly unusable... almost all Samsung system things need TW.
Try QS-Rom 2.5 with boeffla kernel 6.1 beta 3. It is kitkat 4.4.2 ported from note 2. It runs very smooth on my device
LuciIT said:
Try QS-Rom 2.5 with boeffla kernel 6.1 beta 3. It is kitkat 4.4.2 ported from note 2. It runs very smooth on my device
Click to expand...
Click to collapse
Nvr use ported roms if you wan stability. Esp kitkat sammy roms right now. U will nvr get stability and the smoothness the OP wans.
Sent from my GT-I9300 using XDA Free mobile app
Simone98RC said:
Satisfied? [emoji41]
Click to expand...
Click to collapse
Not bad. Perhaps I have to do a lot of persuading. If I create a backup of her current ROM+data she could test it and I can easyly go back if she doesn't like it.
ponchofiesta said:
Not bad. Perhaps I have to do a lot of persuading. If I create a backup of her current ROM+data she could test it and I can easyly go back if she doesn't like it.
Click to expand...
Click to collapse
AOSP roms do not have the superior image quality compared to touchwiz so keep that in mind. They look the same quality with Touchwiz in the camera app but after you take it, the quality becomes bad.
Sent from my GT-I9300 using XDA Free mobile app
ponchofiesta said:
Not bad. Perhaps I have to do a lot of persuading. If I create a backup of her current ROM+data she could test it and I can easyly go back if she doesn't like it.
Click to expand...
Click to collapse
Ah ok, so your gf need to be persuaded... there are two way of full backup: Nandroid via recovery (with root) and "adb" via computer (without need to root).
I never used last method, so device must be rooted.
You have simply to flash CF-Root via Odin and be sure that latest Samsung drivers are installed in your PC.
Will be flashed also the SuperSU root manager... and a CWM recovery, which is all your gf need to backup [emoji41]
Boot in recovery and choose backup and restore voice by moving menu with volume keys and clicking with power button.
At least choose if you prefer internal or external memory: I don't know gf data, but almost 3-4 free GB are surely required.
When operation is completed, flash the coming CyanogenMod 11 M10 (some day and will be released, be patient! [emoji6]).
If she'll hate CM, a simple Nandroid restore by recovery... but note that device will be already rooted.
At this point I suggest your gf to switch to a custom Samsung rom, always better than the stock due to different many optimizations and updates provided by developer (prohibited by Samsung for rooted devices).
ARHD, Omega, Imperium, ArchiDroid (for a 4.4 rom ported from Note 2, may be less stable)... a great choice!
I hope I was exhaustive... and don't forget to tell your gf about the geek hero who have spent a lot of time for her [emoji6]
Have a good day
---------- Post added at 11:34 AM ---------- Previous post was at 11:18 AM ----------
Jumaqidi said:
AOSP roms do not have the superior image quality compared to touchwiz so keep that in mind. They look the same quality with Touchwiz in the camera app but after you take it, the quality becomes bad.
Click to expand...
Click to collapse
You are extreme about.
In 3 weeks of holiday I did lots of photos.
The only AOSP camera limits actually are the worst stabilization and potential banding in night photos, but with steady hand in favorable ambient conditions I obtained masterpieces.
Is true, as camera quality Samsung is "a bit" better, but speak about "bad quality" referred to AOSP, is a bull****.
I said enough, I can leave this topic... be careful not to ramble.
Simone98RC said:
Ah ok, so your gf need to be persuaded... there are two way of full backup: Nandroid via recovery (with root) and "adb" via computer (without need to root).
I never used last method, so device must be rooted.
You have simply to flash CF-Root via Odin and be sure that latest Samsung drivers are installed in your PC.
Will be flashed also the SuperSU root manager... and a CWM recovery, which is all your gf need to backup [emoji41]
Boot in recovery and choose backup and restore voice by moving menu with volume keys and clicking with power button.
At least choose if you prefer internal or external memory: I don't know gf data, but almost 3-4 free GB are surely required.
When operation is completed, flash the coming CyanogenMod 11 M10 (some day and will be released, be patient! [emoji6]).
If she'll hate CM, a simple Nandroid restore by recovery... but note that device will be already rooted.
At this point I suggest your gf to switch to a custom Samsung rom, always better than the stock due to different many optimizations and updates provided by developer (prohibited by Samsung for rooted devices).
ARHD, Omega, Imperium, ArchiDroid (for a 4.4 rom ported from Note 2, may be less stable)... a great choice!
I hope I was exhaustive... and don't forget to tell your gf about the geek hero who have spent a lot of time for her [emoji6]
Have a good day
---------- Post added at 11:34 AM ---------- Previous post was at 11:18 AM ----------
You are extreme about.
In 3 weeks of holiday I did lots of photos.
The only AOSP camera limits actually are the worst stabilization and potential banding in night photos, but with steady hand in favorable ambient conditions I obtained masterpieces.
Is true, as camera quality Samsung is "a bit" better, but speak about "bad quality" referred to AOSP, is a bull****.
I said enough, I can leave this topic... be careful not to ramble.
Click to expand...
Click to collapse
To me, the quality is bad compared to TouchWiz and many will agree.
Sent from my GT-I9300 using XDA Free mobile app
S4 Revolution
go for S4 Revolution
I've changed from CM 10.2 to NeatROM v.7.4 and I have NOTHING to say against it. Very fast and good battery performance!
Maybe when CM releases the CM 11 stable version I will think to flash it again.
About rooting, I don't like CF-Root. I prefer Philz Touch :S

Google Camera Mod for Xperia X?

Does anyone know if there's a version of the GCam for Xperia X?
No. You could unlock bootloader and use a custom ROM with Camera2 API enabled though, that's the only way.
fundre said:
No. You could unlock bootloader and use a custom ROM with Camera2 API enabled though, that's the only way.
Click to expand...
Click to collapse
Even though, that doesn't help. Camera with HDR+ doesn't function.
georgearn said:
Even though, that doesn't help. Camera with HDR+ doesn't function.
Click to expand...
Click to collapse
Is it? Shame. I read somewhere it's working for their device (XZ/XZ1c), so I assumed it worked with X too.
georgearn said:
Even though, that doesn't help. Camera with HDR+ doesn't function.
Click to expand...
Click to collapse
HDR+ works you just have to use the latest GCam mod and follow the recommended settings.
cyanides13 said:
HDR+ works you just have to use the latest GCam mod and follow the recommended settings.
Click to expand...
Click to collapse
Could you please elaborate more? Which exactly "latest GCam mod"? And what are "recommended settings"? Unfortunately, I can't read thoughts...
Forget HDR, can you get Motion Photos that way or whatever they are called?
Google's implementation is the closest to Apple's Live Photos there is, there is no contest otherwise. Trust me, I looked around.
Also, there is no "latest GCam mod"... There's a LOT of Google Camera mods.
Here, have a look: https://www.celsoazevedo.com/files/android/google-camera/
Yeah... I know... And don't bother ctrl+F-ing "Xperia" or "Sony"...
Funny how we Xperia X users all know that the stock camera app sucks balls, but there is nothing really out there in terms of gCam to fix it.
Sidenote: really unfortunate that Google is not supplying gCam to anyone anymore. The added features are in parts the things people will miss from iPhone and the typical argument that with Android you're free to mix software and hardware gets a huge blow.
It'd be less annoying if Pixels had an SD card slot.

Categories

Resources