camera2api enable - Xiaomi Redmi 3 Questions & Answers

Hello
I'm trying to enable camera2api on my redmi 3 pro with lineage os 14.1.
I have correctly edited the file build.prop with persist.camera.HAL3.enabled=1 but when i try to test with the app "manual camera test" i have the message "your device doesn't support....."
What can i do?
Thanks

Try installing a module for magisk called Camera2Api - it fixed an issue with lack of support in app permissions as for me but there's still a problem with apps that stop working after few tries and you gotta restart your device so it's better to just use FV-5 Camera and rice up the HAL to fake support.

Use freedcam, you can capture RAW

R3pro said:
Use freedcam, you can capture RAW
Click to expand...
Click to collapse
I think what he wants is HDR+ or just the quality of an image improvment.

KonikoO said:
I think what he wants is HDR+ or just the quality of an image improvment.
Click to expand...
Click to collapse
oh .. i see ...

Snap 616 doesn't have any camera2api/hal3 driver in existence. No way you can use gcam. Not a single rom, even android Q won't help in this situation.

Core_RP said:
Snap 616 doesn't have any camera2api/hal3 driver in existence. No way you can use gcam. Not a single rom, even android Q won't help in this situation.
Click to expand...
Click to collapse
With one custom kernel I managed to get the gcam working on 14.1 so your argument may be false as of HDR+ was supported as well as RAW capture.

KonikoO said:
With one custom kernel I managed to get the gcam working on 14.1 so your argument may be false as of HDR+ was supported as well as RAW capture.
Click to expand...
Click to collapse
If the app launches, it doesn't mean the functionality is working. IDK about raw, but the HDR+ I managed to get in gcam on custom roms was just a regular photo (same quality and same size)

Why just not use HAL Switcher instead?

KonikoO said:
With one custom kernel I managed to get the gcam working on 14.1 so your argument may be false as of HDR+ was supported as well as RAW capture.
Click to expand...
Click to collapse
Which kernal??may i know the name?

Related

CM13 users, which camera app do you use for taking high-quality photos?

While the CM13 included camera app is relatively fast and great for quick-snap photos, I did manage to make some impressive photos while playing around on EMUI camera in Pro mode (before I flashed the phone), looking suprisingly good for such a low tier camera.
Since there's no manual mode in CM13, which camera app would you recommend to purchase/download(if free)?
Also, is the HDR bug guaranteed to occur in every app?
Thanks in advance!
Snap Camera works great!
How do u get SnapCamera on CM? Can you just flash it or..
Viperid said:
Snap Camera works great!
Click to expand...
Click to collapse
As far as I'm aware Honor 5x nightlies don't include the Snap camera yet. It ships with the legacy Camera, which takes mediocre pictures and can't do HDR or Panoramas.
Google Camera is available for Panoramas, but the accelerometer/gyroscope is very jittery on the phone, so the stitching doesn't do a good job.
I don't think this issue is gonna be resolved until Camera2 API is ported into our CM nightly.
FlyingTinOpener said:
As far as I'm aware Honor 5x nightlies don't include the Snap camera yet. It ships with the legacy Camera, which takes mediocre pictures and can't do HDR or Panoramas.
Google Camera is available for Panoramas, but the accelerometer/gyroscope is very jittery on the phone, so the stitching doesn't do a good job.
I don't think this issue is gonna be resolved until Camera2 API is ported into our CM nightly.
Click to expand...
Click to collapse
I do think the same, it's about software, not a specific camera app
I tried putting the ro.camera2.prtabilty.force_api=1 in the default.prop file by splitting boot.img and reflashing boot.IMG, putting manual focus line in build.prop and then flashing the ported emui 4.0 camera with twrp... Still badluck as it says Unfortunately, camera has stopped working
Just use Cm marsh(cm based costom ROM ) comes with snap camera
Update
Now use it on any ROM
Camera App ported
http://forum.xda-developers.com/honor-5x/themes/cynogen-os-camera-cameranext-t3446950
Mr4O4 said:
Just use Cm marsh(cm based costom ROM ) comes with snap camera
Click to expand...
Click to collapse
Can you give link please ?
EDIT : i've found v2.2. Does it have FP working ?
algerie_24 said:
Can you give link please ?
EDIT : i've found v2.2. Does it have FP working ?
Click to expand...
Click to collapse
Yes FP works
P.s I just ported the camera app
Amadeusz90 said:
While the CM13 included camera app is relatively fast and great for quick-snap photos, I did manage to make some impressive photos while playing around on EMUI camera in Pro mode (before I flashed the phone), looking suprisingly good for such a low tier camera.
Since there's no manual mode in CM13, which camera app would you recommend to purchase/download(if free)?
Also, is the HDR bug guaranteed to occur in every app?
Thanks in advance!
Click to expand...
Click to collapse
I always just use opencamera. it really good and you have so many settings. Give it a try one day
Fv-5 is a great camera also
PalakMi said:
Fv-5 is a great camera also
Click to expand...
Click to collapse
Second this though it's paid app.
MT2-User said:
Second this though it's paid app.
Click to expand...
Click to collapse
There's also a free one
I've found that, no matter what camera app I install, I can't get the same picture quality I used to get on the stock ROM. Is there a reason for this? The drivers, maybe?
Gases said:
I've found that, no matter what camera app I install, I can't get the same picture quality I used to get on the stock ROM. Is there a reason for this? The drivers, maybe?
Click to expand...
Click to collapse
I guess is the camera processing is different on stock ROM from custom ROMs

