OSDN Git Service

android-x86/device-generic-common.git
6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp
Logan Chien [Wed, 21 Jun 2017 17:52:46 +0000 (17:52 +0000)]
vndk-sp: Copy libhidlmemory.so to vndk-sp
am: 59dc7e2f3b

Change-Id: Ic03f91cabefe9b890a0bd716860b8c922682ccfa

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp
Logan Chien [Mon, 19 Jun 2017 10:44:22 +0000 (18:44 +0800)]
vndk-sp: Copy libhidlmemory.so to vndk-sp

This commit copies libhidlmemory.so and its dependencies to vndk-sp
directory because some vendors' GLES implementation relies on
libhidlmemory.so.  Check http://b/35107583#comment15 for the context.

Bug: 35107583
Test: libhidlmemory, android.hidl.memory@1.0, and
android.hidl.memory@1.0-impl are installed into /system/lib[64]/vndk-sp
Test: sailfish boots

Merged-In: I20b6bce4e55b031645f3a0f4fd2c72fdcc573248
Merged-In: I95035a2a73c8ca504f9ae77842b2d5c3018dfa3c
Change-Id: I03d8562342d84f33616e5e90ce88e65ba3a6d689

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp
Logan Chien [Mon, 19 Jun 2017 10:44:22 +0000 (18:44 +0800)]
vndk-sp: Copy libhidlmemory.so to vndk-sp

This commit copies libhidlmemory.so and its dependencies to vndk-sp
directory because some vendors' GLES implementation relies on
libhidlmemory.so.  Check http://b/35107583#comment15 for the context.

Bug: 35107583
Test: libhidlmemory, android.hidl.memory@1.0, and
android.hidl.memory@1.0-impl are installed into /system/lib[64]/vndk-sp
Test: sailfish boots

Merged-In: I20b6bce4e55b031645f3a0f4fd2c72fdcc573248
Change-Id: I95035a2a73c8ca504f9ae77842b2d5c3018dfa3c

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp
Logan Chien [Mon, 19 Jun 2017 10:44:22 +0000 (18:44 +0800)]
vndk-sp: Copy libhidlmemory.so to vndk-sp

This commit copies libhidlmemory.so and its dependencies to vndk-sp
directory because some vendors' GLES implementation relies on
libhidlmemory.so.  Check http://b/35107583#comment15 for the context.

Bug: 35107583
Test: libhidlmemory, android.hidl.memory@1.0, and
android.hidl.memory@1.0-impl are installed into /system/lib[64]/vndk-sp
Test: sailfish boots

Change-Id: I20b6bce4e55b031645f3a0f4fd2c72fdcc573248

6 years agoEnable freeform window mode
Chih-Wei Huang [Tue, 20 Jun 2017 02:12:17 +0000 (10:12 +0800)]
Enable freeform window mode

6 years agorelease-request-b1bd0f0e-f3c4-414e-8f22-d9235831ae23-for-git_oc-mr1-release-4099045...
android-build-team Robot [Wed, 14 Jun 2017 07:28:17 +0000 (07:28 +0000)]
release-request-b1bd0f0e-f3c4-414e-8f22-d9235831ae23-for-git_oc-mr1-release-4099045 snap-temp-L41300000074003051

Change-Id: I1106c606d52dcc44e8b49e760b3837a0ceac062e

6 years agoNew target to add vndk-sp libs to system image am: c680679f56
Isaac Chen [Wed, 14 Jun 2017 06:26:54 +0000 (06:26 +0000)]
New target to add vndk-sp libs to system image am: c680679f56
am: ec90c21231

Change-Id: I323246878edca67b40daea56523b3f556cedea3b

6 years agoNew target to add vndk-sp libs to system image
Isaac Chen [Wed, 14 Jun 2017 06:23:57 +0000 (06:23 +0000)]
New target to add vndk-sp libs to system image
am: c680679f56

Change-Id: Ie7704ec14138e52e4c247c0153854f9aceb7d66f

6 years agoNew target to add vndk-sp libs to system image am: 96b586a189 -s ours
Isaac Chen [Wed, 14 Jun 2017 01:53:10 +0000 (01:53 +0000)]
New target to add vndk-sp libs to system image am: 96b586a189  -s ours
am: c0bb075705  -s ours

