NOTE: I am not a developer but I have tried my best to create a port that has most of the basics working on my LG V30. I cannot promise I can fix any bugs for other devices but if I have time, I can try to look into some. This version is based off Scrubber's [4PDA] and uses information I've learned from using and looking at Arnova8G2's, BSG's and others versions. All their work is much appreciated and is the only thing that makes this possible.
NOTE: This is how the V30's Camera ID's are laid out. My normal lens app uses ID 0 and 1. My wide lens app uses ID 1 and 2.
- Camera 0 "LENS_FACING_BACK"
- Camera 1 "LENS_FACING_FRONT"
- Camera 2 "LENS_FACING_BACK" (wide angle)
Xiaomi Mi A1: @sipollo made a Magisk mod for your phone's telephoto lens here: https://forum.xda-developers.com/mi-...-lens-t3767531
My normal version should work fine on devices that have a decent Camera2 API support. Snapdragon Galaxy S8, Note 8, Nokia 6, Nokia 8, Essential PH-1, HTC U11, etc.
**********
**********
If you upgrade to Oreo and experience reboots while using GCam, then follow the steps in this post https://forum.xda-developers.com/sho...postcount=1069
**********
**********
----------------------------------------------------------------------------------------------------
cstark27 v4.2
If you have issues, Clearing App Data is recommended. Open "Camera"> Settings>About>View App Settings Page>Storage>Clear Data
-If device has more than 3+ camera sensors, displays a new side menu "Wide Angle"
--Click this item and it opens Settings and displays a message "Switching rear Camera ID. Press back to complete." So just press the back button when you see the settings menu pop up. I can't figure out a way to do this programmatically.
--On first install you may have to click this twice for it to start working
--After this is toggled the side menu will say "Default Camera" to indicate you can switch back
-The Camera Switch icon is green now to try to indicate you can Long Press this to do the same function as above (alternate between rear camera ID's)
v4.2 fixes:
-Resolution for main and aux lens separated thanks @fu24
v4.1 adds:
-Add LG G6 Lineage Toggle
-Add Advanced>Default HDR+ Mode for Normal and Wide Lens options
--Switching rear cameras will change the HDR+ to the specified mode
--Usage: If you want the regular lens to usually be HDR+ ZSL, but the Wide Angle to always be HDR+ Enhanced. You can also select No Change (default) so HDR+ mode is not changed by the system and will keep what you choose when switching rear cameras
Credits Arnova8G2, arthur, namok, fu24, Tolyan009/TlnNeun
cstark27_GCam_5.1.018_24_v4.2t3.apk
Alternative download location: https://www.celsoazevedo.com/files/a.../dev-cstark27/ courtesy @S4turno
Alternate versions posted by @fu24 which has a toggle for standard/wide angle in the settings and much more customization options: https://forum.xda-developers.com/sho...&postcount=505
----------------------------------------------------------------------------------------------------
There is no model or config to set, you should be good to go after installing.


Previous Versions:
As always, thanks to Scrubber (whose APK I started with), Arnova8G2, BSG and all the other devs working on these projects.


Y O U !

Linear Mode