Google is committed to advancing racial equity for Black communities. See how.

MemTest86 boots from a USB flash drive and tests the RAM in your computer for faults using a series of comprehensive algorithms and test patterns. Learn More Why test. All the tools you need to test and diagnose computer hardware. A durable polypropylene case with snap latches and a carry handle. 6 high-quality hardware tools in one location. H2testw is a free tool that can be used to test for Counterfeit or Fake USB flash drives, and check your USB Flash Drive for errors. It works by filling the chosen target drive with test data and then reads this data back to verify it. Finally, if your thumb drive is good, the test will finish without any errors.

Grab my script, open the ZIP file. In the folder that is created (probably called 2e5eed7dbfbd5dd7e929-6ddeffa2f729c8657e3c460e0ed540!) drag that script onto Terminal. Then drag the AHT disk image onto Terminal & finally drag the destination disk (a USB disk formatted to Macintosh OS Extended). Before we begin, we first need a USB hard drive. For this tutorial, I am using an old 320GB USB drive. You can use any type of USB hard drive you wish, though I recommend using a portable hard drive that doesn’t need a power supply so it’s a lot more travel-friendly and easier to use. Create Apple Hardware Test on USB flash drive (confirmed working) - Duration: 4:27. Everything Mac 21,298 views. The Top 5 Things You Should Do First When You Get a New Mac - Duration: 9.

Hardware

When building an Android app, it's important that you always test your app ona real device before releasing it to users. This page describes how to set upyour development environment and Android device for testing and debugging overan Android Debug Bridge (ADB) connection.

Note: Use the Android emulator to test your app ondifferent versions of the Android platform and different screen sizes. Alsoconsider using Firebase Test Labto run your app on a wide variety of real devices hosted in acloud-based infrastructure.

Set up a device for development

Before you can start debugging on your device, there are a few things you mustdo:

  1. On the device, open the Settings app, select Developer options, andthen enable USB debugging.

    Note: If you do not see Developer options, follow the instructions toenable developer options.
  2. Set up your system to detect your device.

    • Chrome OS: No additional configuration required.
    • macOS: No additional configuration required.
    • Ubuntu Linux: There are two things that need to be set up correctly:each user that wants to use adb needs to be in the plugdev group,and the system needs to have udev rules installed that cover the device.

      plugdev group: If you see an error message that says you're not in theplugdev group, you'll need to add yourself to the plugdev group:

      Note that groups only get updated on login, so you'll need to log out forthis change to take effect. When you log back in, you can use id tocheck that you're now in the plugdev group.

      udev rules: The android-sdk-platform-tools-common package containsa community-maintained default set of udev rules for Android devices. Toinstall:

    • Windows: Install a USB driver for ADB. For an installation guide andlinks to OEM drivers, see the Install OEM USB driversdocument.

Connect to your device

When you are set up and plugged in over USB, you can click Run in Android Studio to build and run your app on the device.

You can also use adb to issue commands,as follows:

  • Verify that your device is connected by running the adb devices commandfrom your android_sdk/platform-tools/ directory. Ifconnected, you'll see the device listed.
  • Issue any adb command withthe -d flag to target your device.

Troubleshoot device connection with the Connection Assistant

The Connection Assistant provides step-by-step instructions to help you set upand use a device over the ADB connection.

To start the assistant, choose Tools > Connection Assistant.

The Connection Assistant provides instructions, in-context controls, and a listof connected devices in a series of pages in the Assistant panel. Use theNext and Previous buttons at the bottom of the Assistant panel towork through the pages as needed:

  • Connect your device over USB: The Connection Assistant begins by promptingyou to connect your device over USB, and it provides a Rescan USB devicesbutton with which you can start a new scan for connected devices.
  • Enable USB debugging: The Connection Assistant then tells you how toenable USB debugging in the on-device developer options.
  • Restart the ADB server: Finally, if you still don't see your device on thelist of available devices, you can use the Restart ADB server button on thelast page of the Connection Assistant. Restarting the ADB server also causesADB to scan for devices again. If you still don't see your device on the listof available devices, try the troubleshooting steps in the next section of thispage.

Resolve USB connection issues

If the Connection Assistant is not detecting your device over USB, you can trythe following troubleshooting steps to resolve the issue:

Check that Android Studio can connect to the Android Emulator

To check if the issue is being caused by a connection problem between AndroidStudio and the Android Emulator, follow these steps:

  1. Open the AVD Manager.
  2. Create a new AVD if you don't alreadyhave one.
  3. Run the emulator using your AVD.
  4. Do one of the following:
    • If Android Studio can't connect to the emulator, download the latest SDK Platform Toolsand then try again.
    • If the emulator starts successfully, check the USB cable.

Check the USB cable

To check if the issue is being caused by a faulty USB cable, follow the steps inthis section.

Add

If you have another USB cable:

  1. Connect the device using the secondary cable.
  2. Check if the Connection Assistant can now detect the device.
  3. If the device is not detected, try the primary cable again.
  4. If the device still isn't detected, assume that the problem is with thedevice and check if the device is set up for development.

If you don't have another USB cable but you do have another Android device:

  1. Connect the secondary device to your computer.
  2. If the Connection Assistant can detect the secondary device, assume that theproblem is with the primary device andcheck if the device is set up for development.

    If the secondary device is not detected, the problem might be with the USBcable.

