[MOD]720p and panorama for Gingerbread Motorola based Roms 27.10.2011 Defy and Defy+ - Defy Android Development

720p playback and record for Gingerbread (Android 2.3) Roms (stock based)
1. Defy 720p record* and playback, 5 MP panorama + pananorama assistent View attachment 720p+panorama-defy.zip
2. Defy + 720p record* and playback, 5 MP panorama + pananorama assistent View attachment 720p+panorama-defy+.zip
*only red lens
DID NOT WORK WITH CM7 based roms
old versions: (fixed MB526 problem, default now MB525)
1. 720p + panorama 3 Megapixel mode View attachment 720p+panorama-for-stock-gingerbread.zip
2. 720p + panorama wide mode View attachment 720p+wide-for-stock-gingerbread.zip
3. 720p for defy+ View attachment 720p-panorama-defy-plus.zip
- 720p record and playback, record works with stock camera app
- thanks to bether and pbjhon
- thank's to Simplestas and _Reboot_ for libs
- 720p record works only on red lens camera (bayer module)
- Green lens can only record max. WVGA. (SOC module)
-
If you have green lense install this rom: http://forum.xda-developers.com/showthread.php?t=1130656
- 720p playback works for both camera.
Install:
Download attached file
Copy file to root of your sdcard
Run 2nd-init
Launch custom recovery (CWM)
Install zip
Reboot
720p record settings:
1280x720, h264, AAC, AudioSamplerRate 44100, AudioBitRate 102400, 30 FPS, 10Mbit
Video will record with max. 24 FPS
WORKING SETTINGS:
tested on red lens
H264 codec: 1280x720, 720x480, 704x576, 640x480
Mpeg4/m4v: 1280x720, 848x480, 800x480,720x480, 704x576, 640x480, 480x320, 352x288, 320x240
Sample: http://www.4shared.com/video/4QPCAGN8/VIDEO00018.html reupload
or attached video00017.zip (4Mbit)
- Record and play tested on Gingerbread Rom 4.5.1-134 (nandroid-backup + fixed sbf)
bether said:
Hi,
I uploaded sample videos of green and red lens cameras:
green = WVGA
red = WVGA
red = 720p
sample_red_green_720p_WVGA
Click to expand...
Click to collapse
farsight73 said:
Ok. I tested extensively this 720p patch with lgcamera pro. The best of the best is video settings at 1280x720 is with MPEG4 as its encoder, 5Mbit and 30fps ticked as well. Video recording and playback is very smooth no lagging at all. Although video playback at 24fps but it's awesomely working smooth.
Click to expand...
Click to collapse
gommers1978 said:
.... after running the 720p recording fix that the preview of the camera does not show (black screen). ....
Solved problem, have 2 set in 2nd init boot menu auto boot to normal, black screen problem gone now and record 23fps video 720p without overclocking.
Click to expand...
Click to collapse

combined with green bread mod camera works fine up to wvga and 720p playback is ok

reserved .................

CM7 - Green Lens
i have green lens defy and cm7 RC1v2 installed, it will work on it?

rafaelsartori said:
i have green lens defy and cm7 RC1v2 installed, it will work on it?
Click to expand...
Click to collapse
Did not work. no boot

Hi,
Will there be any plans to make this mod work with CM7 and/or MIUI?
Thank you for your work.

did i see it? 720p recording with green lens?

Sorry @fabianowerner green lens records WVGA.

Hey... I'm using stock Gingerbread 2.3.3, Android version 2.3.3,BuildNumber: 4.5.1_112.
Will it work??
Also I'm using the lgcamera pro too if this matter..
Thanks!!!

Hi Walter!
Im using Gingerbread Rom 4.5.1-134 with the GreenBreadMod and i get "record failed" message when trying to record video.
Any ideas?
Cheers
Andy

Is there any video sample ? h.264 +30FPS sounds nice

wow!!! for me rec/play in 720p is extremely important!
although i have to admit, it is less that i desperately need those features but 720p in [email protected] once and for all proves that the defy really has a omap3630 with iva 2.2 installed which just got crippled on the softwareside (remember the discussion???)! GREAT WORK!!!
sadly i am a quite satisfied miui user and i know that this mod is kernel dependend, so i won't be able to use it right now
thats why i have some questions:
1. could you please post a sample of 720p recording??? thanks
2. has the 720p-playback improved (-> lagging in high profile vids)since antibytes mod for froyo?
3. and of course: WOULD IT BE POSSIBLE TO DO THE MODIFICATION ON LIBS FROM FROYO KERNEL???? lets say for 3.4.2.177-03/05 or cee 179
THANKS A LOT!!!