Change-Id: Ie5baed36f3b31ab2b1f56114cb69c4af07de09be

6 years agoNew target to add vndk-sp libs to system image
Isaac Chen [Wed, 14 Jun 2017 01:49:10 +0000 (01:49 +0000)]
New target to add vndk-sp libs to system image
am: 96b586a189  -s ours

Change-Id: Ifd2e3b90ae2add77426e0025def8e4d81eb11b48

6 years agoNew target to add vndk-sp libs to system image
Isaac Chen [Tue, 6 Jun 2017 13:01:11 +0000 (21:01 +0800)]
New target to add vndk-sp libs to system image

VNDK-SP libraries should be put under /system/lib*/vndk-sp.
Usage: Adding this new target (vndk-sp) to PRODUCT_PACKAGES.

This initial list of vndk-sp libraries is based on Marlin/Sailfish.

Bug: 38356823
Test: tested with generic AOSP system image on Sailfish
Merged-In: Icbe6431e20c7b5355034f8444b4543df15830d67
Change-Id: Icbe6431e20c7b5355034f8444b4543df15830d67

6 years agoMerge "Revert "Revert "Revert "New target to add vndk-sp libs to system image"""...
SzuWei Lin [Thu, 8 Jun 2017 10:48:37 +0000 (10:48 +0000)]
Merge "Revert "Revert "Revert "New target to add vndk-sp libs to system image""" am: fdc0c4fa42" into oc-dr1-dev-plus-aosp
am: b986937011

Change-Id: Ia626dd682c6b6fb4bb59f4eee026b02a555297cc

6 years agoRevert "Revert "Revert "New target to add vndk-sp libs to system image""" am: 27cee7742a
SzuWei Lin [Thu, 8 Jun 2017 10:48:25 +0000 (10:48 +0000)]
Revert "Revert "Revert "New target to add vndk-sp libs to system image""" am: 27cee7742a
am: a0378d92f1

Change-Id: Ia89e1b2f63a52d88a1985413ef1a02c362e8e2ab

6 years agoNew target to add vndk-sp libs to system image
Isaac Chen [Tue, 6 Jun 2017 13:01:11 +0000 (21:01 +0800)]
New target to add vndk-sp libs to system image

VNDK-SP libraries should be put under /system/lib*/vndk-sp.
Usage: Adding this new target (vndk-sp) to PRODUCT_PACKAGES.

This initial list of vndk-sp libraries is based on Marlin/Sailfish.

Bug: 38356823
Test: tested with generic AOSP system image on Sailfish
Change-Id: Icbe6431e20c7b5355034f8444b4543df15830d67

6 years agoMerge "Revert "Revert "Revert "New target to add vndk-sp libs to system image"""...
Android Build Merger (Role) [Thu, 8 Jun 2017 10:45:34 +0000 (10:45 +0000)]
Merge "Revert "Revert "Revert "New target to add vndk-sp libs to system image""" am: fdc0c4fa42" into oc-dr1-dev-plus-aosp

6 years agoRevert "Revert "Revert "New target to add vndk-sp libs to system image"""
SzuWei Lin [Thu, 8 Jun 2017 10:45:25 +0000 (10:45 +0000)]
Revert "Revert "Revert "New target to add vndk-sp libs to system image"""
am: 27cee7742a

Change-Id: Ia819fbcb4c80013ab94250b15d83112762cca2c6

6 years agoRevert "Revert "Revert "New target to add vndk-sp libs to system image"""
SzuWei Lin [Thu, 8 Jun 2017 10:45:25 +0000 (10:45 +0000)]
Revert "Revert "Revert "New target to add vndk-sp libs to system image"""
am: fdc0c4fa42

Change-Id: I7f01f230b9fe8c30c77ce97dbc05182b598077b4

6 years agoMerge "Revert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19...
Bartosz Fabianowski [Thu, 8 Jun 2017 10:35:42 +0000 (10:35 +0000)]
Merge "Revert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c am: 6fdcc331f0" into oc-dr1-dev-plus-aosp
am: 4b75122cab

Change-Id: Ie46704794c66e16770edfdb518a4d8fe24090853

