[PORT] [ROOT] Motorola camera for MI Max 2 with professional mode - Xiaomi Mi Max 2 Themes, Apps, and Mods

Hi,
with reference to this thread ive got motorola camera with professional mode works with mi max 2
ive tested on miui 9.0.1.0 global stable for basic features and it works.
NOTE :
uninstall the other versions of Motorola camera app if you already have it installed
extract apk from the zip and install as normal apk. if doesnt work push it to system
enabling camera 2 api is mandatory for professional mode.
i'm rooted and have installed magisk module to enable camera2 api
credits : @data365. pls hit thanks to this guy on this thread

How to enable camera 2 api as I'm just normal user.
reversegear said:
Hi,
with reference to this thread ive got motorola camera with professional mode works with mi max 2
ive tested on miui 9.0.1.0 global stable for basic features and it works.
NOTE :
uninstall the other versions of Motorola camera app if you already have it installed
extract apk from the zip and install as normal apk. if doesnt work push it to system
enabling camera 2 api is mandatory for professional mode.
i'm rooted and have installed magisk module to enable camera2 api
credits : @data365. pls hit thanks to this guy on this thread
Click to expand...
Click to collapse
How to enable camera 2 api as I'm just normal user. Please explain more sir, Thanks for the precious work & your valuable time!

>How to enable camera 2 api as I'm just normal user. Please explain more sir, Thanks for the precious work & your valuable time!
https://forum.xda-developers.com/showpost.php?p=67814570&postcount=36
follow this

How's the quality of the picture compared to Google camera and miui camera?

Mr.AungBeginner said:
How to enable camera 2 api as I'm just normal user. Please explain more sir, Thanks for the precious work & your valuable time![/Q
---------- Post added at 06:54 PM ---------- Previous post was at 06:51 PM ----------
reversegear said:
Hi,
with reference to this thread ive got motorola camera with professional mode works with mi max 2
ive tested on miui 9.0.1.0 global stable for basic features and it works.
NOTE :
uninstall the other versions of Motorola camera app if you already have it installed
extract apk from the zip and install as normal apk. if doesnt work push it to system
enabling camera 2 api is mandatory for professional mode.
i'm rooted and have installed magisk module to enable camera2 api
credits : @data365. pls hit thanks to this guy on this thread
Click to expand...
Click to collapse
It takes pictures with a green overlay ?
Click to expand...
Click to collapse

Related

[Module] Camera2API enabler

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)
Credits:
- BSG (4pda)
- @j1505243
Noob question: how do I check in terminal if it's already enabled because in rom included?
vergilbt said:
Noob question: how do I check in terminal if it's already enabled because in rom included?
Click to expand...
Click to collapse
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"
Like this?
vergilbt said:
Like this?
Click to expand...
Click to collapse
Yes.
Unfortunately it did not activate manuals comtrole on my p8lite with Los 13
youwi said:
Unfortunately it did not activate manuals comtrole on my p8lite with Los 13
Click to expand...
Click to collapse
I think this is for snapdragon devices only.
otaconremo said:
I think this is for snapdragon devices only.
Click to expand...
Click to collapse
Yes, and from SD 820+ right?
otaconremo said:
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"
Click to expand...
Click to collapse
I have a G5 which supports it and if I try the command above it does not show the "persist.camera.HAL3.enabled" property. So can we assume that property is specifically to indicate the magisk module is working?
I used this app to check if it was supported already Camea 2 Probe on the play store.
ok how to disable this and revert back to stock ?
causing problem ...
Sent from my ONEPLUS A3003 using XDA Labs
Not working on lenovo zuk z2..... Snapdragon 820
I think the OP should mention that this module is for SD820+ .
Thanks for the effort but still nothing for XZ
josephnero said:
Thanks for the effort but still nothing for XZ
Click to expand...
Click to collapse
Works on my XZ
What is the benefit of getting this mod?
otaconremo said:
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".
Requirements:
Magisk v13
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"
Click to expand...
Click to collapse
Flashed it on my Lenovo Zuk Z2
Snapdragon 820.
Unfortunately didn't work.
Got really excited for it.
Am i missing anything?
Very noob question is this work on mtk devices
sifatrhmn said:
ok how to disable this and revert back to stock ?
causing problem ...
Sent from my ONEPLUS A3003 using XDA Labs
Click to expand...
Click to collapse
Remove the module in the Magisk Manager app and reboot.
Ariac Konrel said:
Remove the module in the Magisk Manager app and reboot.
Click to expand...
Click to collapse
it doesn't work with my rom like that..
i have to dirty flash the rom again to solve it ..
Sent from my ONEPLUS A3003 using XDA Labs
CStadler said:
What is the benefit of getting this mod?
Click to expand...
Click to collapse
same question, I see no difference on photos.

