OSDN Git Service
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
Chih-Wei Huang [Tue, 29 Jun 2021 03:52:14 +0000 (11:52 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-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
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>
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.
Chih-Wei Huang [Mon, 18 Jan 2021 16:29:09 +0000 (00:29 +0800)]
nativebridge: update short URLs
Chih-Wei Huang [Wed, 18 Nov 2020 23:32:13 +0000 (07:32 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86
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.
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
Chih-Wei Huang [Sat, 31 Oct 2020 06:41:49 +0000 (14:41 +0800)]
init.sh: allow to specify gralloc and hwc
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.
Chih-Wei Huang [Wed, 15 Jul 2020 17:32:02 +0000 (01:32 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-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
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>
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>
Mauro Rossi [Thu, 14 May 2020 19:32:47 +0000 (21:32 +0200)]
gpu_mesa.mk: enable Vulkan 1.1 API
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
Chih-Wei Huang [Thu, 28 May 2020 11:20:02 +0000 (19:20 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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>
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>
Chih-Wei Huang [Wed, 20 May 2020 16:17:57 +0000 (00:17 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-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
Chih-Wei Huang [Wed, 20 May 2020 16:09:22 +0000 (00:09 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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.
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.
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
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
Chih-Wei Huang [Thu, 7 May 2020 08:39:00 +0000 (16:39 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86
hatharry [Thu, 7 May 2020 05:46:18 +0000 (17:46 +1200)]
Enable serial gps
Chih-Wei Huang [Thu, 7 May 2020 08:27:04 +0000 (16:27 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
hatharry [Thu, 7 May 2020 05:14:21 +0000 (17:14 +1200)]
init.sh: set pcm to 100%
Chih-Wei Huang [Sat, 2 May 2020 14:39:41 +0000 (22:39 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-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
Chih-Wei Huang [Sat, 2 May 2020 14:33:58 +0000 (22:33 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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.
Francescodario Cuzzocrea [Mon, 20 Apr 2020 08:08:56 +0000 (10:08 +0200)]
common: add c2 codec
Francescodario Cuzzocrea [Fri, 17 Apr 2020 20:43:04 +0000 (22:43 +0200)]
common: update media codecs
Chih-Wei Huang [Sun, 12 Apr 2020 13:40:24 +0000 (21:40 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-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
Chih-Wei Huang [Sun, 12 Apr 2020 13:36:18 +0000 (21:36 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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>
Chih-Wei Huang [Fri, 10 Apr 2020 12:50:34 +0000 (20:50 +0800)]
init.sh: fix virgl support in kernel 5.x
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>
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
Chih-Wei Huang [Wed, 25 Mar 2020 06:01:49 +0000 (14:01 +0800)]
Add more features
Suggested by BlissOS-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
Michael Goffioul [Fri, 18 Oct 2019 19:17:52 +0000 (15:17 -0400)]
Use ALOGX in nativebridge source code
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.
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
Chih-Wei Huang [Thu, 12 Mar 2020 06:20:26 +0000 (14:20 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-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
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>
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)
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>
Chih-Wei Huang [Fri, 21 Feb 2020 10:11:45 +0000 (18:11 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86
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.
Chih-Wei Huang [Wed, 8 Jan 2020 02:15:40 +0000 (10:15 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-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
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>
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>
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.
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
Chih-Wei Huang [Tue, 10 Dec 2019 02:51:19 +0000 (10:51 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-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
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
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)
Chih-Wei Huang [Thu, 28 Nov 2019 08:52:28 +0000 (16:52 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-x86
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.
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.
Chih-Wei Huang [Sat, 23 Nov 2019 07:42:45 +0000 (15:42 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86
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.
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.
Chih-Wei Huang [Tue, 19 Nov 2019 18:03:15 +0000 (02:03 +0800)]
Determine partition size at runtime
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)
Michael Goffioul [Fri, 18 Oct 2019 19:06:22 +0000 (15:06 -0400)]
Add DRM HAL
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
Michael Goffioul [Sat, 5 Oct 2019 01:01:58 +0000 (21:01 -0400)]
Use XML files for audio configuration
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).
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)
Michael Goffioul [Sat, 5 Oct 2019 00:45:56 +0000 (20:45 -0400)]
Use manifest fragment for android.hardware.cas
Chih-Wei Huang [Thu, 7 Nov 2019 09:43:35 +0000 (17:43 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-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
Chih-Wei Huang [Thu, 24 Oct 2019 10:14:36 +0000 (18:14 +0800)]
init.sh: fix virgl support of newer kernel
Chih-Wei Huang [Mon, 21 Oct 2019 03:18:48 +0000 (11:18 +0800)]
nativebridge: update short URLs
Chih-Wei Huang [Fri, 9 Mar 2018 06:18:41 +0000 (14:18 +0800)]
Always use 64-bit binder
Chih-Wei Huang [Wed, 16 Oct 2019 10:26:11 +0000 (18:26 +0800)]
sepolicy: remove obsolete rules
Chih-Wei Huang [Wed, 16 Oct 2019 10:25:41 +0000 (18:25 +0800)]
Merge remote-tracking branch 'x86/pie-x86' into q-x86
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.
Chih-Wei Huang [Tue, 15 Oct 2019 09:48:47 +0000 (17:48 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-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
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>
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.
Chih-Wei Huang [Mon, 7 Oct 2019 03:49:19 +0000 (11:49 +0800)]
Merge remote-tracking branch 'x86/oreo-x86' into pie-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
Chih-Wei Huang [Mon, 7 Oct 2019 03:08:05 +0000 (11:08 +0800)]
app: update TermOne Plus
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.
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.
Chih-Wei Huang [Tue, 30 Jul 2019 09:59:41 +0000 (17:59 +0800)]
nativebridge: set default context to mount sfs command
Chih-Wei Huang [Thu, 25 Jul 2019 09:18:24 +0000 (17:18 +0800)]
sepolicy: fix avc denied of surfaceflinger
Jack Yu [Thu, 18 Jul 2019 06:52:09 +0000 (23:52 -0700)]
Set default polling mask and p2p listen mask
am:
e6c742033e
Change-Id: I1af9b7c9052221365ff7efe3b8c8e6d991794a65