Xiaomi console access

Discussion in 'Yi Action Camera' started by balrog, May 1, 2015.

  1. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    well, i heard this:
    wifi off: low pitch, low volume "rumbling" - direct memory access (image data being processed & stored into RAM), every ~5second two high pitch higher volume "squeaks" - writing to SD card

    wifi on: same as before, this time the rumbling sounds more like scratching. Tiny "clicks" in background is wifi. broadcasting SSID.

    moving: well, by moving i meant more rapid moving to "hear" if something is loose inside camera, but i doubt that.

    From what i heard i can tell, that xiaomi didn't do proper job for filtering (capacitors) power lines to the ambarella chip (or whatever manages audio). Its caused by "cheap circuitry" in power source that isn't stable enough and the fact that there aren't enough capacitors properly placed near the processing chip. You can commonly hear these sounds in cheap soundcards mostly in laptops or older computers. But then this camera was never intended as a hifi audio source, its audio is just an addition to the picture. If you want hifi audio solution, you need to grab something different.

    If you meant these rumbling / squeaking sounds as them "clicks", then i am affraid no shielding will most probably help you since they are caused internally... Note, that these sounds intensify with WiFi on, which means increased power consumption = bigger load on the power souce = bigger unstability = more pronounced noise.

    Oh and this noise also induces into the image sensor as well, luckily there is huge ammount of software post-processing involved for picture, not so much for sound
     
    intoi likes this.
  2. intoi

    intoi Member

    Messages:
    56
    Likes Received:
    6
    Country:
    Philippines
    looks like you've been working with this kind of stuffs for a very long time that you have associated those sounds to the actual process. Amazing! :D

    Yes that's what I am hearing... The scratch sound if you may call it and the clicks. I don't really want a hifi audio but I don't want to hear them also. Those sounds decreases as they blend with the backgroud audio till you can't hear them anynore. But with people who has sensitive hearing it's a different story, it's annoying...
     
  3. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    Maybe it will be possible to filter it out by adding some more capacitors on the power lines, but without schematics its a very risky job.
     
  4. Limousine

    Limousine New Member

    Messages:
    3
    Likes Received:
    0
    Country:
    Afghanistan
    how can i edit those Raw file (Stills) ?
     
  5. nutsey

    nutsey Active Member

    Messages:
    278
    Likes Received:
    115
    Country:
    Turkey
    Convert to dng with raw2dng tool, open dng with raw-capable software.
     
  6. Limousine

    Limousine New Member

    Messages:
    3
    Likes Received:
    0
    Country:
    Afghanistan
    Doesn't work :-(
     
  7. Limousine

    Limousine New Member

    Messages:
    3
    Likes Received:
    0
    Country:
    Afghanistan
    rawtodng tool doesn't work for me.
    can you post a converted dng-file ?
     
  8. jessej

    jessej Member

    Messages:
    34
    Likes Received:
    7
    Country:
    United Kingdom
    it does work (rawtodng and then open the dng in photoshop). the end result is just a bit **** (wrong colours and exposure, overblown highlights turn magenta). It doesn't seem to have much more dynamic range than a jpeg.

    I am not sure it's a real bayer RAW file, might just be YUV.
     
  9. nutsey

    nutsey Active Member

    Messages:
    278
    Likes Received:
    115
    Country:
    Turkey
    That's exactly what our camera receives from the sensor - pure RGGB data without any header or calibration info. And it explains the amount of post-processing applied.

    Please don't confuse a camera RAW file of common format (NEF, ORF, DNG...) with pure RAW sensor data.
     
  10. zachnfine

    zachnfine New Member

    Messages:
    9
    Likes Received:
    0
    Country:
    United States
    Has anyone yet managed or tried to do the following after telnetting in to the Yi:

    1. Manually set the shutter speed
    2. Manually set the aperture
    3. Manually set the ISO/gain
    4. Manually set the white balance
    5. Trigger the camera to start recording

    I read through the list of autoexec commands that were posted to github and am super-intrigued. I don't know if those commands are only available to be added to an autoexec file read by the camera at startup or if they can possibly be used in a telnet session.

    My Yi's on order, so I look forward to trying to take manual control of the thing's functions over telnet.
     
  11. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    they are executed by ambarela before launching busybox to which you are telnetting into...
     
  12. zachnfine

    zachnfine New Member

    Messages:
    9
    Likes Received:
    0
    Country:
    United States
    Ah. So there's no way to execute any of these commands from inside busybox?
     
  13. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    that is unknown yet, but don't bet your money on it...
     
  14. zachnfine

    zachnfine New Member

    Messages:
    9
    Likes Received:
    0
    Country:
    United States
    Well, I bet the cost of the Xiaomi Yi on it. I guess worst-case I'll still have a decent little action cam to play with.

    With any luck, they left something accessible from the shell that can adjust camera settings. I'm holding out hope.
     
  15. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    well, i am also waiting on my camera(s) and when they will arrive, i will put them under HEAVY hacking ;)
     
  16. zachnfine

    zachnfine New Member

    Messages:
    9
    Likes Received:
    0
    Country:
    United States
    I don't suppose Xiaomi has posted any source code for modifications to busybox –if they've made any they may be available. I believe busybox is GPL'd.
     
  17. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    they are using some of their daemons, for example network_service_daemon (or whats the name) taking care of ports 7878 and 8787 & communicating with amba. That would be my best bet for finding anything useful for you.
     
  18. zachnfine

    zachnfine New Member

    Messages:
    9
    Likes Received:
    0
    Country:
    United States
    What I'm really hoping for is to be able to set manual exposure and trigger a recording over a network connection. The ability to do manual exposure (shutter speed, aperture, and ISO) and manual white balance would be just great.
     
  19. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    trigger a recording - thats what my app does.
    anything fancier - well, that would be just guessing.
     
  20. zachnfine

    zachnfine New Member

    Messages:
    9
    Likes Received:
    0
    Country:
    United States
    I wonder if it's possible to get a serial connection going, and if so get to the ambsh console prompt, and then run the kind of commands that would otherwise be in an autoexec.ash file? Might be a way to try a bunch of commands.

    This looks interesting, as regards serial console access:
    http://spritesmods.com/?art=zx3hack&page=3
     
Loading...

Share This Page