Any dev out there who can help me regarding raw image feature - General Questions and Answers

I have one question. Can anyone explain me how raw image output(manual camera) work; I mean I have a moto g 2015 edition and by default or in stock ROM raw image output(manual camera) is not supported; so if I install a custom ROM like cm13 will I be able to capture RAW image(manual camera).
Basically I want to know is the raw image(manual camera) feature is kernel base or OS base or something else?????
Plz plz any1 reply

aamir0701 said:
I have one question. Can anyone explain me how raw image output(manual camera) work; I mean I have a moto g 2015 edition and by default or in stock ROM raw image output(manual camera) is not supported; so if I install a custom ROM like cm13 will I be able to capture RAW image(manual camera).
Basically I want to know is the raw image(manual camera) feature is kernel base or OS base or something else?????
Plz plz any1 reply
Click to expand...
Click to collapse
RAW capture is an API mode feature.Flashing a ROM/Kernel won't help.The OEM has to implement it.
___
v7
XDA Assist

I am sorry; but if its an api then any app developers can use it and build an app its in base Android so it should not depending on oem, as its upto you (app dev) which API you select to build your app.... In this case I have tried all other app but its not working.....

aamir0701 said:
I am sorry; but if its an api then any app developers can use it and build an app its in base Android so it should not depending on oem, as its upto you (app dev) which API you select to build your app.... In this case I have tried all other app but its not working.....
Click to expand...
Click to collapse
Read this.
___
v7
XDA Assist

Thank you..
The link is what I exactly wanted to confirm; if this package is included in a ROM and when we use a supporting app then we will be able to use this feature or this package should also be implemented in kernal also....

Basically what I want to say is if OEM doe not include camera2 api then can we by any mean implement it in any custom ROM????

Related

[Completed] Please Help Me (I am severe problem with my Android Tablet PC video recording)

Hello,
Awesome XDA developers. I am seriously in need for some helping hands for my Tablet PC. I have got a China Octa Core 7 inch tablet pc with WUXGA display, MT6592 Octa Core processor, 2GB RAM, 16 GB ROM, Android 4.2.2 OS , 13.3 MP REAR CAMERA, 5.3 MP front camera etc.
So far the tablet is so good with Android 4.2.2 OS. The china company recently gave me an updated ROM for the tablet PC. The update includes Android 4.4.2 OS. I installed the firmware with SP Flash tool 5.5. After installing the OS, I was very happy to enjoy KiTkaT. Every thing were perfect.
Except one strange problem I am facing with Android 4.4.2 KiTkaT upgrade. I can take photos in 13.3 MP high resolution with the rear camera. But when I record videos with "Fine" recording mode or any other modes (low, medium high or fine), the video gets recorded in 640x480 low resolution only. I tried every camera settings did not work. I also check the "build.prop" settings & "camerasize.xml" settings. But nothing worked. For both the front (5.3 MP) and rear camera (13.3 MP) records videos in 640x480 low resolution where as the same camera take photos in 5.5 MP (Front Cam) & 13.3 MP (Rear Cam) resolutions.
But for Android 4.2.2 OS, both the cameras could record videos with 1920x1088 resolution when you choose "Fine" as the video recording mode. I am a beginner level developer. I can not get anything to fix the problems. I reported this to the tab company, they said the firmware company can not fix the problems now. And asked me to use the Android 4.2.2 OS. I have also googled for possible helps with this firmware problems. I found that modifying libcameraservices.so & media_profiles.xml may fix the problems. I found the file "libcameraservices.so" and copied to my PC, opened it with a HEX Editor but am not that expert to correct it. Please help me.
Can the XDA forum experts help me with this miserable problems. :crying::crying::crying::crying::crying:
Please help. :crying::crying::crying::crying::crying::crying:
Thanks & Regards
Those are libraries that are included in the firmware. Those can't be edited with a Hex editor. Not effectively anyway. What I'd suggest instead is to see if you can install Google Camera App.
But if that too does not work, then for you, the only other thing might be going back to 4.2 short of rebuilding the firmware with right libraries.
Tried Google Camera But Failed
Perseus71 said:
Those are libraries that are included in the firmware. Those can't be edited with a Hex editor. Not effectively anyway. What I'd suggest instead is to see if you can install Google Camera App.
But if that too does not work, then for you, the only other thing might be going back to 4.2 short of rebuilding the firmware with right libraries.
Click to expand...
Click to collapse
Thanks for your quickest reply to ma text.
I installed google camera. After getting it installed from the play store. It closes with an error when I try to access the camera settings. I also tried to do a trick by copying the "libcameraservices.so" from the Android 4.2.2 firmware & then copying it over the "libcameraservices.so" Android 4.4.2 firmware. Then I rebooted the phone, but it got stuck in the boot logo never rebooted.
Is there any possibility to correct the parameters of libcameraservices.so (Android 4.4.2 firmware) to fix the error..?? I am not that expert in building a custom ROM yet. Can you please help me out..??
Here is the libcamerservices.so for bot Android 4.4.2 & 4.2.2
Hi,
I am upload the "libcameraservices.so" file that I copied from the both the fimware system files. Is there any expert who can check the difference between these two..?? And correct the parameters so that it is possible to record video in 1920x1088 resolution for Android 4.4.2 OS as well.
Thanks & Regards
Thanks for sharing. But I think you want to post in Android Q&A, Help & Troubleshooting in order for one of the Expert developers to help you.
I have posted there.
Perseus71 said:
Thanks for sharing. But I think you want to post in Android Q&A, Help & Troubleshooting in order for one of the Expert developers to help you.
Click to expand...
Click to collapse
Hello Perseus,
I have posted there. But I did not get any reply for post yet. Am still waiting and having a belief that, someone can really help me with this from XDA.
I apologize, please see the mission of Assist as mentioned by 2 Stickies on this forum.
The mission of XDA Assist is to provide basic help to those who have tried searching but can't find what they are looking for and need assistance. This is not a "helpdesk" providing technical assistance but more to point you in the correct direction with your problem. Perhaps you can't find posts on how to root your phone, install custom recovery or maybe you have questions about how to navigate and use features on the site.
Click to expand...
Click to collapse

