[GUIDE] Enable EIS on videos - LeEco Le Max 2 Guides, News, & Discussion

Hello,
I found that by adding the following lines below in build.prop, the EIS becomes functional in recording videos using the apk mod of the Nexus 5 camera.
Add the following lines;
persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1
persist.camera.is_mode=4
Unfortunately it only works in this camera application and autofocus does not work.
Download the apk on original thread: https://forum.xda-developers.com/nexus-5x/themes-apps/mod-google-camera-t3279714
It might work better on other roms and Nougat, I'm currently at smalleui 13.1 and the best camera app I've found so far was the Moto Z camera with the professional mode (sadly no EIS but it have autofocus working on video)
Edit: Works too on Footej Camera!
Edit²: I installed for the first time a nougat rom (RR) and EIS works in video on all app
Edit³: I'm just an Network engineer, i don't have any programming skills, don't ask for new features

Can you also post the link for the Moto Z camera that you use?

neo299 said:
Can you also post the link for the Moto Z camera that you use?
Click to expand...
Click to collapse
Sure, here is the original thread: https://forum.xda-developers.com/g2-mini/themes-apps/app-moto-z-camera-t3579066

doru25 said:
Sure, here is the original thread: https://forum.xda-developers.com/g2-mini/themes-apps/app-moto-z-camera-t3579066
Click to expand...
Click to collapse
downloaded and installed, but i cant seem to access pro mode. im on cuoco's rom v97.

luisoman2000 said:
downloaded and installed, but i cant seem to access pro mode. im on cuoco's rom v97.
Click to expand...
Click to collapse
Sorry, i forgot to tell you that you must change on build.prop "ro.product.device"
(moto g4)
ro.product.device=athene
(moto z)
ro.product.device=griffin
On smalleui 13.1 all settings of professional mode works, on nougat (RR) only a few

doru25 said:
Sorry, i forgot to tell you that you must change on build.prop "ro.product.device"
(moto g4)
ro.product.device=athene
(moto z)
ro.product.device=griffin
On smalleui 13.1 all settings of professional mode works, on nougat (RR) only a few
Click to expand...
Click to collapse
Should I enable camera2api for better performance?

luisoman2000 said:
Should I enable camera2api for better performance?
Click to expand...
Click to collapse
The line "persist.camera.HAL3.enabled=1" already enables it

On cuoco's v97 it's disabled by default. Thanks
Sent from my Le X820 using Tapatalk

Can you post videos with EIS enabled/disabled for comparison?

Shished said:
Can you post videos with EIS enabled/disabled for comparison?
Click to expand...
Click to collapse
Sure, see samples on attachments.
Only will work if you have enabled camera api2
Install Camera X from https://forum.xda-developers.com/nexus-5x/themes-apps/mod-google-camera-t3279714?nocache=1 to use EIS on EUI.
PS: Video was recorded on 720p because file size limitation from xda

Disabled zip is corrupted.

Shished said:
Disabled zip is corrupted.
Click to expand...
Click to collapse
I downloaded it now and it worked, try downloading some codec package and use 7-zip to extract

Does moto Z camera work with aex rom?

Is there a way to use EIS and autofocus at the same time in video recording for Marshmallow roms?
Sorry i am asking because I am lost a bit in this topic
thanks, in advance.

Irwan Fauzi said:
Does moto Z camera work with aex rom?
Click to expand...
Click to collapse
I don't know, you can try flash it and report us
SUMMERBREEZE said:
Is there a way to use EIS and autofocus at the same time in video recording for Marshmallow roms?
Sorry i am asking because I am lost a bit in this topic
thanks, in advance.
Click to expand...
Click to collapse
Yes, it works with Footaj, just enable it on the app.

doru25 said:
I don't know, you can try flash it and report us
Yes, it works with Footaj, just enable it on the app.
Click to expand...
Click to collapse
Thank you for quick response.
But I still need to do the trick you have provided yes? Editing build.prop as the first page ?
Take care.

doru25 said:
Hello,
I found that by adding the following lines below in build.prop, the EIS becomes functional in recording videos using the apk mod of the Nexus 5 camera.
Add the following lines;
persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1
persist.camera.is_mode=4
Unfortunately it only works in this camera application and autofocus does not work.
Download the apk on original thread: https://forum.xda-developers.com/nexus-5x/themes-apps/mod-google-camera-t3279714
It might work better on other roms and Nougat, I'm currently at smalleui 13.1 and the best camera app I've found so far was the Moto Z camera with the professional mode (sadly no EIS but it have autofocus working on video)
Edit: Works too on Footej Camera!
Edit²: I installed for the first time a nougat rom (RR) and EIS works in video on all app
Click to expand...
Click to collapse
(probably off topic sorry)
But say, can you enable 1080p 60fps recording with build prop modified and also can you increase the shutter time to some 30 sec. So we can photograph the night starry sky?
Isk anythi g about build. Prop never touched it.. Just wonder about the possibilities
Thanks for the eis.. Its awesome :laugh:

mymutatedmind said:
(probably off topic sorry)
But say, can you enable 1080p 60fps recording with build prop modified and also can you increase the shutter time to some 30 sec. So we can photograph the night starry sky?
Isk anythi g about build. Prop never touched it.. Just wonder about the possibilities
Thanks for the eis.. Its awesome :laugh:
Click to expand...
Click to collapse
Sorry but i can't help you. I'm just an Network engineer, i don't have any programming skills

SUMMERBREEZE said:
Thank you for quick response.
But I still need to do the trick you have provided yes? Editing build.prop as the first page ?
Take care.
Click to expand...
Click to collapse
Yes, EIS only works if you enable camera api2 and EIS line on build prop.

Make sure to change to read-only build.prop or else bootloop.

Related

New "Moto Camera" for 2016 devices

http://9to5google.com/2016/06/02/mo...ust-hit-the-play-store-only-for-2016-devices/
http://www.androidpolice.com/2016/06/02/motorola-releases-new-camera-app-play-store-2016-devices/
Apk has been tested and works
.apk please.
Here is your apk
lafester said:
.apk please.
Click to expand...
Click to collapse
Your apk...
It installed!!!! big difference
Can a MOD please move to appropriate place now that I answered my own question...
This was posted yesterday in another thread, but yes it should be moved to themes.
DJTeeJay said:
Here is your apk
Click to expand...
Click to collapse
Does it require root to install?
^ No. I installed it in my unrooted phone. Both cameras work properly. Professional photos option is not available in our phone.
Thank you!
anyone have any luck setting the twist gesture to launch the CAM.apk?
Does this work with no issues?
So this works on non-2016 devices I'm assuming?
Is it better than the stock app (or lolgooglecamera)?
Read the thread, test it, report your findings.
Tried it on AICP ROM, installs fine, the only rear video size options are 4K/1080p/720p/VGA all at 30FPS only. Slow motion option is greyed out probably because you can't change the default size of 720p 120fps. Works ok though. Quality is ok but not as good as the stock camera.

[DEV-ONLY][Z1-Z1C][MSM8974/SD800] Enable Camera2 api [Updated 12/22/2016]