Check if the device is set up for development

To check if the issue is being caused by settings on the device, follow thesesteps:

  1. Follow the steps in the Set up a device for developmentsection.
  2. If this does not resolve the problem, contact the device OEM'scustomer support for help. Tell the customer support representative that thedevice won't connect to Android Studio using ADB.

RSA security key

When you connect a device running Android 4.2.2 (API level 17) or higher to yourcomputer, the system shows a dialog asking whether to accept an RSA key thatallows debugging through this computer. This security mechanism protects userdevices because it ensures that USB debugging and other adb commands cannot beexecuted unless you're able to unlock the device and acknowledge the dialog.

Using the reference code table

  1. Find the definition of the specific Apple Diagnostics reference code and learn what next steps are needed to troubleshoot the issue.
  2. For issues you cannot resolve, contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to find out which service and support options are available. Be sure to share the Apple Diagnostics reference code with Apple or your service provider. If you plan to visit an Apple Retail Store, make a reservation at the Genius Bar (available in some countries and regions only).

Create Apple Hardware Test Usb Pc Camera

Reference CodeCode DefinitionNext Steps
ADP000No issues foundNo issues found. If you think you have a hardware issue, contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.
CNW001
CNW003
CNW004
CNW005
CNW006
There may be an issue with the Wi-Fi hardware.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

CNW007
CNW008
No Wi-Fi networks were detected. Either there are no Wi-Fi networks in range, or the Wi-Fi hardware may be having an issue.

Run the test again in range of a Wi-Fi network.

If this code appears a second time, further troubleshooting may be required. Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

NDC001
NDC003
NDC004
NDC005
NDC006
There may be an issue with the camera.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

NDD001

There may be an issue with the USB hardware.

Disconnect all external devices except keyboard, mouse, and Ethernet adapter. Run the test again.

If this code appears again, further troubleshooting may be required. Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

NDK001
NDK003
NDK004
There may be an issue with the keyboard.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

NDL001

There may be an issue with the Bluetooth hardware.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

NDR001
NDR003
NDR004
There may be an issue with the trackpad.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

NDT001
NDT002
NDT003
NDT004
NDT005
NDT006
There may be an issue with the Thunderbolt hardware.

Disconnect external Thunderbolt devices and run the test again.

If this code appears a second time, further troubleshooting may be required. Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

NNN001

A serial number was not detected.

The computer requires service. Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

PFM001
PFM002
PFM003
PFM004
PFM005
PFM006
PFM007
There may be an issue with the System Management Controller (SMC).

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

PFR001

There may be an issue with the computer's firmware.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

PPF001
PPF003
PPF004
There may be an issue with the fan.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

PPM001

There may be an issue with a memory module.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

PPM002
PPM003
PPM004
PPM005
PPM006
PPM007
PPM008
PPM009
PPM010
PPM011
PPM012
PPM013
PPM014
PPM015
There may be an issue with the onboard memory.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

PPP001
PPP002
PPP003
There may be an issue with the power adapter.

Disconnect the MagSafe power adapter from the computer and the power outlet, then reconnect. Run the test again.

If this code appears a second time, further troubleshooting may be required. Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

PPP007

The power adapter was not tested.

There may be an issue with the power adapter, or it may not be connected. To test the power adapter, reconnect it to the computer and the wall outlet. Run the test again.

If this code appears a second time, further troubleshooting may be required. Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

PPR001

There may be an issue with the processor.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

PPT001

The battery was not detected.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

PPT002
PPT003
The battery will need to be replaced soon. It is functioning normally, but holds less charge than it did when it was new.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

PPT004The battery requires service. The battery is not functioning normally, though you may not notice a change in its behavior or the amount of charge it holds. You can continue to use your battery before it’s checked without harming your computer.

You should first confirm this issue by running Apple Diagnostics over the Internet, which uses the latest diagnostic information. To do this, turn off your Mac by choosing Shut Down from the Apple () menu. Then press the power button to turn on your Mac. Immediately press and hold Option-D until Apple Diagnostics begins.

If running Apple Diagnostics over the Internet confirms the issue, contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store. They'll tell you which service and support options are available.

PPT005The battery is not installed properly. Shut down and discontinue use. The computer requires service.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

PPT006The battery requires service. The battery is not functioning normally, though you may not notice a change in its behavior or the amount of charge it holds. You can continue to use your battery before it’s checked without harming your computer.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

PPT007

The battery needs to be replaced. The battery is functioning normally but holds significantly less charge than it did when it was new. You can continue to use the battery until you replace it, without harming your computer.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

VDC001
VDC003
VDC004
VDC005
VDC006
VDC007
There may be an issue with the SD card reader.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

VDH002
VDH004
There may be an issue with a storage device.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

VDH005Unable to start OS X Recovery.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

VFD001
VFD002
VFD003
VFD004
VFD005
VFD007
There may be an issue with the display.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

VFD006

There may be an issue with the graphics processor.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.

VFF001

There may be an issue with the audio hardware.

Contact Apple or take your computer to an Apple Authorized Service Provider or Apple Retail Store to determine which service and support options are available.