Author: Tomasz

Programmatically close recent apps

It seems and is the most obvious choice to close apps running in background in order to give a device a small boost. Android’s recents screen is designed to allow users to quickly stop...

Dumpsys: Battery mocking with ADB shell

In some cases a specific conditions in relation to device’s battery state, level or charging method are required for either development or testing. It seems relatively easy to charge or discharge a device. However,...

Backup and restore Android’s settings quickly

Few posts ago (Programmatically change android settings) I mentioned a clever way of changing Android’s setting from a command line with the use of one of the system’s binary. This allowed for manipulation of...

Full vs Incremental OTA (Over-The-Air Update)

There are two types of OTA (that I have encountered so far). Each with its own advantages and usages. But there is only one type typical customer would see (the other one you probably...

Upgrade paths for Android device

There are few methods of getting the latest firmware onto your device, most of them require one ingredient: correctly signed OTA (usually: update.zip) file or… patience. Once obtained we can start a manual update process....

Errors during Android update process (OTA)

No doubt, when updating Android software some you might face some problems, especially when a device has been rooted and (system partition) customized (nobody likes bloatware). Luckily recovery gives us some hints in cases when...

Query information from Android device with ‘dumpsys’

There a simple tool called Dumpsys, that allows query various services in order to find some useful data. It lists all the stats  & information about particular selected component in a simple text format. Here is the...