[Module] Camera2API enabler

Search This thread

IsmaVHS

New member
Feb 6, 2021
2
1
Hello everyone! First of all I pay my respects to the community for all the work. On the other hand, the module didn't work for me... now I have my camera completely useless. My phone is a Xiaomi Redmi Note 7, I later understood that it was not compatible with it. I have looked for 1000 ways to uninstall the module but none of them work for me, the biggest problem I have is that the module does not appear in Magisk Manager or in Recovery Mode... Is there any way to uninstall the module without having to start from 0 on Android? Thank you all very much in advance.
 
  • Like
Reactions: Fumetsu_Guritto
Aug 31, 2021
34
6
Doesn't work for OnePlus 8T

Hello everyone! First of all I pay my respects to the community for all the work. On the other hand, the module didn't work for me... now I have my camera completely useless. My phone is a Xiaomi Redmi Note 7, I later understood that it was not compatible with it. I have looked for 1000 ways to uninstall the module but none of them work for me, the biggest problem I have is that the module does not appear in Magisk Manager or in Recovery Mode... Is there any way to uninstall the module without having to start from 0 on Android? Thank you all very much in advance.
Same.

I'd like to uninstall the two zips provided in OP. Not a fan of junk installs and files.
 
How to check if it is running:
1. Open terminal and issue command "getprop | grep camera".

If it's running, you should be able to find a line "persist.camera.HAL3.enabled 1"
I can see no line. Pls help.
1639823259812.png
 
Apr 8, 2017
9
1
I think this is for snapdragon devices only.
Hey I was very dumb to install this without reading the whole thing
My phone (Nokia 5.1 Plus) is a mediatek device
When i installed it nothing happened but i started encoutering occasional bootloops
I cannot find the installed module in magisk
Is there a way to revert back the changes?
 

Wandrios

New member
May 12, 2022
3
0
Xiaomi Redmi Note 5 / 5 Plus
Since Google Camera with HDR+ was ported already, it requires that camera2api to be enabled.
This is done by editing build.prop to add or enable "persist.camera.HAL3.enabled=1".
Note:
This mod only adds camera2api support in the build.prop systemlessly. This does not guarantee modded google camera hdr+ will work on your device.

Axon 7 Users:
Here's a working GCAM that works on my device. However, I don't see any difference with my stock cam hdr. I just use this for slowmo, panorama, photosphere and lens blur effects.
MGCB_7.0H_C2API_Mid_v.3.6_AllinOne_Full_Manual.apk



Requirements:
Android 5.0 & up
Magisk v15
~2014+ Snapdragon SoCs

Instruction:
Add the zip in Magisk Manager -> Modules and reboot.
Or you could also flash it in your custom recovery, TWRP etc.

How to check if it is running:
1. Open terminal and issue command "getprop | grep camera".
If it's running, you should be able to find a line "persist.camera.HAL3.enabled=1". Check attached screenshot for example.
Or
2. Install Camera2 Probe from playstore to check your device's camera capabilities.

UPDATES:
9-15-17:
-added v1400 template
-added camera2api with slowmo fix for Axon 7 users. (I can't guarantee slowmo on other models will work since I used my device's media_profiles.xml file.)

01-25-18
-updated to v1500 template for C2API - Download this file if you only want the HAL3 enabled.
-updated to v1500 template for C2API+slowmo+ (credits to @j1505243)

:D :D :D

Credits:
- BSG (4pda)
- @j1505243
How to enable all of these features?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 121
    Since Google Camera with HDR+ was ported already, it requires that camera2api to be enabled.
    This is done by editing build.prop to add or enable "persist.camera.HAL3.enabled=1".
    Note:
    This mod only adds camera2api support in the build.prop systemlessly. This does not guarantee modded google camera hdr+ will work on your device.

    Axon 7 Users:
    Here's a working GCAM that works on my device. However, I don't see any difference with my stock cam hdr. I just use this for slowmo, panorama, photosphere and lens blur effects.
    MGCB_7.0H_C2API_Mid_v.3.6_AllinOne_Full_Manual.apk


    Requirements:
    Android 5.0 & up
    Magisk v15
    ~2014+ Snapdragon SoCs

    Instruction:
    Add the zip in Magisk Manager -> Modules and reboot.
    Or you could also flash it in your custom recovery, TWRP etc.

    How to check if it is running:
    1. Open terminal and issue command "getprop | grep camera".
    If it's running, you should be able to find a line "persist.camera.HAL3.enabled=1". Check attached screenshot for example.
    Or
    2. Install Camera2 Probe from playstore to check your device's camera capabilities.

    UPDATES:
    9-15-17:
    -added v1400 template
    -added camera2api with slowmo fix for Axon 7 users. (I can't guarantee slowmo on other models will work since I used my device's media_profiles.xml file.)

    01-25-18
    -updated to v1500 template for C2API - Download this file if you only want the HAL3 enabled.
    -updated to v1500 template for C2API+slowmo+ (credits to @j1505243)

    :D :D :D

    Credits:
    - BSG (4pda)
    - @j1505243
    5
    Noob question: how do I check in terminal if it's already enabled because in rom included?

    How to check if it is running:
    1. Open terminal and issue command "getprop | grep camera".

    If it's running, you should be able to find a line "persist.camera.HAL3.enabled 1"
    4
    Not working on lenovo zuk z2..... Snapdragon 820
    3
    Another reason is so that you don't have to edit the actual build.prop file. Magisk is all about systemless system mods after all...

    Edit: Wait a minute... I just looked at the module zip. Why is it so complicated? Why not just use the Magisk built-in resetprop tool through the module system.prop to set the desired prop value?

    Edit 2: @otaconremo You've just taken an old Universal SafetyNet fix module and used that instead of the normal template, haven't you?

    Thanks for pointing that out. I added a comment on the front page news article and quoted you. XDA staff should not be posting random mods on the front page unless they have checked it out and understand what it does.

    EDIT: Hold on, [my comment] is waiting to be approved by XDA-Developers. I used HTML.

    @otaconremo No offense to you intended. I learned how to make Magisk modules the same way: Take it apart to see how it works. Start with the Magisk module template instead. ;)

    Thanks for finding something to contribute. Let me know when you get the module sorted and I'll add it to my Collection of Magisk Modules v2 thread.