OSDN Git Service

android-x86/device-generic-common.git
5 months agoRemove support for IA-HWC and gralloc.intel modules (r-x86) r-x86
Mauro Rossi [Sun, 2 Jan 2022 21:46:06 +0000 (22:46 +0100)]
Remove support for IA-HWC and gralloc.intel modules (r-x86)

Change-Id: I40a581fdcb0b231d7fed3b0ad5fe8843030f6800

5 months agoRemove support for gralloc.drm module (r-x86)
Mauro Rossi [Fri, 31 Dec 2021 09:29:51 +0000 (10:29 +0100)]
Remove support for gralloc.drm module (r-x86)

Changelog:

gpu/gpu_mesa.mk: remove gralloc.drm from PRODUCT_PACKAGES
BoardConfig.mk: set BOARD_USES_DRM_GRALLOC := false

NOTE: the latter is mandatory to avoid building errors in mesa
Change-Id: Ib46adc6d2d752a9511ab6489445e3dfde20dd3c0

6 months agoUse binderized gralloc HAL 2.0 (r-x86)
Michael Goffioul [Mon, 1 Nov 2021 11:44:26 +0000 (12:44 +0100)]
Use binderized gralloc HAL 2.0 (r-x86)

The main (only?) reason to use passthrough HAL for gralloc was to cope
with drm_gralloc limitations. With drm_gralloc out of the picture, one
can re-enable binderized gralloc. This is necessary with recent changes
in minigbm that relies on all allocations happening in a single process
(due to how buffer ID's are generated, making them unique per-process
only).

6 months agoinit.sh: set GRALLOC gbm as default in init_hal_gralloc (r-x86)
Mauro Rossi [Sun, 10 Oct 2021 12:12:00 +0000 (14:12 +0200)]
init.sh: set GRALLOC gbm as default in init_hal_gralloc (r-x86)

drm_gralloc is not supported in r-x86 and later

Change-Id: Ib79161479dbd64ce7d9d6b46ba7ea01b02824a64

10 months agomove to binderized composer@2.1-service HAL (r-x86)
Mauro Rossi [Sun, 28 Mar 2021 21:14:06 +0000 (23:14 +0200)]
move to binderized composer@2.1-service HAL (r-x86)

Use hwbinder transport for composer 2.1 HAL in manifext.xml
Enable android.hardware.graphics.composer@2.1-service in treble.mk

Test result is that gbm_gralloc is booting and GUI is usable

Change-Id: I47519d4f09b8eb0dbb9698e8e326eb02a7454028

10 months agoSet ro.lmk.kill_timeout_ms
Michael Goffioul [Wed, 14 Apr 2021 00:36:10 +0000 (20:36 -0400)]
Set ro.lmk.kill_timeout_ms

This prevents lmkd to be over-zealous and rapidly kill many processes,
because the process of recovering memory may need some time.

See https://cs.android.com/android/_/android/platform/system/memory/lmkd/+/30854e70d994c33130247126665f996f6f6fd6b4

10 months agoProvide M4 and DEPMOD during kernel compilation
Michael Goffioul [Tue, 23 Feb 2021 16:52:58 +0000 (11:52 -0500)]
Provide M4 and DEPMOD during kernel compilation

M4 needs to be provided through environment variable. This is required
by flex, which runs m4 internally.

See https://cs.android.com/android/_/android/platform/build/+/2bfffb9f48a78de12faf5da77424c0cecb70d6eb:Changes.md

DEPMOD is used during kernel compilatio. Use absolute path to evade
building sandbox.

10 months agoUpdate audio and keymaster HAL
Michael Goffioul [Wed, 11 Nov 2020 21:27:57 +0000 (16:27 -0500)]
Update audio and keymaster HAL

- audio HAL 6 (sounetrigger 2.3)
- keymaster HAL 4.1 (binderized service)

10 months agoRemove wifi HAL
Michael Goffioul [Mon, 19 Oct 2020 01:47:16 +0000 (21:47 -0400)]
Remove wifi HAL

There is no wifi HAL and declaring one prevents the wifi service to work
properly (as it's checking the device manifest for a wifi HAL and fails
to initialize the corresponding stubs).

