yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] aTanCS:
I don't have this icon. After Volume key there are Help and Reset. No Storage. I have 1.6 mod.
[G2 Android Development] donoli74:
I have that icon but photos wont save on my meenova external,strange.:confused:
[G2 Android Development] XxZombiePikachu:
apparently its not working im gonna try the stock camera and see

---------- Post added at 05:00 PM ---------- Previous post was at 05:00 PM ----------

maybe its a kitkat only thing I am on 2.0.6 of the mod

---------- Post added at 05:01 PM ---------- Previous post was at 05:00 PM ----------

you aren't the only one I'm gonna look into it and see if I can find anything
[G2 Android Development] xdabbeb:
[MENTION=5364308]XxZombiePikachu[/MENTION] It's not a KK exclusive thing. The menu should be there on both. That said, if people aren't able to save it to their OTG devices I'm guessing LG only intended that menu for their domestic model that has an sd-card slot. When I have time, I'll look into making it work. From what I remember it just polled available volumes using android's imountservice. If OTG devices don't show up via that method it may not work without further modification.
[G2 Android Development] noris08:
hi!

can you please have a look on this issue? it is still present in 1.6.1 too.

thank you!

cheers
[G2 Android Development] Tinchoska:
Dude I am using this mod but 1.6.0 quiet version, and on the update I don't see any quiet version

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Android Development] SPBoss:
Just to confirm the 4k version will never work on JB?
[G2 Android Development] xdabbeb:
read the post directly before yours.

already answered

Not at this time.

EDIT: Something to keep an eye out for. Not sure if it occurs on the G2 KK firmware, but apparently there is a bug in 4.4.2 that keeps one of the main qualcomm binaries running in the background. Link
[G2 Android Development] XxZombiePikachu:
well I've been using the camera with kk since I installed it last week and have not noticed that bug occurring
[G2 Android Development] Gulfcoastowl:
help to install without custom recovary

If you have a custom recovery (i.e. TWRP) installed on your device, you can just flash/install as always. If you don't, continue below:

Backup and then rename your existing /system/priv-app/LGCameraApp.apk & odex files (i.e. LGCameraApp.apk.backup and LGCameraApp.odex.backup), /system/priv-app/LGVideos.apk & odex files (i.e. LGVideos.apk.backup and LGVideos.odex.backup), and /system/etc/media_profiles.xml (i.e. media_profiles.xml.backup).

Push the downloaded apks/xml into the same directories the originals were in and set permissions as rw-r--r-- for all three.

Can someone explain in detail how exactly i do it? Is there a video?
[G2 Android Development] freebee269:
i went some pages back and didnt see this asked so is it normal for the camera to only be in landscape mode? i'm trying to get it into portrait mode but it wont rotate at all. i'm on cloudyflex 1.4 using camera v1.6.1.
[G2 Android Development] anonymousss:
[MENTION=2941286]xdabbeb[/MENTION] can u reduce the amount of light emitted with the flash whilr shooting photos ?

Specially in intelligent mode

The photos are rather white-ish when taking selfies with the rear camera if u know what i mean

Thanks
[G2 Android Development] xdabbeb:
Nope, I wouldn't say that's normal at all. I can't think of anything in the camera that would cause that though. I'm not familiar with the rom, but does it have an option to turn off the gyro? What about an xposed module (I know app settings can do so)?

Is it too bright/overexposed or is the white balance off? I can look into it, but many decisions made in auto mode aren't available to tweak.
[G2 Android Development] cachookaman:
i was running 1.6.1 and it wasnt recording videos at 60 fps on my d800 anymore. didnt work on 1.6.0 either. went back to 1.5.0 and it started working again.
[G2 Android Development] gonk24:
Not to sound harsh but those are easy directions there. If you aren't familiar with it and are lost, don't attempt it. You'll probably end up in a boot loop and then what will you do?
[G2 Android Development] anonymousss:
[MENTION=2941286]xdabbeb[/MENTION] It is so so bright to the extent that if I take a picture with anyone the light emitted by the flash hurts their eyes

The over white color of the flash dominates in the picture making the picture look over exposed or sth

The camera does sometimes take perfect pictures with the rear one but overall the flash is so strong that it makes the picture so bright and hurt the eyes

I also noticed that when focusing the flash is on and then it quickly turn off and on to take the picture

This time when it turns on to take the picture, the light is noticeably stronger than when focusing

Maybe that's the issue here

It gets too strong when talking the picture thus making photos almost most of the time brighter than the usual

