Tapping and capturing screen on Android via ADB

Read more

Starting ADB server listening on different TCP Port

Read more

Usefull Android Posts

Create Foreground Service https://robertohuertas.com/2019/06/29/android_foreground_services/ Check that application is installed Check that application is running Read more

Creating Device Owner App With Background Installation Feature

I had a task to support background installation of Android apps on recent Android OS. My Googling/GPT skills identified that one way to do it on non-rooted device is to use PackageManager API along with marking the app as ‘device-owner’.... Read more

Useful Android ADB Commands

Get Android Version Start ADB Server On Specific Port List Processes Package Version Dump camera information Listing process logs Listing installed applications Read more

Android Rooting Process

In order to root Android device, few steps will have to be performed. These steps are done in certain order, which when completed will provide root access. Major steps involved in rooting are: Unlocking Bootloader The loader needs to be... Read more

Making Android Service a System App

By default when Android application is installed for example via debugger, id only has permissions defined in it’s AndroidManifest.xml. But that’s actually not true, as some permissions cannot be given to regulary installed apps (e.g. android.permission.BROADCAST_SMS). To enable all posible... Read more

Android WIFI Debugging

To set-up Android WIFI debugging, perform the following steps. Connect Android and PC to same WIFI network. Then, in Android go to developer tools and enable wifi debugging. Then in debugging menu, select pair device, where you’ll get an IP... Read more

Simulate events in Android Emulator

I had to do some testing with application which expected certain boot events to occur to start properly. Since it was an emulator, boot event was never received and so I was not able to start all background services related... Read more