Permalink
Commits on Jul 19, 2016
  1. Version 3.0.M5-0

    mdmower committed Jul 19, 2016
    Change-Id: I010df5949333fbcb30619d682ad63fed821ac260
  2. Allow running of a custom script after factory reset

    Dees-Troy authored and mdmower committed Jun 30, 2016
    Change-Id: I33e6d72bf93103052551f33da51ba4af9a5f88c9
Commits on Jun 26, 2016
  1. Remove unused identifier from NotifyTouch

    mdmower committed Jun 24, 2016
    The 'state' parameter in GUIAction::NotifyTouch() is used in the
    function.
    
    Change-Id: I0744c7aa1542d771dbd2916638fbdd53e9681f86
  2. Move cursor after appending date to backup name

    mdmower committed Jun 24, 2016
    * Send the cursor to the end of the input text
    
    Change-Id: Id4f20717134cd38188cc1107f73dcd6bb995f377
  3. wait for cryptfs device node to come up

    Kjell Braden authored and mdmower committed Jun 19, 2016
    this is to prevent a race condition to occur when mounting an adopted
    storage volume just after it was decrypted. After setting up the
    decrypted volume using cryptfs_setup_ext_volume(), Decrypt_Adopted()
    immediately calls Mount(), which will call Check_FS_Type(), which will
    fail in blkid_new_probe_from_filename, as the device node was not
    created yet.
    
    Change-Id: Ic5a274c2066ab278c9b7f1c8b83b820e552ca344
  4. GUI: Add countdown & cancel to install auto-reboot

    mdmower committed Jun 1, 2016
    Provide a countdown from 5 sec for the automated reboot after install.
    Include a cancel button to interrupt the process.
    
    Change-Id: Ib5e1447918adfde45eba361c088800812b690890
