OSDN Git Service

android-x86/device-generic-common.git
4 years agoMerge remote-tracking branch 'x86/pie-x86' into q-x86
Chih-Wei Huang [Tue, 10 Dec 2019 02:51:19 +0000 (10:51 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-x86

4 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Tue, 10 Dec 2019 02:50:27 +0000 (10:50 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

4 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Tue, 10 Dec 2019 02:48:19 +0000 (10:48 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

Conflicts:
nativebridge/bin/enable_nativebridge

4 years agoinit.sh: add quirks for more devices
Chih-Wei Huang [Tue, 10 Dec 2019 02:41:01 +0000 (10:41 +0800)]
init.sh: add quirks for more devices

* ASUS M80TA (tested-by: Mydaet)
* Cube i7 Stylus (tested-by: yangdalao)

4 years agoMerge remote-tracking branch 'x86/pie-x86' into q-x86
Chih-Wei Huang [Thu, 28 Nov 2019 08:52:28 +0000 (16:52 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-x86

4 years agoinit.sh: fallback to SwiftShader if necessary
Chih-Wei Huang [Wed, 27 Nov 2019 13:57:19 +0000 (21:57 +0800)]
init.sh: fallback to SwiftShader if necessary

Use SwiftShader if HWACCEL=0 or there is no supported GPU.

4 years agosystem.mk: remove properties from build.prop
Chih-Wei Huang [Fri, 22 Nov 2019 18:48:09 +0000 (02:48 +0800)]
system.mk: remove properties from build.prop

They are set at runtime.

4 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Sat, 23 Nov 2019 07:42:45 +0000 (15:42 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

4 years agoRemove androidboot.selinux=permissive from cmdline
Chih-Wei Huang [Sat, 23 Nov 2019 03:56:57 +0000 (11:56 +0800)]
Remove androidboot.selinux=permissive from cmdline

The default selinux mode is set to permissive in init. If you want to
use enforcing mode, add androidboot.selinux=enforcing to cmdline.

4 years agopackages.mk: add debug tools
Chih-Wei Huang [Fri, 22 Nov 2019 08:25:49 +0000 (16:25 +0800)]
packages.mk: add debug tools

Since LOCAL_MODULE_TAGS := debug is not supported now.
The debug tools have to be added manually.

4 years agoDetermine partition size at runtime
Chih-Wei Huang [Tue, 19 Nov 2019 18:03:15 +0000 (02:03 +0800)]
Determine partition size at runtime

4 years agoFix native bridge wrapper
Michael Goffioul [Fri, 18 Oct 2019 19:08:18 +0000 (15:08 -0400)]
Fix native bridge wrapper

- Be more specific about houdini files to delete (avoid deleting
  bundled system/etc/houdini*.sfs)
- Use PRODUCT_PROPERTY_OVERRIDES for ro.dalvik.vm.native.bridge to
  correctly override value from build/make/target/product/runtime_libart.mk
- Use losetup/mount to mount the houdini sfs image, toybox's mount does
  not seem to be able to mount -o loop... properly

v2: resolve conflict in nativebridge/bin/enable_nativebridge (cwhuang)

4 years agoAdd DRM HAL
Michael Goffioul [Fri, 18 Oct 2019 19:06:22 +0000 (15:06 -0400)]
Add DRM HAL

4 years agoAllow to use the network during build
Michael Goffioul [Thu, 17 Oct 2019 19:13:50 +0000 (15:13 -0400)]
Allow to use the network during build

This is required by external/kernel-drivers/wl/Android.mk

4 years agoUse XML files for audio configuration
Michael Goffioul [Sat, 5 Oct 2019 01:01:58 +0000 (21:01 -0400)]
Use XML files for audio configuration

4 years agoGenerate system root image, no ramdisk
Michael Goffioul [Sat, 5 Oct 2019 00:56:44 +0000 (20:56 -0400)]
Generate system root image, no ramdisk

The generated system partition is expected to be mounted at / and
includes the former ramdisk (from $OUT/root directory).

4 years agoSetup /dev/ion permissions/ownership
Michael Goffioul [Sat, 5 Oct 2019 00:47:05 +0000 (20:47 -0400)]
Setup /dev/ion permissions/ownership

v2: move to ueventd.x86.rc (cwhuang)

4 years agoUse manifest fragment for android.hardware.cas
Michael Goffioul [Sat, 5 Oct 2019 00:45:56 +0000 (20:45 -0400)]
Use manifest fragment for android.hardware.cas

4 years agoMerge remote-tracking branch 'x86/pie-x86' into q-x86
Chih-Wei Huang [Thu, 7 Nov 2019 09:43:35 +0000 (17:43 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-x86

4 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Thu, 7 Nov 2019 06:39:18 +0000 (14:39 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

4 years agoinit.sh: fix virgl support of newer kernel android-x86-8.1-r3
Chih-Wei Huang [Thu, 24 Oct 2019 10:14:36 +0000 (18:14 +0800)]
init.sh: fix virgl support of newer kernel

4 years agonativebridge: update short URLs android-x86-7.1-r3
Chih-Wei Huang [Mon, 21 Oct 2019 03:18:48 +0000 (11:18 +0800)]
nativebridge: update short URLs

4 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

4 years agosepolicy: remove obsolete rules
Chih-Wei Huang [Wed, 16 Oct 2019 10:26:11 +0000 (18:26 +0800)]
sepolicy: remove obsolete rules

4 years agoMerge remote-tracking branch 'x86/pie-x86' into q-x86
Chih-Wei Huang [Wed, 16 Oct 2019 10:25:41 +0000 (18:25 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-x86

4 years agokernel.mk: fix several issues in Android 10
Chih-Wei Huang [Thu, 3 Oct 2019 09:37:02 +0000 (17:37 +0800)]
kernel.mk: fix several issues in Android 10

Android 10 has started restricting the external host tools usable inside
the build. The external tools can only be used with absolute path.

To avoid using host gcc, we build kernel host tools by AOSP's clang.
Note the kernel's makefile has a small issue to be fixed.

4 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Tue, 15 Oct 2019 09:48:47 +0000 (17:48 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

4 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Tue, 15 Oct 2019 09:43:45 +0000 (17:43 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

4 years agoinit.sh: add quirks for Acer SP111-33
Chih-Wei Huang [Tue, 15 Oct 2019 09:35:48 +0000 (17:35 +0800)]
init.sh: add quirks for Acer SP111-33

Tested-by: Ralph deGennaro <rmdegennaro@gmail.com>
4 years agokernel.mk: remove obsolete rules
Chih-Wei Huang [Tue, 8 Oct 2019 09:31:25 +0000 (17:31 +0800)]
kernel.mk: remove obsolete rules

Now the wl driver is built from external/kernel-drivers.

4 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Mon, 7 Oct 2019 03:49:19 +0000 (11:49 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

4 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Mon, 7 Oct 2019 03:19:31 +0000 (11:19 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

4 years agoapp: update TermOne Plus
Chih-Wei Huang [Mon, 7 Oct 2019 03:08:05 +0000 (11:08 +0800)]
app: update TermOne Plus

4 years agokernel.mk: make new build system happy
Chih-Wei Huang [Fri, 27 Sep 2019 08:28:03 +0000 (16:28 +0800)]
kernel.mk: make new build system happy

The new build system requires

* A real file doesn't depend on a .PHONY target
* .PHONY targets do not have "/" in them

Change the rules to meet the requirements.

4 years agokernel.mk: avoid using absolute path in targets
Chih-Wei Huang [Fri, 27 Sep 2019 08:25:46 +0000 (16:25 +0800)]
kernel.mk: avoid using absolute path in targets

The new build system of Android 10 enforces all outputs from the build
system be within the output directory. Using absolute path in targets
confused the build system.

4 years agonativebridge: set default context to mount sfs command
Chih-Wei Huang [Tue, 30 Jul 2019 09:59:41 +0000 (17:59 +0800)]
nativebridge: set default context to mount sfs command

4 years agosepolicy: fix avc denied of surfaceflinger
Chih-Wei Huang [Thu, 25 Jul 2019 09:18:24 +0000 (17:18 +0800)]
sepolicy: fix avc denied of surfaceflinger

4 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Thu, 4 Jul 2019 07:28:56 +0000 (15:28 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

4 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Thu, 4 Jul 2019 07:27:56 +0000 (15:27 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

4 years agoAdd support of OpenGApps
Chih-Wei Huang [Thu, 4 Jul 2019 07:22:45 +0000 (15:22 +0800)]
Add support of OpenGApps

You may specify the variant by GAPPS_VARIANT. The default is pico.

You still need to add .repo/local_manifests/opengapps.xml to enable it.
Refer to https://github.com/opengapps/aosp_build for more details.

4 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Fri, 28 Jun 2019 07:09:37 +0000 (15:09 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

4 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Fri, 28 Jun 2019 04:33:12 +0000 (12:33 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

4 years agoinit.x86.rc: set owner/group of wpa_supplicant.conf
Chih-Wei Huang [Fri, 28 Jun 2019 04:32:38 +0000 (12:32 +0800)]
init.x86.rc: set owner/group of wpa_supplicant.conf

4 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Fri, 21 Jun 2019 02:51:57 +0000 (10:51 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

4 years agokernel.mk: install modules for 'kernel' goal
Chih-Wei Huang [Fri, 21 Jun 2019 02:41:21 +0000 (10:41 +0800)]
kernel.mk: install modules for 'kernel' goal

When do 'make kernel' on the top of android-x86 tree, only $OUT/kernel is
generated but the modules are not installed to $OUT/system/lib/modules.
The patch fixes that.

4 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Thu, 20 Jun 2019 09:19:23 +0000 (17:19 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

4 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86 android-x86-8.1-r2
Chih-Wei Huang [Thu, 13 Jun 2019 09:09:26 +0000 (17:09 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

4 years agoinit.sh: enable virt_wifi if needed
Chih-Wei Huang [Thu, 13 Jun 2019 09:08:41 +0000 (17:08 +0800)]
init.sh: enable virt_wifi if needed

Some Android apps are not interested in ethernet devices and would rather
connect to a wireless interface. This patch allows the devices with only
ethernet interface to treat one of its network connections as wireless,
satisfying Android apps's network connection requirements.

The ethernet interface being simulated can be specified by the property
net.virt_wifi. The default is eth0.

The feature is enabled if wlan0 doesn't exist, or VIRT_WIFI=1 is set in
kernel cmdline. To disable it, set VIRT_WIFI=0 kernel cmdline.

4 years agoinit.sh: remove wl driver if it's not used
Chih-Wei Huang [Thu, 13 Jun 2019 09:05:50 +0000 (17:05 +0800)]
init.sh: remove wl driver if it's not used

Sometimes the Broadcom wl driver is loaded unexpectedly. Unload it
if it's not being used.

4 years agoAdd HIDL HAL for memtrack
Chih-Wei Huang [Mon, 3 Jun 2019 10:15:31 +0000 (18:15 +0800)]
Add HIDL HAL for memtrack

4 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Thu, 30 May 2019 08:47:52 +0000 (16:47 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

4 years agobluetooth: do not define BTM_DEF_LOCAL_NAME
Chih-Wei Huang [Thu, 30 May 2019 08:46:12 +0000 (16:46 +0800)]
bluetooth: do not define BTM_DEF_LOCAL_NAME

Use the device model as the default Bluetooth name.

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Tue, 30 Apr 2019 07:42:34 +0000 (15:42 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 years agoAdd an idc file for the stylus of Surface Go
Chih-Wei Huang [Tue, 30 Apr 2019 07:35:02 +0000 (15:35 +0800)]
Add an idc file for the stylus of Surface Go

Reported-and-tested-by: Wing Chun Lau <johnnylau34@gmail.com>
5 years agoinit.sh: add quirks for Lenovo miix 320
Chih-Wei Huang [Mon, 29 Apr 2019 08:36:21 +0000 (16:36 +0800)]
init.sh: add quirks for Lenovo miix 320

Tested-by: Marco <ghzmrc91@gmail.com>
5 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Thu, 25 Apr 2019 05:53:45 +0000 (13:53 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Fri, 12 Apr 2019 08:52:20 +0000 (16:52 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 years agoinit.sh: disable offlining of non-boot CPU of Teclast X80 Power
Valentin Manea [Fri, 12 Apr 2019 08:46:41 +0000 (16:46 +0800)]
init.sh: disable offlining of non-boot CPU of Teclast X80 Power

This fixes the suspend/resume issue of the device.

5 years agonativebridge: update short URLs for pie-x86
Chih-Wei Huang [Fri, 29 Mar 2019 09:30:50 +0000 (17:30 +0800)]
nativebridge: update short URLs for pie-x86

5 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Thu, 28 Mar 2019 04:25:35 +0000 (12:25 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Thu, 28 Mar 2019 04:23:40 +0000 (12:23 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 years agoinit.sh: fix sensors support for LINX1010B
Chih-Wei Huang [Thu, 28 Mar 2019 04:18:51 +0000 (12:18 +0800)]
init.sh: fix sensors support for LINX1010B

Reported-and-tested-by: Mark Ellis
5 years agoinit.sh: invert axes of sensors for Microtech e-tab Pro
Chih-Wei Huang [Wed, 27 Mar 2019 10:08:19 +0000 (18:08 +0800)]
init.sh: invert axes of sensors for Microtech e-tab Pro

With panel-orientation-quirks applied in i915 driver, the display is
rotated 180 degrees. We need to invert the x and y axes of sensors
as well.

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Fri, 22 Mar 2019 15:51:59 +0000 (23:51 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 years agoinit.sh: set camera properties for Microtech e-tab Pro
Chih-Wei Huang [Fri, 22 Mar 2019 15:48:22 +0000 (23:48 +0800)]
init.sh: set camera properties for Microtech e-tab Pro

5 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Wed, 20 Mar 2019 10:29:19 +0000 (18:29 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

5 years agoFix wifi support of pie-x86
Chih-Wei Huang [Wed, 20 Mar 2019 10:26:08 +0000 (18:26 +0800)]
Fix wifi support of pie-x86

Update to supplicant 1.1.

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Wed, 20 Mar 2019 03:44:54 +0000 (11:44 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 years agoAdd 80860F16:00 to fstab
Chih-Wei Huang [Wed, 20 Mar 2019 03:42:08 +0000 (11:42 +0800)]
Add 80860F16:00 to fstab

Tested-by: Torsten Appelhagen <borsti67@gmail.com>
5 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Wed, 13 Mar 2019 10:22:57 +0000 (18:22 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Tue, 12 Mar 2019 09:05:41 +0000 (17:05 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 years agoapp: replace AndroidTerm by TermOne Plus
Chih-Wei Huang [Tue, 12 Mar 2019 09:04:52 +0000 (17:04 +0800)]
app: replace AndroidTerm by TermOne Plus

"TermOne Plus" is a successor of "Terminal Emulator for Android"(AndroidTerm).
This new application includes many compatibility and portability improvements,
stability and defect fixes, and localization enhancements.

5 years agoinit.sh: set sleep.state=force for Microtech e-tab Pro
Chih-Wei Huang [Tue, 12 Mar 2019 08:40:54 +0000 (16:40 +0800)]
init.sh: set sleep.state=force for Microtech e-tab Pro

The state means to put the device into deep sleep regardless of
the wakeup_count interface.

5 years agoinit.sh: fix sensors support of Microtech e-tab Pro
Chih-Wei Huang [Wed, 6 Mar 2019 03:55:57 +0000 (11:55 +0800)]
init.sh: fix sensors support of Microtech e-tab Pro

5 years agokernel.mk: don't change LC_CTYPE globally
Chih-Wei Huang [Tue, 26 Feb 2019 10:59:07 +0000 (18:59 +0800)]
kernel.mk: don't change LC_CTYPE globally

Android 9 doesn't build in C locale because some code in art contains
non-ASCII characters.

This effectively reverts commit 9ea487d8 and a07fe439.

5 years agobuild/tasks/kernel.mk: switch to build-tools bison
Mauro Rossi [Sun, 24 Feb 2019 01:51:08 +0000 (02:51 +0100)]
build/tasks/kernel.mk: switch to build-tools bison

Symbolic link path changed to fixes the following building error:

/home/utente/pie-x86/prebuilts/build-tools/linux-x86/bin/bison: \
prebuilts/build-tools/common/bison/m4sugar/m4sugar.m4: \
cannot open: No such file or directory

5 years agoRemove unnecessary compiled-classes
Chih-Wei Huang [Thu, 21 Feb 2019 07:13:44 +0000 (15:13 +0800)]
Remove unnecessary compiled-classes

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Wed, 20 Feb 2019 09:39:12 +0000 (17:39 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 years agoinit.sh: disable suspend of VMware
Chih-Wei Huang [Wed, 20 Feb 2019 09:39:04 +0000 (17:39 +0800)]
init.sh: disable suspend of VMware

5 years agoUse languages_full.mk instead of locales_full.mk
Chih-Wei Huang [Wed, 20 Feb 2019 09:36:52 +0000 (17:36 +0800)]
Use languages_full.mk instead of locales_full.mk

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Mon, 21 Jan 2019 08:54:56 +0000 (16:54 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 years agoinit.sh: fix sensors support of EZpad
Chih-Wei Huang [Mon, 21 Jan 2019 08:52:51 +0000 (16:52 +0800)]
init.sh: fix sensors support of EZpad

Tested-by: Yu Zhao <zhaoyu574249312@gmail.com>
5 years agokernel.mk: set LC_MESSAGES to C locale android-x86-8.1-r1
Chih-Wei Huang [Tue, 15 Jan 2019 10:53:35 +0000 (18:53 +0800)]
kernel.mk: set LC_MESSAGES to C locale

The error messages are unreadable since commit 9ea487d changed LC_CTYPE
to C locale but left LC_MESSAGES unchanged. Change LC_MESSAGES as well
to fix it.

Fixes: 9ea487d (kernel.mk: set LC_CTYPE to C locale)

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Fri, 11 Jan 2019 03:06:29 +0000 (11:06 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 years agoAdd experimental Vulkan support
Chih-Wei Huang [Fri, 11 Jan 2019 03:06:11 +0000 (11:06 +0800)]
Add experimental Vulkan support

The Vulkan support is enabled if gbm_gralloc is used.

5 years agoRevert "Add hid_hyperv to blacklist"
Chih-Wei Huang [Thu, 10 Jan 2019 10:41:20 +0000 (18:41 +0800)]
Revert "Add hid_hyperv to blacklist"

This reverts commit 9d41d263564de7548b7f24fba028909199773485.

5 years agoadd vulkan radv support
Mauro Rossi [Sat, 30 Jun 2018 15:26:03 +0000 (17:26 +0200)]
add vulkan radv support

radv implements Vulkan HAL without requiring additional wrapper/stub
radv is added as vulkan.radv module to PRODUCT_PACKAGES

ro.hardware.vulkan property is set by init.sh init_hal_vulkan() function
based on the drm fb kernel module amdgpudrmfb

5 years agoadd vulkan anv support
Mauro Rossi [Sun, 4 Feb 2018 23:17:15 +0000 (00:17 +0100)]
add vulkan anv support

anv implements Vulkan HAL without requiring additional wrapper/stub
anv is added as vulkan.android-x86 module to PRODUCT_PACKAGES
and PRODUCT_COPY_FILES is used to install android.hardware.vulkan.{level,version}.xml

ro.hardware.vulkan property is set by init.sh init_hal_vulkan() function
based on the drm fb kernel module inteldrmfb

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Wed, 26 Dec 2018 07:48:56 +0000 (15:48 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

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

5 years agokernel.mk: remove the module dir on errors
Chih-Wei Huang [Fri, 7 Dec 2018 07:09:22 +0000 (15:09 +0800)]
kernel.mk: remove the module dir on errors

The make goal should be removed on building errors, otherwise
the next try will just success.

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Thu, 22 Nov 2018 08:16:25 +0000 (16:16 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 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>
5 years agokernel.mk: set LC_CTYPE to C locale
Chih-Wei Huang [Thu, 22 Nov 2018 04:12:32 +0000 (12:12 +0800)]
kernel.mk: set LC_CTYPE to C locale

The simple workaround avoids AOSP's prebuilt flex crashing like

flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Mon, 29 Oct 2018 07:00:20 +0000 (15:00 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

5 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>
5 years agoAndroid-x86 8.1-rc2 release (20181018)
Chih-Wei Huang [Wed, 17 Oct 2018 16:41:17 +0000 (00:41 +0800)]
Android-x86 8.1-rc2 release (20181018)

5 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Tue, 16 Oct 2018 11:10:51 +0000 (19:10 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

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