हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main के बजाय android-latest-release का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Android Flash Tool एक वेब-आधारित टूल है. इसकी मदद से, डेवलपमेंट और टेस्टिंग के लिए, पहले से बने Android बिल्ड को अपने डिवाइस पर फ़्लैश किया जा सकता है.
Android Flash Tool इन डिवाइसों के साथ काम करता है:
WebUSB के साथ काम करने वाला ब्राउज़र, जैसे कि Chrome या Edge 79 और उसके बाद के वर्शन
यूएसबी कनेक्शन चालू करना
किसी डिवाइस पर Android चलाने से पहले, आपको यूएसबी कनेक्शन चालू करना होगा:
'डेवलपर के लिए सेटिंग और टूल' में जाकर, ओईएम से अनलॉक करने की सुविधा और यूएसबी डीबग करने की सुविधा चालू करें:
सेटिंग ऐप्लिकेशन में, फ़ोन के बारे में जानकारी पर टैप करें.
बिल्ड नंबर पर सात बार टैप करें.
अब आप डेवलपर हैं! मैसेज दिखने पर, <- पर टैप करें.
सिस्टम पर टैप करें. इसके बाद, डेवलपर के लिए सेटिंग और टूल पर टैप करें.
ओईएम अनलॉकिंग और यूएसबी डीबग करने की सुविधा चालू करें. अगर डिवाइस को ओईएम से अनलॉक करने की सुविधा उपलब्ध नहीं है, तो डिवाइस को इंटरनेट से कनेक्ट करें, ताकि वह चेक इन कर सके. अगर इसके बाद भी समस्या हल नहीं होती है, तो डिवाइस को मैन्युअल तरीके से चेक इन कराया जा सकता है: इसके लिए, Dialer ऐप्लिकेशन में *#*#CHECKIN#*#* (*#*#2432546#*#*) डालें. इसके लिए, सिम कार्ड की ज़रूरत नहीं है. नंबर डालने के बाद (कॉल करने की ज़रूरत नहीं है), टेक्स्ट हट जाता है और 'संपन्न हुआ' सूचना दिखती है.
अगर OEM अनलॉक करने की सुविधा उपलब्ध नहीं है, तो हो सकता है कि मोबाइल और इंटरनेट सेवा देने वाली कंपनी ने आपके डिवाइस को सिम लॉक किया हो. साथ ही, बूटलोडर को अनलॉक नहीं किया जा सकता.
अपने डिवाइस को वर्कस्टेशन के यूएसबी पोर्ट से कनेक्ट करें.
अपने डिवाइस को फ़्लैश करना
अगर आपके डिवाइस पर Android डीबग ब्रिज (adb) चल रहा है, तो आगे बढ़ने से पहले adb सेवा को बंद कर दें, ताकि यह फ़्लैश करने की प्रोसेस में रुकावट न डाले. adb को बंद करने के लिए, यह चलाएं:
adbkill-server
अपने डेवलपमेंट वर्कस्टेशन पर ब्राउज़र में, flash.android.com खोलें. इसके बाद, आपको 'आपका स्वागत है' पेज दिखेगा.
ADB ऐक्सेस करने की अनुमति दें पर क्लिक करके, टूल को adb के ज़रिए अपने टेस्ट डिवाइस से संपर्क करने की अनुमति दें.
नया डिवाइस जोड़ें पर क्लिक करें.
सूची में से अपना डिवाइस चुनें और कनेक्ट करें पर क्लिक करें. ऐसा हो सकता है कि इस सूची में डिवाइस का पूरा नाम शामिल न हो.
अपने डिवाइस की स्क्रीन पर, इस कंप्यूटर से हमेशा अनुमति दें चुनें. इसके बाद, USB डिबगिंग कनेक्शन को स्वीकार करने के लिए, ठीक है पर क्लिक करें.
अपने ब्राउज़र में कनेक्ट किया गया डिवाइस चुनें.
सूची में अपना बिल्ड खोजें और चुनें. आपके पास डिवाइस को मिटाने या सभी पार्टीशन को फ़्लैश करने जैसे विकल्प भी चुनने का विकल्प होता है.
फ़्लैश करने की प्रोसेस शुरू करने के लिए, इंस्टॉल करें पर क्लिक करें. डिवाइस रीबूट हो जाएगा और फ़ास्टबूट मोड में चला जाएगा.
फ़्लैश पूरा हो गया दिखने के बाद, डिवाइस को यूएसबी केबल से डिसकनेक्ट करें.
फ़्लैश डिवाइसों को बूट नहीं किया जा सका
अगर आपका डिवाइस सामान्य तरीके से बूट नहीं हो पा रहा है, तो हो सकता है कि आप पिछले निर्देशों का इस्तेमाल करके, अपने डिवाइस को फ़्लैश न कर पाएं. इसके बजाय, Fastboot की मदद से फ़्लैश करने की कोशिश करें.
ऐसा करने के लिए, आपको पहले अपने डिवाइस को फास्टबूट मोड में बूट करना होगा. इसके लिए, बटन का यह कॉम्बिनेशन इस्तेमाल करें:
अपने डिवाइस के लिए बटनों का कॉम्बिनेशन तय करें. Fastboot के बटन के कॉम्बिनेशन की टेबल देखने के लिए, Fastboot के बटन के कॉम्बिनेशन देखें.
डिवाइस को बंद करें.
डिवाइस को चालू करें और अपने डिवाइस के लिए बटन का वह कॉम्बिनेशन दबाकर रखें जो पहले चरण में तय किया गया था.
यूएसबी से फ़ाइलें ट्रांसफ़र करने से जुड़ी गड़बड़ियां हल करना
कभी-कभी Android डिवाइसों को कुछ यूएसबी पोर्ट या हब से डेटा ट्रांसफ़र करने में समस्या आती है. ऐसा, डेटा के ज़्यादा ट्रांज़िट होने की वजह से होता है. ट्रांसफ़र से जुड़ी गड़बड़ियों को ठीक करने के लिए:
यूएसबी हब का इस्तेमाल न करें. इसमें मॉनिटर से कनेक्ट करने की सुविधा भी शामिल है.
अगर हो सके, तो यूएसबी एक्सटेंशन केबल या अडैप्टर का इस्तेमाल न करें.
किसी दूसरे यूएसबी पोर्ट का इस्तेमाल करें. आम तौर पर, पीछे के पोर्ट, आगे के पोर्ट के मुकाबले ज़्यादा भरोसेमंद होते हैं.
अगर यूएसबी-सी पोर्ट का इस्तेमाल किया जा रहा है, तो यूएसबी-ए पोर्ट का इस्तेमाल करके देखें.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# Flash with Android Flash Tool\n\n[Android Flash Tool](https://flash.android.com/)\nis a web-based tool that lets you flash a pre built Android build to your\ndevice for development and testing.\n| **Note:** If you need to flash and test your own AOSP changes, refer to [Flash your device with Fastboot](/docs/setup/test/running).\n\nAndroid Flash Tool supports these devices:\n\n- Pixel 2 and newer\n- [DragonBoard RB3 (also known as db845c)](https://wiki.linaro.org/AOSP/db845c)\n- [HiKey 960](https://www.96boards.org/product/hikey960/)\n- [HiKey](https://www.96boards.org/product/hikey/)\n\nMeet requirements\n-----------------\n\nTo run the Android Flash Tool, you must meet these requirements:\n\n- [Hardware requirements](/docs/setup/start/requirements#hardware-requirements)\n- A browser supporting [WebUSB](https://caniuse.com/#search=Webusb), such as [Chrome](https://www.google.com/chrome/) or Edge 79+\n\nEnable your USB connection\n--------------------------\n\nBefore running Android on a device, you must enable your USB connection:\n\n1. Enable OEM unlocking and USB debugging in the developer options:\n\n 1. In the Settings app, tap **About phone**.\n 2. Tap **Build number** seven times.\n 3. When you see the message **You are now a developer!** , tap **\\\u003c-**.\n 4. Tap **System** , then tap **Developer options**.\n 5. Enable **OEM unlocking** and **USB debugging** . If OEM unlocking is unavailable, connect to the internet so the device can check in. If that still doesn't work, you can force a check in: In the Dialer app, enter **\\*#\\*#CHECKIN#\\*#\\*** (\\*#\\*#2432546#\\*#\\*) (no SIM required). After entering the number (no need to press call), the text disappears and a success notification appears.\n\n If OEM unlocking remains unavailable, your device might be SIM locked by\n your carrier and the bootloader can't be unlocked.\n2. Connect your device to a USB port on your workstation.\n\nFlash your device\n-----------------\n\n1. If you have\n [Android Debug Bridge (adb)](https://developer.android.com/studio/command-line/adb)\n running on your machine, stop the adb service before proceeding so that\n it doesn't interfere with the flashing process. To stop adb, run:\n\n adb kill-server\n\n2. In a browser on your development workstation, open\n [flash.android.com](https://flash.android.com/). The Welcome page appears.\n\n3. Click **Allow ADB access** to allow the tool to communicate with your test\n device through adb.\n\n4. Click **Add new device**.\n\n5. Select your device from the list and click **Connect**. This list might\n not contain the full device name.\n\n6. On your device's screen, select **Always allow from this computer**\n and click **OK** to accept the USB debugging connection.\n\n7. Select the connected device in your browser.\n\n8. Search for and select your build from the list. You can also select\n options, such as wiping the device or force flashing all partitions.\n\n9. To start flashing, click **Install**. The device reboots and enters fastboot\n mode.\n\n10. After **Flash Complete** appears, disconnect the device from the USB cable.\n\n| **Note:** If this is the first time flashing this device from this development workstation, the workstation loses the connection to the device and asks you to find it again. The next time you flash the same device on this workstation, you won't see the request to find the device. After reconnecting, the flashing resumes by downloading the images and performing all the required steps.\n\n### Flash devices unable to boot\n\nIf your device is unable to boot normally, you might not be able to flash your\ndevice using the previous instructions. Instead, you can try flashing with\nFastboot.\n\nTo do this, you need to first boot your device into Fastboot mode by using a\nkey combination:\n\n1. Determine the key combination for your device. For a table of Fastboot key combinations, see [Fastboot key combinations](/docs/setup/reference/fastboot-keys).\n2. Turn the device off.\n3. Turn the device on and immediately hold down the key combination for your device (determined in step 1).\n\nOnce your device is in Fastboot mode, open\n[flash.android.com](https://flash.android.com/) and follow the earlier\n[flashing instructions](#flashing-your-device), ignoring the steps related to\nADB.\n\n### Resolve USB transfer errors\n\nSometimes Android devices have trouble communicating through certain USB ports\nor hubs due to the high throughput of data. To resolve transfer errors:\n\n- Don't use USB hubs. This includes connections through monitors.\n- Don't use USB extension cables or adapters if possible.\n- Try a different USB port. Rear ports are often more reliable than front ones.\n- If you're using a USB C port, try a USB A port instead.\n\nReturn Pixel to public build\n----------------------------\n\nIf you want to return your Pixel device to a public build, use the\n[Android Flash Tool back-to-public option](https://flash.android.com/back-to-public)."]]