[Root] Camera mod for Moto X4.

This is a mod i have been using by quite some time, thought i should share it with other users of Moto x4. it's mostly made by @defcomg and i have only done xml and module part. you can see this has 4032x 2268 video support, it's very useful as you can record 2268p video and use google photos app's video stabilization on it to get stabilized 4k video.this produces much better 4k stabilized videos because you have 5% more resolution to work on compared to using it on normal 2160p video.
Features:
1: 2268p video mode for back camera.
2. 4k video mode for front camera.
3. 16mp mode front cam support for other camera apps.
4. Increased audio and video bitrate.
5. 1080p30/60fps hevc video support.
Requirements:
1: Magisk v16 or later.(so obviously it needs bootloader unlocked)
2: FreeDCam camera app play-store link
How to : -
1: Just install Enhance_MOTO_X4_camera.zip as a module in MagiskManager and reboot.
2: Open FreeDCam take a picture (so that it can create a freedcam folder otherwise you will get crashes in video mode) and follow attached screenshots to setup 2268p profile.
Credits: - @defcomg Donation Link .
Download : -
1. Enhance_MOTO_X4_camera.zip
2. Camera_ MX (incase someone wants fully working gcam)
13-14 downloads but not a single comment on how bad/good/working/not working it is ? this community is really dead lol.
Can I use this module on z2 force?
darthxa said:
Can I use this module on z2 force?
Click to expand...
Click to collapse
nope. it's only for X4.
Hi,
It is possible to use it when the photo is rooted using supersu ?
Thank you.
bibiboss said:
Hi,
It is possible to use it when the photo is rooted using supersu ?
Thank you.
Click to expand...
Click to collapse
magisk module doesn't work with supersu, so no.
This is great! Trying to find a way to get less compression in photos, just installed and poking around!
How does this compare to the various Gcam mods out there? Does this lose any features from the stock camera? Does it improve shutter speed?
Zarxrax said:
How does this compare to the various Gcam mods out there? Does this lose any features from the stock camera? Does it improve shutter speed?
Click to expand...
Click to collapse
this mod doesn't remove anything, only adds the features stated in op.
So does this improve the moto camera or just provide a better alternative? Also is this mod just for video improvement or photos as well. The Moto X4 camera is very disappointing to say the least. I have been using a modded version of the GCam and it is much faster and better quality than the moto camera but features like the wide angle are sacrificed.
Works Excellent...thanks...
SchmilK said:
This is great! Trying to find a way to get less compression in photos, just installed and poking around!
Click to expand...
Click to collapse
can you share some 4k footage from the front camera with open camera app from the play store? see i'm trying to start a youtube channel and i want to record from open camera because of its amazing mono mode for the audio.. also share some images from arnova's gcam with front 16mp if u can.. i will highly appreciate it! ??
---------- Post added at 11:41 AM ---------- Previous post was at 11:28 AM ----------
kraatus90 said:
this mod doesn't remove anything, only adds the features stated in op.
Click to expand...
Click to collapse
can open camera app from the play store utilize the whole front 16mp after this mod? if yes then can you please share a sample footage with me? i really need to know this for my youtube channel but i'm skeptical on rooting just for testing out this one thing.. i'd really appreciate your help if you've got some time.. thanks! ??
It does not work in Los16 ...
kraatus90 said:
This is a mod i have been using by quite some time, thought i should share it with other users of Moto x4.
Click to expand...
Click to collapse
Is it possible to use 16MP on GCam after flashing this module?
kraatus90 said:
13-14 downloads but not a single comment on how bad/good/working/not working it is ? this community is really dead lol.
Click to expand...
Click to collapse
Pls share on telegram group as well people are active on telegram than xda nowadays
No Pie support
Doesn't work on stock Pie (bootloader unlocked, magisk installed). After installing, all cameras just crash.
noone4nothing said:
Doesn't work on stock Pie (bootloader unlocked, magisk installed). After installing, all cameras just crash.
Click to expand...
Click to collapse
Unfortunately this does not work on Android 9.
Sent from my Moto X4 using XDA Labs
MotoX4Custom said:
Unfortunately this does not work on Android 9.
Sent from my Moto X4 using XDA Labs
Click to expand...
Click to collapse
Would it be possible to port it to Pie?
By the way, if anyone is wondering, this mod works fine on Oreo 8.1 as well as 8.0.
noone4nothing said:
Would it be possible to port it to Pie?
By the way, if anyone is wondering, this mod works fine on Oreo 8.1 as well as 8.0.
Click to expand...
Click to collapse
I think it would be good if it would be ported for pie. But I'm not a developer and unfortunately I can not. I hope somebody does it.