6 years agoRevert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c am...
Bartosz Fabianowski [Thu, 8 Jun 2017 10:33:57 +0000 (10:33 +0000)]
Revert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c am: b606d72489
am: 0d7d923c37

Change-Id: I02d88380fd5a89263548bf2fdd160fde07100449

6 years agoRevert "Revert "Revert "New target to add vndk-sp libs to system image"""
SzuWei Lin [Thu, 8 Jun 2017 10:30:26 +0000 (18:30 +0800)]
Revert "Revert "Revert "New target to add vndk-sp libs to system image"""

There will have another patch for this feature.

This reverts commit b606d72489a70fc856caf265d567885b6d0b1515, reversing
changes made to b9ea723e19017062add7c3fe46934f86b8aeb5db.

6 years agoRevert "Revert "Revert "New target to add vndk-sp libs to system image"""
SzuWei Lin [Thu, 8 Jun 2017 10:26:35 +0000 (18:26 +0800)]
Revert "Revert "Revert "New target to add vndk-sp libs to system image"""

There will have another patch for this feature.

This reverts commit 6fdcc331f0702931dc77bddb00f0bd21e6aba284, reversing
changes made to 67e5d1fdd888c266fcf575f15405efbae24e5979.

6 years agoMerge "Revert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19...
Android Build Merger (Role) [Thu, 8 Jun 2017 10:25:27 +0000 (10:25 +0000)]
Merge "Revert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c am: 6fdcc331f0" into oc-dr1-dev-plus-aosp

6 years agoRevert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c
Bartosz Fabianowski [Thu, 8 Jun 2017 10:24:57 +0000 (10:24 +0000)]
Revert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c
am: 6fdcc331f0

Change-Id: Ic718d7e384a0e0dc2756adb6d337792605d48ff5

6 years agoRevert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c
Bartosz Fabianowski [Thu, 8 Jun 2017 10:24:56 +0000 (10:24 +0000)]
Revert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c
am: b606d72489

Change-Id: I059b43eb342a015e094117f9197f327197ca9903

6 years agoRevert "Revert "New target to add vndk-sp libs to system image""
Bartosz Fabianowski [Thu, 8 Jun 2017 10:21:56 +0000 (10:21 +0000)]
Revert "Revert "New target to add vndk-sp libs to system image""
am: 00a7beb19c

Change-Id: I0b757d7f44757cb54729f4aa3bb90a259570ec80

6 years agoRevert "Revert "New target to add vndk-sp libs to system image""
Bartosz Fabianowski [Thu, 8 Jun 2017 10:21:55 +0000 (10:21 +0000)]
Revert "Revert "New target to add vndk-sp libs to system image""
am: 00a7beb19c

Change-Id: Ie1011bab2b15b03a35d93dd3b5dc58a2feca3041

6 years agoRevert "Revert "New target to add vndk-sp libs to system image""
Bartosz Fabianowski [Thu, 8 Jun 2017 10:12:37 +0000 (10:12 +0000)]
Revert "Revert "New target to add vndk-sp libs to system image""

We will selectively revert on a branch only.

This reverts commit f4e3d9d712bec48d70fee1637df11cfbb3bb0373.

Change-Id: Iac786c87e4619ff1af8a13c46f9bb857043663f2

6 years agorelease-request-011e6329-d82e-4e46-980f-68776b0cd6b9-for-git_oc-release-4080367 snap...
android-build-team Robot [Thu, 8 Jun 2017 10:03:57 +0000 (10:03 +0000)]
release-request-011e6329-d82e-4e46-980f-68776b0cd6b9-for-git_oc-release-4080367 snap-temp-L79900000072116775

Change-Id: Ia866dca1af449622f59b06d01a29516f28a5556e

6 years agoMerge "Revert "New target to add vndk-sp libs to system image" am: f4e3d9d712 am...
Bartosz Fabianowski [Thu, 8 Jun 2017 09:57:00 +0000 (09:57 +0000)]
Merge "Revert "New target to add vndk-sp libs to system image" am: f4e3d9d712 am: 67e5d1fdd8" into oc-dr1-dev-plus-aosp
am: 1866db219a

Change-Id: I0ec5a061285b9605f99cf81f39503263ed56473a