from 451-134 i've flashed greenbread patch for green lens and this zip, but from lg camera dont have 720p recording!(ive green lens)

iaio72 said:
from 451-134 i've flashed greenbread patch for green lens and this zip, but from lg camera dont have 720p recording!(ive green lens)
Click to expand...
Click to collapse
only wvga for green lens.

Hey Walter.. great mod!!
But again I need to know is it safe to flash this zip into my rooted stock gingerbread 2.3.3, BuildNumber: 4.5.1_112 ?? I have 2nd-init 1.8v installed if this matter too..

farsight73 said:
Hey Walter.. great mod!!
But again I need to know is it safe to flash this zip into my rooted stock gingerbread 2.3.3, BuildNumber: 4.5.1_112 ?? I have 2nd-init 1.8v installed if this matter too..
Click to expand...
Click to collapse
make backup and try it.

Ok.. will jump in and report back later...
Going to charge the phone full first..!

Ok.. Firstly, my rom is rooted stock gingerbread 2.3.3. With installed 2nd-init ver1.8 running.
Just flashed the zip file via 2nd-init custom recovery. Follow with installing lgcamera-pro ver5.87..
Lgcamera configuration
Camera settings:
White balance - auto
Scene mode - auto
Flash mode - auto
Anti banding - auto
Focus mode - auto
Photo Settings:
2592x1456
Overlay a time & date on the photo
JPEG quality - 100
Video settings:
1280x720
Video encoder - H.264
Video file format - MPEG 4
Video bitrate - 4Mbit
Video framerate - 30
Here's the video of 30 sec and a picture under the above settings taken with my Defy red lens. Both files are taken under low lighting/flourecent. Playback still a little lagging but smooth on pc though.. Thanks to walter...!
http://www.multiupload.com/9QCZYCQTIX
http://www.multiupload.com/5KZM12Y6BP
Sent from my awesome Moto Defy: Stock Rooted Gingerbread 2.3.3 - XDA Premium

Can anyone make a part for CM7。。

your video still on 1280x720 @25 FPS

Related

Defy has MT9P012 ImageSensor 720p Video only lib missing?

