Clean cache apple services command

# Fixing iMessage and other services with OpenCore

This page is for those having iMessage and other iServices issues, this is a very basic guide so will not go as in-depth into the issues as some other guides. This specific guide is a translation and reinterpretation of the AppleLife Guide on fixing iServices: Как завести сервисы Apple — iMessage, FaceTime, iCloud

Your Apple ID is the single most influential factor in using iServices.

If you have existing Apple products in your account, such as an iPhone, you should have no issues whatsoever using a generated serial set. However, if you recently created an account, that does not have any existing Apple hardware or App Store purchases, you may be required to call Apple once you have attemped logging in.

The following items will be created below and are required to use iServices:

  • MLB
  • ROM*
  • SystemProductName
  • SystemSerialNumber
  • SystemUUID

*for ROM, we use the MAC Address of the network interface, lowercase, and without : .

Note: You and you alone are responsible for your AppleID, read the guide carefully and take full responsibility if you screw up. Dortania and other guides are not held accountable for what you do.

# Using GenSMBIOS

(opens new window) and select option 1 to download MacSerial and next option 3 to generate some new serials. What we’re looking for is a valid serial that currently has no registered purchase date.

Tip: iMacPro1,1 10 will print 10 serials, this will save you some time on generating

# Using macserial

This is for Linux users and an alternative to using GenSMBIOS.

Generate a new Serial and Board Serial (MLB) for your model.

To generate this you will need macserial.

Or compile the development macserial

Find your SystemProductName in your config.plist file. That is your model number.

Replace «iMacPro1,1» below with SystemProductName in your config.plist.

The value on the left is your Serial number. The value on the right is your Board Serial (MLB).

# Choose a MAC Address

Select a MAC Address with an Organizationally Unique Identifier (OUI) that corresponds to a real Apple, Inc. interface.

See the following list:

Make up the last 3 octets.

# Derive the corresponding ROM Value

ROM is calculated from your MAC Address.

Lowercase your MAC Address, and remove each colon : between the octets.

MAC: 00:16:CB:00:11:22

ROM: 0016cb001122

# Generate an UUID

Type uuidgen in Terminal

Then simply replace those values in your config.plist:

Key Data
MLB C02733401J9JG36A8
Mac Address 00:16:CB:00:11:22
ROM 0016cb001122
SystemProductName iMacPro1,1
SystemSerialNumber C02V7UYGHX87
SystemUUID 976AA603-75FC-456B-BC6D-9011BFB4968E

It should look something like this:

NOTE: If you have trouble using the App Store, you may need to fix En0, depending on your hardware setup.

Brand new Apple ID’s will almost certainly not work. Having other real devices in your account almost always works.

# Serial Number Validity

Now enter the serial into the Apple Check Coverage page

(opens new window) , you will get 1 of 3 responses:

We’re sorry, but this serial number isn’t valid Valid Purchase date Purchase Date not Validated

This last one is what we’re after, as we want something genuine but currently not in use by anyone. Now we can translate the rest of the values into our config.plist -> PlatformInfo -> Generic:

  • Type = SystemProductName
  • Serial = SystemSerialNumber
  • Board Serial = MLB
  • SmUUID = SystemUUID

Note: «We’re sorry, but this serial number isn’t valid. Please check your information and try again.» works for many users as well, do note though if you’ve had a bad track record with Apple/iServices you many need one that’s «Purchase Date not Validated». Otherwise there may be suspicion

Note 2: Using a «Purchase Date not Validated:» can cause issues down the line if another machine of the same serial ever gets activated, for initial setup it can help alleviate issues with your account but in the long run an invalid serial can be a safer choice.

Note 3: Checking too many serials may result in you being ratelimited. To bypass this limitation you can try clearing your cookies or changing your IP.

# Fixing En0

(opens new window) ) and head to System -> Peripherals (Info -> Misc on older versions of Hackintool)

Here under Network Interfaces (network card icon), look for en0 under BSD and check whether the device has a check mark under Builtin. If there is a check mark, skip to Fixing ROM section otherwise continue reading.

  • Note: en0 can be either Wifi, ethernet or even Thunderbolt.

What if I don’t have En0 at all.

