- 29 Jan, 2016 1 commit
-
-
Greg Wallace authored
Secure block discard/trim was fixed by: https://github.com/CyanogenMod/android_external_f2fs-tools/commit/6b39b93d83ab4ccb1913ecbc7a5a3e16766a011f Once fixed, formatting using discard/trim takes a LONG time. Other TWRP formatting methods are already insecure. It doesn't make sense for this one type of partition to have secure wipe when none of the others do. Change-Id: Ib5ad5a722895b0e0c7aa4e3af98b705e2574b762
-
- 28 Jan, 2016 2 commits
- 27 Jan, 2016 2 commits
-
-
Ethan Yonker authored
Chances are there are not many themes in widespread use that are using jpeg images, but this will be easy to revert back or even just temporarily modify if we need jpeg support in a pinch. Change-Id: If17b05ce3ebccce724fd74b26ed8ea91b287c3cf
-
Ethan Yonker authored
Note: events.cpp is still old code renamed to cpp to make it easier to call functions like gr_fb_width(). I had to modify AOSP fbdev code to provide a separate memory surface for drawing to as drawing directly to the framebuffer resulted in rendering taking about 5 times longer. I also modified AOSP adf code to provide a separate memory surface for drawing for the same performance reasons. The Nexus 9 supports adf graphics. Overlay graphics work on at least one device. Overlay provides a separate memory buffer already so performance is good. I do not have a drm device yet that I know of. I made some attempt to update the drm code to determine the correct pixel format based on the drm graphics format, but what is available in pixel flinger and what is available in drm do not line up all that well. Reports are that the Pixel C is using drm graphics, but performance is slow, likely due to the use of a mmap instead of a memory buffyer. Change-Id: Ibd45bccca6ac2cb826037aa9b2aa5065cf683eed
-
- 25 Jan, 2016 4 commits
-
-
Ethan Yonker authored
-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
-
z31s1g authored
use icons instead of text on settings tabs portrait themes only, landscape has no problems if a translated label needs more space Change-Id: I611ee9e34d5641c00d8894e219502a6198648339 Signed-off-by:
z31s1g <z31s1g@googlemail.com>
-
Ethan Yonker authored
Change-Id: Ic30b56840f32215c2f171e043c99e679d33957fd
-
that authored
For devices with an unusual aspect ratio, stretching a bitmap to the screen resolution is sub-optimal. So let's reuse our XML engine that allows assembling the splash screen from individual parts. The splash page is loaded from a separate XML file for quick loading. Change-Id: I2d3dad26e42fcefaf563dacdf0ffa61f209dada1
-
- 23 Jan, 2016 2 commits
-
-
Ethan Yonker authored
We should offer language selection on any start page such as decrypt or system read only. However, if the mStartPage variable was not being updated properly so selecting a different language was dumping the user back on either the decrypt prompt or the system read only page. This patch set fixes the problem and places the user back on the proper page when they choose a new language. Change-Id: I5153d3b9525d8c93d3863f4b17ecf55b5209e3c7
-
z31s1g authored
Language selection for decrypt, decrypt_pattern and system_readonly pages. Done: portrait landscape watch Change-Id: I5fd595cadcdebdd06e9dbb164d0736c84426ff1b Signed-off-by:
z31s1g <z31s1g@googlemail.com>
-
- 22 Jan, 2016 8 commits
-
-
Ethan Yonker authored
Change-Id: I29f3823d03c005fb55a0e0a98818d40bd1eb039d
-
z31s1g authored
-swipe to reboot added -added comment regarding "type yes to confirm format data" -Remove the word "Settings" from the from some header subheadings (some had it, some don't) Change-Id: Id3810c4f3aa5c02e94d854118805da7e51d309f3 Signed-off-by:
z31s1g <z31s1g@googlemail.com>
-
Xuefer authored
Change-Id: Id4a6c04712238b86787696337874239591082d39 Signed-off-by:
Xuefer <xuefer@gmail.com>
-
Ethan Yonker authored
libstlport does not support ifstream with std::string libstlport does not implement stoi Change-Id: I2ae3b6ee1b2a28fe4305471133f40543bd0c9746
-
Ethan Yonker authored
Change-Id: I643873b495318d4886b9f8cfaf1b75555d3166c3
-
dianlujitao authored
Change-Id: I75500bfe4e7adf66c5538597d79ed0539e7bb551 Signed-off-by:
dianlujitao <dianlujitao@gmail.com>
-
Tatsuyuki Ishi authored
If we can detect the directory, why don't we detect maximum as well? Additional patch by: Matt Mower Replace clunky /nobrightness handling Cleanup TWFunc::Set_Brightness() and blanktimer::getBrightness() a bit, primarily for the purpose of relying on the value in tw_has_brightnesss_file instead of checking for a phony brightness path. Change-Id: Ib22595df53cefa8db7a1172a581984c42ad461c6
-
nkk71 authored
normal zip limit is 4GB, but due to signed variables it will only access 2GB (32bit signed integer is from -2GB to +2GB). these changes allow for a theoretical limit of 4GB zips to be flashed. RAM restrictions still apply, and on a 32bit system it's likely to max out at approx 2.8GB flashable zip, above that mmap will probably fail. Note: the flashable zip also needs a compatible update-binary which include these changes. (this also applies to both aroma installer if it's being used). Change-Id: Ib3af2945c9bd4890a2e6dc45acfc2b80ec55473b
-
- 21 Jan, 2016 2 commits
-
-
Matt Mower authored
* Find and rename/remove duplicate string variable names * Add missing string variables to en language file * Fix display of some strings missing @ in front of variable name * Fix several %s --> {1} * Be consistent in usage of cancelled vs. canceled (both spellings acceptable) Tip for finding strings missing from language files: 1) Find all messages: egrep -hr "gui_msg.+=" > /tmp/msgs.txt 2) Regex replace to trim them down WHAT: ^\s+gui_msg(?:[^"]+)"([a-zA-Z0-9_]+)=([^"]+).+ WITH: $1 Note that $2 can be used to retain the message 3) Find missing strings: for i in $(cat /tmp/msgs.txt); do if ! grep -q $i gui/theme/common/languages/en.xml; then echo $i; fi done Change-Id: Ic193162e4b5468bf027472928a370be39840ea1d
-
Ethan Yonker authored
Main goal of this patch is to improve error handling when a custom theme does not contain a valid theme version. We were getting a message saying that the theme_ver_err resource did not exist as well as an error saying that the package had failed to load. Now we properly get a single error message about the theme version. Change-Id: I361ef2d139220bbeaf2e856be919dc3a50ae4299
-
- 20 Jan, 2016 1 commit
-
-
Ethan Yonker authored
Change-Id: Ia5fadd8254340b21a54565e2c7d2b54aa70f19f3
-
- 19 Jan, 2016 3 commits
-
-
that authored
Change-Id: I1b6e8d9b760dfd93312d32c9f66ec57d1fb9d9b6
-
Andrey Alekseenko authored
After upgrading libexfat to a new version, 64-bit I/O was lost, here is the fix. Change-Id: I27382cbf474ce32297dfa0f7bd8036371ccfaef2
-
Ethan Yonker authored
Change-Id: I4608c45b3f71b53e0988ca0248d3438110a40149
-
- 18 Jan, 2016 7 commits
-
-
that authored
Only the last action got its keys and ate all of them (om nom nom). This fixes the power button action that activates the lock screen. Change-Id: Ia724568b159090c2c14a282cf3927915b2dc70e7
-
z31s1g authored
Change-Id: Icb3dd2342cc3bdc349aaf933d306b9f5315d1e98 Signed-off-by:
z31s1g <z31s1g@googlemail.com>
-
Ethan Yonker authored
Change-Id: I269618510d2e6e360c1e9f72ed371729a1f2a76b
-
Ethan Yonker authored
Change-Id: I446f4499a43e6348a2b95846f3e5ea86967abbdc
-
that authored
Change-Id: I11887ebc1a3afd8f9acb1e85a212e2fe6299441c
-
Ethan Yonker authored
Change-Id: Ideb4bb39b5e864a43b62e807c38b6395c56a8466
-
Ethan Yonker authored
Flashing an image does not always require storage to be mounted. Change-Id: I9d2a69cee9053f7829e51486d727e2e0b522c5da
-
- 16 Jan, 2016 1 commit
-
-
Ethan Yonker authored
Add a themeversion value to the ui.xml details section. Check this value against a define during early theme loading. If we are loading a custom theme, then reject the custom theme if the version does not match (or not defined) and load the stock theme. If it is the stock theme, show a warning but continue loading. Also fix an issue with changing overlays. Not sure how it ever worked before, but it works now. TLDR: Use the stock theme if the custom theme version does not match. Change-Id: I0277cbe035cbec7e16b6327500762dadf9c1c5c8
-
- 14 Jan, 2016 2 commits
-
-
Ethan Yonker authored
Change-Id: I5827b3545f3f0118bd0d9407f812bd62fd26d97c
-
Ethan Yonker authored
-Improve code for partitioning sdcards -Allow user to select a device for partitioning (must be removable) -Use sgdisk to partition sdcards -Set default sizes for ext and swap to 0 -Change increments for ext to 256MB and swap to 64MB Note: sgdisk is included in 6.0. I have included a static prebuilt sgdisk for trees that do not have sgdisk, however the prebuilt sgdisk is a decent bit larger than the old parted binary. The old parted binary is quite old at this point and we only have it for armv7a. sgdisk should be maintained by AOSP and can be built from source so it should work across architectures. Change-Id: Ib80882d9b5776e5e9358b11340fba392e6f1ae09
-
- 13 Jan, 2016 1 commit
-
-
z31s1g authored
Done: Portrait HDPI, MDPI Landscape HDPI, MDPI Watch Also still includes ugly changes for the old portrait theme to test the terminal emulator. Change-Id: If32af1c69b85417522a8a2fb9c20be515b4d70fc
-
- 11 Jan, 2016 1 commit
-
-
that authored
Change-Id: Ia46d8acb8b13075a2519df1deb91dd30a5969a48
-
- 07 Jan, 2016 2 commits
-
-
that authored
Emulates enough of a VT-100 to run busybox vi. Change-Id: I99c829c6c9de2246194ecb8b8b3cdf4ac34a0606
-
that authored
- rename NotifyKeyboard to NotifyCharInput - input: handle arrow keys in NotifyKey with standard KEY_* codes - fix page handler to return 0 from NotifyKey if key was handled - fix GUIAction::NotifyKey to not swallow all keys - change home button code from KEY_HOME to KEY_HOMEPAGE (to avoid collision with Home/End, conforms to Android 3.0+) Change-Id: Ib138afa492df8d0c1975415e8b5334c8778ccc90
-
- 05 Jan, 2016 1 commit
-
-
Ethan Yonker authored
Change-Id: I3fc40c61d78cf017c6753ddd9520aa2ef2e853fc
-