[MODULE] Huawei P20 Camera for Kirin(659)-Devices

There won't be a new Version for Oreo with vendor files because of change to pie... A new Module for pie is in Progress...!
What is it?
It's a port of the Huawei P20 pro Camera, which should work on all Kirin-Devices.
With Magisk these arrives systemless.
It's tested on Honor 9 lite (Kirin659)
Why do i need that?
Because the Quality is much better than the Stock Camera. Test it yourself.
Whats Working
- Aperture
- Portrait
- Photo
- Video
- Pro Mode
- Night Shot
- Light Painting
- HDR
- Panorama
- Time-lapse
- Good food
- Document scan
- Filter
- Watermark
- QR-Code-Scanner (v1.3+; Photomode the Button in the upper left corner)
What's not working... (tell me if you find more)
- Slow-Mo (needs stock gallery; only works on stock rom)
- Switching from Camera to Video Mode the Camera closes about a second and reopen at once.
- Devices running <Oreo, cameraserver crashes.
What should i know... Changelog...
v.1.6. (21.07.2018)
- some stabelize improvments
v.1.5. (13.07.2018)
-some changes to reduce bootloops on some devices
v.1.4. (06.07.2018)
-added some permissons to reduce crashing without gallery and changed manifest in apk for same reason.
v.1.3. (18.06.2018)
-new Camera Version from P20 Rom with minor changes in ui and new QR-Code-Scanner (see above)
- ready for use with AI-Mode (minor lifesinghs on lld-l31 with pre-ported TestAI, cause no (software) AI implemented in Rom)
v.1.2. (06.06.2018)
-added some libs, so that the camera works on gsi roms too.
v.1.1. (01.06.2018)
- added the Camera itself to the Module (one Module and debugging easier)
- added Panorama-Mode
- added Modifications to Props for Quality Improvements
v.1.0
- initial release with only libraries
Download
You can download the Module here.
For devices where is an seperate apk in product partition... (Ended with v.1.4) take this one.
Thx to...
topjohnwu for Magisk
VigneshS007 for Testing and Support
All who helped to improve it
and everybody i forgot (sry!)

			
				
thanks, picture and video work fine, honor v9 flash it on pixel experience.
Sent from my Honor V9 using XDA Labs
lmentor said:
thanks, picture and video work fine, honor v9 flash it on pixel experience.
Click to expand...
Click to collapse
but the problem is Fingerprint gesture broken.
Sent from my Honor V9 using XDA Labs
lmentor said:
but the problem is Fingerprint gesture broken.
Sent from my Honor V9 using XDA Labs
Click to expand...
Click to collapse
I don't use it, so can you provide logcat?
If for some reason I have to unistall the module and/or Magisk will I have back the stock camera or I should reflash the ROM?
Thanks
Harlock1978 said:
If for some reason I have to unistall the module and/or Magisk will I have back the stock camera or I should reflash the ROM?
Thanks
Click to expand...
Click to collapse
Magisk override the stock camera.
It install some libs too, if the user isn't on stock rom.
The easiest way back would be a dirty flash.
When I open Magisk manager and I click on + under the Module menu and I choose your module it open the zip instead of installing it.
Should I install it through recovery?
Harlock1978 said:
When I open Magisk manager and I click on + under the Module menu and I choose your module it open the zip instead of installing it.
Should I install it through recovery?
Click to expand...
Click to collapse
Sounds like the stock browser behaviour. Long-press the zip and select "Open".
Long-press the zip and select "Open".
Click to expand...
Click to collapse
It works, thanks
Just tried this on my Honor 8 and it caused systemUI to not load on a restart. Had to force a reboot and uninstall the module to get back navigation buttons.
linkazoid said:
Just tried this on my Honor 8 and it caused systemUI to not load on a restart. Had to force a reboot and uninstall the module to get back navigation buttons.
Click to expand...
Click to collapse
The libs are for Oreo...
You could try to add the HwCamera2 folder alone to /system/priv-app/ without module and see.
That should work. Maybe the app didn't start, but you can see missing dependies in logcat.
i'd like to see logcat too, may i can improve something for other kirin devices.
This Module works only if you have Oreo as ROM?
Harlock1978 said:
This Module works only if you have Oreo as ROM?
Click to expand...
Click to collapse
The libs for Porting a from Oreo (P20pro as source) .
It should work on other Versions too, but because the "newer libs" a debuging is needed for compatibility.
The only way is that someone test and provide a logcat.
Darkest-Dark said:
The libs for Porting a from Oreo (P20pro as source) .
It should work on other Versions too, but because the "newer libs" a debuging is needed for compatibility.
The only way is that someone test and provide a logcat.
Click to expand...
Click to collapse
I try to install it on P10lite with Nougat, now I have no camera und also the command to go back or home.
It doesn't show also the connection to the net, but I'm able to do a phonecall, but now I'm stuck on the phone menu.
I try to produce a logcat with these command:
adb logcat -v long > p20camera.txt
I attach it
What should I reflash to restore my P10lite, System or Boot image?
Doing a reflash through Hisuite, will lock my bootloader again.
After many reboot Magisk manager was not crashing after opening and I could uninstall the module.
Now the phone is working again and the camera is again working on the phone.
Harlock1978 said:
What should I reflash to restore my P10lite, System or Boot image?
Doing a reflash through Hisuite, will lock my bootloader again.
After many reboot Magisk manager was not crashing after opening and I could uninstall the module.
Now the phone is working again and the camera is again working on the phone.
Click to expand...
Click to collapse
thats an magisk error. simple clear repo cache...
so far as i have seen in the log the problem are missing arguments in cameraserver/the lib of it.
i will think about adding the server with libs to the modul too.
btw the slowmo don't works because it has dependies with stock gallery... so far...
thx for logcat, that helps much.
Hi, does 3d portrait lighting works?
yasitoo said:
Hi, does 3d portrait lighting works?
Click to expand...
Click to collapse
when your device has all hardware dependies, it should. it is original camera from p20. nobody tested till now, cause missing hardware. libs are not included and had to be in your system.
The camera automatic shows the mods which could work.
Darkest-Dark said:
I don't use it, so can you provide logcat?
Click to expand...
Click to collapse
logcat is here.
Sent from my Honor V9 using XDA Labs

