Skip to content

Commit

Permalink
4k+ firmware 1.4.14
Browse files Browse the repository at this point in the history
  • Loading branch information
irungentoo committed Jun 28, 2018
1 parent 7ddef48 commit 0c73d39
Show file tree
Hide file tree
Showing 7 changed files with 651 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 4k+/increased_framerate/1.4.14/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Put [autoexec.ash](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/raw/master/4k+/increased_framerate/1.4.14/autoexec.ash) in the root of your sd card. IMPORTANT: if you are on windows you must save page as (download) this file, if you copy paste its contents it will not work because it needs to have unix line endings (and an empty line at the end). If you want to edit this file, get an editor like Notepad++ that supports unix line endings.

For an explanation see: [Readme.md](../Readme.md)
38 changes: 38 additions & 0 deletions 4k+/increased_framerate/1.4.14/autoexec.ash
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#Increased framerate mod by irungentoo for yi4k+ firmware 1.4.14
#
#If your camera starts up in one of these modes you must reinit the sensor by going to photo mode and then going back to video mode
#If your camera crashes, try setting the max iso to auto
#If you get double frames, set your exposure manually
#
#Raises the fps of the 1080p 120fps mode to 150fps
#Important: you must manually select an exposure of 1/120 (modded to 1/150) or higher in the camera settings (or be in a bright place if it's at auto) or this won't work
writel 0x72B190 0x1C9C380 #30MHz
writel 0x72B1AC 0x249F0 #150 fps
writel 0xAC3200 0x249F0 #150 fps
#1/120s exposure -> 1/150s
writel 0xA69020 0x249F0 #150 fps
writel 0xA690A8 0x51D #1/150 exposure
#
#Raises the fps of the 720p 240fps mode to 300fps (without overclocking)
#Important: you must manually select an exposure of 1/240 (modded to 1/300) or higher in the camera settings (or be in a bright place if it's at auto) or this won't work
writel 0x72B1E8 0x138
writel 0x72B1F0 0x302
writel 0x72B1FC 0x493E0 #300 fps
writel 0xAC3248 0x493E0 #300 fps
#1/240s exposure -> 1/300s
writel 0xA68F00 0x493E0 #300 fps
writel 0xA68F88 0x59E #1/300 exposure
#
#Raises the fps of the 4k 60fps mode to 70fps
#Note: because the encoder doesn't seem to work with weird fps like 70fps, the files created in this mode will be 60fps but will be longer (ex: if you record for 60 seconds
#you will end up with a 60fps file that lasts for 70 seconds with the sound not being in sync)
#Overclock the dsp and core slightly to be able to process 70fps 4k:
#increase the clock of the dsp to 696MHz and core to 552MHz
writel 0x461F20 0xe1a00000 #nop
writel 0x461F2C 0xea000025
#sensor stuff
writel 0x72B168 0x1AB3F00 #28MHz
writel 0x72B184 0x11170 #70fps
#1/60s exposure -> 1/70s
writel 0xA69140 0x11170 #70fps
writel 0xA691C8 0x491 #Exposure 1169
3 changes: 3 additions & 0 deletions 4k+/shutter_custom_values/1.4.14/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Put [autoexec.ash](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/raw/master/4k+/shutter_custom_values/1.4.14/autoexec.ash) in the root of your sd card. IMPORTANT: if you are on windows you must save page as (download) this file, if you copy paste its contents it will not work because it needs to have unix line endings (and an empty line at the end). If you want to edit this file, get an editor like Notepad++ that supports unix line endings.

For an explanation see: [Readme.md](../Readme.md)
34 changes: 34 additions & 0 deletions 4k+/shutter_custom_values/1.4.14/autoexec.ash
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#Custom shutter values mod by irungentoo for firmware 1.4.14
#autoexec.ash with default values
#1/240s
writel 0xA68F00 0x3A980 #Framerate Base 240000
writel 0xA68F04 0x3E9 #Framerate Div 1001
writel 0xA68F88 0x574 #Exposure 1396
#1/200s
writel 0xA68F90 0xC8 #Framerate Base 200
writel 0xA68F94 0x1 #Framerate Div 1
writel 0xA69018 0x552 #Exposure 1362
#1/120s
writel 0xA69020 0x1D4C0 #Framerate Base 120000
writel 0xA69024 0x3E9 #Framerate Div 1001
writel 0xA690A8 0x4F4 #Exposure 1268
#1/100s
writel 0xA690B0 0x64 #Framerate Base 100
writel 0xA690B4 0x1 #Framerate Div 1
writel 0xA69138 0x4D2 #Exposure 1234
#1/60s
writel 0xA69140 0xEA60 #Framerate Base 60000
writel 0xA69144 0x3E9 #Framerate Div 1001
writel 0xA691C8 0x474 #Exposure 1140
#1/50s
writel 0xA691D0 0x32 #Framerate Base 50
writel 0xA691D4 0x1 #Framerate Div 1
writel 0xA69258 0x452 #Exposure 1106
#1/30s
writel 0xA69260 0x7530 #Framerate Base 30000
writel 0xA69264 0x3E9 #Framerate Div 1001
writel 0xA692E8 0x3F4 #Exposure 1012
#1/25s
writel 0xA692F0 0x19 #Framerate Base 25
writel 0xA692F4 0x1 #Framerate Div 1
writel 0xA69378 0x3D2 #Exposure 978
5 changes: 5 additions & 0 deletions bitrate/4k+/1.4.14/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Bitrate mod for the Yi 4k+ on firmware 1.4.14

Put [autoexec.ash](https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/raw/master/bitrate/4k+/1.4.14/autoexec.ash) in the root of your sd card. IMPORTANT: if you are on windows you must save page as (download) this file, if you copy paste its contents it will not work because it needs to have unix line endings (and an empty line at the end). If you want to edit this file, get an editor like Notepad++ that supports unix line endings.

For an explanation see: [Readme.md](../../Readme.md)
Loading

0 comments on commit 0c73d39

Please sign in to comment.