6 years agoRevert "New target to add vndk-sp libs to system image" am: f4e3d9d712 am: b9ea723e19
Bartosz Fabianowski [Thu, 8 Jun 2017 09:56:51 +0000 (09:56 +0000)]
Revert "New target to add vndk-sp libs to system image" am: f4e3d9d712 am: b9ea723e19
am: 5b2759ccda

Change-Id: I8ed1a8d1940a5f1776ee94f5f6fd4d5ebeeac728

6 years agoMerge "Revert "New target to add vndk-sp libs to system image" am: f4e3d9d712 am...
Android Build Merger (Role) [Thu, 8 Jun 2017 09:53:58 +0000 (09:53 +0000)]
Merge "Revert "New target to add vndk-sp libs to system image" am: f4e3d9d712 am: 67e5d1fdd8" into oc-dr1-dev-plus-aosp

6 years agoRevert "New target to add vndk-sp libs to system image" am: f4e3d9d712
Bartosz Fabianowski [Thu, 8 Jun 2017 09:53:51 +0000 (09:53 +0000)]
Revert "New target to add vndk-sp libs to system image" am: f4e3d9d712
am: b9ea723e19

Change-Id: I82085a47f6a73dbc80a9ccfa24dfb7cca197a64d

6 years agoRevert "New target to add vndk-sp libs to system image" am: f4e3d9d712
Bartosz Fabianowski [Thu, 8 Jun 2017 09:53:50 +0000 (09:53 +0000)]
Revert "New target to add vndk-sp libs to system image" am: f4e3d9d712
am: 67e5d1fdd8

Change-Id: Iec9d6e3f97344891d4416d625c247eb359c731d0

6 years agoRevert "New target to add vndk-sp libs to system image"
Bartosz Fabianowski [Thu, 8 Jun 2017 09:51:20 +0000 (09:51 +0000)]
Revert "New target to add vndk-sp libs to system image"
am: f4e3d9d712

Change-Id: I13c30752c8c71ea4821ee8c5af4265f5d27ff1e2

6 years agoRevert "New target to add vndk-sp libs to system image"
Bartosz Fabianowski [Thu, 8 Jun 2017 09:51:20 +0000 (09:51 +0000)]
Revert "New target to add vndk-sp libs to system image"
am: f4e3d9d712

Change-Id: Ie96536866036f48dffdc22f8561969ebc95c02dd

6 years agoRevert "New target to add vndk-sp libs to system image"
Bartosz Fabianowski [Thu, 8 Jun 2017 09:46:43 +0000 (09:46 +0000)]
Revert "New target to add vndk-sp libs to system image"

Revert by Build Cop. This change is causing build failures across builders and branches, e.g.:

ninja: error: 'out/target/product/generic_x86/obj/lib/android.hidl.base@1.0.so', needed by 'checkbuild', missing and no known rule to make it
09:08:08 ninja failed with: exit status 1

This reverts commit c93eb93a11048a7ad9409cfbcdebe9da9c38a6c0.

Change-Id: Iead4de6bf0ed32f668a7e3561c18e169a173ea8f

6 years agoNew target to add vndk-sp libs to system image am: c93eb93a11 am: 0cd2c121f2 -s...
Isaac Chen [Thu, 8 Jun 2017 08:15:20 +0000 (08:15 +0000)]
New target to add vndk-sp libs to system image am: c93eb93a11 am: 0cd2c121f2  -s ours
am: a8153883c2  -s ours

Change-Id: Iba411aa10ade09626c00e3f4336d27ad4d97f985

6 years agoNew target to add vndk-sp libs to system image am: c93eb93a11
Isaac Chen [Thu, 8 Jun 2017 08:12:49 +0000 (08:12 +0000)]
New target to add vndk-sp libs to system image am: c93eb93a11
am: 0cd2c121f2  -s ours

Change-Id: I57ddca1c27700d88087803fc04a37fab3c486074

6 years agoNew target to add vndk-sp libs to system image
Isaac Chen [Thu, 8 Jun 2017 08:10:19 +0000 (08:10 +0000)]
New target to add vndk-sp libs to system image
am: c93eb93a11

Change-Id: If56850505b2c9e0b56e686225148e49dc2a69d33

