OSDN Git Service

android-x86/device-generic-common.git
3 years agoidc: add files for QEMU and VirtualBox
Chih-Wei Huang [Wed, 26 Dec 2018 07:43:55 +0000 (15:43 +0800)]
idc: add files for QEMU and VirtualBox

These files enable orientation aware movement in any rotation.

Remove Vendor_0627_Product_0001.idc which is replaced by
QEMU_QEMU_USB_Tablet.idc.

Reported-and-tested-by: Jon Doe <tuksgig@gmail.com>
3 years agoUpdate tp_smapi to 0.43
Chih-Wei Huang [Wed, 19 Dec 2018 04:05:28 +0000 (12:05 +0800)]
Update tp_smapi to 0.43

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

4 years agoAdd an idc file for Adomax USB tablet
Chih-Wei Huang [Thu, 22 Nov 2018 08:00:58 +0000 (16:00 +0800)]
Add an idc file for Adomax USB tablet

Reported-and-tested-by: Alexander E. Patrakov <patrakov@gmail.com>
4 years agoinit.sh: let touchscreen never suspend on Surface Go
Chih-Wei Huang [Mon, 29 Oct 2018 06:57:05 +0000 (14:57 +0800)]
init.sh: let touchscreen never suspend on Surface Go

Tested-by: Jim <a0910115172@gmail.com>
4 years agoinit.sh: use video option if UVESA_MODE is not set
Chih-Wei Huang [Tue, 16 Oct 2018 11:09:58 +0000 (19:09 +0800)]
init.sh: use video option if UVESA_MODE is not set

With this patch, it's also possible to set the resolution of uvesafb
via the standard video=<xres>x<yres> kernel cmdline.

4 years agoUse packages.mk from the product dir if exists
Chih-Wei Huang [Thu, 4 Oct 2018 06:45:27 +0000 (14:45 +0800)]
Use packages.mk from the product dir if exists

4 years agoinit.sh: honor video cmdline for all supported GPUs
Chih-Wei Huang [Wed, 19 Sep 2018 02:25:37 +0000 (10:25 +0800)]
init.sh: honor video cmdline for all supported GPUs

Allow to use the standard video kernel cmdline to set resolution
for all supported GPUs.

Set the default resolution of virgl to 1280x800.

4 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>
4 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>
4 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

4 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

4 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.

4 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

4 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.

4 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.

4 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.

4 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>
4 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.

4 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.

4 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

4 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.

4 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>
4 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>
4 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)

4 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>
4 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>
4 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.

4 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

4 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

4 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.

5 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.

5 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.

5 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

5 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.

5 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.

5 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

5 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.

5 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.

5 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.

5 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.

5 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

5 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

5 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.

5 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.

5 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

5 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>.

5 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.

5 years agopackages.mk: add Taskbar
Chih-Wei Huang [Fri, 14 Jul 2017 02:44:19 +0000 (10:44 +0800)]
packages.mk: add Taskbar

As discussed in the devel group, let the users choose
which launcher to use.

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

5 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)

5 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.

5 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.

5 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>.

5 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.

5 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

5 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.

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

5 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>
5 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

5 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

5 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.

5 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

5 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.

5 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

5 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.

5 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.

5 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.

5 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

6 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

6 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.

6 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.

6 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.

6 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

6 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.

6 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

6 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.

6 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.

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

6 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

6 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.

6 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.

6 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>
6 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

6 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

6 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.

6 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

6 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.

6 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.

6 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.

6 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.

6 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

6 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

6 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.

6 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).

6 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.

6 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.

6 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.

6 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

6 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

6 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