yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 Guides, News, & Discussion] medwatt:
[MENTION=4860033]Arnova8G2[/MENTION]:

Here's a summary of what we're experiencing.

In all versions of your camera mods, the rear camera doesn't work. It gives pink tint on the screen and the app freezes after a few seconds.

GoogleCamera-Pixel2Mod-Arnova8G2-V5 : Front camera works in both normal and portrait mode. However, when HDR+ is turned on in both normal and portrait (ON by default) modes, the resulting image has a green tint. [Please see 1st attached image.]

GCam5.1.018-Arnova8G2-V1.5 : This is the last version in which the front camera works perfectly both in normal and portrait modes. All versions newer than this result in images with green tint from the front camera.

Here's the weird part with this version. The rear camera works once every 10 attempts in portrait mode. Even though the screen has pink raster in portrait mode, it is possible to take a picture. 7 out of 10 times the app crashes. 2 out of 10 times it produces a jagged picture [Please see 2nd attached image]. 1 out 10 times it produces a perfect image [Please see 3rd attached image]. So, the rear camera works once in a while, but in portrait mode only. This should definitely be promising news.

Many of us (including me) have provided logs and posted them in this thread (they can be found on page 2 onward). If you need us to provide fresh logs, we can also do so.
[Lenovo P2 Guides, News, & Discussion] Arnova8G2:
For the green tint I had the same bug, give me the code name of your device (my device MI5 = gemini).

For Pixel2Mod

So front camera gives a green tint with hdr +

the rear camera works well ?
[Lenovo P2 Guides, News, & Discussion] medwatt:
[MENTION=4860033]Arnova8G2[/MENTION]:

Lenovo P2 codename : kuntao

For Pixel2Mod

1. Front Camera gives green tint with HDR+

2. Rear camera does not work at all

For GCam5.1.018-Arnova8G2-V1.5

1. Front Camera works perfect

2. Rear camera works by luck (like 1 time every 10 times) in Portrait mode, not in normal mode
[Lenovo P2 Guides, News, & Discussion] nandakis4:
Yesterday, i tried Arnova's Pixel2Mod_v5, though arnova mentioned it might not work on some devices, i gave a hit, but it crashed when i was opening the app,

Talking about the old v1.6

1)It has front camera working but with extreme Smoothing the picture,

2) rear camera used to produce

a)pink lines on screen,

b)blueish tint ,

c)Over exposed images,

d)half processed images with stripes..

and some times a perfect photo :P

How can we help you arnova, so that you could prepare a perfect thing to our P2 :|

Btw , thanks for your work.. the images look stunning when PTmode works :D
[Lenovo P2 Guides, News, & Discussion] b50corei5:
When back camera portrait mode is working, photos are absolutely stunning. Just have to spam the shutter button haha
[Lenovo P2 Guides, News, & Discussion] ASP02:
I'm on Android Oreo 8.1 and for me the front camera doesn't work.....

In v1.5 the option to switch to front camera is not present..

Can someone tell me ..how is it working for some ...n not fr me
[Lenovo P2 Guides, News, & Discussion] medwatt:
[MENTION=4860033]Arnova8G2[/MENTION], I just tried your latest build (GoogleCamera-Pixel2Mod-Arnova8G2-V6-Beta). Still, no changes from previous build; front camera portrait mode has green tint.
[Lenovo P2 Guides, News, & Discussion] Arnova8G2:
kuntao are not the code name

use code to detect your device

sget-object v1, Landroid/os/Build;->DEVICE:Ljava/lang/String;

const-string v0, "kuntao"

invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v1

if-nez v1, :cond_0

edit:

edit the build.prop file to this line

ro.product.device=??????
[Lenovo P2 Guides, News, & Discussion] medwatt:
[MENTION=4860033]Arnova8G2[/MENTION]:

The code name is : P2a42

ro.product.model=Lenovo P2a42
ro.product.brand=Lenovo
ro.product.device=P2a42
[Lenovo P2 Guides, News, & Discussion] Arnova8G2:
The next version will work
[Lenovo P2 Guides, News, & Discussion] rogat92:
can't wait, thanks in advance :D
[Lenovo P2 Guides, News, & Discussion] damian5000:
Might actually have a reason to root if this gets working.