6 years agoNew target to add vndk-sp libs to system image am: c93eb93a11 am: 298099716d
Isaac Chen [Thu, 8 Jun 2017 08:07:19 +0000 (08:07 +0000)]
New target to add vndk-sp libs to system image am: c93eb93a11 am: 298099716d
am: f172734205

Change-Id: Id1886d427730cdae64beff55a91948e9b68a9434

6 years agoNew target to add vndk-sp libs to system image am: c93eb93a11
Isaac Chen [Thu, 8 Jun 2017 08:04:49 +0000 (08:04 +0000)]
New target to add vndk-sp libs to system image am: c93eb93a11
am: 298099716d

Change-Id: I005181b8d838bf8086d884f35efeac6249744b82

6 years agoNew target to add vndk-sp libs to system image
Isaac Chen [Thu, 8 Jun 2017 08:01:48 +0000 (08:01 +0000)]
New target to add vndk-sp libs to system image
am: c93eb93a11

Change-Id: I25aa1d3226e7e18119ad2be4d01880e87a641c6f

6 years agoNew target to add vndk-sp libs to system image
Isaac Chen [Tue, 6 Jun 2017 13:01:11 +0000 (21:01 +0800)]
New target to add vndk-sp libs to system image

VNDK-SP libraries should be put under /system/lib*/vndk-sp.
Usage: Adding this new target (vndk-sp) to PRODUCT_PACKAGES.

This initial list of vndk-sp libraries is based on Marlin/Sailfish.

Bug: 38356823
Test: tested with generic AOSP system image on Sailfish
Change-Id: Icbe6431e20c7b5355034f8444b4543df15830d67
Merged-In: Icbe6431e20c7b5355034f8444b4543df15830d67

6 years agoAndroid-x86 7.1-rc1 release (20170608)
Chih-Wei Huang [Thu, 8 Jun 2017 03:07:57 +0000 (11:07 +0800)]
Android-x86 7.1-rc1 release (20170608)

6 years agoinit.sh: disable sleep on T100
Chih-Wei Huang [Thu, 8 Jun 2017 03:05:49 +0000 (11:05 +0800)]
init.sh: disable sleep on T100

Currently T100 can't resume after suspend. Disable it until
we have a proper solution.

6 years agoKERNEL_CMDLINE: enlarge vmalloc for 32-bit system
Chih-Wei Huang [Wed, 7 Jun 2017 11:00:45 +0000 (19:00 +0800)]
KERNEL_CMDLINE: enlarge vmalloc for 32-bit system

Some devices need more vmalloc space to avoid binder failure.

6 years agoAdd support of RTL8723BS Bluetooth
Chih-Wei Huang [Tue, 6 Jun 2017 17:38:51 +0000 (01:38 +0800)]
Add support of RTL8723BS Bluetooth

Based on a patch provided by Li Xin <lixin@phoenixos.com>.

6 years agooverlay: disable Bluetooth by default
Chih-Wei Huang [Sat, 3 Jun 2017 06:58:43 +0000 (14:58 +0800)]
overlay: disable Bluetooth by default

Not all x86 devices have Bluetooth. Don't enable it by default.

6 years agoalsa: state files for kernel 4.9
Chih-Wei Huang [Thu, 1 Jun 2017 09:56:45 +0000 (17:56 +0800)]
alsa: state files for kernel 4.9

6 years agoRemove powerbtnd service
Chih-Wei Huang [Sat, 20 May 2017 08:39:09 +0000 (16:39 +0800)]
Remove powerbtnd service

We moved it to libsuspend of the system_server.

6 years agoEnable hardware accelerated decoding
Chih-Wei Huang [Wed, 3 May 2017 10:06:53 +0000 (18:06 +0800)]
Enable hardware accelerated decoding

6 years agoEnable Stagefright FFMPEG plugins
Chih-Wei Huang [Tue, 25 Apr 2017 10:13:42 +0000 (18:13 +0800)]
Enable Stagefright FFMPEG plugins

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
7 years agoMerge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86
Chih-Wei Huang [Thu, 27 Apr 2017 10:34:39 +0000 (18:34 +0800)]
Merge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86

7 years agoinit.sh: handle amdgpudrmfb by gralloc.drm
Chih-Wei Huang [Thu, 27 Apr 2017 10:35:52 +0000 (18:35 +0800)]
init.sh: handle amdgpudrmfb by gralloc.drm