Well, we’ll want to reset macOS so it can build the interfaces fresh, open terminal and run the following:

Once done reboot and check again.

If this doesn’t work, add NullEthernet.kext

(opens new window) to your EFI and config.plist under Kernel -> Add and ACPI -> Add respectively. The SSDT is precompiled so no extra work needed, reminder compiled files have a .aml extension and .dsl can be seen as source code.

Now head under the PCI tab of Hackintool and export your PCI DeviceProperties, this will create a pcidevices.plist on your desktop

Now search through the pcidevices.plist and find the PciRoot of your ethernet controller. For us, this would be PciRoot(0x0)/Pci(0x1f,0x6)

Now with the PciRoot, go into your config.plist -> DeviceProperties -> Add and apply the property of built-in with type Data and value 01

# Fixing ROM

This is a section many may have forgotten about but this is found in your config.plist under PlatformInfo -> generic -> ROM

To find your actual MAC Address/ROM value, you can find in a couple places:

macOS: System Preferences -> Network -> Ethernet -> Advanced -> Hardware -> MAC Address

Windows: Settings -> Network & Internet -> Ethernet -> Ethernet -> Physical MAC Address

Note: en0 can be either Wifi, ethernet or even Thunderbolt, adapt the above example to your situation.

Some users have even gone as far as using real Apple MAC Address dumps for their config, for this guide we’ll be using our real MAC Address but note that this is another option.

When adding this to your config, c0:7e:bf:c3:af:ff should be converted to c07ebfc3afff as the Data type cannot accept colons( : ).

# Verifying NVRAM

Something that many forget about iServices is that NVRAM is crucial to getting it working correctly, the reason being is that iMessage keys and such are stored in NVRAM. Without NVRAM, iMessage can neither see nor store keys.

So we’ll need to verify NVRAM works, regardless if «it should work» as some firmwares can be more of a pain than others.

Please refer to the Emulated NVRAM section of the OpenCore Guide for both testing if you have working NVRAM and emulating it if you don’t.

# Clean out old attempts

This is important for those who’ve tried setting up iMessage but failed, to start make sure your NVRAM has been cleared. You can enable the option in the boot picker in your config under config.plist -> Misc -> Security -> AllowNvramReset.

Next open terminal and run the following:

# Verifying your work one last time

(opens new window) and run the following:

This will provide us with a full rundown of our system, verify that what is presented matches up with your work.

# Cleaning up your AppleID

  • Remove all devices from your AppleID: Manage your devices