Is HDR+ working?
[Lenovo P2 Guides, News, & Discussion] b50corei5:
Not yet, he hasn't released it yet
[Lenovo P2 Guides, News, & Discussion] rogat92:
New build is up guys, but green tint remain still, and back camera still isn't working
[Lenovo P2 Guides, News, & Discussion] medwatt:
[MENTION=4860033]Arnova8G2[/MENTION]: I can confirm, green tint is still present in front facing camera pictures with HDR+ enabled.
[Lenovo P2 Guides, News, & Discussion] rahulrj.rj566:
For me Front Camera is Working But rear is not working It Showing like this in Screenshot [MENTION=4860033]Arnova8G2[/MENTION]
[Lenovo P2 Guides, News, & Discussion] nandakis4:
Front camera working and is Sharp , amazing..

Back camera crashing when we goto Portrait mode.. for me
[Lenovo P2 Guides, News, & Discussion] ASP02:
Which rom ...my front camera seems to still produce the yellow tint....
[Lenovo P2 Guides, News, & Discussion] b50corei5:
Room?
[Lenovo P2 Guides, News, & Discussion] rahulrj.rj566:
Here is Logcat [MENTION=4860033]Arnova8G2[/MENTION]
[Lenovo P2 Guides, News, & Discussion] Arnova8G2:
Here is a test version

Removing the green shade on the front camera

GoogleCamera-Pixel2Mod-Arnova8G2-V6-Beta6.apk

Thank you for helping me with a logcat, because I do not have your device
[Lenovo P2 Guides, News, & Discussion] submarine:
Hey [MENTION=4860033]Arnova8G2[/MENTION] , just tested your test version. I'm on stock 7.0 Nougat rom. Portrait mode works without issues for me every time. However, switching to main camera instantly produces pink glitches and crashes the app.

Thanks for your work!
[Lenovo P2 Guides, News, & Discussion] b50corei5:
On Android 8.1 hdr+ cause pink raster and portrait front camera gives green tint. Back camera is same as before
[Lenovo P2 Guides, News, & Discussion] Arnova8G2:
For the front camera, I can solve the hue if your code name is good P2a42

is for the pink raster bug, test to find the Raw compatible with your device and the RAW that works with the hdr +
[Lenovo P2 Guides, News, & Discussion] b50corei5:
I'm using the chinese model, codename P2c72. Lots of people have this model, I wonder if this why I have the green tint.
[Lenovo P2 Guides, News, & Discussion] submarine:
Can you please elaborate? What do you mean by looking for RAW compatible with the device?

Also, I'm on P2a42 and have no green tint.
[Lenovo P2 Guides, News, & Discussion] Arnova8G2:
I will add your device

For the pink raster bug, I do not know where this problem comes from but GCam only uses RAW mode (RAW_PRIVATE, RAW10, RAW16, RAW_SENSOR).

or YUV_420_888. You have the only device that has this bug
[Lenovo P2 Guides, News, & Discussion] medwatt:
[MENTION=4860033]Arnova8G2[/MENTION], I can confirm that the green tint is gone. What remains now is the rear camera, which is probably not going to work due to the camera blobs Lenovo uses on the P2. One of the custom rom developers for the P2 said he used the Xiaomi Max 2 blobs on the P2 and even though camera worked, HDR+ still didn't work. Who knows what's going on !
[Lenovo P2 Guides, News, & Discussion] b50corei5:
Yes, the P2 has a problem with raw image capture. Don't know why as it should support it
[Lenovo P2 Guides, News, & Discussion] rogat92:
[MENTION=4860033]Arnova8G2[/MENTION] so, is it imposible to fix bugs in rear camera? Hope this logcat help you https://drive.google.com/file/d/1IEltLrln_d3G2XRWGhCjPwpxtVOXe0Px/view?usp=drivesdk
[Lenovo P2 Guides, News, & Discussion] devianz:
I'm still getting the green tint in the latest test version. Using P2a42 on Nougat.
[Lenovo P2 Guides, News, & Discussion] ASP02:
The images taken from the front camera with hdr+ on is just so awesome...and so much sharp...