MIUI 10 can't enable camera2 API?

Dear Redmi 4X users,
I am facing an issue about enabling camera2 API since i update my redmi 4x MIUI 9 to MIUI 10.1 i have try enabling with magisk and modify build.prop but doesnt work, usually on MIUI 9 its work fine.
anyone know another way to enabling camera2 api on redmi 4x MIUI 10.1?
Thanks.
luthfieoii said:
Dear Redmi 4X users,
I am facing an issue about enabling camera2 API since i update my redmi 4x MIUI 9 to MIUI 10.1 i have try enabling with magisk and modify build.prop but doesnt work, usually on MIUI 9 its work fine.
anyone know another way to enabling camera2 api on redmi 4x MIUI 10.1?
Thanks.
Click to expand...
Click to collapse
What error you are getting?
Try editing build prop with different app.
Check if your device properly rooted if not then try again with latest magisk module stable/beta.
metelhammer said:
What error you are getting?
Try editing build prop with different app.
Check if your device properly rooted if not then try again with latest magisk module stable/beta.
Click to expand...
Click to collapse
Error open the google camera app, build.prop has been edited with root explorer and have been saved. my device already rooted by magisk i use magisk v17.1, I have also tried using the "manual camera compatibility test" app to test whether my redmi 4x support camera2 api but the results still do not support, usually at MIUI 9 after edit build prop and I test using "manual camera compatibility test" app the result is supported.
luthfieoii said:
Error open the google camera app, build.prop has been edited with root explorer and have been saved. my device already rooted by magisk i use magisk v17.1, I have also tried using the "manual camera compatibility test" app to test whether my redmi 4x support camera2 api but the results still do not support, usually at MIUI 9 after edit build prop and I test using "manual camera compatibility test" app the result is supported.
Click to expand...
Click to collapse
No, i was talking about what error you are getting when you edit build.prop and not when opening google camera app.
Code:
persist.camera.HAL3.enabled=1
hope you've edited like above.
Try using BuildProp Editor by JRummy Apps used to use this app and it worked always fine without any issue, it also has option to save and backup build.prop.
even if this does not works then try editing on PC.
This is a problem that has been discussed for a while now on other forums. This file, however, worked for me.
https://androidfilehost.com/?fid=11410932744536994926
It's a flashable zip...belongs to Arvanasoft
livingongh325 said:
This is a problem that has been discussed for a while now on other forums. This file, however, worked for me.
https://androidfilehost.com/?fid=11410932744536994926
It's a flashable zip...
Click to expand...
Click to collapse
Wow thats working for me, thanks my gcam is working fine after flash that zip :good::good::good:
Thanks, you saved me too! What 's that discussion you mentioned?
Bro, what version of GCAM you are using?
livingongh325 said:
This is a problem that has been discussed for a while now on other forums. This file, however, worked for me.
https://androidfilehost.com/?fid=11410932744536994926
It's a flashable zip...
Click to expand...
Click to collapse
After flash this, MIUI 10 default camera crash .. how come ?? xiaomi.eu MIUI 10 version latest stable not beta.
But GCam work. Strange .. I'am somewhat happy... at last / at least it works.
Actually, Xiaomi disabled or removed or not implemented camera2api in later releases. That's why Google camera app didn't work. They made their stock camera app somehow differently, so users can't use both gcam or MIUI cam. The flashable zip contains camera files from earlier MIUI ROMs, that enables camera2api. But enabling that means MIUI cam won't work. There's a solution, find MIUI cam mod in XDA threads. It will work fine.
Both work fine on mine. MIUI Greeshan Mod...
livingongh325 said:
Both work fine on mine. MIUI Greeshan Mod...
Click to expand...
Click to collapse
Link please?
What method did you use to activate gcam?
:http://greeshan.ucoz.com/load/roms/xiaomi_redmi_4x/34
I just flashed the zip...
Enabled
livingongh325 said:
:http://greeshan.ucoz.com/load/roms/xiaomi_redmi_4x/34
I just flashed the zip...
Click to expand...
Click to collapse
Thank you very much bro, I'll test and say if it worked
I installed the rom and the zip file of the link, but neither gcam nor miui camera work after that, camera2 probe crashes when trying to open
livingongh325 said:
:http://greeshan.ucoz.com/load/roms/xiaomi_redmi_4x/34
I just flashed the zip...
Click to expand...
Click to collapse
What version of rom are you using? stable or beta? I tested the stable and the beta, it did not work in either of them, does anyone have any idea why it did not work for me and worked for you?
Any updates for MIUI 10.1 global stable on Android 7.0?
In gcam mod 5 video not supposed
I flashed this zip but i want to undo the chenges for some reason. How to do it?
---------- Post added at 04:50 AM ---------- Previous post was at 04:48 AM ----------
livingongh325 said:
This is a problem that has been discussed for a while now on other forums. This file, however, worked for me.
https://androidfilehost.com/?fid=11410932744536994926
It's a flashable zip...belongs to Arvanasoft
Click to expand...
Click to collapse
I flashed this zip,but want to undo the changes for some reason. how to do it?
ojas.sinha said:
I flashed this zip but i want to undo the chenges for some reason. How to do it?
---------- Post added at 04:50 AM ---------- Previous post was at 04:48 AM ----------
I flashed this zip,but want to undo the changes for some reason. how to do it?
Click to expand...
Click to collapse
Check in the modules tab in magisk manager. uninstall it.