10 months agoUse wifi supplicant HAL 1.3
Michael Goffioul [Mon, 19 Oct 2020 01:46:58 +0000 (21:46 -0400)]
Use wifi supplicant HAL 1.3

10 months agoFix dumpstate HAL package name
Michael Goffioul [Fri, 18 Sep 2020 18:54:08 +0000 (14:54 -0400)]
Fix dumpstate HAL package name

Suffix ".example" has been added to the package name. Having dumpstate
HAL is required to load the developer settings in Android Settings.

10 months agoUse clearkey drm HAL 1.3
Michael Goffioul [Tue, 15 Sep 2020 16:13:03 +0000 (12:13 -0400)]
Use clearkey drm HAL 1.3

10 months agoDisable sdcardfs
Michael Goffioul [Tue, 15 Sep 2020 16:10:29 +0000 (12:10 -0400)]
Disable sdcardfs

The use of FUSE-enabled sdcard, e.g. in live mode, creates a lock-up in
vold, which is waiting for sdcard to exit, but never happens as it's
using FUSE.

Disable the use of sdcardfs in vold. This may creates problems in live
mode, where /data is mounted as tmpfs, which does not fully support
xattr.

10 months agoUse manifest fragments for USB, WiFi and supplicant HAL
Michael Goffioul [Tue, 15 Sep 2020 10:53:56 +0000 (06:53 -0400)]
Use manifest fragments for USB, WiFi and supplicant HAL

These HAL are now defined in their own manifest fragment, and must be
removed from the main manifest to avoid conflict (as they use the same
major version).

10 months agoSwitch to modules.blocklist
Michael Goffioul [Mon, 14 Sep 2020 00:38:17 +0000 (20:38 -0400)]
Switch to modules.blocklist

10 months agoPort to Android 11
Michael Goffioul [Wed, 1 Apr 2020 21:51:01 +0000 (17:51 -0400)]
Port to Android 11

