The Successful Use of ADB Drivers, to Enable Automation of Power-Saving, on my Samsung S6 Smart-Phone

I happen to be a long-time user of this app, which exports shortcuts to the Android system, which together with this app, allow for the automation of power-saving mode, by way of NFC Tags.

Until recently, this phone still had Android 5.0.2 (Lollipop) on it, which meant that the power-saving app was able to toggle power-saving mode without requiring special permissions. However, since my upgrade to Android 6.0.1 on the phone (Marshmallow), this permission is no longer granted. And so I needed to grant access to the power-saving app, to restricted settings on the phone, via ADB USB Debugging.

Today was the first time I ever used the ADB Drivers on my Linux laptop named ‘Klystron’.

Continue reading The Successful Use of ADB Drivers, to Enable Automation of Power-Saving, on my Samsung S6 Smart-Phone

Google Pixel C does not have NEON.

I have been thoroughly enjoying my Google Pixel C, which I ordered only recently, and which I ordered because the actual tablet I have been using before, was only a first-generation Samsung Galaxy Tab S.

Sometimes we obtain many new features, but also at the expense of losing some feature. Because the ARM CPU is a RISC-Chip, the manufacturers of Android devices have sometimes made up for this by including a coprocessor called NEON. NEON is an SIMD – a Single-Instruction, Multiple-Data – coprocessor – aka a Vector-Processor, which is often useful to allow the decoding of high-definition video streams in real-time, without placing the burden of doing so on the main CPU.

(Edit 04/08/2017 : I have given my own definition of what “Hardware Acceleration” means, Here. )

What has happened with the Pixel C, is that Google has decided to put a Tegra X1 CPU into it, which is an SoC that also has a big coprocessor – its mighty GPU. With this tablet, real-time video-decoding is meant to be performed by the GPU, which advertizes several system-installed Codecs. Therefore, watching videos in high definition should not require a NEON coprocessor, and the Tegra X1 does not have one. (And, when I scroll further down the list of Codecs, that list includes two of the corresponding Encoders, from Nvidia, not only the Decoders. )

foxy_149159474357

In fact, the Pixel C only has a 4-core main CPU!

Continue reading Google Pixel C does not have NEON.

Reducing the amount of Data Cached by our Applications

My smart-phone is a Samsung Galaxy S6, with 64GB of mass-storage – internal. It runs on Android. This morning I got a notification about a subject which I had known about for some time: My phone was running low on Storage. So I investigated for the first time, a subject which had been lingering. On a phone with 64GB of storage, this problem should not really occur.

What I found was that in my case, the cache used by the installed applications far exceeded the true amount of working storage I was consuming. My Cached Application Data was consuming 38GB by itself! And so I needed to perform a quick operation, to reduce this consumption.

In such a case, it does not serve any useful purpose, to Clear the Cache Partition. The reason for this is the old-school fact, that the Cache Partition is a separately-mounted partition, which may in certain cases contain corrupted bytes of data, but the consumption of which will never compete with the amount of storage in any other partition. I did clear my cache partition, but doing so had no effect on the amount of data being indicated, as Cached by the Applications, and on my main partition.

In such a case, the only thing really to do, is to clear the cache of specific applications, and/or uninstall apps we are not using, until the amount required has been freed. I had less than 1GB of working storage left at this point.

Continue reading Reducing the amount of Data Cached by our Applications