Camera2 API - LeEco Le 2 Questions & Answers

can we get camera2 API enabled for LeTv le 2 ?

DEVINDER1995 said:
can we get camera2 API enabled for LeTv le 2 ?
Click to expand...
Click to collapse
Yes you can.
You need to be rooted on custom kernel. Go to root explorer > system > build.prop > open and edit .Go to bottom, add this line "persist.camera.HAL3.enabled=1" without string
save, reboot.
Main stock camera works but doesn't see any changes.
But you can install Manual camera, FreeDcam for manual controls like shutter speed, ISO, etc.
If you are not rooted , you can still use FreeDcam to manually control over all parameter except you can't take raw images.

but i want to take raw images that's why i want to enable camera 2

This works on stock EUI only, on lineageos, all thirxd party app force closed for some reason.

DEVINDER1995 said:
but i want to take raw images that's why i want to enable camera 2
Click to expand...
Click to collapse
You must "Root" your mobile , install custom kernel like quassam kernel or AndroModX kernel and follow above procedure and enjoy raw image photography.
You can use any of these app like manual camera , FreeDcam , ProShot , AZ camera etc ..
Note: you must uninstall previously install camera app and reinstall again.

It works for X620? (Le 2 MediaTek version)

indiankundan said:
Yes you can.
You need to be rooted on custom kernel. Go to root explorer > system > build.prop > open and edit .Go to bottom, add this line "persist.camera.HAL3.enabled=1" without string
save, reboot.
Main stock camera works but doesn't see any changes.
But you can install Manual camera, FreeDcam for manual controls like shutter speed, ISO, etc.
If you are not rooted , you can still use FreeDcam to manually control over all parameter except you can't take raw images.
Click to expand...
Click to collapse
I edit the build prop but the camera broke, only show me black screen.

Hhh

Related

[Q] Disable shutter sound O4X.

I want to buy Optimus 4x.
But I want to disable completely the shutter sound when taking photos. I found a thread here that can make it happen.
I just want to ask if it is necessary to root it first, Can I disable the camera shutter sound without rooting it?
And if it is necessary to root it, is it quite easy? Cause it took me 2 days+ to root my Sensation XE.
Thank you very much!
The Optimus 4X in some parts of Europe have a firmware version v10f that allows you to turn it off without root.
Rooting the 4X is quite easy though. Takes at most 15 minutes
Made possible by my sexy LG Optimus 4X HD (P880)
pretrlending goesnh
I just saw one in a shop, that was free to use it for a while.
But no shutter off button,(Greece, EU) it had 4 different sounds to chose from.
Can I do the camera shutter trick that is discussed on the Android developement section without rooting?
Or is it only possible by rooting first, then doing that trick?
Can someone confirm that?
It will be a total waist of time and money if this isn't possible...
Mantepse said:
I just saw one in a shop, that was free to use it for a while.
But no shutter off button,(Greece, EU) it had 4 different sounds to chose from.
Can I do the camera shutter trick that is discussed on the Android developement section without rooting?
Or is it only possible by rooting first, then doing that trick?
Can someone confirm that?
It will be a total waist of time and money if this isn't possible...
Click to expand...
Click to collapse
Basicaly, you'll change the camera.apk for another one soo, I think you'll need root.
Yeah,
But root explorer works on any phone, rooted or not.
I can use RootExplorer without restrictions on my unrooted Xperia S, and I can rename *.apk files normally.
So why do I have to root it?
I am very confused...
Mantepse said:
Yeah,
But root explorer works on any phone, rooted or not.
I can use RootExplorer without restrictions on my unrooted Xperia S, and I can rename *.apk files normally.
So why do I have to root it?
I am very confused...
Click to expand...
Click to collapse
Can you also rename those in /system/apk? Because for that you normally need root.
There is an option to turn off shutter sound in my 4x
-Tone 1 - Tone 2 - Tone 3 - Tone 4 - Off -
These are the options found on my camera settings, Under v10e, non-rooted 4x...
anGel_pLayer said:
There is an option to turn off shutter sound in my 4x
-Tone 1 - Tone 2 - Tone 3 - Tone 4 - Off -
These are the options found on my camera settings, Under v10e, non-rooted 4x...
Click to expand...
Click to collapse
That exists in all versions... the difference is that in the modded app the Tone 4 is "silence"
So if I update it officially without root, I can choose "off" in the shutter/af sound option?
Mantepse said:
So if I update it officially without root, I can choose "off" in the shutter/af sound option?
Click to expand...
Click to collapse
If you don't mind downgrading a little to v10e (Asian version) you'll be able to mute camera while also still got voice-activated shutter.
Sent from my LG-P880 using xda app-developers app
Mantepse said:
So if I update it officially without root, I can choose "off" in the shutter/af sound option?
Click to expand...
Click to collapse
I don't think soo... to be honest, as my phone restarts from the root, first thing I do is freeze/uninstall apps and change settings soo, when I go to the camera the one that I have is already the modded...
You can try, nothing to loose
What do I need to install the modded camera app?
Do I need to root and use RootExplorer, or do I need ALSO deodexed ROM etc?!
Mantepse said:
What do I need to install the modded camera app?
Do I need to root and use RootExplorer, or do I need ALSO deodexed ROM etc?!
Click to expand...
Click to collapse
OK, phone need to be rooted.
My way:
Install "Root.Uninstaller.PRO.3.01" and "AntTek.Explorer.PRO.3.1.4", open Uninstaller Pro and select the camera, in options select "data directory", Antek will open in "com.lge.camera. Go one the up directory "data" and delete that folder (com.lge.camera). Hit the "back" button untill you close AntTek Explorer. RU will appear again, now choose "app directory", AntTek will open in "app" with the file "com.lge.camera-1.apk", delete it. Go back again untill AntTek closes and you'll still have RU open... choose uninstall.
Reboot the phone after uninstall, after that you can install the modded version and reboot again.
Looks complicated in words but you'll see that its not
The icon and all the rest will be like the stock camera, only the Tone 4 changes.
You can download 3rd party app like camera JB+ that has the option to disable the shutter sound.

