Xiaomi console access

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

  1. zachnfine

    zachnfine New Member

    Messages:
    9
    Likes Received:
    0
    Country:
    United States
    Some more interesting Ambarella info:
    https://www.defcon.org/images/defco...N-21-Manning-Lanier-GoPro-or-GTFO-Updated.pdf

    Maybe it's not useful for me to post links to every bit of Ambarella info I find in here. I'm just hoping that somewhere in all this info is the key to find a way to interactively run the kind of commands that would normally live in autoexec.ash, and to try the manual exposure commands that were listed in an extract from the firmware.
     
  2. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    Zach, there IS a serial console and i will investigate where is it going, if amba rtos or (hopefuly) busybox.
     
  3. Spix

    Spix Member

    Messages:
    31
    Likes Received:
    9
    Country:
    United Kingdom
    Is this no longer working with V1.2.0? Telnet reports: unable to connect with remote host; connection refused.
     
  4. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    it does - verified &used
     
  5. Spix

    Spix Member

    Messages:
    31
    Likes Received:
    9
    Country:
    United Kingdom
    @Andy_S Thanks for your reassurance. Silly me, I created a folder; not a file.
     
  6. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    Happens :)

    When in doubt, C4
     
  7. zachnfine

    zachnfine New Member

    Messages:
    9
    Likes Received:
    0
    Country:
    United States
    My Yi arrived and I'm in via telnet. Poked around a bit to see if I could find ambsh.
     
  8. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    telnet != serial console. But i managed to do what i needed without it, so i don't know what it is. Telnet is of course running in busybox.
     
    huhu2207 likes this.
  9. _b_

    _b_ New Member

    Messages:
    2
    Likes Received:
    1
    Country:
    United States
    ambsh is accessible if you take apart the camera, solder on some wires to the TX/RX pins on the PCB, and then boot it up. I have verified that this works. FYI console gives access to Ambarella's RTOS, but using their ipc tool you should theoretically be able to exec commands on linux just like many do with autoexec.sh

    Any luck on tweaking wifi.conf or running shell scripts to switch to STA mode for wifi?
     
    kromond likes this.
  10. jessej

    jessej Member

    Messages:
    34
    Likes Received:
    7
    Country:
    United Kingdom
    luckylz and huhu2207 like this.
  11. huhu2207

    huhu2207 Member

    Messages:
    60
    Likes Received:
    10
    Country:
    China
  12. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    Last edited by a moderator: Sep 19, 2015
  13. _b_

    _b_ New Member

    Messages:
    2
    Likes Received:
    1
    Country:
    United States
    Last edited by a moderator: Sep 19, 2015
  14. kromond

    kromond New Member

    Messages:
    10
    Likes Received:
    5
    Country:
    New Zealand
    how do you see that output from ambsh?
     
  15. funnel

    funnel Active Member

    Messages:
    122
    Likes Received:
    111
    Country:
    Slovenia
    I output it to a file.

    help > output.txt
     
    luckylz likes this.
  16. Hombré

    Hombré Active Member

    Messages:
    737
    Likes Received:
    168
    Location:
    North East NSW
    Country:
    Australia
    Dash Cam:
    VIOFO A119S = Version 2
    Go the old text file........... Who'd of thought :D

    I get great pleasure out of converting something that's readable ;)
     
  17. kromond

    kromond New Member

    Messages:
    10
    Likes Received:
    5
    Country:
    New Zealand
    I am not getting anything in the file. I tried as above and also creating the file first and putting the full path. is there more to it?

    sleep 9
    #
    lu_util exec 'if [ ! -f /tmp/fuse_d/out.txt ]; then touch /tmp/fuse_d/out.txt; fi'

    sleep 2
    help > /tmp/fuse_d/out.txt
     
  18. luckylz

    luckylz Active Member

    Messages:
    414
    Likes Received:
    106
    Country:
    China
    in autoexec.ash, you can't use /tmp/fuse_d
    try:
    Code:
    help > d:/out.txt
    because:
    Code:
    d: == /tmp/fuse_d
    a: == /tmp/fuse_a
     
  19. Delphir

    Delphir New Member

    Messages:
    13
    Likes Received:
    0
    Country:
    United States
    Does anyone know how to connect directly to ambsh serial console on camera`s pcb?
     
Loading...

Share This Page