11 months agoMerge remote-tracking branch 'x86/pie-x86' into q-x86 q-x86
Chih-Wei Huang [Mon, 5 Jul 2021 16:31:24 +0000 (00:31 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-x86

11 months agogpu_mesa.mk: add amdgpu.ids
Chih-Wei Huang [Mon, 5 Jul 2021 11:57:35 +0000 (19:57 +0800)]
gpu_mesa.mk: add amdgpu.ids

12 months agoMerge remote-tracking branch 'x86/pie-x86' into q-x86
Chih-Wei Huang [Tue, 29 Jun 2021 04:04:36 +0000 (12:04 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-x86

Conflicts:
BoardConfig.mk
nativebridge/bin/enable_nativebridge

12 months agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Tue, 29 Jun 2021 03:52:14 +0000 (11:52 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

12 months agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Tue, 29 Jun 2021 03:48:10 +0000 (11:48 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

Conflicts:
nativebridge/bin/enable_nativebridge

12 months agoAdd quirks for ASUS TP300LA
Chih-Wei Huang [Tue, 29 Jun 2021 03:42:57 +0000 (11:42 +0800)]
Add quirks for ASUS TP300LA

Reported-and-tested-by: Warren Cheung <warren.cheung@gmail.com>
16 months agoDO NOT MERGE: Revert "Add nouveau to blacklist" android-x86-7.1-r5
Chih-Wei Huang [Sat, 13 Feb 2021 15:14:58 +0000 (23:14 +0800)]
DO NOT MERGE: Revert "Add nouveau to blacklist"

Some people claim nouveau is stable enough in nougat-x86.

This reverts commit b3b34a4d6b9801e4ba6579d6bc32f3f2b11ce10d.

17 months agonativebridge: update short URLs
Chih-Wei Huang [Mon, 18 Jan 2021 16:29:09 +0000 (00:29 +0800)]
nativebridge: update short URLs

19 months agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Wed, 18 Nov 2020 23:32:13 +0000 (07:32 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

19 months agoinit.sh: check driver name instead of fb name android-x86-8.1-r6
Chih-Wei Huang [Sat, 31 Oct 2020 06:56:49 +0000 (14:56 +0800)]
init.sh: check driver name instead of fb name

Similar to commit ff4be9e.

19 months agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Sat, 31 Oct 2020 06:44:29 +0000 (14:44 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

Conflicts:
init.sh

19 months agoinit.sh: allow to specify gralloc and hwc
Chih-Wei Huang [Sat, 31 Oct 2020 06:41:49 +0000 (14:41 +0800)]
init.sh: allow to specify gralloc and hwc

19 months agoinit.sh: check driver name instead of fb name
Chih-Wei Huang [Sat, 31 Oct 2020 05:19:52 +0000 (13:19 +0800)]
init.sh: check driver name instead of fb name

The name in /proc/fb varies between different kernel versions.
That's annoying.

Use the driver name of fb0 which seems to be fixed.

23 months agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Wed, 15 Jul 2020 17:32:02 +0000 (01:32 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

23 months agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Wed, 15 Jul 2020 17:30:37 +0000 (01:30 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

Conflicts:
nativebridge/bin/enable_nativebridge

23 months agonativebridge: mount sfs with the ro option
Chih-Wei Huang [Wed, 15 Jul 2020 17:11:56 +0000 (01:11 +0800)]
nativebridge: mount sfs with the ro option

If the sfs is in a read-only /system, mount may fail without the ro
option.

Reported-by: Katharine Chui <katharine.chui@gmail.com>
23 months agoAdd quirks for yoga 530 81EK
Chih-Wei Huang [Wed, 15 Jul 2020 17:00:20 +0000 (01:00 +0800)]
Add quirks for yoga 530 81EK

Reported-and-tested-by: Katharine Chui <katharine.chui@gmail.com>
2 years agogpu_mesa.mk: enable Vulkan 1.1 API
Mauro Rossi [Thu, 14 May 2020 19:32:47 +0000 (21:32 +0200)]
gpu_mesa.mk: enable Vulkan 1.1 API

2 years agoMerge remote-tracking branch 'mauro/pie-x86_hwc_drmfb' into pie-x86
Chih-Wei Huang [Thu, 4 Jun 2020 11:35:12 +0000 (19:35 +0800)]
Merge remote-tracking branch 'mauro/pie-x86_hwc_drmfb' into pie-x86

2 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Thu, 28 May 2020 11:20:02 +0000 (19:20 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

2 years agosupport binderized drmfb-composer with HWC=drmfb option (v2)
Mauro Rossi [Sat, 9 May 2020 07:44:35 +0000 (09:44 +0200)]
support binderized drmfb-composer with HWC=drmfb option (v2)

android.hardware.graphics.composer@2.1-service.drmfb added to PRODUCT_PACKAGES

New logic is added in init_hal_hwcomposer() function to enable drmfb-composer
if HWC=drmfb cmdline option used vendor.hwcomposer-2-1.drmfb service is started

(v2) Remove android.hardware.graphics.composer@2.1-service in PRODUCT_PACKAGES
     as it was causing issues to drm_gralloc
     Remove 'stop vendor.hwcomposer-2-1' in init_hal_hwcomposer()

Many thanks to lambdadroid for drmfb-composer

Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
2 years agoalsa: add driver state file for chtnau8824
Chih-Wei Huang [Sat, 23 May 2020 03:44:54 +0000 (11:44 +0800)]
alsa: add driver state file for chtnau8824

Tested-by: caldon724 <caldon724@gmail.com>
2 years agoMerge remote-tracking branch 'x86/pie-x86' into q-x86
Chih-Wei Huang [Wed, 20 May 2020 16:17:57 +0000 (00:17 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-x86

2 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Wed, 20 May 2020 16:14:11 +0000 (00:14 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

2 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Wed, 20 May 2020 16:09:22 +0000 (00:09 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

2 years agoAdd nouveau to blacklist android-x86-7.1-r4
Chih-Wei Huang [Fri, 15 May 2020 06:03:28 +0000 (14:03 +0800)]
Add nouveau to blacklist

The driver does more harm than good. Don't use it.

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

2 years agoenable additional hwcomposers and grallocs
Mauro Rossi [Sun, 23 Jun 2019 12:53:55 +0000 (14:53 +0200)]
enable additional hwcomposers and grallocs

HWC=drm_minigbm,intel
GRALLOC=minigbm,intel

2 years agoMerge remote-tracking branch 'x86/pie-x86' into q-x86
Chih-Wei Huang [Thu, 7 May 2020 08:45:22 +0000 (16:45 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-x86

Conflicts:
manifest.xml
treble.mk

2 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Thu, 7 May 2020 08:39:00 +0000 (16:39 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

2 years agoEnable serial gps android-x86-8.1-r5
hatharry [Thu, 7 May 2020 05:46:18 +0000 (17:46 +1200)]
Enable serial gps

2 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Thu, 7 May 2020 08:27:04 +0000 (16:27 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

2 years agoinit.sh: set pcm to 100%
hatharry [Thu, 7 May 2020 05:14:21 +0000 (17:14 +1200)]
init.sh: set pcm to 100%

2 years agoMerge remote-tracking branch 'x86/pie-x86' into q-x86
Chih-Wei Huang [Sat, 2 May 2020 14:39:41 +0000 (22:39 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-x86

2 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Sat, 2 May 2020 14:37:55 +0000 (22:37 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

2 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Sat, 2 May 2020 14:33:58 +0000 (22:33 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

2 years agoFix sdcardfs permissions issue
Chih-Wei Huang [Fri, 1 May 2020 13:52:11 +0000 (21:52 +0800)]
Fix sdcardfs permissions issue

Some applications encounter a file access error in /storage/emulated/0/
like

[E] System.UnauthorizedAccessException: Access to the path "/storage/emulated/0/Android/data/com.fgol.HungrySharkEvolution/files/test" is denied.

Michael pointed out the root cause is the init.rc of AOSP will set owner,
group and permissions of /config/sdcardfs before sdcardfs module is loaded.

Previously we don't always load sdcardfs module since it doesn't work in
some cases (e.g., /data is mounted on tmpfs). However, to fix the issue,
let sdcardfs always be loaded in early-init stage, and use the property
ro.sys.sdcardfs to decide whether to enable sdcardfs.

2 years agocommon: add c2 codec
Francescodario Cuzzocrea [Mon, 20 Apr 2020 08:08:56 +0000 (10:08 +0200)]
common: add c2 codec

2 years agocommon: update media codecs
Francescodario Cuzzocrea [Fri, 17 Apr 2020 20:43:04 +0000 (22:43 +0200)]
common: update media codecs

2 years agoMerge remote-tracking branch 'x86/pie-x86' into q-x86
Chih-Wei Huang [Sun, 12 Apr 2020 13:40:24 +0000 (21:40 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-x86

2 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Sun, 12 Apr 2020 13:39:04 +0000 (21:39 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

2 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Sun, 12 Apr 2020 13:36:18 +0000 (21:36 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

2 years agoinit.sh: add quirks for Lenovo IdeaPad D330
Chih-Wei Huang [Sun, 12 Apr 2020 13:32:21 +0000 (21:32 +0800)]
init.sh: add quirks for Lenovo IdeaPad D330

Tested-by: Ashutosh prusty <ashutoshprusty29@gmail.com>
2 years agoinit.sh: fix virgl support in kernel 5.x
Chih-Wei Huang [Fri, 10 Apr 2020 12:50:34 +0000 (20:50 +0800)]
init.sh: fix virgl support in kernel 5.x

2 years agoalsa: add chtcx2072x.state
Chih-Wei Huang [Fri, 10 Apr 2020 12:38:36 +0000 (20:38 +0800)]
alsa: add chtcx2072x.state

Reported-and-tested-by: Massimiliano Mattioli <m.mattioli67@gmail.com>
2 years agoMerge remote-tracking branch 'x86/pie-x86' into q-x86
Chih-Wei Huang [Mon, 6 Apr 2020 04:43:02 +0000 (12:43 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-x86

Conflicts:
CleanSpec.mk

2 years agoAdd more features android-x86-9.0-r2
Chih-Wei Huang [Wed, 25 Mar 2020 06:01:49 +0000 (14:01 +0800)]
Add more features

Suggested by BlissOS-x86.

2 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Tue, 24 Mar 2020 03:55:07 +0000 (11:55 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

2 years agoUse ALOGX in nativebridge source code
Michael Goffioul [Fri, 18 Oct 2019 19:17:52 +0000 (15:17 -0400)]
Use ALOGX in nativebridge source code

2 years agoinit.sh: change virgl resolution to 1280x768 android-x86-8.1-r4
Chih-Wei Huang [Sat, 14 Mar 2020 02:55:17 +0000 (10:55 +0800)]
init.sh: change virgl resolution to 1280x768

Seems 1280x800 doesn't work on some devices with newer kernels.

2 years agoMerge tag 'android-9.0.0_r54' into pie-x86
Chih-Wei Huang [Fri, 13 Mar 2020 04:48:22 +0000 (12:48 +0800)]
Merge tag 'android-9.0.0_r54' into pie-x86

Android 9.0.0 release 54

2 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Thu, 12 Mar 2020 06:20:26 +0000 (14:20 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

2 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Thu, 12 Mar 2020 06:10:18 +0000 (14:10 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

2 years agoinit.sh: add pointercal for Teclast x98 air 3G
Chih-Wei Huang [Thu, 12 Mar 2020 06:08:22 +0000 (14:08 +0800)]
init.sh: add pointercal for Teclast x98 air 3G

Tested-by: XiaoTao Liu <kevin.liu912@gmail.com>
2 years agoMerge tag 'android-10.0.0_r32' into q-x86
Chih-Wei Huang [Tue, 10 Mar 2020 04:40:50 +0000 (12:40 +0800)]
Merge tag 'android-10.0.0_r32' into q-x86

Android 10.0.0 Release 32 (QQ2A.200305.004.A1)

2 years agoinit.sh: add quirks for Teclast x98 air 3G
Chih-Wei Huang [Mon, 9 Mar 2020 04:55:24 +0000 (12:55 +0800)]
init.sh: add quirks for Teclast x98 air 3G

Tested-by: XiaoTao Liu <kevin.liu912@gmail.com>
2 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86 android-x86-9.0-r1
Chih-Wei Huang [Fri, 21 Feb 2020 10:11:45 +0000 (18:11 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

2 years agonativebridge: change arm libraries dir
Chih-Wei Huang [Fri, 14 Feb 2020 10:02:54 +0000 (18:02 +0800)]
nativebridge: change arm libraries dir

The downloading is carried out by Download Manager now.

2 years agoMerge remote-tracking branch 'x86/pie-x86' into q-x86
Chih-Wei Huang [Wed, 8 Jan 2020 02:15:40 +0000 (10:15 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-x86

2 years agoMerge remote-tracking branch 'x86/oreo-x86' into pie-x86
Chih-Wei Huang [Wed, 8 Jan 2020 02:13:33 +0000 (10:13 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86

2 years agoinit.sh: add support for HWC kernel cmdline for all GPUs
Mauro Rossi [Mon, 6 Jan 2020 09:15:51 +0000 (10:15 +0100)]
init.sh: add support for HWC kernel cmdline for all GPUs

Allows to select hardware composers using the values {drm,drm_minigbm,intel}
in conjuction with respective GRALLOC {gbm,minigbm,intel}

The default is hwcomposer disabled, with ro.hardware.hwcomposer not set,
based on the assumption that hwcomposer. module does not exist

Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
2 years agoenable iris, i915drmfb and nouveaudrmfb support
Mauro Rossi [Thu, 31 Oct 2019 21:49:19 +0000 (22:49 +0100)]
enable iris, i915drmfb and nouveaudrmfb support

Changelog of updates to graphics stack:
- Enable iris in BOARD_GPU_DRIVERS
- Add support for 0*i915drmfb
- Use 0*nouveau* expression for new nouveaudrmfb and old nouveaufb

Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
2 years agoinit: allow to disable SetupWizard
Chih-Wei Huang [Fri, 27 Dec 2019 07:30:51 +0000 (15:30 +0800)]
init: allow to disable SetupWizard

SetupWizard could be disabled by adding SETUPWIZARD=0 to cmdline,
or DEBUG > 0 unless SETUPWIZARD=1.

2 years agoinit: allow to set ro.sf.lcd_density by DPI in cmdline
Chih-Wei Huang [Fri, 27 Dec 2019 07:30:25 +0000 (15:30 +0800)]
init: allow to set ro.sf.lcd_density by DPI in cmdline

2 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

2 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

2 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

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

2 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

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

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

2 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

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

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

2 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

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

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

2 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

2 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

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

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

2 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

2 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

2 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