Commits on Jun 3, 2016
  1. GUI: Use standard routine for auto-reboot

    mdmower committed May 25, 2016
    If 'reboot after install' is enabled, follow the standard reboot
    routine to process 'No OS' and 'Install SuperSU' checks.
    
    Since the system reboot routine is repeated several times, it has been
    separated into its own routine.
    
    Change-Id: I4c1882ecb8dc2d153ec2378b2e0973ab1a2a8278
  2. Minor whitespace cleanup

    mdmower committed Jun 1, 2016
    if(    --> if (
    for(   --> for (
    while( --> while (
    ){     --> ) {
    
    and indentations
    
    Change-Id: I9e5942c2630afee64a3e7f03f109fd0276a27ecb
  3. Add typecode to sgdisk for proper detection in Android

    CaptainThrowback authored and mdmower committed May 27, 2016
    - Fixes the "Unsupported SD Card" error when partitioning w/TWRP
    
    Change-Id: I5aec780aa4dfb7bd9025ae8cbceda13bfaaa0b03
Commits on May 24, 2016
  1. Version 3.0.M4-0

    mdmower committed May 24, 2016
    Change-Id: I3a0637ff3fef999fdff9ae696e59551da0b90063
  2. Lang: update Spanish

    magdeoz authored and mdmower committed Feb 18, 2016
    Change-Id: I56d8571993148f820328d603f38b91a997907571
  3. Lang: update Greek

    leskal authored and mdmower committed Apr 17, 2016
    Change-Id: I4f57a4fe96373bc2e2005f3117685d341086863a
  4. Fix decrypt of odd number length PIN on hardware crypto

    Dees-Troy authored and mdmower committed Apr 21, 2016
    I am not sure if we are really fixing anything other than we are
    allowing the decrypt process to continue. On hardware crypto the
    password never seems to match what is expected from the data in
    the footer, probably because the data is not stored in the footer
    and TZ does all the work. Still, if it works, it is hard to fault
    the patch.
    
    Change-Id: Ibbb286382e82523bec2064f51fa07194f84820c2
  5. Version 3.0.M3-0

    mdmower committed May 24, 2016
    Change-Id: I9330c510c18f20976cf6fdcb310fd10a51369fff
  6. partitions: Remove unnecessary newline insertion

    mdmower committed May 24, 2016
    fstab processing does not need these newline markers.
    
    Change-Id: I9a848507cba2301b183ee640b7ff5ff29b929fe0
  7. Restore ability to add /system_image fstab lines

    mdmower committed May 24, 2016
    TWRP allows for the system and vendor partitions to be repeated in
    fstab as long as they have distinct mount points:
      /system_image and /vendor_image
    Since we currently skip over duplicate block-devices in fstab, we
    weren't honoring this feature. Frankly, it's terribly implemented, but
    is technically a regression, so I'll restore the ability by instead
    skipping over partitions with duplicate mount-points. The feature
    needs to be rewritten to accept image backup via a twrp flag, without
    an additional line in fstab.
    
    Change-Id: I9c9dd50067f474207eae3a42f2af763de4cf1650
  8. crypto: remove redundant convert_key_to_hex_ascii call

    CaptainThrowback authored and mdmower committed May 17, 2016
    - Breaks decryption on some hw_crypto devices
    - Default value already defined in preceding ifdef
    - PS2: Move crypt_params definition prior to ifdef
      (matches corresponding code from CAF)
    
    Huge thanks to @beaups for figuring out the issue!
    
    Change-Id: I1fd4e3a4862f022b17a555773feb1d6deac9d34c
  9. gui: fix Enter key in terminal

    that1 authored and mdmower committed May 18, 2016
    Translating CR to LF was an old hack that breaks Enter in nano.
    
    Change-Id: If259e8b133f2f56f4126a1fb68856bf014a2daae
Commits on May 3, 2016
  1. Rewrite fsmgr fstab flag processing

    mdmower committed Apr 27, 2016
    * Match new processing method introduced in TW fstab flag processing
    
    Change-Id: I36891181b9ffcd2eeaec8a045f45af0306092dc2
  2. Wait to mount until after fstab processed

    mdmower committed Apr 26, 2016
    The necessity to process fstab twice stems from mounting partitions
    while still processing. Instead, wait to finish setup of /data, /cache
    and storage parameters until after fstab has been processed (once).
    
    Change-Id: Id77e1edbab5eb68a7cd4a1f34953d819a043d47a
Commits on Apr 27, 2016
  1. Remove char/string conversions in fstab processing

    mdmower committed Apr 26, 2016
    There a few char->string conversions between functions which handle
    different parts of fstab line processing, but there are no uses of
    string functions. Pass char arrays/pointers around instead.
    
    Change-Id: I976a9a54ee8dcfb6194cadcac6a34e467602003b
  2. Rewrite FS fstab flag processing

    mdmower committed Apr 21, 2016
    * If 'ro' fsflag detected, set Mount_Read_Only = true
    * Only output human readable Mount_Options to log
    * Match fsflags identically (not just first n chars) since there are
      no fs_flags which take arguments
    * Match new processing method introduced in TW fstab flag processing
    
    Change-Id: Iefdb76016be90a131b0d627d0cd3f18d2eb1a008
  3. Rewrite TWRP fstab flag processing

    mdmower committed Apr 13, 2016
    * Do not flip/flop between std::string and char* when no std::string
      specific functions are applied.
    * Remove the need to manually count flag string lengths
    * Move checks for Display_Name, Storage_Name, and Backup_Display_Name
      out of flag processing
    
    Change-Id: I24d432c222124012b2a98d27598e42d0944f7da2
Commits on Apr 26, 2016
  1. Finish creating disable_free_space_check variable

    mdmower committed Apr 26, 2016
    * Create data manager variable for 'tw_disable_free_space'
    * Make configurable through Settings
    * Fix the "two presses needed to enable" issue for the checkbox on the
      backup screen
    * No need to capitalize every word, but do specify precedes backup
    
    Change-Id: Id436cef13e4ca9349618420aac03862ec4e3c35e
  2. Fixup reboot after install variables

    mdmower committed Apr 26, 2016
    * Create correctly named data manager variable 'tw_install_reboot'
    * Make configurable through Settings
    * Remove closing tag space in theme files (not personal preference,
      but should match surrounding code style)
    * Fix the "two presses needed to enable" issue for the checkbox on the
      install screen
    
    Change-Id: I0ceb60b4888a672e2f0ecb5672b03cc86615621a
Commits on Apr 18, 2016
  1. partitions: Set default display names to mount pt

    mdmower committed Apr 18, 2016
    The original behavior of TWRP before the fstab v2 change was to assign
    the mount point (without leading /) to the default display, backup,
    and storage names. Restore this behavior.
    
    Change-Id: I50743d42c2dae37d3faaa5396a6abe7e80f789a3
Commits on Apr 14, 2016
  1. Partition: Fix parsing of several twrp fstab flags

    supergordon authored and mdmower committed Apr 10, 2016
    fix parsing when using storagename=, backupname= and userdataencryptbackup= in twrp.fstab
    also split encryptable= and forceencrypt= into seperate blocks
    and make storage=Y working
    
    Change-Id: I674f7ffe7f9e4ff121c4dccf79096360e044535c
Commits on Apr 8, 2016
  1. Version 3.0.M2-0

    mdmower committed Apr 8, 2016
    Change-Id: I910e4a7f7cc3fe547b484e5c0339ae350988f72a
Commits on Apr 6, 2016
  1. Lang: add Spanish

    magdeoz authored and mdmower committed Feb 18, 2016
    Change-Id: I20b2142a33871721762030c9dfe0f4d913b5ea6f
Commits on Apr 5, 2016
  1. Lang: add Greek

    leskal authored and mdmower committed Apr 3, 2016
    Change-Id: I25c5b81afe0aeec2503149fac6ef3d2db36d7bf3
  2. TWRP Install Reboot Option

    bigbiff authored and mdmower committed Mar 2, 2016
    This is a simple patch to allow users to reboot
    after installation of zip queue. Current timeout
    is 5 seconds before reboot.
    
    Language updates by:
      de: z31s1g <z31s1g@googlemail.com>
      hu: Wechy77 <wechy77@gmail.com>
      it: SlimShadys <gianmarcoscarano@gmail.com>
      nl: thecrazyskull <anaskarbila@aospa.co>
      pl: Daniel Sikorski <dadi.sikorski@gmail.com>
      ru: SevenMaxs <otsihdosihpor@gmail.com>
    
    Change-Id: I1a18cbf7025086e35031ab7241b330babebb8343
Commits on Apr 4, 2016
  1. gui: don't mix up display value with actual value

    sultanqasim authored and mdmower committed Apr 4, 2016
    In the case of password entry, the two differ. Password entry was broken
    by the earlier commit entitled "Improve input box text handling" because
    it started using the displayValue as the actual value, even in cases where
    they differ because of a mask value.
    
    Change-Id: Iaf5a67e1d928f34595962a1f1b80eebb64e8b493
  2. Really remove all old SP* flags and code

    Dees-Troy authored and mdmower committed Apr 2, 2016
    Change-Id: I5ece02a8721e1b7541fb5182366a55fd0f037a7a
  3. HACK: fix input focus on terminal

    Dees-Troy authored and mdmower committed Mar 31, 2016
    This makes the terminal grab focus no matter what on SetPageFocus
    which isn't ideal but it's unlikely that any other visible input
    elements will be on the page with a terminal anyway.
    
    Credit _that for pointing me in the right direction for this fix.
    
    Change-Id: I2b0e6fc1169521f58e863c58f7ef3578413dfb21
  4. progress: Initialize display percentage variable

    mdmower committed Mar 31, 2016
    progress_percent can be set to an uninitilized display_percent if
    total_backup_size == 0.
    
    Change-Id: I704bf9a1250e95df65ef8790036f94c0a77da8d8