Identify WiFi Mac, Product Model, Serial Number using ADB

If you are looking for the device information of your Android device such as, product model, manufacturer, serial number or WiFi mac address etc, we will show how this can be obtained using following adb shell commands First connect your android device/mobile over USB/Ethernet and check if that device is connected as Check the Mac … Read more

How to Start and Stop android service from adb shell

If you have followed our another article “Understanding Android Services with Example” you might be allready able to write a code to create android service and get it compiled. Once you install this service on to your android device using “adb install” command, you will need to start this service to execute the functionality written … Read more

Mounting android system partition as read/write or read-only

Android’s system partition is by default mounted as read only, but if you are looking to modify some system files or applications, then if you try as is, you will not be able to do so due to restricted user permissions, hence first thing we need to do is mount the system partition as read/write … Read more

How to Install and Uninstall android application as system app / priv-app

To install any android application as a system app, ( which can’t be uninstalled from settings ), first important this is, the device on which we need to install apk has to be a rooted device with all the necessary permissions. The user devices which we purchase from off-the shelves market are mostly “user” devices … Read more

How to Acquire and Release a wakelock forcefully from Android shell

Sometime when you are developing some code where you need to acquire a wakelock or when you are debugging some bug where you need to identify whether wakelock is the problem, you can choose to acquire or release the wakelock forcefully so your debugging on an issue becomes easier. Note: Following steps needs a root … Read more

Fetch all Device information from Android for debugging

This post details, how you can use some of our scripts to download all the information of android device. This will help you to debug and fix issues in Android platform. Note: These scripts are mostly used during development of Android devices. Hence its expected to have device with root enabled, but this also works … Read more

How to identify Activity name and start the activity of installed app

This posts lets you identify name of the activity from the installed application and then use the package name and activity name to start the applications Activity. List all the installed applications using $ adb shell pm list packages -f From this above command, you will get the path and apk name of application you … Read more