johnnynunez / Xiaomi-Notebook-Air-1Gen

Xiaomi Notebook Air 1rst Gen
175 stars 38 forks source link

Shoutdown Problem #1

Closed iErics closed 5 years ago

iErics commented 6 years ago

I successfully installed Mojave with your EFI, thank you very much. But I am facing a problem now. The laptop does not completely shutdown. When I give the shutdown command I can briefly see the screen goes off but then the led on the power button and the USB stays on. I have to press on the power button for some seconds to 'force' the laptop to go off. Can you help me to solve the problem? Thank you very very much ! ! !

johnnynunez commented 6 years ago

hello, I don't have any hackintosh or any Xiaomi. Soon I will have the Xiaomi mi Air 4 gen. Until then I can not help you.

shirukai commented 6 years ago

I also encountered the problem of unable to shut down, and my computer brightness adjustment is also a problem, excuse me, how to solve this problem. Thank you

becrespi commented 6 years ago

Same problem for shutdown, the computer can't sleep neither :/ Someone have find a solution ? 

johnnynunez commented 6 years ago

I know fix this problem but actually I don't have hackintosh

shirukai commented 6 years ago

@johnnync13 Thank you,Can you tell me how to fix this problem?

johnnynunez commented 6 years ago

@shirukai in principle you only have to touch some parameters of the RMCF. It does not shut down because the usb causes the problem. Soon I will upload a new efi with the correction of the hdmi for example. For the brightness keys I need the physical device and I do not have it and I'll tell you again the same as in this link: https://www.tonymacx86.com/threads/successfull-xiaomi-notebook-air-6200u.258081/

'' I'm studying computer engineering. My english is poor and I don't have this laptop, I only fix the generic methods that provide Rehabman. I have last xiaomi air generation, Xiaomi i7 8550u. Spanish comunity telegram provide me DSDT and SSDT origin files and so, I don't fix all the issues. I'm studying English actually and in my free time, I'm learn a little of hackintosh, deep learning and reverse engineering, but actually I'm just a simple fan''

shirukai commented 6 years ago

@johnnync13 Thanks,My English is poor too.I am very glad that you can reply to me and hope that we can exchange more.

johnnynunez commented 6 years ago

You have to try my latest version. I change a lot of things.Brightness ley works for example and trackpad perfectly

shirukai commented 6 years ago

@johnnync13 I just tried the version two hours ago and found it still can't shut down, and the touch pad, the integrated display card,HDMI is having problems.

shirukai commented 6 years ago

I updated your EFI yesterday, but my computer couldn't boot.

johnnynunez commented 6 years ago

I need more information. https://www.tonymacx86.com/threads/tool-generate-proper-problem-reporting-files.235953/

I'm waiting for Mojave Release. Actually I I don't support Mojave because for example voodooi2c is not all compatible. And I need information of your ports.

https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/

alexey-kuz commented 5 years ago

Hello, sorry I'm writing here. Why do you use Voodooi2c for the touchpad? I have this laptop (1 generation), the touchpad works on PS / 2. I tried to use your configurations to load 10.14 - compared to mine, I also received a non-working touchpad

johnnynunez commented 5 years ago

I use voodooi2c to enable trackpad @alexey-kuz

johnnynunez commented 5 years ago

@shirukai use my last version tag. I think that trackpad could work.. https://github.com/johnnync13/Xiaomi-Notebook-Air-6200u/releases/tag/v1.3

alexey-kuz commented 5 years ago

@johnnync13 strangely, using voodooi2c, I get a "trackpad not detected"

johnnynunez commented 5 years ago

Try my last release https://github.com/johnnync13/Xiaomi-Notebook-Air-6200u/releases/tag/v1.3 @alexey-kuz

alexey-kuz commented 5 years ago

 @johnnync13 no changes

shirukai commented 5 years ago

I use your last version tag just now,but trackpad could not work and could not shutdown.

johnnynunez commented 5 years ago

https://github.com/johnnync13/Xiaomi-Notebook-Air-6200u/releases/tag/v1.5 @alexey-kuz @shirukai Trackpad and brightness works now. Only not works shutdown..

shirukai commented 5 years ago

OK,I have tried your latest version, the touchpad can be used, but the computer starts very slowly.about need 2-3 minutes.

alexey-kuz commented 5 years ago

I confirm that the touchpad works with the plugin for voodoops2. At the same time, I have no problem with the long start of the computer (start in 10-15 seconds). Also noticed that now displays 2GB vram hd520. Now I have problems:

  1. Shutdown (I'm looking for a solution);
  2. It's strange, but the flash drive is not detected in the usb port on the left side (ioreg also does not see it), while the devices like mouse or wifi dongles work. In the usb port on the left side, all devices are detected correctly;
  3. Sometimes, when tapping on the touchpad, the cursor twitches. If you have a solution for this problem from voodoops2 - please let me know.
shirukai commented 5 years ago

Which EFI do you use,Can you share it with me?Thanks @alexey-kuz

alexey-kuz commented 5 years ago

@shirukai now I'm using efi v1.5 running @johnnync13 . However, I did not make any changes and I have no problems other than those I wrote above. If I were you, I would run Kext Utility. In my experiments with hackintosh sometimes there were errors of patch application when changing the driver version. Kext Utility helps to load them correctly.

Keep my previous version of efi (it has nothing to do with the configuration @johnnync13 ). It also worked fine for me until recently - the screen turned off when the notebook was turned on. Most likely this is because of my experiments with the system. Configuration can earn from you. Before use, you must have AppleIntelSKLGraphicsFramebuffer.kext installed from clover / kext / other for the correct operation of the video card.

johnnynunez commented 5 years ago

Change voodooi2c... It is problrm to boot slowly

johnnynunez commented 5 years ago

I use hotpatches because it is more fragmented and can be shared and updated quickly. So the version posted by me is totally different. For example, SKLFrameBuffer is not required, I use WhateverGreen .. https://www.tonymacx86.com/threads/guide-using-clover-to-hotpatch-acpi.200137/

alexey-kuz commented 5 years ago

Of course, my config is not relevant for 10.14. It was made yet for version 10.12 with small additions to work on 10.13. Nevertheless, it also works on 10.14, but it has the same problems as you do. Thank you @johnnync13 for your work on hackintosh on this laptop.

johnnynunez commented 5 years ago

https://github.com/johnnync13/Xiaomi-Notebook-Air-6200u/releases/tag/v2.3

shirukai commented 5 years ago

I used your latest EFI. Shutdown and trackpad does not work.The system version I used was 10.14.1. @johnnync13

calors commented 5 years ago

I used your latest EFI. Shutdown and trackpad does not work.The system version I used was 10.14.1. @johnnync13

10.14.2 also broke; use ApplePS2SmartTouchPad instead. but I hava not idea about shutdown and wake up

onenameneo commented 5 years ago

I used release V2.5 version, but the trackpad does not work

abenana commented 5 years ago

I used release V2.5 version, but the trackpad does not work

You can use latest VoodooPS2Controller It works fine

johnnynunez commented 5 years ago

Could anyone use the last version?

rawaf2017 commented 5 years ago

Brother can u write instructions for best way to instill this ver. Start from but osx in usb flash , please bro.

abenana commented 5 years ago

Wait, do you guys can use bluetooth? Mine doesn't work

finner commented 5 years ago

Using latest files I could not boot to installer. I managed to install mojave successfully with 2.5 version but trackpad and audio were not working. I had to use kexts from some other guy I found on YouTube. Johnny si es mejor para ti puede escribirme en castellano y puedo te ayudar con este laptop si es necesario para hacer experimentos. Gracias para todo!

johnnynunez commented 5 years ago

@finner si soy de bcn me da igual el idioma, estoy aprendiendo ingles actualmente

finner commented 5 years ago

Regarding the no trackpad issue my findings are the following : If the clover disk is set to primary boot device, then trackpad will not work at all no matter which kext I use. Trackpad also is not working in Windows or if it works clicking wont work. If the clover installation is set as second boot device then at first trackpad won't work with the EFI provided by Johnny but upon replacement with some other I found it will work but not that smooth Why do we need VoodooI2C and VoodooHID kexts? From what I saw trackpad and keyboard are tied VoodooPS2 kext.

johnnynunez commented 5 years ago

send me debugs with ioreg https://www.tonymacx86.com/threads/tool-generate-proper-problem-reporting-files.235953/

johnnynunez commented 5 years ago

trackpad will fix on next weeks. Now I have exams

johnnynunez commented 5 years ago

@finner trackpad should work now

finner commented 5 years ago

With the new release the machine boots normally (with 2.6 it will bootloop) but still no trackpad. i had to replace the voodooPS2 kext to get it working.

finner commented 5 years ago

Here is the debug files debug_10170.zip

johnnynunez commented 5 years ago

@finner do you have multitouch? The problem is this trackpad is synaptic by I2C. Should be work with voodooi2c in polling mode, and with voodooi2cSynaptic should be works with multitouch. Thanks for debug. VoodooPS2Controller is for keyboard

finner commented 5 years ago

Trackpad has basic function. Scrolling is really slow and cursor sometimes has strange behavior

johnnynunez commented 5 years ago

I can see that gpi0 works fine and i2c fix correctly but not appear in ioreg

finner commented 5 years ago

voodooi2cSynaptic does not exist at all inside kext folder. Does it need any prior patching?

johnnynunez commented 5 years ago

@finner you must rebuild kextcache and reboot You have 2 options: kext utility or terminal command terminal: sudo kextcache -i /

and then reboot. You should be work Check your FN button + Touchpad disable / enable to possible error

finner commented 5 years ago

Using the latest files that you uploaded a few minutes ago, trackpad is working. Installed VoodooI2C, VoodooPS2 and VoodooICHD on kext/other folder, rebuilt cache and rebooted.

EDIT Using the latest file pack I can also confirm that brightness control through keyboard works now fine and battery indication is also now correct! Great work!

johnnynunez commented 5 years ago

@finner shutdown works? If not works send me message on Telegram @hynrik

finner commented 5 years ago

@johnnyc13 shutdown doesn't work, multi touch gestures not working like switch safari pages full screen apps or use Spaces feature