Hello,
this thread is only for development discussion about enabling camera2 api on xperia camera. If you have anything useful, it's the right place, however, it's not for non-dev things.
What are we going to do ?
The best way for enabling camera2 api is porting camera hal from sony aosp camera.
So I have attached sony aosp camera hal at this thread. We should do some modifications on kernel to make it working on stock rom.
Current Status : CSID needs to be updated on kernel
This can help us :
https://github.com/sonyxperiadev/ke...rch/arm/boot/dts/qcom/msm8974-camera.dtsi#L63
*Before testing camera hal, you should do 2 important works :
1. Remove following line from default.prop located at ramdisk : (At the moment, this is optional)
camera2.portability.force_api=1
2. Go to system>lib>hw and delete camera.qcom.so (This one is necessary)
Thanks To:
@davidteri91
@aquaboy11
works with cm12? or only with stock?
brickhayabusa said:
works with cm12? or only with stock?
Click to expand...
Click to collapse
This is dev only thread bro :laugh:
EugenStanis said:
This is dev only thread bro
Click to expand...
Click to collapse
i know, but if you read, he wrote "Need some testers to test attached camera hal on Z1/Z1C"
PS: you're not a dev too
I will get myself multirom to run stock, if it works I will start testing and try to edit the kernel. If we do it properly, we could maintain BIONZ right?
brickhayabusa said:
i know, but if you read, he wrote "Need some testers to test attached camera hal on Z1/Z1C"
PS: you're not a dev too
Click to expand...
Click to collapse
Well it doesnt need to have the physical RD or SRD title to have the privilege to post in DEV-ONLY thread, as long as you are contributing to the project on DEV basis.
aquaboy11 said:
I will get myself multirom to run stock, if it works I will start testing and try to edit the kernel. If we do it properly, we could maintain BIONZ right?
Click to expand...
Click to collapse
Thanks.
Nope, we can't have Bionz and a new camera hal at the same time
Everyone is asking for camera2 api and raw
But
No one has tested this after 1 month
So don't ask me again for raw!
mkdmc said:
Everyone is asking for camera2 api and raw
But
No one has tested this after 1 month
So don't ask me again for raw!
Click to expand...
Click to collapse
when i wanred to test it i dont understand this "Before testing camera hal, you should do 2 important works :
1. Remove following line from default.prop located at ramdisk : (At the moment, this is optional)
camera2.portability.force_api=1
2. Go to system>lib>hw and delete camera.qcom.so (This one is necessary)"
and i forgot about it)
mkdmc said:
Everyone is asking for camera2 api and raw
But
No one has tested this after 1 month
So don't ask me again for raw!
Click to expand...
Click to collapse
I don't have a z1/z1c ...but i can try it on z2 mm if you want. If this mod was for z2 i'm the first who became your betatester. If you extend the compatibility with z2 or you want a betatester for one of your mods for z2 variant...just contact me
mkdmc said:
Everyone is asking for camera2 api and raw
But
No one has tested this after 1 month
So don't ask me again for raw!
Click to expand...
Click to collapse
I tried so:
I removed the line as noted in Step 1
I extracted the file and copied to the folder "system" (with overwriting files)
Result: bootloop
I dont have a z1/z1c. I can became your tester on my z2.
mkdmc said:
Everyone is asking for camera2 api and raw
But
No one has tested this after 1 month
So don't ask me again for raw!
Click to expand...
Click to collapse
Hey, I could not get multirom to work. I also had quite some stuff to do for school so I could not test either. Today I switched back to stock rom and will have more time the coming weeks.
I did as you said, except for the default.prop. Put all the right permissions, copied over the files, and rebooted. The camera, as expected, does not work, so I captured a logcat and dmesg.
Sorry for taking so long .
aquaboy11 said:
Hey, I could not get multirom to work. I also had quite some stuff to do for school so I could not test either. Today I switched back to stock rom and will have more time the coming weeks.
I did as you said, except for the default.prop. Put all the right permissions, copied over the files, and rebooted. The camera, as expected, does not work, so I captured a logcat and dmesg.
Sorry for taking so long .
Click to expand...
Click to collapse
Thanks a lot for testing
It seems csid is incorrect
Kernel needs to be updated
mkdmc said:
Thanks a lot for testing
It seems csid is incorrect
Kernel needs to be updated
Click to expand...
Click to collapse
Which HAL did you use? Also, could you explain a bit more about csid, and how we should fix it? Would getting drivers from the AOSP kernel be any good, or should the stock code itself be updated?
aquaboy11 said:
Which HAL did you use? Also, could you explain a bit more about csid, and how we should fix it? Would getting drivers from the AOSP kernel be any good, or should the stock code itself be updated?
Click to expand...
Click to collapse
Latest AOSP 5.1.1 camera HAL.
I'm not sure how we can update csid btw we should use aosp kernel drivers.
This can help us :
https://github.com/sonyxperiadev/ke...rch/arm/boot/dts/qcom/msm8974-camera.dtsi#L63
mkdmc said:
Latest AOSP 5.1.1 camera HAL.
I'm not sure how we can update csid btw we should use aosp kernel drivers.
This can help us :
https://github.com/sonyxperiadev/ke...rch/arm/boot/dts/qcom/msm8974-camera.dtsi#L63
Click to expand...
Click to collapse
I'll play around with the kernels a bit to see if I can get something to work.
EDIT:
Doesn't seem like I can .
EDIT 2:
Is it safe to have Cyberian installed? Or should I reflash stock every time before testing?