Thanks dude
[G2 Android Development] xdabbeb:
Do you mean that it wasn't recording anything at all or it wasn't recording at 60fps? Logcat? Haven't heard of this issue yet.

Ah. I misunderstood you before. I don't remember seeing any way to control the intensity of the LED flash itself, but I can certainly take a look. If I do, I'd probably just do a one-off for you as I don't imagine everyone would want that change.
[G2 Android Development] cachookaman:
it was recording but it was only 30 FPS on both 1080 and 720.

heres the logcat after i reinstalled 1.6.1 right now.

http://www.firedrive.com/file/DDABD02358592012
[G2 Android Development] |ErosizeD|:
I've just installed your mod, the camera works but the UI, its completely messed up, and the video player doesnt work.

My device is an D802, i have KITKAT ( vodafone one ) with root, the installer failed to install though recovery, so i installed manually

set perms to 755 and still, videoplayer doesnt work anymore.

Any solutions?
[G2 Android Development] superjohan:
Thinking of buying the LG G2 and all seems fine but the camera with slow focus and moving objects.

How good does the camera get when flashing this mod? How is it compared to other phones?

Does for example the Sony Xperia Z1 Compact kick ass compared to the LG G2 with this mod?

I have a HTC One S now...

And yes i have read and searched the thread but have seen any kind of comparison.

And creds to you xdabbbeb. You seem to have done some miracle work :)
[G2 Android Development] |ErosizeD|:
Video camera its overall better 1080p 60fps on default one, and with this you got 4k, and 720P at 120fps, so its good,

the focus its bit better than stock but not much more, sometimes doesnt focus and everything looks wasted out.

Lowlight pictures, as always sucks, my nokia 808 stills the first, in almost every situation... ( despite no ois ).

but overall i prefer over xperia z1 or compact.
[G2 Android Development] superjohan:
okey. Thanks for that. Better wait and see what phones come out then. Want thin frame and a fast focus camera. If the compact would have thinner frame and say 4.7" - 5" display i would have bought it in a heartbeat.
[G2 Android Development] ndnesh:
[MENTION=950509]xdabeb[/MENTION] I was reading the g pro 2 review over at gsmarena and they mentioned in the camera section that the module is the same as the g2. Which is good news for us! But this caught my eye:

Here is a panorama shot taken with the LG G Pro 2. It does the stitching well, and this time LG has managed to get the resolution right - at 3,000 pixels high the panoramas can go beyond 40MP in total resolution. Great performance indeed.

IIRC, the g2 does not do panoramas so good. I went through the op and I have been following this thread from inception, I don't think anyone asked for this... So if you could look into getting this ported over, that would be wonderful.
[G2 Android Development] xdabbeb:
Sure. I can give it a look. I don't have KK yet though, so I'll need someone to test it.
[G2 Android Development] xdabbeb:
OP updated with new versions for Stock G2 KK Roms as well as the new G Pro 2 ported ROM. Make sure you download the appropriate version.

In the 2.1.0 G2 KK version there are three additional libraries included that (along with a few minor apk changes) may give us higher resolution panorama shots. I don't have KK myself so I can't test it. If you don't want to give it a try that's fine...you can just ignore those files or delete them from the zip (if you're flashing). If you're installing manually you'll need to put them in /system/lib/ with rw-r--r-- permissions. Feedback is appreciated.
[G2 Android Development] funnyboy027:
NEW Magic Focus Mode (for G Pro 2 Ported ROMs only) it means version 2.1.0 is not for LG G2 running stock 4.4.2
[G2 Android Development] xdabbeb:
No, I left the Magic Focus mode selection out for the Stock G2 Rom version of the mod. It doesn't work so I don't see the point in putting the menu option there.
[G2 Android Development] iall5tar:
OG MY GOD!

THANKS MATE!

appreciate it, ofc i do!

As soon as i flashed the new port LG G PRO 2 ill report ;)

Edit: well [MENTION=5632451]Hid3rs[/MENTION] as you can saw has a nice feedback in thread PORT LG G PRO 2...

