Commit Graph

480 Commits

Author SHA1 Message Date
SergeySlice
33816ae90a separate prelinked and symtab
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-20 19:05:18 +03:00
SergeySlice
7188cde799 repaired symbolic patching for bigsur
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-20 11:52:36 +03:00
Sergey Isakov
b544e86e4b extend memory range to find boot structure
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-19 16:41:52 +03:00
Sergey Isakov
cf5b919627 force init patcher
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-19 11:50:00 +03:00
Sergey Isakov
762eac695c fix find kernel container
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-18 21:06:10 +03:00
Sergey Isakov
5e911e4b1d added bigsur to Clovy theme
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-18 15:27:17 +03:00
SergeySlice
bfe7db9208 shift symbolic table
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-17 23:45:01 +03:00
SergeySlice
df946b75f4 fix mistakes
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-17 14:40:16 +03:00
SergeySlice
16ef973a71 more definitions for macho
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-17 14:36:51 +03:00
SergeySlice
d320eb9693 made kext injection in bigsur with the method by kuckkuck
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-17 06:28:17 +03:00
SergeySlice
cd23181296 move OcQuirks.plist into config.plist and into GUI menu
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-15 20:29:27 +03:00
SergeySlice
38106e53a7 add ability to dump smc
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-14 10:51:12 +03:00
SergeySlice
6dbdf12257 extend OS version numeration
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-13 19:30:43 +03:00
SergeySlice
7e728f542e take version string 11.0 if present
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-13 10:12:18 +03:00
SergeySlice
bb59d21a01 take into account that BigSur can be 10.16 or 11.0
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-13 09:59:31 +03:00
SergeySlice
9efd195bbb one more quirk for dsdt by Exception
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-12 22:10:21 +03:00
Sergey Isakov
620401dca6 preliminary include OcQuirks into the project with huge amount of unnecessary dependencies
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-09 22:06:48 +03:00
SergeySlice
b0444eac74 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-07-07 09:22:43 +03:00
SergeySlice
56ad0e511a update MachoLib
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-07 09:19:59 +03:00
Sergey Isakov
b9f87e1443 reduce search range, by tluck
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-06 07:04:01 +03:00
Steve
34759a5bd5 Update FixRenameByBridge2() to let it work in SSDTs 2020-06-30 14:28:37 -04:00
Steve
3281303260 Add missing TgtBridge check in AcpiPatcher::PatchAllTables(), fix unexpected rename in OEM SSDTs when TgtBridge is set 2020-06-30 08:56:16 -04:00
SergeySlice
90588855bd exclude unused variable, it was used for debugging
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-28 20:53:37 +03:00
SergeySlice
982332e440 more robust search symbols
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-27 05:57:27 +03:00
SergeySlice
428c6bb35a update apple's headers
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-24 13:31:00 +03:00
SergeySlice
1856b519e5 position in installer bigsur
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-24 07:20:45 +03:00
SergeySlice
a0948b2515 prepare for 10.16
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-22 21:47:45 +03:00
SergeySlice
109d1f581c unload audiodxe before system start
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-18 19:08:00 +03:00
SergeySlice
ad0b325a04 correct platform dat, thanks to andrey1970
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-12 08:23:30 +03:00
SergeySlice
65969fd0a4 correct platfrom feature for new imac
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-11 05:00:42 +03:00
SergeySlice
f8a010245f disable boot by space press
to avoid side effects

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-09 14:11:05 +03:00
SergeySlice
0f5da727e0 reset HDA after use
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-05 15:15:31 +03:00
SergeySlice
98b3d37277 security update for startup sound
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-05 12:43:12 +03:00
SergeySlice
18b35c87f4 correct entry find algo for Catalina
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-04 20:53:23 +03:00
SergeySlice
15432aafe3 check media path when choose boot volume updating Catalina, issue 84
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-04 13:53:53 +03:00
SergeySlice
6baadc62b7 check ru localization of Clover.app
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-02 18:08:12 +03:00
asava
28ca396699 An additional location with Cyrillic character 2020-05-30 19:49:12 +03:00
vectorsigma72
77ce5d0072 Replacement of Cyrillic character with latin one 2020-05-30 18:22:31 +02:00
SergeySlice
d36f1ae23a embedded patch to cure 8 apples
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-27 21:04:31 +03:00
SergeySlice
59c3764c27 additional settings for vector theme
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-26 20:12:54 +03:00
SergeySlice
be079edc92 dynamic images again with memory free
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-23 14:16:02 +03:00
Sherlocks
307b02fdb7 Update FW Version from 10.15.5 beta5 2020-05-21 21:52:23 +09:00
Sherlocks
bbcc916bba Updated firmware versions for T2 models. by Andrey1970
Added MBP162 and MBP163 models
2020-05-20 22:23:49 +09:00
SergeySlice
5c61d2a0ea default is daylight
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-18 23:10:38 +03:00
SergeySlice
0aca20217d rasterize svg when needed
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-18 22:40:47 +03:00
SergeySlice
85d3bd1ad9 dynamic daylight, some optimisation
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-17 21:56:10 +03:00
SergeySlice
22f9adcbc9 using XIcon class for dynamic images
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-16 22:30:29 +03:00
SergeySlice
730f3c77be wrong format for serial string
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-15 09:12:50 +03:00
SergeySlice
7af605b0b6 eliminate some warnings by gcc10
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-15 06:23:33 +03:00
Sergey Isakov
42d5aa6a97 eliminate some VS warnings
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-05-14 13:39:50 +03:00
SergeySlice
32d18af83e advance svg theme
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-14 10:03:06 +03:00
SergeySlice
de7ac1c1c6 disable deprecated functions
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-13 11:18:12 +03:00
SergeySlice
56c4e4dd48 exclude unused variables, move globals into class
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-11 18:44:00 +03:00
SergeySlice
84ebcbb439 NoDefaultProperties will be true by default, AddProperties to be deprecated
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-11 09:30:45 +03:00
SergeySlice
bcaecf0c57 advance xcpm patch by vector sigma
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-10 21:21:51 +03:00
Jief L
a2b23b391f Add XStringArray::remove and removeIC tests. Create var for "quiet" and
"splash".
2020-05-10 12:41:34 +03:00
Jief L
1279ce374d Little improvement + comment related to strguid. 2020-05-10 10:05:34 +03:00
Jief L
f7b99e3005 Fix strerror and strguid. 2020-05-10 09:49:46 +03:00
SergeySlice
0b7eed38f1 no more drop DSM method, it is not universal
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 12:15:03 +03:00
SergeySlice
d5305c8cc8 exclude Kernel support CPU patch as redundand and not correct
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 11:55:33 +03:00
SergeySlice
7e2dcf5583 make XCPM patch more symbolic
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 11:36:20 +03:00
SergeySlice
dc4d0062a8 Kernel pointer will be member of loader class
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 10:56:30 +03:00
SergeySlice
c36b0438b3 remake some patches to symbolic
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 08:51:12 +03:00
SergeySlice
5cb5243b79 always patch PM if XCPM
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 08:22:31 +03:00
SergeySlice
4ed54a19cd advance KernelPM for Catalina
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 07:59:38 +03:00
SergeySlice
1c637c0515 use const arrays
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-08 10:11:47 +03:00
SergeySlice
9b673232f7 use new method for RTC patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-07 21:13:08 +03:00
SergeySlice
8f5a4616b2 dont hang on AICPUPM patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-06 16:35:25 +03:00
SergeySlice
562e571d32 take into account longer DSDT
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-06 09:21:30 +03:00
SergeySlice
1a3081dc27 new lapic patch, simplify searchProc
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-05 22:15:59 +03:00
SergeySlice
6a4d892667 correct KernelPm patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-05 15:12:01 +03:00
SergeySlice
33a9cc85ab print as hex, not bytes
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-05 10:38:58 +03:00
SergeySlice
bdcc953ecd wrong print format
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-05 10:19:15 +03:00
SergeySlice
f0c8a7c96f testing KernelPm patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-05 09:09:48 +03:00
asava
cf41491adc Menu width fixes, proportional font fixes, other menu tweaks 2020-05-05 02:52:00 +03:00
SergeySlice
85aee74658 remake kernelPm patch, not enabled yet
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-04 22:31:12 +03:00
Jief L
ce9538bb4e strcpy bug. DecodeOptions bug. 2020-05-03 23:53:50 +03:00
SergeySlice
9166ed8c9c correct format for debug output
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-03 20:34:46 +03:00
SergeySlice
486f6473ff fix conflicts
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-03 20:20:34 +03:00
SergeySlice
70fea56ee4 change a way to find symbols in kexts
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-03 20:16:50 +03:00
Sergey Isakov
2502b0d825 temporary disable new RTC patch
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-05-03 14:16:44 +03:00
asava
d10cadac4b Correct typo in previous commit 2020-05-03 10:21:50 +03:00
asava
ccfbc5b558 Correct some mistakes with kernel/kext patcher 2020-05-03 10:03:06 +03:00
SergeySlice
d7d3c960a9 simplify SIP patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-03 07:10:02 +03:00
asava
06f1f9301a Correct LoadOptions lost after pressing SpaceBar, and arch= (older systems) not being used 2020-05-02 22:57:41 +03:00
SergeySlice
5ed90999d2 simplify AppleRTC patch by RodionS
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-02 19:00:31 +03:00
SergeySlice
abc41b5b64 one more case for sip patch take into account
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-02 16:30:33 +03:00
SergeySlice
e9d9b22f37 advance kernel patch using proc names
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-02 13:12:53 +03:00
SergeySlice
2eb070776b wromg mask
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-02 08:03:29 +03:00
SergeySlice
b673288e5d improve catalina sip patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-02 07:53:18 +03:00
SergeySlice
355e99d6bf new way kext allowing patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-02 06:38:38 +03:00
SergeySlice
314652c49c resolve conflicts
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-01 19:30:22 +03:00
SergeySlice
6b33696c93 kext and kernel patches will be part of LOADER_ENTRY class
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-01 19:26:28 +03:00
asava
64de6d0fef Correct some problems when changing config files 2020-05-01 03:14:11 +03:00
asava
1ec91d72cd A few corrections needed for Linux booting in some cases 2020-04-30 21:17:54 +03:00
Jief L
e170b16516 Rename XString to XString8. 2020-04-30 09:03:56 +03:00
Jief L
82b679bcbd Avoid memory copy at XString initialisation. 2020-04-30 08:17:51 +03:00
Jief L
d27afce852 Comment out unused global var. 2020-04-29 23:32:22 +03:00
SergeySlice
804bca204a disable new patching until verified
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-29 23:09:59 +03:00
Sergey Isakov
93d6fb6fdf restrict search
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-29 18:13:35 +03:00