Android Camera Hacking Academy
Replymessage unavailableon Snapdragon 865 you can put in
/vendor/etc/camera/camxoverridesettings.txt
systemLogEnable=TRUE
logVerboseMask=0x02000000
dumpAEC=0x7
then reboot or restart camera service and in console put.
adb shell
su
logcat -G 256M
it would add V/CamX : [ VERB][STATS_AEC] records to logcat output
then after running camera you can inside logcat for luxIndex and
V/CamX : [ VERB][STATS_AEC] camxaecengine.cpp:3591 GetExposureDataByType() Exposure Time: 32333334, gain: 62.000000,
V/CamX : [ VERB][STATS_AEC] camxcaecstatsprocessor.cpp:2322 PublishPropertyPoolFrameControl() AEC: ... (2: 62.000000 32333334) LuxIndex=235.506439
V/CamX : [ VERB][STATS_AEC] camxcaecstatsprocessor.cpp:5811 DumpFrameInfo() [AEC FRAME INFO] ... luxIndex: 376.811584