yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Themes and Apps] defcomg:
Nice I'm curious tho when using slow mo 120fps /240fps is eis enabled ?

By default freedcam auto disables eis/dis because it locks up the camera and these is the same procedure done on other Qualcomm device camera apps.

If the 6p is different it can get excluded from disabling eis automatically
[Nexus 6P Themes and Apps] mitezh:
Tilt your phone right side..i mean the camera should be on ur right hand side and u r good to go:)
[Nexus 6P Themes and Apps] Immortalis:
It works, lol, thanks, didn't think this way :D
[Nexus 6P Themes and Apps] mykenyc:
Could this be made to work with http://xdaforums.com/android/software/mod-magisk-v1-universal-systemless-t3432382 Magisk?
[Nexus 6P Themes and Apps] Marton7:
FreeDcam is a good application . In future it is possible to Implement:

- HDR

- EIS (functional)

- Raw

- 180 rotation bug resolved

?

Thank you very much for the mod! :D
[Nexus 6P Themes and Apps] mitezh:
Anytime brother☺
[Nexus 6P Themes and Apps] tarroyo:
[MENTION=377973]defcomg[/MENTION] Good looks on this! Gonna test it out for a few days.
[Nexus 6P Themes and Apps] defcomg:
Cool
[Nexus 6P Themes and Apps] Dat_GS3_guy:
Following and installing shortly. I could have sworn the N6p supported 1080p60 at some point...
[Nexus 6P Themes and Apps] ViRb3:
Epic job my friend! :)
[Nexus 6P Themes and Apps] Dat_GS3_guy:
So how would one uninstall this and get regular slow motion back?
[Nexus 6P Themes and Apps] Dat_GS3_guy:
bueller, bueller?
[Nexus 6P Themes and Apps] joeyddr:
Open the app and choose stock mm
[Nexus 6P Themes and Apps] Dat_GS3_guy:
Yep, just found it. Thanks!
[Nexus 6P Themes and Apps] FPSUsername:
[MENTION=377973]defcomg[/MENTION] I've seen your posts in the OP2 thread, does this app support the phone or do I have to use the specific app-release.apk you shared in that thread?
[Nexus 6P Themes and Apps] defcomg:
You can use the one from play store or github
[Nexus 6P Themes and Apps] FPSUsername:
Github seems outdated (v0.4 beta, or I'm looking at the wrong one) and it's not available in the play store
[Nexus 6P Themes and Apps] Raiden350:
I don't really understand step 6, where am i supposed to clic ? :(
[Nexus 6P Themes and Apps] BillyCaminero:
it does not work in Nougat Nexus 6P :(
[Nexus 6P Themes and Apps] defcomg:
Attach libmmcamera_imx377.so from N

From /vendor/lib/
[Nexus 6P Themes and Apps] BillyCaminero:
Ready...
[Nexus 6P Themes and Apps] defcomg:
Seems that's from M try reflash vendor partition or if you used backup function restore backup then reattach the file
[Nexus 6P Themes and Apps] BillyCaminero:
Try this
[Nexus 6P Themes and Apps] Xami:
yup, its the same as on Nexus 5X on nougat same size.
[Nexus 6P Themes and Apps] GilbertoXDA17:
This mod work on android Nougat?

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 6P Themes and Apps] zetsumeikuro:
Would I just overwrite the libmmcamera on my device with the one that was posted on the thread? Seems that the camera does work, but when I record video it doesn't save what I recorded. Thanks!
[Nexus 6P Themes and Apps] defcomg:
Give this a try
[Nexus 6P Themes and Apps] GilbertoXDA17:
Work in N?

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 6P Themes and Apps] defcomg:
It should I don't have a 5x but patch is same as m lib is similar seem Google just moved the order of the code around give it a try
[Nexus 6P Themes and Apps] BillyCaminero:
now is worse, does not work any camera :(
[Nexus 6P Themes and Apps] zetsumeikuro:
Doesn't work, still does the same as before. When you record and stop it's just a blank video.
[Nexus 6P Themes and Apps] defcomg:
Could you logcat the video recording and upload sample file not sure if its the app recording or Google messed something in some lib to kill it but there are two other ways to get 60fps
[Nexus 6P Themes and Apps] zetsumeikuro:
Okay, ran the logcat while recording. File size for the recording is only 73kb~, it's probably not even recording at all.

Logcat - https://drive.google.com/open?id=0B4aDWOPHQ1kPVG8tNEZWeDlwdkU

Video file - https://drive.google.com/open?id=0B4aDWOPHQ1kPUTBIR2hBQ3ZITnc
[Nexus 6P Themes and Apps] wahyuwidi:
Hello [MENTION=377973]defcomg[/MENTION] i have pull my lib from xiaomi mi4 imx214 camera libs,. can you please edit it to have take 60fps and 64s long exposure ,. thanks
[Nexus 6P Themes and Apps] defcomg:
Try this see if you can reach 50fps if it's working I will adjust it to reach 60fps

As for 64s That needs some research the lib structure is a mess usually finding max line count you can adjust max expo time I can't locate it if api2 works you can do a dumpsys media.camera then I may be able to calculate the value another thing the 32 s value is hardcoded in the hal so that would need changing too
[Nexus 6P Themes and Apps] defcomg:
From this log it seems like camera outright failed in freedcam menu save camera parameters also pull camera.msm89xx.so from /system/lib/hw/
[Nexus 6P Themes and Apps] :
hello, i saw your video on youtube and you said that this will support N soon? will definitely wait! :o

edit: tried the mod in 5x, all was detected in lib change and set up. recorded a video but its not saving, its saying 'bevor start' :(
[Nexus 6P Themes and Apps] zetsumeikuro:
https://drive.google.com/open?id=0B4aDWOPHQ1kPMGNVN21zeVF3RkE There is the file.
[Nexus 6P Themes and Apps] E30Nova:
So after doing all the steps, does this work with any camera app or do we have to use the app from the OP?
[Nexus 6P Themes and Apps] Xami:
Any update on nougat?
[Nexus 6P Themes and Apps] Metsuki19:
The rotation fix doesn't seem to work, all my videos end up upside-down.
[Nexus 6P Themes and Apps] Just_Rise:
I had the same doubt ,almost getting back to Marshmallow😥
[Nexus 6P Themes and Apps] HugoMoreira:
But can you get a 60FPS video ?
[Nexus 6P Themes and Apps] Brusilovsky:
Snap camera ?

Hello!

Is it possible to make the support of other programs, in particular snap camera?

Thank you!
[Nexus 6P Themes and Apps] defcomg:
The One in CM based ROMs?
[Nexus 6P Themes and Apps] Brusilovsky:
Out of 6.01 stock firmware Nexus 5x
[Nexus 6P Themes and Apps] defcomg:
Best is to mail the developer and request it
[Nexus 6P Themes and Apps] zetsumeikuro:
Just chiming in to see if any additional logcats etc are needed? Hope things with the update are progressing well :).
[Nexus 6P Themes and Apps] defcomg:
Oh right I forgot yeah Google did something to camera 1 no video records media recorder fails so the old way is totally broken but I have it working via camera 2 I'm using a modified version of googles camera 2 video test app works but ui is plain AF if you don't mind the and Need 60fps get me on telegram @ defcomk
[Nexus 6P Themes and Apps] mark21227:
Yea
[Nexus 6P Themes and Apps] :
is this possible via stock google camera? :confused:
[Nexus 6P Themes and Apps] hanschke:
I hope too to see it on stock google camera
[Nexus 6P Themes and Apps] treIII:
So if I use this will the stock Google camera still work? If like to use both if possible
[Nexus 6P Themes and Apps] dakore:
Have you noticed lower video quality when using this mod in low light conditions (in room with indoor lights)? Videos shows much more compresion signs than same videos taken with google camera+stock lib. I tried changing quality settings of 1080hfr profile but I don't see any gain.

I use google camera for photos (hdr), and freedcam for videos. In case I want to mess up with slomo, I use tasker profiles posted in this thread to switch between modded and stock lib file.
[Nexus 6P Themes and Apps] defcomg:
Increase bitrate encoder.video.profile=high this will force high avc profile incase not used
[Nexus 6P Themes and Apps] joedajoester:
What is this Google camera 2 video test app that you speak of? I'm guessing this still isn't working on Nougat?

Thank you
[Nexus 6P Themes and Apps] dakore:
Can you point me where to change this? I've looked only custommediaprofile.txt and inside freedcam settings. Thanks!
[Nexus 6P Themes and Apps] defcomg:
In the menu Select 1080pHFR then tap on Video Profile Editor then in video Bitrate enter

100000000 that's a 100mbps you can probably try a higher value if it still does not look right
[Nexus 6P Themes and Apps] NMGXDA2:
Crashes after 1 second of video. Camera2 API works fine but, of course, no 60fps.
[Nexus 6P Themes and Apps] Techstro:
Same here, but hey, it's nougat. Just gotta wait, or give it up. That's where I am. Gonna fiddle with some things though...
[Nexus 6P Themes and Apps] defcomg:
Telegram Camera Mod Channel

Cam @ Mods

Android Camera Mods

https://telegram.me/cammods
[Nexus 6P Themes and Apps] NMGXDA2:
Did that. Didn't help.
[Nexus 6P Themes and Apps] defcomg:
Add this at the bottom of the build.prop

media.stagefright .legacyencoder =true

media.stagefright.less-secure=true

See if it records
[Nexus 6P Themes and Apps] NMGXDA2:
OK I spoke to soon. The app worked but it's a REALLY basic app. I want it to work with FreeDCam
[Nexus 6P Themes and Apps] defcomg:
You add the build.prop entries ?
[Nexus 6P Themes and Apps] NMGXDA2:
Not yet

---------- Post added at 03:51 AM ---------- Previous post was at 03:45 AM ----------

OK did so and rebooted. Now FreeDCam is upside down and hitting record brings up a distorted image and the 1 second glitch still happens.

---------- Post added at 03:53 AM ---------- Previous post was at 03:51 AM ----------

Oh and now all camera apps crash
[Nexus 6P Themes and Apps] defcomg:
Freedcam is not the problem its android N they did something with the mediaserver because of the whole stagefright saga this seems to have broken all camera 1 apps video recording the g2 running cm14 does the same 1 sec video.

I think is the patch https://github.com/GalaticStryder/d...mmit/854c90421a4379b43e766743734b60016e94168f

So not sure if this prop is from Aosp Or just cm if its CM then a CM14 ROM is required I dunno maybe ROM dev can help
[Nexus 6P Themes and Apps] NMGXDA2:
I'll work on it later, naybe
[Nexus 6P Themes and Apps] hanschke:
will your update your mod to android 7.1 beta too?
[Nexus 6P Themes and Apps] NMGXDA2:
Not exactly sure how to use that github info you sent.
[Nexus 6P Themes and Apps] defcomg:
Attach libstagefright.so from your ROM should be /system/lib/ or lib64/
[Nexus 6P Themes and Apps] NMGXDA2:
XDA wouldn't let me upload it so here it is on Dropbox:

https://www.dropbox.com/s/5r9lumjsny5wlgl/libstagefright.so?dl=0

I'm on stock.
[Nexus 6P Themes and Apps] Charles_l:
Hi, did this mod working on 7.1.1 ?

To get the 60FPS options, change the media_profile.xml will do it.

I also made a mod for Nexus 5X, http://xdaforums.com/nexus-5x/themes-apps/mod-google-camera-4-2-nexus-5x-android-t3477980

Now we are lacked of the library hack, to get 1080p 60fps works.
[Nexus 6P Themes and Apps] hanschke:
no it is not working :(
[Nexus 6P Themes and Apps] Randomshadow:
Does this work on Nougat yet?
[Nexus 6P Themes and Apps] defcomg:
Should work with latest freedcam beta from github
[Nexus 6P Themes and Apps] defcomg:
Android N and M

copy the libmmcamera_imx377.so lib to /vendor/lib/

Install freedcam app in the zip

in the menu make sure api is set to api 2

choose 1080p Profile

Select Video Profile Editor

set FPS to 120

set Mode to High Speed Save

Switch to Movie Mode and Record
[Nexus 6P Themes and Apps] JimmyJunk76:
This doesn't seem to work on 7.1.1dp4. Has anyone else got it working?
[Nexus 6P Themes and Apps] Techstro:
For API I get camera 1 and camera 2, #1 doesn't record and #2 freezes instantly...
[Nexus 6P Themes and Apps] defcomg:
logcat from camera2 only camera1 is broken in n
[Nexus 6P Themes and Apps] JimmyJunk76:
Here you go. Thanks very much for the help!
[Nexus 6P Themes and Apps] defcomg:
Surface size 1920x1080 is not part of the high speed supported size list [1280x720]

Looks like the lib was not copied over to system/vendor/lib/ properly or you did not reboot device after copying the lib the cleanest way is to rename original lib then copy over the modified one it should work after that but will see about updating lib changer to avoid all this
[Nexus 6P Themes and Apps] defcomg:
updated OP download the app-release.apk click the big red button and you good:good:
[Nexus 6P Themes and Apps] that emo panda:
So I've downloaded the app-release apk and freeDcam, clicked the red button and restarted, but it stops recording at 1s every time on every resolution. I'm on API 1, API 2 won't even start recording. Any suggestions?

6p on newest Pure Nexus by the way.
[Nexus 6P Themes and Apps] defcomg:
install freedcam app https://github.com/troop/FreeDcam/releases

in the menu make sure api is set to api 2

choose 1080p Profile

Select Video Profile Editor

set FPS to 120

set Mode to High Speed Save

Switch to Movie Mode and Record
[Nexus 6P Themes and Apps] kingofdirt:
60fps option in stock camera on N 7.1.1.

Hi.

My "pixelized" N6P shows an 30fps and 60fps option on video recording with stock Google camera. I think the reason is my build.prop editing to Pixel XL. I also have unlimited Google photos storage.

Unfortunately the 60fps option does not record 60fps, only 30.

What changes do I have to make or files to flash to get this option working?

Thanks a lot.
[Nexus 6P Themes and Apps] dakore:
Try uploading large 4K video and you'll see you don't actually have unlimited storage. Many people (me included) flashed and modded their N6P and this simple test confirmed they still run out of storage. Google photos shows unlimited data but Google account on PC shows real storage ;)
[Nexus 6P Themes and Apps] defcomg:
Hmm I uploaded some libs in the camera nx thread in the 5x section liboemcamera and libmmcamera_imx377.so they should work on the 6p however that method seems unable to lock fps 60 the method with freedcam keeps fps locked to 60
[Nexus 6P Themes and Apps] kh.farooq.92:
Defcomg will you make available this mod for nexus 6p running android N? Thanks
[Nexus 6P Themes and Apps] kingofdirt:
Thanks.

Do I have to use both files? I wanted to use the libchanger app and insert libmmcamera_imx377.so. Is that correct?
[Nexus 6P Themes and Apps] defcomg:
Read my last few posts that works for N you can get me on telegram if you have problems

You could try the old libchanger apk in OP it may work without needing to change liboemg
[Nexus 6P Themes and Apps] hanschke:
I try with latest dev prev and your app crashed and now I only got front cam and if I want to change the camera app crashed :(
[Nexus 6P Themes and Apps] drago10029:
if that's happening attaching a log is the best way to get help.
[Nexus 6P Themes and Apps] defcomg:
Updated OP requires manually copying the lib Android 7.1.1 seems to be too problematic when trying to mount partition from libchanger app the new method should work for M and N
[Nexus 6P Themes and Apps] hachem28:
I'm on stock and my /vendor directory is completely full for some reason, anyone else have this problem?
[Nexus 6P Themes and Apps] defcomg:
It seems some 7.1.1 ROMs have Read Only Vendor even if you delete a file it seems to have no free space Try copying via twrp
[Nexus 6P Themes and Apps] Juanso871:
Hi,

I'm trying to apply this mod on my 6P, I'm on the final build of 7.1.1 (NMF26F).

I tried replacing the "lbmmcamera_imx277.so" file on my "/vendor/lib" folder through a file explorer (root) but it didn't work. Now I'm trying to do it through TWRP but I'm getting the following error:

cp "/sdcard/libmmcamera_imx377.so" "vendor/lib" process ended with ERROR: 1

Any ideas?
[Nexus 6P Themes and Apps] joedajoester:
​

+1

Solid explorer says vendor is full and twrp throws error 1. I'm also on 7.1.1 dp2 if it matters. I'm currently searching around for a workaround but so far nothing
[Nexus 6P Themes and Apps] Juanso871:
I just realized that even if twrp throws error 1, it still performs the action.

The file was replaced and I set the chmod to 644. But now google camera crashes, and other camera apps seem to only find my front facing camera, I can't use the back camera anymore :(

I tried reverting back to the original file but the problem persists.

EDIT:

Actually, TWRP screwed with my files, as their size is now 0 bytes. I still have the original backup on my sdcard(which weighs 26.06 KB), I just don't know how to put it back in vendor/lib...whithout screwing it up
[Nexus 6P Themes and Apps] joedajoester:
Exact same thing here. Even after putting it back camera still crashes and only the front one works in snapchat. Ugh guess I have to flash factory from my PC again.... I wonder if flashing just the vendor would fix it since that's all we touched. I also think twrp didn't correctly place the file, why it threw the error.
[Nexus 6P Themes and Apps] Juanso871:
Well, I just flashed the vendor and it went back to normal. :good:

I will wait until someone successfully makes this mod work on 7.1.1 before trying anything else
[Nexus 6P Themes and Apps] defcomg:
I'm not sure what's the deal with vendor partition but this should work delete libmmcamera_imx377.so from /vendor/lib/ and copy modified one to /system/lib/

To set permission use terminal emulator or adb shell

Type this command su chmod 644 /system/lib/libmmcamera_imx377.so then reboot
[Nexus 6P Themes and Apps] Voidmoji:
This worked for me, finally! I had to do the file work in TWRP, and chmodded it there as well, but then FreeDCam could be set to record at 60FPS via the 120FPS fast save method, and it stuck, as seen via VLC.

Thanks!
[Nexus 6P Themes and Apps] defcomg:
:highfive:
[Nexus 6P Themes and Apps] Juanso871:
I finally got it working this way too! The videos look awesome, great work!

Now, I have a problem with youtube, not sure if its remotely possible that it is related to this mod...

Youtube videos at 60 fps get frozen after 2 seconds of playback (the time keeps going but the image is frozen), now if i switch the quality 480p(30 fps), it plays without problem...

What do you think, is there any chance that this mod affected my youtube playback at 60fps? Is anyone else having this problem?
[Nexus 6P Themes and Apps] defcomg:
-1000% chance its related to the mod as it does not touch anything other than libmmcamera_imx377.so
[Nexus 6P Themes and Apps] Juanso871:
That's what i thought, thanks for everything!
[Nexus 6P Themes and Apps] kh.farooq.92:
Awesome mod. Works perfectly on android 6. If you want to use this mod on 7.1.1 only notice that while recording you Will notice some lag, but don't worry! Once you have finished to record, the video will be a perfect 60fps record! Take notice that on android 7.1.1 Google photo is not able to play it smoothly. For see the video in 60fps I have used VLC and works great. BTW I went back to android 6 and keep using it there, due to battery life problems on android N.

Thanks again defcomk
[Nexus 6P Themes and Apps] Papote3:
[MENTION=377973]defcomg[/MENTION] I was able to make a magisk module, to change the lib file using /system/vendor/lib path.

just tried a video and it works.

Also, everytime I open freedcam I get the tutorial about swiping left for settings, etc. Is there a way to disable that?

*EDIT: Found it; there's a small checkbox down on the right to not show again
[Nexus 6P Themes and Apps] defcomg:
Lol will increase checkbox size?
[Nexus 6P Themes and Apps] Charles_l:
Hi, [MENTION=377973]defcomg[/MENTION] I test the latest .so on N5X with latest NX mod, video works fine but only 30fps.

I force the fps always up to 240fps both video and slow motion in pervious mod which was tested in N5X thread, it can record 57fps video.

I change the way to get higher fps value input, if it is 120fps, then change to 240fps, if it is 30fps, change it to 60fps. So it might be the reason why it can't take 60fps video.

Did you use the hrf batch mode to get stream with 120fps then output with 60fps?

I think it can do within the camera app, I can take 60fps slow-motion video with 120fps/240fps, but the video have some issue.

120fps slow-motion mode, I get a twice time long video, it can play in normal speed [MENTION=512813]120[/MENTION]fps, but the duration is twice than normal (it has 120fps duration), it play and stop at half time of the duration.

240fps slow-motion mode, video duration is fine, it shows 120fps speed @ 57fps video.

I think if we trick the app to use hrf mode in normal video mode, input higher fps stream than encoding it in 60fps.
[Nexus 6P Themes and Apps] Razorless:
5X videos upside down, quality could be improved

It works on Nexus 5X (MM), but the rotation fix only fixes the viewfinder. The video files are still upside down.

Also, the camera is much slower to react to light changes compared to the stock one.

And lastly, the "low light" performance (even indoors with decent light) is quite unsatisfying. At half the shutter speed (1/30->1/60), the ISO should be doubled to allow the same amount of light to be taken in. However, not only is the image darker than the stock camera (this implies less than doubled ISO), but the noise is increased immensely. It may be that the stock camera applies some kind of noise reduction to videos, though.

However, this is still an awesome achievement. Would be nice to see more improvements to the camera app, though.
[Nexus 6P Themes and Apps] matibrasili:
"In Case vendor/lib tripping delete libmmcamera_imx377.so from vendor/lib/ and copy modded lib to /system/lib/ instead

Set Chmod 644 or rw-r-r permission*

Im on 7.1.1 pure nexus and did this. 60fps videos looked great but Stock camera works but slow motion crash . so I restore vandor and then freedcam started crashing. I'm in a dilemma, can't I have both? I'm doing something wrong?
[Nexus 6P Themes and Apps] lethalfriend:
I am facing the similar issue after performing the above steps. Seems like we need to figure out a way to have both slowmo and 60 FPS Vids on our phones.
[Nexus 6P Themes and Apps] defcomg:
You can use freedcam to record 720p [MENTION=353015]240[/MENTION]fps and slow it down in post, will add slow motion option in the future
[Nexus 6P Themes and Apps] lethalfriend:
That would be awesome to have a dedicated option for slomo in freedcam aap.
[Nexus 6P Themes and Apps] _juanhenriquez:
Hi, I have a nexus 6P with the Pure Nexus ROM with the 7.1.1_r6 version, I would like to know if this mod is compatible with android 7.1.1?
[Nexus 6P Themes and Apps] lethalfriend:
It is compatible with 7.1.1
[Nexus 6P Themes and Apps] drago10029:
Have you guys tested recording and video on your 7.1.1 ROMs?
[Nexus 6P Themes and Apps] lethalfriend:
Yes it works for me like a charm.
[Nexus 6P Themes and Apps] drago10029:
what are you using for playback after you record the 60fps videos? I'm asking because I'm having some trouble in paradise with screen lag during recording and playback only works with certain apps which is weird.
[Nexus 6P Themes and Apps] lethalfriend:
I use VLC or MX player in software mode to play 60fps vids flawlessly.
[Nexus 6P Themes and Apps] drago10029:
I tried the same. video definitely was not flawless... hmmmm
[Nexus 6P Themes and Apps] david6084:
same here.. when i was on 6.0.1 it work awsome, now that i update to 7.1.1 pure nexus it doesn't work the same . it lags :crying::crying:
[Nexus 6P Themes and Apps] defcomg:
60fps With Stock Camera

Copy XML -> system/etc

Copy Libs system/vendor/lib/

Copy media_profile.xml to system/etc/ set rw-r-r or chmod 644 permissions

Copy liboemcamera.so and libmmcamera_imx377.so to /system/vendor/lib apply rw-r-r / chmod permissions failing todo so will result in only front camera showing up if for whatever reason vendor cannot copy or show 0b file size follow the instructions on this link https://xdaforums.com/showpost.php?p=71624661&postcount=253.

if you cannot copy to vendor then delete the liboemcamera and libmmcamera_imx377.so files fron /system/venodorr/lib and use the system/lib/ path instead

if magisk is life then @ iaTa has got you Magisk Module
[Nexus 6P Themes and Apps] drago10029:
oh thank you mighty camera angel!!!! maybe put in the OP? maybe you did already... let me check... lol
[Nexus 6P Themes and Apps] dakore:
Anyone having problems copying libs to system/vendor/lib with root explorer or via twrp file manager? It says "copy failed" despite the fact the rest of system is r/w