Commit Graph

9577 Commits

Author SHA1 Message Date
caozhiyuan 7dc8a75b64 am b102404d: am cb9450e1: Use f_bavail to calculate free space
* commit 'b102404d1defbfd3e63ca8f8721327f4384e2d69':
  Use f_bavail to calculate free space
2015-06-26 21:15:45 +00:00
caozhiyuan b102404d1d am cb9450e1: Use f_bavail to calculate free space
* commit 'cb9450e11337700907a7a5ec290902196c74fa9b':
  Use f_bavail to calculate free space
2015-06-26 20:59:23 +00:00
caozhiyuan 9154748cc5 Use f_bavail to calculate free space
Failures are seen on devices with
Linux 3.10. And they are mainly due to this change:
https://lwn.net/Articles/546473/
The blocks reserved in this change is not the same thing as what we
think are reserved for common usage of root user. And this part is
included in free blocks but not in available blocks.

Bug: 22118089
Change-Id: I81c9531703298019a4fc11839f28d2cc8b9df34e
(cherry picked from commit 3b4977638f)
2015-06-26 13:54:17 -07:00
Tao Bao c3dddce205 More accurate checking for overlapped ranges.
A RangeSet has half-closed half-open bounds. For example, "3,5" contains
blocks 3 and 4. So "3,5" and "5,7" are actually not overlapped.

Bug: 22098085
Change-Id: I362d259f8b5d62478858ad0422b635bc5068698d
(cherry picked from commit c0f56ad766)
2015-06-26 13:48:46 -07:00
caozhiyuan cb9450e113 Use f_bavail to calculate free space
Failures are seen on devices with
Linux 3.10. And they are mainly due to this change:
https://lwn.net/Articles/546473/
The blocks reserved in this change is not the same thing as what we
think are reserved for common usage of root user. And this part is
included in free blocks but not in available blocks.

Bug: 22118089
Change-Id: I81c9531703298019a4fc11839f28d2cc8b9df34e
(cherry picked from commit 3b4977638f)
2015-06-26 11:17:02 -07:00
Tao Bao 744fb66659 am f90651e4: am 89d3634f: am b36d9c3f: Merge "More accurate checking for overlapped ranges."
* commit 'f90651e4c43ac9b803ca67582a3ffd5e8dc0f192':
  More accurate checking for overlapped ranges.
2015-06-26 00:50:39 +00:00
Tao Bao f90651e4c4 am 89d3634f: am b36d9c3f: Merge "More accurate checking for overlapped ranges."
* commit '89d3634ffe0855456fe4b33b6aa2abdffeeddfc6':
  More accurate checking for overlapped ranges.
2015-06-26 00:36:51 +00:00
Tao Bao 89d3634ffe am b36d9c3f: Merge "More accurate checking for overlapped ranges."
* commit 'b36d9c3f00e75dba464ff62eab94dd46d93ac94e':
  More accurate checking for overlapped ranges.
2015-06-26 00:25:15 +00:00
Tao Bao b36d9c3f00 Merge "More accurate checking for overlapped ranges." 2015-06-26 00:16:59 +00:00
Tao Bao c0f56ad766 More accurate checking for overlapped ranges.
A RangeSet has half-closed half-open bounds. For example, "3,5" contains
blocks 3 and 4. So "3,5" and "5,7" are actually not overlapped.

Bug: 22098085
Change-Id: I75e54a6506f2a20255d782ee710e889fad2eaf29
2015-06-25 17:07:45 -07:00
Tao Bao 377635257a am 8f7a2afe: am 1572820c: am ec18d495: Merge "recovery: Use xxhdpi resources for 560dpi devices"
* commit '8f7a2afede744f548ea13761ae6eb27327485a35':
  recovery: Use xxhdpi resources for 560dpi devices
2015-06-24 20:08:56 +00:00
Tao Bao 8f7a2afede am 1572820c: am ec18d495: Merge "recovery: Use xxhdpi resources for 560dpi devices"
* commit '1572820cd005c8b150c1c807b1b686d8f2da78ad':
  recovery: Use xxhdpi resources for 560dpi devices
2015-06-24 19:55:10 +00:00
Tao Bao 1572820cd0 am ec18d495: Merge "recovery: Use xxhdpi resources for 560dpi devices"
* commit 'ec18d495058a9a6dd6f3dd442aa0f5d0041504e4':
  recovery: Use xxhdpi resources for 560dpi devices
2015-06-24 19:42:39 +00:00
Tao Bao ec18d49505 Merge "recovery: Use xxhdpi resources for 560dpi devices" 2015-06-24 19:31:37 +00:00
Tao Bao 0b7dc1dfcd recovery: Use xxhdpi resources for 560dpi devices
Create a symbolic link to res-xxhdpi for res-560dpi. 560dpi devices
(like shamu) are currently using a fallback option of xhdpi (320dpi)
resources. Now they can get closer ones (480dpi), such as larger fonts
on UI screen.