China 2.2 Rom missing some file for 720P
libOMX.TI.720P.Decoder.so and libOMX.TI.720P.Encoder.so
I attached files from Milestone 2:
Maybe sombody have an idea to get 720P on Defy
http://webcache.googleusercontent.c...torola.com/message/307129+&cd=6&hl=de&ct=clnk
from BizzaBoy @ supportforums.motorola.com
"The DEFY camera modules is able to do 720p. It's a MT9P012 according to the boot log.
Looking at the kernel sources on opensource.motorola.com (drivers/media/video/mt9p012.c), there is a FRAME_1296_30FPS mode supported which reads in a 1296x972 frame that would be cropped down to 1280x720. From the code it appears that those smaller modes are achieved by skipping pixels. This also explains why there is no 720x480 mode, just a 648x486 internal mode.
Ok, next looking at TI's OMAP3 literature, it says that it can do up to 720p HD.
So at the end of the day the DEFY *should* do 720p, and a 2.2 update *might* enable that.
I personally would be extatic to have 720p. The DEFY is really mindblowing as a allround device, where I can record videos on our weekly ski-trips, but 640x480 @30fps really, really sucks. 640x480 @60fps would be great, or 720p @30fps. Overall the camera/camcorder interface needs some substantial work. You cannot switch to a explicitie white balance (only auto), which is a pain if you record video where the lighting changes and the camera software tries to readjust the white balance. The other thing that drives me nuts is that you cannot adjust the image quality settings for the jpeg encode. "
humm i'll check it too
walter79 said:
I found this in china 2.2 Rom.
/etc/cameraCalDef5M.bin and /etc/cameraCalDef8M.bin
Did Defy maybe have 8 MP Camera like Milestone XT720?
I renamed ...CalDef8M to CalDef5M and replaced the original 5M.bin
Camera is a bit faster.
I will search for a better camera app.
Click to expand...
Click to collapse
This is crazy!! all the stuff cpu overclock 1200Hz, Camara 8 MP, and Gpu!!
Fabulous!!
walter79 said:
I found this in china 2.2 Rom.
/etc/cameraCalDef5M.bin and /etc/cameraCalDef8M.bin
Did Defy maybe have 8 MP Camera like Milestone XT720?
I renamed ...CalDef8M to CalDef5M and replaced the original 5M.bin
Camera is a bit faster.
I will search for a better camera app.
Click to expand...
Click to collapse
Are you sure that quality of photos is better now? Have you seen if the resolution is bigger(in details, after take a photo)?
Sent from my MB525 using Tapatalk
aikidoka90 said:
Are you sure that quality of photos is better now? Have you seen if the resolution is bigger(in details, after take a photo)?
Sent from my MB525 using Tapatalk
Click to expand...
Click to collapse
Resolution is not bigger in default Camera.App But in my opinion cam is a bit faster.
I've taken 2 photo before and after renaming file, and i get the same photo, with same specification and resolution.
I've also tried with Pro Zoom Camera 5X and with Vignette, i get the same picture...
So i think we have "only" 5Mo in hardware...
Ok, it a 5MP Cam but 720p should possible.
Have a look to this page. (only google cache)
http://webcache.googleusercontent.c...torola.com/message/307129+&cd=6&hl=de&ct=clnk
"The DEFY camera modules is able to do 720p. It's a MT9P012 according to the boot log.
Looking at the kernel sources on opensource.motorola.com (drivers/media/video/mt9p012.c), there is a FRAME_1296_30FPS mode supported which reads in a 1296x972 frame that would be cropped down to 1280x720. From the code it appears that those smaller modes are achieved by skipping pixels. This also explains why there is no 720x480 mode, just a 648x486 internal mode.
Ok, next looking at TI's OMAP3 literature, it says that it can do up to 720p HD.
So at the end of the day the DEFY *should* do 720p, and a 2.2 update *might* enable that.
I personally would be extatic to have 720p. The DEFY is really mindblowing as a allround device, where I can record videos on our weekly ski-trips, but 640x480 @30fps really, really sucks. 640x480 @60fps would be great, or 720p @30fps. Overall the camera/camcorder interface needs some substantial work. You cannot switch to a explicitie white balance (only auto), which is a pain if you record video where the lighting changes and the camera software tries to readjust the white balance. The other thing that drives me nuts is that you cannot adjust the image quality settings for the jpeg encode. "
Kernel: https://opensource.motorola.com/sf/go/projects.moto_defy/frs.defy_latam.jorla_u3_6_14_5
Good, there is still a chance we could get 720p camcorder at some point, since both 3630-800 and MT9P012 are capable of it.
wow seems amazing
Have you get it work?
djsven said:
Have you get it work?
Click to expand...
Click to collapse
Have no time more testing this.
Our Camera component can't take pictures biggers than 5M, in the other thread that tal about 720p we can found the URL of datasheet component. Here I will try to paste it (remmember, buy a beer to BizzaBoy! )
trulydisplays. com/ccm/specs/5.0M%20Sensor%20Aptina%20MT9P012%20Spec.pdf
As I wrote , Acer Liquid use the same camera (MT9P012).
But no 720p for liquid but I think Liquid Steam has same camera with 720p support.
Hope this one help..
Thank you for working for us
what's next? i mean, to get VGA @ 120FPS or HD working?
I think must be easy modify the Android Kernel to accept the 120FPS but will be more complicated hack the Camera.apk to add this feature.
I would start to hack for HD Video. Maybe will be complicated for the Kernel but easaly for the application.
i will donate, if this works good
Thanks for your job master!!! i love you!!!!!!!
demolition23 said:
As I wrote , Acer Liquid use the same camera (MT9P012).
But no 720p for liquid but I think Liquid Steam has same camera with 720p support.
Hope this one help..
Click to expand...
Click to collapse
Yes, acer liquid stream is able to record video at 720p...and if it has the same camera, is a good new for us
aikidoka90 said:
Yes, acer liquid stream is able to record video at 720p...and if it has the same camera, is a good new for us
Click to expand...
Click to collapse
And here is the rom dump
http://www.megaupload.com/?d=UFO2LEVV
pls someone take a look..
Please reupload!
Link is no available

