daliansky / XiaoMi-Pro-Hackintosh

XiaoMi NoteBook Pro Hackintosh
BSD Zero Clause License
2.61k stars 471 forks source link

hi i managed to undervolt cpu through "voltageshift" getting much lower temperatures and consumption. #150

Open fladnaG86 opened 5 years ago

fladnaG86 commented 5 years ago

hi i managed to undervolt cpu through "voltageshift" getting much lower temperatures and consumption. I have set offset a -150 for cpu -90 for gpu and -150 for cache memory. the battery lasts a lot longer, the performance are much higher. voltageshift.zip I have created two scripts, they must be modified with your login password. The voltageshift folder should be copied into downloads. My xiaomi is the core i5 mx150 with bios 603 and patch for undervolt.

Originally posted by @fladnaG86 in https://github.com/daliansky/XiaoMi-Pro/issues/97#issuecomment-460189670

fladnaG86 commented 5 years ago

Cinebench with voltageshift https://www.dropbox.com/s/zq874p0le5x405g/Screenshot%202019-02-04%2011.06.13.png?dl=0

fladnaG86 commented 5 years ago

per modificare usa textwrangler

Il giorno 4 feb 2019, alle ore 11:13, Mateo1234454545 notifications@github.com ha scritto:

How to modify password?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/daliansky/XiaoMi-Pro/issues/150#issuecomment-460193638, or mute the thread https://github.com/notifications/unsubscribe-auth/AtICfkkOY7dG7Htrm0Fp4ZtH7GDwV83Wks5vKAe7gaJpZM4ag4Cz.

fladnaG86 commented 5 years ago

After you downloaded the binary you need to change the file permissions by running the following command in terminal: sudo chown -R root:wheel VoltageShift.kext

stevezhengshiqi commented 5 years ago

Nice Job! I currently don’t have my Xiaomi laptop. I will test it as soon as I get my laptop.

Menchen commented 5 years ago

Seem awesome! Can you share the battery life before and after undervolt, I will try it when I have spare time (have no time to fix for "non stable" crash D;(just recovered from time machine due to macos upgrade problem(freeze or fake black screen after clover when updating(I may have abused parentheses ))))

Also does this work for i7 model?

fladnaG86 commented 5 years ago

Seem awesome! Can you share the battery life before and after undervolt, I will try it when I have spare time (have no time to fix for "non stable" crash D;(just recovered from time machine due to macos upgrade problem(freeze or fake black screen after clover when updating(I may have abused parentheses ))))

Also does this work for i7 model? works with cpu intel Haswell / Brodwell and kaby lake. In my case I managed to reduce the mV of 150 for cpu and cache, while for the gpu only 90mV. Each CPU is a case in itself. If you set it too low the system will freeze, please turn OFF completely and turn ON computer to reset back the undervolt to 0mV.

fladnaG86 commented 5 years ago

after 10 minutes I unplugged the battery charger signals me 6:32 of autonomy

screenshot 2019-02-04 22 37 17
fladnaG86 commented 5 years ago
screenshot 2019-02-04 22 50 22

:)

fladnaG86 commented 5 years ago
screenshot 2019-02-04 23 16 26

after about 45 minutes of browsing on safari some benck with cinebenck gives me again 6 hours and 48 minutes of autonomy

artemis77799 commented 5 years ago

hi, it seems awesome, but i didn't understand how i can Install this, sorry i'm a newbie

artemis77799 commented 5 years ago

and if i want to Change it back to default what do i have to do

artemis77799 commented 5 years ago

ah ma sei italiano, cazzo ti prego aiutami ahahah se hai insta scrivimi @federicofdiana

fladnaG86 commented 5 years ago

Ciao spiegami che è successo, per ritornare a default ti basta spegnere il portatile

Inviato da iPhone

Il giorno 8 feb 2019, alle ore 19:11, artemis77799 notifications@github.com ha scritto:

