-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nougat x86 snd hda Intel mic fix Surface Pro 3 #1
Open
joshuarobison
wants to merge
59
commits into
lollipop-x86
Choose a base branch
from
nougat-x86
base: lollipop-x86
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Originally android relies mount_all to trigger some actions. But android-x86 doesn't use fstab before. So we trigger these actions on fs stage directly. This works before lollipop. However, lollipop changed the built-in class main to be triggerred via init*.rc. So I triggerred it on fs as well. But this is incorrect. It makes the actions in class main run before on boot stage. That causes rlimit not being set for services started in class main. Fix the issue by adding a fstab and do mount_all on fs stage like normal android system. It should correct other possible timing issues.
If TARGET_ARCH or TARGET_KERNEL_ARCH is 64-bit, TARGET_USES_64_BIT_BINDER should be true.
Add the library libnb and script to support the arm translator.
The property is set by the Settings app.
Add prebuilt AndroidTerm.apk from Google Play which is licensed under the Apache License version 2.0.
Remove components that can't be built temporarily.
Now the source built v86d can work on both 32-bit and 64-bit system.
Now vold manages external storage in a much more dynamic fashion, so we no longer need to define FUSE daemons or mount points. Google internal bug: 19993667
The change enables egl trace on error by setting property debug.egl.trace error, based on definition of any string in DEBUG variable. Tested with marshmallow-x86 and applicable also to lollipop-x86.
The rild setting doesn't work now. Disable it until we have a fix.
The patch enables 3D acceleration on QEMU.
These are defined in AOSP's init.rc now.
Change uvesafb to 32-bit which is required by the software rendering. Enable debug.egl.trace no matter what the GPU is.
We changed the uvesafb to 32-bit for llvmpipe software renderer. However, it breaks the old AOSP software renderer. Fix it by determining the bpp via the HWACCEL variable.
The current way depends on the target name which is too hacking. Use the more standard way to handle it.
NO_REF_TASK tested: local run Change-Id: I1e0641870723cd087d79d0f10b07e17c4d542761
ref T7670 tested: local build and install, verify the /data/dalvik-cache after first boot, there should not be dex patch for system binaries Change-Id: Id38c6690812639da2a7aef0e27bacc36b91b6ecd
Now the camera app will be hidden if no camera device is found. So remove the obsolete code.
Currently it only work with the tested virgl branch.
Fix MacBook 2013-2015 (Air6/7&Pro11/12) BCM4360 ssb&wl drivers conflict. https://en.wikipedia.org/wiki/MacBook_Air#Specifications https://en.wikipedia.org/wiki/MacBook_Pro#Technical_specifications_3
A patch proposed by Hypo Turtle <[email protected]>.
Make it easy for user to config whether use local time or utc for rtc. NO_REF_TASK Tested: local build and set persist.rtc_local_time with 0 and 1 when 0 is set, bios will use utc time when 1 is set, bios will use local time Change-Id: I38dbacf273fa8f1958b34aef479d8351d6a81a16
Now these are real executables instead of symbolic links.
A change suggested by Roman Petrovski.
Currently the software rendering works better with 1024x768. Remove obsolete device specified modes because they are supported by the native framebuffer driver. Re-enable the Setup Wizard for the software rendering case.
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.
…boot" It should be fixed in sensors.hsb directly. This reverts commit cc1a672.
It's too late to do here.
Only enable IntelHDMI audio HAL if it's the only sound card. It doesn't work on devices other than ASUS ViVoStick (TS10).
Enable the features from Intel.
NO_REF_TASK Tested: pass all test cases of check_houdini.sh Change-Id: I37ed20cec5354575671f3ea58c0b041774fa6dae
SELinux can't be disabled in Android 7.0. Before we completely define our sepolicy, we can only run the permissive mode.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After a combination of this configuration in /system/etc/init.sh
for c in $(grep '\[.*\]' /proc/asound/cards | awk '{print $1}'); do f=/system/etc/alsa/$(cat /proc/asound/card$c/id).state if [ -e $f ]; then alsa_ctl -f $f restore $c else alsa_ctl init $c alsa_amixer -c $c set Master on alsa_amixer -c $c set Master 100% alsa_amixer -c $c set Headphone on alsa_amixer -c $c set Headphone 100% alsa_amixer -c $c set Speaker 110% alsa_amixer -c $c set Capture 85% alsa_amixer -c $c set Capture 'Internal Mic' alsa_amixer -c $c set Capture cap alsa_amixer -c $c set PCM 100 unmute alsa_amixer -c $c set SPO unmute alsa_amixer -c $c set 'Mic Boost' 0 alsa_amixer -c $c set 'Internal Mic Boost' 0 fi done
And adding this to my grub/refined bootloader options
snd_usb_audio.index=0 snd_hda_intel.index=2,1
I now have nearly perfect mic recording.