Xiaomi Yi Custom firmware with lastest revision

... removing the battery before the first boot of the camera, once this is done switch to video and or if enabled to directly go in video then ok and you will have no split
for understanding this statement:
...booting via bank or USB connector or removing it one time and than took it back and start with battery?
...when started switching to video mode and the splitting bug is past?
...have i to do the same procedur every new starting of cam or once a time?
...has that bug to do with high Mbps (by script or fw hacking) in videos or in every bitrate of resolutions you can choose via app?
...at what size of bitrate (30,35,40 or only higher ones) the splitting can watched?
Thanks
mfg
gente
 
Somebody tested custom rom from @cpurage Z23L ?
What with android app? I will still have full support of application with new function ( I mean change resolution bitrate etc.. )

This firmware is for 22 - 23 - 23A - 23S and not Z23L, don't have time to provide it for both revisions.

for understanding this statement:
...booting via bank or USB connector or removing it one time and than took it back and start with battery?
...when started switching to video mode and the splitting bug is past?
...have i to do the same procedur every new starting of cam or once a time?
...has that bug to do with high Mbps (by script or fw hacking) in videos or in every bitrate of resolutions you can choose via app?
...at what size of bitrate (30,35,40 or only higher ones) the splitting can watched?
Thanks
mfg
gente

So gente, while I was using scripts and not modified FW I realised that If you're enabling somthing with script there is no need of battery remove(or USB power bank supply) and I was very happy, cause after capturing one video file the bit rate is 50Mbps after that another it still remains in 50Mbps without powering off the camera. Well the situation with the Custom Firmware is not the same ... after first boot you are taking a video with highest bit rate and yes i.e. 6 minutes and 33 seconds video on 50Mbps 2K is reserving 1.85GB because of the FAT32 bul****, and even the second video which is actually the proper split that should e done by the camera is with 50Mbps Video Bit Rate, BUT once you change the resolution to different and get back to the one which is customly set to 50 Mbps by AFT tool, the video starts splitting, 5-7-14 seconds on 50Mbps and after that there is another video which is on 31-35 Mbps.

Personally I consider to stay with scripts because for me it is more stable, and currently I'm figuring out how to set the script to work with this three resolutions cause I don't need more than that:

1236p@30FPS 50-60 Mbps
1080p@60FPS 50 Mbps
720p@120FPS 45-60 Mbps

If someone can help me, please go on, I mean I'm wondering what is the exact patern in the ksh script which will enable resolutions from above with the bitrate from above to work simultaneously once the disired resolution is chosen from the Resolutions drop down?
 
Last edited:
hey fried, i cant seem to flash it on my camera, it just started the camera as usual. the file name has already been changed to firmware.bin and it's at the root of my sd card. is it because my camera is already on 1.2.12? my battery is full btw.
 
hey fried, i cant seem to flash it on my camera, it just started the camera as usual. the file name has already been changed to firmware.bin and it's at the root of my sd card. is it because my camera is already on 1.2.12? my battery is full btw.

You are forgetting to connect to the charger before you powern on the camera, for me this way is working all the time ...
 
You are forgetting to connect to the charger before you powern on the camera, for me this way is working all the time ...
i tried it that way too but it isn't working.. it just turns on as usual


EDIT: it's flashing now. i just deleted the .bin and renamed it as firmware only. makes sense too. thanks all!
 
Last edited:
This firmware is for 22 - 23 - 23A - 23S and not Z23L, don't have time to provide it for both revisions.



So gente, while I was using scripts and not modified FW I realised that If you're enabling somthing with script there is no need of battery remove(or USB power bank supply) and I was very happy, cause after capturing one video file the bit rate is 50Mbps after that another it still remains in 50Mbps without powering off the camera. Well the situation with the Custom Firmware is not the same ... after first boot you are taking a video with highest bit rate and yes i.e. 6 minutes and 33 seconds video on 50Mbps 2K is reserving 1.85GB because of the FAT32 bul****, and even the second video which is actually the proper split that should e done by the camera is with 50Mbps Video Bit Rate, BUT once you change the resolution to different and get back to the one which is customly set to 50 Mbps by AFT tool, the video starts splitting, 5-7-14 seconds on 50Mbps and after that there is another video which is on 31-35 Mbps.

Personally I consider to stay with scripts because for me it is more stable, and currently I'm figuring out how to set the script to work with this three resolutions cause I don't need more than that:

1236p@30FPS 50-60 Mbps
1080p@60FPS 50 Mbps
720p@120FPS 45-60 Mbps

If someone can help me, please go on, I mean I'm wondering what is the exact patern in the ksh script which will enable resolutions from above with the bitrate from above to work simultaneously once the disired resolution is chosen from the Resolutions drop down?

Hey @cpurage, first of all thx 4 the custom firmware. I made a little test today and got the same results with the bitrates and file splittings...The resolution was set to 2k, and after the split the second file was at just ~28 Mbit and ~ 1 minute. So, after then I set it to 1080p@60fps, and as you can see it at the attached jpg, the first file was YDXJ1074.mp4 with a 13 sec duration, but at ~43 Mbit. The second file is YDXJ1075.mp4 at ~28 Mbit, but it is a 2 GB file...and so on...BUT and this is important, files were missing during a continuous recording. It is about a ~ 15 mins disappeared 1080p@60 fps footage...The creation times are irrelevant and non exact (!), because my ride was ~ 15 mins long between YDXJ1076.mp4 and YDXJ1078.mp4, but the duration is just 6:30 mins...One more odd problem: just look the files YDXJ1080.mp4 and YDXJ1081.mp4 and the bitrates and durations, the record was continuous of course...Same results with the battery in-out cheat :)
I hope these details will help you and other custom firmware coders :)
Any idea?
 

Attachments

  • Névtelen.jpg
    Névtelen.jpg
    84.5 KB · Views: 45
Hey @cpurage, first of all thx 4 the custom firmware. I made a little test today and got the same results with the bitrates and file splittings...The resolution was set to 2k, and after the split the second file was at just ~28 Mbit and ~ 1 minute. So, after then I set it to 1080p@60fps, and as you can see it at the attached jpg, the first file was YDXJ1074.mp4 with a 13 sec duration, but at ~43 Mbit. The second file is YDXJ1075.mp4 at ~28 Mbit, but it is a 2 GB file...and so on...BUT and this is important, files were missing during a continuous recording. It is about a ~ 15 mins disappeared 1080p@60 fps footage...The creation times are irrelevant and non exact (!), because my ride was ~ 15 mins long between YDXJ1076.mp4 and YDXJ1078.mp4, but the duration is just 6:30 mins...One more odd problem: just look the files YDXJ1080.mp4 and YDXJ1081.mp4 and the bitrates and durations, the record was continuous of course...Same results with the battery in-out cheat :)
I hope these details will help you and other custom firmware coders :)
Any idea?

First of all Tell me what kind of MicroSD card you are using, this firmware is customized for FAST MicroSD cards as UHS-I or UHS-II with speeds of at least 50-70 Mbps Write speed, you can even use x633 UHS-I which is with guranteed write speed 90 Mbps.


BUT there is no need of my ROM anymore :D :D :D, please use the stock one from the Xiomi official web site for your camera version and just use this script which enables all the VIDEO resolutions ONLY which can be selected through the app to the following Bitrate speeds:


#YiHyper-movie script by cpurage for 1_2_12 stock firmware
#set bitrate 848x480 240fps 45Mbps
writew 0xC05C28A2 0x4248
#set bitrate 1280x720 48fps 50Mbps
writew 0xC05C25A2 0x4248
#set bitrate 1280x720 60fps 50Mbps
writew 0xC05C2122 0x4248
#set bitrate 1280x720 120fps 45Mbps
writew 0xC05C2812 0x4234
#set bitrate 1280x960 48fps 50Mbps
writew 0xC05C2542 0x4248
#set bitrate 1280x960 60fps 50Mbps
writew 0xC05C2272 0x4248
#set bitrate 1920x1080 24fps 50Mbps
writew 0xC05C2482 0x4248
#set bitrate 1920x1080 30fps 50Mbps
writew 0xC05C1F72 0x4248
#set bitrate 1920x1080 48fps 50Mbps
writew 0xC05C2452 0x4248
#set bitrate 1920x1080 60fps 50Mbps
writew 0xC05C1EE2 0x4248
#set bitrate 2304x1296 30fps 50Mbps
writew 0xC05C1EB2 0x4248
#t ia2 -adj tidx [ev_idx][nf_idx][shutter_idx]", "-1 disable"
#looks like the values are between 0-16383 (0x0000-0x3FFF)
#If you want to set noise reduction value to 2048 just remove the hash key from the row below and for all the resolutions you will have sharpness as craze
#t ia2 -adj tidx -1 2048 -1

