[Q] G3 - AOSP - Porting the camera - G3 Q&A, Help & Troubleshooting

Hey guys I'm a little sad :/
As many of you would know G3 camera support on AOSP is in a really poor condition.
The driver made by LG isn't present on AOSP, making it an utter disappointment after you get over the thrilling speed compared to LG's own rom.
I know the G2 camera has been ported, I also found a post requesting a port for G3 (last response in october), but that didn't happen.
I don't know in detail how hard the problem is, but I imagine that it should be doable unless of course this is completely proprietary code by LG.
I am imagining that you could simply move the right apk's to the phone and try out if something will work, unless of course it is in the LG kernel itself, but then maybe an LG kernel could be used with AOSP, who knows.
The guy who is working on LG XCam for both the G2 and G3 already said he will focus on LG's own roms, so that a no go as well. I have really been looking, but nothing seems to be up.
So is anyone working on this and does anyone know in detail how hard it is to solve?
Coming from Nexus 5 with SlimKat on it, LG G3 seems like the slowest thing known to man, haha, so AOSP is a must, preferably with a good camera as well.

1 moving some files wil not work start by understanding how a total framework works.
2 ya you can do kernel but do you know how it works with driver and app .
3 if you love the cam so mutch why not build a rom with lg framework ?

Jhinta said:
1 moving some files wil not work start by understanding how a total framework works.
2 ya you can do kernel but do you know how it works with driver and app .
3 if you love the cam so mutch why not build a rom with lg framework ?
Click to expand...
Click to collapse
1. I don't think the whole framework needs to be understood to port the functionality of the camera
2. No I don't, but I think the kernel is actually containing the driver, if I understand how a Linux Kernel works, but I could be wrong, since I don't know for sure on Android. Furthermore I was thinking both (parts of) the kernel and camera app could be applied to AOSP.
3. It's not the camera app or LG framework, it's the fact that the camera does not work properly on AOSP. I don't care about settings, GUI or functionality, but it simply performs like a phone from 5 years ago with 15 fps video and poor colors and constrast in images.

Related

any camera focus avancements