Deleted as I was being abused by Indian users.

Deleted as I was being abused by Indian users.
MOD EDIT: THREAD CLOSED PER THIS ^^^^
bhaiwala said:
Hi
I was trying to get aux cameras to work in GCAM for my Redmi Note 8 Global variant, but it was not successful, until I have rooted my phone.
For ROOTING REDMI NOTE 8 please follow this guide.
So, next thing is very simple.
1. Install SELinuxModeChanger+11.0.apk from attachments below.
2. Launch the App & Give it root permission.
3. Select the permissive button then close the app.
4. Install this GCAM, should be a clean install. Uninstall any gcam that you have already installed.
5. Launch the gcam, you will see the camera switch button is blue & You will see 03 buttons on top right of view finder, WIDE, MACRO & MAIN.
6. Enjoy
I have attached screenshots as well.
Click to expand...
Click to collapse
Is all cameras are working
thomaskuttymp said:
Is all cameras are working
Click to expand...
Click to collapse
Yes.
Main Camera
Macro
Wide Angle
Updated first post, with latest GCam build.
Thanks/

Question Miui camera lime/juice/citrus

Gime
With 48 MP camera, macro camera, ultra wide camera, pro colour support
Hello? It has been 12 days and I got no reply
This might work. I don't know. I haven't tested it - MOD EDIT: Link Removed
Steps to install?there r 5 files and is it for android 10 or 11?
Qpb said:
This might work. I don't know. I haven't tested it - MOD EDIT: Link Removed
Click to expand...
Click to collapse
Hey, those mods removed it. Pls send it again
MOD EDIT: Link Removed
Download the latest v2.1 or if you want to use anx camera pro from play store then install v2.0
I have already tried this one lol. It just says that it's clicking 48mp image but if u view details using Google photos, it says that it's 12mp so, it's fake

Categories

Resources