summaryrefslogtreecommitdiffstats
path: root/mtp/Android.mk (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-20MTP FFS updates:bigbiff bigbiff1-79/+0
This update splits old MTP code and new MTP code from Google into two trees, legacy and ffs. Depending on the SDK level, the build system will select the correct version. The reason for separating the versions out are due to older android trees not supporting the updated MTP code from Google. Most MTP code is from Google, with additions needed from implementing the Java functions in C++ for TWRP and FFS. We assume if you are in android-9.0 or above, your kernel has support for FFS over MTP. Verify that your init.rc is mounting the MTP FFS driver to the proper location. Change-Id: I4b107b239bd9bc5699527f9c8c77d9079f264a7e
2018-08-31Decrypt FBE on 9.0 (backwards compatible)Ethan Yonker1-1/+1
Building in 9.0 may require you to add a flag to your twrp fstab with the fileencryption details like: fileencryption=ice:aes-256-heh Verify this against your device's stock fstab of course. Change-Id: If9286f5d5787280814daca9fbc8f5191ff26a839
2017-08-25DO NOT MERGE Android 8.0 stuffEthan Yonker1-0/+3
Change-Id: I8c8a9734adbf36c33463123844fa6e078934ae34
2016-08-26Fix compatibility across the boardEthan Yonker1-6/+3
Change-Id: I6376920775ddabb4d4af505fffd86e404403a64a
2016-01-29Remove execute permissions from source filesthat1-0/+0
Change-Id: I5deef665ab374491c0f498b498971abd525d1111
2016-01-25Adopted Storage supportEthan Yonker1-1/+0
-Detects, decrypts, and mounts an adopted SD card if a secondary block device is defined (usually mmcblk1) -Handles unified storage -Displays the adopted storage in MTP along with internal -Factory Reset - wiped just like a data media device, we retain the keys folder and the storage.xml during a factory reset -Backup / Restore -Disable mass storage when adopted storage is present -Read storage nickname from storage.xml and apply it to display names in the GUI -Read storage.xml and determine what storage location is in use for /sdcard and remap accordingly libgpt_twrp is source code mostly kanged from an efimanager project. It is GPL v2 or higher, so we will opt for GPL v3. Change-Id: Ieda0030bec5155ba8d2b9167dc0016cebbf39d55
2015-12-23do not include stlport headers unless link to itXing1-2/+6
Change-Id: I8344d270ddb601694b5fef0fa7b22ea437030728
2015-11-09Fix rules for libstlportEthan Yonker1-1/+1
Change-Id: I571e906173c9e70de97e3cfefd10da5137dba4d4
2014-12-12Attempt to set the proper uid/gid/contexts on new files and dirsEthan Yonker1-2/+2
Files and folders that we create during backups, copy log, or MTP operations often do not have the proper uid/gid/contexts assigned. We will attempt to read the proper contexts from the settings storage path and assign those same contexts to any files or dirs that we create. Change-Id: I769f9479854122b49b499de2175e6e2d026f8afd
2014-09-13Include no strict aliasing for MTPMotorhead19911-1/+1
Change-Id: I570bb1c1387ec16fb062d7844af12b24c74e3755
2014-09-11MTP: Build flag for setting custom MTP device/pathEthan Yonker1-0/+5
Change-Id: Ic19ec61dc6cb08df00eb1326d96262b46bb93bfb
2014-09-03add mtp responder to TWRP.bigbiff bigbiff1-0/+65
Big thanks to Dees_Troy for helping with the implementation. Change-Id: I6c9c522b9c9de5dc139e2ecb0141008182ba07f0