Yi 4k custom bitrate mod and telnet.

Mods have been updated to firmware 1.5.1, let me know if something broke.
 
Mods have been updated to firmware 1.5.1, let me know if something broke.
Do you think it would be possible to update it also for beta FW 1.5.27 beta which has the color correction? You can find that FW in Yi Technology official FB page :) Thanks a lot for your awesome work!
 
I'm not going to update the github for a beta version but here are the new addresses for firmware 1.5.27 beta.

https://gist.github.com/irungentoo/ba9c16c9f6a44af575a0ab4f5f81596a
EDIT: So I managed it myself at the end and here is edited version of "your autoexec.ash" containing the Bitrate Mod and the Ultra Increased Resolution Mod for 1.5.27beta if someone is interested:

https://www.dropbox.com/s/mgl67cpa0erro7n/autoexec.ash?dl=0

Thank you very much for your help!
 
Last edited:
Hello

I tested the new bitrates on 1.5.1 and was happy. There is a new official FW on the Yi Website. Version 1.5.6 and the autoexec.ash does not work any more.

Will you update it to 1.5.6?
 
Hello

I tested the new bitrates on 1.5.1 and was happy. There is a new official FW on the Yi Website. Version 1.5.6 and the autoexec.ash does not work any more.

Will you update it to 1.5.6?

I would argue...let us go directly with a mod for 1.6.1 which also add support for RAW (DNG format)
 
I figured out how to set custom bitrates on the Yi 4k using autoexec.ash on the latest firmware (1.40). I also figured out how to enable telnet.

https://github.com/irungentoo/Xiaomi_Yi_4k_Camera


First off thank you. This is awesome.

Seems to be working fine on 1.6.1.

I'm not familiar with hex so I used a calculator, but I believe that this should be correct. To get bitrates of 75 and 85 I converted your 70, 80, and 90 values to decimal and then averaged them and converted back to hex.

#85mbs high quality, 80mbs medium, 75mbs low
#2.7k 4:3
writew 0xA0646E7E 0x42A2
writew 0xA0646E8E 0x4298
writew 0xA0646E9E 0x428E
#1440p60 4:3
writew 0xA0646F9E 0x42A2
writew 0xA0646FAE 0x4298
writew 0xA0646FBE 0x428E
#1440p30 4:3
writew 0xA0646FCE 0x42A2
writew 0xA0646FDE 0x4298
writew 0xA0646FEE 0x428E
 
You say "I believe that this should be correct" Have you tried? I do not like to do beta-testing with my own camera :)

First off thank you. This is awesome.

Seems to be working fine on 1.6.1.

I'm not familiar with hex so I used a calculator, but I believe that this should be correct. To get bitrates of 75 and 85 I converted your 70, 80, and 90 values to decimal and then averaged them and converted back to hex.

#85mbs high quality, 80mbs medium, 75mbs low
#2.7k 4:3
writew 0xA0646E7E 0x42A2
writew 0xA0646E8E 0x4298
writew 0xA0646E9E 0x428E
#1440p60 4:3
writew 0xA0646F9E 0x42A2
writew 0xA0646FAE 0x4298
writew 0xA0646FBE 0x428E
#1440p30 4:3
writew 0xA0646FCE 0x42A2
writew 0xA0646FDE 0x4298
writew 0xA0646FEE 0x428E
 
Hi guys !
I've got a "slight OT" question.
As you may have heard or not the DJI Mavic has a VERY similar Ambarella SoC & SONY Chip as the Yi 4k.
And as of a few weeks ago the Mavic has been rooted & has ADB / Telnet open.
If you connect to the Android / ARM core you can also connect & telent in the Ambarella SoC.
This as a starting point, would you think the mods you discussed here can be applied / used for the Mavic as well ?
Greatest wish would be to shut up Noise Reduction & Sharpness and also to max out Bitrate.

If you feel that this is somewh workable please let me know :)

Greetings,

Ender
 
Updated to firmware 1.7.8

Let me know if anything broke.
Sweet. Just got the YI 4K and don't see any tutorial. Do I just add your autoexec file to microsd card, and turn on cam for mods to take effect?

Thanks

Sent from my SM-G955U using Tapatalk
 
Yes you download the autoexec.ash and put in in the root of your sd card.
Sweet. So if I remove that file, and reboot, it reverts to stock settings I assume.

Sent from my SM-G955U using Tapatalk
 
Sweet. So if I remove that file, and reboot, it reverts to stock settings I assume.

Sent from my SM-G955U using Tapatalk

Yes all it does is patch stuff in the RAM when the script gets run when the camera starts up.

Hi guys !
I've got a "slight OT" question.
As you may have heard or not the DJI Mavic has a VERY similar Ambarella SoC & SONY Chip as the Yi 4k.
And as of a few weeks ago the Mavic has been rooted & has ADB / Telnet open.
If you connect to the Android / ARM core you can also connect & telent in the Ambarella SoC.
This as a starting point, would you think the mods you discussed here can be applied / used for the Mavic as well ?
Greatest wish would be to shut up Noise Reduction & Sharpness and also to max out Bitrate.

If you feel that this is somewh workable please let me know :)

Greetings,

Ender

Having access to the linux part is useless if you want to adjust things like the bitrate because it's not where the camera stuff is done. It's done in the RTOS. What you need is either a way to dump/patch out stuff in the RTOS ram like I do with the autoexec.ash in my yi4k mods or you need to figure out a way to modify the firmware itself and then install your modified firmware on the camera.

If you have a way to dump the memory, dump it then open the dump with a hex editor and look for: 00007042 which is 60mbps bitrate until you find something that looks like a long list of bitrates (it's pretty obvious) to find the bitrate table.
 
Is there any way to also customize color to be more vivid? YI Color need a bit of help.

Sent from my SM-G955U using Tapatalk
 
Back
Top