)]}'
{
  "log": [
    {
      "commit": "f5bae244d629b77e29bc84f24b6fc741cee87e8e",
      "tree": "53cedd494a3785785c5c4b0ff92f30f5942b280d",
      "parents": [
        "8aefe1a96e640b1e31b206214f21a1d5455fff36"
      ],
      "author": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Tue Jan 27 08:50:48 2015 -0600"
      },
      "committer": {
        "name": "flintman",
        "email": "flintman@flintmancomputers.com",
        "time": "Wed Feb 11 11:59:25 2015 -0500"
      },
      "message": "Use TWAtomicInt in MTPStorage\n\nChange-Id: I3450fd2334a441c3d9d40a856128a3cc932cb7f3\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": "cdc3ef5feb8421cdb6cd6850c75a7222c049fe23",
      "tree": "9bd102c8c937d01c32a6ba2a10e365387b46c02d",
      "parents": [
        "ec0fa4ad68fdab9b83c585bf4ea311fc1310e0ea"
      ],
      "author": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Tue Nov 25 10:40:04 2014 -0600"
      },
      "committer": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Tue Nov 25 15:00:08 2014 -0600"
      },
      "message": "TWRP MTP: make sure inotify_fd is set\n\nOriginally the inotify_init() call was part of a separate thread\nwhich would occasionally allow the readDirs function to run and\nstart trying to add watches before inotify_fd was init\u0027ed properly\nand result in the add watch failing. This patch set relocates the\ninotify_init call to happen outside and before starting the\nseparate thread to ensure that inotify_fd is set properly.\n\nChange-Id: I8748c23473b60b57887df9d692834f3d2b249802\n"
    },
    {
      "commit": "5823d48f9e4a6c098571e57685af30ca793ccd38",
      "tree": "dfca2050c15ab9eba47bef631c6cc21d73d741dc",
      "parents": [
        "5f4fd8c03eb6a8be46baa1c692761d8f85fda173"
      ],
      "author": {
        "name": "that",
        "email": "github@that.at",
        "time": "Mon Oct 13 00:15:05 2014 +0200"
      },
      "committer": {
        "name": "Dees Troy",
        "email": "dees_troy@teamw.in",
        "time": "Tue Oct 14 15:19:29 2014 +0200"
      },
      "message": "mtp: fix log spam: findNode not finding a node is not an error\n\nThe requested file might be on another storage.\n\nChange-Id: Ia71525058b616a28a8ea2b4ab48ebac1c790757e\n"
    },
    {
      "commit": "9e0593eaf6defb15761f41246093c0d3661b140d",
      "tree": "b9c42ddb95087c735d50b8ce34b5aee529adc5cb",
      "parents": [
        "66766fe40862d84b24ed665e1c381897ab4be98d"
      ],
      "author": {
        "name": "that",
        "email": "github@that.at",
        "time": "Wed Oct 08 00:01:24 2014 +0200"
      },
      "committer": {
        "name": "Dees Troy",
        "email": "dees_troy@teamw.in",
        "time": "Wed Oct 08 18:34:39 2014 +0200"
      },
      "message": "mtp: cleanup, fixes and performance improvements\n\n- use std::map instead of linked list\n- read directories on demand\n- fix writing zip files to storage root\n- fix creating directories\n- lots of minor fixes\n- simplify generation of storage IDs and make them spec compliant\n\nChange-Id: I2137c27549ddbdc58466f2e3aeda464fac70a3c5\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": "2e07c0493e76f16b021d53280ee4fa49586bde46",
      "tree": "ab58df42cfee6ebda5d5f70af924d66679bd1f15",
      "parents": [
        "53ea0a166c61d7836cdc191f0cbcfaf75b8e8e86"
      ],
      "author": {
        "name": "Dees Troy",
        "email": "dees_troy@teamw.in",
        "time": "Thu Sep 04 15:00:57 2014 +0000"
      },
      "committer": {
        "name": "Dees Troy",
        "email": "dees_troy@teamw.in",
        "time": "Thu Sep 04 15:01:30 2014 +0000"
      },
      "message": "MTP Fix rename in Windows\n\nChange-Id: Ieef2fc16aac1da3d03908cfb285895954b42a14a\n"
    },
    {
      "commit": "53ea0a166c61d7836cdc191f0cbcfaf75b8e8e86",
      "tree": "13ac1e8e18616acc6aa17b47b9572ff8519f3434",
      "parents": [
        "12055fac833287e8f03d606b112bdb230e9218ba"
      ],
      "author": {
        "name": "Dees Troy",
        "email": "dees_troy@teamw.in",
        "time": "Thu Sep 04 14:17:44 2014 +0000"
      },
      "committer": {
        "name": "Dees Troy",
        "email": "dees_troy@teamw.in",
        "time": "Thu Sep 04 14:17:50 2014 +0000"
      },
      "message": "MTP Fix property list for multiple storage devices\n\nChange-Id: Ice23fef31439a6c88d0a12380688eccd8dc3a71c\n"
    },
    {
      "commit": "6f49e11d8adb08a8b420d679b3ab0cbfda6ffb12",
      "tree": "20c82dfac082916555161ad5bc5e304ec8f3ca94",
      "parents": [
        "c8743cf5d5ff79603eb79cddd2af391e4a9f96dd"
      ],
      "author": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Wed Sep 03 21:42:49 2014 -0500"
      },
      "committer": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Wed Sep 03 21:42:49 2014 -0500"
      },
      "message": "Prevent MTP enable on startup if crash detected\n\nChange-Id: Ie1388a8acadf714a29721dd90c7f9a8aa38a860d\n"
    },
    {
      "commit": "5e083dcc202e53f21a9b2ca786d939abed090bde",
      "tree": "d1f098596f1b2146722d18f8abad6f405b32bbd9",
      "parents": [
        "6d154c4fe25d1ae0b5dafaae5eff7c0102f3362e"
      ],
      "author": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Wed Sep 03 14:46:41 2014 -0500"
      },
      "committer": {
        "name": "Ethan Yonker",
        "email": "dees_troy@teamw.in",
        "time": "Wed Sep 03 15:06:00 2014 -0500"
      },
      "message": "Improve MtpStorage handling when more than one storage is present\n\nChange-Id: I02f1984d02a85d9fd42450cc3772e88a43d9e9ff\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"
    }
  ]
}
