irungentoo / Xiaomi_Yi_4k_Camera

Stuff for the xiaomi yi 4k (and 4k+) cameras.
265 stars 91 forks source link

1.3.22 beta doesn't work #37

Closed Negens closed 7 years ago

Negens commented 7 years ago

Hello, I don't know if I'm doing something wrong. I open a script in notepad++ with UNIX LF, Then I copy the script to a new file and save it as a UNIX script type, with the name autoexec.ash into the root of the sd card. And nothing happens. The camera seems to simply ignore the scripts.

irungentoo commented 7 years ago

Well, it worked when I tried it.

What script are you trying to use?

Negens commented 7 years ago

I tried the custom shutter values and the bitrate mod. I even tried to replace manually all the EOL, added the empty line at the end. Maybe I'm doing something wrong but I don't know what.

To be sure we are on the same firmware, mine is 1.3.22 build 988r

irungentoo commented 7 years ago

Put the autoexec.ash file in a zip and upload it here (just drag the zip to your response).

Negens commented 7 years ago

autoexec.zip

irungentoo commented 7 years ago

You need to change the values.

Negens commented 7 years ago

Well, so I don't really understand how it works. I tried to put it with only one line and it doesn't work. So do I have to find the right values in memory ? How do I do that ? Do I have to dump the firmware or the camera settings to obtain the correct address?

Negens commented 7 years ago

OK, I read the manuals again and I think I understood

irungentoo commented 7 years ago

The autoexec.ash file for the bitrate and the shutter hack contain the default values on the camera. You are supposed to change them for the value you want. You can read how to do that in the readme.

Negens commented 7 years ago

That's OK, I understood it. Everythings works fine ! Thanks a lot for your time !