7 years agoRevert "init.sh: load f2fs module manually" android-x86-6.0-r3
Chih-Wei Huang [Sat, 25 Mar 2017 14:50:40 +0000 (22:50 +0800)]
Revert "init.sh: load f2fs module manually"

This reverts commit 17ef541c44d4b432c3d6a8938e20dd51e4749635.

7 years agofstab.x86: auto mount CDROM devices
Chih-Wei Huang [Sat, 25 Mar 2017 14:29:52 +0000 (22:29 +0800)]
fstab.x86: auto mount CDROM devices

7 years agoinit.sh: handle new IntelHdmiLpeAudio driver
Chih-Wei Huang [Sat, 25 Mar 2017 11:27:26 +0000 (19:27 +0800)]
init.sh: handle new IntelHdmiLpeAudio driver

The driver has already queued for kernel 4.11.

7 years agoMerge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86
Chih-Wei Huang [Fri, 13 Jan 2017 20:21:04 +0000 (04:21 +0800)]
Merge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86

7 years agoinit.sh: load f2fs module manually android-x86-6.0-r2
Chih-Wei Huang [Fri, 13 Jan 2017 14:54:42 +0000 (22:54 +0800)]
init.sh: load f2fs module manually

The f2fs module was removed from the built-in drivers to avoid
some annoying logs in dmesg. Just load it before vold started.

7 years agoDisable forced orientation
Chih-Wei Huang [Fri, 6 Jan 2017 05:50:01 +0000 (13:50 +0800)]
Disable forced orientation

The input subsystem is buggy in the emulated display mode.

7 years agoDon't unload rtl8723be wifi driver
Chih-Wei Huang [Fri, 6 Jan 2017 05:45:32 +0000 (13:45 +0800)]
Don't unload rtl8723be wifi driver

The driver seems to be buggy after unloading and re-loading
on my ASUS X556UB notebook.

7 years agoRemove the obsolete debug.autosleep setting
Chih-Wei Huang [Fri, 6 Jan 2017 05:44:05 +0000 (13:44 +0800)]
Remove the obsolete debug.autosleep setting

7 years agoMerge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86
Chih-Wei Huang [Tue, 15 Nov 2016 06:59:23 +0000 (14:59 +0800)]
Merge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86

7 years agoUpdate tp_smapi to 0.42
Chih-Wei Huang [Tue, 15 Nov 2016 06:36:39 +0000 (14:36 +0800)]
Update tp_smapi to 0.42

Copied from https://github.com/evgeni/tp_smapi
commit cfe115e895012afc65d775c97141d3068d173ff7.

7 years agoFix the permission of video nodes
Chih-Wei Huang [Tue, 15 Nov 2016 06:33:38 +0000 (14:33 +0800)]
Fix the permission of video nodes

The owner of video nodes should be the newly introduced cameraserver.
This fixes the camera function of nougat-x86.

7 years agoinit.sh: use lsusb from our busybox
Chih-Wei Huang [Wed, 2 Nov 2016 07:18:31 +0000 (15:18 +0800)]
init.sh: use lsusb from our busybox

We've implemented -v option in busybox lsusb to list usb classes.
Avoid using lsusb of toybox which doesn't have the function.

7 years agoMerge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86
Chih-Wei Huang [Fri, 28 Oct 2016 10:55:03 +0000 (18:55 +0800)]
Merge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86

7 years agoAdd soc_button_array to the deferred loadng list
Chih-Wei Huang [Fri, 28 Oct 2016 10:52:01 +0000 (18:52 +0800)]
Add soc_button_array to the deferred loadng list

To fix Baytrail (e.g. ASUS T100TA) button issue.

7 years agoMerge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86
Chih-Wei Huang [Tue, 18 Oct 2016 16:40:33 +0000 (00:40 +0800)]
Merge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86

7 years agoForce orientation if no sensors
Chih-Wei Huang [Tue, 18 Oct 2016 16:37:31 +0000 (00:37 +0800)]
Force orientation if no sensors

If no known sensors are detected, force the device to remain in its
default orientation. Activities that desire to run in a non-compatible
orientation will be run from an emulated display within the physical
display.