Change-Id: I427c3091d7e9892d9a7a1886be6adca14c122b06
2015-06-24 18:59:23 +00:00
Elliott Hughes e1d9fc46f3 am 2c7fa669: am 4b619469: am 719e4e5d: Merge "Just use fstat in sysMapFile."
* commit '2c7fa6695e3c04810a9cca0619cae5b928a717dd':
  Just use fstat in sysMapFile.
2015-06-24 01:13:44 +00:00
Elliott Hughes 2c7fa6695e am 4b619469: am 719e4e5d: Merge "Just use fstat in sysMapFile."
* commit '4b6194696e3fdb9e0bab5dc53d91c3bca9267123':
  Just use fstat in sysMapFile.
2015-06-24 00:59:58 +00:00
Elliott Hughes 4b6194696e am 719e4e5d: Merge "Just use fstat in sysMapFile."
* commit '719e4e5d9bb7b7f9ffbe48407feee8c985ce7623':
  Just use fstat in sysMapFile.
2015-06-24 00:46:47 +00:00
Elliott Hughes 719e4e5d9b Merge "Just use fstat in sysMapFile." 2015-06-24 00:34:45 +00:00
Elliott Hughes 3a9eb9a207 am 997534d0: am c35f3ce3: Allow sideloading without authentication.
* commit '997534d0efcdb9145fbc58f78cb3409db8d04804':
  Allow sideloading without authentication.
2015-06-23 22:21:36 +00:00
Elliott Hughes 997534d0ef am c35f3ce3: Allow sideloading without authentication.
* commit 'c35f3ce30e4bb0de33fe6fcf0b928d0e4b7269b0':
  Allow sideloading without authentication.
2015-06-23 21:05:54 +00:00
Elliott Hughes afc7a78349 Allow sideloading without authentication.
Bug: http://b/22025550
Change-Id: I20f09ae442536f924f19ede0abf6a2bcc0a5cedf
(cherry picked from commit 9813f5ba57)
2015-06-23 13:57:09 -07:00
Elliott Hughes f267dee1ca Just use fstat in sysMapFile.
Also turn on -Werror and remove a dead function.

Change-Id: I436f0a91c40e36db985190b3b98b0a4527cf0eeb
2015-06-23 12:31:02 -07:00
Elliott Hughes f73a73443c am 687bf071: am 6dd443fd: am ea13fe23: Merge "Allow sideloading without authentication."
* commit '687bf071ad5f19a1fe91569f47e474e6e9a239d7':
  Allow sideloading without authentication.
2015-06-23 19:12:14 +00:00
Elliott Hughes 687bf071ad am 6dd443fd: am ea13fe23: Merge "Allow sideloading without authentication."
* commit '6dd443fd51062efb4eae87b8f0e1f6cebf332b37':
  Allow sideloading without authentication.
2015-06-23 18:58:47 +00:00
Elliott Hughes 6dd443fd51 am ea13fe23: Merge "Allow sideloading without authentication."
* commit 'ea13fe233e8a95d9e5b69b131fbf840a60d1f04e':
  Allow sideloading without authentication.
2015-06-23 18:47:10 +00:00
Elliott Hughes c35f3ce30e Allow sideloading without authentication.
Bug: http://b/22025550
Change-Id: I20f09ae442536f924f19ede0abf6a2bcc0a5cedf
(cherry picked from commit 9813f5ba57)
2015-06-23 11:34:07 -07:00
Elliott Hughes ea13fe233e Merge "Allow sideloading without authentication." 2015-06-23 18:33:41 +00:00
Elliott Hughes 9813f5ba57 Allow sideloading without authentication.
Bug: http://b/22025550
Change-Id: I20f09ae442536f924f19ede0abf6a2bcc0a5cedf
2015-06-23 11:12:58 -07:00
Ethan Yonker f2786d37af 2.8.7.0
Change-Id: I712e2d51e412ab5c6167f7c7b29ebf987cd6963c
2015-06-20 16:00:24 -05:00
Matt Mower e9260740ac Cleanup device_id retrieval
* If TW_USE_MODEL_HARDWARE_ID_FOR_DEVICE_ID is defined:
  - provide the header that defines property functions/constants
  - actually look for hardware_id before attempting to append it
* Perform string length checks rigorously.
* Only perform newline removal if string is used before sanitization.
* Copy changes to htcdumlock, but rely on cmdline only.

ps3: fix merge conflict in data.cpp includes

