[No Root][6.0+]V10 Camera fully ported to G4 [DISCONTINUED]

Y

yener90

Guest
Hello,

I fixed the bugs from other port, now it works perfectly :)
It also supports FHD 60 FPS recording.

No need to change dpi
No force close on camera manual mode


Installation:
Just install it like a normal apk

Update V5.1:
  • no more double video sizes
  • removed 5min limit (fixed)
  • changed certificate, old one got detected as virus from some antivirus (you need to remove your old app)

Older Changelogs:
Code:
[U]Update V4:[/U]
[LIST]
[*]fixed front zoom
[*]new icon
[/LIST]

[U]Update V3:[/U]
[LIST]
[*]based on marshmallow version of v10
[*]all errors should be fixed (not sd card)
[/LIST]

[U]Update V2:[/U]
[LIST]
[*]Fixed settings manual video mode
[*]Fixed panorama mode (thx to defcomg for his hint) :)
[/LIST]
Known Bugs:
  • sdcard

SD card info:
LG forbids to change camera storage selection for normal apps, there are two solutions
  • install as system app (rooted users only)
  • use sd card as internal (this method works also for non rooted phones)

i will not add lollipop support :rolleyes:
too much work. and if other models have problems -> add log
I only have 815 so therefore cant know whats the problem on your phone

Tested on my stock unrooted marshmallow G4

Thanks to:
@defcomg for the first working port
@gedas5 for the donation :)
@outrun86 for the donation :)
 

Attachments

Last edited:

dr_jerremy

Senior Member
Apr 8, 2010
809
153
0
Pozarevac
Manual mod works perfect!!! Only problem is,I can not switch between sd card and internal...massage is sd card is full and I have 25gb free...If h can fix this ,camera will bee superb... Manual mod works like charm
EDIT : When go to manual video and try to open settings,I get FC ..for nkw storage and settings are only issue...tnx for hard work
Sent from my LG-H815 using XDA-Developers mobile app
 
Last edited:
Y

yener90

Guest
Im using my sd card as internal, so dont have the error with sd card :/
are you using marshmallow?

I realized the settings errorlater while testing. Unfortunately this will be really hard to fix :(
 

mixxy

Senior Member
Nov 29, 2007
549
116
0
T.Dot
I cannot use my internal Sd card. Using LP 5.1 stock.

Manual video works perfectly, but when I switch to manual camera I get a force close. On my H812
 

gedas5

Senior Member
Dec 12, 2008
189
57
48
@ yener90 thank you for your efforts. Strangely there is no manual controls in video mode - LG G4 815 European, MM 6.0.

edit: it is actually working :) I didn't realise that I have to select manual video mode by clicking on 3 dots :) so the only thing that is not working is the settings as they force close so we are pretty much stuck with UHD 17Mbps.
 
Last edited:

difxati

Member
Apr 22, 2012
5
0
0
Work perfectly on korean Variant f500k(unroot stock mm)
Except fc on manual video setting, fc on panorama mode, awb always show 0k(both manual video and camera) and cannot save in intenal sd

Thank you so much
 

samukinson

Senior Member
Oct 28, 2008
54
10
0
Would love to have this on my G4, but force closes when gets startet in every way on RESURRECTION REMIX OS [5.6.4]
 
Last edited:
Y

yener90

Guest
Tried to fix panorama -> will not work
because the package is renamed, also the libraries internal names need to be renamed.
If you edit library files, they wont work anymore because of signment etc.
So there is only one way to fix it -> use original name
-> using original name will conflict with original camera
-> you would need to replace orginal camera -> root would be required
 

Tomek33