[MOD] 720p recording ported from Hancocks ROM

BEFORE YOU READ ANY FURTHER, THIS MOD/PORT (WHATEVER) WILL PROPABLY ONLY WORK ON RED LENSED DEFYS! SORRY BUT IT SEEMS TO BE A HARDWARE THING! AND THERE ALSO MIGHT BE THE SLIGHT POSSIBILITY THAT IT IS LIMITED TO 3.4.2_145-003 VERSION ONLY! (AT LEAST THIS IS THE VERSION HANCOCKS ROM IS BASED ON AND THE SAME I TESTED IT WITH)
to make it short, i (kind of) ported the 720p recording capability of hankocks rom 1.11 to pays rom 3.3 (based on 3.4.2_145-003).
first of all, I AM NO DEVELOPER! so all props go to hankock! what i did was the following:
i took all the libs from hancocks rom which had something to do with camera & encoding (as you can see, not a very devlike procedure) and put them into my system/libs. then i took media_profiles.xml from hancocks rom and put it to my system/etc (of course i changed back permissions afterwards). first i used hancocks patched stock camera app and merged my and his build.prop so that the whole thing would run on my rom. and it worked perfectly. but this solution has 2 drawbacks:
1. hancock used 3gpp container, which is imho inferior to mp4
2. the audio encoding is very bad (amr_nb, 8kbps)
then i found out, that if i used lgcamera instead i would't need to change build.prop anymore and it still worked fine. besides of that, lgcamera is much more customizable settingwise. and by not modifying build.prop, i hope to enhance compatibility of this mod to other froyo versions.
and that is what my package contains:
-all libs with "enc", "cam", "camera" in therr names from hancocks rom (i know, i'm an amateur )
-media_profiles.xml from hancocks rom
-lgcamera 5.25 (free) btw. it works with the latest pro version from the market too
please use tenfars clockwork mod or other custom recovery to flash this update.zip. the built in original recovery won't work (doesn't accept signature). BEFORE YOU START, DON'T FORGET TO MAKE A NADROID BACKUP!!!
here you find an untouched video sample: http://forum.kut-btu.de/video/VIDEO00017.mp4
([email protected],8fps, mp4-container, video: [email protected]~10000kbit/s, audio: [email protected]/s, 44khz)
i know, seems very choppy but this is because i was walking constantly. framerate is quite good. my defy runs at 1,2ghz but i tested 720p rec @ 800mhz too and it worked the same. it might be necessary to apply sdcard read_ahead_kb patch (mine runs at 2560 kb instead of 128) to avoid slow framerate effect which could be observed on hancocks rom.
sadly, recording with .h264 codec is still not possible (and i doubt it ever will). hence the resulting video is no match for the 720p recordings of e.g. the samsung wave but imho it is still a lot better than stock and looks almost great
now i leave it to the real devs to optimize this, whatever it is.
DISCLAIMER:
I WILL NOT BE HELD RESPONSIBLE FOR ANY DAMAGES RESULTING FROM THIS MODIFICATION!
/edit:
mod works fine on the following froyo versions:
-3.4.2-117
-3.4.2-145 (as the mod comes from this version)
-3.4.2-155
mod doesn't work on:
-3.4.3-11
strange behavior detected:
after recording in 720p dmesg shows:
Timed out waiting for DSP suspend 3
pm_op()latform_pm_suspend+0x0/0x54 returns -1
PMevice C6410 failed to suspend:error -1
PM:Some devices failed to suspend
Click to expand...
Click to collapse
don't know, which impact this has on battery drain. after fresh reboot and w/o recording in 720p this problem doesn't show up.
Thnaks for this - i'll have a play with it later today
It works with Barebones 1.4... when im recording it seems little bit choppy, but playing it in MoboPlayer is good (smooth, maybe not 30 fps but its good!).
Thank you!
Antszej said:
It works with Barebones 1.4... when im recording it seems little bit choppy, but playing it in MoboPlayer is good (smooth, maybe not 30 fps but its good!).
Thank you!
Click to expand...
Click to collapse
great! since Barebones 1.4 is based on CEE 3.4.2-155-002 Deblur, we can add it to the compatibility list.
yes, the recording view seems choppy on my system too, but the resulting video is quite smooth (~23-24fps).
http://www.multiupload.com/APEW3UPMI0
Here is the sample.
juuu
I want this for green lens...
insestito said:
juuu
I want this for green lens...
Click to expand...
Click to collapse
sorry. i believe that 720p recording isn't impossible for green lense models. but i do believe that this patch based on hancocks mod will do the trick only for red lens defys. because it isn't just the color of the lens but a totally different sensor. perhaps someone figures out a mod for green lenses too.
But official Froyo is near, just wait, it should have 720p recording for EVERYONE.
I compare it to xd1 ROM files, and find the different files are,
720p_mp4venc_sn.dll64P
libOMX.TI.720P.Encoder.so
libOMX.TI.JPEG.Encoder.so
libOMX.TI.mp4.splt.Encoder.so
libOMX.TI.Video.encoder.so
Hope it can reduce the update size.
Antszej said:
But official Froyo is near, just wait, it should have 720p recording for EVERYONE.
Click to expand...
Click to collapse
what leads you to this assumption?
sunoldman said:
I compare it to xd1 ROM files, and find the different files are,
720p_mp4venc_sn.dll64P
libOMX.TI.720P.Encoder.so
libOMX.TI.JPEG.Encoder.so
libOMX.TI.mp4.splt.Encoder.so
libOMX.TI.Video.encoder.so
Hope it can reduce the update size.
Click to expand...
Click to collapse
feel free to modify the package everyone... my work is done
Worked like a charm for me, thanks!
ToTTenTranz said:
Worked like a charm for me, thanks!
Click to expand...
Click to collapse
u r welcome
Yep it works here too but i cant see much difference between WVGA and this 720p..its almost the same. Is there any app on market that has continuous autofocus while recording video(like barcode scanner) ?
I'll create this patch for the green lens?
insestito said:
I'll create this patch for the green lens?
Click to expand...
Click to collapse
is this a statement or a question?
derbestimmer said:
is this a statement or a question?
Click to expand...
Click to collapse
Question for you or any Dev, sorry...
Google translator is very bad...
insestito said:
Question for you or any Dev, sorry...
Google translator is very bad...
Click to expand...
Click to collapse
i don't think i will be any helpfull, cause i'm no dev. i just took the work of a dev and ported it to another rom. sorry. perhaps someone else is able to do it.
My problem with Hancocks ROM is that lgcamera records very light sound, no matter what encoding I chose (AMR_NB, AMR_WB or AAC). I am not even sure the software records sound on defy with encoding as AMR_WB and AAC.
Video works ok with MPEG4 encoding though with twp slight issues. One is video file bitrate is not the same as configured in lgcamera settings. The other one is framerate is always below 25 - not sure if SD card speed is the bottleneck.
shural said:
My problem with Hancocks ROM is that lgcamera records very light sound, no matter what encoding I chose (AMR_NB, AMR_WB or AAC). I am not even sure the software records sound on defy with encoding as AMR_WB and AAC.
Video works ok with MPEG4 encoding though with twp slight issues. One is video file bitrate is not the same as configured in lgcamera settings. The other one is framerate is always below 25 - not sure if SD card speed is the bottleneck.
Click to expand...
Click to collapse
with light sound, do you mean quiet or bad quality? strange when i set lgcamera from amr_nb to aac, it does use this codec at least the resulting video shows this in codecinfo. and i think the sound quality is slightly better too compared to amr. concerning the other two issues, i have the same experience. the framerate never goes over 23,9fps and when i force it to 25 or even 30, lgcamera won't start recording. youre right the bitrates of the resulting video are mostly lower then the bitrates chosen in lgcamera. 13 prduces ~10, 10 produces ~8 and 8 produces ~6 mbps. but imho there is a difference visible between 13 and 8mbps respectively 10 and 6 in the resulting video. at least on the computer you can see the difference.
Sent from my MB525 using Tapatalk

