yashsingh1/xdaforums huggingface dataset:
[G4 Themes and Apps] :
I installed this on my G4 running CandySiX. For photos, it's very good. It seems to take good photos, and while I don't have any photos from the stock ROM to compare with, it seems like the sensor is working fine (unlike the times before when I tried the camera on AOSP based ROMs). All that said, I couldn't get it to work for videos. It seems to start recording, but then glitches out and immediately stops, and no video is saved.

One more thing. CandySiX is including Snap Camera. Is this camera specially modified in any way that the version that CandySiX comes with isn't? Am I wasting my time by flashing this? If it is different, is this version included in the G4 build of CyanogenMod?
[G4 Themes and Apps] rtmreza:
hi

i have huawei y550-l01 ----- os: CM 12.1

when i want to flash it from recovery it has error

what i have to do

please help me
[G4 Themes and Apps] azZA_09:
This is ONLY for LG G4 H815 or H811.It wont work on huawei
[G4 Themes and Apps] rtmreza:
I khow how can i prepare for prepare for my phone ?
[G4 Themes and Apps] azZA_09:
You cant, this is only for LG camera config. It wont work for any other phone except g4
[G4 Themes and Apps] TobiasReich:
Hey folks,

I still have trouble with the camera. As some posted before, the (laser) auto focus doesn't work at all. It is fixed at around 2 meters. Manual focus doesn't work neither. Other apps like open camera don't do as well.

I'm not sure if I did something wrong when installing the zip but I can't see any problems.

Still when taking a look at the App-Info for the camera it tells me:

Camera

Version 2.0.002 (957d902e91-00)

org.cyanogenmod.snap
​

So I'm confused. Is this the version 15 I recently downloaded? Or does the problem with the auto focus probably come from making errors while updating?

If someone might tell me their app version, this might give a cloue to what went wrong.

Thanks a lot,

Tobias
[G4 Themes and Apps] azZA_09:
V15 refers to what upgrades were used for 2.0.002 (which is stock CM Camera) to bring some G4 Camera functions back.
[G4 Themes and Apps] alfisti.gr:
How do I remove this once flashed?
[G4 Themes and Apps] azZA_09:
Dirty-flash the ROM
[G4 Themes and Apps] billy_hilton:
does this work on stock lg rom/ stock based?
[G4 Themes and Apps] TobiasReich:
So is there a way to see whether my installation worked? If I understand this right, any version shows this verion number. They just get new patches but keep the version number? Even the newest one has v2.0.002. The current nightly got a huge update but still has the same - even though with a different patch number.

