OSDN Git Service

android-x86/device-generic-common.git
5 years agoSet BOARD_USES_DRM_GRALLOC
Chih-Wei Huang [Tue, 11 Sep 2018 09:32:30 +0000 (17:32 +0800)]
Set BOARD_USES_DRM_GRALLOC

This is necessary for mesa 18.2.

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Thu, 6 Sep 2018 06:56:02 +0000 (14:56 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 years agodefault use CLOCK_BOOTTIME
youling257 [Thu, 6 Sep 2018 02:55:37 +0000 (10:55 +0800)]
default use CLOCK_BOOTTIME

Signed-off-by: youling257 <youling257@gmail.com>
5 years agoidc: add 3M_3M_MicroTouch_USB_controller.idc
Chih-Wei Huang [Fri, 10 Aug 2018 07:57:42 +0000 (15:57 +0800)]
idc: add 3M_3M_MicroTouch_USB_controller.idc

Tested-by: Daniel Kenzelmann <daniel.kenzelmann@gmail.com>
5 years agoinit.sh: support sensors of ASUS T200TA
Chih-Wei Huang [Fri, 10 Aug 2018 07:54:42 +0000 (15:54 +0800)]
init.sh: support sensors of ASUS T200TA

5 years agoinit.sh: fix Bluetooth for ASUS T100TAF
Chih-Wei Huang [Fri, 10 Aug 2018 02:40:46 +0000 (10:40 +0800)]
init.sh: fix Bluetooth for ASUS T100TAF

5 years agokernel.mk: support macOS
Dan Cape [Wed, 11 Jul 2018 03:13:10 +0000 (11:13 +0800)]
kernel.mk: support macOS

Get the number of processors using macOS tools and use the darwin path
for the CROSS_COMPILE variable.

5 years agokernel.mk: fix MacOS building issue
Chih-Wei Huang [Tue, 10 Jul 2018 03:30:40 +0000 (11:30 +0800)]
kernel.mk: fix MacOS building issue

As reported, nproc is a linux only command. Don't use it on MacOS.

5 years agokernel.mk: allow to build kernel with clang
Chih-Wei Huang [Thu, 28 Jun 2018 09:49:47 +0000 (17:49 +0800)]
kernel.mk: allow to build kernel with clang

To enable clang building, set BUILD_KERNEL_WITH_CLANG=true in the
BoardConfig.mk or buildspec.mk.

Currently only 64-bit kernel is buildable with clang.

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Thu, 21 Jun 2018 10:55:05 +0000 (18:55 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 years agotp_smapi: fix a building issue with clang
Chih-Wei Huang [Thu, 21 Jun 2018 10:52:20 +0000 (18:52 +0800)]
tp_smapi: fix a building issue with clang

The clang complains:

/android-x86/out/target/product/x86_64/obj/kmodule/tp_smapi/tp_smapi.c:202:14: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions
                         "m"((u16)smapi_port)
                             ~~~~~^~~~~~~~~~
1 error generated.

5 years agoAdd basic sepolicy
Chih-Wei Huang [Mon, 18 Jun 2018 03:57:40 +0000 (11:57 +0800)]
Add basic sepolicy

This is the first step to conquer the SELinux issues of Android-x86.
Just copy from build/target/board/generic/sepolicy/ and
build/target/board/generic_x86/sepolicy/ and remove unnecessary
emulator stuff.

5 years agoAvoid Bluetooth service crashing on VMware
Chih-Wei Huang [Sun, 17 Jun 2018 22:20:46 +0000 (06:20 +0800)]
Avoid Bluetooth service crashing on VMware

5 years agokernel.mk: build with -j option based on processor cores
Mauro Rossi [Fri, 8 Jun 2018 23:17:15 +0000 (00:17 +0100)]
kernel.mk: build with -j option based on processor cores

submake call builds kernel using only one job,
j option is used with number of processors cores retrieved by $(shell) call

v2: use $(nproc) and add -l to limit the number of jobs based on the load
    average (cwhuang)

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Fri, 15 Jun 2018 09:02:41 +0000 (17:02 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 years agonativebridge: update short URLs
Chih-Wei Huang [Wed, 13 Jun 2018 07:48:49 +0000 (15:48 +0800)]
nativebridge: update short URLs

Users from Mainland China can download now.

5 years agoFix issues to use 64-bit binder on 32-bit image
Chih-Wei Huang [Mon, 11 Jun 2018 10:12:39 +0000 (18:12 +0800)]
Fix issues to use 64-bit binder on 32-bit image

Fixes: 66fd14a3 (Always use 64-bit binder)

Reported-and-Tested-by: Mauro Rossi <issor.oruam@gmail.com>
5 years agonativebridge: add OEM lists required by ABIPicker
Chih-Wei Huang [Tue, 29 May 2018 09:35:02 +0000 (17:35 +0800)]
nativebridge: add OEM lists required by ABIPicker

5 years agonativebridge: disable 32k32u and 64k64u support temporarily
Chih-Wei Huang [Thu, 17 May 2018 10:05:46 +0000 (18:05 +0800)]
nativebridge: disable 32k32u and 64k64u support temporarily

5 years agoRevert "Disable FFMPEG plugins temporarily"
Chih-Wei Huang [Tue, 15 May 2018 09:16:34 +0000 (17:16 +0800)]
Revert "Disable FFMPEG plugins temporarily"

This reverts commit a243faea3d2c44b4d4a95cd158bd60c7dab7e13f.

5 years agoBuild system.img with ext4 format
Chih-Wei Huang [Fri, 11 May 2018 11:46:48 +0000 (19:46 +0800)]
Build system.img with ext4 format

We use mksquashfsimage.sh to build system.img since oreo-x86. However,
it causes trouble to read-write installation mode.

To conquer that, I have tried several methods like restorecon, overlayfs
or even generate ext4 system.img on-the-fly. However, none of them works
flawless.

Let's just build system.img as before.

This effectively reverts commit 9668827da362f3ab8dad9902ee77e255825bffa6.

5 years agoinit.sh: add sensors support for EZpad
Chih-Wei Huang [Mon, 11 Jun 2018 10:06:28 +0000 (18:06 +0800)]
init.sh: add sensors support for EZpad

5 years agoinit.sh: allow HAS_SENSORS to override all cases
Chih-Wei Huang [Mon, 4 Jun 2018 15:22:27 +0000 (23:22 +0800)]
init.sh: allow HAS_SENSORS to override all cases

HAS_SENSORS in cmdline was introduced in commit f356d114 to override
the default has_sensors variable. However, it only take effects if
the sensors type is not kbd. This is not my original idea.

The change allows HAS_SENSORS to override the default value no matter
what the sensors type is.

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Fri, 4 May 2018 05:11:02 +0000 (13:11 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 years agoAdd hid_hyperv to blacklist android-x86-7.1-r2
Chih-Wei Huang [Wed, 2 May 2018 06:10:19 +0000 (14:10 +0800)]
Add hid_hyperv to blacklist

The mouse integration doesn't work well in nougat-x86. Not sure why.

5 years agokernel.mk: fix bison unable to find m4 file issue
Chih-Wei Huang [Fri, 27 Apr 2018 06:01:50 +0000 (14:01 +0800)]
kernel.mk: fix bison unable to find m4 file issue

Android builds a version of bison which is unusable outside the tree.
Since the bison is invoked in the KBUILD_OUTPUT dir, the error is
generated:

bison: external/bison/data/m4sugar/m4sugar.m4: cannot open: No such file or directory

To workaround it, add a symlink to the external dir so that bison can
get the expected m4 file.

6 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Thu, 29 Mar 2018 08:01:24 +0000 (16:01 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

6 years agoinit.sh: disable Bluetooth if no hci interface
Chih-Wei Huang [Thu, 29 Mar 2018 06:09:28 +0000 (14:09 +0800)]
init.sh: disable Bluetooth if no hci interface

This should avoid some unnecessary Bluetooth crashing.

6 years agoinit.sh: support ASUS VivoTab Note 8 (M80TA)
Chih-Wei Huang [Thu, 29 Mar 2018 02:50:01 +0000 (10:50 +0800)]
init.sh: support ASUS VivoTab Note 8 (M80TA)

Tested-by: Fotis k <fkalioras@gmail.com>
6 years agoAlways use 64-bit binder
Chih-Wei Huang [Fri, 9 Mar 2018 06:18:41 +0000 (14:18 +0800)]
Always use 64-bit binder

6 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Tue, 6 Mar 2018 09:50:19 +0000 (17:50 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

6 years agoinit.x86.rc: set SELinux domain to exec and services
Chih-Wei Huang [Tue, 6 Mar 2018 08:24:20 +0000 (16:24 +0800)]
init.x86.rc: set SELinux domain to exec and services

To avoid the service does not have a SELinux domain defined warning.

6 years agokernel.mk: avoid conflict with kernel.mk of LineageOS
Chih-Wei Huang [Tue, 6 Mar 2018 07:02:29 +0000 (15:02 +0800)]
kernel.mk: avoid conflict with kernel.mk of LineageOS

We defined TARGET_PREBUILT_KERNEL to be equal to INSTALLED_KERNEL_TARGET
but LineageOS's kernel.mk would copy TARGET_PREBUILT_KERNEL to
INSTALLED_KERNEL_TARGET that results in a dependency cycle.

Adjust our definition to avoid that.

6 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Mon, 5 Mar 2018 04:03:06 +0000 (12:03 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

6 years agoinit.x86.rc: log all buffers
Chih-Wei Huang [Mon, 26 Feb 2018 07:17:03 +0000 (15:17 +0800)]
init.x86.rc: log all buffers

This includes the kernel log.

6 years agotp_smapi/hdaps: use timer_setup() with kernel 4.15 and later
Mauro Rossi [Wed, 29 Nov 2017 00:04:17 +0000 (01:04 +0100)]
tp_smapi/hdaps: use timer_setup() with kernel 4.15 and later

Fixes the following building error happening with kernel 4.15:

  CC [M]  .../out/target/product/x86/obj/kmodule/tp_smapi/hdaps.o
.../out/target/product/x86/obj/kmodule/tp_smapi/hdaps.c: In function 'hdaps_init':
.../out/target/product/x86/obj/kmodule/tp_smapi/hdaps.c:782:2:
error: implicit declaration of function 'init_timer' [-Werror=implicit-function-declaration]
  init_timer(&hdaps_timer);
  ^
.../out/target/product/x86/obj/kmodule/tp_smapi/hdaps.c:783:23:
warning: assignment from incompatible pointer type
  hdaps_timer.function = hdaps_mousedev_poll;
                       ^
cc1: some warnings being treated as errors

6 years agoinit.sh: reverse the default orientation of accelerometer
Chih-Wei Huang [Wed, 14 Feb 2018 07:12:54 +0000 (15:12 +0800)]
init.sh: reverse the default orientation of accelerometer

More people reported the orientation of accelerometer is reversed.
Let's change the default orientation.

6 years agoinit.sh: add sensors.iio properties for HP EliteBook
Chih-Wei Huang [Tue, 13 Feb 2018 06:44:57 +0000 (14:44 +0800)]
init.sh: add sensors.iio properties for HP EliteBook

Reported-and-tested-by: Wing Chun Lau <johnnylau34@gmail.com>
6 years agoinit.sh: adjust micphone volume
Chih-Wei Huang [Mon, 12 Feb 2018 07:13:36 +0000 (15:13 +0800)]
init.sh: adjust micphone volume

Change the values according to internal testing.

Tested-by: 张淋苹 <18701158269@163.com>
6 years agoAndroid-x86 7.1-r1 release (20180206) android-x86-7.1-r1
Chih-Wei Huang [Tue, 6 Feb 2018 05:22:40 +0000 (13:22 +0800)]
Android-x86 7.1-r1 release (20180206)

6 years agoinit.sh: add sensors.iio properties for ThinkPad X1 Yoga
Chih-Wei Huang [Wed, 24 Jan 2018 03:05:24 +0000 (11:05 +0800)]
init.sh: add sensors.iio properties for ThinkPad X1 Yoga

Reported-and-tested-by: Chris Xiong <chirs241097@gmail.com>
6 years agoinit.sh: add sensors.iio properties for Dell venue pro 11
Chih-Wei Huang [Mon, 15 Jan 2018 06:35:47 +0000 (14:35 +0800)]
init.sh: add sensors.iio properties for Dell venue pro 11

Tested-by: Ben Mesman <ben@mesman.eu>
6 years agoinit.sh: refine the rule of has_sensors
Chih-Wei Huang [Fri, 12 Jan 2018 09:41:15 +0000 (17:41 +0800)]
init.sh: refine the rule of has_sensors

Allow to set has_sensors variable via cmdline HAS_SENSORS=true/false.

For sensors of iio type, if there is no acceleration sensors, treat it
as no sensors.

6 years agoinit.sh: update properties for new android-iio-sensors-hal
Chih-Wei Huang [Thu, 11 Jan 2018 05:39:10 +0000 (13:39 +0800)]
init.sh: update properties for new android-iio-sensors-hal

6 years agoalsa: enable headphone for bytcrrt5640
Chih-Wei Huang [Mon, 8 Jan 2018 08:46:06 +0000 (16:46 +0800)]
alsa: enable headphone for bytcrrt5640

6 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Mon, 1 Jan 2018 15:46:54 +0000 (23:46 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

6 years agoinit.sh: switch to android-iio-sensors-hal of 01.org
Chih-Wei Huang [Mon, 1 Jan 2018 05:38:11 +0000 (13:38 +0800)]
init.sh: switch to android-iio-sensors-hal of 01.org

Intel doesn't maintain the old libsensors. Drop it.

Switch to the new android-iio-sensors-hal which is also
developed by Intel.

6 years agoRemove android.hardware.bluetooth@1.0-impl
Chih-Wei Huang [Wed, 27 Dec 2017 07:20:21 +0000 (15:20 +0800)]
Remove android.hardware.bluetooth@1.0-impl

We don't use it now.

6 years agoBinderize the light HAL
Chih-Wei Huang [Wed, 27 Dec 2017 05:27:31 +0000 (13:27 +0800)]
Binderize the light HAL

6 years agoSwitch to new Bluetooth HIDL HAL
Chih-Wei Huang [Tue, 26 Dec 2017 06:15:45 +0000 (14:15 +0800)]
Switch to new Bluetooth HIDL HAL

The new generic Bluetooth HAL for standard Linux hci interface
was introduced since Android 8.1 by the Linaro project.

6 years agoAdd HIDL HAL for camera
Chih-Wei Huang [Mon, 25 Dec 2017 10:12:53 +0000 (18:12 +0800)]
Add HIDL HAL for camera

Set android.hardware.camera.provider@2.4 to binderized.

6 years agoFix the path of compiled-classes-phone
Chih-Wei Huang [Tue, 12 Dec 2017 09:40:26 +0000 (17:40 +0800)]
Fix the path of compiled-classes-phone

It was moved since Android 8.1.

6 years agonativebridge: add missing include path
Chih-Wei Huang [Tue, 12 Dec 2017 09:39:48 +0000 (17:39 +0800)]
nativebridge: add missing include path

This is necessary on Android 8.1.

6 years agoMerge tag 'android-8.1.0_r1' into oreo-x86
Chih-Wei Huang [Fri, 8 Dec 2017 07:54:22 +0000 (15:54 +0800)]
Merge tag 'android-8.1.0_r1' into oreo-x86

Android 8.1.0 Release 1 (OPM1.171019.011)

6 years agoAdd HIDL HAL for Bluetooth
Chih-Wei Huang [Wed, 6 Dec 2017 09:40:56 +0000 (17:40 +0800)]
Add HIDL HAL for Bluetooth

Set android.hardware.bluetooth@1.0 to binderized.

6 years agoRemove Telecom service
Chih-Wei Huang [Wed, 29 Nov 2017 02:56:17 +0000 (10:56 +0800)]
Remove Telecom service

It causes ANR on start up. We don't need the service so just remove it.

6 years agoSet android.hardware.sensors to passthrough mode
Chih-Wei Huang [Wed, 22 Nov 2017 08:42:25 +0000 (16:42 +0800)]
Set android.hardware.sensors to passthrough mode

6 years agoAdd HIDL HAL for power
Chih-Wei Huang [Wed, 22 Nov 2017 08:42:16 +0000 (16:42 +0800)]
Add HIDL HAL for power

Set android.hardware.power@1.0 to binderized.

6 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Tue, 21 Nov 2017 08:54:49 +0000 (16:54 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

6 years agoinit.x86.rc: add ctrl-alt-del service
Chih-Wei Huang [Mon, 20 Nov 2017 10:44:40 +0000 (18:44 +0800)]
init.x86.rc: add ctrl-alt-del service

Use the keychord driver to trap ctrl-alt-del event and transform it
to a long-press power key.

Unfortunately init only supports one keycodes set. So only the set
is supported: right ctrl (97), right alt (100) and delete (111).
The other combinations will be trapped and handled by init directly.

6 years agoEnable Wifi for Android 8.0
Chih-Wei Huang [Tue, 21 Nov 2017 06:43:43 +0000 (14:43 +0800)]
Enable Wifi for Android 8.0

* Change wpa_supplicant path to /vendor
* Add wificond
* Allow wpa_supplicant to access /dev/rfkill
* Add HIDL interface android.hardware.wifi.supplicant
* Add wpa_supplicant_overlay.conf to disable P2P
  (a bug of android.hardware.wifi.supplicant?)

6 years agoMake android.hardware.graphics.allocator passthrough
Chih-Wei Huang [Fri, 10 Nov 2017 06:11:52 +0000 (14:11 +0800)]
Make android.hardware.graphics.allocator passthrough

The gralloc.drm doesn't work in binderized mode.
Set its HIDL HAL to passthrough mode temporarily.

Note this violates the HAL type required by Android 8.0.
It should be fixed later.

6 years agoBinderize the audio HAL
Chih-Wei Huang [Fri, 10 Nov 2017 05:47:37 +0000 (13:47 +0800)]
Binderize the audio HAL

6 years agoAdd device manifest file
Chih-Wei Huang [Fri, 10 Nov 2017 05:35:32 +0000 (13:35 +0800)]
Add device manifest file

The following HIDL HALs are added:

* android.hardware.configstore@1.0 (binderized)
* android.hardware.dumpstate@1.0 (binderized)
* android.hardware.media.omx@1.0 (binderized)
* android.hardware.renderscript@1.0 (passthrough)
* android.hardware.usb@1.0 (binderized)

6 years agoDisable FFMPEG plugins temporarily
Chih-Wei Huang [Fri, 10 Nov 2017 02:07:29 +0000 (10:07 +0800)]
Disable FFMPEG plugins temporarily

This would be reverted once we finish FFMPEG plugins porting.

6 years agobuild: remove two properties from build.prop
Chih-Wei Huang [Tue, 31 Oct 2017 09:40:05 +0000 (17:40 +0800)]
build: remove two properties from build.prop

Don't set ro.product.manufacturer and ro.product.model
in build.prop. We will set them at runtime.

6 years agonativebridge: support houdini 8.0
Chih-Wei Huang [Fri, 27 Oct 2017 08:15:14 +0000 (16:15 +0800)]
nativebridge: support houdini 8.0

6 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Wed, 18 Oct 2017 11:08:12 +0000 (19:08 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

6 years agopackages.mk: remove HardwareCollector
Chih-Wei Huang [Wed, 18 Oct 2017 11:03:43 +0000 (19:03 +0800)]
packages.mk: remove HardwareCollector

It is merged into AnalyticsService.

6 years agonativebridge: support houdini 7.1
Chih-Wei Huang [Mon, 9 Oct 2017 19:08:40 +0000 (03:08 +0800)]
nativebridge: support houdini 7.1

6 years agoinit.sh: enable sdcardfs if possible
Chih-Wei Huang [Tue, 19 Sep 2017 10:17:33 +0000 (18:17 +0800)]
init.sh: enable sdcardfs if possible

Seemingly the sdcardfs doesn't work with tmpfs or 9p.
Don't enable sdcardfs if /data is mounted on these.

6 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Fri, 15 Sep 2017 10:10:37 +0000 (18:10 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

6 years agoAdd Android 8.0 HIDL HALs
Chih-Wei Huang [Sun, 10 Sep 2017 04:58:56 +0000 (12:58 +0800)]
Add Android 8.0 HIDL HALs

This is a trial and error list. I'm still not sure what HALs
are necessary.

6 years agoRemove private_lib_driver_cmd
Chih-Wei Huang [Sun, 10 Sep 2017 04:56:30 +0000 (12:56 +0800)]
Remove private_lib_driver_cmd

I'm not sure if we still need this.

6 years agobuild: add rules to build system.sfs
Chih-Wei Huang [Sat, 9 Sep 2017 19:22:07 +0000 (03:22 +0800)]
build: add rules to build system.sfs

6 years agoRemove swrast from BOARD_GPU_DRIVERS
Chih-Wei Huang [Fri, 15 Sep 2017 09:03:33 +0000 (17:03 +0800)]
Remove swrast from BOARD_GPU_DRIVERS

Now we use SwiftShader to do software rendering.

6 years agoRemove obsolete debug.egl.hw property
Chih-Wei Huang [Fri, 15 Sep 2017 08:24:26 +0000 (16:24 +0800)]
Remove obsolete debug.egl.hw property

6 years agoinit.sh: don't set hardware gralloc if HWACCEL=0
Chih-Wei Huang [Thu, 14 Sep 2017 10:24:58 +0000 (18:24 +0800)]
init.sh: don't set hardware gralloc if HWACCEL=0

This will disable hardware acceleration.

6 years agoDelete uesless symlinks
Chih-Wei Huang [Thu, 14 Sep 2017 09:54:20 +0000 (17:54 +0800)]
Delete uesless symlinks

These are not used anymore.

6 years agoAdd SwiftShader as an alternative OpenGL ES libraries
Chih-Wei Huang [Sat, 9 Sep 2017 19:12:58 +0000 (03:12 +0800)]
Add SwiftShader as an alternative OpenGL ES libraries

SwiftShader is a high-performance CPU-based implementation of
the OpenGL ES graphics APIs. Its goal is to provide hardware
independence for advanced 3D graphics.

6 years agobuild: add kernel.mk
Chih-Wei Huang [Tue, 5 Sep 2017 10:12:52 +0000 (18:12 +0800)]
build: add kernel.mk

To avoid tweaking the Android build system, move the kernel building
rules to our build/tasks/ subfolder. Android build system will read
it automatically.

6 years agoDefine variables for mksquashfsimage.sh
Chih-Wei Huang [Tue, 5 Sep 2017 08:09:59 +0000 (16:09 +0800)]
Define variables for mksquashfsimage.sh

Now we use AOSP's mksquashfsimage.sh to create system.sfs.
It contains the squashfs directly.

Note this effectively disables read-write support of ntfs/vfat.

6 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Wed, 23 Aug 2017 02:29:13 +0000 (10:29 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

6 years agoRevert "Disable forced orientation"
Chih-Wei Huang [Wed, 23 Aug 2017 02:25:01 +0000 (10:25 +0800)]
Revert "Disable forced orientation"

The input issue of forced orientation apps has been fixed.

This reverts commit 4b38ef42d8f4fc046e0d508b099458ae491228ce.

6 years agoinit.sh: enable audio on IEC958
Chih-Wei Huang [Wed, 23 Aug 2017 02:22:47 +0000 (10:22 +0800)]
init.sh: enable audio on IEC958

6 years agorelease-request-a0f7506a-1cd6-4a03-927b-8d29e0c545e6-for-git_oc-mr1-release-4277764...
android-build-team Robot [Wed, 16 Aug 2017 07:27:57 +0000 (07:27 +0000)]
release-request-a0f7506a-1cd6-4a03-927b-8d29e0c545e6-for-git_oc-mr1-release-4277764 snap-temp-L23600000093606242

Change-Id: Ib08827494ab868ddb726a3fd733aab769e13abf8

6 years agoRemove all copies of vndk-sp modules
Justin Yun [Mon, 14 Aug 2017 01:58:06 +0000 (10:58 +0900)]
Remove all copies of vndk-sp modules

With BOARD_VNDK_VERSION=current, the vendor variant of vndk-sp will
be installed to system/lib(64)/vndk-sp by build system if they have
"vndk: { enabled: true, support_system_process: true }" in their
Android.bp files.

Skip generating the copies of vndk-sp modules when BOARD_VNDK_VERSION
is defined.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: I160ee995cbbb91e3d005bca5508312ec56bdec52

6 years agorelease-request-68cc9b2a-98ae-4fbf-8b56-3e535855f399-for-git_oc-mr1-release-4269864...
android-build-team Robot [Sun, 13 Aug 2017 07:31:31 +0000 (07:31 +0000)]
release-request-68cc9b2a-98ae-4fbf-8b56-3e535855f399-for-git_oc-mr1-release-4269864 snap-temp-L25700000092502312

Change-Id: Ib224725b0b936ace59b068992eb433753f3cf57c

6 years agoMove libz vndk-sp from ll-ndk
Justin Yun [Thu, 10 Aug 2017 09:42:37 +0000 (18:42 +0900)]
Move libz vndk-sp from ll-ndk

The ABI of libz is not as stable as it is for ll-ndk.

Bug: 37617391
Test: build and boot
Change-Id: Ieff0af0c70fc2496db96c7b0323ae096add64658

6 years agooverlay: add configs for tethering
Chih-Wei Huang [Thu, 10 Aug 2017 06:59:37 +0000 (14:59 +0800)]
overlay: add configs for tethering

6 years agorelease-request-d642586e-3e25-49f4-8b4c-acad0e3f63d8-for-git_oc-mr1-release-4249777...
android-build-team Robot [Sun, 6 Aug 2017 07:35:18 +0000 (07:35 +0000)]
release-request-d642586e-3e25-49f4-8b4c-acad0e3f63d8-for-git_oc-mr1-release-4249777 snap-temp-L81500000089724408

Change-Id: I319a51be3182f6e35f645f8b4da8ecdc15ae0dd2

6 years agovndk: remove hidl vndk-sp libs from the list.
Justin Yun [Fri, 4 Aug 2017 06:42:19 +0000 (15:42 +0900)]
vndk: remove hidl vndk-sp libs from the list.

With BOARD_VNDK_VERSION:=current, vndk-sp libs will be installed to
/system/lib(64)/vndk-sp directory with
'vndk: {enabled: true, support_system_process: true}' property in
Android.bp of the module.

Remove the modules that already has the 'vndk' property in their
Android.bp file in case BOARD_VNDK_VERSION is defined.

Bug: 63866913
Test: build and boot with and without OARD_VNDK_VERSION=current
Change-Id: I99bce5bf7f60eb507ce124ed67421b247f34b92a

6 years agorelease-request-ca4ad653-1655-436a-b65c-2527b02ae5f2-for-git_oc-mr1-release-4241196...
android-build-team Robot [Thu, 3 Aug 2017 07:31:49 +0000 (07:31 +0000)]
release-request-ca4ad653-1655-436a-b65c-2527b02ae5f2-for-git_oc-mr1-release-4241196 snap-temp-L48200000088705722

Change-Id: I0a06d6f58b461605486668be0b3ec1ae48c7d1c2

6 years agovndk: remove hidl vndk-sp libs from the list.
Justin Yun [Wed, 2 Aug 2017 08:35:41 +0000 (17:35 +0900)]
vndk: remove hidl vndk-sp libs from the list.

With BOARD_VNDK_VERSION:=current, vndk-sp libs will be installed to
/system/lib(64)/vndk-sp directory with
'vndk: {enabled: true, support_system_process: true}' property in
Android.bp of the module.

Remove the modules that already has the 'vndk' property in their
Android.bp file in case BOARD_VNDK_VERSION is defined.

Bug: 63866913
Test: build and boot with and without OARD_VNDK_VERSION=current
Change-Id: I8efecd79e34f1729cd804f89ce3f9a1a02ac997f

6 years agovndk: remove some vndk-sp libs from the list.
Justin Yun [Mon, 31 Jul 2017 08:03:22 +0000 (17:03 +0900)]
vndk: remove some vndk-sp libs from the list.

With BOARD_VNDK_VERSION:=current, vndk-sp libs will be installed to
/system/lib(64)/vndk-sp directory with
'vndk: {enabled: true, support_system_process: true}' property in
Android.bp of the module.

Remove the modules that already has the 'vndk' property in their
Android.bp file in case BOARD_VNDK_VERSION is defined.

Bug: 63866913
Test: build and boot with and without OARD_VNDK_VERSION=current
Change-Id: I808175aa399fe72de5d3732c1b66b3268f2fab8a

6 years agoinit.sh: allow setting VMware solution via cmdline
Chih-Wei Huang [Thu, 27 Jul 2017 07:30:31 +0000 (15:30 +0800)]
init.sh: allow setting VMware solution via cmdline

The VMware vmwgfx driver doesn't honor the standard video= cmdline.
Force to set the resolution via the debug.drm.mode.force property.

6 years agoRemove the obsolete egl.cfg
Chih-Wei Huang [Wed, 19 Jul 2017 03:12:16 +0000 (11:12 +0800)]
Remove the obsolete egl.cfg

Now the EGL loader detects the libraries automatically.
The egl.cfg is unnecessary.

6 years agoEnable gralloc.gbm + hwcomposer.drm for virgl
Chih-Wei Huang [Tue, 18 Jul 2017 09:14:07 +0000 (17:14 +0800)]
Enable gralloc.gbm + hwcomposer.drm for virgl

6 years agoAdd 80860F14:02 to fstab
Chih-Wei Huang [Tue, 18 Jul 2017 07:20:49 +0000 (15:20 +0800)]
Add 80860F14:02 to fstab

Suggested by Spin877 <sfumato1977@gmail.com>.

6 years agoinit.x86.rc: remove dhcpcd services
Chih-Wei Huang [Fri, 14 Jul 2017 02:47:40 +0000 (10:47 +0800)]
init.x86.rc: remove dhcpcd services

Android 7 doesn't use dhcpcd anymore. Remove the obsolete services.