summaryrefslogtreecommitdiffstats
path: root/mtp/Android.mk (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Adopted Storage supportEthan Yonker2016-01-251-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
* do not include stlport headers unless link to itXing2015-12-231-2/+6
| | | | Change-Id: I8344d270ddb601694b5fef0fa7b22ea437030728
* Fix rules for libstlportEthan Yonker2015-11-091-1/+1
| | | | Change-Id: I571e906173c9e70de97e3cfefd10da5137dba4d4
* Merge up to AOSP marshmallow-releaseEthan Yonker2015-10-091-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to maintain compatibility with older trees, we now have minadbd.old and minui.old. I had to use a TARGET_GLOBAL_CFLAG to handle ifdef issues in minui/minui.d because healthd includes minui/minui.h and there was no other alternative to make minui.h compatible with older trees without having to modify healthd rules which is outside of TWRP. Note that the new minui does not currently have support for qcom overlay graphics. Support for this graphics mode will likely be added in a later patch set. If you are building in a 6.0 tree and have a device that needs qcom overlay graphics, be warned, as off mode charging may not work properly. A dead battery in this case could potentially brick your device if it is unable to charge as healthd handles charging duties. Update rules for building toolbox and add rules for making toybox Use permissive.sh in init.rc which will follow symlinks so we do not have to worry about what binary is supplying the setenforce functionality (toolbox, toybox, or busybox). Fix a few warnings in the main recovery binary source code. Fix a few includes that were missing that prevented compiling in 6.0 Change-Id: Ia67aa2107d260883da5e365475a19bea538e8b97
* Attempt to set the proper uid/gid/contexts on new files and dirsEthan Yonker2014-12-121-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
* Include no strict aliasing for MTPMotorhead19912014-09-131-1/+1
| | | | Change-Id: I570bb1c1387ec16fb062d7844af12b24c74e3755
* MTP: Build flag for setting custom MTP device/pathEthan Yonker2014-09-111-0/+5
| | | | Change-Id: Ic19ec61dc6cb08df00eb1326d96262b46bb93bfb
* add mtp responder to TWRP.bigbiff bigbiff2014-09-031-0/+65
Big thanks to Dees_Troy for helping with the implementation. Change-Id: I6c9c522b9c9de5dc139e2ecb0141008182ba07f0