Commit Graph

9577 Commits

Author SHA1 Message Date
The Android Automerger b453560037 merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-18 06:09:04 -07:00
Dan Albert 92fb368036 am 5b7f5b15: am 4f66469b: Merge "More test makefile cleanup."
* commit '5b7f5b15af016299e10d18979ec65720ab447786':
  More test makefile cleanup.
2014-10-17 07:53:34 +00:00
Dan Albert 5b7f5b15af am 4f66469b: Merge "More test makefile cleanup."
* commit '4f66469b29a34811b69518a266be31fe42cc111b':
  More test makefile cleanup.
2014-10-17 07:48:06 +00:00
Dan Albert c7249660f9 am 4f66469b: Merge "More test makefile cleanup."
* commit '4f66469b29a34811b69518a266be31fe42cc111b':
  More test makefile cleanup.
2014-10-17 07:47:57 +00:00
Dan Albert 4f66469b29 Merge "More test makefile cleanup." 2014-10-17 01:28:35 +00:00
Dan Albert 13f21c2bc7 More test makefile cleanup.
Global variables kill.
No need to manually link gtest, and that causes problems with
libc++.

Change-Id: If804cdd436cf1addfa9a777708efbc37c27770b6
2014-10-17 01:05:08 +00:00
The Android Automerger a238104904 merge in lmp-release history after reset to a6e13ae01b 2014-10-16 06:09:42 -07:00
The Android Automerger d9993ef3f7 merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-16 06:09:17 -07:00
The Android Automerger 3648601635 merge in lmp-release history after reset to a6e13ae01b 2014-10-15 06:09:28 -07:00
The Android Automerger f6674a8b1a merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-15 06:09:03 -07:00
Ethan Yonker 25f20c1928 Fix wiping crash when block device is not present
Especially with /sd-ext, trying to wipe when the device is not
present causes a seg fault in the make_ext4fs function. Check to
make sure that the block device is present before trying to wipe.

Change-Id: I91973b5b832c9edbce81d61a271e84363c19e6c5
2014-10-14 09:04:54 -05:00
that 5823d48f9e mtp: fix log spam: findNode not finding a node is not an error
The requested file might be on another storage.

Change-Id: Ia71525058b616a28a8ea2b4ab48ebac1c790757e
2014-10-14 15:19:29 +02:00
Captain Throwback 5f4fd8c03e Update reference to 24-hour clock
Change-Id: Ic864fae4fda9707fc84d6d8b33587863b7664e1e
2014-10-14 08:17:04 -05:00
The Android Automerger c6aafd42da merge in lmp-release history after reset to a6e13ae01b 2014-10-14 06:09:29 -07:00
The Android Automerger f780f45619 merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-14 06:09:00 -07:00
Jenkins 1710bf2547 display cpu temperature in twrp
use TW_NO_CPU_TEMP := true to disable display
use TW_CPU_CUSTOM_PATH := path to set custom path

Change-Id: Id260ecbb4ec36a78442387329944f67003d0f6a0
2014-10-14 15:08:11 +02:00
Vojtech Bocek 76ee903d84 Add support for TrueType fonts
* Keeps original font system in place
* Uses the same API as original font system:
   - You can render only one line at a time
   - You can only use one font and color for one gr_text* call
* Caches all rendered text, with a string cache limited to 400
  entries, then it trucates to 250, which results in memory
  usage hovering around 5-10MB

Change-Id: I36107b9dcd8d57bae4486fce8b8f64e49ef3d906
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2014-10-14 15:06:56 +02:00
The Android Automerger 078bd94187 merge in lmp-release history after reset to a6e13ae01b 2014-10-13 06:09:28 -07:00
The Android Automerger 1556403aa4 merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-13 06:09:13 -07:00
The Android Automerger 66b01fb51c merge in lmp-release history after reset to a6e13ae01b 2014-10-12 06:09:32 -07:00
The Android Automerger 8debce84fc merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-12 06:08:41 -07:00
The Android Automerger 4d57875221 merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-11 06:08:51 -07:00
Dees Troy b4bd697f27 Fix exfat-fuse handling
Change-Id: Iac1966a1c5bfcb627e1bee7100c4b5d069b0a5b7
2014-10-09 18:47:00 +00:00
The Android Automerger b7f9825603 merge in lmp-release history after reset to a6e13ae01b 2014-10-09 06:09:27 -07:00
The Android Automerger 50459cc133 merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-09 06:08:54 -07:00
Tom Hite 5a9267283c performance profile support
Many device trees support the recovery.perf.mode property to
set various core frequencies and online/offline mode. TWRP is
highly threaded, and support for multiple cores on many operations
dramatically recudes the time, e.g., backups, zip flashes, etc.

p2: removed user notifications

Change-Id: I957b8ca40b241c0af0471327eeb329cce1816017
2014-10-08 19:35:32 +02:00
that 9e0593eaf6 mtp: cleanup, fixes and performance improvements
- use std::map instead of linked list
- read directories on demand
- fix writing zip files to storage root
- fix creating directories
- lots of minor fixes
- simplify generation of storage IDs and make them spec compliant

Change-Id: I2137c27549ddbdc58466f2e3aeda464fac70a3c5
2014-10-08 18:34:39 +02:00
Matt Mower 66766fe408 Update RECOVERY_VARIANT blocking to use project-path-for
Using RECOVERY_VARIANT to allow recovery to reside at
bootable/recovery-(variant) has changed at CM. project-path-for now
handles all the path re-mapping. This is simply a compatibility update
to be able to continue using RECOVERY_VARIANT with TWRP in a CM tree.

Change-Id: I66769d85b2a111e837f206b1c9a5bc07d6ac0d86
2014-10-08 18:24:06 +02:00
Captain Throwback ff5935f7ef Attempt to fix md5 issue with backups
thanks @bigbiff for the suggestion

Change-Id: Ie9b55537b7fa300461b015d2b9523d4250e755a9
2014-10-08 18:22:08 +02:00
The Android Automerger dc5206cbb5 merge in lmp-release history after reset to a6e13ae01b 2014-10-08 06:10:37 -07:00
The Android Automerger fbf0d5634f merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-08 06:09:29 -07:00
Conn O'Griofa d9201048c4 applypatch: add support for BML partitions
This actually uses the EMMC partition access code. In order for this
to work, the BML partition name is changed back to the block
device name (e.g. "boot" -> "/dev/block/bml9"), and the
BML_UNLOCK_ALL ioctl is called before writing.

Change-Id: I012f1eca0b486b7465ca38b5db1f513ee8a246ea
2014-10-07 21:00:29 +02:00
Jenkins 7e22c27609 atime is access time, let's just use mtime
Change-Id: I828bc473a263868bd82b042c4009701d09a77a1f
2014-10-07 20:55:39 +02:00
Matt Mower e96c3c34c2 Remove extra slashes from zip path in openrecovery
TWFunc::Get_Path() returns a path with a trailing slash and the substr
method is returning a string with a leading slash, so we don't need to
specify additional slashes for wholePath in Locate_Zip_File().

Also, put 'value' readout to log on its own line if it exists.

Change-Id: I2a4db6dbde5552f5a803eabb0599fd983d683fca
2014-10-07 20:49:54 +02:00
Captain Throwback 6a1acf2ce4 Fixes for exfat-fuse
Change-Id: I46a1e7bf115c45616774b0571b17e38777ba87f8
2014-10-07 13:48:25 -05:00
Benoit Goby 689e06b6e6 recovery: Fix adb with linux 3.10
In kernel 3.10, f_adb has been removed and adbd can use functionfs
instead. Mount functionfs on boot for adbd. On older kernels, mount
will fail silently and adbd will revert to f_adb.

Change-Id: I5db57aaf35b35859ea88c7d0e0661d8c553e5811
2014-10-07 20:44:06 +02:00
Da Zhou d432deb371 ADB sideload command not work
In kernel(3.10) USB ADB gadget driver is removed.
Using Functionfs for USB adb gadget.

Android recovery uses a stripped down version
of adb command for sideload only. It's missing
the ffs function support, so add the ffs
support to allow sideload command to work

b/12608946

Change-Id: I4ad024723dfc5bdb544548391f99637c390b171e
Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
2014-10-07 20:43:53 +02:00
Dees Troy ae95d1a9f5 Check sehandle before fixing permissions
Change-Id: I73ba5519bf650f0c7f0a683f311099ff13747155
2014-10-07 20:35:18 +02:00
The Android Automerger f51aa2794a merge in lmp-release history after reset to a6e13ae01b 2014-10-07 06:09:30 -07:00
The Android Automerger 4cb5ede199 merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-07 06:08:56 -07:00
The Android Automerger 7d393c5a32 merge in lmp-release history after reset to a6e13ae01b 2014-10-06 06:10:15 -07:00
The Android Automerger a3c695c116 merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-06 06:08:58 -07:00
The Android Automerger 39d267741d merge in lmp-release history after reset to a6e13ae01b 2014-10-05 06:10:04 -07:00
The Android Automerger 8a5535a9db merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-05 06:08:49 -07:00
The Android Automerger db4616078e merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-04 06:09:08 -07:00
The Android Automerger 526dcd8a7d merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-02 06:09:29 -07:00
The Android Automerger a7aaeee986 merge in lmp-release history after reset to a6e13ae01b 2014-10-01 06:10:47 -07:00
The Android Automerger c13e614efd merge in lmp-mr1-release history after reset to d83e4f1589 2014-10-01 06:09:17 -07:00
The Android Automerger 427df77146 merge in lmp-release history after reset to a6e13ae01b 2014-09-30 06:11:46 -07:00
The Android Automerger ab8aa3eff3 merge in lmp-mr1-release history after reset to d83e4f1589 2014-09-30 06:09:56 -07:00