Related
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
In my opinion, the google cam is not so good compared to the stock cam. Today i just successfully install gcam using the fastboot command non-root method, i did expect a lot that gcam could significantly improve the overall quality. But tbh, it fails, even on the hdr test, the stock cam app beats it absolutely. Anyone got the same results? Share with me your thought
Sorry for bad English!
Ok you may have managed installing gcam without root but w/o root you surely never can enable cam2api.
And i doubt w/o cam2api gcam can perform well.
nadeem_naddy said:
Ok you may have managed installing gcam without root but w/o root you surely never can enable cam2api.
And i doubt w/o cam2api gcam can perform well.
Click to expand...
Click to collapse
what u mean? how about this tutorial?
https://forum.xda-developers.com/as...ow-to/guide-enable-camera-api-2-root-t3823498
Hey Folks,
after reading a lot i switched from my Galaxy S7 to the Mi A2 and im really happy with the camera - after unlocking Camera2API and switched to modded gCam I unlocked Camera2API over the temp. TWRP method and adb (in the TWRP terminal) on my August Version.
Now i was very unsure, if the official September OTA Update breaks my gCam Setup - but after the update :fingers-crossed: the modded gCam works perfect :highfive: so i dont need to redo the Camera2API unlocking :good:
@@@Best gCam Mod@@@
Thx to "celsoazevedo.com" for the nice Site: bsgfixPortrait-GoogleCamera-Pixel2Mod-Arnova8G2-V8.2.apk
All is working +SloMo +RAW :good:
Info: Use classic Smart Burst and Enable HDR+ Toggle
I hope, i could help anyone with the decision to make the OTA Update and which gCam is the best (so far) :good:
Great, i want to do that but i have the latest update ( september 1st and second update) and as far has i know the I unlocked Camera2API over the temp. TWRP method and adb (in the TWRP terminal) does not work for the ones that have the latest update.
Has it said in here:
https://forum.xda-developers.com/mi-a2/how-to/tutorial-camera2api-gcam-root-t3842475
I don´t want to root, just want camera2api enabled.
But maybe you can flash the complete Firmware from August (unlock bootloader with critical part.) and flash the complete older (August) firmware. Then unlock the camera2api and update the OTA (Septmber) This was my emergency plan, if the OTA would destroy the unlock.
dimitrij2k said:
Hey Folks,
after reading a lot i switched from my Galaxy S7 to the Mi A2 and im really happy with the camera - after unlocking Camera2API and switched to modded gCam I unlocked Camera2API over the temp. TWRP method and adb (in the TWRP terminal) on my August Version.
Now i was very unsure, if the official September OTA Update breaks my gCam Setup - but after the update :fingers-crossed: the modded gCam works perfect :highfive: so i dont need to redo the Camera2API unlocking :good:
@@@Best gCam Mod@@@
i tried three different Versions, but the best one is the MGC_5.2.022.apk
Just "Slow Motion" is not working, the rest is
I hope, i could help anyone with the decision to make the OTA Update and which gCam is the best (so far) :good:
Click to expand...
Click to collapse
Download link please.
dimitrij2k said:
But maybe you can flash the complete Firmware from August (unlock bootloader with critical part.) and flash the complete older (August) firmware. Then unlock the camera2api and update the OTA (Septmber) This was my emergency plan, if the OTA would destroy the unlock.
Click to expand...
Click to collapse
Tks, i tought that also, but for now i don´t want to mess too mutch with downgrade and command shell, just a clean unlock bootloader, enable camera2api and nothing more. I think the problem is TWRP, i will wait for an stabel/official version so i can go any further.
Can you record in 4K with google camera? For me it is not working no meter what gcam port I try.
Nope, but 4K is without stabilisation and only useable, when you own a ststiv or a gimbal. Free Hand recordings looks like **** in 4k. 1080p is with EIS and look way better, then sharp and shaky 4k
4k with EIS is just possible in "Snap Camera"
dimitrij2k said:
4k with EIS is just possible in "Snap Camera"
Click to expand...
Click to collapse
Opencamera should work too right?
Benjamin_L said:
Opencamera should work too right?
Click to expand...
Click to collapse
When camera2api is enabled, opencamera loses option for 4K. 1080p EIS works, but with zooming image.
OpenCamera dint work with Camera2Api enabled.
cstark27_GCam_5.1.018_24_v4.2t3_fu24-02.apk (fu24, 2018-10-01, normal/wide angle, changelog)
Im using this version for now. Front camera working. I think all functions works, except slow motion, but i don't care about...
Unfortunately front camera doesn't work with Arnova's apks. I hope this feature is fix soon for our device
marlontravagli said:
cstark27_GCam_5.1.018_24_v4.2t3_fu24-02.apk (fu24, 2018-10-01, normal/wide angle, changelog)
Im using this version for now. Front camera working. I think all functions works, except slow motion, but i don't care about...
Unfortunately front camera doesn't work with Arnova's apks. I hope this feature is fix soon for our device
Click to expand...
Click to collapse
This doesn't support 18:9 screen, is there any gcam for 18:9?
I have Mi9 lite Europe version
Any stable rom ?
I hate stock ROM
I have used LOS 16 , now I use LOS 18.1 and both are very stable.
Tomek0000 said:
I have used LOS 16 , now I use LOS 18.1 and both are very stable.
Click to expand...
Click to collapse
Hey, what is the native camera app you have on those? Is it good? I've got a global rom on my cc9 meitu edition but the native camera app on the global sucks big time, it is not nearly as good as they native camera app that came installed on the original Chinese stock rom.
luizzcosta said:
Hey, what is the native camera app you have on those?
Click to expand...
Click to collapse
Native camera is AOSP version. I do not use it. I am using gcam 6.2 because this is the newest version which works in a11 without buffer fix. When buffer fix will be fixed for a11 I will use better.
The native camera from MIUI is able to install. You can found both los 18.1 and camera on telegram.
Tomek0000 said:
Native camera is AOSP version. I do not use it. I am using gcam 6.2 because this is the newest version which works in a11 without buffer fix. When buffer fix will be fixed for a11 I will use better.
The native camera from MIUI is able to install. You can found both los 18.1 and camera on telegram.
Click to expand...
Click to collapse
Thanks mate.
I'm kinda of a newbie, is it simple to install it? Gcam, I mean.
I use MGC_6.2.030_MI9SE_V4_plus2.apk . Install, set rights and use.
Th
Tomek0000 said:
I use MGC_6.2.030_MI9SE_V4_plus2.apk . Install, set rights and us
Click to expand...
Click to collapse
Thanks man, I appreciate it. It worked.
And indeed it's a good camera, even though I am comparing now with the exact same phone stock version camera app that my brother has and is much better, I don't know why.
But the Gcam will do for now, so thanks.
I have a question: is it possible to adjust the shutter time? It's taking like 3 seconds to shoot the photo when I shoot it. Know what I mean?
Many gcam version are prepared. This one is without configuration file. When we will have working buffer fix , we will have much better and newer gcams.
Tomek0000 said:
Many gcam version are prepared. This one is without configuration file. When we will have working buffer fix , we will have much better and newer gcams.
Click to expand...
Click to collapse
I hear you. Is there any newer version of gcam available as of now? For our phone?
EDIT: I just realized Gcam takes pics only with 12mp max. Since my phone has 48mp, how do I fix this?
Also, the colors on photos in Gcam are washed, no vivid color even though I set the saturation to maximum on settings.
Also, is it possible, via TWRP, to uninstall the native camera app and install the APK from com.mlab.cam that came stock on my phones stock firmware?
We have some or many but for A10. I have written, we do not have working version of buffer fix for a11.
You can find a lot of XML config files for many gcam on telegram. Each separate prepared for different situations .
The camera in customs is an app and possible to uninstall normal way, is't it?
No need to uninstall, you can install in twrp what you want.
Tomek0000 said:
We have some or many but for A10. I have written, we do not have working version of buffer fix for a11.
You can find a lot of XML config files for many gcam on telegram. Each separate prepared for different situations .
The camera in customs is an app and possible to uninstall normal way, is't it?
No need to uninstall, you can install in twrp what you want.
Click to expand...
Click to collapse
Hey mate, ok, thanks again. How do I get into these telegram groups?
Open telegram app or web and search: Mi 9 lite
Tomek0000 said:
Open telegram app or web and search: Mi 9 lite
Click to expand...
Click to collapse
Mate, thank you very much! I finally managed to get it working properly. On the telegram group someone gave the directions to install the buffer fix and now I was able to download the latest Gcam, and it's working like a charm (except for the slow-motion video, which isn't available on the latest version).
Big thanks from the heart, mate. Have a good one.
Do you use android 10 with buffer fix for a10, or use a11 with bf for a11 or use a11 with bf for a10 ?
Using A11 with BF for A11.
I've installed 3 different gcams. These are amazing apps, I'm greatly surprised by the quality of the photos now. Even night photos are amazing.
Nice.
I discovered, enabled AFWall+ xposed module kills BF work in a11.
Tomek0000 said:
Nice.
I discovered, enabled AFWall+ xposed module kills BF work in a11.
Click to expand...
Click to collapse
Got it.
I'm no longer tweaking anything, at least for now, I've been getting really nice photos, lol
Thanks for your help all the way through
Does anyone have latest gcam mod with config file which actually works. Because the current camera sucks. And stock camera is taking awfully enhanced images
I'm also finding
You may use this one. Don't ask for link u can google it.