Jump to content

fluid | fixed

mnfesq

mnfesq

Member Since 10 Aug 2008
Offline Last Active Yesterday, 09:32 PM
-----

HP Envy 17 Sleep Issue - Instant Wake

14 May 2013 - 04:19 PM

I have an HP Envy 17t-3200 CTO with the Intel H76 motherboard and an i5 3210M CPU.  I'm running 10.8.3 and it is very stable.  I would like to be able to improve its ability to sleep.  Currently, I can get it to sleep if I unplug it from AC and put it to sleep.  I can replug it back in while sleeping and it stays asleep.  However, if I try to put it to sleep while it is plugged in, it wakes up instantly and the Wake Reason is the USB hubs, ECH1 and ECH2.  I can't see anything in my power settings (pmset -g) that would explain this.  I have used the Ivy Bridge ECHI patches without success. Any ideas?

[GUIDE] ML on HP Envy 17-3200 CTO

11 February 2013 - 12:02 AM

This guide will give you the information you need to install Mountain Lion 10.8.2 on your HP Envy laptop. I installed this on my HP Envy 17-3200 CTO. I cannot guarantee that this will work on other versions of the HP Envy without some modification.


What you need to start:

1. Copy of OS X 10.8 Mountain Lion.dmg. I used the GM version.
2. Some working copy of OS X (does not have to be ML) on some computer to make the USB Installer.
3. An 8 GB USB Flash Drive
4. Some means to access the hard drive on your HP Envy on which you are installing ML, such as MacDrive or another installation of OS X. (This is not absolutely essential but, without this, all copying of files, post-installation, will have to be done by terminal commands which are more difficult, and I will not explain in this guide what terminal commands are required.)
5. The files available for download with this guide.
6. Kext Wizard and Kext Utility for Mountain Lion.
7. USB Mouse and Keyboard.
8. Compatible wifi and bluetooth adapters. (I use the Atheros AR5B195 mini PCI-e Wireless Wifi card ($14.95 on Ebay) and the HP Broadcom BCM94313HMGB WiFi Bluetooth 4.0 Mini Half PCI-E PCI BCM20702 for bluetooth ($8.99 on Ebay.) The bluetooth chip goes next to the hard drives and the wifi card is located near the CPU fan. They are quite easy to install.

Creation of USB Installer:

1. Mount 10.8.dmg file by clicking on it.
2. Use the ShowAllFiles app included in the downloaded files to show hidden files.
3. Mount the BaseSystem.dmg in the Mac OS X Install ESD window by clicking on it.
4. Insert your USB Flash Drive into a USB port.
5. Open Disk Utility and select the USB Flash Drive. Select partition on the right sid e and create a single partition with a GUID partition (not MBR). Format the drive giving it any name you choose and Mac OS Extended (Journaled) format type. Apply.
6. Select Mac OS X Base System on the left side. Select Restore on the right side. Mac OS X Base System should be in the source window on the right side. Drag your USB Flash Drive partition (not the entire drive) to the destination window and select restore. It will ask you if you want to erase the partition and for your password, select yes and provide password. Restore process should take about 3-4 minutes.
7. Your USB Flash Drive partition should now be named Mac OS X Base System. In that window, navigate to System/Installation. Delete the Packages alias (shortcut). Copy the entire Packages folder from your OS X Install ESD windows to your USB System/Install folder. The copy time should be about 7 minutes.
8. Copy mach_kernel and kernel cache from OS X Install ESD to the root directory of your USB drive.
9. Copy Extra folder from downloaded files to the root directory of your USB drive. Remove the DSDT.aml and SSDT.aml files from the Extra folder if you are installing on an HP Envy other than my model (HP Envy 17-3200 CTO). You will need to make your own post-installation.
10. Copy the OSInstall.mpkg file in the patch folder in the downloaded files to System/Installation/Packages folder on your USB Drive. Replace the one that is already there.
11. Copy the OSInstall file in the patch folder in the downloaded files to:
/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/OSInstall on your USB Drive. Replace the one that is already there.

12. Install all kexts in the S/L/E folder of the downloaded files to S/L/E on your USB Drive using kext wizard.
13. Delete AppleHDA.kext
14. Repair permissions for S/L/E by dragging the Extensions folder over Kext Utility. Take the Extensions.mkext file created by Kext Utility and move it to:
System/Library/Caches/com.apple.kext.caches/Startup.

15. Install Chameleon to USB drive. Select customize during the installation process, and select the following options: Modules: Kernel Patcher and Resolution; Settings: Resolution: 1920x1080x32. Leave everything else alone.
16. Cross your fingers, connect USB Mouse and Keyboard and try booting from the USB Drive. I did not need to type in any boot arguments to boot up. Follow instructions to install to an empty drive or partition of your choosing.

Post-Installation

17. Following successful installation, boot into drive where you can access your newly installed ML installation. If you try to boot up into your new ML installation, you will likely get a KP. From this other drive, copy the Extra folder from your USB Flash drive to the root directory of your new ML installation. Also either copy or, preferably, install using Kext Wizard, all of the kexts in S/L/E folder of your downloaded files (or green kexts in S/L/E on your USB Flash drive) to S/L/E in your new ML installation. You should now be able to boot into your new ML installation drive/partition.
18. You can disconnect your USB Mouse and Keyboard and go into advanced bluetooth settings and uncheck the boxes for bluetooth setup assistant to open when USB mouse or keyboard not found.
19. If you do not already have a bootloader installed on the drive where you installed ML, install Chameleon to your ML installation in the same way you installed it on your USB Flash Drive. If you already have a bootloader installed, you can skip this step.
20. Install the Combo Update for 10.8.2, which you can get from the Apple website. Install but do not restart. After successful installation of 10.8.2, reinstall all green S/L/E kexts as you did before using kext wizard. Also, delete AppleHDA.kext from S/L/E. Then restart.
21. If everything worked correctly for you, you should now have 10.8.2 running. Go into Extra/Chimes and copy the mac script to login items in your users & groups preferences. If you click on the mac script file, you should hear the mac startup chime but only in your front speakers, not the subwoofer.
22. To activate your subwoofer, go into Utilities/Audio Midi Setup. You should see, among other things, speaker (analog) and speaker (multi). Speaker (multi) is your subwoofer. To get all speakers to play together, we need to create a multiple output device. Select the plus sign in the bottom left corner and select multi-output device. Select Speaker (analog) and speaker (multi). In the left column, expand the multi-output device by clicking on the arrow next to the device listing. Speaker (analog) will show a volume on the right side of 0.8. Leave that alone. Speaker (multi) will show the same volume level. We need to reduce that to 0.4 so that it does not create a buzzing sound. There should always be about a 2:1 ratio between speaker (analog) and speaker (multi). Once the volume levels are set, right click on the multi-output device and select "use this device for sound output." You will notice that the volume control in the menu bar becomes grayed out. That cannot be helped, unfortunately. Now test your sound out and see if you have all speakers working. To adjust your volume, you either need to go into Audio Midi Setup or you can download a free app called PTHVolume, which works in ML, but will not automatically load on startup. You need to start it manually from system preferences every time you boot up. It sucks, I know but that's the only solution so far, and that goes for real macs too, not just this set up.
23. At this point, you should have all of your hardware working and you can set up the rest as you like. The battery should show up if you decide to install iStat menu items. If you do not have speedstep working, you will need to create your own dsdt.aml and ssdt.aml. I created my dsdt.aml using Chameleon Wizard. I created my own ssdt.aml using MaciASL. Take the extracted files from those two apps and put them in your Extra folder.
24. Please note that sleep should work. However, to get sleep to work, the laptop must be unplugged or disconnected the AC Adapter. Sleep should work both by closing the lid and by selecting sleep from the menu which you can access either by clicking on the apple menu or by pressing the power button.

Let me know how this worked for you.

NOTE:  The size of the files for this is too large for a single post on this forum.  You can download the files from here:
http://www.osx86.net...do=file&id=3632

[HELP] HP Beats Audio Subwoofer

31 December 2012 - 07:54 PM

I have an HP Envy 17t-3200 laptop.  It has Beats Audio, which includes 2 speakers that sound like tweeter/mid-range speakers and 1 subwoofer for bass.  I get audio working with VoodooHDA version 2.74 and have added my Device ID and Vendor ID to the info.plist.  It gives me speaker output, headphone output and 3 HDMI audio outputs.  The audio from the headphones sounds very good, but the external speaker output does not make the subwoofer work so the external speakers sound very thin and reedy and there is no bass at all.  Any ideas how I can get the subwoofer to work?

Installation Fails Due to Kextcache Error 71

20 August 2012 - 10:25 PM

When I try to install ML, I get this error in the installation process.  I have been able to work around it but would like to try to fix it.  Here's what my install log says:

Quote

Aug 20 08:03:31 localhost OSInstaller[322]: PackageKit: kextcache -update-volume /Volumes/HDD-ML -Installer
Aug 20 08:03:34 localhost OSInstaller[322]: kextcache: IOPCIFamily.kext is not authentic; omitting.
Aug 20 08:03:35 localhost OSInstaller[322]: kextcache: AppleSmartBatteryManager.kext is not authentic; omitting.
Aug 20 08:03:35 localhost OSInstaller[322]: kextcache: AppleACPIEC.kext is not authentic; omitting.
Aug 20 08:03:35 localhost OSInstaller[322]: kextcache: AppleACPIButtons.kext is not authentic; omitting.
Aug 20 08:03:35 localhost OSInstaller[322]: kextcache: AppleACPIPlatform.kext is not authentic; omitting.
Aug 20 08:03:36 localhost OSInstaller[322]: kextcache: /Volumes/HDD-ML/System/Library/Extensions/IOPCIFamily.kext is not authentic; omitting from prelinked kernel.
Aug 20 08:03:36 localhost OSInstaller[322]: kextcache: Can't use IOPCIFamily.kext - not linked.
Aug 20 08:03:36 localhost OSInstaller[322]: kextcache: Prelink failed for com.promise.driver.stex; aborting prelink.
Aug 20 08:03:36 localhost OSInstaller[322]: kextcache: Failed to generate prelinked kernel.
Aug 20 08:03:36 localhost OSInstaller[322]: kextcache: Child process /usr/sbin/kextcache[377] exited with status 71.
Aug 20 08:03:36 localhost OSInstaller[322]: kextcache: Error 107 rebuilding /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache.
Aug 20 08:03:36 localhost OSInstaller[322]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=121 "An error occurred while updating system extension information." UserInfo=0x7f99cd1f6770 {NSUnderlyingError=0x7f99cd170e50 "The operation couldn’t be completed. (kextcache error 71.)", NSLocalizedDescription=An error occurred while updating system extension information., arguments=(
   "-update-volume",
   "/Volumes/HDD-ML",
   "-Installer"
)} {
   NSLocalizedDescription = "An error occurred while updating system extension information.";
   NSUnderlyingError = "Error Domain=kextcache Code=71 \"The operation couldn\U2019t be completed. (kextcache error 71.)\"";
   arguments = (
   "-update-volume",
   "/Volumes/HDD-ML",
   "-Installer"
   );
}

Now, all of the kexts which are identified as "not authentic" are roll-back kexts I need to use to get the USB installer to boot.  I have repaired permission on the USB installer using Kext Utility and created an Extensions.mkext file which is placed in

/System/Library/Caches/com.apple.kext.caches/Startup/

and, in fact, needed the mkext file in order to boot.  If I replace those "not authentic" kexts with the ones from 10.8, the USB installer will not boot.  I have tried putting the 10.8 kexts in S/L/E and put the roll-back kexts in Extra but that did not work either - the USB installer would not boot up.  Some here had suggested using Disk Utility to repair permissions for the USB installer but that is not an option in Disk Utility.  I'm stuck.

Mountain Lion 32-bit Kernel?

07 August 2012 - 05:28 PM

Netkas reported that he compiled a 32-bit XNU kernel for ML.  Here's the link:  http://netkas.org/?p=1187  I tried it out (mach_kernel and System.kext) and the kernel loaded with the arch=i386 boot argument.  However, I got a KP almost immediately because the corecrypto.kext would not load.

Has anyone else tried out this kernel?  Any success stories yet?

© 2013 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy