Android Fastboot Devices Not Returning Device

adb devices command returns no devices

Finally found the answer. I was missing a file called usb.inf from C:\Windows\inf. Not sure how on earth files just go missing from yours Windows directory...

Any way to know if Device booted from a fastboot?

I found the intent action that HTC uses during Fastboot Power On and Power Off. I thought of sharing it here as it may be useful for someone else who is facing same problem as me.

Here is the intent action you need to register in AndroidManifest.xml under your Receiver.

<receiver android:name="com.my.app.MyReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
<action android:name="android.intent.action.QUICKBOOT_POWERON"/>
</intent-filter>
</receiver>

Hope it was helpful



Related Topics



Leave a reply



Submit