camera 命令的总结:
【dump preview raw】
1. adb shell "echo autoImageDump=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"
2. Then either "adb reboot" or just restart camera service
3. Then a lot of files will be dumped to "/data/vendor/camera"
【dump capture raw】
1. adb shell "echo reprocessDump=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"
2. Then either "adb reboot" or just restart camera service
3. Then a lot of files will be dumped to "/data/vendor/camera"
【dump camera OTP】
1. adb shell "echo dumpSensorEEPROMData=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"
2. adb shell setenforce 0
raw dump (待验证)
(1)Enable ZSL mode. (ZSL is default in current build)
(2)Enable Raw Dump:
adb shell "echo reprocessDump=TRUE >> /vendor/etc/camera/camxoverridesettings.txt"
(3)Reboot device
(4)Take snapshot and you will find raw at /data/misc/camera