Working Google camera HDR+and portrait mode on stock zui 2.5

Google camera is working on my stock zui 2.5 indian version but beware after following these steps the stock camera app won't work .
Here are the steps I did follow
1 you should have latest twrp.
2.flash open source camera 2 hal from here
https://forum.xda-developers.com/attachment.php?attachmentid=4412288&d=1518010186
3. install Google camera from here
https://drive.google.com/file/d/1wqkqZ7-IcoJiq4krpR2cb8jHewysdbUC/view
4. For working HDR+ and portrait mode on front camera although its for OnePlus 3 it works on our devices as well. Flash this file
https://www.celsoazevedo.com/files/android/google-camera/f/hdrfix/twrp-front-fix-nougat-op3-3t.zip
Do you think this would work on zui 3.5?
bordi21 said:
Do you think this would work on zui 3.5?
Click to expand...
Click to collapse
I think it should I haven't tried yet but it should be working and google photos app should be installed for motion photos feature
so this would enable camera2api on stock zui 2.5?
arun356y said:
so this would enable camera2api on stock zui 2.5?
Click to expand...
Click to collapse
Yeah it does but stock camera won't work
rk2shashank said:
Yeah it does but stock camera won't work
Click to expand...
Click to collapse
means flashing oss zip will completely break the stock camera?
arun356y said:
means flashing oss zip will completely break the stock camera?
Click to expand...
Click to collapse
Yes it would break stock camera app
rk2shashank said:
Yes it would break stock camera app
Click to expand...
Click to collapse
Someone please try forcing cam hal 1 for zui camera package through build.prop and then test
rk2shashank said:
Google camera is working on my stock zui 2.5 indian version but beware after following these steps the stock camera app won't work .
Here are the steps I did follow
1 you should have latest twrp.
2.flash open source camera 2 hal from here
https://forum.xda-developers.com/attachment.php?attachmentid=4412288&d=1518010186
3. install Google camera from here
https://drive.google.com/file/d/1wqkqZ7-IcoJiq4krpR2cb8jHewysdbUC/view
4. For working HDR+ and portrait mode on front camera although its for OnePlus 3 it works on our devices as well. Flash this file
https://www.celsoazevedo.com/files/android/google-camera/f/hdrfix/twrp-front-fix-nougat-op3-3t.zip
Click to expand...
Click to collapse
Thnx for ur help ,but Iam not able to download the Google camera app???Can u pls help???
pkn267 said:
Thnx for ur help ,but Iam not able to download the Google camera app???Can u pls help???
Click to expand...
Click to collapse
try this
https://drive.google.com/file/d/1wqkqZ7-IcoJiq4krpR2cb8jHewysdbUC/view
rk2shashank said:
try this
https://drive.google.com/file/d/1wqkqZ7-IcoJiq4krpR2cb8jHewysdbUC/view
Click to expand...
Click to collapse
And one thing ,how can I fix the slow motion recording ???.Thank you.
pkn267 said:
And one thing ,how can I fix the slow motion recording ???.Thank you.
Click to expand...
Click to collapse
That can't be fixed on this version of Google camera maybe next release version 6 by aranova at fix it
on oreo AEX, i need the hole steps or just install the google camera apk ?
rk2shashank said:
I think it should I haven't tried yet but it should be working and google photos app should be installed for motion photos feature
Click to expand...
Click to collapse
I can confirm that don't work in zui Oreo
mpena said:
I can confirm that don't work in zui Oreo
Click to expand...
Click to collapse
In Indian nougat version it worked
front camera is taking green photos even after flashing the zip provided for front camera. (btw i am on zui 2.5 indian)