Manual Camera CAN BE PORTED?

Hi guys ..
Say please, can anybody port this cam Manual Camera? when i trying test my oneplus, they say that my device not supported.
https://play.google.com/store/apps/details?id=pl.vipek.camera2&hl=en
https://play.google.com/store/apps/details?id=pl.vipek.camera2_compatibility_test&hl=en
lapapunk said:
Hi guys ..
Say please, can anybody port this cam Manual Camera? when i trying test my oneplus, they say that my device not supported.
https://play.google.com/store/apps/details?id=pl.vipek.camera2&hl=en
https://play.google.com/store/apps/details?id=pl.vipek.camera2_compatibility_test&hl=en
Click to expand...
Click to collapse
To have this app working you must have a Lollipop rom that supports Camera2 API, and currently these API aren't supported by any rom for the OPO. Official Lollipop update should implement this API, but not in the first release (this is what the team said). Currently the only devices that support this app (and these API's) are the Nexus 5 and 6, stop. So this app cannot be ported, you have to wait official update
lapapunk said:
Hi guys ..
Say please, can anybody port this cam Manual Camera? when i trying test my oneplus, they say that my device not supported.
https://play.google.com/store/apps/details?id=pl.vipek.camera2&hl=en
https://play.google.com/store/apps/details?id=pl.vipek.camera2_compatibility_test&hl=en
Click to expand...
Click to collapse
Camera2 api isnt implemented in any ROM for the OnePlus One yet! But it is said cyanogenmod 12S will come with manual camera controls at the cost of clear image ! They say the chipset doesnt support HAL3 which is required for implementing camera2 api so they had to resort to workarounds . What remains to be seen is will Oxygen OS eventaully implement this api into their ROM!
Thank you for your complete answer. Now I understand)

LineageOS for Lenovo A536 [kernel 3.10+]