[MOD] Better Camera Mod for CM7 - [email protected] / [email protected]

Hi, this mod is for CyanogenMod 7 for our LG Optimus 3D. Improved A LOT of recording in 1080p and 720p and a little picture quality.
Features:
1080p at [email protected] ( In stock CM7 record at 10/[email protected] )
720p at [email protected] ( In stock CM7 record at 6/[email protected] )
Improved image quality, ( Best ImageDecoding memCap (After 20.000.000) (Now 25.000.000) )
How to install: Copy "media_profile.xml" in "System/etc" and replace it.
Download: https://www.dropbox.com/s/58erw44hgy6bl7o/media_profiles.xml
If you force close in camera try this ([email protected]): http://db.tt/KhpiPwFM
TEST VIDEO: http://youtu.be/Cauwj9mHISA
Did you test this? I think the bitrate is somewhat high and you need a rather good memory card to support such high bitrates especially for [email protected]/40mbps
pandaball said:
Did you test this? I think the bitrate is somewhat high and you need a rather good memory card to support such high bitrates especially for [email protected]/40mbps
Click to expand...
Click to collapse
My sdcard is class 4, and works good, and de quality of the video is incredible...
Test it
Hi all
After installing the camera in video mode, forcing closure.
Try this:
http://db.tt/KhpiPwFM
link is dead
great job will try in my bro's phone 2morow
Tell me this works for 3D video recording?
Sent from my LG-SU870 using xda app-developers app

