yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Themes and Apps] divineazn716:
hey bro, that is actually a good question. when you guys go to the root of the device, do you guys have both a SYSTEM folder and a VENDOR folder next to each other? If so I been trying to access the lib files straight through the VENDOR folder and not through SYSTEM/VENDOR/LIB. Im not sure if im the only one who sees this. but I just tried to install the two zips and deleted the system/vendor/libs (two files) and insert the new ones and after that installed that media_profile file and then I installed camera NX but still doesnt work. I get a blank camera screen. checked 3 other camera apps i have and they all dont work either.

right now im deleting the SYSTEM/VENDOR/LIBS files (two files) all out of that folder and am going to put it in the SYSTEM/LIBS folder only and see how that goes, I will edit after I see what happens..

man im so stupid, i do not know why this is so difficult for me to understand the simple instructions right now...:crying::confused:

EDIT** Ok thank you, it works now.... im so stupid, thanks for putting up with me
[Nexus 6P Themes and Apps] defcomg:
/vendor/lib/ is the same as /system/vendor/lib its just symlinked.

/system/lib/ works same as the vendor/lib path but on some roms /vendor/lib/ can't be written to for some reason in this case /system/lib/ works
[Nexus 6P Themes and Apps] Andreagia1994:
The zip file non installing via TWRP.

Why

Inviato dal mio Nexus 5X utilizzando Tapatalk
[Nexus 6P Themes and Apps] D-m-x:
Because you didn't even read the first sentence.

Gesendet von meinem Nexus 6P mit Tapatalk
[Nexus 6P Themes and Apps] bmg1001:
If you have issues with modifying vendor, you could try backing up "vendor" in TWRP and restoring it right away. This worked for me and allowed me to install the libs there without error rather then deleting them and placing in system/lib.
[Nexus 6P Themes and Apps] Peppespa:
I confirm that in the event of error in the camera after the change of the lib file, the solution to return everything in order is flashing from the vendor TWRP

Google Experience
[Nexus 6P Themes and Apps] Carson Cheung:
Where could I get back the vendor image file?
[Nexus 6P Themes and Apps] drago10029:
:(:(Click here and expand vendor
[Nexus 6P Themes and Apps] Carson Cheung:
I got a rooted 6P running 7.1.1 (N4F26T) and a rooted 5X running 7.1.2 (NPG05D) with the latest Camera NX installed. I don't know why it works on my 5X but doesn't work on my 6P.

What I did is copy that two "libmmcamera_imx377.so" and "liboemcamera.so" files to vendor/lib, just overwrite those two old files which are having the exact same name by using "Solid Explorer". After rebooting the device, then open Camera NX, it works, although it still got a bit laggy, obviously it is much smooth than before in terms of 60fps.

Then I tried to do the same thing on my 6P, I'm not sure why "Solid Explorer" didn't allow me to copy that two files to vendor/lib this time, then I tried to launch the Camera NX and the stock Google Camera, both of them were not working, just shown up a black screen...

And now, I have already reflashed a vendor image and backed to the initial state. So.. could anyone tell me what's was happening, how could I paste that two files successfully? Thank you so much.
[Nexus 6P Themes and Apps] Peppespa:
With root explorer mounted rw and copy the .xml file system / etc then delete from vendor / lib file and paste the .so files in system / lib.

Google Experience
[Nexus 6P Themes and Apps] Carson Cheung:
I did follow what you mentioned​, copy "media_profiles.xml" and paste into system/etc, and delete that two original files "libmmcamera_imx377.so" and "liboemcamera.so" from vendor/lib, then paste two new "libmmcamera_imx377.so" and "liboemcamera.so" files to system / lib.

But it still doesn't work for me, camera app couldn't launch normally, black screen...
[Nexus 6P Themes and Apps] Peppespa:
use camera nx 5.5.1?

Google Experience
[Nexus 6P Themes and Apps] martonimix:
Is recorded as 120 fps but is it really 240 fps? Or do it record it at 120 fps?
[Nexus 6P Themes and Apps] Carson Cheung:
Yup, the latest version
[Nexus 6P Themes and Apps] Peppespa:
definitely skip some steps, mounts Root Explorer rw, do the procedure that I told you and restarts, in the camera settings, you should have the ability to switch between 30 and 60fps

Google Experience

---------- Post added at 09:43 AM ---------- Previous post was at 09:42 AM ----------

I record at 120fps, 240fps for serving the app update that solves the problem

Google Experience
[Nexus 6P Themes and Apps] IonuZ:
i tried with 3 root browse apps R/W to replace lib files and no chance...now i can´t use my camera , i made backup tu lib files but i forgot to do the xml backup...what to do ? :-/
[Nexus 6P Themes and Apps] Peppespa:
to return to the camera stock, flashing vendor

Google Experience
[Nexus 6P Themes and Apps] superchandan007:
Even me facing same problem in my nexus 6p
[Nexus 6P Themes and Apps] infernusdark:
Slow motion 240FPS not work

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 6P Themes and Apps] Bingley:
Any way this can be included in the camera apk or symlinked locally to file so n internal mem so non systemless rooted users can use without affecting otas?
[Nexus 6P Themes and Apps] bmg1001:
Working perfectly on Android O.
[Nexus 6P Themes and Apps] defcomg:
Cool, i guess it should work on all future os versions google rarely updates camera libs:good:
[Nexus 6P Themes and Apps] Bingley:
Is it just me or does this disable auto focus during video? Mine now jsut stays fixed on the focus length it was at once recording commenced.
[Nexus 6P Themes and Apps] defcomg:
My device is out of commission and i'm i need of a new one if you liked my mods and would like to donate to help fund a new device that would be greatly appreciated my pay pal link in signature
[Nexus 6P Themes and Apps] DEVILOPS 007:
I would but I'm in college and have no money but I'll donate soon when I get some money as I love your mods. Hopefully all goes well and you get your new device.:)
[Nexus 6P Themes and Apps] LluisAzm:
Since I had Note 4 I am searching how to enable 60fps without break other apps, wuth your mod is perfect!! Google Camera mod see it as an "oficial" media profile!!

