Credits goes to the guys of this topic:
https://forum.xda-developers.com/on...ide-enable-960fps-slow-motion-7t-pro-t4101389
The mod adds to the stock camera the option to record 10 seconds of the video in 720p 960 fps.
Just wanted to let you know that in the normal one plus 7 this mod works as well. I am using the latest stable Android 10 firmware with arter97 kernel. I did not tested the macro mode.
The only one difference is that we need to add the values described in the topic above to camera 0 and 3, because the camera 5 does not exist for us. Please check carefully the screenshots.
Don't forget to install the newest apk of the camera from the link below, as well as after applying the mod don't forget to restart your phone.
https://www.apkmirror.com/apk/oneplus-ltd/oneplus-camera/oneplus-camera-3-10-19-release/
Have fun!
Not working with my OP7, with camera ver: OnePlus Camera 3.10.17 and OOS 10.3.2.GM57AA.
After editing the .xml files when I open the camera app it shows nothing just a black screen.
How about enabling Macro mode, Did it work for any?
Dipesh17 said:
Not working with my OP7, with camera ver: OnePlus Camera 3.10.17 and OOS 10.3.2.GM57AA.
After editing the .xml files when I open the camera app it shows nothing just a black screen.
Click to expand...
Click to collapse
3.10.19 is the newest version. Download this version, edit the XML 0 and 3 by adding the values, and then restart the phone. It has to work because for me is working.
Not working
misiek735 said:
3.10.19 is the newest version. Download this version, edit the XML 0 and 3 by adding the values, and then restart the phone. It has to work because for me is working.
Click to expand...
Click to collapse
I tried the same but not working.
Check screenshot.
The only difference is I am using pref edit to edit xml because preferences manager is always crashes on my mobile.
And pref edit is working.
Would you please share your screenshot or suggest something.
Dipesh17 said:
I tried the same but not working.
Check screenshot.
The only difference is I am using pref edit to edit xml because preferences manager is always crashes on my mobile.
And pref edit is working.
Would you please share your screenshot or suggest something.
Click to expand...
Click to collapse
You wrote 920, instead of 960. Change the name in both to the correct number.
Dipesh17 said:
I tried the same but not working.
Check screenshot.
The only difference is I am using pref edit to edit xml because preferences manager is always crashes on my mobile.
And pref edit is working.
Would you please share your screenshot or suggest something.
Click to expand...
Click to collapse
Had the same problem using Pref Edit, i edit them manually afterwards it works great, here are my xml files
https://drive.google.com/file/d/1bb-oFqq4wXxOk4wKR_OCIs_88uh3zpnr/view?usp=sharing
Just put them in /data/data/com.oneplus.camera/shared_prefs.
Hi! I am the author of the original thread. First. Camera 5 id exist on our phone. Is for multi camera. As camera 0 is for dual. And camera 3 is for wide angle. Totally not used here. The stringset needs to be added on 0 and 5 for stability reasons. I would appreciate the OP to not create duplicated of the threads please. (Thanks for the credits though, but this mod is not only mine, other people deserve credits too) and not spread wrong info please.
Hi @elmarian756
With all respect, the purpose of writing it here was to inform the users of standard one plus 7 about the possibility of using this mod. I decided to write about it here because it was important to mention that the settings in the preferences manager apk has to be different. If you think that this topic doesn't make sense, please edit your topic and include the information that the standard op7 can also use this mod with the proper settings. In that way I don't mind in deleting this topic. The idea was just to share the info, not to change/share/steal the credits from the original author.
I believe that for the op7 pro there is CameraInfo_5.xml file, but for op7 there is not. Please take a look at the screenshot below how does it look in my op7. The CameraInfo_3.xml is the "highest" available number. There is also CameraInfo_2, and 1 and 0, but there is no file which has number 5 in the title. I guess that the difference is caused by the reason that the op7pro has one camera lens more (the wide angle what you wrote about) compared to op7 which does not have that lens.
For the users of standard op7 (me including) editing the camerainfo_3 and 0 brings the possibility of using 960fps slow motion mod. If you wish, I can record and share the video showing the settings as well as the sample of the 960fps slow motion.
By the way, thanks for sharing the info about this mod!
All the best,
Misiek735
misiek735 said:
Hi @elmarian756
With all respect, the purpose of writing it here was to inform the users of standard one plus 7 about the possibility of using this mod. I decided to write about it here because it was important to mention that the settings in the preferences manager apk has to be different. If you think that this topic doesn't make sense, please edit your topic and include the information that the standard op7 can also use this mod with the proper settings. In that way I don't mind in deleting this topic. The idea was just to share the info, not to change/share/steal the credits from the original author.
I believe that for the op7 pro there is CameraInfo_5.xml file, but for op7 there is not. Please take a look at the screenshot below how does it look in my op7. The CameraInfo_3.xml is the "highest" available number. There is also CameraInfo_2, and 1 and 0, but there is no file which has number 5 in the title. I guess that the difference is caused by the reason that the op7pro has one camera lens more (the wide angle what you wrote about) compared to op7 which does not have that lens.
For the users of standard op7 (me including) editing the camerainfo_3 and 0 brings the possibility of using 960fps slow motion mod. If you wish, I can record and share the video showing the settings as well as the sample of the 960fps slow motion.
By the way, thanks for sharing the info about this mod!
All the best,
Misiek735
Click to expand...
Click to collapse
I am sorry i dont want to be rude but you are just misinformed. The information you are providing is just incorrect.
You can check this yourself typing *#*#1597#*#* and check the cameras IDs.
IDs are: 0 for dual
5 multilens
4 telephoto related (not sure which mode uses this)
3 wide angle
2 telephoto
1 front camera.
Oneplus can set many IDs as they need according to use.
There is no higher or lower. Dial the code and switch between modes and you will find out yourself.
Changing only 0 id works. But crashes camera sometimes. It needs 5 too. 3, is wide angle. Totally unrelated.
That is why you enable macro support on cameraid 3. Because macro uses that wide angle lens.
Again, i dont mean to be rude. But you are calling my info wrong. Just posting wrong information. It will confuse users. And you are duplicating a thread. It will only create confusion. Please do check your info. Is wrong. I dont want to report the thread as duplicate. But kinda is. Users dont need this clarification or my info doesn't need correction. With all respect. Yours is wrong.
Cheers and all the best! :highfive:
Duplicate topic. Please consolidate discussion in one thread:
[GUIDE]enable 960Fps slow motion like 7t pro!
Related
Not sure where to start this thread, this is more of a dev question.
I've decompiled the S7 camera app and taken a look at the source code. In case you haven't done this, the rundown is this: there is a main camera app with pluggable modules. Most of the downloadable camera add-ons are already implemented inside the stock app. For example, "Sports" is just a really basic camera, probably to make focusing and capturing pictures as quick as possible. By downloading an addon you are essentially adding an icon in the camera modes.
I mainly want to achieve two things: 1) lower the sharpness from 0 to -1 and 2) create a mode where the shutter time does not go above 1/30 or so.
1) There are a few generic Android camera properties that control that, is there a way to add them to some properties file? The keys: sharpness, sharpness-max, sharpness-min
2) Is there a way to inject my own method inside some class from the camera app? For example there is a method inside the "Pro" mode that does exposure calculation, I think I implement some stuff there.
Obviously, both features can be added with a bit [more] of coding, but it's not without pain. For example some icons would need to be created, handle resizing and different resolutions, handling device rotation, etc.
Other things that can be done by taking control of the camera app: add RAW in any mode, control OIS and video stabilisation, anti-fog mode (?), finer control over focusing modes and speeds, HDR, low-light detection. Hopefully this sparks someone's interest.
Just as an update, to underline the fact that it's doable: http://hackcorrelation.blogspot.com/2017/08/a-look-inside-samsung-s7-camera.html
brainwash123 said:
Just as an update, to underline the fact that it's doable: http://hackcorrelation.blogspot.com/2017/08/a-look-inside-samsung-s7-camera.html
Click to expand...
Click to collapse
Nevermind then lol.
Thank you for the reply, but not sure whether to read it as information or advert.
Consider me interested.
Did you achieve this ?! I am trying to compile the code in android studio but there are alot of errors. Even when i have managed to compile it, when i install it on my Note 8 there is nothing. Any working source code ?!
"add RAW in any mode, control OIS and video stabilisation, anti-fog mode (?), finer control over focusing modes and speeds, HDR, low-light detection." isn't that on some other app that we can port it from? (in my head that would be less coding)
RoadToNever said:
Consider me interested.
Click to expand...
Click to collapse
+1 this can be a great mod
good
When i installed through app I am getting this error that "camera failed" and unable to attach here and I am using TGP rom
I created an app duovision camera. You can try the dual camera feature. It may not work on some devices. Cheers
Hi Agonsh.
I have a galaxy S6 which the dual camera app from samsung works on but your duovision does not. Did you make it from decompiling S8 onwards for it to work?
Yes i did with using the newest Semcamera jar library which has an integrated dualcamera feature. And i know that it does not work on older versions.
Thanks Agonsh, appreciated. Cheers.
agonsh said:
Yes i did with using the newest Semcamera jar library which has an integrated dualcamera feature. And i know that it does not work on older versions.
Click to expand...
Click to collapse
Pardon my ignorance and sorry to bother. New to XDA. Is the latest semcamera jar library available for download here or somewhere else?
Google Camera Port by BSG and @sannn111ty for the Poco f1
If you don't really know why you are here, You can download Gcam here. Gcam is short for Google's camera app that ships with the pixels. Google has been making incredible advances in camera software that they put on their Pixel devices. Most of the magic of the camera quality of pixel's reside in the High Dynamic Range google algorithms. However, this software is not officially available for other devices. BSG is the first developer to have adapted Gcam for other devices. He now has a MI 8, which is very siùilar to the Pocophone, so his ports actually work pretty well on this phone.
Here is a list of the features that make google's software stand apart from all the other stock and 3rd party camera apps. (Not all of them are available in the ports, but more appear with time).
HDR + and HDR+ Enhanced: That's what most people want Gcam for. The app takes multiple pictures at different exposure levels and combines them to get even lighting. This photography technique is available on many stock cams, but Google's custom implementation of it is generally regarded as highly superior.
Super Res Zoom: That is a "usebug" feature. When you're taking a picture, unless you have a tripod, you can't hold the phone perfectly still. Google uses this slight movement to take multiple shots, which are then combined to make out more detail for the final image. Where other OEMs add a second camera, Google gives better results with just one.
Night Sight: where HDR combines multiple under-exposed shots, Night Sight does the same thing with over-exposed and longer exposed images. This produces impossible-before shots with way less noise and blur in very low-light conditions. In Daylight, Night Sight Mode also applies Super res Zoom to the image, giving a lot more detail to your pictures.
ZSL HDR+: ZSL stands for Zero Shutter Lag. As HDR uses multiple pictures, you need to wait for the phone to snap those multiple shots. ZSL essentially means your phone is always taking pictures and has a couple already buffered when you hit the shutter, so you don't need to wait.
Portrait Mode: That's blurring that background of an image behind a face. this is a trend on smartphones, and most OEMs implement it by adding a second camera on the back. the two sensors produce a slightly different image and you can calculate from the difference where to blur the image. But Google has decided not to add a second sensor to their phones. The way they pull it off is by local Artificial intelligence to detect faces and blur the rest.
Photosphere: This is essentially a 360° Panorama. You point around you and the phone takes, then stitches together, multiple images in a sphere around you. You can then view the pictures by moving them around with your fingers, or moving around your phone like a window around you.
Panorama: That is self-explanatory. like everything else, Gcam takes excellent panoramas.
Video Recording: Gcam Records video at up to [email protected]
Slow-Motion: this port can take slow-motion videos at up to [email protected]
Top Shot: Google's AI is now so good it know what a good image is like. If you hit the shutter too Soon or too late, Google will suggest another shot. It will actually take a dozen out of which you can choose, but will also suggest the best one.
Photobooth: As the camera is continually shooting and waiting for you to tap the shutter, why couldn't it do this for you too? Once Photobooth is on, you just leave your phone and it will take the picture on its own when it "sees something interesting", like a smile. Essentially, it's an AI photograph for group shots where everyone can fit in and lets you use the back sensor instead of the selfie cam.
Tracking Autofocus : As the name implies, once you click on an object while filming, it will keep the focus on it however it moves.
I am not a developer, but the subforum is for gcam ports, so here is the one for the Pocophone, with instructions and
Go to this thread, wich always has the last version up.
You are welcome to post your amazing pictures here :
These ports are specifically made for the Pocophone F1. They might or might not work on your phone.
If you find that our APK's work well on your other model, you can open a thread for your phone to help others find a working APK faster and discuss model-specific issues.
If you have bugs, something isn't working correctly, please don't just post "Not Working !!!!" That doesn't help. Give details :
- The model of your Phone, your ROM if you're using one, any fixes installed;
- The name of the apk you're using;
- Screenshots or video recordings of the bug if you're able to;
- A logcat if there's a crash;
- Steps to reproduce the bug/crash;
It's really lag when opening any camera mod (except Panaroma and Video) and I could NOT take photos when pressing the button.
I'm Using Pocophone F1 with Global MIUI 10.1.3.0
File using: MGC_6.1.021_MI8_Vc.apk
the same issues.
Same issues for me, impossible to take photos, 1 frame per second refresh rate....
not working with several versions
When opening any camera mod (except Panaroma and Video) NOT possible take photos when pressing the button.
I'm Using Pocophone F1 , Android 9, with Global MIUI 10.1.3.0
Files used:
MGC_6.1.021_MI8_V2_plus3.apk
and
MGC_6.1.021_MI8_V2_plus.apk
and
MGC_6.1.021_MI8_V2a_plus.apk ; MGC_6.1.021_MI8_V2a+_plus.apk
cr0wdelex said:
It's really lag when opening any camera mod (except Panaroma and Video) and I could NOT take photos when pressing the button.
I'm Using Pocophone F1 with Global MIUI 10.1.3.0
File using: MGC_6.1.021_MI8_Vc.apk
Click to expand...
Click to collapse
Try flashing twrp fix bro. It fixed my issue.
Try installing MIUI 10 v10.2.2.0 or higher , it should fix most of problems with gcam
Love this camera ...
I installed gcam and flashed twrp fix. I was using 10.1.3.0
After 10.2 I updated it and flashed twrp fix again for the lag issue.
Now I noticed that portrait mode is not working in stock camera. ?
i downloaded and it seems fine ...
Confused a bit, what is the difference between this and the one here :
https://forum.xda-developers.com/poco-f1/themes/b-s-g-google-camera-port-developed-mi-8-t3843130
Update to miui 10.2.2.0 i installed the same version of gcam on miui 10.1.3.0 and it didnt work i manually updated to miui 10.2.2.0 and it worked to install it just use android studs guide
Maybe a dumb question.? How is "Motion" in GCam working? Is it working at all? I have never found any of these short videos. Where are they stored? I'm using a Pocophone F1.
Thank you
Working fine with poco rom stock mui 10.3.6
Well, this camera is working on our phones with Night Sight.
Install the camera, go to settings ---> Mod Settings ---> Fix ----> Raw Sensor - change it to RAW_SENSOR.
After that, go back to settings ---> Photo ---> Advanced ---> Night Sight and enable Alternative Config 8.1, go back to viewfinder and done. ALREADY SET!
Now comes the hardest part, we need help with the settings, because the photos are overexpoded, high ISO and things like that. To be honest, I don't know how works most of the settings, so please, if you find the right settings, share it with us HERE everyone could enjoy the benefits of this app, we're a community, so we help each other, don't forget that. The config is more stable now.
Download:
https://drive.google.com/file/d/1WL5M81NJmEgt-Hj2D7DKyGsCKztRC7hS/view?usp=sharing
UPDATE 3:
I uploaded 2 files, one for normal shoot and the other for black and white photos.
I have to say that I just edited the files to make it work on our devices, Monochrome xml was taken from a telegram group (OP6/OP6T), thanks to Jean-Luc for this mod.
Download the XML file that I attached and save it into Gcam/Configs (folder inside internal memory).
Now, check the photo that I posted and open Gcam and double tap to restore the config.
Note: You'll need to tap to focus before take the photo, to avoid overexposed photos o errors.
I took both files (camera and configs) from a telegram group, so, Thanks to the guys who modded the app and edited the config, thank you very much! What a great job was done
How do I download the xml files? When I tap on the links, a new webpage open the file...
badadam said:
How do I download the xml files? When I tap on the links, a new webpage open the file...
Click to expand...
Click to collapse
click on link , go to XML page
click on "minus" before map to minimize file , it will be like "+<map></map>" , then right click on "+" and select save as .... (name)
next steps are explained in other posts here .... "Gcam" folder in internal memory , inside it create a new named "Configs" and this folder put XML file
open Gcam apk ,click twice anywhere in a place between shooter and left icon for change camera back-front , it will appear a window with restore settings "nico...." you just save it in "Configs" . That's it !
---------- Post added at 10:43 AM ---------- Previous post was at 10:42 AM ----------
sfoot13 said:
Well, this camera is working on our phones with Night Sight.
Install the camera, go to settings ---> Mod Settings ---> Fix ----> Raw Sensor - change it to RAW_SENSOR.
After that, go back to settings ---> Photo ---> Advanced ---> Night Sight and enable Alternative Config 8.1, go back to viewfinder and done. ALREADY SET!
Now comes the hardest part, we need help with the settings, because the photos are overexpoded, high ISO and things like that. To be honest, I don't know how works most of the settings, so please, if you find the right settings, share it with us HERE everyone could enjoy the benefits of this app, we're a community, so we help each other, don't forget that. The config is more stable now.
Download:
https://drive.google.com/file/d/1WL5M81NJmEgt-Hj2D7DKyGsCKztRC7hS/view?usp=sharing
UPDATE 3:
I uploaded 2 files, one for normal shoot and the other for black and white photos.
I have to say that I just edited the files to make it work on our devices, Monochrome xml was taken from a telegram group (OP6/OP6T), thanks to Jean-Luc for this mod.
Download the XML file that I attached and save it into Gcam/Configs (folder inside internal memory).
Now, check the photo that I posted and open Gcam and double tap to restore the config.
Note: You'll need to tap to focus before take the photo, to avoid overexposed photos o errors.
I took both files (camera and configs) from a telegram group, so, Thanks to the guys who modded the app and edited the config, thank you very much! What a great job was done
Click to expand...
Click to collapse
I love it , all is fine . All works quite well . I should say this is only single Gcam apk that is fully functional .
Only a minimal exception with a 3x3 grid aplied but simply removed from settings . Tonight I'll shoot some pictures and I'm conviced by now it will be fine also with exposure , saturation , shadows etc fine tunes settings
Pictures coming with black and white . What shall I do
Vickydiya said:
Pictures coming with black and white . What shall I do
Click to expand...
Click to collapse
Hmm, maybe you need to read again the info...
sfoot13 said:
Hmm, maybe you need to read again the info...
Click to expand...
Click to collapse
i tried using night sight and it just sat there and it wouldnt load .....but the other features worked,
Portrait mode is not working ....
Photos with the front camera do not change compared to those of the native camera, the face does not get more details as with the ports of the GCAM 5.1
Can someone re upload the Nico-NormalShoot+NightSight.xml please? I need it for gcam and when I click the original one it says it's unavailable.
Photobooth Crash
Only monochrome file
Only the monochrome file is working ?
Do you need Root ?? I do not see a GCAM folder in my file explorer.
I tried to install on Motorola One Macro and then Motorola One Vision. I followed the tutorial to the letter. But it crashes on both handsets right after installing and opening.
Sent from my Motorola One Hyper using XDA Labs
Hi,
Is there any update for this cam? I've tried in night sight using the xml files but all of the pictures are just coming exaggeratedly overexposed and with a lot of noise.
Thanks in advance for the help
it's amazing, I take photos without light and I was surprised, really thank you very much for this development, I will attach 2 photos in comparison of the difference.
It gets stuck on processing hdr+ after Android 10 upgrade. Anybody faced this or knows solution?
rohitaror said:
It gets stuck on processing hdr+ after Android 10 upgrade. Anybody faced this or knows solution?
Click to expand...
Click to collapse
Try setting it off. It would work.
Interestingly when I set it to her on pictures are having overblown whites. And with hdr+ enhanced it's not taking pictures at all... Android 10 here. Any suggestions?
It doesn't work anymore, the hdr shows processing, and after turning the hdr off, it won't click pictures
Update after Android 10
I faced the same problem of HDR processing never ending after Android 10 upgrade. However, the photos still seem to turn out okay. Thanks for this port! I'm running it on Motorola One Action.
Hello,
What level of "Camera2 API" is enabled on "Motorola One Action"?
"Full" or "Level 3" ???
Example Image Attached: DevCheck in Xiaomi Mi 9T (Level 3)
Regards!!
Would like to clean up a useless thread I started.
Tweaking BSG Gcam, where is this option located?!
I installed BSG Gcam, I downloaded the config file and put it in the folder required, then I noticed the config tagline "(I've configured this GCam with wide and 2X Zoom but if you prefer the ultra wide - wide - macro options, You have to go to...
forum.xda-developers.com
Please delete, apparently we cant delete our own threads.
Sorry but this goes on your permanent record.
Just like this thread
ArghMonkey said:
Would like to clean up a useless thread I started.
Tweaking BSG Gcam, where is this option located?!
I installed BSG Gcam, I downloaded the config file and put it in the folder required, then I noticed the config tagline "(I've configured this GCam with wide and 2X Zoom but if you prefer the ultra wide - wide - macro options, You have to go to...
forum.xda-developers.com
Please delete, apparently we cant delete our own threads.
Click to expand...
Click to collapse
Yes, users can't delete threads. What you have to do is to click the Report button at the bottom of your post and make a request. The Moderators will take over.
Please do not create threads at the drop of a hat like this one. This thread is now closed. The other thread has been deleted as requested by you.
Hi, I'm running stock rom and wondering how to get the best out of my camera. I've seen people installing the google camera but confused as to which one to download and what config settings. If someone could point me in the right direction or link to the right files I need for my phone that would be really appreciated.
If you want natural "life like" colors use: https://forum.xda-developers.com/t/gcam-for-x3-pro.4256287/post-85804879
For "insta" photos use: https://forum.xda-developers.com/t/gcam-for-x3-pro.4256287/page-10#post-85826307
Open sample photos for each and see difference, you'll understand what i mean.
Thanks, I'll give that natural one a try, what do I do with the config file?
After installing camera you go into settings, Load Config and choose the .xml you downloaded in this case "MK+V7.3.5+FIX+4.4+BSG.xml"
ps.
If you want to change config in the future you need to first clear Gcam data/cache before applying new config to avoid issues. Or just reinstall Gcam.
As for the Video recording don't use [email protected] / [email protected], use 30 fps instead it's much better quality. (60fps is upscaled lower resolution)