[Xiaomi Yi] Share your scripts and settings

@Flythai: for 23l or 22l it doesnt matter.
firmware 1.2.6 is the script version, you can modify it for 1.2.10.
just use the resolution and bitrate codes from 1.2.10 scripts, or install 1.2.6.
I find it is a good version.
 
I Schnurbi, i ask help for i editing this script, i no want 2304x1296 30/25fps V/Resolution on script, only i need more bitrate 35 and sharpness on resolution of 1920/1080 50p and 25p. Is possible with this script ? and how ? im very newbi on this, sorry.

#YiMAX script by nutsey for 1.2.0 firmware
#vibrance/saturation adjustments
t ia2 -adj ev 0 0 140 0 0 150 0
#shadow/highlight clipping adjustments
#this makes blacks not crushed
t ia2 -adj l_expo 163
#this gets back the highlights
t ia2 -adj autoknee 255
#set gamma level - makes picture darker, more highlights?
t ia2 -adj gamma 220
#enable 14 scene mode
t cal -sc 14
#enable raw+jpeg stills
t app test debug_dump 14
#set noise reduction value to 0-16192
t ia2 -adj tidx -1 0 -1

#shutter auf X für fotos. 1 = 7.9 Sec,100 = 4.6sec, 1300 = 1/140, 1400 = 1/245,
#t ia2 -ae still_shutter 1

#RAW WB (auskommentiert) + IMPROVED HIGHLIGHTS script by nutsey
t ia2 -3a 1 0 0 1
t ia2 -awb off


#vignettenkorrektur abschalten
#t ia2 -vnc v 0

#enable 1296p30@30Mbps video
#set video resolution to 2304x1296 30/25fps
writeb 0xC06CE446 0x02

#set bitrate to 50Mb/s. first comes 2304 bitrate address, then comes value of 50mbps.
writew 0xC05C1006 0x4248

#set bitrate to 40Mb/s. first comes 2304 bitrate address, then comes value of 40mbps.
#writew 0xC05C1006 0x4220

#cleanup
#lu_util exec rm /tmp/fuse_d/DCIM/100MEDIA/*_thm.mp4

sleep 9

#disable sharpening. coring should contain only 256x10
t is2 -shp mode 0
t is2 -shp cor d:\coring.txt

#enable FTP server
lu_util exec '/tmp/fuse_d/ftp.sh'

#CRICKET BEEP
t pwm 1 enable
usleep 150
t pwm 1 disable
usleep 150
t pwm 1 enable
usleep 150
t pwm 1 disable
usleep 150
t pwm 1 enable
usleep 150
t pwm 1 disable
usleep 150
t pwm 1 enable
usleep 150
t pwm 1 disable
usleep 150
t pwm 1 enable
usleep 150
t pwm 1 disable
 
I found this in a Nutsey script. Does anyone know what firmware its for? I have 1.2.10 and it doesn't seem to do anything.
#SET JPEG QUALITY TO 100
writeb 0xC0BC205B 0x64
I am striving for the best JPG cause I don't want to mess with raw.
If we could more completely remove compression and noise reduction I hope that would help.
His command to reduce noise reduction helps but there still appears to be lots there causing the painterly effect.
 
@Flythai:
you only need to set bitrate high as far as i can see.
just choose your simple script from funnels database:
github.com/funneld/XiaomiYi/tree/master/autoexec.ash
 
@Flythai:
you only need to set bitrate high as far as i can see.
just choose your simple script from funnels database:
github.com/funneld/XiaomiYi/tree/master/autoexec.ash
Shnurbi, i try but no make nothing, i try to put this code and nothing happen

#set bitrate 1920x1080 60fps 35Mbps
writew 0xC05C1036 0x420C
 
Case solved, many thanks Funnel and all.
 
How solved? So others may learn.
Im sorry for the late reply.
Here we go:
For 1920*1080 50p:

#set bitrate 1920x1080 PAL 50p 35Mbit
writew 0xC05C3046 0x420C


For 1920*1080 25p:
#set bitrate 1920x1080 PAL 25p 35Mbit
writew 0xC05C30D6 0x420C


2 things:
1-This script for me only work if i put only 1 resolution, if i put both not working
2-My Xiaomi version is 23L with 1.2.10 firmware.

I hope help someone.
 
Hey I'm new to xiaomi yi sports camera. It's on it way to me and I was wondering are there any tutorials or somting like this about those scripts, custom firmwares and stuff. Hope this post is not a problem :) please send me some links or stuff here or via private msg. Thanks :) Oh and I'll share allot of stuff when the camera will be in my hands :)
 
I can't find what command is responsible for shutter speed in video mode - anybody would help me..?
 