Thanks!! Nice to donate you!!
[Nexus 6P Themes and Apps] defcomg:
Gracias:D
[Nexus 6P Themes and Apps] explorer-10:
If it's already in the latest version of Camera NX, is this not needed?
[Nexus 6P Themes and Apps] defcomg:
media profile not needed with camera but the other two .so files are required unless supplied by camera nx
[Nexus 6P Themes and Apps] explorer-10:
Those 2 .So files are for achieving 60fps on stock Google Camera? By stock,I mean NOT tht NX version.
[Nexus 6P Themes and Apps] defcomg:
yup but if you are using the stock cam you need the modified media_profile.xml aswell to show 60fps option
[Nexus 6P Themes and Apps] Bingley:
So the zip patch/Magisk module allows 60fps via normal cam, but you can only get 60fps with eis using the mod AND the cam nx app, is that right?
[Nexus 6P Themes and Apps] ProfSnipe:
I had the same problem on my 6P. here is what I did, install ES file explorer, swipe left and enable "root explorer" by tapping on the switch, after that tap on the "Root Explorer" (the writing) and from that list go to "Mount R/W" and put everything on R/W and press Ok. Now use Es Explorer to copy the two "libmmcamera_imx377.so" and "liboemcamera.so" files to vendor/lib, and overwrite the old files which are having the same name, after that press and hold (do this for both files) on the files, on the bottom right corner press "More" and select "Properties" then find "Permissions" and press change, there you will have 3 categories "Owner", "Group", and "Other" and the permissions "Read", "Write" and "Execute" check them ALL for every category and press ok. (remember to do this for both files "libmmcamera_imx377.so" and "liboemcamera.so", and do the same with media profile if you want to use this mod with the stock camera ), now restart your phone and it should work, it did for me.
[Nexus 6P Themes and Apps] drago10029:
the new device link only goes to a webpage full of new balance sneakers :laugh::laugh::laugh::laugh::laugh::laugh:
[Nexus 6P Themes and Apps] defcomg:
:D
[Nexus 6P Themes and Apps] sopebird:
How to change the sampling bitrate?

