hackintosh-stuff / combojack Goto Github PK
View Code? Open in Web Editor NEWHackintosh combojack support for alc256/alc255.
Hackintosh combojack support for alc256/alc255.
Hackintosh combojack support for alc256/alc255. Confirmed to work on dell xps 13 9350/9360(alc256) and Xiaomi Air(i5-7200U, alc255) 1. Delete CodecCommander.kext,put ComboJack_Installer/VerbStub.kext in Clover/kexts/Other 2. Run ComboJack_Installer/install.sh in terminal and reboot 3. Done. When you attach a headphone there will be a popup asking about headphone type. I know CleanMyMac reports this as mining malware, but I don't think CleanMyMac is a serious anti-malware. If you really believe these false alarms then compile by yourself (don't ask how). 黑苹果上alc256/alc255的耳麦支持 在xps 13 9350/9360(alc256)和小米Air(i5-7200U, alc255)上测试可用 1. 删除 CodecCommander.kext,把ComboJack_Installer文件夹的VerbStub.kext放进Clover/kexts/Other 2. 终端运行 ComboJack_Installer/install.sh,重启 3. 插入耳机的时候,会弹出对话框询问你插入的是耳机还是耳塞
The computer can not use the headset after sleep wake up, plug in the headset output noise!
Please Add ALC292 Support for Dell Latitude E6440. Its external mic do not work.
More Details are here
Also Linux Dump is there too.
Hello, wanted to thank you for posting this as was searching Github and came across this section. I tried this on my Inspiron 7567 which has the Realtek ALC256 and this is the first solution for the line in mic to show up for headsets! Just to point out as I realized this is only a couple days old and not trying to complain or deter you from improving this, but on my laptop, sound suddenly goes in and out from the headphones with no warning. It's a weird way to describe it as sometimes, sound will also stutter before no sound comes through. I am using your AppleALC that I found for your XPS just so you know.
I am just speculating, but when I used to have my HP Envy, I would get similar audio issues, when the line in Mic was being activated, so wonder if that is what's happening in this case. Hope this helps and let me know if you need me to test anything or produce anything to help?
I was infected on my device, so be careful when use it.
Is possible to lower the xcode compatible version for ComboJack Project ? Not everyone can have xcode 12.
Thanks.
On Big Sur, I installed Combojack after following the documentation and rebooted.
On rebooting, "no bootable drive found" error appeared and I had to reinstall the Bigsur
Hello. After recently discovering some trouble installing ComboJack in Catalina, I realized that I was forced to install all files originally assigned to /usr/bin into /usr/local/bin instead. Advanced users may figure this out on their own, but I think it would be helpful to revise the install.sh file accordingly. Here are the paths that would be rewritten:
For install.sh...
sudo cp ComboJack /usr/local/bin
sudo chmod 755 /usr/local/bin/ComboJack
sudo chown root:wheel /usr/local/bin/ComboJack
sudo cp hda-verb /usr/local/bin
sudo chmod 755 /usr/local/bin/hda-verb
sudo chown root:wheel /usr/local/bin/hda-verb
For com.XPS.ComboJack.plist...
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/ComboJack</string>
</array>
Thank you for the release, by the way. Cheers!
When plugged in my wired headphone, as long there is not any audio playback for some time and I start any application with audio, there is a strong crack sound or similar noises, really hurting my ears.
I've installed this fix on my Mi Notebook Air (ALC255) with macOS Catalina following all steps in README.txt.
Popup window appears when I plug my headset, but it does not have any effect. Even if I choose Headset, it works the same like without fix (only output and in from laptop's mic).
So, I can't get headset mic working.
Ask me for any specs or logs if you need them.
The language is always English
So I have this optiplex 3040 hackintosh. I used catalina with it and the combojack was running successfully. After update to big sur, it doesn't read my mic on my headphones and the option (combojack notification) doesn't appear anymore. Any fix?
hi,
提个小问题:插着耳机进入睡眠,睡眠后拔掉耳机,唤醒后还是弹选择耳麦的弹框
小建议:选择耳麦选项能不能放到系统设置里面,或者状态栏插件,这样不用每次都选择
The latest committed version does not compile properly on XCode 10.1 (MacOS Mojave).
906:23: error: use of undeclared identifier 'NSJSONSerialization'
id l10nObj = [NSJSONSerialization`
Resolving this error results in a linking error
Undefined symbols for architecture x86_64:
"_IOAllowPowerChange", referenced from:
_SleepWakeCallBack in hda-verb.o
"_IOConnectCallScalarMethod", referenced from:
_VerbCommand in hda-verb.o
"_IODeregisterForSystemPower", referenced from:
_CloseServiceConnection in hda-verb.o
_main in hda-verb.o
Appreciate it if the git repo issues can be resolved to allow successful compilation using either build.sh
or XCode GUI.
Why does that sometimes when I start my hackintosh, the combojack doesn't even start.
I did not work for me on Big Sur beta 9 OC 6.2 ALC256; the responsecode were 8 bytes, unsigned long and the first six byte were all high. Hack a code fixed it - responsecode = (responsecode << 40) >> 40;
while(true)
{ {
//wait until user logged in //wait until user logged in
@@ -660,7 +662,11 @@ uint32_t CFPopUpMenu()
kCFUserNotificationOtherResponse = 2, kCFUserNotificationOtherResponse = 2,
kCFUserNotificationCancelResponse = 3 kCFUserNotificationCancelResponse = 3
*/ */
fprintf(stderr, "Response code after: %lu.\n", responsecode);
**responsecode = (responsecode << 40) >> 40;**
fprintf(stderr, "Response code fixed: %lu.\n", responsecode);
switch (responsecode) switch (responsecode)
Hello @maz-1 thanks again for your work on this Combojack and helping getting it to work for my Realtek ALC256 system! I was wondering if you could help. I was trying to see if we could get our codec to work without having to use Combojack + Verbstub. I've been talking with some developers that help submit changes for AppleALC and they mentioned if I could provide the exact COEF that our codec uses for the wired headset port to switch the headset mic to LineIn to make it work.
I looked through your hda_verb.m and found the following 3 sections regarding COEF for my particular 0x19 NID (I cut some lines to only show the 10ec0256 and to be better readable here)
"fprintf(stderr, "Jack Status: headset plugged in. Checking type...\n");
switch (codecID)
{
case 0x10ec0256:
VerbCommand(HDA_VERB(0x19, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x24)); // 0x24 corresponds to IN (0x20) + VREF 80 (0x04)
WRITE_COEF(0x45, 0xd089);
WRITE_COEF(0x49, 0x0149);
usleep(350000);
// Read register 0x46
SetCoefIndex.verb = HDA_VERB(nid, AC_VERB_SET_COEF_INDEX, 0x46);
SetCoefIndex.res = VerbCommand(SetCoefIndex.verb);
GetProcCoef.verb = HDA_VERB(nid, AC_VERB_GET_PROC_COEF, 0x46);
GetProcCoef.res = VerbCommand(GetProcCoef.verb);
break;
fprintf(stderr, "Jack Status: headset (CTIA/iPhone) plugged in.\n");
//alc_headset_mode_ctia
switch (codecID)
{
case 0x10ec0256:
WRITE_COEF(0x45, 0xd489); //Set to CTIA type
WRITE_COEF(0x1b, 0x0c6b);
WRITE_COEFEX(0x57, 0x03, 0x8ea6);
break;
fprintf(stderr, "Jack Status: headset (OMTP/Nokia) plugged in.\n");
//alc256
switch (codecID)
{
case 0x10ec0256:
WRITE_COEF(0x45, 0xe489);
WRITE_COEF(0x1b, 0x0c6b);
WRITE_COEFEX(0x57, 0x03, 0x8ea6);
break;"
I was wondering if you could help me provide me exactly what coefficient that is provided to the codec and if possible the terminal commands (ex hda-verb) just so I could help provide that for them? I just don't know where else to go to grab this information.
I am just trying to make the whole process easier as I've noticed a lot of people use CodecCommander with AppleALC and want to make sure if this process is ever abandoned or not updated, that we will have another working solution for headset mic for our codecs.
Please let me know if you need anything and thanks again!
Hope ,it work on alc255 ,do you have any idea its similar to alc255 or you have correct path for external headset cuz headphone mic never worked on my dell vostro 3546 .currently using insanelyDeepak layout I'd 17 or 3 by mirone. Do you have any suggestion for your layout id for alc255 to work with this ..
Will update after 15-12
Hi Guys, like your script. Would it be possible to add support for ALC 235?
Hi,
I have a dell XPS 9560.
I put my computer to sleep with headphones plugged in, after wake I have no sound. If I start ComboJack by hand and select Headphones in the popup, sound is back.
My question is : is the windows asking for Line-in, Headset or Headphones is supposed to appear at wake ?
Thanks for that dev.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.