7 years agoSupport BT HCI UART devices
Chih-Wei Huang [Wed, 12 Oct 2016 12:50:06 +0000 (20:50 +0800)]
Support BT HCI UART devices

Set appropriate properties to start btattach service.

Add BT related tools and remove obsolete code for BlueZ.

7 years agoEnable Fluoride Bluetooth stack
Chih-Wei Huang [Thu, 6 Oct 2016 13:47:53 +0000 (21:47 +0800)]
Enable Fluoride Bluetooth stack

7 years agoMerge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86
Chih-Wei Huang [Wed, 5 Oct 2016 16:25:17 +0000 (00:25 +0800)]
Merge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86

Conflicts:
BoardConfig.mk

7 years agoAdd AMD and Nvidia GPU modules to deferred list
Chih-Wei Huang [Tue, 27 Sep 2016 10:40:44 +0000 (18:40 +0800)]
Add AMD and Nvidia GPU modules to deferred list

These modules will be deferred loaded in the last coldboot stage.

7 years agoRemove androidboot.hardware from cmdline
Chih-Wei Huang [Tue, 27 Sep 2016 07:13:33 +0000 (15:13 +0800)]
Remove androidboot.hardware from cmdline

Now the target name is hardcoded into android init.

7 years agoadd ONDA tablet iio.accelerometer tranformation matrix
youling257 [Sat, 24 Sep 2016 17:27:58 +0000 (01:27 +0800)]
add ONDA tablet iio.accelerometer tranformation matrix

Signed-off-by: youling257 <youling257@gmail.com>
7 years agoadd ST70416-6 iio.accelerometer tranformation matrix
Mario Holzinger [Sun, 17 Jul 2016 10:09:54 +0000 (12:09 +0200)]
add ST70416-6 iio.accelerometer tranformation matrix

7 years agopackages.mk: add f2fs utilities android-x86-6.0-r1
Chih-Wei Huang [Mon, 12 Sep 2016 18:11:49 +0000 (02:11 +0800)]
packages.mk: add f2fs utilities

7 years agoRevert "init.sh: fix ASUS T100 buttons"
Chih-Wei Huang [Mon, 12 Sep 2016 18:11:06 +0000 (02:11 +0800)]
Revert "init.sh: fix ASUS T100 buttons"

This reverts commit 34a78d5cb6e9797eba6caec2604e2c3f349a2fc2.

7 years agoMerge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86
Chih-Wei Huang [Thu, 8 Sep 2016 06:27:59 +0000 (14:27 +0800)]
Merge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86

7 years agoinit.sh: fix ASUS T100 buttons
Chih-Wei Huang [Tue, 6 Sep 2016 18:47:19 +0000 (02:47 +0800)]
init.sh: fix ASUS T100 buttons

It's strange the module soc_button_array can't detect the input
devices on being loaded by ueventd.

The workaround is to unload and reload it.

7 years agoAdd a hook after boot complete
Chih-Wei Huang [Fri, 26 Aug 2016 14:20:58 +0000 (22:20 +0800)]
Add a hook after boot complete

Vendors could provide a post processing function.

7 years agoAdd a compiled-classes filter file
Chih-Wei Huang [Fri, 26 Aug 2016 14:16:48 +0000 (22:16 +0800)]
Add a compiled-classes filter file

Using a compiled-classes file filters non-mentioned classes from being
compiled into the boot.oat file(s) to reduce the size of the boot image.

7 years agoEnable SELinux permissive mode
Chih-Wei Huang [Thu, 25 Aug 2016 17:43:36 +0000 (01:43 +0800)]
Enable SELinux permissive mode

SELinux can't be disabled in Android 7.0. Before we completely
define our sepolicy, we can only run the permissive mode.

7 years agoFix building errors of nougat-x86
Chih-Wei Huang [Wed, 3 Aug 2016 08:48:58 +0000 (16:48 +0800)]
Fix building errors of nougat-x86

7 years agohoudini: support Intel's implementation
Chih-Wei Huang [Fri, 15 Jul 2016 03:06:24 +0000 (11:06 +0800)]
houdini: support Intel's implementation

NO_REF_TASK
Tested: pass all test cases of check_houdini.sh

Change-Id: I37ed20cec5354575671f3ea58c0b041774fa6dae