So I assume I made something wrong. But what else could I do? Downloaded the zip, went to the bootloader, installed it, wipe cache ... reboot. Still no focus. :(
[G4 Themes and Apps] azZA_09:
Nah, you just need to flash the lastest zip and that's all. The focus problem is well-known,go to CM13 thread and ask there for help, because I went back to stock
[G4 Themes and Apps] hfmls:
i see many fixes into snap in change log from cm13, are there any major updates on lg g4? thank you
[G4 Themes and Apps] troopii:
On g4 60fps works. You just have to set hsr to 60.

4k works too with setting preview to yuv420sp. When setting it to nv12-venus frames drops.

Older devices like g3 need nv12-venus.

The rule behind is: full camera2 use yuv420sp and legacy devices nv12-venus.

Greets
[G4 Themes and Apps] azZA_09:
Codeworkx doesnt have much time to prepare a new zip,maybe you can make a zip that brings some new features to SNAP? :DD
[G4 Themes and Apps] TomyEquiX:
hi guys , someone tell me if SNAP and SNAPDRAGON cameras are the same ?

I have a question with that .... greetings
[G4 Themes and Apps] Amitakd:
how can I flash I don't have twrp recovery bcoz my phn does not support bootloder unlock
[G4 Themes and Apps] azZA_09:
Kinda
[G4 Themes and Apps] ari666:
Guys... Is this better than the stock camera???? Because i dont wanna switch back to CM again if it does not perform like the Stock Camera.
[G4 Themes and Apps] Mr.FREE_Bird:
Then forget about trying CM and AOSP based Custom ROMs. The camera apps which come's with that kind of ROMs don't provide you to make use of everything you can and could do with the camera of the LG G4 on Stock ROM. That's because the used software, drivers, framework... in the Stock ROM isn't open source. So every feature in the camera app and other things had and have to be rebuild by Devs which is extremely hard to do.
[G4 Themes and Apps] ari666:
No offence bro...and I know about that and i also know how dev put their efforts to mods... Hats of to devs... But What i mean is does it perform well...???????
[G4 Themes and Apps] Mr.FREE_Bird:
Well, in my experience the camera performs pretty well running CM based Custom ROMS but the manual controls aren't as good as with using the Stock camera app. And in some situations like when it is dark the camera just doesn't perform as well as it should on the Stock ROM. Also the average photo quality is a bit less on CM and AOSP based Custom ROMs compared to the Stock ROM, even in the best possible situations when it is a really sunny day. And btw I don't mean by sayning this to be disrespectful to the Devs who put so much effort in the development for this phone. The camera in CM and AOSP based ROMs is far from bad and actually pretty nice but just not as good as with the Stock ROM and camera.

Edit- Oh and also if you thought my first reaction was meant to be harsh to you or to offend you... Thats not how I wanted to come over to you if I did. It was more meant to be like informative so you would have got an idea how it could be that the camera is worse on Custom ROMs.
[G4 Themes and Apps] kamikaze702k:
I'm on a lollipop ROM and this camera works beautifully with all it's features.

Thanks for sharing dev

P.S I didn't flash the file but extracted and installed normally.
[G4 Themes and Apps] -M4S73R-:
Can this camera record in slow-motion? That was the biggest downside when switching to CM, stock had slow-motion but CM dosent. Also can this record is 4K.
[G4 Themes and Apps] xsiriox:
Hi codeworkx!

Are you planning to compile a version from CM 14.1 source?

Is compatible the current V15 with the nightly of cm 14.1?

Thank you very much!!!
[G4 Themes and Apps] meknasty:
I'm interested too!
[G4 Themes and Apps] robnananana:
I have a dualboot setup running with

a) Stock LG Android 6, LG Stock Camera & Google Camera.

b) Latest Lineage OS 14.1, Snapdragon Camera V2 & Google Camera. Couldn't get the Snap camera G4 edition flashed on lineage partition, so standard Snap V2.

In brighter daylight, Stock and AOSP Camera can absolutely compete. Very very similar level of detail!

However, in lowlight, high levels of noise render the pictures in modded OS unusable.

Noise reduction in SNAP camera was set to "High quality" and image quality set to high, all other settings have been left untouched.

LG Stock camera autofocus seems to be much faster, too.

This is noticeable in LG stock system if you compare Stock camera with google camera. LG Stock camera will snap much faster!

I have set up full resolution pictures for comparison in my google drive, but can't post them (new user) :(

Personally, I take many pictures with this phone and the LG stock camera app is the only reason I'm going to stay with LG stock as my daily system.
[G4 Themes and Apps] Minto107:
Which Snapdragon camera do you use? Do you use built in one or downloaded from somewhere?
[G4 Themes and Apps] robnananana:
It's the Stock CM14.1 (Snapdragon) Camera, installed by default
[G4 Themes and Apps] lucaspassucci:
How you do the dual boot in g4?

