jief666
70988228c4
Refactor selfOem. Created getConfigDir... methods.
...
Enclose access to getOemDir... by if (selfOem.oemDirExists()).
Enclose access to getKextsDir... by if (selfOem.isKextsDirFound()).
closeDebugLog() in UninitRefitLib().
Prevent DBG loop.
2020-10-17 16:01:33 +03:00
SergeySlice
11e2e38420
several optimisations
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-15 10:05:37 +03:00
SergeySlice
92bf401d7c
fix full path for kexts
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-14 21:54:18 +03:00
SergeySlice
22f694d2da
search info and exec pathes
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-14 19:08:32 +03:00
jief666
0ab6d8a994
First unit test for memory Find-Replace.
2020-10-12 14:51:08 +03:00
jief666
b8a188382c
Make Clover path independent.
2020-10-03 20:02:31 +03:00
jief666
804dd26599
Fix kext path in LoadKexts()
...
Remove StartLoader11(). StartLoader() starts all macOs with OC.
Merge Quirks sections.
2020-09-30 21:56:55 +03:00
jief666
48cdadb0b2
Fix bug where StartLoader cannot find kexts.
...
First implementation of Self object.
2020-09-28 18:57:50 +03:00
jief666
887136a381
Use OcMain, continuation.
2020-09-16 20:50:16 +03:00
jief666
346661efd2
Use OcMain to init OC.
...
Remove -DMDEPKG_NDEBUG to get OC debug messages.
Refactor InjectKextList as XObjArray<SIDELOAD_KEXT>.
2020-09-16 02:01:53 +03:00
jief666
acc2fea810
Use kext from correct folder for version < 11.0
...
Use OpenCore OS_INFO_PROTOCOL.
2020-09-14 16:01:30 +03:00
jief666
389ec9d17c
Debug messages.
2020-09-09 14:19:32 +03:00
jief666
dfac7119f6
Hardcode order of some kexts.
...
Improve test in USBFix to avoid crash.
2020-09-09 00:25:26 +03:00
jief666
9681c6292d
Menu disable kext for version 11.
2020-09-08 14:00:17 +03:00
jief666
8ccee7054f
1st experiment to use OpenCore to boot Big Sur installer.
2020-09-07 01:19:48 +03:00
jief666
9cb4016bc5
Final refactoring of plist : now each tag is a class.
...
Rename strerror to efiStrError because of conflict when run cpp_tests on
Mac.
Switch base64_decode_block to long to avoid warning and cast.
Correct GetTableType4(). Size was used without being initialized.
2020-08-25 18:35:19 +03:00
jief666
85716960f9
Further refactor of plist.
2020-08-22 16:39:24 +03:00
jief666
95d477c9a3
Refactor tagNext in tagSruct as a XObjArray<TagStruct>
2020-08-19 15:50:26 +03:00
jief666
8dcf25dc6d
Hardened plist.
2020-08-18 19:45:44 +03:00
jief666
2961827dce
Correct some refactoring bugs.
2020-08-17 22:40:52 +03:00
jief666
bc04c86a93
Refactoring some CHAR8* and CHAR16* to XString.
2020-08-15 16:47:56 +03:00
jief666
59d8cbad7f
Refactoring KEXT_PATCH.
...
Change numerous CHAR8* CHAR16* to XString.
2020-08-12 18:15:47 +03:00
jief666
29718aaa0b
Fix -W effc++ warnings.
...
SETTINGS_DATA is a class.
XIcon is separate class.
KernelAndKextPatches in LOADER_ENTRY is not a pointer anymore.
2020-08-11 15:43:53 +03:00
jief666
4555bb9e9f
Remove the last PoolPrints.
2020-08-09 18:55:30 +03:00
SergeySlice
76c0e3fe55
text formatting
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-08-06 21:53:01 +03:00
SergeySlice
0724be965a
kext patching works in bigsur
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-27 16:09:30 +03:00
SergeySlice
b291971c46
names table shifted
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-27 11:45:17 +03:00
Sergey Isakov
15b65bd95b
different addressing in the case of kc
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-26 16:44:38 +03:00
SergeySlice
32eba04396
more debugging
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-25 09:36:00 +03:00
SergeySlice
69e0e0327c
debug kext patching
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-21 12:17:02 +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
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
SergeySlice
bfe7db9208
shift symbolic table
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-17 23:45:01 +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
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
SergeySlice
982332e440
more robust search symbols
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-27 05:57:27 +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
22f9adcbc9
using XIcon class for dynamic images
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-16 22:30:29 +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
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
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
1a3081dc27
new lapic patch, simplify searchProc
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-05 22:15:59 +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