The portrait mode too is just mind blowing...It works very well with no tint...after the new test verrsion

I'm on stock 7.0 ...

Now only issue is Back camera hdr+ and potarit mode...

Just hope it will be fixed soon..

Thanks Arnova8G2 ....for showing interest in our phone and helping us solve these issues..:)
[Lenovo P2 Guides, News, & Discussion] nandakis4:
I have taken some great snaps using latest camera app ..but I wanted to test it on dotos too ,but the same app with same settings caused green tint ..

I couldn't understand why it happened ..tweaked many settings ,but no use ..

Flashed 8.1 pixel experience ROM ,and same green tint issue on front camera ..

Flashed back los by argya ( previously it worked in this ) now this rom too had given me green tint ..

Finally I flashed stock deodexed ROM ,made sure my camera is working fine with HDR and all ..and flashed camera 2 api enabler ,then installed latest version again .. and the same green tint issue again and again ..

Damn ,what wrong could I possibly be doing ..I am not getting idea ..
[Lenovo P2 Guides, News, & Discussion] ASP02:
I just wanted to know if back camera willl ever work with hdr+ and potrait mode..the front camera works flawlessly...

Thanks [MENTION=4860033]Arnova8G2[/MENTION] for ur work...:)
[Lenovo P2 Guides, News, & Discussion] Chlastek:
I'm using HighwayStar's LOS and both HDR+ and portrait mode are working with the front camera.
[Lenovo P2 Guides, News, & Discussion] rogat92:
What about the back camera?
[Lenovo P2 Guides, News, & Discussion] MAILUS:
I'm in stock ROM and not rooted. Will it work?
[Lenovo P2 Guides, News, & Discussion] ASP02:
No...u need to edit the build.prop to enable camera2 API for it to work..

U could still give it a shot
[Lenovo P2 Guides, News, & Discussion] nandakis4:
New Version realased by Arnova - GoogleCamera-Pixel2Mod-Arnova8G2-V6-Beta15 (Arnova8G2, 2018-02-13,

I have installed it, its same as before - Front camera works,

rear camere fails..

The following is the research i have done about the Rear Camera :

i am currently on Stock- Deodexed, Rooted..

1) Snapit camera's HDR works fine when Camera2 API is not enabled, if Cam2Api is enabled then all extra modes given under Snapit camera disappear.. which provides scope for other modded cameras like Gcam,op5 cam..

2) If i enable RAW caputer in OP5 camera mod by www, it shows the same pink lines as shown in Gcam mod rear camera..

3) i purchased Manual Camera for 240INR, and tested with it .. Manual camera by default opens screen with PINKLINES, same as Gcam mod rear camera..

i got a doubt that - RAW capture functionality is the only this messing up with All cameras.. so is there any way to implement proper RAW image capture to our P2,

is RAW image capture related to SENSOR or ROM ?