Hey, i´m from argentina, so my english its bad. Can you tell me how do i do to have the dual boot (the one that you have with same setup) in my lg g4? Thank you Man!
[G4 Themes and Apps] gius0161:
I think he uses DualBoot Patcher (in the app, when you select the zip file of rom, use /data for position. I remember that if you select /dual the rom doesn't boot)
[G4 Themes and Apps] straightup:
Dear [MENTION=3208754]codeworkx[/MENTION] could you please advise me why this Snapdragon camera is not working on kessaras’s AOSCP ROM, because on the OP it says it should work on AOS based ROMs. Thank you!
[G4 Themes and Apps] codeworkx:
Don't know. Read your logs then u know.
[G4 Themes and Apps] blakcrp:
Bootloops Lineage 14.1..

Will it remain that way?
[G4 Themes and Apps] codeworkx:
No need to install on lineage. Its included.
[G4 Themes and Apps] blakcrp:
Ok. Unfortunately video won't start on that one, unless switched to the video mode explicitly, the gallery shows the images zoomed out inexplicably and the auto shutter stays on a bit too long. I'll keep tweaking, but it seems that this is about the end of our G4 L14.1 nightlies.. are there plans to update snap camera independently?

Thanks!
[G4 Themes and Apps] alif yudie:
i like

nice
[G4 Themes and Apps] Wills_X:
Yea same issue here
[G4 Themes and Apps] neto damasceno:
Funciona nas tons ROM 8.1?
[G4 Themes and Apps] Raygenbogen:
Then maybe it could theoretically work on stock rom. Maybe I understood it wrong then, sorry for that
[G4 Themes and Apps] hfmls:
no, it has not raw mode. it kinda has many options only thing i "miss" is shutter speed and raw mode. other than that i think it's perfect, really like the UI.

btw: i noticed a "bug" if someone could try replicate, when i manual chose ISO 50, the flash on automatic won't fire. if i set it active it fires. Nothing special but it's there. Maybe app assumes since it's ISO 50 it shouldn't use flash? I don't know, now that i think of it it kinda makes sense. :) (notice the photo i try to take it's in complete dark, i just wanted to take noise free photo with flash automatic used)

edit2:

https://github.com/codeworkx/androi...mmit/89d7bb0a51057217cb12c8b68d6b8b1a9b32a92e

OH YEAHHH , now rawmode, and we're done :P

i gotta say [MENTION=3208754]codeworkx[/MENTION] you are a coding beast machine! As said before, the 1 man show, in around 2 weeks you convinced almost anyone to jump into cm13 :).

Can you confirm daniel.hillenbrand@gmx.net link for donations?
[G4 Themes and Apps] pl_laszlo:
OIS is working?
[G4 Themes and Apps] codeworkx:
[MENTION=1956109]hfmls[/MENTION] shutter speed isn't working this way. Lg must have ****ed it up somehow.
[G4 Themes and Apps] Illux:
Is that shutter speed code already included in v5? And how about stock roms, any1 got it working?
[G4 Themes and Apps] codeworkx:
updated
[G4 Themes and Apps] hfmls:
Sweet :) thank you for shutter speeds.

Will you try now RAW support? :)
[G4 Themes and Apps] codeworkx:
I'll have a look at it. But LG isn't doing it the "normal" way.

Will be hard or impossible to support.

Also 4k recording, high framerate recording and such kind of stuff.
[G4 Themes and Apps] ImSpiderman:
On v6 i cant click on the preview of the latest pic taken to see it
[G4 Themes and Apps] hfmls:
I can confirm this too [MENTION=3208754]codeworkx[/MENTION] ,also after we use shutter speed manual how can we set it back to auto ? I thought it was "0" but that is just darker and fast shutter

hfmls
[G4 Themes and Apps] Darkmasterhk:
0 + app restart worked for me
[G4 Themes and Apps] codeworkx:
0 is default value. Maybe i have to restart the stream. Will have a look at it.
[G4 Themes and Apps] hfmls:
Maybe you're right, photo comes out OK with auto shutter, but the preview before taking photo is really dark. So, if we don't use flash we have no idea how it is gonna be the final result because it's really dark :)

hfmls

edit1: i don't seem to understand the new focus time option and the one in grey.
[G4 Themes and Apps] htb2050:
[MENTION=3208754]codeworkx[/MENTION] hi I am using it on klte and you have said that its modified for g4 so if I use it on other devices then would it cause any problem or just auto disable the g4 specific features and only show the stuff that my device supports?
[G4 Themes and Apps] FadeFx:
[MENTION=3208754]codeworkx[/MENTION], do you know why the commits to snap and snapdragon camera on cmxlog are also visible for non snapdragon devices (i9300 in my case)?

Gesendet von meinem GT-I9300
[G4 Themes and Apps] dontpannic:
Before I make the jump across to CM - can someone just answer me a couple of questions:

OIS - does that work?

What shutter speed options do we have? Standard Camera2 API only supports 2 seconds IIRC?

What ISO values do we have?

Cheers!
[G4 Themes and Apps] hfmls:
LG ge ones