[Mod] Magisk Module for Recording 60fps Only for 3/32 models

The module for magisk to record in 60fps and 30fps without jerks and focus jumps in Google Camera. Only for 3/32 models (holitech ov13855 module)
Stabilization at 60fps is disabled, otherwise a wild zoom. At 30 fps, stabilization normally works.
For many thanks
kawr
mrz1990
Does this work on pie roms?
farhanshaikh671 said:
Does this work on pie roms?
Click to expand...
Click to collapse
not tested ,
arvs47 said:
not tested ,
Click to expand...
Click to collapse
I tested it only in pie. but on stock rom it maybe works.
If you need someone, I can give a mod for 30 without a jumping focus
morozik90 said:
I tested it only in pie. but on stock rom it maybe works.
If you need someone, I can give a mod for 30 without a jumping focus
Click to expand...
Click to collapse
Yes give, is it available for hynix sensor, bcz when i am recording videos through gcam focus is jumping..
Poison-Fang said:
Yes give, is it available for hynix sensor, bcz when i am recording videos through gcam focus is jumping..
Click to expand...
Click to collapse
its only for ov13855 13mp. because I only have it in my hands)
and I updated it already) while everything is in test mode
not recording...
after installing this module my cam and gcam won't recording videos, but still can take photos, does this 60fps really work, it will be super cool if it does, is there something i missed? my m1 is alredy rooted, cam2api enabled. please help. thankyou
Testing
Doesn't work for me too.
Stock rooted with magisk.
Infact camera can't shoot videos at all.
Tried arnova gcam 5 and gcam 6 also
ucha666 said:
after installing this module my cam and gcam won't recording videos, but still can take photos, does this 60fps really work, it will be super cool if it does, is there something i missed? my m1 is alredy rooted, cam2api enabled. please help. thankyou
Click to expand...
Click to collapse
hello ... why does it not working ?
Try this. Works on zb602kl 13mp. Tested on PE. 60fps not stable. only with good lighting
https://drive.google.com/file/d/1jFhU8ED8NA9PU9HH0Gh-AtLERb9CRjBs/view?usp=drivesdk
Still not working. My magisk cannot selected the zip that i just download. Or should flash ot from twrp?
how to revert back to the normal i flashed this module through twrp?
For those it didn't work check out with the camera module you have it only works with specific module

Help choosing a gcam

Hey there guys, i have 9.0 pixel experience ROM on my RN4. Camera2api enabled.
I don't know which version of gcam i am currently using but it gives a lot of force close errors and a green tint on front cam too.
I tried a lot of apps to know whether I've a Samsung or Sony sensor in it, but to no avail.
Would you please be so kind as to point me to the best gcam version suitable for my device right now?
Thank you so much kind stranger.
https://forum.xda-developers.com/re...h-hdr-mido-t3656196/post77606695#post77606695
NO FC's, no green tint, portrait works, HDR works for both front and back and you can choose bitrate for video recording, using it for months and never looked back.
To avoid issues first fully remove old gcams you have installed.
Also i recommend flashing this magisk modules: https://drive.google.com/drive/u/0/folders/1RkHruqNGIKnkgfhX0B7BaeEGYc-airBc
It will let you record in [email protected], fixes distorted sound in video recordings and enables 30fps in viewfinder. (it works for Samsung / Sony, not sure about Omnivision)
To check which sensor you have just run some logcat reader, open gcam and shoot few pics, look for sensor info in log.
What is gcam? Can anyone explain.
james.brownn said:
What is gcam? Can anyone explain.
Click to expand...
Click to collapse
Gcam stands for Google Camera. That's camera app from Google and it is originally found on Google (Pixel, etc.) devices. However, when using it on other phones, it can significantly improve photo quality in comparison to what stock camera and other available alternatives on the market can achieve. That's because Google Camera relies heavily on "clever" software and superior photo processing algorithms capable of generating and preserving more data. So even hardware-wise "bad cameras" can benefit from using it. Of course there are some downsides as well, since the app is not designed to be run on other - non Google - devices you need modified version of it in order to use it. That said there are many different modifications of said application with variuos degrees of functionality, bugs and stability. You can check most of them collected here.
k3lcior said:
https://forum.xda-developers.com/re...h-hdr-mido-t3656196/post77606695#post77606695
NO FC's, no green tint, portrait works, HDR works for both front and back and you can choose bitrate for video recording, using it for months and never looked back.
To avoid issues first fully remove old gcams you have installed.
Also i recommend flashing this magisk modules: https://drive.google.com/drive/u/0/folders/1RkHruqNGIKnkgfhX0B7BaeEGYc-airBc
It will let you record in [email protected], fixes distorted sound in video recordings and enables 30fps in viewfinder. (it works for Samsung / Sony, not sure about Omnivision)
To check which sensor you have just run some logcat reader, open gcam and shoot few pics, look for sensor info in log.
Click to expand...
Click to collapse
Hallo my friend.
I have RN4 with lineage 14.1 and instal that gcam that you prefer.
Works perfect .
I dont want to root so i am not have magisk.
Can you say to me for best setup ?
Front back samsung sensors.
Thank you by advance.
papsr6 said:
Hallo my friend.
I have RN4 with lineage 14.1 and instal that gcam that you prefer.
Works perfect .
I dont want to root so i am not have magisk.
Can you say to me for best setup ?
Front back samsung sensors.
Thank you by advance.
Click to expand...
Click to collapse
It's already setup, just enable manual focus stuff, disable noise supression and set video recording bitrate. (i use 30mbps)
k3lcior said:
It's already setup, just enable manual focus stuff, disable noise supression and set video recording bitrate. (i use 30mbps)
Click to expand...
Click to collapse
Thank you so much.
k3lcior said:
It's already setup, just enable manual focus stuff, disable noise supression and set video recording bitrate. (i use 30mbps)
Click to expand...
Click to collapse
I upgrad to lineage 15.1 and install your gcam and all works perfect except video.
Expain....the video preview is dark with low lighting.
Have you an idea witch is the fix?
papsr6 said:
I upgrad to lineage 15.1 and install your gcam and all works perfect except video.
Expain....the video preview is dark with low lighting.
Have you an idea witch is the fix?
Click to expand...
Click to collapse
You can try this: BOLTiSHok_superFPS-vendor.zip
k3lcior said:
You can try this: BOLTiSHok_superFPS-vendor.zip
Click to expand...
Click to collapse
You are the best my friend.works great.
Have a nice day or night...i dont know where you are....ha ha ha.

Themes / Apps / Mods GCam ports discussion

