{"action":"created","issue":{"url":"https://api.github.com/repos/Filipowicz251/mijia-1080P-hacks/issues/18","repository_url":"https://api.github.com/repos/Filipowicz251/mijia-1080P-hacks","labels_url":"https://api.github.com/repos/Filipowicz251/mijia-1080P-hacks/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/Filipowicz251/mijia-1080P-hacks/issues/18/comments","events_url":"https://api.github.com/repos/Filipowicz251/mijia-1080P-hacks/issues/18/events","html_url":"https://github.com/Filipowicz251/mijia-1080P-hacks/issues/18","id":268264840,"number":18,"title":"updating problem","user":{"login":"ferdydek","id":5775168,"avatar_url":"https://avatars1.githubusercontent.com/u/5775168?v=4","gravatar_id":"","url":"https://api.github.com/users/ferdydek","html_url":"https://github.com/ferdydek","followers_url":"https://api.github.com/users/ferdydek/followers","following_url":"https://api.github.com/users/ferdydek/following{/other_user}","gists_url":"https://api.github.com/users/ferdydek/gists{/gist_id}","starred_url":"https://api.github.com/users/ferdydek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferdydek/subscriptions","organizations_url":"https://api.github.com/users/ferdydek/orgs","repos_url":"https://api.github.com/users/ferdydek/repos","events_url":"https://api.github.com/users/ferdydek/events{/privacy}","received_events_url":"https://api.github.com/users/ferdydek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-25T04:42:56Z","updated_at":"2017-10-25T13:42:41Z","closed_at":null,"author_association":"COLLABORATOR","body":"Tried several times and I'm always failing to update to latest version after the hack.\r\n\r\nAlways ending up on the recovery image, then installing the hack. Have access through SSH. Then I'm trying to update the fw via MiHome app and always end up with latest version but the hack is gone.\r\n\r\nlast info before update starts:\r\n```\r\nOct 25 05:12:09 192.168.2.140 Oct 25 05:12:09 miio_avstreamer: [DEBUG] otd_recv_handler_block(), sockfd: 16, msg: {\"method\":\"miIO.get_ota_progress\",\"params\":[],\"id\":3952098,\"from\":\"4\"}, length: 70 bytes\r\nOct 25 05:12:09 192.168.2.140 Oct 25 05:12:09 miio_avstreamer: [DEBUG] msg_dispatcher, msg: {\"method\":\"miIO.get_ota_progress\",\"params\":[],\"id\":3952098,\"from\":\"4\"}, strlen: 70, len: 70\r\nOct 25 05:12:09 192.168.2.140 Oct 25 05:12:09 miio_avstreamer: [DEBUG] otd_recv_handler_block(), sockfd: 16, msg: {\"method\":\"miIO.get_ota_progress\",\"params\":[],\"id\":3121220,\"from\":\"4\"}, length: 70 bytes\r\nOct 25 05:12:09 192.168.2.140 Oct 25 05:12:09 miio_avstreamer: [DEBUG] msg_dispatcher, msg: {\"method\":\"miIO.get_ota_progress\",\"params\":[],\"id\":3121220,\"from\":\"4\"}, strlen: 70, len: 70\r\nOct 25 05:12:10 192.168.2.140 Oct 25 05:12:10 miio_avstreamer: [Motion], Region: 31, md_cnt:[32] \r\nOct 25 05:12:10 192.168.2.140 Oct 25 05:12:10 miio_avstreamer: [DEBUG] SID[0], Handle CMD: [2FF] \r\nOct 25 05:12:10 192.168.2.140 Oct 25 05:12:10 miio_avstreamer: [INFO] IOTYPE_USER_IPCAM_STOP, ch:0, avIndex:0\r\nOct 25 05:12:10 192.168.2.140 Oct 25 05:12:10 miio_avstreamer: [DEBUG] unregedit_client_from_video OK\r\nOct 25 05:12:10 192.168.2.140 Oct 25 05:12:10 miio_avstreamer: [DEBUG] SID[0], Handle CMD: [301] \r\nOct 25 05:12:10 192.168.2.140 Oct 25 05:12:10 miio_avstreamer: [INFO] IOTYPE_USER_IPCAM_AUDIOSTOP, ch:0, avIndex:0\r\nOct 25 05:12:10 192.168.2.140 Oct 25 05:12:10 miio_avstreamer: [DEBUG] unregedit_client_from_audio OK\r\nOct 25 05:12:12 192.168.2.140 Oct 25 05:12:12 miio_avstreamer: [Motion], Region: 15, md_cnt:[20] \r\nOct 25 05:12:12 192.168.2.140 Oct 25 05:12:12 miio_avstreamer: [Motion], Region: 15, md_cnt:[4] \r\nOct 25 05:12:12 192.168.2.140 Oct 25 05:12:12 miio_avstreamer: [DEBUG] otd_recv_handler_block(), sockfd: 16, msg: {\"method\":\"miIO.get_ota_progress\",\"params\":[],\"id\":3073289,\"from\":\"4\"}, length: 70 bytes\r\nOct 25 05:12:12 192.168.2.140 Oct 25 05:12:12 miio_avstreamer: [DEBUG] msg_dispatcher, msg: {\"method\":\"miIO.get_ota_progress\",\"params\":[],\"id\":3073289,\"from\":\"4\"}, strlen: 70, len: 70\r\nOct 25 05:22:48 192.168.2.140 Oct 25 05:22:48 miio_bt: [DEBUG] [miio_client_sock_callback]\r\nOct 25 05:22:48 192.168.2.140 Oct 25 05:22:48 miio_bt: [DEBUG] rpc cmd len:70, msg: {\"method\":\"miIO.get_ota_progress\",\"params\":[],\"id\":3440021,\"from\":\"4\"} \r\nOct 25 05:22:48 192.168.2.140 Oct 25 05:22:48 miio_bt: [DEBUG] json verify ok.\r\nOct 25 05:22:59 192.168.2.140 Oct 25 05:22:59 miio_bt: [DEBUG] [miio_client_sock_callback]\r\nOct 25 05:22:59 192.168.2.140 Oct 25 05:22:59 miio_bt: [DEBUG] rpc cmd len:70, msg: {\"method\":\"miIO.get_ota_progress\",\"params\":[],\"id\":3798094,\"from\":\"4\"} \r\nOct 25 05:22:59 192.168.2.140 Oct 25 05:22:59 miio_bt: [DEBUG] json verify ok.\r\nOct 25 05:23:02 192.168.2.140 Oct 25 05:23:02 miio_bt: [DEBUG] [miio_client_sock_callback]\r\nOct 25 05:23:02 192.168.2.140 Oct 25 05:23:02 miio_bt: [DEBUG] rpc cmd len:70, msg: {\"method\":\"miIO.get_ota_progress\",\"params\":[],\"id\":3798094,\"from\":\"4\"} \r\nOct 25 05:23:02 192.168.2.140 Oct 25 05:23:02 miio_bt: [DEBUG] json verify ok.\r\nOct 25 05:23:05 192.168.2.140 Oct 25 05:23:05 miio_bt: [DEBUG] [miio_client_sock_callback]\r\nOct 25 05:23:05 192.168.2.140 Oct 25 05:23:05 miio_bt: [DEBUG] rpc cmd len:380, msg: {\"method\":\"miIO.ota\",\"params\":{\"app_url\":\"https://cdn.fds-ssl.api.xiaomi.com/miio_fw/5529fa82e3eb8659f17723922accb56b_upd_mijia.camera.v1.bin?GalaxyAccessKeyId=5721718224520&Expires=1516681385000&Signature=0f1XJVXo34Cw8FAfhDCtkBZMIw8=&uniqRequestId=17437973\",\"file_md5\":\"5529fa82e3eb8659f17723922accb56b\",\"install\":\"1\",\"proc\":\"dnld install\",\"mode\":\"normal\"},\"id\":70544,\"from\":\"4\"} \r\nOct 25 05:23:05 192.168.2.140 Oct 25 05:23:05 miio_bt: [DEBUG] json verify ok.\r\nOct 25 05:23:07 192.168.2.140 Oct 25 05:23:07 miio_ota: OTA: before we start, free out more memory...\r\n```\r\nthen the application is downlaoded so camera is basically frozen, after few minutes even though the MiHome app does not indicate it, the upgrade is successful and device reboots:\r\n```\r\nOct 25 05:23:07 192.168.2.140 Oct 25 05:23:07 miio_ota: OTA: before we start, free out more memory...\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:20 miio_ota: OTA: copy log to TF.\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: Valhalla Restoring Key\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: Calling Inject\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: ----------------------------------------------------\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota:  Inject /tmp/inject.sh exist\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: Injector\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: ----------------------------------------------------\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota:  /proc/mtd\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: ----------------------------------------------------\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: dev:    size   erasesize  name\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: mtd0: 00050000 00010000 \"UBOOT\"\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: mtd1: 002a0000 00010000 \"KERNEL\"\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: mtd2: 00a00000 00010000 \"ROOTFS\"\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: mtd3: 002e0000 00010000 \"DATA\"\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: mtd4: 00010000 00010000 \"CONFIG\"\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: mtd5: 00010000 00010000 \"FACTORY\"\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: mtd6: 01000000 00010000 \"ALL\"\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota:  mount\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: ----------------------------------------------------\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: rootfs on / type rootfs (rw)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: /dev/root on / type squashfs (ro,relatime)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: devtmpfs on /dev type devtmpfs (rw,relatime,size=62668k,nr_inodes=15667,mode=755)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: proc on /proc type proc (rw,relatime)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: tmpfs on /tmp type tmpfs (rw,relatime)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: tmpfs on /var type tmpfs (rw,nosuid,nodev,relatime,mode=755)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: tmpfs on /mnt/media type tmpfs (rw,nosuid,nodev,relatime,mode=755)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: sysfs on /sys type sysfs (rw,relatime)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: /dev/mtdblock3 on /mnt/data type jffs2 (rw,relatime)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: /dev/mmcblk0p1 on /mnt/media/mmcblk0p1 type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: /dev/mmcblk0p1 on /tmp/sd type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: tmpfs on /etc type tmpfs (rw,relatime)\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota:  lsof /mnt/data\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: ----------------------------------------------------\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\t/dev/console\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\t/dev/console\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\t/dev/console\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\t/var/log/miio_client.log\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tsocket:[949]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tsocket:[950]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tsocket:[951]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tanon_inode:[timerfd]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tanon_inode:[timerfd]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tanon_inode:[timerfd]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tsocket:[1710]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tsocket:[1101]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tsocket:[1752]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tpipe:[1754]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tpipe:[1754]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tsocket:[1755]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 516\t/bin/busybox\t/mnt/data/ot_wifi_tool/miio_client_helper_nomqtt.sh\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 530\t/mnt/data/miio_ota/miio_ota\t/dev/null\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 530\t/mnt/data/miio_ota/miio_ota\tpipe:[973]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 530\t/mnt/data/miio_ota/miio_ota\t/dev/console\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 530\t/mnt/data/miio_ota/miio_ota\tsocket:[1100]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 530\t/mnt/data/miio_ota/miio_ota\tanon_inode:[timerfd]\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 973\t/mnt/data/ot_wifi_tool/miio_recv_line\t/dev/null\r\nOct 25 05:30:21 192.168.2.140 Oct 25 05:30:21 miio_ota: 973\t/mnt/data/ot_wifi_tool/miio_recv_line\tpipe:[1750]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 973\t/mnt/data/ot_wifi_tool/miio_recv_line\t/dev/console\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 973\t/mnt/data/ot_wifi_tool/miio_recv_line\tsocket:[1751]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: lsof /tmp/ld-uClibc.so.0\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\t/dev/console\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\t/dev/console\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\t/dev/console\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\t/var/log/miio_client.log\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tsocket:[949]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tsocket:[950]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tsocket:[951]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tanon_inode:[timerfd]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tanon_inode:[timerfd]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tanon_inode:[timerfd]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tsocket:[1710]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 515\t/mnt/data/ot_wifi_tool/miio_client\tsocket:[1755]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 516\t/bin/busybox\t/mnt/data/ot_wifi_tool/miio_client_helper_nomqtt.sh\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 530\t/mnt/data/miio_ota/miio_ota\t/dev/null\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 530\t/mnt/data/miio_ota/miio_ota\tpipe:[973]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 530\t/mnt/data/miio_ota/miio_ota\t/dev/console\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 530\t/mnt/data/miio_ota/miio_ota\tsocket:[1100]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 530\t/mnt/data/miio_ota/miio_ota\tanon_inode:[timerfd]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 973\t/mnt/data/ot_wifi_tool/miio_recv_line\t/dev/null\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 973\t/mnt/data/ot_wifi_tool/miio_recv_line\tpipe:[1750]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 973\t/mnt/data/ot_wifi_tool/miio_recv_line\t/dev/console\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:21 miio_ota: 973\t/mnt/data/ot_wifi_tool/miio_recv_line\tsocket:[1751]\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: Lsof only pid\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 515\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 515\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 515\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 515\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 515\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 515\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 515\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 515\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 515\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 515\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 515\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 530\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 530\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 530\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 530\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 530\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 973\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 973\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 973\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: 973\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: #KILL#\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: lsof\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: ----------------------------------------------------\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: #@@#\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota:  umount /dev/mtdblock3\r\nOct 25 05:30:22 192.168.2.140 Oct 25 05:30:22 miio_ota: ----------------------------------------------------\r\nOct 25 05:30:22 192.168.2.140 Oct 25 04:30:22 miio_ota:  mount /tmp/Key\r\nOct 25 05:30:22 192.168.2.140 Oct 25 04:30:22 miio_ota: ----------------------------------------------------\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: after mount...\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: mount\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: ----------------------------------------------------\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: rootfs on / type rootfs (rw)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: /dev/root on / type squashfs (ro,relatime)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: devtmpfs on /dev type devtmpfs (rw,relatime,size=62668k,nr_inodes=15667,mode=755)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: proc on /proc type proc (rw,relatime)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: tmpfs on /tmp type tmpfs (rw,relatime)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: tmpfs on /var type tmpfs (rw,nosuid,nodev,relatime,mode=755)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: tmpfs on /mnt/media type tmpfs (rw,nosuid,nodev,relatime,mode=755)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: sysfs on /sys type sysfs (rw,relatime)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: /dev/mmcblk0p1 on /mnt/media/mmcblk0p1 type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: /dev/mmcblk0p1 on /tmp/sd type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: tmpfs on /etc type tmpfs (rw,relatime)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: /dev/mtdblock3 on /tmp/Key type jffs2 (rw,relatime)\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: Listing FT\r\nOct 25 05:30:23 192.168.2.140 Oct 25 04:30:23 miio_ota: ----------------------------------------------------\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:23 miio_ota: total 4294967296\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:23 miio_ota: drwxr-xr-x    2 root     root        707626 Sep 13 12:01 .\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:23 miio_ota: drwxr-xr-x   13 root     root        707626 Jan  1  1970 ..\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:23 miio_ota: -rwxr-xr-x    1 root     root     1168231812138 Sep 13 12:01 prikey.pem\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:23 miio_ota: -----BEGIN PUBLIC KEY-----\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:23 miio_ota: MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqptSAi12ENcvDnSmnEsXeq9Zp\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:23 miio_ota: qq8uc3PwIcq6vuP7djavTHlhXPEgTOp8y965nQSbqt/R8IcxfCLFxnNGmFz5xNpP\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:23 miio_ota: 4jfccmNzHp9OqTD7xnhDtLZhAhnEWCA2nIvIdwaW6XxKmVhRJ8y56Mr8QEaIj4hk\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:23 miio_ota: snANL3CJnlW6JcUdmwIDAQAB\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:23 miio_ota: -----END PUBLIC KEY-----\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:23 miio_ota: cp /tmp/sd/tools/prikey.pem /tmp/Key/ft/prikey.pem \r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:23 miio_ota: ----------------------------------------------------\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: Before copying...done\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: -----BEGIN RSA PRIVATE KEY-----\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: MIICXAIBAAKBgQC2Og1+zeBxdNQsZ4Vd5lrWKkavrRcxord6KlxCAKpOPnYOvVc6\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: PVGASJMTZLT+ZTgNciCcfVu0WHFrisn0zRAxLimoNK/VELdQCE+T40ewouWBI/gJ\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: Uy56OXcqgKzVZPPJFCpGHl1bT+EYM83nBIX0SOdI23pysuchCpfil3PkDwIDAQAB\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: AoGAU2Eeua20C9XcG3FGqd90Ith3PXzixvhgIYruadjqFCEqXbYvClvyRdNvUIlc\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: 86YWzrgwycnmQw/Q3ddEbznBNSnIbmKa0kMPndZqKwQV5SSmai7mfIzavzXxmpYN\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: zyxmKZOX6qAiUKW6z2MkPL9yGoOaU8DgLds98F2dnFU1cJkCQQDhR9+kqMwJs0YJ\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: ikWbhRiwxnZHAL4sIbuYyejG/mmhMC0X7RNL7orSuUOLme7Jb8sSLMqNWfJEOYt4\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: IQEDhE/DAkEAzxM+3lX+05+2c5doMlML9ZuvPbOxiMVKA7DdBoCx1btPwG7UufUs\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: DoUw0JG9yfsOZsa5UejRIRqSRagqd/ZBxQJAFlADE5DwXImYBzvdtxCQqHmPn2qw\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: aziQFwrwdj0egyt9W+BMR/oBX+ufiAUgBG2BJHSxPxzIhP9aE/TY39tL9wJALMaR\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: kovvxRzE2+vCSRdx/5LBassfOV7HqVKmCFDtozSUgxyz/N3Jv/4G1yKccj9KFukj\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: i1WXWtwfAtbhD/18rQJBAMleTwLdcBypljiWT2a6w779GT+7Hh1Wf9YKi0FeX/HO\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: UREzEf+R3IvncRA1Jhu/ATcZ6ZZ7vBVcoHO0Y9Aqd4U=\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: -----END RSA PRIVATE KEY-----\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 init: starting pid 1092, tty '': '/etc/init.d/rcK'\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota:  Inject Success\r\nOct 25 05:30:24 192.168.2.140 Oct 25 04:30:24 miio_ota: OTA: about to reboot......\r\nOct 25 05:30:25 192.168.2.140 Oct 25 04:30:24 init: starting pid 1108, tty '': '/sbin/swapoff -a'\r\nOct 25 05:30:25 192.168.2.140 Oct 25 04:30:24 init: starting pid 1109, tty '': '/bin/umount -a -r'\r\nOct 25 05:30:25 192.168.2.140 Oct 25 04:30:25 init: The system is going down NOW!\r\n```\r\nfrom this point on there is no access to the SSH.\r\nScenario is always the same.\r\n\r\nany ideas?"},"comment":{"url":"https://api.github.com/repos/Filipowicz251/mijia-1080P-hacks/issues/comments/339333882","html_url":"https://github.com/Filipowicz251/mijia-1080P-hacks/issues/18#issuecomment-339333882","issue_url":"https://api.github.com/repos/Filipowicz251/mijia-1080P-hacks/issues/18","id":339333882,"user":{"login":"willthrom","id":2103849,"avatar_url":"https://avatars3.githubusercontent.com/u/2103849?v=4","gravatar_id":"","url":"https://api.github.com/users/willthrom","html_url":"https://github.com/willthrom","followers_url":"https://api.github.com/users/willthrom/followers","following_url":"https://api.github.com/users/willthrom/following{/other_user}","gists_url":"https://api.github.com/users/willthrom/gists{/gist_id}","starred_url":"https://api.github.com/users/willthrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willthrom/subscriptions","organizations_url":"https://api.github.com/users/willthrom/orgs","repos_url":"https://api.github.com/users/willthrom/repos","events_url":"https://api.github.com/users/willthrom/events{/privacy}","received_events_url":"https://api.github.com/users/willthrom/received_events","type":"User","site_admin":false},"created_at":"2017-10-25T13:42:41Z","updated_at":"2017-10-25T13:42:41Z","author_association":"COLLABORATOR","body":"@ferdydek  that was fixed in the latest release...\r\n\r\nhttps://github.com/Filipowicz251/mijia-1080P-hacks/releases/tag/0.6b\r\n\r\nit seems in the release page version is in the top, instead of b... when they were released in a different order..."}}
{"actor":{"display_login":"willthrom"}}