if at all anyone got RAW capture working on other cameras please let me know ..
[Lenovo P2 Guides, News, & Discussion] rogat92:
[MENTION=4860033]Arnova8G2[/MENTION] any news regarding Lenovo P2?
[Lenovo P2 Guides, News, & Discussion] nandakis4:
:( i am hearing that Portrait mode works on Redmi 4x ( a 6k mobile ) .. why not ours ...... :( :(
[Lenovo P2 Guides, News, & Discussion] b50corei5:
I have good news for everyone. ?

When I enabled hdr+ I can now take a photo through the pink raster. 3/10 times it's jagged. 6/10 times it crashes. 1/10 times I get a perfect hdr+ photo. Same goes for portrait mode on back camera. Front camera hdr+ and portrait mode is perfect ?
[Lenovo P2 Guides, News, & Discussion] b50corei5:
Any updates anyone?
[Lenovo P2 Guides, News, & Discussion] rogat92:
Still got the same bugs with the latest v6 beta15, this is another log for you [MENTION=4860033]Arnova8G2[/MENTION]

https://drive.google.com/file/d/1Mkvu1Sdn_ojEZmMEXdvFy9ZcZCxsB15c/view?usp=drivesdk
[Lenovo P2 Guides, News, & Discussion] b50corei5:
Rip this died
[Lenovo P2 Guides, News, & Discussion] rahulrj.rj566:
[MENTION=4860033]Arnova8G2[/MENTION] here is Logcat Everything Thing work in Latest Build Expect Rear Camera Shows Like this Which Is Given In the Screenshot and Lens Blur Work In Both Side Hope Rear Camera Gets A Fix Soooooooon
[Lenovo P2 Guides, News, & Discussion] ASP02:
Latest version of gcam ...hdr+ still not working...

Looks like its our fate....never to have the working mod for our device:crying:.
[Lenovo P2 Guides, News, & Discussion] b50corei5:
Rip ?
[Lenovo P2 Guides, News, & Discussion] rahulrj.rj566:
[MENTION=4860033]Arnova8G2[/MENTION] The problem is same In Latest Version Here Is logcat
[Lenovo P2 Guides, News, & Discussion] shivang_bagh:
[MENTION=4860033]Arnova8G2[/MENTION] On using camera 2 probe our device camera 2 api support level is full but not level_3 is that the reason behind the pink screen
[Lenovo P2 Guides, News, & Discussion] medwatt:
Guys, the only way we can get GCam to work on the rear camera is to urge one of the developers (highwaystar, mike, ...) to port the camera camera blobs from another device that allows raw images from the rear camera. This is really the only option.
[Lenovo P2 Guides, News, & Discussion] b50corei5:
Oneplus 5 blobs by wicked witch?
[Lenovo P2 Guides, News, & Discussion] medwatt:
Those are not blobs. Blobs are like the drivers.
[Lenovo P2 Guides, News, & Discussion] ASP02:
I'm on Oreo 8.1 but still can't get front camera to work properly...It still produces a greenish tint.

Can anyone tell me the problem..why does it only work in stock 7.0?
[Lenovo P2 Guides, News, & Discussion] b50corei5:
It works in all 7.x roms after you enable camera 2 api
[Lenovo P2 Guides, News, & Discussion] shivang_bagh:
Nothing can be done for the rear cam of this phone camera 2 probe shows full support but not level_3 support
[Lenovo P2 Guides, News, & Discussion] shivang_bagh:
As everyone knows lenovo p2a42 doesn't support Google camera hdr+ in rear cam and that is due to faulty camera drivers which doesn't support camera 2 api correctly so please come and tag some good developers who can develop a modified camera driver like this which support camera 2 api level_3 and Google cam We have to tag some ROM developers to bring correct modified drivers for our camera that support camera 2 api correctly just like this one we have to develop some for our phone

https://xdaforums.com/showthread.php?t=2339226

If anyone knows please tag some good developers for our Lenovo p2. We can take Redmi note 4x camera drivers which has same lens as we have.
[Lenovo P2 Guides, News, & Discussion] shivang_bagh:
[MENTION=4860033]Arnova8G2[/MENTION] cheers mate i can confirm that hdr+ on rear cam is now working on our Lenovo p2a42 without any drivers update in your latest beta build after you added hardware level_full support as i have already told you that rear camera doesn't works on portrait mode and hdr+ but front camera works perfectly , in the latest build hdr+ works on rear camera , portrait mode is also improved as it now shows some images instead of pink screen , but front camera portrait mode is too bright now it was best in the previous build, I think we are almost there please update some more and you can give us perfectly working gcam for our Lenovo p2a42 attatching images for your info, the one with deo is with hdr+ and the one with bike is of portrait mode ,please someone taste the latest beta build and provide a logcat to him I think we can achieve it soon ?
[Lenovo P2 Guides, News, & Discussion] b50corei5:
No way are you serious?

---------- Post added at 10:36 AM ---------- Previous post was at 10:31 AM ----------

Link?
[Lenovo P2 Guides, News, & Discussion] shivang_bagh:
https://drive.google.com/file/d/16iKsF2RpHAixxcAkne_kyS9VuWFg0zc3/view
[Lenovo P2 Guides, News, & Discussion] b50corei5:
Don't think hdr+ is actually there. No loading circle
[Lenovo P2 Guides, News, & Discussion] shivang_bagh:
[MENTION=8745379]b50corei5[/MENTION] then atleast mention some developers here if you know any one them so that they may correct our faulty rear camera 2api driver so that Google cam may work for us.
[Lenovo P2 Guides, News, & Discussion] ASP02:
Yea...there's no processing happening ..

---------- Post added at 01:30 PM ---------- Previous post was at 12:36 PM ----------

[MENTION=4860033]Arnova8G2[/MENTION] ..please try to make portrait mode work for 8.1 oreo on our device.....it still gives the yellow tint in the front camera...
[Lenovo P2 Guides, News, & Discussion] rahulrj.rj566:
Hey Bro What you did to fix This Is started Happening To me also after i flash Oreo rom
[Lenovo P2 Guides, News, & Discussion] rahulrj.rj566:
Bro can you answer
[Lenovo P2 Guides, News, & Discussion] rahulrj.rj566:
How you fix this plz answer This bro
[Lenovo P2 Guides, News, & Discussion] russel51:
[MENTION=4860033]Arnova8G2[/MENTION] please add support for our beloved device in your latest ports, atleast for the android 8.1 rom variants.

The device got new life with new oreo roms (AOSIP and LOS 15.1), camera is the only thing that is not satisfying. Just making hdr+ and portrait working in gcam for our p2a42 would be awesome. None of your previous instructions and ports works.

Thank you for your hard work.
[Lenovo P2 Guides, News, & Discussion] ASP02:
Maybe cause of this ..it doesn't work...if we are not in stock our codename is kuntao and not p2a42

---------- Post added at 12:33 PM ---------- Previous post was at 12:33 PM ----------

Maybe cause of this ..it doesn't work...

if we are not in stock our codename is kuntao and not p2a42
[Lenovo P2 Guides, News, & Discussion] b50corei5:
No that's incorrect. Front cam works. It's back cam black levels or whatever it is that needs fixing. Not the codename
[Lenovo P2 Guides, News, & Discussion] ASP02:
But for me front camera doesn't work

---------- Post added at 12:40 PM ---------- Previous post was at 12:39 PM ----------

Which version are u using and which rom
[Lenovo P2 Guides, News, & Discussion] b50corei5:
Any news?
[Lenovo P2 Guides, News, & Discussion] shivang_bagh:
We will never get working gcam port for our device [MENTION=4860033]Arnova8G2[/MENTION] please do something rear camera never works
[Lenovo P2 Guides, News, & Discussion] nandakis4:
while i am on 8.1 no camera mod of Arnova worked, when i am on 7.1.2 front camera worked good.. but all of a sudden it is giving me green tint images :( ..why does this happen ?

i am having Redmi 4x the camera works super fine on that phone.. but people there use MGC rather than Arnova's port..

may be we must try all camera mods and search for the better working one..
[Lenovo P2 Guides, News, & Discussion] francois53:
I'm on LOS 15.1, Motion Photos works for you ?
[Lenovo P2 Guides, News, & Discussion] devianz:
You can try whichever mods you want. None of them are going to work.
[Lenovo P2 Guides, News, & Discussion] Varun Sai:
Video recorded by this camera not playing
[Lenovo P2 Guides, News, & Discussion] snd1988:
Developement stopped?
[Lenovo P2 Guides, News, & Discussion] duck from space:
Did it ever began ?

If you are interested in drastically better low light pics and color reproduction you can use my Moto Camera 2 (not 1) port linked below.

Not even flash works, it's way beyond my skills to make a proper port out of it. Also it need its magisk module cause the encrypted config files for all I know, can be deciphered but not altered with another phone's name.

Still, the Motorola algorithms are miles ahead anything else running on the P2 and they work here. Just keep using another camera app for anything else than a simple photo w/o flash.

https://drive.google.com/drive/folders/1JCENk8HSikg-7D2HGuw3kxVRqRuvv_nT?usp=sharing
[Lenovo P2 Guides, News, & Discussion] Siddhesh saraf:
I really feel like crying. Such an amazing picture by portrait mode and it shows that our phone is capable of it. But only due to technical errors we can't do it. O mighty lord please help us on this:crying::crying::crying::crying:
[Lenovo P2 Guides, News, & Discussion] Series of the nightfall:
Development already dead?
[Lenovo P2 Guides, News, & Discussion] krokokota:
Everything works!!! Write me neprik@mail ru

---------- Post added at 08:37 AM ---------- Previous post was at 08:23 AM ----------

Everything works!!!
[Lenovo P2 Guides, News, & Discussion] nareshfree:
Guys Gcam is working in p2 and it's processing hdr+...... There is a fix for hal3... :)
[Lenovo P2 Guides, News, & Discussion] rogat92:
Guys, is newest Gcam from Arnova working fine on your Lenovo? Here is the link. It was just showing black screen when I opened it
[Lenovo P2 Guides, News, & Discussion] iniro:
Me too. I am on p pr1.
[Lenovo P2 Guides, News, & Discussion] rogat92:
[MENTION=4860033]Arnova8G2[/MENTION]

FYI, as per now, Lenovo P2 has working HDR+ mode on both front and rear cameras. Thanks to Lenovo P2 developers. I downloaded your Pixel2Mod-Arnova8G2-V8.2, but it was just showing black screen when I opened it. Could you provide test version for Lenovo P2? Thanks.
[Lenovo P2 Guides, News, & Discussion] guiguid66:
Hi all.

This version works well

MGC_6.1.009_MiMaxII_A8.1+_V0_tissot.apk

From https://www.celsoazevedo.com/files/android/google-camera/
[Lenovo P2 Guides, News, & Discussion] slp2096:
Bro the above mentioned app gives green tint in portrait mode
[Lenovo P2 Guides, News, & Discussion] Kazuhiro Yasei:
Which APK did you use for this result?
[Lenovo P2 Guides, News, & Discussion] rogat92:
Try this https://www.celsoazevedo.com/files/android/google-camera/f/MGC_5.3.015_B-S-G-based_v.1.0.15_final_fix_TlnNeun.apk
[Lenovo P2 Guides, News, & Discussion] guiguid66:
With the version bellow, all is working (nigth mode include ) for P2:

https://www.celsoazevedo.com/files/....1.013_MiMAX2_V1b_A8.1+fix_Hexagon_failed.apk
[Lenovo P2 Guides, News, & Discussion] emmanuelcassar:
This has the green tint problem right?
[Lenovo P2 Guides, News, & Discussion] guiguid66:
only in front with HDR+ enhanced.

Turn off HDR+ enhanced when using front camera.
[Lenovo P2 Guides, News, & Discussion] guiguid66:
100% working cam mod :

https://xdaforums.com/showpost.php?p=78273922&postcount=376
[Lenovo P2 Guides, News, & Discussion] tanzeel.ahmed1306:
there is green tint in portrait mode for front cam
[Lenovo P2 Guides, News, & Discussion] guiguid66:
No green tint. \o/
[Lenovo P2 Guides, News, & Discussion] BlurryXFace:
Camera is not working

I have installed the camera APK but it doesn't work.

Video works fine though along with Panorama.
[Lenovo P2 Guides, News, & Discussion] guiguid66:
Hi, with latest version https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2/ all works.

Settings :

clean previous install by deleting data and cache.

Front : nexus5

Back: nexus6

Remove iso limit in the dark : on

Lib ezsman v2

Alternative config : on

Fix : back level = 16

Fix : RAW10

Fix : YUV420
[Lenovo P2 Guides, News, & Discussion] azfark:
is this Including Slow Motion thats working?
[Lenovo P2 Guides, News, & Discussion] hestati:
Will this work on stock, or only on Oreo ROMs?
[Lenovo P2 Guides, News, & Discussion] Lamentxthe:
For anyone who is using latest (MGC_6.1.021_BSG_Arnova-based_v.1.3d_TlnNeun_2.apk) version and stuck with tint on front portraits:

Settings > Advanced > FIX > Black Level Front camera > 16 > Reboot