Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    minimelkav
    @minimelkav
    Running the following commands gives the following output:
    [root@WYZ_CAM_1:config]# /system/sdcard/bin/setconf -k d -v 15,1
    [root@WYZ_CAM_1:config]# /system/sdcard/bin/v4l2rtspserver-master -F15 -W1920 -H1080 -A -r 3 -P 8554
    2020-11-12 22:17:05.869 (   0.000s) [main thread     ]               main.cpp:446      0| === Dumping environment variables ===
    2020-11-12 22:17:05.872 (   0.003s) [main thread     ]               main.cpp:449      0| USER=root
    2020-11-12 22:17:05.875 (   0.006s) [main thread     ]               main.cpp:449      0| SSH_CLIENT=192.168.1.178 49216 22
    2020-11-12 22:17:05.877 (   0.008s) [main thread     ]               main.cpp:449      0| SHLVL=1
    2020-11-12 22:17:05.878 (   0.009s) [main thread     ]               main.cpp:449      0| LD_LIBRARY_PATH=/system/sdcard/lib/:/thirdlib:/system/lib
    2020-11-12 22:17:05.879 (   0.010s) [main thread     ]               main.cpp:449      0| HOME=/root
    2020-11-12 22:17:05.880 (   0.011s) [main thread     ]               main.cpp:449      0| OLDPWD=/root
    2020-11-12 22:17:05.880 (   0.011s) [main thread     ]               main.cpp:449      0| SSH_TTY=/dev/pts/0
    2020-11-12 22:17:05.882 (   0.013s) [main thread     ]               main.cpp:449      0| PS1=[\u@\h:\W]#
    2020-11-12 22:17:05.882 (   0.013s) [main thread     ]               main.cpp:449      0| LOGNAME=root
    2020-11-12 22:17:05.883 (   0.014s) [main thread     ]               main.cpp:449      0| TERM=xterm-256color
    2020-11-12 22:17:05.884 (   0.015s) [main thread     ]               main.cpp:449      0| PATH=/system/sdcard/bin:/system/bin:/bin:/sbin:/usr/bin:/usr/sbin
    2020-11-12 22:17:05.885 (   0.016s) [main thread     ]               main.cpp:449      0| SHELL=/bin/sh
    2020-11-12 22:17:05.886 (   0.017s) [main thread     ]               main.cpp:449      0| PWD=/system/sdcard/config
    2020-11-12 22:17:05.887 (   0.018s) [main thread     ]               main.cpp:449      0| SSH_CONNECTION=192.168.1.178 49216 192.168.1.135 22
    2020-11-12 22:17:05.888 (   0.019s) [main thread     ]               main.cpp:452      0| === end ===
    2020-11-12 22:17:05.891 (   0.022s) [main thread     ]         ImpEncoder.cpp:695      0| Try to read extra configuration on /system/sdcard/bin/v4l2rtspserver-master.ini
    2020-11-12 22:17:05.895 (   0.026s) [main thread     ]         ImpEncoder.cpp:713      0| Parsing /system/sdcard/bin/v4l2rtspserver-master.ini
    2020-11-12 22:17:05.898 (   0.029s) [main thread     ]         ImpEncoder.cpp:721      0| OSD activated
    2020-11-12 22:17:05.899 (   0.030s) [main thread     ]         ImpEncoder.cpp:739      0| Motion deactivated
    2020-11-12 22:17:05.900 (   0.031s) [main thread     ]         ImpEncoder.cpp:748      0| JPEG capture deactivated
    2020-11-12 22:17:05.901 (   0.032s) [main thread     ]         ImpEncoder.cpp:752      0| Reduce pool size activated Buffer size=409600
    2020-11-12 22:17:05.902 (   0.033s) [main thread     ]         ImpEncoder.cpp:763      0| Video settings: skip:0 quality:3 maxSameSceneCnt:1 MaxGop:8
    2020-11-12 22:17:05.903 (   0.034s) [main thread     ]         ImpEncoder.cpp:770      0| IMP Lib versionIMP-3.12.0
    2020-11-12 22:17:08.213 (   2.344s) [main thread     ]         ImpEncoder.cpp:1260   ERR| ##### sensor not found
    2020-11-12 22:17:08.218 (   2.349s) [main thread     ]         ImpEncoder.cpp:1290     0| Found Sensor with ID:-1Name =jxf23
    2020-11-12 22:17:08.706 (   2.837s) [main thread     ]         ImpEncoder.cpp:839      0| Set FPS to 25/1
    2020-11-12 22:17:08.710 (   2.841s) [main thread     ]         ImpEncoder.cpp:1520     0| encoderMode: 3
    2020-11-12 22:17:08.713 (   2.844s) [main thread     ]         ImpEncoder.cpp:1605     0| Using SMART mode.
    2020-11-12 22:17:08.715 (   2.846s) [main thread     ]         ImpEncoder.cpp:1608     0| Set initial bitrate (from sharedmem) to 1000
    i264e[info]: profile Main, level 4.0
    kpma1985
    @kpma1985
    HI!
    Can anyone help me? maybe i bricked my cam :D
    U-Boot SPL 2013.07  Ba   %   pll_init:365
    l2cache_clk = 375000000
    pll_cfg.pdiv = 8, pll_cfg.h2div = 4, pll_cfg.h0div = 4, pll_cfg.cdiv = 1, pll_cfg.l2div = 3
    nf=36 nr = 1 od0 = 1 od1 = 1
    cppcr is 02404900
    CPM_CPAPCR 0470890d
    nf=42 nr = 1 od0 = 1 od1 = 1
    cppcr is 02a04900
    CPM_CPMPCR 07d0c90d
    nf=50 nr = 1 od0 = 1 od1 = 1
    cppcr is 03204900
    CPM_CPVPCR 0320490d
    cppcr 0x9a794410
    apll_freq 860160000 
    mpll_freq 1000000000 
    vpll_freq = 1200000000
    ddr sel mpll, cpu sel apll
    ddrfreq 500000000
    cclk  860160000
    l2clk 286720000
    h0clk 250000000
    h2clk 250000000
    pclk  125000000
    DDRC_DLP:0000f003
    doenst boot anymore :(
    multicron
    @multicron
    There's a statement on Wyze's website that says "NOTE: The firmware files listed below are NOT compatible with recently purchased Wyze Cam v2 hardware. We are working on an updated RTSP version that will resolve this." Does anyone know if this new version of the Wyze Cam V2 hardware still works with Xiaomi-Dafang-Hacks?
    Juan Perez Estrada
    @juan321111_twitter
    Hi,
    Is it normal to have 3 mqtt message for each motion detection?
    I have 3 "on" payloads ,an 3 "off" payloads.
    Juan Perez Estrada
    @juan321111_twitter
    Could it be the problem about QOS in mqtt messages?
    Juan Perez Estrada
    @juan321111_twitter
    Sorry, broker.emqx.io is repeating the payload, with mqtt.eclipse.org, everything is ok, thanks
    Juan Perez Estrada
    @juan321111_twitter
    Hi, could we use NGROK in this firmware? or is cpu very very poor ?
    multicron
    @multicron
    I did some poking around and I think I've determined that the newest V2 hardware has a different FCC ID: 2ANJHWYZEC02 instead of 2ANJHWYZEC2. You can look at pictures of the differences in the hardware on the FCC site. The USB ports have been moved to a daughter card. It still uses the RTL 8189FTV wifi chip. There's no longer an antenna connector (which people used to put external antennas on the cameras). The date on the new PCB is 2020-02-26 and the FCC Authorization letter is dated 2020-06-24 (the old PCB is dated 2017-12-15). It looks like it is still a T20 processor, and the image sensor has been moved onto the same board as the processor (it had been on a daughter card).
    Jeff Tchang
    @tachang
    @kpma1985 looks like bricked if you can't even get uboot
    amar jandu
    @amarjandu
    I'm having some trouble with getting the custom firmware running on a DAFANG, it looks like the bootloader was installed correctly as the camera moves around, but after transfering over the CF to the SD card the camera will hold. yellow light, flicker the blue light 2x then shutdown, any ideas where to start // logs to inspect?
    amar jandu
    @amarjandu
    https://gist.github.com/amarjandu/3ba8b8923ae124e1fa93ae5d244cfb60 so strange, the LED stays off on the front, i attempted to reseat the ribbon cable after seeing someone report that as a solution for i2c_jz_irq 441, I2C transfer error, ABORT interrupt but still nothing :(
    Jeff Tchang
    @tachang
    What processes are running?
    amar jandu
    @amarjandu
    lmao, i guess for some reason it was not showing up on the router attached devices i think its been OK the whole time, after the status on the DAFANG is on the LED turns off, i used nmap to locate the IP
    let me tell you about hours wasted, shame there is no status LED or sounds on successful boot.
    multicron
    @multicron
    When I update the firmware with an SD card, is it the bootloader that handles the update by itself?
    Also, is the bootloader itself ever updated by updating the firmware from SD card?
    Jeff Tchang
    @tachang
    @multicron yes the bootloader is uboot handles the writing to flash
    @multicron the bootloader is not updated when flashing the firmware itself.
    multicron
    @multicron
    @tachang Thank you!
    multicron
    @multicron
    unpacker.py produces 4 files from the wyze stock firmwares I've unpacked (kernel,root,driver,appfs). In particular, the bootloader is not there. Is this because of the dic array in unpacker.py only selecting those items, or is it because the other items are not present in the firmware file? Are the full firmware dumps found in the git repository all from dd'ing the nvram directly?
    multicron
    @multicron
    Answering my own questions: Those are the only items in the firmware files. I suspect that any full firmware dump is from dd'ing the nvram directly. I see only one firmware dump, the 4.9.1.60, for the wyze v2, that has any items more than the kernel, root, driver, and appfs chunks. All the firmware files I've downloaded have only these four items.
    Jeff Tchang
    @tachang
    @multicron uboot is not there.
    multicron
    @multicron
    Interesting! The boot loader from 4.9.1.60 is "U-Boot 2013.07 (Dec 21 2017 - 18:44:33)" and the one from your repo is "U-Boot 2013.07 (Jul 05 2018 - 13:33:27)", so I guess they have updated it at least once.
    Jeff Tchang
    @tachang
    Yup
    Did you mess up your bootloader?
    multicron
    @multicron
    No, I'm just trying to understand the Xiaomi-Dafang-Hacks as well as possible. I rewrote a chunk of the FAQ because there's not a good set of introductory information, but I haven't made a PR yet.
    Now that I see you're working on something evolved from that, I wonder if my efforts would be better applied to OpenMiko.
    OpenMiko is an actual replacement firmware, though, right? Not a weird "mount my application on top of your application" configuration. Can OpenMiko be run from the SD Card?
    Jeff Tchang
    @tachang
    @multicron That's correct. OpenMiko is actual replacement firmware from the ground up. Custom kernel and distribution.
    OpenMiko runs entirely from the flash.
    It technically could run from the SDcard but right now it is just flash only. No sdcard required.
    It has a ton of programs that can be custom built such as ffmpeg, mjpg_streamer, and others since it relies on buildroot
    Feel free to join the slack: Join me on Slack — it’s a faster, simpler way to work. Sign up here, from any device: https://join.slack.com/t/openmiko/shared_invite/zt-j7kdxkwy-I60EbX586dO9OusdcvTMWw
    Brett-R-Turner
    @Brett-R-Turner

    Hello! Trying to get some Xioafang cameras that I purchased up and running Dafang hacks with the ultimate goal of getting them on my homebrdige/homekit setup.

    I am however having issues with step 1 of the process - installing the bootloader.

    My issue is getting it into the bootloader install sequence I believe, when following the steps outlined (holding button, with card inserted, plugging in cable) I can only ever get the light to go from solid yellow, to blinking yellow after releasing the button, for a seemingly infinite amount of time, I'm not seeing the blue light that most people see in this process.

    There are a few things I believe this might be, and I'm hoping someone can help confirm my suspicions.

    I have a non-compatible camera(T20L maybe? - which the bootloader page is down for). I am using the Xiaomi XiaoFang T20 bootloader here - the camera I have is:
    iSC5.
    FCCID:SENISC5
    CMIIT ID:2016DP5557
    Firmware:3.3.3.25

    Bad memory cards?
    I have tried 3 separate cards, varying in sizes, trying both the full size of the card and a 512 partition, all formatted FAT32

    Any one have any ideas here? Thanks so in advanced for the help

    Jeff Tchang
    @tachang
    @Brett-R-Turner You don't need to install the bootloader with dafang?
    aymeric106
    @aymeric106
    After many tries to install properly, here's my way on windows 10:
    -> small sdcard (2Gb in my case)
    -> format with sdcardformater https://www.sdcard.org/downloads/formatter/
    -> delete sys files on sdcard https://www.getusb.info/how-to-delete-and-keep-system-volume-information-folder-off-flash-drives/
    Always working with this setup
    Brett-R-Turner
    @Brett-R-Turner
    @tachang maybe I'm mistaken then, or not describing the step I'm on right. When I say bootloader, I mean installing the demo.bin file
    roontoon
    @roontoon
    Hi, I have 2 Wyze v2 cameras that are currently using this firmware and I want to know if this version of the firmware has been tried on the new Wyze outdoor camera?
    Brett-R-Turner
    @Brett-R-Turner
    So I think I might have found my issue. Do I have an ARM camera?
    If so, am I out of luck with the main Xiao fang hack thread, would this guide work for my camera? https://github.com/samtap/fang-hacks
    aymeric106
    @aymeric106
    I've received a firmware for a Dafang 1S from my aliexpress seller. Don't know which version but you can unzip it if you know where to find https://1fichier.com/?pmgb2f5jk9rzd1yd7ht5
    Sorry I meant Xiaofang