Edit2: Yo mate i already flashed the LG G PRO 2 and i see that your mod for this one its in ZIP (to flash viah recovery) instead of files to replace the other one... the case its that i have to reflash LG G PRO ROM + your Mod?? =/ thanks in advances!
[G2 Android Development] Hid3rs:
Nope, just extract the .zip and replace (rename the original one so you can go back to stock!) LGCamera.apk manually like before. :) Don't forget the permissions.
[G2 Android Development] XxZombiePikachu:
So tried to flash zip 2.1.0 and it gave an error trying to update script or something like that, so I just did it the old fashion way manually replacing and tested out panorama real quick so first pic has details with stock camera and second is with modded camera interestingly enough with your camera the length is shorter than stock but takes a little more memory and for some reason it won't play like with stock where it shows the picture and scrolls through(edit: third pic shows a square I drew of where the icon to play the panorama was)
[G2 Android Development] xdabbeb:
Looks like some additional files would be needed to make it work. If the player isn't working you can just put the stock wa_viewer.so file back.
[G2 Android Development] XxZombiePikachu:
ok will do

edit: placed stock wa_viewer.so back in but still can't view panoramas :confused:
[G2 Android Development] tryman87:
i've been using this mod for quite sometime, and i can say that it really improves the sharpness of the images taken with my G2 (D802). THanks so much. Keep up the good work mate :D
[G2 Android Development] xdabbeb:
I updated the 2.1.0 zip with more of the libraries. Give it a try if you feel like it after backing up your stock files.
[G2 Android Development] GizmoKaca:
Is the stock LG G Pro 2 camera download working on G2 with Stock KK 4.4.2? :)
[G2 Android Development] Boobook:
del
[G2 Android Development] XxZombiePikachu:
Ok I tried the latest one and panorama is longer(I like it) but the height went down a little but on the bright side it looks a lot better in compared to panoramas I had taken before with the stock camera but it still missing the the little option to play the panorama :(
[G2 Android Development] Hid3rs:
Ugh, don't use the stock camera to take panoramas, seriously. No mod can make it look good, or even acceptable.

I took this a couple weeks ago, I think it looks great (although it's not perfect, but that's my fault). You can stitch more pictures together to make it bigger in every dimension. So give AutoStitch a try!

(20MP pictures don't work at the moment, I've already messaged, sent logs to the devs, hopefully they will fix it)
[G2 Android Development] raghavan_nvr:
Is the hdr big fixed in 1.6.1? Thanks.
[G2 Android Development] buracho:
Download link not working!

Am trying to download v1.6.1 on my phone but ny link i touch sends me to mobigeine:( pls pls Help!!
[G2 Android Development] rubino25:
Copied everything with the right permission.. But the camera app didn't result in app drawer! And i can't see the incon in system/priv-app.. Same with video apk.. Any idea?
[G2 Android Development] kwdan:
When you tap the word "download" the first time..mobigeni comes up. Just hit the back button and tap download again . Should work
[G2 Android Development] rubino25:
Solved! Missing some permissions! Thanks!
[G2 Android Development] xdabbeb:
Yes, but the Magic Focus feature doesn't work on Stock G2 KK ROMs which is why I left it out.

If the person who reported that the G Pro 2 had increased resolution for panorama photos was correct and it was working, you'd see a much bigger increase in resolution. From your screenshots I'd say it isn't. Oh well, I'll remove the libs from the zip since it doesn't seem to be making any difference. I agree with [MENTION=5632451]Hid3rs[/MENTION] that the standard panorama mode on the LG Cam is weak.

Yes. It's in the changelog.
[G2 Android Development] lemach:
I have read that KK or maybe kk g pro 2 have better post processing of the pictures...it would be possible to port it to 4.2.2?

Cheers.
[G2 Android Development] xdabbeb:
My variant doesn't have KK yet so I can't comment firsthand on any quality improvements, but the feedback I've gotten so far is that the stock LG G2 KK builds don't improve anything there, but that the newer post-proc algos in the G Pro 2 libraries/binaries might. So far I've tried the morpho libs from the G Pro 2 and noticed no difference in the shot modes used by them, but I'm trying some of the others now. I'm doubtful the ones we'd be able to even use (without causing cannot connect to camera, FCs, etc) will make much of a difference, but it's worth a shot. You're welcome to give it a try as well.
[G2 Android Development] dubt17:
Ok, so I'm running into some issues. I installed the T-Mobile kitkat stock rom that's modified so as it doesn't change the partition layout from stock 4.2.2 or CM. Everytime I try to flash 2.1.0 in TWRP it fails, then when I install all the files manually and change the permissions, etc, the camera opens and I can see the new modes in the picture settings, but when I try and switch to video it force closes. Any ideas? I've cleared the cache as well as data for the apps and such.'

d801!
[G2 Android Development] mobilx:
It doesn't work on pro2port either. Taking a picture is fine but the post-processing after you go to the camera roll is not. I saw in logcat that post-processing looks for the temp jpg's in /data/tmp/ubifocus and returns an error not found. Can you check why the camera doesn't save temp jpg's there?
[G2 Android Development] Colnart:
i downloaded version 1.6.0 and flashed it then notice there's process called mm-qcamera-daemon. Does anyone know what that is ? (4.2.2 tmobile d801 rooted stock)
[G2 Android Development] Boobook:
filename still not timestamp :(

xdabbeb, can you fix it?

for example, yyyy-mm-dd_hh-mm_num?
[G2 Android Development] farhanito:
[MENTION=2941286]xdabbeb[/MENTION], can you please port JB LGVideoEditor apk to KK.

Tried deodexed version I found in Apps section. It runs, but can't detects any video files.

Thanks
[G2 Android Development] buracho:
thanks it worked:)
[G2 Android Development] mgolder:
Is it ok to just install the camera/magic focus/gallery .apk as normal on OptimusRS G Pro 2 port? Given there is no recovery available will it just install fine? As I'd like magic focus and the proper gallery.
[G2 Android Development] xdabbeb:
What error are you getting when flashing in TWRP? Are you able to flash other zips? As for the manual method, my guess would be a permissions problem or a leftover file. Also, if you had mistakenly placed the modified camera app in /system/app/ at one point instead of /system/priv-app/ it may have created a /data/dalvik-cache/system@app@LGCameraApp.apk@clasees.dex which you'd need to remove.

Well, that's disappointing. If I get some time I'll download the rom and even though I can't install it on my variant I'll take a look and see what I can figure out. I'm wondering if it's actually even taking the multiple shots at all, then. Could you get a logcat for me of you taking a MagicFocus shot?

that's one of the two main binaries used by the camera and has always been there.

KK gets rid of the video editor? I'll take a look.

I would assume the ported rom already has the proper G Pro 2 gallery.
[G2 Android Development] mgolder:
If I choose Magic Focus I can take a picture, including a longer wait while it takes the pic/s, but when clicking for gallery to view the pic and alter the focus it goes to the regular android gallery. Think a few people are having that problem too from the OptimusRS rom (Which is very nice otherwise it must be said).
[G2 Android Development] mobilx:
I'm currently not on pro2port but I took this logcat yesterday. I'm attaching it here now. Thanks for your effort.
[G2 Android Development] dubt17:
I'm on TWRP 2.6.3.3 and I can flash everything except your mod fine. It just comes up with an "Error executing updater binary in zip"

I've gone through and tried to delete any .dex files in the folder to no avail, so for now I'm going back to CM until xposed 2.5 is released. As soon as that happens I'll come back to your mod and try again!

Thanks for your hard work though, I can't wait to try it!
[G2 Android Development] xdabbeb:
I think I've figured out why you aren't being presented with the proper dialog with the option to select the shots. I'll have a new version up shortly that you can try.

Thanks for letting me know. It's possible that I've had an older update-binary in the zips. I'll give it a look now and post new versions as such.

EDIT: OP updated with new version of G Pro2 camera (only for ported rom) that should make all aspects of Magic Focus work now.
[G2 Android Development] Hid3rs:
It really works, nice job, thanks!
[G2 Android Development] m3dd0g:
Can you make also the stock LG G Pro 2 Camera to work with magic focus?
[G2 Android Development] xdabbeb:
Sure. I'll put an updated one in the OP shortly and will edit this post when it's ready.

EDIT: OP updated with new version of the completely stock (other than adding MF, 4k, 120) G Pro 2 camera app.
[G2 Android Development] iall5tar:
YOO!!

v2.1.1 works like a charm in port LG G PRO 2!!

thanks so much!!!
[G2 Android Development] MarvinSpr:
What is the difference between stock G Pro 2 camera on LG G2 and 2.1.1?

Offcourse if i have installed the G Pro 2 rom.
[G2 Android Development] bender_007:
<- pro G2 port + 2.1.1 = magic focus works perfectly
[G2 Android Development] mgolder:
Just checked the files mentioned to backup and then delete. I don't have the lgcamera.odex on the G Pro 2 rom port. But I do have the Gallery.odex Do I just need to replace the files that are there that are mentioned in the OP to get it to work on that rom?

As mentioned in another thread, the whole lack of recovery has me on edge all the time (in a good way ha ha)
[G2 Android Development] bender_007:
I would just replace the LGCameraApp.apk

the gallery would obiously be the original.
[G2 Android Development] xdabbeb:
Yep. What bender_007 said. There is no need to mess with the gallery app at all. It has nothing to do with magic focus.
[G2 Android Development] mgolder:
Deleted

---------- Post added at 11:56 PM ---------- Previous post was at 11:55 PM ----------

Roger that. I'll give it a go now then :good:

---------- Post added 10th March 2014 at 12:17 AM ---------- Previous post was 9th March 2014 at 11:56 PM ----------

Hmm, getting a 'read only file' popup when trying to get rid of the original lgcamera.apk using es explorer. Have it set to root explorer am I missing something? Permissions for the apk say they are rw-r--r--
[G2 Android Development] xdabbeb:
You need to make sure your system partition is mounted r/w before you can modify/remove any files on it.
[G2 Android Development] Boobook:
What about date-based filenames?
[G2 Android Development] mgolder:
Ah, never had to do that before. Presume it doesn't cause issues on the port rom and no recovery otherwise it wouldn't work would it ha ha. I imagine it is best not using one of the apps available in play store for the job?
[G2 Android Development] bender_007:
Try es.fileexplorer. Root options, choose rw system. Or download terminal emulator. Type "su", then " mount -ro remount, rw /system" . After that replace rw with "ro".
[G2 Android Development] mgolder:
That did it, thank you. Had a little mess up due to me forgetting it was set as a system app and just rebooting to set it, and instead I tried installing it as soon as I put it in the folder, but, other thna that, it works fine now, magic focus works fine form a quick test (very cool feature). :good:
[G2 Android Development] doblebo:
I'm getting same error with both of the 2.x zips. This is on the "[ROM][4.4.2][3-6-14] PowerUser Edition V2.1- Modifed Stock - Custom Recovery Enabled "

I went into system and swapped out the files as if I didn't have recovery and it works great - thanks!
[G2 Android Development] XxZombiePikachu:
It's currently not flashing just manually push them to system/priv-app and system/etc and set permissions also remember to copy original files somewhere safe
[G2 Android Development] xdabbeb:
Yeah, it looks like the update-binary I was using was a bit old for KitKat so I updated it and edited the mount command in the script for all KK downloads. Let me know if they work. Manual method should work regardless.
[G2 Android Development] sicto:
I'm on g pro 2 ported rom, I lost recovery, how to flash the latest mod ?
[G2 Android Development] Nussi29:
Can I use flashify app to flash you mod without recovery? I have rooted kit Kat stock Rom without recovery (d802)

Send from G2 flex
[G2 Android Development] ndnesh:
[MENTION=2941286]xdabbeb[/MENTION] I reported that the G Pro 2 had increased resolution for panorama photos. I read it in GSMArena. I do not have the device myself to test this :( I hope that when you get KK on your phone and the issue with recovery is sorted out, we can test this further!
[G2 Android Development] mgolder:
Love the camera mod so much I made my first ever donation on here. Sorry it wasn't a lot mind.
[G2 Android Development] sdeups:
hello,

Sorry for my question but how camera2.1 installed the mod with focus magic?

I have the LG GPRO 2 ROM

Thanks
[G2 Android Development] xdabbeb:
I haven't used flashify so I can't comment on that as i have no idea how full the support is for all edify commands. You could follow the manual install directions in the OP, or there may be another option shortly thanks to the generosity of another individual.

No worries. Yes, being able to actually use/test it will be helpful! Hopefully Verizon gets it out soon.

Thanks, dude! It is sincerely appreciated.

Full instructions for install are in the OP, or you can wait for another option install without recovery.
[G2 Android Development] sdeups:
Thank you for the answer but where is all the files to replace

/LGCameraApp.apk

/ LGCameraApp.odex

/ LGVideos.apk

/ LGVideos.odex

/ S media_profiles.xml

They are not in the camera's file xdabbeb v2.1.1 - ONLY for ported G Pro 2 ROMs

thank you
[G2 Android Development] xdabbeb:
The G Pro 2 mod only has one file (LGCameraApp.apk) so the only files you need to backup and remove are the corresponding ones (LGCameraApp.apk and LGCameraApp.odex in /system/priv-app/). After you've done that, put the modified file in that directory and set the appropriate permissions (rw-r--r--). I'll update the OP instructions to make it more clear for those on the G Pro 2 port.
[G2 Android Development] XxZombiePikachu:
Still doesn't work same update binary error