# Xiaomi Yi does not do real 2 pics/s without hack

**URL:** <https://forum.mapillary.com/t/xiaomi-yi-does-not-do-real-2-pics-s-without-hack/473>\
**Category:** Contributing and equipment\
**Created:** [May 15, 2016, 5:32pm UTC](https://forum.mapillary.com/t/xiaomi-yi-does-not-do-real-2-pics-s-without-hack/473 "2016-05-15T17:32:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tryl](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/tryl/32/62_2.png) [@tryl](https://forum.mapillary.com/u/tryl)\
**Post date:** [May 15, 2016, 5:32pm UTC](https://forum.mapillary.com/t/xiaomi-yi-does-not-do-real-2-pics-s-without-hack/473/1 "2016-05-15T17:32:23Z")

</div>

Some time ago I posted [Wrong: Xiaomi Yi doing 1 pic/0.5 without hacks](http://forum.mapillary.com/t/xiaomi-yi-doing-1-pic-0-5-without-hacks/415) I gladly posted, that now the Xiaomi YI supports 2 images/s. I was wrong: It have been doing it all the time, but with a big BUT: For 1 and 2 images / second the camera only measures the exposure at the first images. So if the environment becomes lighter or darker during the trip (which it usually does), then those images are highly over or under exposed.

For some people there is a hack, where you have a script that essentially presses the shutter button. It crashes my cameras, so it does not work for me.

What does it mean? GoPro is imho the best Mapillary camera without GPS. But Xiaomi YI is much cheaper and provides a very nice image, so it is at the top for me.

---

<div class="post-metadata">

**Author:** ![Amiga4000](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/amiga4000/32/68224_2.png) [@Amiga4000](https://forum.mapillary.com/u/Amiga4000)\
**Post date:** [May 16, 2016, 6:09pm UTC](https://forum.mapillary.com/t/xiaomi-yi-does-not-do-real-2-pics-s-without-hack/473/2 "2016-05-16T18:09:15Z")

</div>

All I can tell, the Huawei Honor 7 mobile phone is a great mapillary tool, too.  
With new versions it does 20 MP every sec, or faster.  
I tried with 8MP and it made every 3/10 sec a picture…

currently you can also choose 8 mP with latest mapillary, but will be fixed soon.

echelon

---

<div class="post-metadata">

**Author:** ![StephaneP](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@StephaneP](https://forum.mapillary.com/u/StephaneP)\
**Post date:** [July 1, 2016, 10:41am UTC](https://forum.mapillary.com/t/xiaomi-yi-does-not-do-real-2-pics-s-without-hack/473/3 "2016-07-01T10:41:42Z")

</div>

Hi tryl !

I didn’t try it as the standard script works for me (very rare crashes with 8MP pictures), but in your timelapse script, you could test to add “t app key shutter\_rel”

The script will be

```
sleep 10
#MAIN LOOP
while true
do
t app key shutter
t app key shutter_rel
sleep 1
done 

```

And don’t forget the empty last line.

---

<div class="post-metadata">

**Author:** ![tryl](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/tryl/32/62_2.png) [@tryl](https://forum.mapillary.com/u/tryl)\
**Post date:** [July 2, 2016, 8:07pm UTC](https://forum.mapillary.com/t/xiaomi-yi-does-not-do-real-2-pics-s-without-hack/473/4 "2016-07-02T20:07:36Z")

</div>

Thanks @StephaneP, but it didn’t improve. When using your script unmodified, the camera would take a picture every 2 seconds. If I changed 1 to 0.5 it would crash quickly. I guess I just have a hardware version that does not perform as well as others.

---

<div class="post-metadata">

**Author:** ![tryl](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/tryl/32/62_2.png) [@tryl](https://forum.mapillary.com/u/tryl)\
**Post date:** [July 3, 2016, 6:05pm UTC](https://forum.mapillary.com/t/xiaomi-yi-does-not-do-real-2-pics-s-without-hack/473/5 "2016-07-03T18:05:01Z")

</div>

Just redid the test, and your script actually gives med 1 pic/sec, @StephaneP!! In the first test I had not disabled timelapse in the settings, so it did not work. I still need to do the stability test though.

I use  
sleep 0.8, because it would some time skip a second with 1. sleep 0.5 is not better, so I’ll just let the camera sleep. I’ll be back with the stability test.

Update: It failed ☹  
After a few minutes the script stop running - I tried twice. Now I could try to use sleep 1 or 1.2, but I don’t want to push the camera so hard, that I am a few milliseconds from it failing. Better get a picture every 2 seconds all the way than none.

Thanks for the advice. It may very well work for other hardware revisions of Xiaomi Yi.

---

<div class="post-metadata">

**Author:** ![StephaneP](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@StephaneP](https://forum.mapillary.com/u/StephaneP)\
**Post date:** [September 10, 2016, 8:03am UTC](https://forum.mapillary.com/t/xiaomi-yi-does-not-do-real-2-pics-s-without-hack/473/6 "2016-09-10T08:03:01Z")

</div>

Hi @tryl !  
During my tests I found a new way to make timelapse that rarely crash on my Yi:

> **[TimeLapse and auto exposure](https://dashcamtalk.com/forum/threads/timelapse-and-auto-exposure.13229/#post-279132)**
>
> Hi !
> 
> I play with my Yi since a few days. It's awesome to get this quality for such a low price.
> My goal is to use it for taking pictures in car or on bicycle in timelapse mode, and use them to contribute for OpenStreetMap and Mapillary.
> 
> My first...

An advice: disable the beeps 😄

---

<div class="post-metadata">

**Author:** ![tryl](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/tryl/32/62_2.png) [@tryl](https://forum.mapillary.com/u/tryl)\
**Post date:** [September 12, 2016, 10:44am UTC](https://forum.mapillary.com/t/xiaomi-yi-does-not-do-real-2-pics-s-without-hack/473/8 "2016-09-12T10:44:36Z")

</div>

Thanks, I will try it when the kids allow it 🙂