Great job defcomb!

But I found my recording using this mod at 1080p@60fps is a little bit choppy(with micro-stutters). I know iPhones basically record 1080p@60fps with 28-30Mbps. You mentioned you set the video bitrate at 40Mbps in this mod. Can you just modify and release a 30Mbps version or teach us how to modify that value? I think maybe the video will be much more smooth then.

Thank you~
[Nexus 6P Themes and Apps] defcomg:
I don't think its the bit rate on my SD800 device I had 1080p@73 @54Mbps no stutter and the nubia z9mini SD4xx can do 1080p60 @ 30Mbps

Maybe try add these to your build.prop

persist.camera.thermal.mode=frameskip

encoder.video.profile=high

And try this lib its slightly overclocked

https://drive.google.com/drive/folders/0B5NJTB9bLPdsV2E4NlBlZGxYaU0?usp=sharing[/QUOTE]
[Nexus 6P Themes and Apps] sopebird:
Modify build.prop make videos more fluent

Hi defcomg,

Thank you for your tips!

I tried your overclocked lib. I noticed the final framerate was around 64-65fps. But the recorded videos were more jerky(with more stutters) on my Nexus 6P.

I also modified my build.prop as you suggested. This really worked! :good: If I change "encoder.video.profile=

high

" to "encoder.video.profile=

low

", the videos were even more smooth.:victory:

Therefore, I believe the power or stability of 810 Soc is not as good as we thought. The only way to get smooth 60fps recording is to reduce some video quality. Either use lower bitrate or lower encode profile.

Since 60fps recording on smartphones is mostly used for daytime(good light condition), I don't think reduce the recording/encoding quality a little bit will make much difference. While at low-light condition, 30fps recording should be used to capture more light per frame.

So, can you please reduce the bitrate to 35 or even 30? I just want to test that and have a try.

By the way, the stock recording with slow-motions, 1080p@30fps and 4K@30fps are not as smooth as they should be after using the 60fps mod. Do you have any solutions for this?
[Nexus 6P Themes and Apps] ProfSnipe:
Hey man I tried the overclocked lib and I added the lines to my build.prop however I see no changes, the videos recorded with default camera or cameraNX are stuttering, the framerate and bitrate are unstable. The framerate is around 50-57 fps, I never got past 60 and the bitrate is around 33-43Mbps. Is there a way to lock the framerate to 60fps?. Also the lib breaks photo mode for the front facing camera, this happens only with default camera and NX in photo mode they just crash, however I can record videos just fine.
[Nexus 6P Themes and Apps] defcomg:
made three profiles 30 25 and 15 15 has audio bitrate reduced also
[Nexus 6P Themes and Apps] sopebird:
Hi defcomg，

Thank you for your new profiles.

Unfortunately, change video sampling rate(even as low as 15Mbps) cannot prevent jerky issue.

I also noticed that even Galaxy S7 Edge of my friend has jerky issue when recording 60fps. Quite strange.

I really have no idea what caused this issue now.

By using frameskip, my final framerate of 1080p@60fps was around 50-58 fps for different videos. Though lost some frames, this is the only way I found to make video recording more fluent.

Maybe google is right, they refused to add this feature because they just found 60fps recording on Nexus6P has such problems.

Thank you anyway!

Best wishes!
[Nexus 6P Themes and Apps] LluisAzm:
I have tried in Pure Nexus 7.1.2 and works perfectly!! Everything smooth.

Few weeks ago I was doing many videos with PureNexus 7.1.1 and your mod and also was everything perfect.

Thanks again!
[Nexus 6P Themes and Apps] LuchitoZ:
Hi, i have stock 7.1.2 with root and copied the 3 files and gave them rw-r-r and tried with stock camara and closes when i press record with 60 fps, tried with the other camara with the profile 1080HS and the same issue, what can i do?