Hi All. Its good question above!!
I have one more how to set a interval in raw timelaps? Shooter is clear in this case:)
 
Hey I'm new to xiaomi yi sports camera. It's on it way to me and I was wondering are there any tutorials or somting like this about those scripts, custom firmwares and stuff. Hope this post is not a problem :) please send me some links or stuff here or via private msg. Thanks :) Oh and I'll share allot of stuff when the camera will be in my hands :)
Here's the link to the thread about custom firmware modification.
https://dashcamtalk.com/forum/threa...-bitrate-increased-to-30mbps-all-modes.10410/
It's a lot to read, but I suggest you start at the beginning and go all the way through to bring yourself up to date.

With regard to scripts, there is no single location or tutorial. The info is spread around in a variety of threads. These might be useful:
https://dashcamtalk.com/forum/threads/xiaomi-yi-share-your-scripts-and-settings.12707/
https://dashcamtalk.com/forum/threads/yi-hacked-resolution-2304x1296-30fps-35mbits.11589/
.. And including this thread you are reading now.

Here's the link to all the Xiaomi Yi threads on DashCam Talk to date:
https://dashcamtalk.com/forum/forums/xiaomi.153/
 
Last edited by a moderator:
Im sorry for the late reply.
Here we go:
For 1920*1080 50p:

#set bitrate 1920x1080 PAL 50p 35Mbit
writew 0xC05C3046 0x420C


For 1920*1080 25p:
#set bitrate 1920x1080 PAL 25p 35Mbit
writew 0xC05C30D6 0x420C


2 things:
1-This script for me only work if i put only 1 resolution, if i put both not working
2-My Xiaomi version is 23L with 1.2.10 firmware.

I hope help someone.

I Guys, i just upload the last firmware 1.2.12, and this script no more working, now i only have 11 mbit on 1920*1080 25p.
Anyone have a new script with high bitrate ?
 
I Guys, i just upload the last firmware 1.2.12, and this script no more working, now i only have 11 mbit on 1920*1080 25p.
Anyone have a new script with high bitrate ?

Here's the bitrate address for 1.12.12 FW

https://github.com/funneld/XiaomiYi/blob/master/autoexec.ash/1.2.12-fw/ bitrate_addresses.txt

#Set Res720p120 at 30mbps
writeb 0xC06CC426 0x34
writew 0xC05C2812 0x41F0

#enable 1080p30 at 30Mbps video
writeb 0xC06CC426 0x06
writew 0xC05C1F72 0x41F0


#enable 1296p30 at 30Mbps video
writeb 0xC06CC426 0x02
writew 0xC05C1EB2 0x41F0
 
Here's the bitrate address for 1.12.12 FW

https://github.com/funneld/XiaomiYi/blob/master/autoexec.ash/1.2.12-fw/ bitrate_addresses.txt

#Set Res720p120 at 30mbps
writeb 0xC06CC426 0x34
writew 0xC05C2812 0x41F0

#enable 1080p30 at 30Mbps video
writeb 0xC06CC426 0x06
writew 0xC05C1F72 0x41F0


#enable 1296p30 at 30Mbps video
writeb 0xC06CC426 0x02
writew 0xC05C1EB2 0x41F0

No need in new firmware to enable any resolution are all available, you only need to set bitrate ...
 
Trying to complete my autoexec.ash scripts. Anybody has the remaining bitrates? Thanks a lot!

Version 1.2.10
Code:
##### VIDEO RESOLUTION /// 2304 x 1296 30fps /// 1.2.10
writeb 0xC06CE446 0x02
##### BITRATE 20Mb/s
# writew 0xC05C1006 0x41A0
##### BITRATE 25Mb/s
# writew 0xC05C1006 0x41C8
##### BITRATE 30Mb/s
writew 0xC05C1006 0x41F0
##### BITRATE 35Mb/s
# writew 0xC05C1006 0x420C
##### BITRATE 40Mb/s
# writew 0xC05C1006 0x4220
##### BITRATE 45Mb/s
# writew
##### BITRATE 50Mb/s
# writew 0xC05C1006 0x4248

Version 1.2.12
Code:
##### VIDEO RESOLUTION /// 2304 x1296 30fps /// 1.2.12
writeb 0xC06CC426 0x02
##### BITRATE 20Mb/s
# writew
##### BITRATE 25Mb/s
# writew
##### BITRATE 30Mb/s
writew 0xC05C1EB2 0x41F0
##### BITRATE 35Mb/s
# writew
##### BITRATE 40Mb/s
# writew
##### BITRATE 45Mb/s
# writew
##### BITRATE 50Mb/s
# writew
 
Back
Top