hfmls
[G4 Themes and Apps] Ati75:
When taking pictures in landscape mode, only the settings symbol is there. You can still take pictures by touching the area where the action button would be. When taking the phone back to portrait mode the buttons appear again. Do you guys have the same thing happening?
[G4 Themes and Apps] johnny8910:
Yep

Same for me.
[G4 Themes and Apps] ZeNiXxX:
thats potrait Modus

und that landscape

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Themes and Apps] kjjjnob:
[MENTION=3208754]codeworkx[/MENTION], I add D855 variant on script and works perfect, great job :D Thanks! I see a future support on gerrit for G3, good news :)
[G4 Themes and Apps] codeworkx:
v7 is up
[G4 Themes and Apps] Ati75:
Great work. Everything works thus far. :good:
[G4 Themes and Apps] Sc4ryB3ar:
What modifications did you make? I would like to try to get this working on the g3.
[G4 Themes and Apps] shindiggity:
Better then M9?
[G4 Themes and Apps] ZeNiXxX:
did someone have gray bars on left and right side ( no full screen cam anymore) ? And I have no camera icon... it's only a white cycle. I have flashed v7 over v5

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Themes and Apps] Ati75:
I have to admit, i didn't try that one. I really only compared it to the stock cm one, and had past experiences with some cams on my G2. They all had some quality issues. I feel that codeworkx' work is as good as it gets. Any link for the M9 cam? Does it work on the G4?

---------- Post added at 12:28 AM ---------- Previous post was at 12:25 AM ----------

Try wiping dalvik cache after flashing the newest cam. I had some issues yesterday, they were gone after i wiped dalvik-cache.
[G4 Themes and Apps] htb2050:
I have the bars too. Previously the bars were transparent but now they are materializing it so they are opaque right now so a few pixels are black in viewfinder but the picture still comes out full. Maybe next few updates will solve this.
[G4 Themes and Apps] codeworkx:
Screenshot?
[G4 Themes and Apps] htb2050:
These black bars,

the background is not visible however the final pic in 16:9 at 15.9MP includes the area behind the bars if the view finder was much more transparent.
[G4 Themes and Apps] codeworkx:
I don't have them. Strange.
[G4 Themes and Apps] ZeNiXxX:
jep have the same.

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Themes and Apps] fabian.ecker:
OK I thought I might add my 2 cents here as well. I find the camera quality excellent, was not expecting this. Just one question, is the HDR mode actually working? I was not able to produce 2 different looking photographs with HDR on and HDR off. I tried various scenarios where HDR usually clears up an image a lot, always with the same result. Anyone else seeing this?
[G4 Themes and Apps] JackSlaterIV:
[MENTION=3208754]codeworkx[/MENTION]

I have made a few other tests on my LG G3.

Your Snapdragon Camera app works on AOSP roms but not on stock based roms (FC).

This other Snapdragon Camera app for the G2 http://xdaforums.com/lg-g2/themes-apps/snapdragon-camera-t3213605 works on both AOSP and stock based roms.

The main differences I see between them is in the structure of the folders and in the app's name (Snap vs Snapdragon).

How can we get your version working also on stock roms?
[G4 Themes and Apps] ZeNiXxX:
why do you Need a Camera for Stock rom? stock Gas already the best Quality

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Themes and Apps] JackSlaterIV:
Because I like this one much more. Simple as that.
[G4 Themes and Apps] Ati75:
I get these bars when i select a 4:3 picture size. Getting back to a 16:9 picture size -> no bars. Although your final picture has the correct resolution, check that again. Maybe jump back to a 4:3 res and then again to a 16:9 res.
[G4 Themes and Apps] htb2050:
Yeah already tried. I downloaded a latest build made like an hour ago with the latest patches but still the black bars are there. Before materialization patch it stays transparent but after the materialization patch its black bars.
[G4 Themes and Apps] Ati75:
Strange.

I just now had a problem taking pictures with flash set to auto. I can take two pix, but they don't appear in the gallery. The action button after a few seconds is unresponsive. Setting flash to on takes pictures and they appear in the gallery. When the action button is unresponsive i have to either exit the app and remove it from recents, or switch to video and back. Seems to be the same problem we had at the beginning (the 259 pictures issue??). I'll investigate further...
[G4 Themes and Apps] seadersn:
how about trying snap cam (hd) from playstore for stock builds?