Member
Sep 29, 2015
21
13
0
Installed on my H815 v10e. Manual Video works amazing. but can't choose to save on SD card app will FC, also manual camera will FC. Mute microphone and choosing Left or right microphone not work too. 4K video recording can't be turned on :(
Manual ISO, Shutter, white balance and focus works great during recording.

I think we need a better version for rooted users to replace original camera app to decrease number of FC
for unrooted users keep this app as it is, if no more fixes can be done.

Big thanks to @defcomg and @yener90 for hard work!!!
 
Last edited:
  • Like
Reactions: juve10ntus

defcomg

Senior Member
Dec 10, 2006
3,852
3,297
0
30
Curios @Tomek33 does it fc on all other Video Res or only 4k? I disabled the ext SD code as it was somewhat different on v10 than on the g4 caused an error on start also if fc on all other res its possible due to the bitrate method which caused that array out of bounds from the other thread

Sent from my NX503A using Tapatalk

---------- Post added at 03:04 PM ---------- Previous post was at 03:03 PM ----------

@yener30 you can rename native libs also but as far as I saw there was only one lib that needed renaming in the jni method and I did so not sure why panorama fc

Sent from my NX503A using Tapatalk
 
  • Like
Reactions: Tomek33

gedas5

Senior Member
Dec 12, 2008
189
57
48
Curios @Tomek33 does it fc on all other Video Res or only 4k? I disabled the ext SD code as it was somewhat different on v10 than on the g4 caused an error on start also if fc on all other res its possible due to the bitrate method which caused that array out of bounds from the other thread

Sent from my NX503A using Tapatalk

---------- Post added at 03:04 PM ---------- Previous post was at 03:03 PM ----------

@yener30 you can rename native libs also but as far as I saw there was only one lib that needed renaming in the jni method and I did so not sure why panorama fc

Sent from my NX503A using Tapatalk
@ defcomg/yener90

Anyway to check why settings force close when in manual video? Without the settings we have no options of frame rate/resolution/quality. Currently it is by default UHD 17Mbps so quality is not great :)
Apart from that at least we now have manual controls in video mode to battle those overexposed videos!!! :good::laugh:
 
Y

yener90

Guest
Curios @Tomek33 does it fc on all other Video Res or only 4k? I disabled the ext SD code as it was somewhat different on v10 than on the g4 caused an error on start also if fc on all other res its possible due to the bitrate method which caused that array out of bounds from the other thread

Sent from my NX503A using Tapatalk

---------- Post added at 03:04 PM ---------- Previous post was at 03:03 PM ----------

@yener30 you can rename native libs also but as far as I saw there was only one lib that needed renaming in the jni method and I did so not sure why panorama fc

Sent from my NX503A using Tapatalk
thats the reason of force close:
Code:
04-27 12:46:14.718 12407 13027 E AndroidRuntime: FATAL EXCEPTION: ConverPreviewTask
04-27 12:46:14.718 12407 13027 E AndroidRuntime: Process: com.lge.cam3ra, PID: 12407
04-27 12:46:14.718 12407 13027 E AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for void com.lge.cam3ra.util.ColorConverter.yuv420spToBitmap(android.graphics.Bitmap, byte[], int, int) (tried Java_com_lge_cam3ra_util_ColorConverter_yuv420spToBitmap and Java_com_lge_cam3ra_util_ColorConverter_yuv420spToBitmap__Landroid_graphics_Bitmap_2_3BII)
04-27 12:46:14.718 12407 13027 E AndroidRuntime: 	at com.lge.cam3ra.util.ColorConverter.yuv420spToBitmap(Native Method)
04-27 12:46:14.718 12407 13027 E AndroidRuntime: 	at com.lge.cam3ra.managers.PanoramaGuideManagerBase$ConvertPreviewTask.job(PanoramaGuideManagerBase.java:281)
04-27 12:46:14.718 12407 13027 E AndroidRuntime: 	at com.lge.cam3ra.managers.PanoramaGuideManagerBase$ConvertPreviewTask.run(PanoramaGuideManagerBase.java:266)
Java_com_lge_cam3ra_util_ColorConverter_yuv420spToBitmap does exist in the library, although doesnt work.
So i believe it doest use the library because its modified.