(opens new window)

  • Enable 2 Factor-Auth
  • Remove all iServices from Keychain, some examples:
  • And a final layer of precaution is to make a new AppleID to play with, this makes sure that if you do end up blacklisting your account that it’s not your main.

    Tip: Adding a payment card to the account and having a decent amount of purchases can also help. While not concrete, you can think of an AppleID as a credit score where the better an Apple customer you are the more likely they won’t have activation issues or get an easier pass with AppleSupport

    # Customer Code error

    Well mate, you’ve done it. You blacklisted your AppleID. The fix is simple but not pretty, you MUST call Apple

    (opens new window) . Otherwise, there is no proceeding besides using a new account. Adding a payment card before calling can help legitimize the account so it doesn’t seem as much like a bot.

      For Apple contacting, there are 2 methods

        Apple calls you: Apple Support

      (opens new window) . You must click on Apple ID and then select the iCloud, Facetime & Messages. Now, you should click on Talk to Apple Support Now and type your phone number
      You can contact Apple for support and service as well, look for your country in the list and then make a phone call: Apple Support Phone Numbers

      Источник

      Убираем мусор от XCode

      На макбуке кончается место, и остро стоит вопрос что бы прибить. Не понятно, куда оно делось? Знакомая ситуация?

      Возможно для кого-то будет новостью, что есть куча мусора, оставшаяся после разработки в XCode, который можно безболезненно прибить. Об этом и поговорим…

      1. DeviceSupport

      Папка DeviceSupport — самая жирная. Каждый проект генерит туда кучу данных, которые нужны для расшифровки крэш-логов (symbolicate crash logs ведь так переводится на русский?). Можно прибить все проекты или только старые.

      Сразу оговорюсь — разрабатываю на Unity, каждая сборка проекта происходит в новый XCode-проект, поэтому мусора получилось много. Так же скажу, что для Unity проекта эти данные не особо нужны, там другие методы отслеживания крэшей, для разработки же на XCode, они, вероятно, необходимы. Подумайте, прежде чем что то удалить, и только потом удаляйте.

      2. Archives

      Все что вы закачиваете в AppStore сначала архивируется, и складывается в папочку Archives. Просмотрите содержимое этой папки, возможно там есть древние и уже не актуальные версии, которые нет смысла хранить, или же которые были отклонены и даже никогда не публиковались. Их можно удалить.

      3. iOS Device Support

      В этой папке хранятся данные с девайсов, которые вы когда либо присоединяли к компьютеру. Номер версии iOS как название папки, после обновления версии iOS создается новая папка. Как видно из начального скрина — у меня там хранятся версии с 5-ой, хотя Apple уже давно их не поддерживает, и их можно смело удалить (до 8-ой точно — Unity 2018 даже билдить под них не даст).

      Есть еще папки по мелочи, типа логов, но там совсем мало места освобождается.
      Если есть замечания или дополнения — пишите в комментах.

      Источник

      How to clear the cache on your Mac computer to make it run more efficiently

      You may have heard that it’s important to clear the cache on your various electronic devices every once in a while. But what exactly is caching, and why do our devices use it?

      Cached data consists of the various temporary files that exist on a reserved area of your computer. According to Apple, cached data on your Mac computer speeds up the downloading of Apple software and the data stored in iCloud by «saving content that local Mac computers, iOS devices, and Apple TV devices have already downloaded,» and cached data is «available for other devices to retrieve without going out over the Internet.»

      Caching is especially important if your Mac is set up with wired ethernet rather than Wi-Fi. And you’ll get the best performance out of it when it’s connected to your network using Gigabit Ethernet, according to Apple.

      But as long as your Mac is set up to cache, that data needs to be cleared periodically to make your computer run more efficiently. That’s because clearing your cache can help protect your identity, make apps run better on your computer, and prevent you from using outdated forms that your Mac collected when you first visited a site.

      Here’s what you need to know to get your Mac’s cache cleared.

      How to clear the cache on your Mac using shortcuts

      Shortcuts make the process of clearing your Mac’s cache extremely fast and easy. Here’s how to do it:

      1. Press shift-command-G with your Finder window open.

      2. Enter the following command into the search box:

      3. Click «Go.» This will bring you to the folder that contains all of your Mac’s cached files.

      4. Press command-A to select all folders.

      5. Click command-delete.

      6. You’ll get a pop-up asking to confirm that you want to delete all of those files, and you’ll need to enter your Mac’s password to complete the action.

      Please note: If you have open windows, you will likely still see a folder in there. Otherwise, it should be completely empty.

      How to clear the cache on your Mac without shortcuts

      If your keyboard is having issues, or the command keys just aren’t reliable anymore, you can still clear the cache on your Mac. It just takes a little extra time. Here’s how to get it done:

      1. Close or minimize all windows so that the toolbar at the top of your screen says «Finder.»

      2. Select «Go.» Under that, click on «Go to Folder.»

      3. Enter the following command into the search box:

      4. Click «Go» to view the folder that contains all of your Mac’s cached files.

      5. Go back up to the toolbar at the top of the screen and click «Edit,» then click «Select All.»

      6. Under «File,» in the toolbar at the top of the screen, select «Move to Trash.»

      7. Enter your Mac’s password in the action-confirmation pop-up to clear your computer’s cache.

      How to clear the cache on your iPhone to free up storage space and help it run faster

      How to download music on your iPhone, so you can listen even without an internet connection

      How to stop robocalls and other spam calls from reaching your iPhone

      How to transfer photos from your iPhone to a Mac computer or PC, to save storage space and back up your photos

      What is a cache? A complete guide to caches and their important uses on your computer, phone, and other devices

      Insider Inc. receives a commission when you buy through our links.

      Источник

      Читайте также:  Как сделать вибрацию сильнее айфон
    Оцените статью