Gesendet von meinem SM-T805 mit Tapatalk
[G4 Themes and Apps] codeworkx:
please test v8
[G4 Themes and Apps] Ati75:
I just tried another attempt taking a picture with auto flash, and it worked. Will install v8, and keep reporting back. I am off now, so it will take a while. Thanks again!!
[G4 Themes and Apps] codeworkx:
Provide logs.
[G4 Themes and Apps] michiil:
There is clearly a difference now (:

Thanks a lot for this cam!
[G4 Themes and Apps] rav101:
Does anyone have access to two LG G4's whereby one can be on stock with the other on cm base so we can do a side by side comparison of the camera's in a range of different scenarios?

If not, I don't mind going between nandroid backups at some point but that means maybe 5 minutes between photos where conditions could change.

Just a thought anyway. Unfortunately I don't know anyone else with this phone otherwise I would be doing this test already and reporting back ?
[G4 Themes and Apps] JackSlaterIV:
That's why we should get this app working also on stock based roms. Makes it easier to compare with stock camera.

We spoke via PM yesterday, I already provided you a filtered logcat.

Tell me exactly what you need now and I will help, but not the same log!
[G4 Themes and Apps] fabian.ecker:
Tested and can confirm it works like in the stock camera. The effect is subtle like in the stock camera but one can clearly see the double exposure when taking the picture. Impressive stuff codeworkx!!
[G4 Themes and Apps] codeworkx:
Your log didn't show any crash.
[G4 Themes and Apps] ZeNiXxX:
i'm again with the black bars. Clean install Rom (RR) and than snap v8.

[IMG="v8"]https://photos-5.dropbox.com/t/2/AAD56EfO8jmTe_wvE5UhyiBjYVIys4bsvzQLFTt1rbgKug/12/52443049/png/32x32/1/_/1/2/Screenshot_20160109-134615.png/EKPftCgYqMkCIAIoAg/0YOVb9BSSAD2SnDVRU8c3bj06Glw87T7urMeo3kKToo%2CU8vnen4Oi_sJJv8tfHZyO1gWXkJ8NYl_z9nYiueakFI?size=1024x768&size_mode=3[/IMG]
[G4 Themes and Apps] Ati75:
Have you had this problem with cm13 as well? Maybe it has something to do with RR? Tried it with CM13? On my G4 i didn't try RR yet. Was my daily driver on my G2, but I'll stick to the original for now.

Btw, your pics don't show.
[G4 Themes and Apps] ZeNiXxX:
nope its not caused by RR rom. on snap v5 I have no problem with/grey bars. since v6 I get this grey bars. currently I'm on v5 and I have no problems

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Themes and Apps] seadersn:
you're using themes? only possible thing which comes in my mind, since i'm not having this problem.
[G4 Themes and Apps] Ati75:
I also use themes, and have no such problems.
[G4 Themes and Apps] ZeNiXxX:
I'm using a Theme but on v5 I have no problem with UI... only v6+

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Themes and Apps] JackSlaterIV:
LOL? Are you trolling me?

01-08 17:54:48.870 2079 2079 I Timeline: Timeline: Activity_launch_request id:org.cyanogenmod.snap time:19436634

01-08 17:54:48.871 1061 1077 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.cyanogenmod.snap/com.android.camera.CameraLauncher bnds=[1152,1220][1440,1590]} from uid 10029 on display 0

01-08 17:54:48.942 1061 1479 I ActivityManager: Start proc org.cyanogenmod.snap for activity org.cyanogenmod.snap/com.android.camera.CameraLauncher: pid=28493 uid=10050 gids={50050, 9997, 3003, 1028, 1015, 1023} abi=armeabi-v7a

01-08 17:54:49.019 1061 1121 I SystemUI[Framework]: PhoneWindowManager.updateSystemUiVisibilityLw() :visibility=0x0, pkg=org.cyanogenmod.snap

01-08 17:54:49.316 28493 28493 E AndroidRuntime: Process: org.cyanogenmod.snap, PID: 28493

