OSDN Git Service
Chih-Wei Huang [Tue, 1 Feb 2022 10:03:10 +0000 (18:03 +0800)]
nativebridge: add com.cht.ottPlayer to OEMBlackList
Chih-Wei Huang [Thu, 12 Aug 2021 09:22:01 +0000 (17:22 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Thu, 12 Aug 2021 09:08:05 +0000 (17:08 +0800)]
init.sh: create missed /dev/input/event*
Due to unknown reasons some input device nodes are not created at
boot time. The script checks what nodes are missed and re-issue
the add uevent to create them.
Chih-Wei Huang [Thu, 8 Jul 2021 14:05:13 +0000 (22:05 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Thu, 8 Jul 2021 14:01:13 +0000 (22:01 +0800)]
init.sh: set ro.serialno from the DMI table
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 [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: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>
Chih-Wei Huang [Thu, 28 May 2020 11:20:02 +0000 (19:20 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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: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.
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: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.
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 [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 [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 [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, 14 Feb 2020 10:02:54 +0000 (18:02 +0800)]
nativebridge: change arm libraries dir
The downloading is carried out by Download Manager now.
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 [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 [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 [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 [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: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 [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
Chih-Wei Huang [Thu, 4 Jul 2019 07:27:56 +0000 (15:27 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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.
Chih-Wei Huang [Fri, 28 Jun 2019 04:33:12 +0000 (12:33 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Fri, 28 Jun 2019 04:32:38 +0000 (12:32 +0800)]
init.x86.rc: set owner/group of wpa_supplicant.conf
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.
Chih-Wei Huang [Thu, 13 Jun 2019 09:09:26 +0000 (17:09 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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.
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.
Chih-Wei Huang [Mon, 3 Jun 2019 10:15:31 +0000 (18:15 +0800)]
Add HIDL HAL for memtrack
Chih-Wei Huang [Thu, 30 May 2019 08:47:52 +0000 (16:47 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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.
Chih-Wei Huang [Tue, 30 Apr 2019 07:42:34 +0000 (15:42 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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>
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>
Chih-Wei Huang [Fri, 12 Apr 2019 08:52:20 +0000 (16:52 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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.
Chih-Wei Huang [Thu, 28 Mar 2019 04:23:40 +0000 (12:23 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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
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.
Chih-Wei Huang [Fri, 22 Mar 2019 15:51:59 +0000 (23:51 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Fri, 22 Mar 2019 15:48:22 +0000 (23:48 +0800)]
init.sh: set camera properties for Microtech e-tab Pro
Chih-Wei Huang [Wed, 20 Mar 2019 03:44:54 +0000 (11:44 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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>
Chih-Wei Huang [Tue, 12 Mar 2019 09:05:41 +0000 (17:05 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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.
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.
Chih-Wei Huang [Wed, 6 Mar 2019 03:55:57 +0000 (11:55 +0800)]
init.sh: fix sensors support of Microtech e-tab Pro
Chih-Wei Huang [Wed, 20 Feb 2019 09:39:12 +0000 (17:39 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Wed, 20 Feb 2019 09:39:04 +0000 (17:39 +0800)]
init.sh: disable suspend of VMware
Chih-Wei Huang [Wed, 20 Feb 2019 09:36:52 +0000 (17:36 +0800)]
Use languages_full.mk instead of locales_full.mk
Chih-Wei Huang [Mon, 21 Jan 2019 08:54:56 +0000 (16:54 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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>
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)
Chih-Wei Huang [Fri, 11 Jan 2019 03:06:29 +0000 (11:06 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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.
Chih-Wei Huang [Thu, 10 Jan 2019 10:41:20 +0000 (18:41 +0800)]
Revert "Add hid_hyperv to blacklist"
This reverts commit
9d41d263564de7548b7f24fba028909199773485.
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
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
Chih-Wei Huang [Wed, 26 Dec 2018 07:48:56 +0000 (15:48 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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>
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.
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.
Chih-Wei Huang [Thu, 22 Nov 2018 08:16:25 +0000 (16:16 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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>
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)
Chih-Wei Huang [Mon, 29 Oct 2018 07:00:20 +0000 (15:00 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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>
Chih-Wei Huang [Wed, 17 Oct 2018 16:41:17 +0000 (00:41 +0800)]
Android-x86 8.1-rc2 release (
20181018)
Chih-Wei Huang [Tue, 16 Oct 2018 11:10:51 +0000 (19:10 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
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.