OPO 4K Video recording

Hi All,
Can somebody help me to know that for 4K video recording on OPO should i use CM11 or CM12 for better recording and what settings and camera should I use from below list to record 4K videos
1. Stock Camera
2. CameraNext Modded or
3. ColorOS Camera wich is recently released on XDA
Thank you.
SK3407 said:
Hi All,
Can somebody help me to know that for 4K video recording on OPO should i use CM11 or CM12 for better recording and what settings and camera should I use from below list to record 4K videos
1. Stock Camera
2. CameraNext Modded or
3. ColorOS Camera wich is recently released on XDA
Thank you.
Click to expand...
Click to collapse
Stock Camera - works fine on CM11, but you have to use FWVGA to record in 4k UHD on CM12.
Modded camera - more options to tune the picture settings, also renamed FWVGA to 4k UHD (CM12) for convenience. But you might have video artifacts.
Color OS camera - works fine on CM11, don't know about CM12. But you can only record in 2160x3840 as opposed to the other camera which also has 2160x4096
abhi08638 said:
Stock Camera - works fine on CM11, but you have to use FWVGA to record in 4k UHD on CM12.
Modded camera - more options to tune the picture settings, also renamed FWVGA to 4k UHD (CM12) for convenience. But you might have video artifacts.
Color OS camera - works fine on CM11, don't know about CM12. But you can only record in 2160x3840 as opposed to the other camera which also has 2160x4096
Click to expand...
Click to collapse
Thanks for your reply.
I dont know how to use FWVGA on CM12 . Can you guide me how to use FWVGA to record in 4k UHD on CM12.
Thank you.
SK3407 said:
Thanks for your reply.
I dont know how to use FWVGA on CM12 . Can you guide me how to use FWVGA to record in 4k UHD on CM12.
Thank you.
Click to expand...
Click to collapse
In the stock or modded app, go into settings and scroll right to the video section. Click on "size".
If on the stock app
-scroll down and find " FWVGA" click that and then record as usual
If on modded app
-scroll down and find "4k UHD (CM12)" click on that and record as usual
sent from my amazingly awesome OnePlus One with Stereo Mod
Don't forget to hit thanks!
abhi08638 said:
In the stock or modded app, go into settings and scroll right to the video section. Click on "size".
If on the stock app
-scroll down and find " FWVGA" click that and then record as usual
If on modded app
-scroll down and find "4k UHD (CM12)" click on that and record as usual
sent from my amazingly awesome OnePlus One with Stereo Mod
Don't forget to hit thanks!
Click to expand...
Click to collapse
I tried below option but i am getting grainy video can you suggest any settings to get clarity
If on modded app
-scroll down and find "4k UHD (CM12)" click on that and record as usual
Thank you.
SK3407 said:
I tried below option but i am getting grainy video can you suggest any settings to get clarity
If on modded app
-scroll down and find "4k UHD (CM12)" click on that and record as usual
Thank you.
Click to expand...
Click to collapse
Can you upload a sample?

[TWRP][MAGISK][7.x-8.x]How to record smooth 60fps video with clear stereo sound[HEVC]

UPDATED - NOW WITH STABLE 30/60/90/120 FPS IN LOW LIGHT CONDITIONS!
NOTE! YOUR DEVICE MUST HAVE UNLOCKED BOOTLOADER! THIS INSTRUCTION ONLY FOR SNAPDRAGON VERSION PHONES!
Instruction for android nougat(TWRP):
If you want to record smooth 60(90) fps fullhd and 120fps hd videos with clear stereo sound and stabilization, follow these several simple steps:
1. Okay, it is supposed, that your device has unlocked bootloader, installed usb drivers and last fimware on android nougat or android oreo.
First of all, go to camera settings and wipe all data from system camera app, then download all necessary files from my GoogleDrive folder "ALL TOOLS" HERE.
Copy all files on your sd card except recovery.7z
2. Unpack recovery.7z on PC in any folder.
Turn off your smartphone and enter fastboot mode(vol- and power on), connect your phone to PC and run boot_twrp.bat from "tools_r25.0.3-windows (2)" folder, follow instructions on the screen.
Wait for running twrp. (TWRP recovery won't be flashed on your device!)
P.S. Pass this step if u aready have flashed twrp recovery before it.
3. Tap install, and flash: Camera_2API_addon.zip => camera.zip => sound_fix_redmi_note4x_v1.zip=>BOLTiSHok_60-90_FPS_FHD_s5k3l8 & fiks cvet-90moto_60gcam&snap.zip(for samsung s5k3l8 sensor) or BOLTiSHok_superFPS.zip(for all types of camera sensor)=>( and MIUICameraBraviaV4.zip if you want replace miui stock camera app with modified one)
back to previous menu and wipe dalvic/art and cache
And finally DO NOT FORGET FLASH lazyflasher-no-verity-opt-encrypt.zip !
Reboot your smartphone and enjoy smooth video 60 fps recording with clear stereo sound with snapdragon camera.
Note. Your default media profiles will be replaced with modified ones and all camera apps now using h.265 codec with fix for sound recording.
P.S. And of course 60 fps recording requires a lot of light, so unfortunately you can not make a video inside buildings with low light.
Also, I noticed some glitch, when i try to switch between 4k and 1080p mode with enabled stabilization, so i recommend to turn it off before changing resolution in video settings. + slow mo 720 p recording seems not working, but it works in miui camera
Okay, Now you can record with stable 30/60/90(for FULLHD)/120 fps(for HD) even in low light conditions!
Original libs for turning back also added.
All video modes(for samsung sensor) atm are:
4K/1080p 30FPS
FULLHD(60/90 FPS), HD(60/90/120 FPS), Front Camera(HD 60 FPS)
SLOW MOTION: FULLHD(60/90 FPS), HD(60/90/120 FPS), Front Camera(HD 60 FPS)
Slow motion video sample in 1080p
Instruction for android oreo and android nougat for all sensors(MAGISK) without sound fix and snapdragon camera:
Use magisk modules from my GoogleDrive folder "ALL TOOLS" HERE.
There are 2 types of module:
1) For Android Nougat and Oreo(non treble)
2) For Oreo(treble)
======================================================================================================================================================
Now u can record 60 fps video with GCAM
======================================================================================================================================================
Warning! Upgrading your fimware is accompanied by erasing "/system" partition, therefore you have to repeat all steps from instruction again!
I am not the creator of these files, so here are some credits:
Camera_2API_addon.zip credited with this post
camera.zip credited with this post
sound_fix_redmi_note4x_v1.zip credited with this post
MIUICameraBraviaV4.zip credited with this post
media_profiles.7z credited with this post
BOLTiSHok_superFPSISO2.zip, BOLTiSHok_superFPS.zip and BOLTiSHok_60-90_FPS_FHD_s5k3l8 & fiks-60moto.zip credited with this post
Magisk Modules from this post
All these files were tested on 9.5.8.0 ROM (MIUI GLOBAL 9.5)
And remember , use it at your own risk!
YT Channel where I'll be uploading my example videos
And originals on Google Drive:
1
2
3
4
5
Audio test(sorry for incorrect left and right side recognizing)
I was waiting for your thread since you announced it on 4pda, let's see.
I have some questions.
I am on LinageOS, do I have to flash camera2api again even though I already have it enabled?
Can I still install the modded Google camera without having any conflict? No conflicts with h.265codec?
Is this the MIUi camera which works on custom ROM? Does beautify work?
My biggest concern is the Google camera. I don't want to mess it up. Your post says snapdragon camera will be installed right? So recording in 60fps will only work on that app and not others?
Hootix said:
I have some questions.
I am on LinageOS, do I have to flash camera2api again even though I already have it enabled?
Can I still install the modded Google camera without having any conflict? No conflicts with h.265codec?
Is this the MIUi camera which works on custom ROM? Does beautify work?
My biggest concern is the Google camera. I don't want to mess it up. Your post says snapdragon camera will be installed right? So recording in 60fps will only work on that app and not others?
Click to expand...
Click to collapse
I cant say how it works on lineageos, because i have never installed it.
If u have camera2api enabled already, so obivously u do not need to flash it again.
I have installed miui mod camera, gcam and snapdragon camera together, all apps using the same h265 codec and i dont have any conflicts, all works pretty well.
I shot several videos in these apps and only snapcamera allows to record true 60 fps.
rap1do said:
I cant say how it works on lineageos, because i have never installed it.
If u have camera2api enabled already, so obivously u do not need to flash it again.
I have installed miui mod camera, gcam and snapdragon camera together, all apps using the same h265 codec and i dont have any conflicts, all works pretty well.
I shot several videos in these apps and only snapcamera allow to record true 60 fps.
Click to expand...
Click to collapse
Thanks I will try it. How about other apps like Facebook Live, instagram? Snapchat? Will this be messed?
Also how about safety net and Magisk? Will safetynet still pass? I'll try it out.
Hootix said:
Thanks I will try it. How about other apps like Facebook Live, instagram? Snapchat? Will this be messed?
Also how about safety net and Magisk? Will safetynet still pass? I'll try it out.
Click to expand...
Click to collapse
I dunno why u worry about fb and other messengers, it doest even relate to video calls
Shortly ur profiles for sound and video will be replaced, thats all. If lineageos has the same paths for these files, so it should work.
Using Lineage OS 14.1 I can confirm that 60fps and 120slowmo works. I just installed the Snapdragon Camera(apk only). Thanks!
confirmed working on AOSP based rom
wasd- said:
Using Lineage OS 14.1 I can confirm that 60fps and 120slowmo works. I just installed the Snapdragon Camera(apk only). Thanks!
Click to expand...
Click to collapse
with hevc codec?
rap1do said:
with hevc codec?
Click to expand...
Click to collapse
Since I didn't install the media_profiles from the zip i don't think so.
rap1do said:
with hevc codec?
Click to expand...
Click to collapse
I installed with the media_profiles file and it works too
maybe its app dependent?
Do I have to flash lazyflasher, I'm on LOS. And where do I get it?
Hootix said:
Do I have to flash lazyflasher, I'm on LOS. And where do I get it?
Click to expand...
Click to collapse
all tools in the 1st post (4th string)
Where do I set video resolution in modded camera apk?
kamil79123 said:
Where do I set video resolution in modded camera apk?
Click to expand...
Click to collapse
which one?
miui - in general settings - system apps, camera
snap - swipe to video and tap settings(gear icon in the right top corner) -resolution
rap1do said:
which one?
miui - in general settings - system apps, camera
snap - swipe to video and tap settings(gear icon in the right top corner) -resolution
Click to expand...
Click to collapse
Got it, thanks!
Could you describe me what's the ZSL, HDR Pro, HDR Live?
kamil79123 said:
Got it, thanks!
Could you describe me what's the ZSL, HDR Pro, HDR Live?
Click to expand...
Click to collapse
As I understood ZSL -Zero Shutter Lag (instant shot)
hdr pro - dunno , mb enhanced hdr algorythm, same for hdr live
rap1do said:
As I understood ZSL -Zero Shutter Lag (instant shot)
hdr pro - dunno , mb enhanced hdr algorythm, same for hdr live
Click to expand...
Click to collapse
Even without ZSL phone takes photo almost instant, same as with ZSL turned on. Well, these options seems to not work on our phones too.
rap1do said:
all tools in the 1st post (4th string)
Click to expand...
Click to collapse
I don't think you need lazy flasher if you are on LOS or AOSP? It is only for MIUI roms? I have never used it
That sound fix is the file with media profiles?

Categories

Resources