So you see that you can even set the noise reduction value to whatever you want, I tried 1024 and in the night there is too much noise in the video so 2048 is a bit better, but this setting is not good for night video even if the Auto low light is turned on !

And here is the file it self:
 

Attachments

Last edited:
Ok no need of my ROM anymore :D :D :D, please use the stock one from the Xiomi official web site for your camera version and just use this script which enables all the video resolutions which can be selected through the app:


#YiHyper-movie script by cpurage for 1_2_12 stock firmware
#set bitrate 848x480 240fps 45Mbps
writew 0xC05C28A2 0x4248
#set bitrate 1280x720 48fps 50Mbps
writew 0xC05C25A2 0x4248
#set bitrate 1280x720 60fps 50Mbps
writew 0xC05C2122 0x4248
#set bitrate 1280x720 120fps 45Mbps
writew 0xC05C2812 0x4234
#set bitrate 1280x960 48fps 50Mbps
writew 0xC05C2542 0x4248
#set bitrate 1280x960 60fps 50Mbps
writew 0xC05C2272 0x4248
#set bitrate 1920x1080 24fps 50Mbps
writew 0xC05C2482 0x4248
#set bitrate 1920x1080 30fps 50Mbps
writew 0xC05C1F72 0x4248
#set bitrate 1920x1080 48fps 50Mbps
writew 0xC05C2452 0x4248
#set bitrate 1920x1080 60fps 50Mbps
writew 0xC05C1EE2 0x4248
#set bitrate 2304x1296 30fps 50Mbps
writew 0xC05C1EB2 0x4248
#t ia2 -adj tidx [ev_idx][nf_idx][shutter_idx]", "-1 disable"
#looks like the values are between 0-16383 (0x0000-0x3FFF)
#If you want to set noise reduction value to 2048 just remove the hash key from the row below and for all the resolutions you will have sharpness as craze
#t ia2 -adj tidx -1 2048 -1

And here is the file it self:
Thank you, I will test it ASAP. Do the resolution/bitrate settings work with time-lapse mode? In the official firm the time-lapse bitrate was set constans 10 Mbit
 
Hey @cpurage, first of all thx 4 the custom firmware. I made a little test today and got the same results with the bitrates and file splittings...The resolution was set to 2k, and after the split the second file was at just ~28 Mbit and ~ 1 minute. So, after then I set it to 1080p@60fps, and as you can see it at the attached jpg, the first file was YDXJ1074.mp4 with a 13 sec duration, but at ~43 Mbit. The second file is YDXJ1075.mp4 at ~28 Mbit, but it is a 2 GB file...and so on...BUT and this is important, files were missing during a continuous recording. It is about a ~ 15 mins disappeared 1080p@60 fps footage...The creation times are irrelevant and non exact (!), because my ride was ~ 15 mins long between YDXJ1076.mp4 and YDXJ1078.mp4, but the duration is just 6:30 mins...One more odd problem: just look the files YDXJ1080.mp4 and YDXJ1081.mp4 and the bitrates and durations, the record was continuous of course...Same results with the battery in-out cheat :)
I hope these details will help you and other custom firmware coders :)
Any idea?
...is this only a problem with 46/50mbps or all bitrates set over the custom rates like 30/35mbps?
 
...is this only a problem with 46/50mbps or all bitrates set over the custom rates like 30/35mbps?