edit: i've installed CameraNX-v5.5.1-NoZSL-signed.apk and i finally can record in 50fps
[Nexus 6P Themes and Apps] metinagar:
I have the latest camera nx with zsl what's this mod do and how to install please guys.
[Nexus 6P Themes and Apps] defcomg:
https://xdaforums.com/showpost.php?p=70748865&postcount=161
[Nexus 6P Themes and Apps] Wilazn:
I'm confused. I downloaded the zip but I don't see XML or Libs in the zips?
[Nexus 6P Themes and Apps] drago10029:
Might wanna try again the zip files in the OP are fine. just tested them
[Nexus 6P Themes and Apps] AceBalthazar:
It should be noted that if you still wind up having the camera crash after doing this with a message like "Camera service has encountered a fatal error." that you need to turn off your video stabilization. At least that is what I ran in to. I found this to work on my 6p with Notrogen OS on 7.1.2. After turning off the stabilization I was able to record at 60fps with the stock camera. Many thanks for this!
[Nexus 6P Themes and Apps] drago10029:
This has been the case in the past, its seem to be a issue seperate from the OP's mod. I remember nx camera app having the same problem. But OP can confirm 100% if this limitation still exist.
[Nexus 6P Themes and Apps] LluisAzm:
Hi!

I have changed to Lineage and mod seems not work... Am I doing anything wrong or is not compatible??

Thanks!
[Nexus 6P Themes and Apps] drago10029:
Make sure you read this post several times. Then download the files linked below and go through all the instructions.

Double check the lib is copied correctly (by checking the date and time) and the XML media profile as well. maker sure you're installing everything to the correct location.
[Nexus 6P Themes and Apps] LluisAzm:
Hi!

Sorry!! All is OK!! I had been using oficial google camera app and didn't work. I installed the mod and all OK

Thank you very much!! I cannot live without 60fps!! Hahaha
[Nexus 6P Themes and Apps] CaptainFedora:
Can someone with Android Nougat or Android O upload for me those

liboemcamera.so

libmmcamera_imx377.so

from system/vendor/lib/

and

media_profile.xml

from system/etc

i kinda screw up and need to get back to stock without factory reset. Or you can send it to me via email cheaterboycz@gmail.com thank you so much.
[Nexus 6P Themes and Apps] defcomg:
Use 7zip to pull them from vendor.img
[Nexus 6P Themes and Apps] Ayman2575:
Where do you find Mount R/W?

---------- Post added at 03:24 PM ---------- Previous post was at 03:17 PM ----------

Okay I found that but i can't find the vendor/lib file. Sorry I'm a huge noob at this
[Nexus 6P Themes and Apps] flatpedals:
dude just let it go. you really should't be messing with vendor libs if you don't know how to alter permissions.
[Nexus 6P Themes and Apps] Mikekelso421:
Can anyone confirm if this mod works on Android O ?
[Nexus 6P Themes and Apps] divineazn716:
I'm on 7,1,2 and the media file makes my video not work but the camera works, why is that? It FC when I try to switch to camcorder

Also I have a 6p on a custom rom, it was working fine with the camera nz and stock camera but once I installed the media profile, my camcorder doesn't work anymore but my camera does. Please help

I just fresh installed everything again, rom and everything. All good now, ty
[Nexus 6P Themes and Apps] bmg1001:
Works fine
[Nexus 6P Themes and Apps] onevd:
[No message]
[Nexus 6P Themes and Apps] Mikekelso421:
Seems to be working fine for me. Thanks.
[Nexus 6P Themes and Apps] Arnova8G2:
[MENTION=377973]defcomg[/MENTION]

You made an excellent job can you help me with the MI5

Here are the files:

libchromatix_imx298_semco_common.so

libchromatix_imx298_semco_snapshot.so

libchromatix_imx298_semco_default_video.so

libchromatix_imx298_semco_liveshot.so

libchromatix_imx298_semco_cpp_preview.so

libchromatix_imx298_semco_cpp_snapshot.so

libchromatix_imx298_semco_cpp_video.so

libchromatix_imx298_semco_cpp_liveshot.so

libchromatix_imx298_semco_postproc.so

libchromatix_imx298_semco_hfr_60.so

libchromatix_imx298_semco_hfr_60_3a.so

libchromatix_imx298_semco_cpp_hfr_60.so

libchromatix_imx298_semco_hfr_90.so

