)]}'
{
  "log": [
    {
      "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": "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": "8613dc027826b0e6e7a368a600ecf3c9899704d3",
      "tree": "1e866dfd28043029b983d7d97f64a683b52f00ae",
      "parents": [
        "a1f38054c7eb48b03a55d1559190637238d88fe1"
      ],
      "author": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Thu Sep 11 09:28:20 2014 -0500"
      },
      "committer": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Thu Sep 11 09:28:20 2014 -0500"
      },
      "message": "Fix handling of MTP fork/child process\n\nChange-Id: Iacd8a38d21e9c8b0dfafefbeb646f46cd3ba02a1\n"
    },
    {
      "commit": "8dfa77780fe1e3944a5b63b453e7a25b11ca25c4",
      "tree": "3d535c23f2a448761d390ed3148ec3c1f95b370a",
      "parents": [
        "82ce28122dfaabd2d8d910a7f75edf648d08bd6b"
      ],
      "author": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Thu Sep 04 21:48:41 2014 -0500"
      },
      "committer": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Thu Sep 04 21:59:20 2014 -0500"
      },
      "message": "MTP: Use fork instead of pthread\n\nChange-Id: I95cf6f4def0c86f40c775738f0712323f0a0f146\n"
    },
    {
      "commit": "6d154c4fe25d1ae0b5dafaae5eff7c0102f3362e",
      "tree": "0e655bbdc41f5f10474ddc9ebe4a77b8ea35c550",
      "parents": [
        "20fd25c231305b0cbc06b5113430aadc003a5c14"
      ],
      "author": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Wed Sep 03 14:19:43 2014 -0500"
      },
      "committer": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Wed Sep 03 14:22:50 2014 -0500"
      },
      "message": "Allow toggle of MTP debug\n\nVia command line in TWRP:\ntwrp set tw_mtp_debug 1\n\nThis will enable debugging for MTP. You will need to disable and\nre-enable MTP in order to see the debug logging.\n\nChange-Id: Ia7bb0c584e10a4322b65ecf80a67ed7ee836b38e\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"
    }
  ]
}
