)]}'
{
  "log": [
    {
      "commit": "fc25d80490051fb2dca8c7877f84fb6304720aae",
      "tree": "f00558bafaa42a3bcd212ac1ac98b4b4c51f600b",
      "parents": [
        "d1de6715a21dbccdc4d43f877d542c5738b8ef30"
      ],
      "author": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Fri Jan 30 10:08:48 2015 -0600"
      },
      "committer": {
        "name": "flintman",
        "email": "flintman@flintmancomputers.com",
        "time": "Wed Feb 11 11:59:25 2015 -0500"
      },
      "message": "MTP: make MTP work even if unplugged and replugged\n\nSet up a loop to keep trying to open / read the MTP device so that\nMTP will work even if the device is unplugged during boot or\nunplugged and replugged in.\n\nChange-Id: I0d3a3b7c91ce84a8cbed16caa4b15efee35b3641\n"
    },
    {
      "commit": "ee8b314dbc590b2435d07600baa8327c11e67615",
      "tree": "0fd5d413ecaa5cefa552478a6bf81e239ae6c3bd",
      "parents": [
        "32f68a3c92ee8bc403b5cff6080b47ffba4f1ce7"
      ],
      "author": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Mon Dec 29 08:39:19 2014 -0600"
      },
      "committer": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Mon Dec 29 09:24:23 2014 -0600"
      },
      "message": "Improve MTPServer logging of read errors\n\nUnless MTP debug logging is enabled, you will miss the error and\nwill not know that something went wrong in the log.\n\nChange-Id: I51f4758b415eb38e808ec8b1c9788b505bf88c65\n"
    },
    {
      "commit": "0c53203efe377196e2bf22290fed000c7ee38870",
      "tree": "7db4bcf115bb48b79be14979331c8f8d78fb27e7",
      "parents": [
        "a3d31fbe385094400719e9a7a79965ff5da9f4b4"
      ],
      "author": {
        "name": "bigbiff",
        "email": "bigbiff@teamw.in",
        "time": "Sun Dec 21 13:41:26 2014 -0500"
      },
      "committer": {
        "name": "Dees Troy",
        "email": "dees_troy@teamw.in",
        "time": "Mon Dec 22 04:52:56 2014 +0100"
      },
      "message": "Fix else if and maxFileSize initializer.\n\nChange-Id: Iac7852a4fb2add5744d5ea424d6ad5a82828f102\n"
    },
    {
      "commit": "726a0206326ca4cf22aa7c59e174a83a0da9727f",
      "tree": "5f0275dfed9c51b255e73feaeba609cd7a762da1",
      "parents": [
        "6cb35aab9906f95461a2d4ef61262397afc85539"
      ],
      "author": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Tue Dec 16 20:01:38 2014 -0600"
      },
      "committer": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Fri Dec 19 16:27:34 2014 -0600"
      },
      "message": "MTP add/remove storage instead of disabling MTP\n\nImplement a pipe between TWRP and MTP to allow TWRP to tell MTP\nto remove storage partitions as they become unavailable (e.g.\nduring a wipe, unmount, etc) instead of disabling MTP completely.\nThis includes some fixes and improvements in destructors to\nproperly remove / delete various items. This also means that we\nwill not be toggling adb off and on quite as often.\n\nI do not like that we had to add another thread, but we were\nunable to use select() on the mtp_usb character device because\nthis device does not support polling. Select always returned\nindicating that the mtp file descriptor was ready to be read and\nthe resulting read would block. The read block prevented us from\nbeing able to include reading of the pipe between TWRP and MTP in\nthe main MTP thread.\n\nWe might want to add a return pipe letting TWRP know if the\nremoval of the storage device was successful, but I am not sure\nhow we want to implement this. It would invovle timeouts in both\nTWRP and MTP to ensure that we returned a failure indicator in a\ntimely manner to TWRP and prevent deleting the storage device in\nthe case of a failure. Right now we make no attempt to ensure that\nan MTP operation is underway like a large file transfer, but we\nwere not doing anything like this in the past. In some respects we\nhave limited control over what happens. If the user installs a\nzip that unmounts a storage partition, we will not know about the\nchange in storage status anyway. Regular Android does not have\nthese troubles because partitions rarely get unmounted like in\nrecovery. At some point, we have to hold the user accountable for\nperforming actions that may remove a storage partition while they\nare using MTP anyway.\n\nIdeally we do not want to toggle the USB IDs and thus toggle adb\noff and on during early boot, but I am not sure what the best way\nto handle that at this time.\n\nChange-Id: I9343e5396bf6023d3b994de1bf01ed91d129bc14\n"
    },
    {
      "commit": "4b94cfd3910de26dbca64cf746a899cbc635158b",
      "tree": "9b452fb2632413e51cb3b9fd8b28e6a2bd0352f5",
      "parents": [
        "ac21cb5ae31cc18905ca3314a0619eec974c248e"
      ],
      "author": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Thu Dec 11 10:00:45 2014 -0600"
      },
      "committer": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Fri Dec 12 09:20:42 2014 -0600"
      },
      "message": "Attempt to set the proper uid/gid/contexts on new files and dirs\n\nFiles and folders that we create during backups, copy log, or MTP\noperations often do not have the proper uid/gid/contexts assigned.\nWe will attempt to read the proper contexts from the settings\nstorage path and assign those same contexts to any files or dirs\nthat we create.\n\nChange-Id: I769f9479854122b49b499de2175e6e2d026f8afd\n"
    },
    {
      "commit": "7cb4c3322b3a282e63e77b0d2205fd2e51b8b932",
      "tree": "7ff7761604c2f6d82b444a66205126f8d81856e5",
      "parents": [
        "253368a0726120efa57664cdd1d088af099a3d81"
      ],
      "author": {
        "name": "bigbiff",
        "email": "bigbiff@teamw.in",
        "time": "Wed Nov 26 20:36:07 2014 -0500"
      },
      "committer": {
        "name": "Dees Troy",
        "email": "dees_troy@teamw.in",
        "time": "Thu Dec 04 17:32:27 2014 +0100"
      },
      "message": "add function to partition.cpp to return max file size to mtp responder\nChange-Id: If8114b5eac741db6c512fb35cb48e3825c2ff098\n"
    },
    {
      "commit": "241a3ce4c5ff883c160754e0aebd1e1b0894d332",
      "tree": "e39901d3a8b91ad599ec71754dfeba7cdea8dcc1",
      "parents": [
        "2e07c0493e76f16b021d53280ee4fa49586bde46"
      ],
      "author": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Thu Sep 04 12:59:27 2014 -0500"
      },
      "committer": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Thu Sep 04 13:05:35 2014 -0500"
      },
      "message": "MTP: Better handling of stat\n\nDo some error checking of lstat calls and better handle those\nerrors.\nUse lstat instead of dirent to check if an item is a directory\nbecause dirent does not return the correct item type when using\nexfat-fuse.\n\nChange-Id: I0d008aff55a0e0b4fbeae24cf8d0c04453b7b77e\n"
    },
    {
      "commit": "c7eee6fef0263ed4eb5aa0d934a0a8c972d41b30",
      "tree": "a994f2110aeeb58ef2bc1f23c31f695cd840ac46",
      "parents": [
        "3c4ac3bc3284a8f366991c57d2a52ad35f2cf3e6"
      ],
      "author": {
        "name": "bigbiff bigbiff",
        "email": "bigbiff@teamw.in",
        "time": "Tue Sep 02 18:59:01 2014 -0400"
      },
      "committer": {
        "name": "bigbiff bigbiff",
        "email": "bigbiff@teamw.in",
        "time": "Tue Sep 02 21:44:49 2014 -0400"
      },
      "message": "add mtp responder to TWRP.\nBig thanks to Dees_Troy for helping with the implementation.\n\nChange-Id: I6c9c522b9c9de5dc139e2ecb0141008182ba07f0\n"
    }
  ]
}