Just wondering if anyone has figured out why the camera on aosp Roms focuses for some and not for others. I've had the problem right from the very first aosp flash I did. Maybe a full data wipe and adb side load would help? I know there's a script work around but it doesn't make sense that it works for some and not others. Not to me anyways. But great job on the Roms. Really liking them and thanks.
bowhunt2005 said:
Just wondering if anyone has figured out why the camera on aosp Roms focuses for some and not for others. I've had the problem right from the very first aosp flash I did. Maybe a full data wipe and adb side load would help? I know there's a script work around but it doesn't make sense that it works for some and not others. Not to me anyways. But great job on the Roms. Really liking them and thanks.
Click to expand...
Click to collapse
The problem exist because of the differences in the Nexus 4 camera and the one in our phone. Because LG hasn't released open source drivers for our phone's camera (and/or doesn't see the monetary benefit in supporting 3rd party development) LGOG developers appear to be stuck using and trying to adapt the software from the Nexus 4. The camera will focus during the first launch of the camera apk then be unable to focus until the process is killed completely and restarted.
Those who are reporting that their camera works just fine in an AOSP ROM are one of the following: Those who have applied the kill / relaunch script, those who only tested their camera on first launch, or those who are so accustomed to crappy phone cameras that they consider anything greater than a completely blurry mess to be "in focus."
I often wondered if it was really working for some. But thanks for the info and I guess I will just try to stay patient. Hopefully there is an improvement soon. The camera takes great photos on lifeless but I really like the aosp Roms.

[Port][App] GS3 TouchWiz camera app for all AOSP 4.2.2 ROMs [4.3 beta now available!]

Hi! This is my first mod for Android; a partially working attempt at getting the Samsung camera (from the leaked 4.2.2 ROM; XUFME7) to work on AOSP ROMs. Not a skin, this is the full camera along with most of the features!
Want to see it in action? No screenshot - it looks exactly the same as on TW ROMs - but here's a video. http://www.youtube.com/watch?v=mYX4PSVDiIU Apologies for the terrible quality, but it's hard to film a phone with the Nexus 7's front camera, and I couldn't find a decent screen capture app :<
--
Port for Android 4.3
Beta version NOW AVAILABLE, click here for details + download: http://forum.xda-developers.com/showpost.php?p=46566446&postcount=135
It doesn't work as well as the 4.2.2 version - in particular, video recording is 100% broken, even in the AOSP camera - but you can still try it out if you don't mind this!
--
Port for Android 4.2.2
Working/Non-Working Features List:
What Works:
Front and back cameras
"Wand" Filters
Flash
Auto & Macro focus modes
Tap-to-focus
White Balance options
GPS tagging
Gallery shortcut (uses AOSP Gallery)
Shooting modes:
Single Shot
Best Photo
Face Detection
HDR
Beauty
Smile Shot
Low light
Possibly Working, depending on kernel:
(These features require that the mediaserver process can write to /sdcard (for burst shot/best face) and /data (for panorama). The only way to change this is using a modified kernel with an init.rc which gives it that access. In my experience, with Googy-Max kernel, Panorama works but the other two don't. Your mileage may vary.)
Burst shot
Best Face
Panorama
Not Working, may be fixed later:
Shutter sounds
Automatic mDNIe / screen brightness adjustment
Not Working, unlikely to be fixed:
Camcorder
Share Shot
Voice recognition
Weather/city photo tagging in the media database (what's this used for exactly?)
Untested:
Buddy Photo Share
External SD card
Download:
Download:
This patch is ONLY compatible with AOSP-based 4.2.2 ROMs running on the GT-I9300 and GT-I9300T; the international models of the Galaxy S3 (Exynos chip, no LTE)
CWM zip: http://d-h.st/sg8 (5.26 MB / MD5: f53d603f49de1bb0aba90546b9bbc1ce)
Notes:
This patch has only been tested on RootBox 4.1. Please let me know if you have trouble using it on any other ROM!
Disclaimer:
This is an experimental patch, and you install it at your own risk! I am not responsible for anything that occurs as a result of this. Always make backups.
Installation:
You need a recovery that allows you to install .zip files; most likely CWM or TWRP. But you probably already have one of these if you're running AOSP on this phone
1. Boot into recovery mode: turn the phone off, hold down VolumeUp+Home and then press the power button
2. Make a Nandroid backup (not obligatory, but recommended in case something goes wrong!)
3. Flash the camera mod zip
4. Wipe the Cache and Dalvik Cache - just in case
Hope you enjoy it! Now go out and take some awesome photos
Changelog:
20th July 2013: Released first version. Camera (+ most features) is functional. Camcorder appears but does not record successfully.
22nd July 2013: Released new version which should work on any AOSP ROM, instead of needing a custom built ROM.
17th October 2013: 4.3 beta release is out.
Hm, I'm guessing that the picture quality isn't different from the AOSP camera app and this tho there still is missing sources from Samsung that we'll never get.
Otherwise. Nice mod!
Eleve11 said:
Hm, I'm guessing that the picture quality isn't different from the AOSP camera app and this tho there still is missing sources from Samsung that we'll never get.
Otherwise. Nice mod!
Click to expand...
Click to collapse
Thank you
I've seen people talk about how the camera on AOSP is worse because of missing sources, but I'm not sure what sources these are. The Samsung kernel module is open source, and this mod replaces all the user space code related to the camera - as far as I know, anyway - with the TW versions. (Please correct me if I'm wrong on this )
This is purely anecdotal and rather hard to test accurately, but I never noticed much of a difference in picture quality between AOSP and TW, I just wanted the camera app because of the extra modes and options that are really useful.
I was not Using AOSP based ROMs only for the sake of camera.
But now, i can use any ROM i want..
Thannks man.. This is super cool.. will test this ASAP..
Well, the full version method didn't work for me on todays' CM nightly build. I installed it following the procedures, and then opened the camera app. The screen went black, and then froze. I restarted the phone, and it kept looping on the boot animation
Luckily I don't delete the CM updater temporary files, so I was able to boot into recovery and re-install the 'stock' CM build. Also, despite the fact that I mostly understood the instructions, they were quite confusing!
does hdr work? is it like the tw cam?
Sent from my GT-I9300 using xda app-developers app
kuci06 said:
Okay, so I just flashed the modified Rootbox rom, and the burst shot feature does not work properly. The little counter bar comes up, but doesn't shoot photos at all. Also breaks functionality after that, not even the close button works.
Click to expand...
Click to collapse
Just as I expected I'll have to figure out a fix for this somehow...
Writing to /data does seem to work, so maybe I can patch the Samsung lib to store burst shots there, and move them to the SD card from the camera apk :x
iSasha said:
Well, the full version method didn't work for me on todays' CM nightly build. I installed it following the procedures, and then opened the camera app. The screen went black, and then froze. I restarted the phone, and it kept looping on the boot animation
Luckily I don't delete the CM updater temporary files, so I was able to boot into recovery and re-install the 'stock' CM build. Also, despite the fact that I mostly understood the instructions, they were quite confusing!
Click to expand...
Click to collapse
Apologies for the confusing instructions :< I think I got carried away a bit with the technical details!
You cannot use this mod with an existing build of another ROM (like the CM nightlies) unless it has been compiled with the source code patches I provided. Samsung's camera libs are not compatible with normal AOSP builds, but my patches change the interface in AOSP to fix that.
It's a bit of a lofty goal but I hope that other ROMs will some day include these patches, because it doesn't affect normal camera operation, and it allows you to use the Samsung camera if you flash the appropriate libs...
I would like to provide builds of other ROMs in the future, but this is difficult to do because it takes me 2-3 days to download the source code of each ROM and 8 hours to compile it from scratch - this is why I only have RootBox right now. So it would be extremely helpful if other developers would integrate this.
Notor1ouS- said:
does hdr work? is it like the tw cam?
Click to expand...
Click to collapse
HDR works perfectly Exactly like in the TW 4.2 camera, you get an Options menu with Normal/Strong HDR effect and with the option to save original/HDR photo or just HDR.
Treeki said:
Apologies for the confusing instructions :< I think I got carried away a bit with the technical details!
You cannot use this mod with an existing build of another ROM (like the CM nightlies) unless it has been compiled with the source code patches I provided. Samsung's camera libs are not compatible with normal AOSP builds, but my patches change the interface in AOSP to fix that.
It's a bit of a lofty goal but I hope that other ROMs will some day include these patches, because it doesn't affect normal camera operation, and it allows you to use the Samsung camera if you flash the appropriate libs...
I would like to provide builds of other ROMs in the future, but this is difficult to do because it takes me 2-3 days to download the source code of each ROM and 8 hours to compile it from scratch - this is why I only have RootBox right now. So it would be extremely helpful if other developers would integrate this.
Click to expand...
Click to collapse
Oups... I just copied over the lib and camera files over using a root explorer app. I doubt that I'll have the patience to wait days to build it form source myself, but I'll be looking forward to see these libs integrated in future versions of CM!
"Not Working, unlikely to be fixed:
Camcorder"
is that a typo for "cam recorder" ? or cam recording is working just fine?
AvivEliyahu said:
"Not Working, unlikely to be fixed:
Camcorder"
is that a typo for "cam recorder" ? or cam recording is working just fine?
Click to expand...
Click to collapse
Camcorder is a term for video recorder.
Also op thanks this mod hope it gets implemented in the rom I'm using!
Sent from my GT-I9300 using xda app-developers app
@Treeki would you continue to publish updated Rootbox Nightlies with this camera every time Rootbox is updated?
EDIT: I also think you should move this to Android Development forum instead of apps and games because you are working on a ROM based of Rootbox sources... Not just the app itself..
Sent from my GT-I9300 using Tapatalk 2
sorry for quick quesrion...
if i merge this to rom, will it just replace the original cm camera or cm camera is still there and it make new icon for the sammy camera?
Sent from S3, power By Temasek'Rom and Kernel!
I'm quoting the answer provided on the Original Thread...
Treeki said:
.
It's a bit of a lofty goal but I hope that other ROMs will some day include these patches, because it doesn't affect normal camera operation, and it allows you to use the Samsung camera if you flash the appropriate libs...
.
Click to expand...
Click to collapse
If I'm not wrong it doesn't break CM Camera, it just helps Sammy camera to Partially work...
Sent from my GT-I9300 using Tapatalk 2
thanks~
Sent from S3, power By Temasek'Rom and Kernel!
jimbo77 said:
@Treeki would you continue to publish updated Rootbox Nightlies with this camera every time Rootbox is updated?
Click to expand...
Click to collapse
Hm.. that's something I hadn't thought about yet :x
I will try and publish a new one every few days but I don't have the resources to make daily builds, unfortunately...
Now that I have some more experience with the Android build system and I know exactly what needs to be changed, I'm going to look again at modifying the Samsung binaries to work with any AOSP ROM instead of doing this the other way round. That was my intention when I first started the project, but I changed tactics because I wasn't sure exactly how much I would need to modify.
I don't know if I'll succeed at this but I'll give it a shot ... If I could get it to work, it would be a much better solution because it should work on practically any ROM with just a flashable zip. Can't promise anything yet though :<
Treeki said:
Hm.. that's something I hadn't thought about yet :x
I will try and publish a new one every few days but I don't have the resources to make daily builds, unfortunately...
Click to expand...
Click to collapse
Well, the Rootbox Nightlies doesn't come out every day as well so I think it will be nicely timed with you, btw if you ever want a beta tester of some sort.. Shoot a PM and I'll be more than glad to help...
I'm a Rootbox user since long time so it will not affect me to try your builds...
Sent from my GT-I9300 using Tapatalk 2
Welp.
I was going to post a picture of myself facepalming... taken with the TW camera app, of course... but I figured XDA is just a bit too public for that.
It turned out that one single byte in mediaserver was all I needed to change for my original attempt from several days ago to work. I wish I had known that before I started all this stuff about compiling ROMs... I suppose it was a good learning experience, though. I really didn't expect the fix to be that simple.
So my final mod turns out to be much, much simpler:
- Use Samsung files, with one modified to add a version of Camera::connect that only takes one param
- Modify mediaserver to allocate a CameraService that is 12 bytes bigger than the AOSP version
I feel kinda dumb now. Oh well! Hindsight is 20/20. And... sometimes the simplest solutions turn out to be the right ones
I'll put together a CWM zip that should [hopefully] work on all ROMs and add it to the OP shortly! Now available. Please try it out and let me know how it goes, and what ROM you're using! Off to sleep now, at the very appropriate time of 9am...
It is working correctly on the temasek rom. Thanks a lot.
Treeki said:
Not Working, unlikely to be fixed:
Camcorder
Click to expand...
Click to collapse
first. really cool mod !!!! exactly what im waiting fot
Q
is it possible to change the shortcut to googlecam recorder , when we click on video?
and a shortcut to photosphere from sammys cam "scenes" would be cool
Gesendet von meinem GT-I9300 mit Tapatalk 2
Wow if this could be optimised with AOSP it will be perfect! Flashing it now.
Sent from my GT-I9300 using xda premium

LG Stock without LG look

I have a lot of experience with Linux but despite having similar roots, Linux and Android are certainly very different beasts so I have a pretty noob question...
Would it be technically possible to easily create a ROM based on LG Stock, like Fulmics, but without the LG style and bloat? Basically LG Framework and camera but the rest (settings, dialer, icons, everything else) is pure stock Android.
For doing that You have to port google stock android app to lg g3 or theme the apps you need....i think so
Hi there. Your over-complicating the issue.
The best way to go about this would be to root your phone, freeze bloat-apps (I use system tuner pro to disable the annoying sms that my carrier sends through broadcast channel) and then install nova-launcher or something of the sorts. I now completely switched over to CM.. still on 12.1 though, as 13 is a tad buggy atm.
Not sure on how to go about the settings menus and stuff modification, but maybe someone else has figured that one out.
As for creating an entire rom based on LG's, I'm more worried about the legal constraints than anything else... their software might be android in its core, but it's still proprietary.
Maybe you can learn more if you start helping developers with current ROM's. I've always wanted to but never had the time.
Teoritically It is possible porting LG ui and camera to cm but no one will do it because framework need do much sources otherwise it will fc
Its not even worth the work
Hi
sebatox said:
Teoritically It is possible porting LG ui and camera to cm but no one will do it because framework need do much sources otherwise it will fc
Its not even worth the work
Click to expand...
Click to collapse
I was thinking the other way. Taking a stock based ROM like Fulmics have done but stripping out the hideous LG tweaks such as the oversized navigation soft-touch buttons and the ugly status bar icons.
Also replacing LG Dialer, calculator, calendar, email, etc with the normal Android ones.
xposed all the way plus fulmocs 3.5 mm on d850 g4 tweakbox gravity box and android theme engine
TheMadScientist420 said:
xposed all the way plus fulmocs 3.5 mm on d850 g4 tweakbox gravity box and android theme engine
Click to expand...
Click to collapse
Thanks. I wanted to try an avoid xposed if poss because it messes up Snapchat but it may be the unavoidable way to go.
true it sucks too cause when it come to lg. The g2 g3 and id say so on that stock roms are better in my opinion but i dont use a lotta app most people do i dont facebook i dont even really know whT snap chat is lol im old fashioned face book is the devils tool no good will ever come of it.
Stock rom without personalization layer
It would be interesting to have a stock rom and delete completely its layer of personalization (LG UX 3.0) and have pure android without customization. Is there any possibility to delete your personalization layer? In this aspect, the rom wins much fluidity. One of the main disadvantages of using rom like cyanogenmond, is the loss of the quality of the camera (Due to the framework of LG) but its fluidity and performance is extraordinary.

Stock Rom vs Custom Roms.

Today, I went back to the Stock rom, Lg G3 marshmallow... even tho i have bloatwares of Tmobile and other apps, the performance is smooth, battery is good also i found that the phone doesn't get hot on the back like when using custom roms.
I have been using different custom roms, like N&N, Fulmics 5.3 and 6.0 ... etc but all had the issue of getting my phone super hot and not smooth as stock.
Are you using a custom rom for Lg g3?
If yes, which one and why you choose it over the stock? pros and cons of the custom rom?
Thanks!
Shady282 said:
Today, I went back to the Stock rom, Lg G3 marshmallow... even tho i have bloatwares of Tmobile and other apps, the performance is smooth, battery is good also i found that the phone doesn't get hot on the back like when using custom roms.
I have been using different custom roms, like N&N, Fulmics 5.3 and 6.0 ... etc but all had the issue of getting my phone super hot and not smooth as stock.
Are you using a custom rom for Lg g3?
If yes, which one and why you choose it over the stock? pros and cons of the custom rom?
Thanks!
Click to expand...
Click to collapse
I am usong fulmics 6 1 and is stable for me..... Though the 4g bumps for some time but still it is working fine! Only issue i am having right now is the mac address that has been changed automatically and am not able to reset it back..... Otherwise the rom is good.....
Xial Xahab said:
I am usong fulmics 6 1 and is stable for me..... Though the 4g bumps for some time but still it is working fine! Only issue i am having right now is the mac address that has been changed automatically and am not able to reset it back..... Otherwise the rom is good.....
Click to expand...
Click to collapse
well i flashed Fulmics 6.1... the cellphone network wasn't working and wasn't able to power off the phone or restart it... so i flashed 30d modem and bootloader and everything is working fine now... i hope we get nougat.. but it seems it is going to come only as AOSP ...it is good if IR blaster and keyboard were ported, but we have to live with crappy camera :/
Shady282 said:
well i flashed Fulmics 6.1... the cellphone network wasn't working and wasn't able to power off the phone or restart it... so i flashed 30d modem and bootloader and everything is working fine now... i hope we get nougat.. but it seems it is going to come only as AOSP ...it is good if IR blaster and keyboard were ported, but we have to live with crappy camera :/
Click to expand...
Click to collapse
Ok. But What is fulmics Base? And what is your favourit kernel for it?
Xial Xahab said:
Ok. But What is fulmics Base? And what is your favourit kernel for it
Click to expand...
Click to collapse
I m using the fulmics kernel and everything.. it has a very nice battery life ! and very smooth and also i flashed update for the GPU posted by someone in the threat... search for gpu .. u will probably find it.
Shady282 said:
Today, I went back to the Stock rom, Lg G3 marshmallow... even tho i have bloatwares of Tmobile and other apps, the performance is smooth, battery is good also i found that the phone doesn't get hot on the back like when using custom roms.
I have been using different custom roms, like N&N, Fulmics 5.3 and 6.0 ... etc but all had the issue of getting my phone super hot and not smooth as stock.
Are you using a custom rom for Lg g3?
If yes, which one and why you choose it over the stock? pros and cons of the custom rom?
Thanks!
Click to expand...
Click to collapse
I been off of stock for awhile now. I rooted my phone and flashed a custom rom within two weeks. Way too much bloatware on stock. I tried a few roms. My favourite was Dirty Unicorns, but I am on Slimsabre 5.1.1. now. I am considering trying Paranoid Android to see how it is. Plus right now I am running without gapps, which is another advantage to custom roms. My battery life has greatly improved and I love it without Google Play Services. I prefer the AOSP roms over even stock roms like Fulmics. I tried Fulmics and I wasn't really impressed with it. More customization I have found, and I like the custom kernels settings that are available. Only thing I do miss is the knock code feature. It was so much easier and faster to unlock the phone that way. I had overheating issues as well. Once I lowered my resolution to 1080p the overheating woes were done.
Andrewoidd said:
I been off of stock for awhile now. I rooted my phone and flashed a custom rom within two weeks. Way too much bloatware on stock. I tried a few roms. My favourite was Dirty Unicorns, but I am on Slimsabre 5.1.1. now. I am considering trying Paranoid Android to see how it is. Plus right now I am running without gapps, which is another advantage to custom roms. My battery life has greatly improved and I love it without Google Play Services. I prefer the AOSP roms over even stock roms like Fulmics. I tried Fulmics and I wasn't really impressed with it. More customization I have found, and I like the custom kernels settings that are available. Only thing I do miss is the knock code feature. It was so much easier and faster to unlock the phone that way. I had overheating issues as well. Once I lowered my resolution to 1080p the overheating woes were done.
Click to expand...
Click to collapse
well.. AOSP has a big disadvantage for me because of the Camera quality, a lot of force close and the lack of features, IR blaster and keyboard...but i guess some were ported?... and i guess the knock code feature can be added through xposed? i remember seeing a module there.
Also, not sure i can live without gapps, for updates and looking for apps and also the voice commands, make the phone smart, useful and fun.
overheating issues with aosp?
At the end, we are going to end up with AOSP one day because of Nougat won't be supported by snapdragon 801... and CM is doing a good job with it but it seems that what they are going to port is just some features and the UI... which makes it quiet hard to leave the full stock rom for AOSP .
Shady282 said:
well.. AOSP has a big disadvantage for me because of the Camera quality, a lot of force close and the lack of features, IR blaster and keyboard...but i guess some were ported?... and i guess the knock code feature can be added through xposed? i remember seeing a module there.
Also, not sure i can live without gapps, for updates and looking for apps and also the voice commands, make the phone smart, useful and fun.
overheating issues with aosp?
At the end, we are going to end up with AOSP one day because of Nougat won't be supported by snapdragon 801... and CM is doing a good job with it but it seems that what they are going to port is just some features and the UI... which makes it quiet hard to leave the full stock rom for AOSP .
Click to expand...
Click to collapse
Yes the camera quality suffers but for me, I don't use the camera really so I am fine with it. The knock code from xposed only works when the screen is on, which defeats the purpose of the knock code I think. There is f-droid, and apk's that I use. Plus if I switch roms, titanium backup has my apps backed up so it saves the headache of having to install each one again. I've been getting away from Google do no Gapps is the first part. I am starting to trust open source more now. I had overheating issues but once I lowered the resolution to 1080p it fixed the issue.

Best LG G3 D855 AOSP CAMERA

Hi, I am looking for the best camera app for my D855 with Dirty Unicorn 7.1.2. Can you help me? there is an original camera's porting for aosp?
gianm.93 said:
Hi, I am looking for the best camera app for my D855 with Dirty Unicorn 7.1.2. Can you help me? there is an original camera's porting for aosp?
Click to expand...
Click to collapse
what should i do?
Impossible.
I have tried htc 10 camera port, snap camera hdr, google camera. They are all the same. The best alternative is lg g2 camera port. You can see the difference in low light conditions.
This one:
https://www.androidfilehost.com/?w=files&flid=146615
You have to downgrade your display resolution to 1920x1080 @ 420 dpi.
Coolgoly said:
This one:
https://www.androidfilehost.com/?w=files&flid=146615
You have to downgrade your display resolution to 1920x1080 @ 420 dpi.
Click to expand...
Click to collapse
Why I have to downscale the screen resolution?
tylerberk said:
Impossible.
Click to expand...
Click to collapse
Why the porting is impossible?
gianm.93 said:
Why the porting is impossible?
Click to expand...
Click to collapse
LG didn't release the sources.
Why there is LG G2 camera ported (without certain features, but it is), and there aren't any g3 camera port :/
TheBerebian said:
Why there is LG G2 camera ported (without certain features, but it is), and there aren't any g3 camera port :/
Click to expand...
Click to collapse
Because no one did it. You can try.
gianm.93 said:
Why I have to downscale the screen resolution?
Click to expand...
Click to collapse
Because G2 has a full hd display and this app comes from it.
If you run it on a qhd display like the G3 one you wiil encounter an incorrect visualization.
It's easy to change the resolution and dpi
using terminal emulator,if the phone is rooted
Coolgoly said:
Because G2 has a full hd display and this app comes from it.
If you run it on a qhd display like the G3 one you wiil encounter an incorrect visualization.
It's easy to change the resolution and dpi
using terminal emulator,if the phone is rooted
Click to expand...
Click to collapse
Easy DPI Changer works as well, and it is best to use lg g3 on 1080p res makes the phone much more fast and stable.
Hi, I also miss the superior quality of camera from stock ROM. I was trying to follow some tutorials on porting vendor apps to AOSP (getting the camera apk file, some libraries, framework files and permission files and compiling them all together), but it never worked with the camera. Sadly, I'm pretty sure that if it was possible, somebody smarter would have already done it. With LG being jerks and not releasing the sources, we most likely won't get the stock camera on AOSP, ever. That being said, I can think of four possible ways of dealing with the situation.
First, use stock ROM only. Yes, I know, that sucks. Or stock based ROM such as Fulmics, if you really think there is a difference between these two.
Second option is multirom. I was using it for last few months with LineageOS as primary and stock as secondary ROM, and everytime when I knew I would be taking some photos (when I went to concerts/holidays/celebrations/some unusual stuff), I booted to stock ROM and was good to go.
Third option is to have a TWRP backup of your current system and of stock ROM and restoring the backup of the ROM you want to use (AOSP for daily usage, stock for the days you know you'll be using your camera a lot). The previous (multirom) option is faster and easier to manage, and you can always add new ROMs and experiment as you wish. However, it requieres a custom recovery and I wasn't able to pass SafetyNet test with multirom and LineageOS with Magisk. Also, multirom makes a little bit of a mess at your /system partition. This third option (backing up/restoring system in TWRP) takes longer, the backups are large, but I'm liking that a bit more for some reason - it feels "cleaner" and more transparent to me.
The last option is to be on AOSP and use a camera app of your choice which you find has the best quality. I was experimenting with this a lot and tried dozens of camera apps (including the LG G2 camera port). Honestly, most of the photos were about the same quality. Even the G2 camera wasn't better than the rest I tested. I also compared the test pictures to stock camera (yes, I took the time to reboot to my secondary ROM for every test I was making at that time) and I was very sad that nothing was close to the stock camera quality. LG really does some magical post processing which works like a charm and looks really good. Anyways, after the tests I decided to stick with Snap Camera HDR. It has a trial and a paid version on the Play Store, in case you want to give it a shot. At good light conditions, the photos are actually comparable to stock camera. There is tons of settings to play with. It has a special "LG mode", which actually works even on AOSP ROMs and enables some LG specific features. It can also record 4K videos with stabilization. If you give it a try and really look into the settings (I recommend going also to the developer's website, where every option in the settings is described), you might end up with decent stock camera replacement. It took me about an hour to go through all the settings, but I'm fairly satisfied with the photos now. Although it has been last updated almost a year ago on the Play Store, there is a much more recent beta version here on the xda forums.
tl;dr I believe that porting stock camera app to AOSP is impossible. If you want stock camera quality, you really have to use stock ROM one way or another (either be on stock, or have a stock ROM TWRP backup and restore it whenever you want to take a good photo, or use multirom to switch your current ROM more quickly). If you want to use AOSP exclusively, I recommend Snap Camera HDR.
felmaster said:
Second option is multirom. I was using it for last few months with LineageOS as primary and stock as secondary ROM, and everytime when I knew I would be taking some photos (when I went to concerts/holidays/celebrations/some unusual stuff), I booted to stock ROM and was good to go.
Click to expand...
Click to collapse
There's another option similar (or not) to multirom:
For installing multiple ROMs I use DualBootPatcher, a great method devised originally for the SGS4, but available for a number of devices now, including our G3. I highly recommend it, it seems cleaner than multirom to me and more user friendly. It is possible to flash ROMs from within the app (they have to be patched first, this also happens inside the app, hence the name), backup, restore and more. There may be some hiccups now and then, but all in all it works smoothly.
Just search the LG G3 forums for DualBootPatcher, there's a thread with download links, description and how-to.
LG G3 AOSP Camera Comparison
felmaster said:
Hi, I also miss the superior quality of camera from stock ROM. I was trying to follow some tutorials on porting vendor apps to AOSP (getting the camera apk file, some libraries, framework files and permission files and compiling them all together), but it never worked with the camera. Sadly, I'm pretty sure that if it was possible, somebody smarter would have already done it. With LG being jerks and not releasing the sources, we most likely won't get the stock camera on AOSP, ever. That being said, I can think of four possible ways of dealing with the situation.
First, use stock ROM only. Yes, I know, that sucks. Or stock based ROM such as Fulmics, if you really think there is a difference between these two.
Second option is multirom. I was using it for last few months with LineageOS as primary and stock as secondary ROM, and everytime when I knew I would be taking some photos (when I went to concerts/holidays/celebrations/some unusual stuff), I booted to stock ROM and was good to go.
Third option is to have a TWRP backup of your current system and of stock ROM and restoring the backup of the ROM you want to use (AOSP for daily usage, stock for the days you know you'll be using your camera a lot). The previous (multirom) option is faster and easier to manage, and you can always add new ROMs and experiment as you wish. However, it requieres a custom recovery and I wasn't able to pass SafetyNet test with multirom and LineageOS with Magisk. Also, multirom makes a little bit of a mess at your /system partition. This third option (backing up/restoring system in TWRP) takes longer, the backups are large, but I'm liking that a bit more for some reason - it feels "cleaner" and more transparent to me.
The last option is to be on AOSP and use a camera app of your choice which you find has the best quality. I was experimenting with this a lot and tried dozens of camera apps (including the LG G2 camera port). Honestly, most of the photos were about the same quality. Even the G2 camera wasn't better than the rest I tested. I also compared the test pictures to stock camera (yes, I took the time to reboot to my secondary ROM for every test I was making at that time) and I was very sad that nothing was close to the stock camera quality. LG really does some magical post processing which works like a charm and looks really good. Anyways, after the tests I decided to stick with Snap Camera HDR. It has a trial and a paid version on the Play Store, in case you want to give it a shot. At good light conditions, the photos are actually comparable to stock camera. There is tons of settings to play with. It has a special "LG mode", which actually works even on AOSP ROMs and enables some LG specific features. It can also record 4K videos with stabilization. If you give it a try and really look into the settings (I recommend going also to the developer's website, where every option in the settings is described), you might end up with decent stock camera replacement. It took me about an hour to go through all the settings, but I'm fairly satisfied with the photos now. Although it has been last updated almost a year ago on the Play Store, there is a much more recent beta version here on the xda forums.
tl;dr I believe that porting stock camera app to AOSP is impossible. If you want stock camera quality, you really have to use stock ROM one way or another (either be on stock, or have a stock ROM TWRP backup and restore it whenever you want to take a good photo, or use multirom to switch your current ROM more quickly). If you want to use AOSP exclusively, I recommend Snap Camera HDR.
Click to expand...
Click to collapse
Snap Camera would look good on good light conditions but the actual problem starts with low light, Snap camera adds too much noise on photos compared to LG Camera Port, LG camera port is also great on good light conditions. Any camera app can seem close to stock on good light but real comparison should be made on low light. None of them is comparable to stock LG G3 camera of course, i think laser autofocus and object tracking don't work in any of them.
Check my comparison below(On Snap Camera, LG mode and noise reduction enabled):
https://yadi.sk/d/wEn4oOTw3JxEik
felmaster said:
Hi, I also miss the superior quality of camera from stock ROM. I was trying to follow some tutorials on porting vendor apps to AOSP (getting the camera apk file, some libraries, framework files and permission files and compiling them all together), but it never worked with the camera. Sadly, I'm pretty sure that if it was possible, somebody smarter would have already done it. With LG being jerks and not releasing the sources, we most likely won't get the stock camera on AOSP, ever. That being said, I can think of four possible ways of dealing with the situation.
Click to expand...
Click to collapse
You know how to port the Stock Music player of Fulmics 7.5 to AOSP?
I am on Resurrection Remix 7.1.2
I was looking for best camera without any problems
Finally i installed Google Camera. Works fine
Not the best quality but is ok
vampirakos said:
I am on Resurrection Remix 7.1.2
I was looking for best camera without any problems
Finally i installed Google Camera. Works fine
Not the best quality but is ok
Click to expand...
Click to collapse
Try Snap Camera, or Open Camera.
What about Snapdragon Camera? There is a versione for Nougat that we could use?
Try Footej Camera

Categories

Resources