LockDown Posted October 16, 2018 Share Posted October 16, 2018 (edited) Hi I want to change AirportBrcmFixup default country code to "JP" and compile it. (I want to get rid of brcmfx-country=JPboot arguement.) Looking at the source: char country_code[4] {"US"}; bool country_code_overrided {false}; 1. do i just change US to JP? 2. should i also change false to true? 3. Will it also be the same procedure if changing US to a more universal #a? Solved: Changing US to my preferred code worked Edited October 17, 2018 by ellaosx Link to comment https://www.insanelymac.com/forum/topic/335990-solved-how-to-change-airportbrcmfixup-default-country-code/ Share on other sites More sharing options...
unixb0y Posted October 16, 2018 Share Posted October 16, 2018 Why do you want to change the country code? Link to comment https://www.insanelymac.com/forum/topic/335990-solved-how-to-change-airportbrcmfixup-default-country-code/#findComment-2641195 Share on other sites More sharing options...
Denicio Posted October 16, 2018 Share Posted October 16, 2018 (edited) 7 hours ago, ellaosx said: Hi I want to change AirportBrcmFixup default country code to "JP" and compile it. (I want to get rid of brcmfx-country=JPboot arguement.) Looking at the source: char country_code[4] {"US"}; bool country_code_overrided {false}; 1. do i just change US to JP? 2. should i also change false to true? 3. Will it also be the same procedure if changing US to a more universal #a? There's an option: brcmfx-country=XX For full documentation check: https://github.com/acidanthera/AirportBrcmFixup Nevermind, just understood what you're trying to do. Edited October 16, 2018 by Denicio 1 Link to comment https://www.insanelymac.com/forum/topic/335990-solved-how-to-change-airportbrcmfixup-default-country-code/#findComment-2641215 Share on other sites More sharing options...
HUSABER Posted October 16, 2018 Share Posted October 16, 2018 3 hours ago, ellaosx said: Hi I want to change AirportBrcmFixup default country code to "JP" and compile it. (I want to get rid of brcmfx-country=JPboot arguement.) Looking at the source: char country_code[4] {"US"}; bool country_code_overrided {false}; 1. do i just change US to JP? 2. should i also change false to true? 3. Will it also be the same procedure if changing US to a more universal #a? Try with eeprom.exe...me used this 4 years ago to flash broadcom wifi card to change country code on my T61 Link to comment https://www.insanelymac.com/forum/topic/335990-solved-how-to-change-airportbrcmfixup-default-country-code/#findComment-2641224 Share on other sites More sharing options...
LockDown Posted October 16, 2018 Author Share Posted October 16, 2018 6 hours ago, HUSABER said: Try with eeprom.exe...me used this 4 years ago to flash broadcom wifi card to change country code on my T61 I prefer to use a driver rather than modding it. 1 Link to comment https://www.insanelymac.com/forum/topic/335990-solved-how-to-change-airportbrcmfixup-default-country-code/#findComment-2641302 Share on other sites More sharing options...
LockDown Posted October 16, 2018 Author Share Posted October 16, 2018 any info @vit9696? thanks Link to comment https://www.insanelymac.com/forum/topic/335990-solved-how-to-change-airportbrcmfixup-default-country-code/#findComment-2641318 Share on other sites More sharing options...
Andrey1970 Posted October 17, 2018 Share Posted October 17, 2018 4 hours ago, ellaosx said: any info @vit9696? thanks @lvs1974 developer AirportBrcmFixup. 1 Link to comment https://www.insanelymac.com/forum/topic/335990-solved-how-to-change-airportbrcmfixup-default-country-code/#findComment-2641349 Share on other sites More sharing options...
lvs1974 Posted October 17, 2018 Share Posted October 17, 2018 18 hours ago, ellaosx said: Hi I want to change AirportBrcmFixup default country code to "JP" and compile it. (I want to get rid of brcmfx-country=JPboot arguement.) Looking at the source: char country_code[4] {"US"}; bool country_code_overrided {false}; 1. do i just change US to JP? 2. should i also change false to true? 3. Will it also be the same procedure if changing US to a more universal #a? Solved: Changing US to my preferred code worked If you want to get rid of boot-arg brcmfx-country=JP you can inject data field "brcmfx-country" into ARPT provider using Clover features: Arbitrary or DeviceProperties If you still need to change a code, change country_code in kern_config.hpp and unconditionally set country_code_overrided to true (PE_parse_boot_argn should not be called for bootargBrcmCountry) Yes, procedure is the same 1 Link to comment https://www.insanelymac.com/forum/topic/335990-solved-how-to-change-airportbrcmfixup-default-country-code/#findComment-2641360 Share on other sites More sharing options...
Recommended Posts