LineageOS By max127328
Instruction:
If you are using 3.4.67 kernel based custom rom
Flash lollipop 5.0 (use sp-flash tool) firstly
then flash this rom from Twrp
Description
Kernel Version 3.10.+
Android Version : 6.0.1
LineageOS is the successor to the popular CyanogenMod ROM. With an emphasis on openness, community development, and improvement of the stock Android experience, CyanogenMod supported dozens of devices officially with nightly updates, and unofficially, by the efforts of developers in the community, dozens more devices. LineageOS intends to pick up where CyanogenMod left off, but with a redoubled focus on being a grassroots community-focused development effort.
Click to expand...
Click to collapse
Changes
• New Security Patch
• Faster loading
• Change view of settings (UI changes)
• New boot animation
• patched youtube failure
screenshot
Thanks to
darklord4822 for his kernel
Virus25418 firmware Test
Download
Rom:here (*new)
Gapps :here
SuperSu:here
old
Rom :here
Click to expand...
Click to collapse
*Root is available @ settings-->developer menu
No Front Cam
How to fix this?
how to fix no front cam? everything works fine except front cam.
renren28 said:
how to fix no front cam? everything works fine except front cam.
Click to expand...
Click to collapse
this problem is currently under fixing,meantime you can use third-party camera apps.
rejul said:
this problem is currently under fixing,meantime you can use third-party camera apps.
Click to expand...
Click to collapse
What particular Camera app should I download? Because I already download camera apps but no Front Cam button on app. Thanks in advance.
renren28 said:
What particular Camera app should I download? Because I already download camera apps but no Front Cam button on app. Thanks in advance.
Click to expand...
Click to collapse
Sorry renren28,I had contacted the developer ,as it is core bug ,No solution is available for now atleast .As soon as fix is uploaded i will pm you.
rejul said:
Sorry renren,I had contacted the developer ,as it is core bug ,No solution is available for now atleast .As soon as fix is uploaded i will pm you.
Click to expand...
Click to collapse
Thanks. is this similar on CM13 bug, that you need to flash boot.img to fix front cam?
hello im about to install LineageOs to lenovo A536
is there anything new ?
Is there version 14.1 for this smartphone ? i checked somewhere but im not sure about that source
Mate the rooms is quite amazing..
But there are a few bugs
Camera
And when I open the dialer it reboots
Whenever I check for lineage os update it says check internet connection
Camera , microphone, torch, my files are not working and it is not showing my contact list of my sim
Plzzz told the solution plzzz....
Waiting for update. More Power to Developer of this ROM!
Link is dead, could you please reupload it somewhere else, for example on mega.nz?
Thanks
GoodMorning, some users has a working front cam using this ROM. I wonder how it works. I use their backup boot.IMG and flash it on my device. But still no luck.
Internal storage issues
After i flash my phone my internal storage cannot detected in any file manager plss help mee.
Google Drive:
Sorry. You do not have access to this document because it is inconsistent with our Terms of Service.
- Czech republic
Heya, guys!
I'm having a BIG problem.. I flashed LineageOS ROM through TWRP 3.0.2 recovery (my last ROM was on the 3.4.67 kernel) and now I lost my IMEI numbers. Could you please help me fix it? I installed all the drivers that are needed, but my PC still doesn't recognize the phone and FlashTool can't work either. I found some patches to flash through the recovery and restore it that way, but this didn't help too. I don't know what to do, because I need that phone and I can't fix it anyway. Thanks.
Link dead, please reupload
The link to the new rom is dead, please can you reupload it?

Redirect the Kernel to always call the BACK Camera ONLY on Moto G3-TE

Hello!!
I need a Help... PLEASE:
My Front Camera (Selfie) is dead(broken hardware, I've made all the tests) and for me continuing use my Banking APP on the phone that Requires Selfie's photo authentication, I need a way to Change the Kernel's ROM procedures call on there when the APP asks for the hardware.camera.front on Native way on its Manifests APP file... etc... etc... Use the BACK CAMERA.
I need my Lineages 17.1 Android Q 10, Motorola Moto G3-TE XT1556 Merlin Retasia use ONLY and ALWAYS the BACK CAMERA for Native way and When some APP ask for Front(Selfie), the KERNEL redirects to the Back Automatically for shure.
Maybe build.prop, or default.prop, some changes in the Android System files...
I don't know.
Someone please Help Me... I need It!
Thank's a Lot.

I need to install the camera in the official realme rom to other roms,please help me

I extracted the built-in camera from the official ROM of realme q and wanted to install it on a third-party rom, but I failed. Maybe I need to merge the vdex and odex files into the apk, but I am not a developer, I need Help, maybe there are others here who need this official camera, please help me and others.
clrolee said:
I extracted the built-in camera from the official ROM of realme q and wanted to install it on a third-party rom, but I failed. Maybe I need to merge the vdex and odex files into the apk, but I am not a developer, I need Help, maybe there are others here who need this official camera, please help me and others.
Click to expand...
Click to collapse
Tried that but that won't work. Stock camera needs oppo libs and blobs to work which no developer could find a way yet to implement in custom roms.
clrolee said:
I extracted the built-in camera from the official ROM of realme q and wanted to install it on a third-party rom, but I failed. Maybe I need to merge the vdex and odex files into the apk, but I am not a developer, I need Help, maybe there are others here who need this official camera, please help me and others.
Click to expand...
Click to collapse
lol :v
I'd like to know a way of using the 48 mp and macro cameras on a custom rom as well, but i'm not sure if it's possible to just copy the app from the stock rom. Maybe try this? (can't post links yet, sorry, just remove the spaces) https:/ /www .apklinker.com/apk/oppo/oppo-camera/oppo-camera-3-1-0-release/oppo-camera-3-1-0-android-apk-download/
aux cameras can already be used from custom rom but we definitely need 48MP

Categories

Resources