libchromatix_imx298_semco_hfr_90_3a.so

libchromatix_imx298_semco_cpp_hfr_90.so

libchromatix_imx298_semco_hfr_120.so

libchromatix_imx298_semco_hfr_120_3a.so

libchromatix_imx298_semco_cpp_hfr_120.so

And attach files :libmmcamera_imx298_semco.so

Thank you
[Nexus 6P Themes and Apps] xstahsie:
Hi,

Is this mod compatible with the newly released Android 8.0 (Oreo) for Nexus 6P?
[Nexus 6P Themes and Apps] jamaniek:
Works fine for me (except for 240fps recording obviously).
[Nexus 6P Themes and Apps] hanschke:
I confirm this and try all solutions here :crying:
[Nexus 6P Themes and Apps] axiel7:
Can someone upload the libcamera file? No mirrors found on androidfilehost link
[Nexus 6P Themes and Apps] kojak1989:
https://xdaforums.com/showpost.php?p=70748865&postcount=161
[Nexus 6P Themes and Apps] storm4077:
When I switch to 60fps, it says "can't connect to camera" and then crashes due to some sort of fatal error. I'm using Android 8.0 Oreo. Any ideas?
[Nexus 6P Themes and Apps] bmg1001:
Did you disable Video Stabilization?
[Nexus 6P Themes and Apps] Vipauer:
If you use the original camera app...doesn't is possible use video stabilization and 60fps.

You need disable video stabilization to use 60fps.

Now...if you use the CameraNX app is possible use both options on the same time.
[Nexus 6P Themes and Apps] storm4077:
Thanks so much! It worked :) So there is currently no way to do it in the original camera app? What is CameraNX like?
[Nexus 6P Themes and Apps] Vipauer:
See by yourself...

CAMERA NX

But it's equal of original with extra functions and some improvements... :good:
[Nexus 6P Themes and Apps] milad1music:
Does it work on lg g2 android 7.1.2 (custom rom)?
[Nexus 6P Themes and Apps] Nightshadow931:
Why the hell would it work on G2?
[Nexus 6P Themes and Apps] dgm_mixtoon:
Work on Nexus 6?
[Nexus 6P Themes and Apps] Agus8k:
Only 6P /5X
[Nexus 6P Themes and Apps] sethukrishnan:
Will this work on 8.0.0 ???? Oreo???
[Nexus 6P Themes and Apps] Vipauer:
Yes :good:
[Nexus 6P Themes and Apps] onesolo:
so, to clear this thing out, if I use the magisk module that could be found here, it will work fine on NX camera, right. But what about the original camera?! Does it going to do something bad on it?! Like messing around?!
[Nexus 6P Themes and Apps] Vipauer:
The Magisk module I've never used...

I do the manual copy of the files and the change of permissions...

For me with Camera NX app, the 60fps works with Image Stabilizer active and deactivate.

With original camera app, the 60fps works only with Image Stabilizar deactivated.

Otherwise crashes the app...

:good:
[Nexus 6P Themes and Apps] onesolo:
I used the 60fps magisk module and with NX no problems at all. With google camera, when I tried to switch to video, the app crashed, and I even don't have stabilization turn on
[Nexus 6P Themes and Apps] Vipauer:
Try this: 60FPS - Files.

:good:
[Nexus 6P Themes and Apps] yashpatel99:
Stops 240 fps on Nexus in camera nx

It does record 60 fps but stops 240 fps slo-mo which was previously available in camera nx and after disabling the mod, it again allows me to record 240 fps.
[Nexus 6P Themes and Apps] Abfox2:
Works perfectly with stock camera app, but the app crashers at 60fps when video stabilization is on.
[Nexus 6P Themes and Apps] hhwong:
Modded with nx, everything is working except when recording in 60 fps the video quality took a pretty big hit....

There's a lot of graphic noise comparing to old 30fps
[Nexus 6P Themes and Apps] demanzke:
60 fps works better in bright settings of course (reduced shutter time).
[Nexus 6P Themes and Apps] hhwong:
so the graphic degradation is to be expected in this case? I am not sure if I am willing to lose 240 slow mo and video stabilization over this.....

