cstark27 v3 wide angle beta 1

Up to date thread here: https://forum.xda-developers.com/lg-...angle-t3747263

cstark27 v3 wide angle beta 1

NOTE

Camera 0 (back)

Camera 1 (front)

Camera 2 (back (wide angle))

cstark27 v3 wide angle alpha

-Separate APK based off cstark27 v3

-ALPHA version of wide angle support



cstark27 v3

-fix G6 video (and probably other Android 7.0 devices) thanks to Arnova8G2

-add LG G6 Color Fix option under advanced thanks to Arnova8G2



cstark27 v2.1

-EXIF fix, thanks Arnova8G2

-Enable HDR+ toggle by default

-Uncheck camera:use_photos by default to increase stability (turn back on and test if you want. Enabling this makes it use Google Photos.)

-Uncheck camera:enable_micro by default to increase stability (turn back on and test if you want. Enabling this enables Motion Photos for Oreo only(?)



cstark27 v2

-fixed video on Pixel configs for LG V30



cstark27 v1

-based off Scrubber's APK

-forced model of front camera to Nexus 6P for proper HDR+ Processing and color (thanks BSG)

-rear model is set to Taimen -Separate APK based off cstark27 v3-ALPHA version of wide angle support-fix G6 video (and probably other Android 7.0 devices) thanks to Arnova8G2-add LG G6 Color Fix option under advanced thanks to Arnova8G2-EXIF fix, thanks Arnova8G2-Enable HDR+ toggle by default-Uncheck camera:use_photos by default to increase stability (turn back on and test if you want. Enabling this makes it use Google Photos.)-Uncheck camera:enable_micro by default to increase stability (turn back on and test if you want. Enabling this enables Motion Photos for Oreo only(?)-fixed video on Pixel configs for LG V30-based off Scrubber's APK-forced model of front camera to Nexus 6P for proper HDR+ Processing and color (thanks BSG)-rear model is set to Taimen

Quote: Originally Posted by Arnova8G2 Originally Posted by Code: const/4 v0, 0x0 <---- We count from 0 (front camera) :goto_0 if-ge v0, v4, :cond_1 aget-object v5, v2, v0 new-instance v6, Ligc; invoke-static {v5}, Ligc;->a(Ljava/lang/String;)Ljava/lang/Integer; move-result-object v7 invoke-direct {v6, v5, v7}, Ligc;-><init>(Ljava/lang/String;Ljava/lang/Integer;)V invoke-interface {v3, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z add-int/lit8 v0, v0, 0x1 replace by 0x2 <---- We stop at 2 (external camera) goto :goto_0 <--- If we are not yet at 2 we continue the camera count, we go back to goto_0 There must be another code to modify for more bug

Code: const/4 v0, 0x1 <---- We count from 1 (front camera) :goto_0 if-ge v0, v4, :cond_1 aget-object v5, v2, v0 new-instance v6, Ligc; invoke-static {v5}, Ligc;->a(Ljava/lang/String;)Ljava/lang/Integer; move-result-object v7 invoke-direct {v6, v5, v7}, Ligc;-><init>(Ljava/lang/String;Ljava/lang/Integer;)V invoke-interface {v3, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z add-int/lit8 v0, v0, 0x1 <---- Increase by 1, to end at ID 2 (wide angle camera) goto :goto_0

I cannot guarantee success on other devices, especially if the phone does not even report all cameras through the Camera2 API (use Camera2Test app to verify your device info).-Separate APK based off cstark27 v3-Fix front camera crash-Change "config" to Nexus 6P (ZSL on the wide angle does not process HDR+ currently, so this ensures the user always gets HDR+ processing)Changelog:Thank you so much @ Arnova8G2 ! Your notes really helped me understand what I was looking at. I did try the suggestion but the phone did not like it. I ended up withThis fixes it so the front cam and rear cam works. At the moment it's looking like a separate app is needed, and to me is much faster than digging in the settings to enable/disable wide angle anyway.