Change-Id: I720d3bc8416758f5f83782e8bc298b32eda1a573
2015-06-20 15:57:56 -05:00
that f256b722f4 [WIP] gui: software drawn keyboard (code only)
Change-Id: I9f05c85f8d43ab012228a78b79220a27876a299d
2015-06-20 22:35:39 +02:00
ramsudharsan f846cac378 Fix mass storage in recovery
The proper order is mass_storage,adb.

Some systems cannot recognize the mass storage otherwise.

Change-Id: I2a79ac6dfd7247032f774125c75586e45fea7633
Signed-off-by: ramsudharsan <ramsudharsanm@gmail.com>
2015-06-18 00:09:15 +02:00
Xuefer bfce504167 fix settingsstorage mark
Change-Id: I60755ca66f048d1484c3d55dc60099679ba987f6
2015-06-17 17:06:41 -05:00
Ethan Yonker 6511c4d178 Allow ORS set command to work with spaces in the value
Change-Id: I1a61ba7ad5479f8aa31a0c9c18bf228cf32104e9
2015-06-17 16:58:16 -05:00
Dees Troy 28a85d232f Make sure that adbd restarts after sideload
Change-Id: I7d82b95cd8749c6f8569739162708705faa6f1f7
2015-06-17 23:40:25 +02:00
jenkins 796991360d framebuffer: s6 edge takes a little lomger to initialize fb0
Change-Id: I48a5b25a227afb8637fcce7e4a1e2fc6bcc56b03
2015-06-17 23:39:37 +02:00
Xuefer a163f15eec add magic property.* value for accessing system property variables
Change-Id: Ic916da6e7ecbf79396febfe1e5f0b0ae8570083f
2015-06-17 16:38:08 -05:00
xiaolu 26ffa869d0 minuitwrp: fix crash when taking a screenshot.
when "gr_mem_surface.format = GGL_PIXEL_FORMAT_RGBA_8888", "gl->recti" will be crash.
this is a simple fix.

Change-Id: I39da7298286f34cdf7eae98f6b082c36695b222e
2015-06-17 23:26:24 +02:00
xiaolu 9416f4f9d6 partition: recreate tw_internal_path(/data/media/0), after wipe media from data or format /data.
Change-Id: I3671d7a5759260a4e74952168483a6816eb28f5d
2015-06-17 23:17:06 +02:00
Ethan Yonker e1abe616f2 Fix ORS scripts displaying an error after completing
Change-Id: I1329705fca870b4e3017607ad7c7875aa00d664b
2015-06-17 23:12:34 +02:00
The Android Automerger d6d34c7ac6 merge in mnc-release history after reset to mnc-dev 2015-06-11 01:00:40 -07:00
Elliott Hughes 874e0c03da am deb4ebb2: am d2a59288: am 22ccc87a: Merge "Unmount sdcard if no package file is selected."
* commit 'deb4ebb2876b0352ddf042f680339696b89ec125':
  Unmount sdcard if no package file is selected.
2015-06-11 05:54:55 +00:00
Elliott Hughes deb4ebb287 am d2a59288: am 22ccc87a: Merge "Unmount sdcard if no package file is selected."
* commit 'd2a592888b1c8103b7d5c4807230102b78aa3d23':
  Unmount sdcard if no package file is selected.
2015-06-11 02:31:41 +00:00
Sami Tolvanen debe2dbe4c am 7ccec497: am d7c9bf41: Merge "Zero blocks before BLKDISCARD" into mnc-dev
* commit '7ccec497f293e1e2629ecb9c906de69305976ff7':
  Zero blocks before BLKDISCARD
2015-06-11 01:33:30 +00:00
Elliott Hughes 39edb1b502 am 1e8bc40b: am 0005f89c: Split WipeData into PreWipeData and PostWipeData.
* commit '1e8bc40b02e372403ba58e4681952347bea3fb34':
  Split WipeData into PreWipeData and PostWipeData.
2015-06-11 01:33:29 +00:00
Elliott Hughes d2a592888b am 22ccc87a: Merge "Unmount sdcard if no package file is selected."
* commit '22ccc87a7dffd089662a111aa96127b3476d65fc':
  Unmount sdcard if no package file is selected.
2015-06-11 00:07:52 +00:00
Elliott Hughes 22ccc87a7d Merge "Unmount sdcard if no package file is selected." 2015-06-10 23:52:12 +00:00
Sami Tolvanen 7ccec497f2 am d7c9bf41: Merge "Zero blocks before BLKDISCARD" into mnc-dev
* commit 'd7c9bf41daa865ca016dee12a68282ba457c31fb':
  Zero blocks before BLKDISCARD
2015-06-10 23:17:32 +00:00
Elliott Hughes 1e8bc40b02 am 0005f89c: Split WipeData into PreWipeData and PostWipeData.
* commit '0005f89c31dfc2ca9053512900571620a0eba842':
  Split WipeData into PreWipeData and PostWipeData.
2015-06-10 23:16:36 +00:00