this is like a pseudo 1080/60 :(
[Nexus 6P Themes and Apps] demanzke:
Yes it is to be expected and I feel you on the slow mo... video stabilization should still work with 60 fps though, I'm using the camera fix by ihsane_O from the Camera NX thread to make the app work at all on my rom and it is working there.
[Nexus 6P Themes and Apps] thepowerofthedarkside:
Hello. After i copy this 3 files my 5x have Google bootloop. What should I do next?
[Nexus 6P Themes and Apps] -fluffy-:
delete them again from twrp
[Nexus 6P Themes and Apps] dakonga:
is it possible to set 60fps as default in modfiles?
[Nexus 6P Themes and Apps] Immortalis:
Works on Nexus 5X running CyanogenMod. Few notes:

1. App LibChanger didn't ask for storage access permission, I had to enable it manually in Settings.

2. Replaced myself the .so file from zip attached in post #8 and .txt config file from #5. Everything worked.

Maybe it'll be easier to create a flashable zip with these files?
[Nexus 6P Themes and Apps] joeyddr:
This stopped the crashing but the slow motion is very choppy... I think ideally if dcam can be forced to use the modified lib while leaving the original I'm place for regular Google camera.
[Nexus 6P Themes and Apps] defcomg:
It's not impossible but I do not have a nexus 6p to test so it would be much easier to setup tasker to auto switch the libs and execute a media server restart so the whole device does not need to reboot
[Nexus 6P Themes and Apps] defcomg:
updated apk in op working on 6p
[Nexus 6P Themes and Apps] porter11:
FreeDcam not Support android N DP5
[Nexus 6P Themes and Apps] defcomg:
The app does not work or 60fps upload libmmcamera_imx377.so from android N should be in vendor/lib
[Nexus 6P Themes and Apps] joejoe23:
Been waiting for this since I got this phone . Thanks a lot !
[Nexus 6P Themes and Apps] eqbirvin:
Would this hypothetically work with camera apps that do support 60fps?
[Nexus 6P Themes and Apps] defcomg:
Yeah
[Nexus 6P Themes and Apps] eqbirvin:
Now that's awesome. Very good work OP
[Nexus 6P Themes and Apps] GilbertoXDA17:
Can you share me the zip please

And tell me about the changes that you apply and what is the different with the original mod

Thanks!

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 6P Themes and Apps] Immortalis:
A flashable zip with the mod (credits goes to [MENTION=377973]defcomg[/MENTION]) in attachments.

I reduced the video bitrate to 40 Mb/s in 1080p60 mode, so the file will be smaller in size with the same quality.

I'm thinking about trying to change mediaprofiles.xml, so other camera apps (like Snap Camera) would see 60 fps ability.

And one bug: if I turn on 180 camera rotation in FreeDcam, preview is fine, but output video is upside-down.
[Nexus 6P Themes and Apps] GilbertoXDA17:
You have a great idea bro, hopefully you can do it and thanks for the zip

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 6P Themes and Apps] king3opobn:
What's the difference with this app and with open camera ?
[Nexus 6P Themes and Apps] mrruin:
fantastic mod, thanks! I have set up two Tasker profiles to switch out the libs so I can use 60fps and slomo video with only an extra click and a few seconds waiting. Coupled with a status widget on the desktop indicating which profile is active I am now a happy user of this mod without any drawbacks. Moreover Freedcam is not a bad camera app to have at all.

EIS does not work btw, you can enable it in settings but it will not stick. doesn't really matter that much since 60fps > EIS

EDIT: uploaded the three tasker profiles. "Kamera_Status" ist just a basically empty task (wait 2secs is inside) which you put on the desktop (transparent icon) and let its name be changed by the other two task. Thus you know which profile is active. You also need to put the two lib files into two seperate folders inside the FreeDcam folder (or any path you choose) and adjust the paths inside the tasks. Make sure you wait a few seconds after switching libs and killing the mediaserver since the mediaserver needs a few seconds to restart. If you start your camera app too soon you might need to reboot the device since your camera connection will be lost.