Pls recommend best rom with fully google cam support

I have been using nitrogen os rom for almost 5 months now, now i want to change my rom.:good:
Recommend me most stable oreo rom with good battery backup and good charging speed
Havoc OS, quite quite stable and you can flash gcam from Aroma variant gapps, it'll even update itselt from google play, reply for further assistant.
Trilokpati said:
Havoc OS, quite quite stable and you can flash gcam from Aroma variant gapps, it'll even update itselt from google play, reply for further assistant.
Click to expand...
Click to collapse
i'm on latest Xtendend Oreo rom, can in use gcam too? please explain
bugggmenot said:
i'm on latest Xtendend Oreo rom, can in use gcam too? please explain
Click to expand...
Click to collapse
Yes you can, matter of fact you can use gcam on any ROM with little tweaks but try to download simple Oreo gcam apk and install if.it works then good if not then you will need to do little tweaks.
Trilokpati said:
Havoc OS, quite quite stable and you can flash gcam from Aroma variant gapps, it'll even update itselt from google play, reply for further assistant.
Click to expand...
Click to collapse
Im using havoc os and also using gcam.
But it is not recording in gcam. Stock camera have some issues regarding recording in dark(color distortion kinda)
I flashed miui camera port,there it works fine
If you have any solutions do let me know.
imchethan7 said:
I have been using nitrogen os rom for almost 5 months now, now i want to change my rom.:good:
Recommend me most stable oreo rom with good battery backup and good charging speed
Click to expand...
Click to collapse
https://www.celsoazevedo.com/files/...leCamera_5.2.025-Minimal-Beta-Final_test2.apk
Here use this cam and then report me....
manivenkat9991 said:
https://www.celsoazevedo.com/files/...leCamera_5.2.025-Minimal-Beta-Final_test2.apk
Here use this cam and then report me....
Click to expand...
Click to collapse
Used this apk still had the problem on recording video but takes great pictures
Gcam
Then change rom to msm xtended it gives great performance and battery and gcam also work perfectly without any issue
Bro plzz send u r thermal conf file from nos
I need urgently
Try this.
https://drive.google.com/file/d/1VVrO0Lf3TN1te2fIaAA10OpBsfssMJV6/view?usp=sharing
100% working, enjoy
imchethan7 said:
Im using havoc os and also using gcam.
But it is not recording in gcam. Stock camera have some issues regarding recording in dark(color distortion kinda)
I flashed miui camera port,there it works fine
If you have any solutions do let me know.
Click to expand...
Click to collapse
https://www.celsoazevedo.com/files/android/google-camera/f/MGC_5.1.018_tolyan009_v1.4.1-test6.apk
Set model to Nexus 6P, video is working perfectly. Explore settings, it has everything latest.
manivenkat9991 said:
Bro plzz send u r thermal conf file from nos
I need urgently
Click to expand...
Click to collapse
Sorry bro im on havoc os now
Trilokpati said:
https://www.celsoazevedo.com/files/android/google-camera/f/MGC_5.1.018_tolyan009_v1.4.1-test6.apk
Set model to Nexus 6P, video is working perfectly. Explore settings, it has everything latest.
Click to expand...
Click to collapse
Tried your apk. I set the model to nexus 6p
Video works but has the dark video problem, if u have any solutions please let me know
Thanks
imchethan7 said:
Tried your apk. I set the model to nexus 6p
Video works but has the dark video problem, if u have any solutions please let me know
Thanks
Click to expand...
Click to collapse
Working fine for me and I have havoc too. Though video has little low light than picture in artificial light. Try in the morning. It's near perfect.
Trilokpati said:
Working fine for me and I have havoc too.
Click to expand...
Click to collapse
Then its fine. For video recording i use miui camera
No big deal:good:

HDR , slow motion and other option disappeared from MotoCam on stock 7.0

Hi everyone , today while using camera i noticed hdr option is missing along with slow motion and iso & shutter speed option from the pro mode in Moto camera . Even front camera is not opening. However in 3rd party camera apps front camera open but hdr is still missing. I am using modified stock 7.0 with camera2api enabled , defcomg chromatix mod and 32 bit gcam by savitar. How to fix moto cam as i use it regularly ? Thanks all in advance
This is happen bcuz of enable cam2api idk why maybe the Moto cam app dosen't compatible with camera 2 so if you want these options back you have to disable cam2api. Same of you I tried so many times to find out what happened with camera and discover that enable cam2api make this bug happened.
The stock camera app relies on the phone's default camera api. Enabling camera2 api breaks it.
thegoko said:
This is happen bcuz of enable cam2api idk why maybe the Moto cam app dosen't compatible with camera 2 so if you want these options back you have to disable cam2api. Same of you I tried so many times to find out what happened with camera and discover that enable cam2api make this bug happened.
Click to expand...
Click to collapse
Thanks for answer sir , but i will not disable cam2api bcoz i am using gcam and happy with hdr+ , i will search for better 3rd party app than stockcam which use cam2api ?
bazinga137 said:
The stock camera app relies on the phone's default camera api. Enabling camera2 api breaks it.
Click to expand...
Click to collapse
I tried disabling cam2api by changing value to 0 in build.prop app but it didnot work . I removed persist code but cam2api is still enabled . Donot know why moto software sucks brain that much.
shibbu18111997 said:
I tried disabling cam2api by changing value to 0 in build.prop app but it didnot work . I removed persist code but cam2api is still enabled . Donot know why moto software sucks brain that much.
Click to expand...
Click to collapse
Did you reboot after removing the line from build.prop?
bazinga137 said:
Did you reboot after removing the line from build.prop?
Click to expand...
Click to collapse
Yes sir , i reeboted my device every time i made changes in the build.prop app
shibbu18111997 said:
Yes sir , i reeboted my device every time i made changes in the build.prop app
Click to expand...
Click to collapse
There is a quirk on stock nougat where permissions get messed up after editing a system file. Install root browser, navigate to system, find the build.prop file and in properties set the permission to -rw-r--r-- (644) like in the attached screenshot. Then reboot.
Theres a modded Motocam in the g5+ camera dev group. Also, Motocam with [email protected] enabled works flawlessly on stock oreo.
rjherms said:
Theres a modded Motocam in the g5+ camera dev group. Also, Motocam with [email protected] enabled works flawlessly on stock oreo.
Click to expand...
Click to collapse
Plz share the link of modded motocam bro
shibbu18111997 said:
Plz share the link of modded motocam bro
Click to expand...
Click to collapse
It's in the telegram channel. Nonlinks
rjherms said:
It's in the telegram channel. Nonlinks
Click to expand...
Click to collapse
What is the channel name ?
Moto G5+ Camera Development
rjherms said:
Moto G5+ Camera Development
Click to expand...
Click to collapse
Thanks for the help bro , one more help plzzz. I downloaded the motocam2 app , but i am not able to install it due to "Camera " named app i.e stock moto cam already installed. I installed xml magisk module but still not able to install motocam2
shibbu18111997 said:
Thanks for the help bro , one more help plzzz. I downloaded the motocam2 app , but i am not able to install it due to "Camera " named app i.e stock moto cam already installed. I installed xml magisk module but still not able to install motocam2
Click to expand...
Click to collapse
You need the xml patch as well

Categories

Resources