7 years agoAndroid-x86 6.0-rc2 release (20160815)
Chih-Wei Huang [Mon, 15 Aug 2016 01:44:19 +0000 (09:44 +0800)]
Android-x86 6.0-rc2 release (20160815)

Enable the features from Intel.

7 years agoinit.sh: support IntelHDMI audio HAL
Chih-Wei Huang [Mon, 8 Aug 2016 07:41:54 +0000 (15:41 +0800)]
init.sh: support IntelHDMI audio HAL

Only enable IntelHDMI audio HAL if it's the only sound card.
It doesn't work on devices other than ASUS ViVoStick (TS10).

7 years agoinit.x86.rc: move symlink of /lib to init.rc
Chih-Wei Huang [Fri, 29 Jul 2016 13:06:25 +0000 (21:06 +0800)]
init.x86.rc: move symlink of /lib to init.rc

It's too late to do here.

7 years agoRevert "init: Fix sensors never detected when not available at first boot"
Chih-Wei Huang [Fri, 29 Jul 2016 03:46:46 +0000 (11:46 +0800)]
Revert "init: Fix sensors never detected when not available at first boot"

It should be fixed in sensors.hsb directly.

This reverts commit cc1a67274cc608e1f7f5cbaa08f7bec90fafdeb3.

7 years agoinit: Fix sensors never detected when not available at first boot
Jaap Jan Meijer [Thu, 28 Jul 2016 16:05:20 +0000 (18:05 +0200)]
init: Fix sensors never detected when not available at first boot

It's possible that no sensors are available at first boot.
By default they will not be checked again, with this patch Android will check every boot.

7 years agoinit: Add dhcpcd services for bt-pan to enable BT tethering
Jaap Jan Meijer [Thu, 28 Jul 2016 15:53:59 +0000 (17:53 +0200)]
init: Add dhcpcd services for bt-pan to enable BT tethering

7 years agoinit: Only tell Android we have a ril when we have one
Jaap Jan Meijer [Thu, 28 Jul 2016 15:38:51 +0000 (17:38 +0200)]
init: Only tell Android we have a ril when we have one

7 years agoinit.sh: skip useless cmdline
Chih-Wei Huang [Thu, 21 Jul 2016 15:26:03 +0000 (23:26 +0800)]
init.sh: skip useless cmdline

7 years agonativebridge: support different installations
Chih-Wei Huang [Thu, 14 Jul 2016 06:41:36 +0000 (14:41 +0800)]
nativebridge: support different installations

7 years agoinit.sh: change uvesafb default mode to 1024x768
Chih-Wei Huang [Thu, 14 Jul 2016 05:33:34 +0000 (13:33 +0800)]
init.sh: change uvesafb default mode to 1024x768

Currently the software rendering works better with 1024x768.

Remove obsolete device specified modes because they are
supported by the native framebuffer driver.

Re-enable the Setup Wizard for the software rendering case.

7 years agoCreate an x86_64.mk as a base of all 64-bit targets
Chih-Wei Huang [Thu, 14 Jul 2016 02:33:05 +0000 (10:33 +0800)]
Create an x86_64.mk as a base of all 64-bit targets

7 years agoinit.sh: honor sensors.${ro_hardware}.so first
Chih-Wei Huang [Sat, 9 Jul 2016 15:23:31 +0000 (23:23 +0800)]
init.sh: honor sensors.${ro_hardware}.so first

A change suggested by Roman Petrovski.

7 years agopackages.mk: add fsck.exfat and mkfs.exfat
Chih-Wei Huang [Wed, 6 Jul 2016 19:08:13 +0000 (03:08 +0800)]
packages.mk: add fsck.exfat and mkfs.exfat

Now these are real executables instead of symbolic links.

7 years agoChange ro.rtc_local_time to persist.rtc_local_time
Ma Jian [Sun, 12 Jun 2016 10:03:32 +0000 (18:03 +0800)]
Change ro.rtc_local_time to persist.rtc_local_time

Make it easy for user to config whether use local time or utc for rtc.

NO_REF_TASK
Tested: local build and set persist.rtc_local_time with 0 and 1
when 0 is set, bios will use utc time
when 1 is set, bios will use local time

Change-Id: I38dbacf273fa8f1958b34aef479d8351d6a81a16