Camera problem

I flashed Rom 133 Vodafone-DE and rooted and deodexed and superuser mod installed, and also flashed the 4K and Timeshift Video
My main problem is with super camera app which contains 4K and Timeshift Video, because I neither can use the manual mode and settings Manual and setti Auto mode, nor 4K and Timeshift Video
Now I'm on a trip and do not have access to PC
How can I delete this app with its whole files?
I found its .apk file and remov it, but the prob did not solved
Plz help me! I need taking pics in Manual mode,and by the way, I even can not change the flash from auto to ?
Sorry for my bad English and explanation
And again sorry for the long text
i
SaeedFazlollahzadeh said:
I flashed Rom 133 Vodafone-DE and rooted and deodexed and superuser mod installed, and also flashed the 4K and Timeshift Video
My main problem is with super camera app which contains 4K and Timeshift Video, because I neither can use the manual mode and settings Manual and setti Auto mode, nor 4K and Timeshift Video
Now I'm on a trip and do not have access to PC
How can I delete this app with its whole files?
I found its .apk file and remov it, but the prob did not solved
Plz help me! I need taking pics in Manual mode,and by the way, I even can not change the flash from auto to ?
Sorry for my bad English and explanation
And again sorry for the long text
Click to expand...
Click to collapse
Root Explorer or ES file Manager
then u can find all installed app and uninstall (even system apps)
:good:
Sony did not have this problem on rom
I think it has some perhaps:
1) the 15 and 20 mega pixels can not work with rom 133
2)the mode above has problem with deodexed rom in 133
3)or even maybe 4K and Timeshift Video app has prob with 133 (that I don't think)
yep

[MOD][ROOT] 1080p 60fps Recording 6P/5X

Android 7.0+ See this
Donated
@Charles_l |
@drago10029 |
@LluisAzm |
@spitsyn Sergey |
@vexierspiegel |
@starbase64|
@ Anders Grandt|
@ Singgih Putra -Mi 4c Indonesia|
@ Shaneel Chanderpaul | @sopebird
$150 needed for new device
OLD OP for Android MM and 7.0
::::::::::::::::::::::::::::::::::::::::::::::::::::: 6.0 / 7.0 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Extract libmmcamera_imx377.so from this https://www.androidfilehost.com/?fid=457095661767120784
Using Some Root File Browser/Explorer
Copy libmmcamera_imx377.so to /vendor/lib/ if file size shows 0b then vendor tripping .
In Case vendor/lib tripping delete libmmcamera_imx377.so from vendor/lib/ and copy modded lib to /system/lib/ instead
Set Chmod 644 or rw-r-r permission
Reboot
Install This APK https://www.androidfilehost.com/?fid=385035244224403590 give requested permissions
In API Camera 2 Select 1080pHS Video Profile > Record Video
it may FC on First Run is a known bug
Should Work FOR MM/N some 7.1.1 roms might be give some trouble consult your rom dev
If you press record but it does not start recording switch to pic mode take a picture switch back to movie mode then record
Trouble with mounting vendor renaming copying Check this GUIDE
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: OLD MM ONLY BELOW :::::::::::::::::::::::::::::::::::::::::::::::::
Code:
[HIDE][STRIKE]Made this app to make it easier to copy modified Libs
There three things you can do with the
Backup original lib
Install Modified lib
Install Custom Media Profile .
The lib may work Nexus 5X as Well.
To get 60fps working
1. Install Lib Changer.
2. Install Freedcam.
3. Run Libchanger
3.5 Grant app root permission
4.Tap on the blue are with SELECT MOD
5.Select 60fps_1080p you be asked to be reboot .
6. After Reboot relaunch lib Changer if freedcam is installed Tap on the Yellow Area to install Custom media profile.
7.Start Freedcam In the menu scroll down to api tap on it and select camera1 make sure it's not in camera 2 mode.
8. Scroll up whilst still the menu select 1080pHFR in video Menu if its not showing exit relaunch lib changer repeat step 6.
9. If had to repeat step 6 start freedam then in mode select right side of ui select Movie Mode if video profile is set to 1080HFR and lib is applied click on the shutter button to start Recording .
10. Enjoy 60fps Video
Latest Freedcam Build -?> [url]https://github.com/troop/FreeDcam/releases[/url]
Sample Video [media=youtube]UBMuIA0vkdc[/media]
Update ::::::::::::::::::::::::::::::: 11/18/2016 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
app-release.apk Supports N and MM also added HTC10 60fps[/STRIKE][/HIDE]
For Stock Camera See this post
http://forum.xda-developers.com/showthread.php?p=70748865
Having issues getting 1080pHFR, after doing step 6, i go into settings, make sure the API is set to camera 1, and check the video profile,
1080pHFR doesn't show up, so i repeat step 6, reopen the camera select movie mode, go into video profiles and 1080P HFR still doesn't show up, any ideas?
defcomg said:
Made this app to make it easier to copy modified Libs
There three things you can do with the
Backup original lib
Install Modified lib
Install Custom Media Profile .
The lib may work Nexus 5X as Well.
To get 60fps working
1. Install Lib Changer.
2. Install Freedcam.
3. Run Libchanger
3.5 Grant app root permission
4.Tap on the blue are with SELECT MOD
5.Select 60fps_1080p you be asked to be reboot .
6. After Reboot relaunch lib Changer if freedcam is installed Tap on the Yellow Area to install Custom media profile.
7.Start Freedcam In the menu scroll down to api tap on it and select camera1 make sure it's not in camera 2 mode.
8. Scroll up whilst still the menu select 1080pHFR in video Menu if its not showing exit relaunch lib changer repeat step 6.
9. If had to repeat step 6 start freedam then in mode select right side of ui select Movie Mode if video profile is set to 1080HFR and lib is applied click on the shutter button to start Recording .
10. Enjoy 60fps Video
Latest Freedcam Build -?> https://github.com/troop/FreeDcam/releases
If you like my work donate link in my profile
Click to expand...
Click to collapse
Thanks @drago10029 and @jal3223 for testing
DeathSentinels said:
Having issues getting 1080pHFR, after doing step 6, i go into settings, make sure the API is set to camera 1, and check the video profile,
1080pHFR doesn't show up, so i repeat step 6, reopen the camera select movie mode, go into video profiles and 1080P HFR still doesn't show up, any ideas?
Click to expand...
Click to collapse
Same here all I see is 720phfr which fails
DeathSentinels said:
Having issues getting 1080pHFR, after doing step 6, i go into settings, make sure the API is set to camera 1, and check the video profile,
1080pHFR doesn't show up, so i repeat step 6, reopen the camera select movie mode, go into video profiles and 1080P HFR still doesn't show up, any ideas?
Click to expand...
Click to collapse
Hmmm try going into DCIM/FreeDcam/config/ and delete CustomMediaProfiles.text retry 6 or copy it manually attached it below
defcomg said:
Hmmm try going into DCIM/FreeDcam/config/ and delete CustomMediaProfiles.text retry 6 or copy it manually attached it below
Click to expand...
Click to collapse
Copying from the .text file and replacing my current profile worked perfectly!,
Thanks for the quick reply and the help, its appreciated!
defcomg said:
Hmmm try going into DCIM/FreeDcam/config/ and delete CustomMediaProfiles.text retry 6 or copy it manually attached it below
Click to expand...
Click to collapse
That worked but the file properties are still 1080/30
---------- Post added 24th July 2016 at 12:19 AM ---------- Previous post was 23rd July 2016 at 11:58 PM ----------
Seems the app isn't replacing the lib file.
joeyddr said:
That worked but the file properties are still 1080/30
---------- Post added 24th July 2016 at 12:19 AM ---------- Previous post was 23rd July 2016 at 11:58 PM ----------
Seems the app isn't replacing the lib file.
Click to expand...
Click to collapse
Strange its working 100% but my device is not running marshmallow something similar happened during testing where libs stayed the same even after replacing them will try and delete before copying over new ones think it's something to do with the root binary.
But I will attach the libs to whoever wants to copy them manually while I get that sorted
Extract the zip copy the file to system/vendor/lib/ delete or rename the stock lib by adding .bak to the end of the file name then copy it over set permission to rw-r-r
Libmmcamera_imx377.zip working 60fps
htcNexus2.zip experimental 80fps+ 1080p
Flashable Zip Nexus 6P/5X provided by @przemcio510
defcomg said:
Strange its working 100% but my device is not running marshmallow something similar happened during testing where libs stayed the same even after replacing them will try and delete before copying over new ones think it's something to do with the root binary.
But I will attach the libs to whoever wants to copy them manually while I get that sorted
Extract the zip copy the file to system/vendor/lib/ delete or rename the stock lib by adding .bak to the end of the file name then copy it over set permission to rw-r-r
Libmmcamera_imx377.zip working 60fps
htcNexus2.zip experimental 80fps+ 1080p
Click to expand...
Click to collapse
I'm running pure Nexus rom btw. When I looked in the lib replacer install folder there is a lib folder under that but it's empty if that helps
joeyddr said:
I'm running pure Nexus rom btw. When I looked in the lib replacer install folder there is a lib folder under that but it's empty if that helps
Click to expand...
Click to collapse
Did you give the app SD card access ?
it stores the temp lib in sdcard/Libchanger/ I also just remembered the 6p vendor is another partition and not part of /system so try /vendor/lib/ path
It should work on all MM ROMs these lib stays pretty much the same
Works!! Been waiting for something like this since the launch of this phone! One question: is it possible to make this mod work on different camera apps (for example: google camera)?
MrTemz said:
Works!! Been waiting for something like this since the launch of this phone! One question: is it possible to make this mod work on different camera apps (for example: google camera)?
Click to expand...
Click to collapse
Possibly via smali editing
defcomg said:
Did you give the app SD card access ?
it stores the temp lib in sdcard/Libchanger/ I also just remembered the 6p vendor is another partition and not part of /system so try /vendor/lib/ path
It should work on all MM ROMs these lib stays pretty much the same
Click to expand...
Click to collapse
So I manually replaced it and it's working but seems to of killed the slow motion option in Google camera.
joeyddr said:
So I manually replaced it and it's working but seems to of killed the slow motion option in Google camera.
Click to expand...
Click to collapse
It kills only 120fps only 240fps is untouched
defcomg said:
It kills only 120fps only 240fps is untouched
Click to expand...
Click to collapse
Google camera crashes when I select slow motion from the menu.
joeyddr said:
Google camera crashes when I select slow motion from the menu.
Click to expand...
Click to collapse
Hmm weird but I can workaround it so freedcam outputs 720p at 240fps .
Or try copy stock lib then in Google Camera select 240fps exit copy back modded lib and try reopen Google camera see if it crashes .
Third possible option is to trick it into thinking 60fps is actually 120fps so when it looks for it no crash happens
Here is a log of the crash.
Also want to say that if I use the 5:4 lib Google camera does not crash but I don't have the 120/240 option
joeyddr said:
Also want to say that if I use the 5:4 lib Google camera does not crash but I don't have the 120/240 option
Click to expand...
Click to collapse
Right that lib was capped to 120fps but actually outputted at 240fps .
Attached lib with the same cap in freedcam select 720pHFR it will record at actual 240fps which you can slow down in post.
I do not understand how you want to explain a simple step by step. I try to follow the steps you teach. It has not been a resolution of 1080p 60fps.

[ROOT] Video stabilization

Use file explorer with root previlages.
1. Go to: /system/product/etc/prop/
2. Open local.prop
3. Find persist.hw_camera.video_sta=false and change to true
4. Camera app -> video -> setting and find stabilization
does this phone even have hardware stabilization?
Dunno. IMO it's working for fine shakes
With my version, VNS-L31 C432B370, this option was there from the beginning. I dont need to activate it with root.
drisena said:
With my version, VNS-L31 C432B370, this option was there from the beginning. I dont need to activate it with root.
Click to expand...
Click to collapse
Yeah, I can confirm that I have this on VNS-L31C02B329 as well. Perhaps this was added in Nougat?
Nope. I had this option in MM to.

[MOD][CUSTOM-ROM][ROOT] Use B/W Sensor on third party cameras

Hi everyone!
Since a lot of users that use custom roms usually miss the use of the secondary camera on Mi5SP (the Black&White sensor) i'll write here a guide to enable it on most third party cameras (GCamera excluded)
As you may already know it does work on Snapdragon camera, but i never use it because it's an old version and it's so buggy (when press to focus you can't shoot).
ok, enough talk, here's what to do:
Pick the camera of your choice, i find the best use with FreeDCam or OpenCamera
Open the info about the app from the app list to copy its package name (for example, OpenCamera: net.sourceforge.opencamera ; FreeDCamera: troop.com.freedcam )
Using a root file manager open build.prop (on Pie and some recent Oreo roms it will be /vendor/build.prop , /system/build.prop otherwise)
Find the string
Code:
vendor.camera.aux.packagelist
(or add it at the end of the file) and append
Code:
,[package-name]
(eg. for opencamera will be
Code:
[COLOR="red"]vendor.camera.aux.packagelist=[/COLOR]other.snap.cameras[COLOR="red"],net.sourceforge.opencamera[/COLOR]
)
Save the file and reboot
VoilĂ ! Open up your camera and upon switching between cameras now includes the secondary sensor!
Hope you'll find it useful, remember that you'll need to add this line every update of the rom, i'll may make a magisk module later to make things easier between updates/rom changes.
Cheers! :highfive:
danypava said:
ok, enough talk, here's what to do:
Pick the camera of your choice, i find the best use with FreeDCam or OpenCamera
Using a root file manager open build.prop (on Pie and some recent Oreo roms it will be /vendor/build.prop , /system/build.prop otherwise) :
Click to expand...
Click to collapse
Open build.prop and.. what next?
maniakjabuek said:
Open build.prop and.. what next?
Click to expand...
Click to collapse
I think it's clear enough... Open it (meaning with a text editor of course, we're going to add some code here) and just search for the string vendor.camera.aux.packagelist. If you can't find it, add it to the end of the file.
Then just write any camera package name according to the guide, if you want to use one of the two mentioned use the packages provided.
If you want it plain and simple, copy and paste:
Code:
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,org.lineageos.snap,net.sourceforge.opencamera,troop.com.freedcam
Paste this in your build.prop (and override the existing line if there is any), save and reboot.
Thank you very much
Is there any way to install the MIUI original camera on a custom ROM?
I'm currently using LOS16 and it's much better than stock MIUI.. but I really miss the original camera app with the b/w option..
danypava said:
Hi everyone!
Since a lot of users that use custom roms usually miss the use of the secondary camera on Mi5SP (the Black&White sensor) i'll write here a guide to enable it on most third party cameras (GCamera excluded)
As you may already know it does work on Snapdragon camera, but i never use it because it's an old version and it's so buggy (when press to focus you can't shoot).
ok, enough talk, here's what to do:
Pick the camera of your choice, i find the best use with FreeDCam or OpenCamera
Open the info about the app from the app list to copy its package name (for example, OpenCamera: net.sourceforge.opencamera ; FreeDCamera: troop.com.freedcam )
Using a root file manager open build.prop (on Pie and some recent Oreo roms it will be /vendor/build.prop , /system/build.prop otherwise)
Find the string
Code:
vendor.camera.aux.packagelist
(or add it at the end of the file) and append
Code:
,[package-name]
(eg. for opencamera will be
Code:
[COLOR="red"]vendor.camera.aux.packagelist=[/COLOR]other.snap.cameras[COLOR="red"],net.sourceforge.opencamera[/COLOR]
)
Save the file and reboot
VoilĂ ! Open up your camera and upon switching between cameras now includes the secondary sensor!
Hope you'll find it useful, remember that you'll need to add this line every update of the rom, i'll may make a magisk module later to make things easier between updates/rom changes.
Cheers! :highfive:
Click to expand...
Click to collapse
how it works? It will show a option to select the black and white sensor or I can mix to make a better photo?
samuk190 said:
how it works? It will show a option to select the black and white sensor or I can mix to make a better photo?
Click to expand...
Click to collapse
No, it just enables third party cameras to access the B&W sensor, it will be used as a standalone camera and switchable in the app by pressing the "change camera" button. Can't use both at the same time

Categories

Resources