forked from Flemmard/android_device_htc_pyramid
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to nexus style mode completely v3
This is a 3rd iteration of the patch in which we go completely Nexus. We eliminate external sdcard completely and use it as /data that can be fully encrypted. In addition we perform series of storage layout changes, cleanups and optimizations. Now to the details: * Use original "userdata" parititon as /system (60% more space for GApps and ODEX data). * Use original system partiton as /cache (one can relocate dalvik-cache here to allow apps ODEX data to not be encrypted and to be fetched faster). This also allow much faster boot with encrypted data (dalvik-cache is available on boot for asking user's password). * Reduce size of primary zram swap to 96MB since profiling showed this to be sufficient (20% more RAM). * Use original "cache" partition as secondary swap (to provide backup swap for smaller zram swap). * We create pre-odexed build optimized for "small" devices which should allow the following: - Avoid usage of userdata for DEX data of system apps and data duplication - Avoid encryption of ODEX data of system apps - Allow much faster access from /system partition - Enable ART-small mode which pre-compiles ODEX data for system apps and relocaes to dalvik-cache only bare minimum of clasees * Add misc recovery related settings and coresponding changes to TWRP in order to support above. * Modify recovery related settings (this device tree can be used for building TWRP image) * Remove duplicated default init.rc code * General cleanups Change-Id: Ieb2b58569fcc20bb2d77def3f205fd009386d7bc
- Loading branch information
Showing
5 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters