الروبوت التصحيح جسر أدب هذه الأداة تسمح لك بإرسال مجموعة واسعة من الأوامر الطرفية بما في ذلك سبيل المثال لا الحصر أوامر لينكس قذيفة الأساسية بالإضافة إلى بعض الأوامر المطور المتخصصة لهاتفك في أي وقت تقريبا ما دام لديك التصحيح تمكين على هاتفك يمكنك إرسال الأوامر أثناء تشغيل الهاتف وتمهيد، أو حتى عندما يكون ذلك في وضع الاسترداد في حين غالبا ما تستخدم بنك التنمية الآسيوي بالتزامن مع تأصيل أو تعديل الهاتف الخاص بك، يمكنك استخدام بنك التنمية الآسيوي لإرسال الأوامر الطرفية إلى أجهزة أونروتد كما well. Fastboot عندما كنت تحتاج إلى تعديل البرامج الثابتة الهاتف الخاص بك، فاستبوت هو الأداة التي تحتاجها هذا يسمح لك بإرسال الأوامر إلى محمل الإقلاع، مما يعني أنه يمكنك فلاش تعديل الأشياء مثل استرداد مخصص يمكنك ر فلاش مدمجة كلها معها، ولكن من المفيد لكثير من الأشياء أن بنك التنمية الآسيوي يمكن أن تفعل ر فاستبوت إيسن ر تمكين لجميع الهواتف، لذلك قد تضطر إلى التحقق من جهاز معين. لكن من هذه الأدوات تأتي مع الروبوت سك، ولكن هذا ق تحميل كبير للغاية ذلك، وبصراحة، ومعظم المستخدمين الذين يرغبون في بنك التنمية الآسيوي و فاستبوت لا تحتاج ر لحسن الحظ، جعلت جوجل من السهل الحصول على هذه اثنين من دون كل غير المرغوب فيه. خطوة 1 تحميل حزمة أدوات منصة. التوجيه الجماعي يشير إلى أدب، فاستبوت، وعدد قليل من المرافق الأخرى مثل حزمة أدوات المنصة يمكنك تنزيل حزمة أدوات المنصة من موقع سك هنا توجد حزم منفصلة لنظام التشغيل ويندوز و ماك و لينوكس، لذا قم بتنزيل الإصدار المناسب لمنصة العرض الخاصة بك. عادة ما يتطلب منك جهاز أندرويد تثبيت أدوات أدب بدونها، لن يكون لديك الوصول إلى أوامر المطور التي يتم تضمينها في معظم أدلةنا الأخيرة هذا الدليل السريع سوف تظهر لك كيفية تثبيت وتكوين غوغل أدب أدوات البرمجيات على جهاز الكمبيوتر الخاص بك ويندوز، ماك، أو لينكس في minutes. What هو أدب المستخدمة ل . أدب الروبوت التصحيح جسر هو أداة قوية سطر الأوامر التي أنشأتها جوجل لمطوري الروبوت أدب يسمح للمطورين لتصحيح تطبيقاتهم مع مجموعة متنوعة من الأوامر المفيدة ل على سبيل المثال، إذا أراد المطور لمعرفة حالة الجهاز قبل تحطمها التطبيق، فإنها يمكن ببساطة اكتب لوغكات بنك التنمية الآسيوي في سطر الأوامر الخاصة بهم للحصول على قائمة طويلة من الرسائل والقرائن من أجهزتهم بعض أوامر بنك التنمية الآسيوي يمكن أن تكون مفيدة لغيرها الناس، أيضا أوامر بنك التنمية الآسيوي سيديلود تسمح للناس لتثبيت أوتا عبر الهواء التحديثات وغيرها من البرامج على هواتفهم بدلا من انتظار التحديث أو التطبيق ليتم طرحها من قبل Google. When إعداد أدب، سوف تحصل على أوامر فاستبوت ، سوف أوامر فاستبوت جدا مثل فلاش فاستبوت تسمح لك لتثبيت الاسترداد مخصص و kernels. Download الروبوت سك أو بنقرة واحدة أدب installer. Head إلى صفحة المطورين الروبوت لتحميل الروبوت سك وضع ملف سك في أي مكان على النظام الخاص بك. إذا كنت إعادة ويندوز، لديك الخيار لاستخدام هذا مفيد بنقرة واحدة المثبت بدلا من ذلك إذا اخترت استخدام المثبت بنقرة واحدة، يمكنك التوقف عن قراءة هنا. تعيين متغير باث. يمكن الآن أدوات أدب الوصول إليها من خلالسطر الأوامر الخاص بك ولكن فقط إذا كنت إعادة في دليل أدوات منصة وجدت في مجلد سك لجعل الأمور أكثر ملاءمة، يمكنك إعداد متغير باث إلى أدب حتى تتمكن من الوصول إلى الأدوات من أي مكان في سطر الأوامر. على ماك أو لينكس، وفتح محطة الخاص بك ونوع نانو. اضغط على ريتورن هذا الأمر يفتح محرر نصوص حتى تتمكن من تعديل الملف الذي يحتوي على متغيرات باث في النظام الخاص بك إضافة هذا السطر إلى الملف الخاص بك مع باث باث الضرورية. مستخدم باث المستخدمين اسم المستخدم الخاص بك إلى منصة-أدوات. أختار لجعل نسخة من ملف أدوات المنصة، لذلك يبدو متغير باث مثل هذا. بعد إجراء التغيير، حفظ التغييرات عن طريق الضغط على مفتاحي الخيار و X في نفس الوقت اختبار أدوات بنك التنمية الآسيوي مع الأمر أدب الأجهزة إذا كنت تحصل على قائمة من الأجهزة المرفقة موجه، لديك أدب إعداد بشكل صحيح إذا كنت ترى لم يتم العثور على بنك التنمية الآسيوي، والعودة والتأكد من أن لديك متغير باث على وجه التحديد الجزء الذي يتضمن المسار إلى أدوات منصة مكتوبة بشكل صحيح. الآن أن لديك أدب على جهاز الكمبيوتر الخاص بك، يمكنك أن تفعل أشياء مثل فلاش صورة مصنع أو تثبيت أوتا دون الحاجة إلى الانتظار لتحديث يأتي من Google. Android ديبوغ Bridge. In هذا المستند. الروبوت ديبوغ بريدج بنك التنمية الآسيوي هو أداة سطر الأوامر تنوعا التي تتيح كنت التواصل أكل مع جهاز محاكي أو جهاز الروبوت متصل الأمر بنك التنمية الآسيوي يسهل مجموعة متنوعة من الإجراءات الجهاز، مثل تثبيت وتصحيح التطبيقات، ويوفر الوصول إلى قذيفة أونيكس التي يمكنك استخدامها لتشغيل مجموعة متنوعة من الأوامر على جهاز و هو برنامج عميل-العميل الذي يتضمن ثلاثة مكونات. عميل الذي يرسل الأوامر يعمل العميل على جهاز التنمية الخاص بك يمكنك استدعاء عميل من محطة سطر الأوامر من خلال إصدار أمر بنك التنمية الآسيوي. شيطان أدبد الذي يقوم بتشغيل الأوامر على جهاز و ديمون يعمل كعملية خلفية على كل device. A الخادم الذي يدير الاتصالات بين العميل و ديمون الخادم يعمل كعملية خلفية على التنمية الخاص بك machine. adb يتم تضمينها في حزمة سك الروبوت منصة أدوات يمكنك تحميل هذه الحزمة مع مدير سك الذي تثبيته في أندروزدك منصة أدوات أو إذا كنت تريد مستقل سك الروبوت منصة منصة أدوات، يمكنك تحميله هنا. كيف أدب يعمل. عندما تبدأ عميل بنك التنمية الآسيوي، و تحقق العميل أولا أولا ما إذا كان هناك عملية ملقم بنك التنمية الآسيوي قيد التشغيل بالفعل إذا كان هناك t، فإنه يبدأ عملية الملقم عند بدء تشغيل الملقم، فإنه يربط إلى منفذ تكب المحلي 5037 ويستمع للأوامر المرسلة من عملاء بنك التنمية الآسيوي جميع عملاء بنك التنمية الآسيوي استخدام منفذ 5037 إلى والتواصل مع خادم بنك التنمية الآسيوي. ثم يقوم الخادم بإعداد اتصالات لجميع الأجهزة قيد التشغيل فإنه يحدد موقع المحاكيات عن طريق مسح الموانئ ذات الأرقام الفردية في نطاق 5555 إلى 5585، ومجموعة المستخدمة من قبل أول 16 محاكاة حيث يجد الخادم بنك التنمية الآسيوي شيطان أدبد، فإنه إعداد اتصال إلى هذا المنفذ لاحظ أن كل محاكي يستخدم زوج من منافذ متتابعة منفذ حتى مرقمة لتوصيلات وحدة التحكم ومنفذ فردي مرقمة للاتصالات بنك التنمية الآسيوي ل example. Emulator 1، وحدة التحكم 5554 المحاكي 1، أدب 5555 المحاكي 2، وحدة التحكم 5556 المحاكي 2، أدب 5557 وهلم جرا. كما هو مبين، المحاكي متصلا بنك التنمية الآسيوي على المنفذ 5555 هو نفس المحاكي الذي يستمع وحدة التحكم على المنفذ 5554.Once الملقم قد وضعت اتصالات لجميع الأجهزة، يمكنك استخدام بنك التنمية الآسيوي شارك مماندس للوصول إلى تلك الأجهزة لأن الملقم يدير اتصالات إلى الأجهزة ويتعامل مع الأوامر من عملاء بنك التنمية الآسيوي متعددة، يمكنك التحكم في أي جهاز من أي عميل أو من تصحيح البرنامج النصي أدب على الجهاز. لإستخدام أدب مع جهاز متصل عبر أوسب، يجب تمكين أوسب التصحيح في إعدادات نظام الجهاز، تحت خيارات المطور. في الروبوت 4 2 وأعلى، يتم إخفاء شاشة خيارات المطور افتراضيا لجعله مرئيا، انتقل إلى إعدادات حول الهاتف وانقر فوق بناء عدد سبع مرات العودة إلى السابق الشاشة للعثور على خيارات المطور في القاع. على بعض الأجهزة، قد تكون موجودة على شاشة خيارات المطور أو اسمه بشكل مختلف. يمكنك الآن توصيل الجهاز مع أوسب يمكنك التحقق من أن يتم توصيل الجهاز الخاص بك عن طريق تنفيذ الأجهزة بنك التنمية الآسيوي من منصة أندرويدزك أدوات الدليل إذا كنت متصلا، سترى اسم الجهاز المدرج كجهاز. ملاحظة عند توصيل جهاز يعمل بنظام التشغيل أندرويد 4 2 2 أو أعلى، يظهر النظام مربع حوار يسأل ما إذا كان سيتم قبول مفتاح رسا الذي يسمح التصحيح من خلال هذا الكمبيوتر هذه الآلية الأمنية يحمي أجهزة المستخدم لأنه يضمن أن أوسب التصحيح وغيرها من أوامر بنك التنمية الآسيوي لا يمكن تنفيذها إلا إذا كنت قادرا على فتح الجهاز والإقرار الحوار. لمزيد من المعلومات حول الاتصال بجهاز عبر أوسب ، قراءة تشغيل تطبيقات على جهاز device. Connect إلى جهاز عبر واي-Fi. adb عادة ما يتصل مع الجهاز عبر أوسب، ولكن يمكنك أيضا استخدام بنك التنمية الآسيوي عبر واي فاي بعد بعض الإعداد الأولي عبر أوسب، كما هو موضح أدناه إذا كنت تطوير ل أندرويد وير، ومع ذلك، يجب أن نرى بدلا من ذلك دليل لتصحيح الأخطاء في التطبيق ملابس الروبوت الذي يحتوي على تعليمات خاصة لاستخدام بنك التنمية الآسيوي مع واي فاي و Bluetooth. Connect جهاز الروبوت الخاص بك والكمبيوتر المضيف بنك التنمية الآسيوي إلى شبكة واي فاي المشتركة يمكن الوصول إليها على حد سواء حذار أن ليس كل نقاط الوصول هي مناسبة قد تحتاج إلى استخدام نقطة الوصول التي تم تكوين جدار الحماية بشكل صحيح لدعم بنك التنمية الآسيوي. إذا كنت تتصل بجهاز أندرويد وير، إيقاف بلوتوث على الهاتف الذي يقترن مع الجهاز. قم بتوصيل الجهاز إلى الكمبيوتر المضيف مع كابل أوسب. حدد الجهاز المستهدف للاستماع إلى اتصال إب تكب على المنفذ 5555.Disconnect كابل أوسب من الجهاز الهدف. البحث عن عنوان إب جهاز الروبوت على سبيل المثال، على جهاز نيكسوس، يمكنك العثور على عنوان إب في إعدادات حول قرص أو حول الهاتف حالة عنوان إب أو على جهاز أندرويد وير، يمكنك العثور على عنوان إب في إعدادات إعدادات واي فاي عنوان إب المتقدم. Connect للجهاز عن طريق عنوان إب الخاص به. تحقق من أن جهاز الكمبيوتر المضيف الخاص بك متصلا بالجهاز الهدف. يمكنك إعادة الآن جيدة للذهاب. إذا كان الاتصال بنك التنمية الآسيوي فقدت من أي وقت مضى. تأكد من أن المضيف الخاص بك لا يزال متصلا نفس Wi - في جهاز الروبوت الخاص بك هو. الاستدعاء عن طريق تنفيذ خطوة ربط بنك التنمية الآسيوي مرة أخرى. أو إذا كان هذا لا يعمل، إعادة تعيين مضيف بنك التنمية الآسيوي. ثم تبدأ من البداية. استعلام للأجهزة. قبل إصدار أوامر بنك التنمية الآسيوي، فمن المفيد أن نعرف ما يتم توصيل مثيلات الجهاز إلى ملقم بنك التنمية الآسيوي يمكنك جين إريت قائمة الأجهزة المرفقة باستخدام أوامر الأجهزة. في الرد، بنك التنمية الآسيوي يطبع هذه المعلومات حالة لكل جهاز. الرقم التسلسلي سلسلة التي أنشأها بنك التنمية الآسيوي لتحديد فريد الجهاز عن طريق رقم المنفذ هنا s مثال الرقم التسلسلي المحاكي -5554.State حالة اتصال الجهاز يمكن أن تكون واحدة من التالية. الخطأ لا يتم توصيل الجهاز إلى بنك التنمية الآسيوي أو لا يستجيب. ديفيس الجهاز متصل الآن إلى ملقم بنك التنمية الآسيوي لاحظ أن هذه الحالة لا يعني أن نظام أندرويد تمهيد بالكامل والتشغيل لأن الجهاز يتصل بنك التنمية الآسيوي في حين أن النظام لا يزال تمهيد ومع ذلك، بعد التمهيد المتابعة، وهذا هو حالة تشغيلية عادية لجهاز device. no لا يوجد جهاز متصل. الوصف إذا قمت بتضمين الخيار - l، والأجهزة أمر يخبرك ما هو الجهاز هذه المعلومات مفيدة عندما يكون لديك أجهزة متعددة متصلة بحيث يمكنك أن تقول لهم وبصرف النظر. المثال التالي يوضح الأمر الأجهزة وإخراجها هناك ثلاثة أجهزة تشغيل نينغ السطرين الأولين في القائمة محاكات، والسطر الثالث هو الجهاز الفعلي الذي يتم إرفاقه إلى الكمبيوتر. المحاكي غير المدرجة. أمر الأجهزة بنك التنمية الآسيوي لديه تسلسل الأوامر حالة الزاوية التي تسبب تشغيل المحاكي s لا تظهر في إخراج الأجهزة بنك التنمية الآسيوي حتى على الرغم من أن المحاكي s مرئية على سطح المكتب الخاص بك يحدث هذا عندما تكون كل من الشروط التالية صحيح. ملقم بنك التنمية الآسيوي لا يعمل، و. يمكنك استخدام الأمر المحاكي مع الخيار - port أو - port مع قيمة موانئ غريبة بين 5554 و 5584، و. المنفذ المرقمة الفردية التي اخترت ليست مشغولة بحيث يمكن إجراء اتصال المنفذ في رقم المنفذ المحدد، أو إذا كان مشغولا، ومحاكي التبديل إلى منفذ آخر يلبي متطلبات في 2 و and. You بدء خادم بنك التنمية الآسيوي بعد بدء تشغيل المحاكي. طريقة واحدة لتجنب هذا الوضع هو السماح للمحاكي اختيار المنافذ الخاصة بها، وعدم تشغيل أكثر من 16 محاكاة في وقت واحد وهناك طريقة أخرى هي أن تبدأ دائما بنك التنمية الآسيوي الخادم قبل استخدام فاصلة المحاكي و كما هو موضح في الأمثلة التالية. مثال 1 في تسلسل الأوامر التالي، يبدأ الأمر أدب ديفيسس ملقم أدب ولكن لا تظهر قائمة الأجهزة. قم بسطح خادم أدب وأدخل الأوامر التالية بالترتيب المعروض لل أفد اسم، وتوفير اسم أفد صالح من النظام الخاص بك للحصول على قائمة من أسماء أفد، اكتب المحاكي - list-أفدس أمر المحاكي هو في الدليل أدوات أندرويدزك. مثال 2 في تسلسل الأمر التالي، يعرض أجهزة بنك التنمية الآسيوي قائمة الأجهزة لأن ملقم بنك التنمية الآسيوي بدأ أولا. للاطلاع على المحاكي في إخراج الأجهزة بنك التنمية الآسيوي، ووقف ملقم بنك التنمية الآسيوي، ومن ثم تشغيله مرة أخرى بعد استخدام الأمر المحاكي وقبل استخدام الأمر أدب الأجهزة، على النحو التالي. لمزيد من المعلومات حول أمر المحاكي - line، راجع استخدام الأوامر كوماند لين Parameters. Send إلى جهاز معين. إذا كانت أجهزة متعددة قيد التشغيل، يجب تحديد الجهاز المستهدف عند إصدار الأمر أدب لتحديد الهدف، استخدم الأمر الأجهزة إلى g والرقم التسلسلي للهدف بمجرد أن يكون لديك الرقم التسلسلي، استخدم الخيار - s مع أوامر بنك التنمية الآسيوي لتحديد الرقم التسلسلي إذا كنت إعادة إصدار الكثير من الأوامر بنك التنمية الآسيوي، يمكنك تعيين متغير البيئة أندروزيدريال لاحتواء الرقم التسلسلي بدلا من ذلك إذا كنت تستخدم كل من - s و أندرويدزريال - s يتجاوز أندرويدزريال. في المثال التالي، يتم الحصول على قائمة الأجهزة المرفقة، ثم يتم استخدام الرقم التسلسلي واحد من الأجهزة لتثبيت على هذا الجهاز. ملاحظة إذا إصدار أمر بدون تحديد جهاز الهدف عند توفر أجهزة متعددة، إنشاء بنك التنمية الآسيوي خطأ. إذا كان لديك أجهزة متعددة الأجهزة المتوفرة أو محاكاة، ولكن واحد فقط هو المحاكي، استخدم الخيار - e لإرسال الأوامر إلى المحاكي وبالمثل، إذا كان هناك أجهزة متعددة ولكن جهاز واحد فقط المرفقة، استخدم الخيار - d لإرسال الأوامر إلى الجهاز device. Install app. You يمكن استخدام بنك التنمية الآسيوي لتثبيت أبك على جهاز محاكاة أو جهاز متصل مع فاصلة تثبيت nd. Set حتى ميناء الشحن. يمكنك استخدام الأمر إلى الأمام لإعداد منفذ تعسفي إعادة توجيه الطلبات التي على منفذ المضيف المحدد إلى منفذ مختلف على جهاز المثال التالي إعداد إعادة توجيه المنفذ المضيف 6100 إلى منفذ الجهاز 7100. يقوم المثال التالي بإعداد إعادة توجيه المنفذ المضيف 6100 إلى logd. Copy الملفات المحلية إلى من جهاز. استخدام أوامر سحب ودفع لنسخ الملفات من وإلى جهاز على عكس الأمر تثبيت الذي ينسخ فقط ملف أبك إلى موقع معين ، أوامر سحب ودفع تمكنك من نسخ الدلائل التعسفية والملفات إلى أي مكان في الجهاز. لنسخ ملف أو دليل وأدلة فرعية من الجهاز، قم بما يلي. لنسخ ملف أو دليل وأدلة الفرعية لها إلى الجهاز، القيام التالية. استبدال المحلية والبعيدة مع مسارات الدليل الهدف الملفات على الجهاز التنمية المحلية وعلى جهاز بعيد عن example. Stop خادم بنك التنمية الآسيوي. في بعض الحالات، قد تحتاج إلى إنهاء خادم بنك التنمية الآسيوي معالجة ومن ثم إعادة تشغيله لحل المشكلة على سبيل المثال إذا بنك التنمية الآسيوي لا يستجيب لأمر. لإيقاف خادم بنك التنمية الآسيوي، واستخدام بنك التنمية الآسيوي قتل الخادم الأمر يمكنك ثم إعادة تشغيل الملقم عن طريق إصدار أي أوامر أدب الأخرى الأمر أدب المرجع. يمكنك إصدار أوامر بنك التنمية الآسيوي من سطر الأوامر على آلة التنمية الخاصة بك أو من البرنامج النصي استخدام. إذا كان هناك محاكي واحد فقط تشغيل أو جهاز واحد متصل فقط، يتم إرسال الأمر أدب إلى هذا الجهاز بشكل افتراضي إذا عدة محاكات قيد التشغيل أو متعددة يتم إرفاق الأجهزة، تحتاج إلى استخدام - d - e أو - s الخيار لتحديد الجهاز الهدف الذي يجب توجيه الأمر. الجدول أدناه يسرد كافة أوامر بنك التنمية الآسيوي المدعومة ويوضح معناها و use. Table 1 متاح أوامر أدب والخيارات. الاتصال بجهاز عبر تكب إب إذا لم تقم بتحديد منفذ، ثم المنفذ الافتراضي 5555 يتم استخدام المنفذ المضيف المضيف. ديسكونكت. الاتصال من جهاز إب تكب المحدد قيد التشغيل على المنفذ المحدد إذا كنت لا حدد مضيف أو أب بعد ذلك يتم قطع كافة الأجهزة من كافة منافذ تكب إب إذا قمت بتحديد مضيف، ولكن ليس منفذ، المنفذ الافتراضي، يتم استخدام 5555.List جميع الاتصالات مأخذ توصيلها إلى الأمام --no-ريبيند المحلي البعيد. اتصالات مأخذ الأمامية من المنفذ المحلي المحدد إلى المنفذ البعيد المحدد على الجهاز يمكنك تحديد المنافذ المحلية والبعيدة في منفذ طرق. tcp التالية لاختيار أي منفذ مفتوح، وجعل القيمة المحلية تكب 0.localabstract unixdomainsocketname. localreserved unixdomainsocketname. localfilesystem unixdomainsocketname. dev characterdevicename. forward - remove local. Remove المحدد اتصال مأخذ توصيلها. اقتبس جميع اتصالات مأخذ العكسي من device. reverse --no-ريبيند ريموت المحلية. عكس اتصال مأخذ الخيار - no-ريبيند يعني فشل يفشل إذا المحدد المقبس ملزم بالفعل من خلال أمر عكسي سابق يمكنك تحديد المنفذ لكل من الوسيطات المحلية والبعيدة في منفذ الطرق التالية. تكب لاختيار أي منفذ مفتوح، قم بإجراء وحدة التحكم عن بعد قيمة تكب 0.localabstract unixdomainsocketname. localreserved unixdomainsocketname. localfilesystem unixdomainsocketname. reverse - remove remote. Remove اتصال مأخذ العكسي المحدد من device. Remove كل اتصالات مأخذ العكسي من device. File نقل Commands. push النائية المحلية. ملفات النسخ والدلائل من جهاز الكمبيوتر المحلي إلى مكان بعيد على device. pull - a المحلي البعيد. النسخ الملفات والدلائل عن بعد إلى جهاز استخدام الخيار - a للحفاظ على الطابع الزمني الملف ووضع. تثبيت أوامر التثبيت. إضافة خيارات حزمة package. Push إلى الجهاز وتثبيتها الخيارات الممكنة هي التالية .- l إلى الأمام قفل application.- r استبدال التطبيق الحالي.- t السماح اختبار حزم.- s تثبيت التطبيق على بطاقة سد.- د السماح نسخ رمز تخفيض حزم التصحيح فقط .-g منح كافة أذونات وقت التشغيل. تثبيت خيارات متعددة خيارات حزم. سم تثبيت مع إضافة التالي.- p تطبيق جزئي install. uninstal ل - k package. Remove هذا التطبيق حزمة من الجهاز إضافة الخيار - k للحفاظ على البيانات وذاكرة التخزين المؤقت الدلائل. Backup واستعادة Commands. backup ملف - f - apk - noapk - وب - noobb - shared - noshared - جميع - system - nosystem packagenames. Write أرشيف بيانات الجهاز إلى ملف إذا لم تقم بتحديد اسم ملف الملف الافتراضي هو قائمة حزمة اختيارية عند تحديد - all و-شاريد الخيارات التالية يصف الأعراف للأخرى options.-أبك - noapk عمل نسخة احتياطية أو عدم عمل نسخة احتياطية من الملفات القيمة الافتراضية هي - noapk.-أوب - noobb نسخ احتياطي أو عدم عمل نسخة احتياطية من الملفات القيمة الافتراضية هي - noobb.-شاريد - noshared النسخ الاحتياطي أو عدم العودة أوب-شاريد ستوريج القيمة الافتراضية هي - noshared.-آل نسخ احتياطي لجميع التطبيقات المثبتة.- النظام - النظام تضمين أو لا تشمل تطبيقات النظام عند النسخ الاحتياطي لجميع التطبيقات المثبتة - all القيمة الافتراضية هي - system. Restore محتويات الجهاز من ملف. Print a بوجريبورت إلى المسار المحدد إذا المسار هو دليل، ثم تقرير الشوائب حفظ d إلى هذا الدليل باستخدام اسم الملف الافتراضي الأجهزة التي لا تدعم تقارير علة مضغوط الطباعة إلى stdout. Print قائمة عمليات جدوب المتاحة على جهاز معين استخدام إلى الأمام جدوب بيد للاتصال بعملية جدوب محددة على سبيل المثال بنك التنمية الآسيوي إلى الأمام تكب 8000 جدوب 472 جدب - attach لوكالهوست 8000.logcat - help أوبتيون فيلتر-spec. Print بيانات السجل إلى الشاشة للحصول على معلومات حول الأمر لوغكات ومتغير بيئة أندرودلوغتاغس راجع تصفية المخرجات في صفحة لوغكات. يحتوي متغير بيئة أدبتريس على فاصلة قائمة منفصلة من معلومات التصحيح إلى تسجيل القيم يمكن أن يكون أي مزيج من جميع جميع مآخذ بنك التنمية الآسيوي الحزم روكس أوسب مزامنة سيسديبس النقل و جدوب. قابل للتحقق dm - التحقق من صحة على وسيرديبوغ يبني الخيار دم-فيريتي يضمن أنه عندما يقوم المستخدم بتشغيل جهاز أنه في نفس الحالة أنه كان في آخر مرة تم استخدامه لمزيد من المعلومات، راجع التحقق Boot. Re تمكين التحقق من صحة الدم فيريتي على وسيرديبوغ يبني الخيار دم-فيريتي يضمن أنه عندما يقوم المستخدم بتشغيل جهاز أنه في نفس الحالة التي كان فيها عندما تم استخدامه آخر للحصول على مزيد من المعلومات، راجع التحقق Boot. Generate بنك التنمية الآسيوي التشفير العام والخاص مفتاح يتم تخزين المفتاح الخاص في ملف يتم تخزين المفتاح العمومي في ملف يحتوي متغير البيئة أندرويدفيندوركيس على قائمة مفصولة بفصل القولون من ملفات المفاتيح أو الدلائل. انتظر - الترانزيت - state. Wait للجهاز أن تكون في stat. state المحدد القيم يمكن أن يكون استرداد الجهاز سيدلواد أو bootloader. transport يمكن أن تكون القيم أوسب المحلية أو أي. إبراز حالة بنك التنمية الآسيوي من الجهاز حالة بنك التنمية الآسيوي يمكن طباعة حاليا محمل الإقلاع أو جهاز لمزيد من المعلومات، راجع الاستعلام عن "محاكي جهاز المحاكاة". طباعة سلسلة الرقم التسلسلي الجهاز أدب لمزيد من المعلومات، راجع الاستعلام عن مثيلات جهاز المحاكي. طباعة مسار الجهاز بنك التنمية الاسيوى. إزالة بائع النظام وقسم أوم في القراءة والكتابة mode. reboot الانتعاش محمل الإقلاع سيدلواد سيديلود-auto - إعادة التشغيل. إعادة تشغيل الجهاز هذا الافتراضي الافتراضي لتمهيد صورة النظام، ب أوت كما يدعم محمل الإقلاع والانتعاش. تمهيد الخيار محمل الإقلاع في بوتلودر. تمهيد خيار الانتعاش في الانتعاش. تمهيد الخيار سيدلواد في الانتعاش ويبدأ سيديلود mode. The سيديلود لصناعة السيارات في إعادة التمهيد الخيار هو نفسه سيديلود ولكن إعادة تمهيد بعد اكتمال التحميل الجانب تحميل. Side تحميل في شكل أبك حزمة أوتا كامل المحدد على device. Restart أدبد مع أذونات الجذر. إعادة أدبد بدون أذونات الجذر. إعادة تشغيل خادم بنك التنمية الآسيوي الاستماع على USB. Restart خادم بنك التنمية الآسيوي الاستماع على تكب في المنفذ المحدد. تصحيح الداخلية Commands. Check ما إذا كان يتم تشغيل عملية ملقم بنك التنمية الآسيوي. نقل عملية الملقم أدب. فورس إعادة الاتصال من المضيف. Force إعادة الاتصال من الجهاز لفرض إعادة الاتصال. بدء قذيفة تفاعلية عن بعد في الجهاز الهدف لمزيد من المعلومات، راجع المشكلة شل Commands. shell - e إسكابيشار - n - T - t - x الأمر. إصدار أمر شل في الجهاز المستهدف ثم قم بإنهاء وحدة التحكم عن بعد استخدام أي مزيج من أوبتيو التالية ns.-e تحديد حرف هروب أو قيمة لا شيء إذا كنت لا تريد استخدام حرف هروب إذا لم تقدم قيمة، يتم استخدام حرف الهروب الافتراضي داش -. n لا تقرأ من stdin.- T تعطيل تخصيص وحدة الزائفة بتي.-t قوة بتي التخصيص.-x تعطيل رموز الخروج البعيد و ستدوت ستدر فصل. تشغيل أمر وحدة تحكم المحاكي لمزيد من المعلومات، راجع التحكم في المحاكي من أوامر الأوامر قذيفة. القيادة الأوامر. يمكنك استخدام الأمر شل لإصدار أوامر الجهاز من خلال بنك التنمية الآسيوي، مع أو بدون إدخال قذيفة البعيد بنك التنمية الآسيوي على الجهاز لإصدار أمر واحد دون إدخال قذيفة عن بعد، استخدم الأمر شل مثل هذا. أو إدخال قذيفة البعيد على جهاز مثل هذا. When كنت على استعداد للخروج من قذيفة عن بعد، اضغط على مفتاح التحكم D أو نوع out. The يتم تخزين الثنائيات الأوامر قذيفة في نظام الملفات من الجهاز في بن system. Note مع الروبوت منصة أدوات 23 وأعلى، بنك التنمية الآسيوي يعالج الحجج نفسها الطريقة التي أمر سش 1 يفعل هذا تشان غي إصلاح الكثير من المشاكل مع حقن الأوامر ويجعل من الممكن الآن تنفيذ بأمان الأوامر التي تحتوي على ميتاكاراكتيرز قذيفة مثل تثبيت أدب ولكن هذا التغيير يعني أن تفسير أي أمر يحتوي على ميتاكاراكترز قذيفة قد تغير أيضا على سبيل المثال، بنك التنمية الآسيوي قذيفة سيتبروب فو الأمر أب الآن خطأ لأن ابتلاع يقتبس واحد من قبل قذيفة المحلية، ويرى الجهاز بنك التنمية الآسيوي شل سيتبروب فو أب لجعل الأمر العمل، اقتبس مرتين، مرة واحدة لالقذيفة المحلية ومرة واحدة عن قذيفة عن بعد، نفس ما تفعله مع سش 1 على سبيل المثال، بنك التنمية الآسيوي شل سيتبروب فو مدير النشاط b. Call آم. مع قذيفة بنك التنمية الآسيوي، يمكنك إصدار الأوامر مع مدير النشاط آم أداة لتنفيذ إجراءات النظام المختلفة، مثل بدء النشاط، قوة وقف عملية، بث نية، وتعديل خصائص شاشة الجهاز، وأكثر بينما في قذيفة، وبناء الجملة. يمكنك أيضا إصدار أمر مدير النشاط مباشرة من بنك التنمية الآسيوي دون إدخال قذيفة عن بعد ل e xample. Table 2 أدمينيستراتيون أكتيفيتي ماناجر Commands. start خيارات القصد. بدء نشاط محدد بواسطة القصد. أوبتيونس are.-D تمكين تصحيح الأخطاء-W انتظر لإكمال لإكمال .-- بدء ملف ملف التعريف بدء ملف التعريف وإرسال النتائج إلى ملف. - P ملف مثل --start-التعريف ولكن التنميط يتوقف عندما يذهب التطبيق الخمول.- R عد كرر مرات العد إطلاق النشاط قبل كل تكرار، فإن أعلى النشاط سيتم الانتهاء.- S قوة وقف التطبيق الهدف قبل بدء النشاط .-- أوبنغل-تريس تمكين تتبع وظائف برنامج أوبنغل .-- وسريد المستخدم الحالي حدد المستخدم الذي سيتم تشغيله كما لو لم يتم تحديد، ثم تشغيل كخيارات user. startservice الحالية القصد. بدء تشغيل الخدمة المحددة بواسطة القصد. أوبتيونس هي .-- المستخدم وسريد الحالي تحديد المستخدم الذي تشغيل كما لو لم يحدد، ثم تشغيل باسم المستخدم الحالي. للتوقف عن كل ما يرتبط مع حزمة التطبيق حزمة s اسم. خيارات الخيارات package. Kill جميع العمليات المرتبطة حزمة اسم التطبيق s s هذا الأمر يقتل فقط العمليات التي هي آمنة ل وقتل والتي لن تؤثر على تجربة المستخدم. الافتراضات هي .-- وسريد المستخدم كل الحالي تحديد المستخدم الذي عمليات لقتل جميع المستخدمين إذا لم يحدد. كن جميع العمليات الخلفية. خيارات البث القصد. --user أوسيريد آل كيرنت حدد المستخدم الذي سيتم إرساله إلى إذا لم يتم تحديده ثم إرساله إلى كافة مكونات المستخدمين. إستثناء الخيارات. البدء في المراقبة مع مثيل إنسترومنتاتيون عادة المكون المستهدف هو النموذج تيستباكيج runnerclass. Options are.- r طباعة النتائج الخام بخلاف ذلك ديكود ريبورتكيستريمريسولت استخدام مع - e بيرف صحيح لتوليد الانتاج الخام لقياسات الأداء.- e قيمة الاسم تعيين وسيطة الاسم إلى قيمة لالمهاجمين اختبار نموذج شائع هو - e تسترونيرفلاغ القيمة، ملف قيمة.- p كتابة بيانات التنميط إلى ملف.- w انتظر الأجهزة لإنهاء قبل العودة المطلوبة لاختبار العدائين .-- لا نافذة الرسوم المتحركة إيقاف تشغيل الرسوم المتحركة نافذة أثناء تشغيل .-- المستخدم وسريد الحالي تحديد أجهزة المستخدم التي تعمل في المستخدم الحالي إن لم يكن محددة. على عملية كتابة النتائج إلى file. profile إيقاف process. Stop بروفيلر على عملية. dumpheap خيارات عملية file. Dump كومة من عملية الكتابة إلى file. Options هي .-- المستخدم وسريد الحالي عندما توريد اسم عملية تحديد مستخدم العملية لتفريغ يستخدم المستخدم الحالي إذا لم يتم تحديدها. n تفريغ كومة الأصلي بدلا من إدارة Heap. set-ديبوغ التطبيق خيارات package. Set حزمة التطبيق ل debug. Options are.-w الانتظار المصحح عند بدء تشغيل التطبيق .-- استمرار الاحتفاظ بهذه القيمة. مسح حزمة مجموعة سابقة لتصحيح الأخطاء مع مجموعة-ديبوغ-app. Start الرصد عن حوادث أو ANRs. Options هي .-- غب بدء غبسيرف على منفذ معين في تحطم ANR. display - سيز ريسيت ويدث x هيت. أوفيريد ديفيس ديسبلاي سيز هذا الأمر مفيد لاختبار التطبيق الخاص بك عبر أحجام مختلفة من الشاشة عن طريق محاكاة دقة الشاشة الصغيرة باستخدام جهاز مع شاشة كبيرة، والعكس بالعكس. عينة آم ديسبلاي-سيز 1280x800.Override عرض الجهاز كثافة هذا الأمر هو مفيد لاختبار التطبيق الخاص بك عبر كثافة الشاشة المختلفة على بيئة الشاشة عالية الكثافة باستخدام شاشة منخفضة الكثافة، والعكس بالعكس. أمثلة آم العرض الكثافة 480.Print مواصفات القصد معين كعنوان أوري. t كمواصفة أوري نية. توصيفات القصد. لأوامر مدير النشاط التي تأخذ وسيطة نية، يمكنك تحديد القصد باستخدام الخيارات التالية.-a تصرف تحديد تصرف القصد، مثل يمكنك أن تعلن هذا مرة واحدة فقط - d داتوري تحديد معرف أوري لبيانات القصد، مثل كونتاكت كونتاكتس بيوبل 1 يمكنك تعريف هذا النوع مرة واحدة - t ميمتيب تحديد نوع مايم المقصود، مثل ينغ إيماج يمكنك تعريف هذه الفئة مرة واحدة فقط - c تحديد فئة القصد، مثل - n مكون حدد اسم المكون مع بادئة اسم الحزمة لإنشاء نية صريحة، مثل - f فلاجس إضافة أعلام إلى القصد، كما يدعمها سيتفلاغس - إسن إكستراكي إضافة قيمة خالية هذا الخيار غير متوافق مع أوري إنتنتس - e - إس إكستراكي إكستراسترينغفالو إضافة بيانات سلسلة كزوج قيمة مفتاح --ez إكستراكي إكستراولانفالو إضافة بيانات منطقية كزوج قيمة مفتاح --i إكستراكي إكستراينتفالو إضافة بيانات صحيحة كزوج مفتاح قيمة --el إكستراكونفالو إضافية إضافة بيانات طويلة ك مفتاح فال إي - إكسترافلي إكسترافلوتفالو إضافة بيانات تعويم كزوج قيمة مفتاح --eu إكستراكي أوسترافوريالو إضافة بيانات أوري كزوج قيمة مفتاح --ecn إكستراكاي إكستراكبوننتنامفالو إضافة اسم المكون الذي يتم تحويله وتمرير ككائن كومبوننتنام - - Eia إكستراكي إكستراينتفالو، إكستراينتفالو إضافة مجموعة من الأعداد الصحيحة --لا إكستراونغفالو إكستراالونغفالو، إكسترالونغفالو إضافة مجموعة من الأطوال - خارج إكسترافلوتفالو إكسترافلوتفالو إضافة مجموعة من العوامات --grant-ريد-أوري-بيرميسيون تشمل العلم فلاغرانترادوريبرميسيون - غرانت-ورايت-أوري-بيرميسيون تضمين العلم فلاغغرانتوريتوريبرميسيون --debug-لوغ-ريسولوتيون تضمين العلم فلاجديبوغلوغريسولوتيون --exclude-ستوبد-باكاجيس تضمين العلم فلاجيكسلوديستوبدباكاجيس --include-ستوبد-باكاجيس تضمين العلم فلاجينكلوديستوبداكاجيس --activity - rought - إلى الأمام تضمين العلم فلاجاكتيفيتبروفوترونت --activity-كلير-توب تضمين العلم فلاجاكتيفيتيكليارتوب --activity-كلير-ون-تاسك-ريسيت تضمين العلم فلاغاك تيفيتيكلارنتاسكريسيت --activity-استبعاد-من-حديثي تضمين العلم فلاجاكتيفيتيكسكلوديفرومريسينتس - activity-ستارتد-فروم-هيستوري تضمين العلم فلاجاكتيفيتيونشدفروميستوري --activity-مولتيبل-تاسك تضمين العلم فلاجاكتيفيتيمولتيبتاسك --activity-نو-أنيماشيون تضمين العلم فلاغاكتيفيتينوانيماتيون - - activity-نو-هيستوري تضمين العلم فلاجاكتيفيتينوهيستوري --activity-نو-وسر-أكتيون تضمين العلم فلاجاكتيفيتينوسراكتيون --activity-بريفيوس-إس-توب تضمين العلم فلاجاكتيفيتبريفيوسيستوب --activity-ريوردر-تو-فرونت تضمين العلم فلاجاكتيفيتيروردرتوفرونت - - activity-ريسيت-تاسك-إف-نيدد تضمين العلم فلاجاكتيفيتيرسيتاسكيفنيدد --activity-سينغل-توب تضمين العلم فلاغاكتيفيتسينغليتوب --activity-كلير-تاسك تضمين العلم فلاجاكتيفيتيكليارتاسك --activity-تاسك-أون-هوم تضمين العلم فلاجاكتيفيتيتاسكونهوم - - receiver-ريجيستيرد-أونلي تضمين العلم فلاجريسيفرجيستيردونلي --receiver-ريبلاس-بندينغ تضمين العلم فلاجريسيفربلاسيبندينغ --s الناخب يتطلب استخدام - d و - t خيارات لتعيين البيانات القصد ونوع حزمة عنصر أوري يمكنك تحديد معرف أوري واسم الحزمة واسم المكون مباشرة عندما لا تكون مؤهلة بواسطة أحد الخيارات أعلاه عندما تكون وسيطة غير مؤهلة، تفترض أن الوسيطة هي أوري إذا كان يحتوي على القولون يفترض أن الوسيطة هي اسم مكون إذا كان يحتوي على شرطة مائلة إلى الأمام إلا أنه يفترض أن الوسيطة هي اسم حزمة. إدارة حزمة كال. pm. With قذيفة بنك التنمية الآسيوي، يمكنك إصدار الأوامر مع أداة إدارة الحزم مدير لتنفيذ الإجراءات والاستعلامات على حزم التطبيقات المثبتة على الجهاز بينما في قذيفة، وبناء جملة. يمكنك أيضا إصدار أمر إدارة حزمة مباشرة من بنك التنمية الآسيوي دون إدخال قذيفة عن بعد ل example. Table 3 متاح خيارات حزم الحزم comands. list ماناجر فيلتر. طباعة كافة الحزم، اختياريا فقط تلك التي تحتوي على اسم الحزمة النص في filter.- f انظر الملف المرتبطة بها. د تصفية لعرض حزم تعطيل فقط.- e تصفية إلى عرض فقط تمكين حزم.- s لتظهر فقط حزم النظام.- 3 تصفية لعرض حزم الطرف الثالث فقط.- ط انظر المثبت للحزم.- ش تشمل أيضا إلغاء تثبيت الحزم .-- وسريد المستخدم مساحة المستخدم للاستعلام. Prints all known permission groups. list permissions options group. Prints all known permissions, optionally only those in group.-g Organize by group.-f Print all information.-s Short summary.-d Only list dangerous permissions.-u List only the permissions users will see. list instrumentation options. List all test packages.-f List the APK file for the test package. targetpackage List test packages for only this app. Take a screenshot. The screencap command is a shell utility for taking a screenshot of a device display While in a shell, the syntax is. To use the screencap from the command line, type the following. Here s an example screenshot session, using the adb shell to capture the screenshot and the pull command to download the file from the device. Record a video. The scre enrecord command is a shell utility for recording the display of devices running Android 4 4 API level 19 and higher The utility records screen activity to an MPEG-4 file. Note Audio is not recorded with the video file. A developer can use this file to create promotional or training videos While in a shell, the syntax is. To use screenrecord from the command line, type the following. Stop the screen recording by pressing Control C, otherwise the recording stops automatically at three minutes or the time limit set by --time-limit. To begin recording your device screen, run the screenrecord command to record the video Then, run the pull command to download the video from the device to the host computer Here s an example recording session. The screenrecord utility can record at any supported resolution and bit rate you request, while retaining the aspect ratio of the device display The utility records at the native display resolution and orientation by default, with a maximum length of three mi nutes. There are some known limitations of the screenrecord utility that you should be aware of when using it. Some devices might not be able to record at their native display resolution If you encounter problems with screen recording, try using a lower screen resolution. Rotation of the screen during recording is not supported If the screen does rotate during recording, some of the screen is cut off in the recording. Table 4 screenrecord options. Android ADB File Manager. A command line GUI GTK based Android ADB-based file manager. Recent Android releases Honeycomb 3 0 replace the older USB mount protocol with the use of MTP Massive Transfer Protocol Unfortunately this is still very buggy and doesn t work as it should in any machine I have tested and heard of system slowing down to a halt when transferring large number of files, files which are there but cannot be seen by the computer etc. So I decided to go ahead and build a little utility that would if not fix, at least alleviate the pain o f using Honeycomb devices aafm uses ADB one of the command line tools provided with the official Android SDK for communicating with the Android device This is the same method that IDEs implement. Python with PyGTK bindings, GTK, git, and the Android SDK. Getting these should be fairly straightforward if you re running any decent Linux distribution If you re using Windows I believe there are next-next-next installers for everything This leaves us with the third option which is Mac OS Up until recently there wasn t an easy way to get any PyGTK software working in Mac OS, but turns out you can now download a binary build of PyGTK for Mac OS with which aafm works quite well. It can be downloaded from more info Simply run the installer once downloaded, and then follow the instructions below as if you were running a proper Linux system. One note though there are a few hiccups with the Mac version, but they are mostly cosmetic and won t prevent you from enjoying the software Feel free to help cor recting them if you have the know-how. Clone this repository to a place you fancy For example, your Applications folder. Install the Android SDK. If it s not installed yet, download the SDK from its page and follow its instructions. Basically at least in Linux just download a zip file and unpack it to a known location In my case it s. Applications android-sdk-linux86 Once that is done, you need to make sure that the ADB tool is readily accessible from a shell which is what aafm uses internally. So to try that out, open a new terminal and type adb If it works, you should get a long help message that starts with something like Android Debug Bridge version 1 0 26 If it doesn t work, you ll get something akin to adb command not found. In case it doesn t work, you need to add the path to ADB to the environment PATH variable In Linux this is done by editing a file called in your home folder in Mac OS Locate a line that looks like PATH PATH and make it look like this. The line above appends ADB s path to whatever value PATH held before The path might be different, according to wherever you ve installed the Android SDK. Also, I haven t tried it myself, but it seems that it s possible to download and build a reduced subset of the Android SDK only, including ADB and a few more tools This doesn t require Java installed in the syst em This page describes how. Close terminal and open it again. So the changes to the PATH get current In Mac OS you might need to log in and out too. Configure udev rules if in Linux. You need to let the system know that when you connect your USB device i e the tablet it should allow you, as a non-root user, to access it If you don t do that, you ll get a Insufficient permissions for device error. This is done by adding a new file that contains so called udev rules. For example, in Ubuntu 10 10 you would add a file in with the following content. You can find out the idVendor value by running lsusb in a terminal That will output a list of the currently connected USB devices, such as for example this. Since I d like to add support for browsing my Nexus One phone because aafm works with every Android device that adb can connect to , I just need to look at the device with id 18d1 4e12 and add the following line to the udev rules file. Save it, and then change the file permissions. To make sure it wor ked, connect the device and try to run adb devices in a terminal If it s working properly, you should see a list more or less like this. The numbers aren t important, the important bit is that you see device instead of. If it isn t, you might need to either disconnect the device and try again, or reload udev so that the rules are actually loaded Try with this. If everything else fails, try to log in and out again, or maybe even restart the system. More information on udev rules and Android can be found on the official Android development guide. Enable Debug mode in the device. Go to Settings Applications Development and make sure the USB debugging checkbox is ticked You might get a scary warning saying debugging allows you to do nasty things--just ignore it. To execute it, cd to the place where it s been cloned. And simply execute it. If for some odd reason it has lost the executable permission, you can add it. Or simply execute it using Python. Once you re satisfied it s working, you can also ma ke a launcher or add it to your Gnome menu, of course. If everything works and why shouldn t it you should get a window divided in two panels The left side represents your host computer, and initially should show the files of the aafm directory, since you launched it from there The right side represents your Android device s files --so it needs to be connected to the computer, and USB debugging must be enabled in the device You can navigate just as you would do with your favourite file explorer Files can be dragged from one to another panel, directories created, and files renamed hint right click and explore the options the contextual menu offers you You can also drag from Nautilus in GNOME into the device panel, to copy files to the device, or drag to Nautilus, for copying files from the device. Be warned that currently the progress reporting is a bit hackish and with large files it will appear as if the window has got frozen It hasn t--it s just waiting for the ADB transfer to finish I n the future this should be fixed, but I haven t come up with the best solution yet. This software is licensed under a GPL V3 license Please read the accompanying file for more details, but basically, if you modify this software and distribute it, you must make your changes public too, so that everyone can benefit from your work--just as you re doing with mine. You can also make your changes public even if you don t plan on redistributing this application, okay Sharing is good. Several bug fixes and refactoring, plus a nice addition for those using desktop systems in Linux. New file and icon allows users to launch aafm from GNOME KDE etc menus shells launchers Huulivoide Fixes 35.New script for making aafm available system-wide Huulivoide Fixes 35.Fix refactor copying files between host and device sole xisberto Fixes 33 and 37.Gracefully handle unknown uids and gids sole and muflone Fixes 8 and 39.Many interesting bug fixes and new features thanks to the work of Norman Rasmussen and Micha Kowalczuk Thanks. Add BusyBox support by sammael Fixes 11.Handle device drops when there s no row present by normanr Fixes 9.Handle symlinks on the device correctly by normanr Fixes 12.Quote Unquote special characters in drag drop messages by normanr Fixes 10.Slightly improve the README Clarify how to find out the device Id, add link to PyGTK binary for Mac users. Move the TO DO list items that were on this README file over to the issue tracker in the project s page. Fix issue 4 use correct path separator in device when running under Windows. Fix issue 5 support for finding out ownership in Windows. Python 3 compatibility. Start using REVISION file. Fix issue 3 ls - la fails in some devices. First initial release basic functionality is here. I m by no means a GTK Python ADB Android expert I m just learning so this project will surely contain many things that can be improved or that are plain wrong, so feel free to clone the repository and submit pull requests. In order to make your life a bit eas ier I ll roughly show what each file does. - a class that communicates with an Android device, using ADB via shell commands Takes care of copying and reading files, listing and parsing directories, etc. - this is the GTK front-end Takes care of building the window with the host and device panels, and issuing instructions to Aafm when the user requests something to be done. - a utility class that encapsulates a GTKTreeView and some more things in order to show file listings. - an awesome class developed by the guys of Quod Libet, that allows more than one element of a TreeView to be selected and dragged around. As you can see, an GUI counterpart is missing There was one at the beginning but I didn t redo it when I rewrote most of the code from scratch Feel free to you know what, if you re interested in having a CLI version. This was initially developed in an Ubuntu Linux 10 10 system I thought it wouldn t work on other systems, but it seems people are using it in a lot of places though Some environments where it s known to work. I m now using Github s issue tracker to keep track of issues, bugs and wished-for features. If you d like to have a certain feature or think you ve found a bug that is not in the list, please add it to the issue tracker at. What Is ADB And How To Install It With Android SDK. When it comes to Android modding, most novice users are confused or left wondering by reference over reference to a certain adb This is specially true when you are l ooking up something on modding your device, or root it in particular ADB is the wonder toy of Android and everyone seems to love it, so lets have a look at understanding what it is and why you need it, and how you can get it. ADB stands for Android Debug Bridge It comes as a part of the standard Android SDK, which you can grab here Basically, it provides a terminal-based interface for interacting with your phone s file system Since Android platform is based on Linux, command-line is the only way to obtain and manipulate root access often required to perform certain advanced operations on your device using root access. While these things can be done directly on the device itself using some terminal emulator, it will be rather difficult to execute complex commands on such a small screen ADB provides the bridge between your machine and your computer. How To Install ADB. Step 1 Installing the Android SDK. Note At the time of updating this guide, the latest version of the Android SDK available i s r8 and we shall be using it throughout the rest of the guide The tools will work the same way however, even if you get a later version In case of earlier versions though, the location of some of the tools was different and it is recommended that you get the latest available version. The first step is to download the SDK Use the link given at the end of this post and download the latest version of the Android SDK from there There are versions available for Microsoft Windows, Linux and Mac OS X In case of Windows, both an installer and a zip file are available but there isn t any need to use the installer as a formal installation is not required. Once you have downloaded the SDK, simply extract the compressed file to a location on your computer In our case, we have extracted it to the root of our C drive and that makes C android-sdk-windows the installation location of the SDK From here onwards, we shall be referring to this location as the SDK folder. Step 2 Downloading the SDK Platform Tools. Previously, ADB used to be included in the SDK by default in the tools sub-folder but now, it has been relocated to the platform-tools sub-folder which needs to be downloaded as an SDK package Fortunately, this is quite easy. Just browse to the SDK folder and launch SDK Manager When launching it for the first time, it will present you with a window to choose packages to install The first option begins with Android SDK Platform-tools Make sure it is checked, and uncheck all the other packages for now You can check uncheck a package by clicking on its name and then selecting the Accept Reject radio button Your window should look like this. View in gallery. Now simply click Install and wait till the platform tools are installed Once the process is done, you will have a platform-tools folder inside your SDK folder That folder will include ADB and all its dependencies. Step 3 Setting the Path variable. Now you have ADB installed but using it this way will require you to either use the comp lete path of the ADB command C android-sdk-windows platform-tools adb or to first change directory to the platform-tools subfolder of the SDK folder each time, and this can become quite a hassle To make ADB along with other Android SDK tools and platform tools easily accessible from anywhere at the command line, we shall add their paths to the PATH environment variable This method will apply to Windows users only If you are a Linux or Mac user, add the tools and platform-tools sub-folders of the Android SDK to your system s PATH variable using the standard method for your operating system. If you have no experience with editing system environment variables, make a System Restore point now so that you can revert back to it in case something goes wrong. If you are using Windows 7, right-click the Computer icon and click Properties Now click Advanced System Settings from the options in the left pane to bring up the System Properties window Windows XP users will directly get this window when they right-click My Computer and click Properties. In the System Properties window, click the Environment Variables button on the Advanced tab View in gallery. Find Path in the System variables section and double-click it to edit it. Make sure NOT to delete the existing entry in Variable value or it will mess up things on your computer Just add the following string to the end of it, including both the semi-colons. If you have extracted the SDK s contents to another directory, make sure to use that one for your PATH variable. After adding the string, this is what my Path variable looks like. Don t worry if yours does not include some of the other text what is important is the way the new entry should be added to the existign one, and the way the previous entries MUST be left unchanged Notice that the semi-colons are necessary to separate each path variable entry from the next and previous ones Once you have added the path, your machine may require a reboot. In case you messed up while editing the Path variable and ended up deleting the previously existing entries, just restore the System Restore point you made and retry, being more careful this time. Step 4 Installing the USB drivers. Finally, you need to install the USB drivers You may or may not need to perform this step, depending on your device If you are using a device that ships with stock Android operating system such as the Nexus One, this will be necessary In case of other devices that ship with their custom version of Android and some tools to sync the device with the PC, such as devices from HTC that ship with HTC Sync or devices by Samsung that ship with Samsung s own software, the suitable driver for your device will be automatically installed with that software package. The first step will be to download the USB drivers To do this, launch SDK Manager from the SDK folder and click on Available packages in the left pane. Expand Third party Add-ons followed by Google Inc add-ons and check Google Usb Driver package , as shown in this image. View in gallery. Click Install Selected and in the window that pops up, click the Accept all radio button followed by the Install button Wait patiently while the USB drivers are downloaded and installed in the Android SDK. The drivers for both 32 bit and 64 bit systems will now be present in the SDK folder under usbdriver x86 and usbdriver x64 sub-folders respectively. Now that the USB drivers have been downloaded, you can install them to your computer as follows. On the device, go to home screen, press Menu select Applications Development and enable USB Debugging. Now connect your phone to the PC via USB New hardware installation should kick in, and it will start looking for the drivers. Manually point the drivers to the folder suitable for your operating system and let them install. Once drivers have installed, you can verify successful installation by going to Device Manager Your phone should be showing under ADB Interface , like in this example. View in gallery. How to Use ADB. At this point, the setting is done Here on you can simply use adb to manipulate your phone in whatever way you like On Windows, the best way to do so is using command prompt To ensure that adb has been set up properly, run command prompt and type adb devices and hit enter Your connected device should show up with a serial number. View in gallery. This is it for this guide We would like to emphasize that playing with your phone at this level can be dangerous if you don t know what you are doing, and can even render the phone completely useless Please do it at your own risk. For a complete list of adb commands, check out the official adb guide here. Editor s Note ADB is for advanced users only If you need ADB with a Graphical User Interface, check out QtADB. I ve tried it, but. a Doesn t work with Samsung driver you said since I had Samsung drivers already installed, this didn t happen to me b Tried to uninstall all samsung programs drivers and then Windows 7 Ultimate 64b doesn t re cognize the driver in the folder usbdriver inside amd64 there isn t any file it seems that the new driver version is a little different c I ve foreced Windows to use the android driver and, instead of ADB Interface Samsung Android Composite ADB Interface in the Device Manager, I get Android Phone Android Composite ADB Interface d adb devices command said List of devices attached , and nothing else. happened to me too. I ve tried with vmware XP Pro 32bits , but I can t even force to install android drivers. BTW can t make kies nor pcstudio connect to my phone in Win7 or VM WinXP. I was also looking for the platform-tools folder, but there was none So I looked around on the net There is no platform-tools in the latest version You need to download through the android SDK Manager. If you are developing in Eclipse with ADT, note that SDK Tools r8 is designed for use with ADT 8 0 0 and later After installing SDK Tools r8, we highly recommend updating your ADT Plugin to 8 0 0.Also note that SDK To ols r8 requires a new SDK component called Platform-tools The new Platform-tools component lets all SDK platforms Android 2 1, Android 2 2, and so on use the same latest version of build tools such as adb, aapt, aidl, and dx To download the Platform-tools component, use the Android SDK Manager, as described in Adding SDK Components Upgrading from SDK Tools r7.If you are upgrading to SDK Tools r8 from an earlier version, note that the the default installed location for the adb tool has changed from tools adb to platform-tools adb This means that you should add the new location to your PATH and modify any custom build scripts to reference the new location Copying the adb executable from the new location to the old is not recommended, since subsequent updates to the SDK Tools will delete the file. I updated and the platform-tools folder was added with the file that is needed Hope this helps you guys. Thanks, recently updated the guide to reflect the changes in the latest version. I got evert hing installed and done until it says connect device and windows will install driver but mine woulnt install it It keeps saying it was unsuccessful If anybody knows what i can do to fix it plz help. From device manager, choose to update driver Do not select search automatically and instead go for browse my computer for driver software In the next step, do not choose to search for driver software in a location and choose Let me pick from a list of device drivers on my computer Then select Show all devices or something similar, click Have disk and browse to the google-usbdriver folder in the SDK location Select the file and click Open Finally, accept any prompts and or warnings that you might get and continue with the driver installation Works like a charm for me with all the devices that support the Google-provided drivers Doesn t work for Samsung Galaxy S series devices and may not work with some HTC devices you will need drivers by the manufacturers in those cases In case of Samsung, g et Kies In case of HTC, get HTC Sync. When I go into the folder google-usbdriver and click on it says that the folder you specified doesn t contain a compatible software driver for your device If the folder contains a driver, make sure it is designed to work with Windows for 32-bit systems please help. Since Android platform is based on Linux, command-line is the only way to obtain and manipulate root access. Um what decade no, what MILLENNIUM are you in It surprises me to see this type of INCORRECT nonsense about Linux being spread in the 21st century. I don t know when you last used Linux, but it s all I use and the command line most definitely is NOT the only way to obtain manipulate root access Note that it is MY preferred method, but I date back to command line only UNIX in the 1980s, so, yeah, it s quicker for me than any of the GUI tools. Anyone who prefers using GUI-based apps such as file managers can do so and still have root access, while logged in as a normal user. Agreed it shou ldn t be called the only way Editing the guide to correct this Thanks for bringing this to my attention. I was hoping this ADB will let me find a way out of a 3 weeks problem But I am stuck at Step 4 Am on W7 64 bits and connecting to a Wits A81G tablet I have installed Google USB driver package When I connect my tablet, nothing happens Windows does not detect Though, when I go to device manager, I see A81E under other devices , but with missing driver Whether I search automatically or manually, I cant find the driver Now what. I m kinda new at this I ve followed all the steps, and I know from other guides that I have ADB and the SDK installed correctly but I cannot get past the Variable section of this guide In my Enviromental Variables dialog box, I only have a TEMP and TMP to select from there is no PATH as pictured above I m not sure how to move forward Can anyone help, or refer me to another guide that could help I m not even sure what to try and GOOGLE for help on this one. You re l ooking at the User variables section Check the System variables section right below that one it ll have many more variables along with PATH. Here is how I got around the adb command not being recognized. The problem was that the PATH listed above was not the PATH that my computer had platform-tools and tools under The PATH above, c android-sdk-windows toolsc android-sdk-windows platform-tools, was to brief and it was causing my computer Windows 7 64 Bit OS to look in the wrong place. Thus, I clicked on the computer tab, then c drive, then Program Files x86 , then Android, then android-sdk, and then the files platform-tools and tools So, this is what my PATH looks like now, and it works when I type adb devices in command prompt after entering cd twice. C Program Files x86 Android android-sdk toolsC Program Files x86 Android android-sdk platform-tools. The last kite I ll fly is what the example above demonstrates be specific I noticed that my android-sdk folder had no - windows text in its nam e at all, so I axed it and added a one-step-after-the-other PATH Hope this helps any dudes gals that were struggling because it certainly took me over half a day to put the pieces together. THIS IS AN IMPORTANT STEP. Thanks KJR GENIUS. Is there a program for Windows 7 or for the Andriod to share the display of the device Andriod Optimus on to the computers monitor Dell Inspiron mini. Well been spending 3 days trying to get honeycomb 3 on Nook As in this thread no drivers found for nook I look in usb driver in SDK folder and they are not there So when I direct to folder nothing I have Windows 7 64, if that means anything-saw thread to change variables in path Would changing that do it Solution would be appreciated-this puzzle needs to be solved for my psychy Thanks. I have windows 7 64bit Maybe I do not have latest Java update Which Java do I download for my system I did search and too many out there Direction appreciated, thanks PS-could it be the Java download. Hate to be a pain, but invested time and money with this Nook and seem so close, but can not get there I think I installed the correct Java it is the developers Java 6 update 25-When I install the Google drivers and cl ose out of SDK-there is an error box states that Java 64 not found and it says something about path amd user variables add It asks to add this C C Program to path I added it to the same place that you asked to add c android-sdk-windows toolsc android-sdk-windows platform-tools I did that added to the end of the android path and before it and that error still comes up I can not get past the error Could that be the problem why there are no drivers found and that there are no drivers in the folder Is there a work around this PLEASE could someone assist or direct me to a solution Much appreciated, thanks. Been trying to get Google apps on my Nook with Honeycomb I get connected and no drivers found Been reading these comments and not the only one Two solutions might be the problem and newbie here One is there file in the usb drivers file Where is it and how can I get it Two-reading about adb exe I have that in platform tools Do I need to run this for nook If so, I tried command prompt and put adb devices in and nothing do I run that. Just figured out and ran adb devices with nook plugged in and said list of devices and nothing was listed Helppppp. Looked in usb drivers and there is androidwinusb there but there is no at the end-it just says that Should it have the inf there to find driver Is that the problem If so-how can I fix it Seems to be close to answer Thanks. adding more detail I go through device manager and get to have disk-I see the android-winusb and it does not highlight where underneath that it does have there Does this help. Win 7 64 bit I ve followed instructions for installing ADB, but keep getting following message Android SDK Manager Output WARNING Java not found in your path Checking if it s installed in C Program Files Java instead 64-bit Java was found at C Program I have added this to Path entry in User variables , but message still displays Any ideas will be much appreciated. Thanks for such a nice article. i followed all the instruction above but the cmd said adb is not recognize as a external or internal command can you post a reply for help pls. THANK YOU FOR EXPLAINING WHAT ADB STANDS FOR And for showing me where it should show up in the Device Manager Now my Coby Kyros MID7015 is rooted and CWR is working as they should. anyone please help me. i connected the playbook to my PC WIN7 64bit and done all steps when opening the Command and type adb connect 169 254 0 1 5555 it says unable to connect any clue. Nice article, however it would been better if you had informed us that you need have java jdk installed prior to installing android sdk All these huge downloads are killing me. For those of you having issues with getting ADB to work, as someone else said, triple check your paths, mine was slightly different from the example posted and it took me hours to finally see I was typing it in wrong. I have ADB installed correctly, however, my computer is not recognizing the nook when its attached It shows as a removable drive under my computer bu t when I click on it, it says please insert a disk into drive X Also, when I use the command prompt and type adb devices, it correctly says list of devices but then doesnt show any devices The Nook is showing as an Android Phone under my device manager with Android Composite ADB Interface. Any suggestions on why the nook is not being recognized I am running Win Vista SP 2, 32 bit. I also followed everything on my Nook and it is also only showing up under Android Phone and Android Composite ADB Interface Would love any help anyone can give us Thanks. why it should be that complicated in connecting usb, just to apply application in the android why not make things easy. I have been trying to root my phone now for several hours I cant even begin because I can t seem to get the drivers for my Samsung Epic 4G to install on my PC It keeps failing when it gets to the last step Installing ADB Will the above-mentioned allow me to finally successfully install the drivers needed for my PC running Wind ows 7 to access recognize the phone. installed adb interface for my motorola defy all right. the problem is adb devices command is showing two devices one is like this.016B22 device and when runnig the adb forward tcp 4747 tcp 4747 it says error more than one device and emulator. even if i disconnect my motorola defy and run cmd adb devices it shows a device with offline tag as mentioned above how to remove this device. Hi, I m using windows 7 and am trying to use DroidCam, but can t seem to understand anything I eventually found my way here and followed all the steps to getting ADB as it is needed for the usb connection for DroidCam I followed all steps successfully until the very last one I type in adb devices as said but I get the message. adb is not recognized as an internal or external command, operable program or batch file. Yeah I m using Windows XP but I got the same problem. After i root my phone what all am i looking to have will i have to download some sort of txt messenger dialer im new to this rooting business and im not even 100 sure what exactly rooting does to my phone is my phone gonna look the same after im done or does rooting mean that you erase the OS and have to install a new one Im not a complete idiot i just dont have time to research 6 thousand forums to learn about it all and would like a quick explanation if anyone can help, id appreciate it. Rooting is the act of gaining administrator acsess on your phone For the most part nothing will change unless you want it to Rooting gives you super user access allowing you to do things like over clock or edit the root system folders Now you can install custom roms or new is versions from third party developers but that is completely different from rooting. Absolute brilliance Well done. I ve been at this for 16 hours now, and I m still clueless. I ve followed all the steps here, but in the Command Prompt section, I m getting adb server is out of I m not sure if this is a major issue, because after a couple sec onds it then says daemon started successfully My real problem is in the Devices Manager bit I don t see ADB Interface , only Android USB Device My HTC I am assuming that s rather crucial for me to carry on with downgrading the firmware and rooting the phone. were i can find the sdk platform tool window as shown in your 1st screenshot and the android sdk and AVD manager as shown in your 3rd screenshot I downloaded the android sdk but i can t get into your step you help pls. I would like to to talk to you in private by a problem I have with a phone I bought from China. My email is It would be great if you have somewhere your email address to contact with the blogger. what do i have to do if usb debugging was disabled can someone teach me thanks.
Comments
Post a Comment