AlaskaLinuxUser's Scratchpad

Commit thy works unto the LORD, and thy thoughts shall be established. - Proverbs 16:3

error: use of undeclared identifier 'pm_idle'

Lately I've been going through the Xperia XA2 Ultra kernel (sdm660) and trying to add new features. Today I was adding in some governors, and several of them had the same underlying issues. Part of the problem was that I got the governors from a 3.10 kernel and put …

Picked up two more badges from CompTIA!

[gallery ids="4418,4417" type="square" columns="2"]

Well, I'm not 100% sure how valuable they are, but I picked up a few more CompTIA badges recently. I've been going through the CompTIA certifications to renew some that I had, and to pick up some new ones. All told, this …

system/bt/stack/btu/btu_hcif.cc:729:22: error: no member named 'BLUETOOTH_CLASSIC_PAIRING_EVENT_REPORTED' in namespace 'android::util'

Several Bluetooth issues were really giving me the run around while trying to compile AOKP for the Xperia XA2 Ultra. Let's take a look:

system/bt/stack/btu/btu_hcif.cc:729:22: error: no member named 'BLUETOOTH_CLASSIC_PAIRING_EVENT_REPORTED' in namespace 'android::util'
android::util::BLUETOOTH_CLASSIC_PAIRING_EVENT_REPORTED, "", handle,
\~\~\~\~\~\~\~\~\~\~\~\~\~\~~^
system/bt/stack/btu/btu_hcif …

error: vendor/qcom/opensource/cryptfs_hw/Android.bp:27:37: unrecognized property "product_variables.lineage.uses_metadata_as_fde_key"

Another random error while compiling AOKP pie for the XA2 Ultra. These calls work properly when compiling Lineage, but don't work in the AOKP source tree, so I did some digging.

error: vendor/qcom/opensource/cryptfs_hw/Android.bp:27:37: unrecognized property "product_variables.lineage.uses_metadata_as_fde_key"

In the end, I found …