I tried a couple of Gcam ports and found that while I could take photos fine, the screen is blank when I attempt to record videos.
Is there a port that works correctly?
On a side note, how does one turn off beautification in the stock camera app?
Edit: PX8.1 by Urnyx05 seems to work.
tigr: trCamera_Xmas_Release.apk
Download trCamera_Xmas_Release.apk by tigr.
www.celsoazevedo.com
Face Retouch isn't working on gcam, so when I take selfies I see the pores on my face, does anyone have a solution to this?
Chukwuka23 said:
Face Retouch isn't working on gcam, so when I take selfies I see the pores on my face, does anyone have a solution to this?
Click to expand...
Click to collapse
Moisturise?
Another version from Urnyx05 and spol.
PXv8.1_GCam-v1.2.apk​This is currently the best GCAM for our phone!
StaryMuz said:
Another version from Urnyx05 and spol.
PXv8.1_GCam-v1.2.apk​This is currently the best GCAM for our phone!
Click to expand...
Click to collapse
Works well but can't access all 3 cameras of the phone.
StaryMuz said:
Another version from Urnyx05 and spol.
PXv8.1_GCam-v1.2.apk​This is currently the best GCAM for our phone!
Click to expand...
Click to collapse
video audio not working
You must restart the phone after installation. Then the sound works.
I found and set the functional camera to select the lens.
Gcam7.3.018_Greatness.Build2.3.apk (camera)
main[1].xml (my config file)
1) Install the camera. Uninstall the previous GCAM if you cannot install.
2) Start the camera and go to the settings. Config>Save>"a" (SAVE).
3) File main[1].xml copy to /sdcard/gcam/Configs7/
4) Start the camera, double-click this place (photo below) select main file>RESTORE
You get the settings, Wide, Main, Macro lens.
Video works only in normal mode. Slow doesn't work.
EDIT: Only the video recording with sound does not work here due to a current kernel custom rom bug.
PHOTO
StaryMuz said:
I found and set the functional camera to select the lens.
Gcam7.3.018_Greatness.Build2.3.apk (camera)
main[1].xml (my config file)
1) Install the camera. Uninstall the previous GCAM if you cannot install.
2) Start the camera and go to the settings. Config>Save>"a" (SAVE).
3) File main[1].xml copy to /sdcard/gcam/Configs7/
4) Start the camera, double-click this place (photo below) select main file>RESTORE
You get the settings, Wide, Main, Macro lens.
Video works only in normal mode. Slow doesn't work.
PHOTO
Click to expand...
Click to collapse
Awesome, just got this on mine and can confirm it works on nezuko rom, if anyone is curious. Thanks man.
If you have the latest version of Vendor from Miui, slow video will work.
So everything will work in this GCAM!
also works on dotOS 5.0.1 with microG (no Google Play Services & Play Store).
The problem with video recording must be caused by the phone's sleep mode.
Maybe it turns off some codec that takes care of merging image and audio.
Certainly not a problem during the recording process.
The problem definitely arises at the moment of merging the two recorded tracks.
Some cameras will shut down at this point, other cameras save the video with the tracks behind (only the sound is played and only after that the image is played), other cameras save only the image itself.
StaryMuz said:
The problem with video recording must be caused by the phone's sleep mode.
Maybe it turns off some codec that takes care of merging image and audio.
Certainly not a problem during the recording process.
The problem definitely arises at the moment of merging the two recorded tracks.
Some cameras will shut down at this point, other cameras save the video with the tracks behind (only the sound is played and only after that the image is played), other cameras save only the image itself.
Click to expand...
Click to collapse
This could be it. But, I am still hoping this is fixed in next update. I record at least once a month or two so this is going be annoying even for me soon enough.
BSG's mods work just fine for me https://www.celsoazevedo.com/files/android/google-camera/dev-bsg/
Lungss said:
BSG's mods work just fine for me https://www.celsoazevedo.com/files/android/google-camera/dev-bsg/
Click to expand...
Click to collapse
Do you know which config file to use for all 3 lenses (wide/main/macro)?
No idea but seems to work with all 3 cameras out the box, the 1x, 1.4x, 1.8x options switch between the lenses. Not sure how to make config files but trying to do things like record time lapse videos on the 1.8x option will crash the app.
UniNick said:
Do you know which config file to use for all 3 lenses (wide/main/macro)?
Click to expand...
Click to collapse
Can I get a gcam mod with astrophotography working for realme 3.
I tried many gcam mods but in none of them astrophotography is working. Realme 3 is having mediatek Helio p60.
Can anyone suggest astrophotography working version
Samkw said:
Can I get a gcam mod with astrophotography working for realme 3.
I tried many gcam mods but in none of them astrophotography is working. Realme 3 is having mediatek Helio p60.
Can anyone suggest astrophotography working version
Click to expand...
Click to collapse
How is astrophotography not working? For me it automatically turns on under night camera when the conditions are right.
Lungss said:
BSG's mods work just fine for me https://www.celsoazevedo.com/files/android/google-camera/dev-bsg/
Click to expand...
Click to collapse
Unfortunately, we didn't get anywhere. Nothing changes with this camera. Still, the video only works after restarting the phone, after a while the audio recording doesn't work.
Before anyone reports a working Gcam again, please verify that the camera can still record video and audio after using the phone for a while.

Categories

Resources