01-08 17:54:49.318 1061 1934 W ActivityManager: Force finishing activity org.cyanogenmod.snap/com.android.camera.CameraLauncher

01-08 17:54:49.663 1061 1934 I WindowManager: Screenshot max retries 4 of Token{1dc6ec18 ActivityRecord{404d3fb u0 org.cyanogenmod.snap/com.android.camera.CameraLauncher t2019 f}} appWin=Window{11c2b4d7 u0 Starting org.cyanogenmod.snap} drawState=4

01-08 17:54:50.164 1061 1117 W ActivityManager: Activity pause timeout for ActivityRecord{404d3fb u0 org.cyanogenmod.snap/com.android.camera.CameraLauncher t2019 f}

01-08 17:54:51.957 1061 1479 I ActivityManager: Process org.cyanogenmod.snap (pid 28493) has died

01-08 17:55:41.165 2079 2079 I Timeline: Timeline: Activity_launch_request id:org.cyanogenmod.snap time:19488929

01-08 17:55:41.167 1061 1076 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.cyanogenmod.snap/com.android.camera.CameraLauncher bnds=[1152,1220][1440,1590]} from uid 10029 on display 0

01-08 17:55:41.279 1061 1479 I ActivityManager: Start proc org.cyanogenmod.snap for activity org.cyanogenmod.snap/com.android.camera.CameraLauncher: pid=28718 uid=10050 gids={50050, 9997, 3003, 1028, 1015, 1023} abi=armeabi-v7a

01-08 17:55:41.328 1061 1121 I SystemUI[Framework]: PhoneWindowManager.updateSystemUiVisibilityLw() :visibility=0x0, pkg=org.cyanogenmod.snap

01-08 17:55:41.542 28718 28718 E AndroidRuntime: Process: org.cyanogenmod.snap, PID: 28718

01-08 17:55:41.544 1061 1933 W ActivityManager: Force finishing activity org.cyanogenmod.snap/com.android.camera.CameraLauncher

01-08 17:55:42.071 1061 1117 W ActivityManager: Activity pause timeout for ActivityRecord{289598dd u0 org.cyanogenmod.snap/com.android.camera.CameraLauncher t2020 f}

01-08 17:55:43.975 1061 1076 I ActivityManager: Process org.cyanogenmod.snap (pid 28718) has died

01-08 17:55:41.544 1061 1933 W ActivityManager: Force finishing activity org.cyanogenmod.snap/com.android.camera.CameraLauncher

If you want a good log tell me exactly how I should do to take it, because I am not familiar with logcat.

For the above log I used an app called Logcat Extreme, recorded while launching the Snap app, and filtered based on the app.
[G4 Themes and Apps] codeworkx:
It shows that the process died but not the reason because your filtering killed it.

01-08 17:54:51.957 1061 1479 I ActivityManager: Process org.cyanogenmod.snap (pid 28493) has died

Real men use a computer and the adb binary to get proper logs.

Start -> cmd -> Run command prompt -> connect phone via usb -> run "adb logcat".

You can try it again with your app but please do not filter.
[G4 Themes and Apps] JackSlaterIV:
If you only told me this yesterday... How to be a "real men"... LOL

Anyway I'll let you know.
[G4 Themes and Apps] imarcel99:
V8 FC for me, v7 works fine. Candysix rom
[G4 Themes and Apps] codeworkx:
v9 available
[G4 Themes and Apps] Martin_Devil:
[MENTION=3208754]codeworkx[/MENTION], I can add your version of the Snap Camera to my build RR? Thank you!
[G4 Themes and Apps] codeworkx:
Winzipper? Y don't you build it from sources?

https://github.com/cyanogenmod/android_packages_apps_Snap/tree/cm-13.0
[G4 Themes and Apps] Martin_Devil:
What? Oh, no. I like Kubuntu :)

Now i use CyanogenMod/android_packages_apps_Snap. But i see, you're doing a lot of commits, which are absent in the CM repo. They will be supplemented later, or it will be exclusive to g4 in this thread?
[G4 Themes and Apps] codeworkx:
I'm building from CM repo as well. But you should also have a look at gerrit code review.
[G4 Themes and Apps] Martin_Devil:
Oh, ok. Thank you