Jump to content
rodrigocunha

[USB Wifi] Updated Ralink/Mediatek RT2870/ RT2770/ RT3X7X/ RT537X/ RT5572

334 posts in this topic

Recommended Posts

Advertisement

Has anyone managed to get this kext to work on an RT5360? Or is that significantly different from those supported by this kext (besides being that the one I mentioned ran off the PCI bus)?

Share this post


Link to post
Share on other sites

Has anyone managed to get this kext to work on an RT5360? Or is that significantly different from those supported by this kext (besides being that the one I mentioned ran off the PCI bus)?

 

This is a USB driver kext, i think it do not work for PCI devices...  :unsure:

Share this post


Link to post
Share on other sites

I am using rt2870 in yosemite with the above mentioned method, it connects but after 5-10 minutes there is no internet connectivity though it remains connected to the network...

Share this post


Link to post
Share on other sites

It doesn't work with my ASUS USB-N11 (VID: 0x1761   PID:  0x0b05) on Yosemite DP6

 

What I have done:

 

1. Copy prefPane

2. Copy kext

3. Run Kext Utility (it repair permissions and rebuild kext cache)

4. Reboot

5: ...... No Wireless Device Attached (((((

qogfx0.png

What I am doing wrong?

Share this post


Link to post
Share on other sites

It doesn't work with my ASUS USB-N11 (VID: 0x1761   PID:  0x0b05) on Yosemite DP6

 

What I have done:

 

1. Copy prefPane

2. Copy kext

3. Run Kext Utility (it repair permissions and rebuild kext cache)

4. Reboot

5: ...... No Wireless Device Attached (((((

qogfx0.png

What I am doing wrong?

 

Boot with "kext-dev-mode=1"

 

Copy mavericks kext to /System/Library/Extensions

 

Repair permissions and rebuild kext cache.

 

Reboot

 

Try to connect.

 

hint: Use this script to repair and rebuild: repairrebuild.zip

Share this post


Link to post
Share on other sites

So,
 
1) I found that command

sudo nvram boot-args="kext-dev-mode=1"

 
2) Reboot
3) Check that "kext-dev-mode=1" is ON
 

nvram -p

 
4) Copy Ralink-kext to /S/L/E
5) ....and see message: "The system extension cannot be use" after few seconds.
6) Sorry ((
 

Share this post


Link to post
Share on other sites

So,

 

1) I found that command

sudo nvram boot-args="kext-dev-mode=1"

 

2) Reboot

3) Check that "kext-dev-mode=1" is ON

 

nvram -p

 

4) Copy Ralink-kext to /S/L/E

5) ....and see message: "The system extension cannot be use" after few seconds.

6) Sorry ((

 

 

You are almost there! :)

 

Now repair permissions, rebuild kext cache and reboot! 

Share this post


Link to post
Share on other sites

repair permissions:

 

sudo chown -R 0:0 /System/Library/Extensions/*

sudo chmod -R 755 /System/Library/Extensions/*

sudo chown root:admin /

 

rebuild kext caches:

 

sudo kextcache -system-prelinked-kernel

sudo kextcache -system-caches

Share this post


Link to post
Share on other sites

I have a TP-link WN727N (RT5370) and Yosemite DP6 done everything here except I am using Clover injector and it isn't detected by the prefPanel utility, nor the Wifi icon appears, however its LED is blinking before this it was off.

 

Thanks

post-767483-0-44168800-1409646482_thumb.png

Share this post


Link to post
Share on other sites

I have a Tenda USB Wifi with RT5370.

 

I can confirm this drivers are working with Yosemite DP7, installed the kext using kextwizard and connected using the provided pref pane.

 

 

Getting 50mbps down 30mbps up.

Share this post


Link to post
Share on other sites

I have lion 10.7.3 and install with kextwizard in s/l/e, repair permissions and rebuild cache, but is off.

Muy product id is 0x7601

I buy un china without trademark...only i know that it's rt5370 ralink

Share this post


Link to post
Share on other sites

hey, this stuff works perfectly on yosemite dp8. thx a lot!

 

is there any way to set up connection to a specific network at start?

as there are some open networks in my area and it connect automatically to one of them and after every start I have to manually change networks.. 

Share this post


Link to post
Share on other sites

Yes you are right ! Thanks for the eye !

 

And it is working with OSX 10.10 DP8 automatically ( with profil drawer/connect order of my SSID) with my Dlink DWA 140 rev B1  USB dongle  !   :thumbsup_anim:

 

post-305243-0-34609300-1411771035_thumb.png

 

How it works for me:

  1. I took Dlink Utility prefpane v 2.6.4 from latest  "DWA-140_drv_RevD1_MACOS_4-2-9-4_UI_2-6-4-0_all_en_20140806.zip"
  2. Installed with Pacifist : Statup items folder in S/L/StartupItems

 

Then took with Pacifist :

  1. RT2870USBWirelessDriver.kext v 5.01.09 from  "MT7610U_D5.0.1.09_SDK1.0.2.10_UI5.0.0.15_20140822.dmg" from here http://www.mediatek.com/en/downloads/     and installed it with Kext Wizard
  2. And took RaWLAPI.framework and put it in S/L/Frameworks
  3. Rebuild cache and permissions with Kext Wizard v 3.7.10

    ;)

attachicon.gifDWA-140_drv_RevD1_MACOS_4-2-9-4_UI_2-6-4-0_all_en_20140806.zip

 

Share this post


Link to post
Share on other sites

thanks works perfectly by using kext utility

Share this post


Link to post
Share on other sites

Good with my USB Buffalo WLI-UC-G300N on yosemite with VID:0411/PID:016F, i much change hex to dec PID:016F to 367, i was edit info.plist.

 

Thanks!

Share this post


Link to post
Share on other sites

This works great. Thank you!!

 

I did notice that after you restart the machine, the wireless does not connect automatically.

Any way to fix that?

 

Thanks!

Share this post


Link to post
Share on other sites

 

Any way to fix that?

In System preferences you should have the D-link Utility preferencepane !

 

If so, ok , you open it and clik "Open Profile Drawer"

 

In "Connect Order" window which slides left you click on +

Chose your default SSID Wifi network

Authentification and security:

Chose your Authentication Type

and password

click ok

 

Now you should ( wich is my case ) have automatically at every reboot connecton on your default SSID Wifi network !

 

Good luck

Share this post


Link to post
Share on other sites

This solution works great.

 

I have one query: how can I disable/re-enable the Wifi or disconnect from a connection, without rebooting or unplugging the USB Wifi dongle?

Share this post


Link to post
Share on other sites

In System preferences you should have the D-link Utility preferencepane !

 

If so, ok , you open it and clik "Open Profile Drawer"

 

In "Connect Order" window which slides left you click on +

Chose your default SSID Wifi network

Authentification and security:

Chose your Authentication Type

and password

click ok

 

Now you should ( wich is my case ) have automatically at every reboot connecton on your default SSID Wifi network !

 

Good luck

That's actually what I did when I first set it up but no luck... I still have to activate the profile every time I reboot. 

Maybe I just didn't install the drivers properly? 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By ITzTravelInTime
      Hi guys, this thread is to show you a new and open source app, created by me, that I called TINU:
       
      The name means: TINU Is Not #####, the U refers to a popular software that is used to create macOS hackintosh installers (that for good reasons is banned on this forum), but the aim of the name is to explain that this app is a totally different thing from that software and works in a totally different way.
       
      This app basically is a graphical interface for the createinstallmedia executable that is inside the macOS and Mac OS X installer apps, it is capable to create a bootable installer completely vanilla like what you do using the command line method, and also this method is recommended by apple itself. In addition to this, this app provvides to you simplicity and flexybility, and lets you to avoid most of the steps needed with every other app.
       
      TINU allows you to create easily a bootable macOS installer without messing around with command line stuff and without using disk utility, all you need to do is use the app and then install clover on the usb drive once TINU has finished or leave it as is if you want to use it on a real Mac.
       
      Features:
        - Simple to use UI that allows you to easily start the bootable macOS installer creation process
        - It can work with every macOS installer app that has the createinstallmedia executable inside of its resources folder (including also beta and newly released installers)
        - You can use any volume you want that can be erased and is at least 7 GB of size (if the volume's drive is not in GUID format, TINU will format it to make it GUID!)
        - Works on Mac OS recovery, so you can create a bootable macOS installer from the macOS installer itself or from the macOS recovery, and you can use TINU to install macOS too.
        - All vanilla, the bootable macOS installers created with this tool are 100% vanilla, just like you created them using the command line "createinstallmedia" method in the terminal
        - Open source, you will know what this program does on your computer and also you can create your own version by downloading and playing with the source code
        - Does not require to do anything of special first, just open the program, and make sure you have a USB drive pulugged in and that you have a macOS installer app in the system.
        - No need to go in disk utility first, TINU can format your drive/partition for you
        - Uses recent and more modern APIs and SDKs and Swift 3 language
        - Transparent graphics style available (use alt + s on the keyboard or View->Use transparent style)
        - Works using the latest versions of macOS and will also support newer Mac installers out of the box without needing for an update
        - Advanced section, to customize your bootable macOS installer
       
        Features that are planned for some future versions:
        - Integrated EFI partition mounter tool (TINU can already mount EFI partitions from version 2.0, but a dedicated section which allows to mount every EFI partition in the system will be added)
        - Install clover and configure clover
        - Install kexts inside the kexts folder of clover
        - Clover drivers customization
        - Use custom dsdt in clover
        - integrated pre-made clover config templates database from a remote and open repository
        - Support for other languages, at least Italian
       
      Rquirements:
       - A computer that runs Mac OS X Yosemite or a more recent version (Mac OS X El Capitan is required to use TINU in a macOS recovery or installer)
       - A drive or a free partition (on a drive which already supports GUID) of at least 7 GB that you want to turn into a macOS/Mac OS X installer
       - A copy of a macOS/Mac OS X installer app (Maveriks or newer versions are supported) in the /Applications folder or in the root of any storage drive in your machine (excepted the drive or volume you want to turn into your macOS install media)
       
      Download:
        - You can download the pre-made and code signed binary from the releases section of the github repo: https://github.com/ITzTravelInTime/TINU/releases
        - Or you can just build your own copy by just downloading the source code and then using Xcode (requires Xcode 8):  https://github.com/ITzTravelInTime/TINU

      Frequently asked questions:
      https://github.com/ITzTravelInTime/TINU/wiki/FAQs

      Useful links:
       Thread (english) on insanelymac.com:
        - http://www.insanelymac.com/forum/topic/326959-tinu-the-macos-installer-creator-app-mac-app/
       
       Thread (italian) on insanelymac.com:
        - https://www.insanelymac.com/forum/topic/333261-tinu-app-per-creare-chiavette-di-installazione-di-macos-thread-in-italiano/
       
       Thread (english-german) on hackintosh-forum.de:
        - https://www.hackintosh-forum.de/index.php/Thread/33630-TINU/
       
       Facebook hackintosh help and beta testing (Italian only):
        - https://www.facebook.com/groups/Italia.hackintosh/?fref=ts
       
      Contact me (project creator):
        - Insanelymac.com profile: http://www.insanelymac.com/forum/user/1390153-itztravelintime/
        - email: piecaruso97@gmail.com

      Note that:
       - This software is under GNU GPL v3 license so any new branch/mod/third party release must be open source and under the same license
       - I (project creator) assume no responsibility for any use of this app and this source code, and also for any kind of hardware and software damage to any computer and any device or peripheral that may come from this app or source code during it's use and outside it's usage
       - I (project creator) do not guarantee support to you, this is only an open source project, not a product released by a company!
       - This project is born only for educational and demonstrative purposes, it's not intended to be used for commercial purposes and it will never be, don't use source code from this project to create apps or software for that aim.
       - This is a no-profit project, born only to let people to create macOS install medias in a more simple way and also to learn how to create this kind of apps.
       
       Credits:
        - Apple for macos and installer apps and scripts
        - People that helped me a lot:
         Francesco Perchiazzi, Nicola Tomarelli, Roberto Sciortino, Raffaele Sonnessa, Ermanno Nicoletti, Tommaso Dimatore, Michele Vitiello Bonaventura, Massimiliano Faralli, Davide Dessì, Giorgio Dall'Aglio, Thomas Tempelmann, Peter Paul Chato.   
        - Special thanks to Italian Hackintosh group!! for help (https://www.facebook.com/groups/Italia.hackintosh/?fref=ts)
        - Pietro Caruso (ITzTravelInTime) for creating, maintaing and developing this project
       
      I leave also some screenshots as well
       
       
       
       
       
       
       
       

    • By iTahaMe
      FINALLY IT'S WORKING THANKS TO @insanelymac
      But i have a single problem, My graphic card Radeon x1950 Pro not working, It used to work good on Snow Leopard but now its not on Yosemite i don't know why ... any kext needed ??
       
      Here the kext used to work good for me on Snow Leopard
      ATIRadeonx1000.kext 
      ATINDRV.Kext
      ATIRNDRV.Kext
       
       
      Any Help ? 
      Taha

    • By jdorz
      Hello all,

      I have successfully gotten my Hackintosh working 99 percent. The remaining issue that I am running into is that my system will randomly kernel panic upon a user issued shutdown or reboot WHEN I have either a usb sound card or usb headset plugged into any of my USB ports (both 2.0 and 3.0). If I remove the headset, it will power down with no issues. Does anyone have any suggestions?

      My system is as follows:
      MacOS 10.14 Mojave
      Gigabyte H370 HD3
      8400 i5 Coffee Lake
      Radeon RX 580 sound card

      I have the internal audio disabled. I have also attached my config.plist file.

      I have the following Kexts installed:

      FakePCIID_XHCIMux.kext
      USBInjectAll.kext
      FakeSMC.kext
      WhateverGreen.kext
      IntelMausiEthernet.kext
      XHCI-300-series-injector.kext

      Lilu.kext


      Thank you.
      config.plist
    • By fusion71au
      This is a brief guide on how to create a vanilla El Capitan (also same process for Sierra) OS X Installer USB with an updated prelinked kernel containing FakeSMC.

      It is tailored for those users who want to understand the “nuts and bolts” of how to create an installer and also to help brush up on their terminal skills (rather than have one made for them with the numerous automated “tools” available or even Apple’s createinstallmedia) :
       
       
      Specifically, it is also a “Proof of Concept” which shows that installation is possible without even having to rely on boot loader kext injection.

      Prerequisites
      Existing Yosemite installation (or Mavericks - see post#4 for steps 7,8) “Install OS X El Capitan.app" downloaded to the Applications folder Pacifist FakeSMC.kext - Slice or Kozlek branch Bootloader - Clover or Chameleon 8GB or larger USB drive (16GB recommended), formatted HFS+ (MBR or GUID) named “Installer”  
      Procedure
      1.  Boot into Yosemite with the kext-dev-mode=1 boot flag
      2.  Open OS X terminal and type the following lines, followed by <Enter> after each line.
          The image restore and file copying may take a while to complete, and at the end of the process, the Installer volume is renamed to “OS X Base System"....
       
      sudo -s hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg asr restore -source /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg  -target /Volumes/Installer -erase -format HFS+ -noprompt -noverify rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages cp -av /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System/System/Installation cp -av /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg /Volumes/OS\ X\ Install\ ESD/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System diskutil unmount /Volumes/OS\ X\ Install\ ESD exit 3.  Right click on the “OS X Base System” Volume and click “Get Info”
       

      4.  Click on the lock icon and untick “Ignore ownership on this volume”
       

      5.  Extract/Copy the El Capitan Kernels folder into /System/Library/ of the USB with Pacifist.  NB It is found in the "Essentials.pkg" in /System/Installation/Packages
       

      6.  Delete or Rename the original /System/Library/PrelinkedKernels/prelinkedkernel —> OG.prelinkedkernel
       

      7.  Copy FakeSMC.kext and other necessary kexts (e.g. VoodooPS2Controller.kext for laptops) into the /Library/Extensions folder of the installer USB using Finder.
       

      8.  Back in terminal, type the following lines, followed by <Enter> after each line to rebuild the prelinkedkernel…..
       
      sudo -s chmod -R 755 /Volumes/OS\ X\ Base\ System/Library/Extensions chown -R 0:0 /Volumes/OS\ X\ Base\ System/Library/Extensions touch /Volumes/OS\ X\ Base\ System/System/Library/Extensions kextcache -u /Volumes/OS\ X\ Base\ System exit Any errors should be noted but the output below is normal e.g.


      9. Install your Bootloader targeting the OS X Base System volume
       
       
       
       
      10.  Boot your system with the USB without injected kexts into the OS X Installer GUI....
       
       
       
       
       
      Post Install
      The original prelinked kernel in a fresh install of El Capitan will also lack FakeSMC ie it will only be linked to Apple signed kexts.  In order to boot into El Capitan the first time around without boot loader kext injection, the PLK needs to be rebuilt for the El Capitan volume like we did for the installer:
       
      1.  Boot into Yosemite with the kext-dev-mode=1 boot flag
      2.  Delete or Rename the original /System/Library/PrelinkedKernels/prelinkedkernel for the El Capitan volume —> OG.prelinkedkernel
      3.  Copy FakeSMC.kext and other necessary kexts (e.g. VoodooPS2Controller.kext for laptops) into the /Library/Extensions folder of El Capitan using Finder
      4.  Back in terminal, type the following lines, followed by <Enter> after each line to rebuild the prelinkedkernel.  In this example, the El Capitan volume is named "El_Capitan" - change if you have named it something else...
      sudo -s chmod -R 755 /Volumes/El_Capitan/Library/Extensions chown -R 0:0 /Volumes/El_Capitan/Library/Extensions touch /Volumes/El_Capitan/System/Library/Extensions kextcache -u /Volumes/El_Capitan exit 5. Install your Bootloader targeting the El Capitan volume.  This step is only necessary if you are installing El Capitan on a new drive without existing boot loader (not required if installing on a disk with existing boot loader beside Yosemite).
      6. Reboot your system without injected kexts into El Capitan!
       
       
      Other links
      The All-In-One Guide to Vanilla OS X for beginners
       
      Updates for Sierra and High Sierra   Custom Prelinkedkernel Generator Tool I have made a custom prelinkedkernel generator "PLK.tool" for Sierra + El Capitan.  Instructions:   1.  Download and extract the attached BaseSystem_PLK.tool.zip into your ~/Downloads folder.   2.  Copy any extra kexts necessary for booting your hack to ~/Downloads/BaseSystem/ExtraKexts (e.g. FakeSMC, VoodooPS2Controller), making sure SIP is disabled. 3.  Copy BaseSystem.dmg to ~/Downloads/BaseSystem  4.  Open terminal and run the following commands... cd ~/Downloads/BaseSystem chmod +x PLK.tool ./PLK.tool ---> supply your admin password ---> will place your new custom prelinkedkernel on the desktop.       macOS High Sierra bypass Firmware and MBR checks in post#13.
      BaseSystem_PLK.tool_ElCap.zip
      BaseSystem_PLK.tool_Sierra.zip
      BaseSystem_PLK.tool_Mojave.zip (need to run in Mojave to avoid dependency errors)
       
    • By unixb0y
      Bluetooth + AirDrop + Apple Watch "Auto Unlock" + Continuity / Handoff
      BCM20702 / TP-Link T9E (AC1900)
       
      I have a little update on getting BCM20702 running in Mojave:
       
      Without kext files, nothing worked "OOB" with my USB dongle. So I got "BrcmFirmwareStore" and "BrcmPatchRAM2" from RehabMan.
      I tried putting the kext files in /L/E , didn't work so I tried /S/L/E. * While that didn't work at first, I then tried to refresh the kext cache; the files didn't show up in kextstat.
      I used this command:
      sudo kextcache -invalidate / which told me 2 error messages: BrcmFirmwareStore and BrcmPatchRAM2 had the wrong permissions. This is fixed like so:
      sudo chown -R 0:0 /System/Library/Extensions/BrcmPatchRAM2.kext/ sudo chmod -R 755 /System/Library/Extensions/BrcmPatchRAM2.kext/ sudo chown -R 0:0 /System/Library/Extensions/BrcmFirmwareRepo.kext/ sudo chmod -R 755 /System/Library/Extensions/BrcmFirmwareRepo.kext/ Reboot and be happy! 
      Both the actual Bluetooth entry in System Preferences, that was missing before as well as an entry in System Report > Bluetooth finally appeared!
      I have a TP-Link Archer T9E WiFi card and now in conjunction, AirDrop does work like a charm! 
      Cheers, Dave 
       
      * EDIT:
      RehabMan replied to me on GitHub and it's not recommended to use /S/L/E and you should let that folder remain reserved for Apple original kext files. So I tried putting the files (with the correct permissions) back into /Library/Extensions and Bluetooth and AirDrop both still work fine!
      So I would recommend to put the files either into EFI/EFI/CLOVER/kexts/Other or - like me - into /Library/Extensions and after (or before) copying the two kext files, set the permissions like shown above for both files with chown and chmod.
       
      EDIT2: 
      I totally forgot to mention that even unlock via Apple Watch works! I assumed it would not work, until the "iMac" itself saw my Watch and kindly asked if I wanted to activate it  I immediately turned the feature on and it's working like a charm!
      What also perfectly works is Handoff. It's a feature that I never found really useful, especially between iOS and Mac, however when I have a Safari window open on my iPhone, the Hackintosh shows me the handoff Safari icon in the App switcher as well as in the dock (only tested Safari for now) and it behaves just like on my MacBook Pro!
      Universal Clipboard is also working as well as SMS / MMS.
      I couldn't test "Cellular Calls" and the "Continuity Camera" as I don't have a second phone and it's quite late here right now for calling someone on the telephone and I don't have any iOS 12 devices either. The "Instant Hotspot" did not work, but I think that anybody going the TP-Link T9E + BCM20702 way is building a PC that is permanently attached to WLAN or even LAN (Ethernet), so that's not an issue. I think laptop Hackintoshers should just use a MacBook WiFi card as they probably already have the connector etc. etc. (no adapter or Motherboard-dependent solutions needed).
×