ah ma sei italiano, cazzo ti prego aiutami ahahah se hai insta scrivimi @federicofdiana

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

artemis77799 commented 5 years ago

Ciao spiegami che è successo, per ritornare a default ti basta spegnere il portatile Inviato da iPhone

ho capito come far partire lo script ma non come installare il file .kext, potresti aiutarmi?

fladnaG86 commented 5 years ago

sure to have unlocked undervolt on the bios? You have to use the patch for undervolt bios https://github.com/stevezhengshiqi/XiaoMi-Pro/issues/8

Il giorno 4 mar 2019, alle ore 10:28, TobiasBouma notifications@github.com ha scritto:

Undervolt does not work for me, while I use the identical processor, i5-8250. VoltageShift is owned by root:wheel but voltageshift offset - leads to a 0 mv before and after voltageshift. Has anyone made it work? I'm using OS High Sierra by the way.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/daliansky/XiaoMi-Pro/issues/150#issuecomment-469180573, or mute the thread https://github.com/notifications/unsubscribe-auth/AtICfn4Wf1PjI5gYas1vgRDEgVpHzmTcks5vTOc2gaJpZM4ag4Cz.

MidnightSong commented 5 years ago

it prompted me that my password was wrong before I entered it.

Menchen commented 5 years ago

Change the password inside that file, or run that command directly with sudo

Salvatore95 commented 5 years ago

hi i managed to undervolt cpu through "voltageshift" getting much lower temperatures and consumption. I have set offset a -150 for cpu -90 for gpu and -150 for cache memory. the battery lasts a lot longer, the performance are much higher. voltageshift.zip I have created two scripts, they must be modified with your login password. The voltageshift folder should be copied into downloads. My xiaomi is the core i5 mx150 with bios 603 and patch for undervolt.

Originally posted by @fladnaG86 in #97 (comment)

@fladnaG86, can you help me with the procedure? This is my first Hackintosh; could you explain the procedure in detail? this is my telegram account @sasi_95 if you want to contact me in private (I'm italian)

Parthvsquare commented 4 years ago

what should i do about the kext should i copy to C/K/O or delete it?

MarFre22 commented 4 years ago

@fladnaG86 , thank you very much for your scripts!

@Parthvsquare , I made a automator's app that, automatically, during the boot, open the "voltage set.command" script. It's working and I don't need to add that kext (that can make EFI unstable). Here https://github.com/daliansky/XiaoMi-Pro-Hackintosh/issues/389#issuecomment-626885056, you can download this app.

I hope I’ve contributed.

Parthvsquare commented 4 years ago

@fladnaG86 , thank you very much for your scripts!

@Parthvsquare , I made a automator's app that, automatically, during the boot, open the "voltage set.command" script. It's working and I don't need to add that kext (that can make EFI unstable). Here #389 (comment), you can download this app.

I hope I’ve contributed.

i am still having higher temps

MarFre22 commented 4 years ago

@Parthvsquare Assuming you made an stable undervolting (use the info script to verify that), you can activate Speed Shift which is nice feature to have, I feel it gives more performance in daily use. Also It can be related with the thermal paste, I'm using Thermal Grizzly Kryonaut, or general clean. Or you feel that you have the same high temps than before, but now you have more GHz (a bit more performance). In extremely cases, I hope not, it can be a sporadic bug on the bios, try to reinstall.

When I said that I have better temps, I'm not saying that it's colder at max load. Because in max load the internal and external temps are the same but I can have more performance (2,09GHz -> +-2,37GHz).

I hope I could help, because we have many variables related with temps.

Parthvsquare commented 4 years ago

image OC mailbox cmd failed? will there any problem

MarFre22 commented 4 years ago

@Parthvsquare, Not a problem, it's fine, you activated the undervolting. Mine is the same as yours: imagem I tried and I can safely change the values to -110 -75 -110.

lloydeeaquino commented 1 year ago

Hi why mine showing temp at 96C?