DAMN so it is a stupid bug of the App, once connected and once the video is trigerred through the phone there will be video which will be splitted 1st Video (short) @50Mbps and there will be second on @30-35Mbps :( no matter are you going to use the ash script with all the selectable resolutions inside it or you are going to use the custom firmware :( and if there is no high bit rate, there is no video split even if connected with the app and shooting and previewing in the same time. The only work around as I already said is removing the battery and start shooting the video after the first boot, this is curently the only way the 1296p/1080p @ 50Mbps to remain in one whole file !!!

ALSO there was something that I've saw and I was pleased to see it :D, with my ASH script:

Screenshot_2015-08-29-16-40-45.png

Nothing touched on the firmware, only the ASH script from my previous posts, so probably somthing is speeding up too much :D so now I'll test to see if the preview mode on the VLS with CC.exe is faster, wish me luck.
 
It change preview mode value without touch it??... Anyway good luck for vlc try... ;)
 
Yes it changed it on the phone App, but no success with the VLC same speed :(
 
and if there is no high bit rate, there is no video split even if connected with the app and shooting and previewing in the same time
so it is best to change bitrates only to 35 or 30 mbits with firmware or ash scripts and you have no problem in video splitting!
I think this bitrates are good enough for videos!
 
but it strange because sometimes people contact me about file splitting with my custom firmware, and I always used 35mbps value, cause I don't own a really fast microsd.....
 
...is this only a problem with 46/50mbps or all bitrates set over the custom rates like 30/35mbps?

I used this time the 2k@30fps 50Mbit and the 1080@60fps 46 Mbit modes, not all.

First of all Tell me what kind of MicroSD card you are using, this firmware is customized for FAST MicroSD cards as UHS-I or UHS-II with speeds of at least 50-70 Mbps Write speed, you can even use x633 UHS-I which is with guranteed write speed 90 Mbps.


BUT there is no need of my ROM anymore :D :D :D, please use the stock one from the Xiomi official web site for your camera version and just use this script which enables all the VIDEO resolutions ONLY which can be selected through the app to the following Bitrate speeds:


#YiHyper-movie script by cpurage for 1_2_12 stock firmware
#set bitrate 848x480 240fps 45Mbps
writew 0xC05C28A2 0x4248
#set bitrate 1280x720 48fps 50Mbps
writew 0xC05C25A2 0x4248
#set bitrate 1280x720 60fps 50Mbps
writew 0xC05C2122 0x4248
#set bitrate 1280x720 120fps 45Mbps
writew 0xC05C2812 0x4234
#set bitrate 1280x960 48fps 50Mbps
writew 0xC05C2542 0x4248
#set bitrate 1280x960 60fps 50Mbps
writew 0xC05C2272 0x4248
#set bitrate 1920x1080 24fps 50Mbps
writew 0xC05C2482 0x4248
#set bitrate 1920x1080 30fps 50Mbps
writew 0xC05C1F72 0x4248
#set bitrate 1920x1080 48fps 50Mbps
writew 0xC05C2452 0x4248
#set bitrate 1920x1080 60fps 50Mbps
writew 0xC05C1EE2 0x4248
#set bitrate 2304x1296 30fps 50Mbps
writew 0xC05C1EB2 0x4248
#t ia2 -adj tidx [ev_idx][nf_idx][shutter_idx]", "-1 disable"
#looks like the values are between 0-16383 (0x0000-0x3FFF)
#If you want to set noise reduction value to 2048 just remove the hash key from the row below and for all the resolutions you will have sharpness as craze
#t ia2 -adj tidx -1 2048 -1

So you see that you can even set the noise reduction value to whatever you want, I tried 1024 and in the night there is too much noise in the video so 2048 is a bit better, but this setting is not good for night video even if the Auto low light is turned on !

And here is the file it self:

Kingston SDHC UHS-I class 10, tested with h2testw 1.4, writing speed around 70-80 Mbit/s. Worked well with a gopro3 before, but I'll find an other card to test it with the above explained battery method.
 
but it strange because sometimes people contact me about file splitting with my custom firmware, and I always used 35mbps value, cause I don't own a really fast microsd.....

So the explanation is simple :D they messed up the code with the new 1.2.12 release and now we are suffering from video files splitting :( , I'll try with 1.2.10 with custom firmware/with ash script again and will let you know once I see the final result.
 
I really don't get it ??? So I'll explain what I did so far and it WORKS on 100% and I got one 1.85GB File @ 50Mbps Bitrate and another one smaller but again @ 50Mbps Bitrate. I know that it will be boring to some of you but IT WORKS:

1) Factory Reset of the Camera
2) Set the Video mode default after boot and resolution you want through App WITHOUT MicroSD in the camera
3) Format your MicroSD on your Laptop/PC FAT32 fast format and put the battery in the Camera
4) Boot the camera and start recording

Worked for me in 1080p@60FPS and 1296p@30FPS both on 50Mbps

Check the attached screenshots

Once the app is connected and the Video is triggered by the App, there is a splittage and first file is 50Mbps and the rest files are 30Mbps ???
 
Last edited:
I have make my self a mess.:oops::oops:
Can I use the scrip above or will it cause any bug?
If it doesn't do I need to have a fast writing micro SD card?
:);)
 
Back
Top