AlaskaLinuxUser's Scratchpad

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

Adding a kernel governor can be a Nightmare!

Okay, so a little play on words, especially since I am adding the Nightmare governor to the tblte (Samsung Galaxy Note Edge) kernel, but it did turn out to be a bit of a problem child, fortunately, it was quickly corrected. As you can see, I did the standard additions …

CONGRATS YOU EARNED A STINKEYE FROM CID!

Well, this certainly is an original code error if I ever saw one.

[CODE]prebuilts/cmsdk/api/6.txt:745: error 8: Removed public class cyanogenmod.platform.R.color
prebuilts/cmsdk/api/6.txt:749: error 8: Removed public class cyanogenmod.platform.R.dimen
prebuilts/cmsdk/api/6.txt:765 …

Neverallow failures occurred

What does that even mean? Let's take a look at the code:

[CODE]
libsepol.report_failure: neverallow on line 574 of system/sepolicy/system_server.te (or line 18452 of policy.conf) violated by allow system_server system_server:process { execmem };
libsepol.report_failure: neverallow on line 544 of system/sepolicy/domain.te (or line …

Error: could not load context file

Edit: At this point (being 4 years ago) I did not understand this issue, and performed the below fix. However, this not the correct way to fix it:

While working on AOKP 7.0, I came across an interesting error:

[CODE]

libsepol.context_from_record: could not create context structure

/home/alaskalinuxuser …

AIDE: Building Android apps on your phone!

After spending a little bit of time with my Android Studio app development course, it occurred to me that there must be a way to build Android apps on your Android phone. Five minutes on Google gave me more choices then I could shake a stick at! So, I tried …

When symbolic links don't work?

Recently, while compiling CM12 for the TBLTETMO, Galaxy Note Edge, I ran into an odd error. I did not get a chance to copy the error message, but essentially it said that the file[CODE]linux/dqblk_qtree.h[/CODE]

did not exist.

Normally, this would not cause concern, nor even …

When Jack turns into a Ninja.

Well, Jack doesn't actually turn into a Ninja. Actually Jack gets beat up by one. On my computer at least.

I've used Jack for a while now, when compiling Marshmallow roms. However, Jack keeps having problems while I am building Nougat roms. In fact, Jack seems to sit down and …

Error: Spaces are literal!

Yet another interesting error. This time, the problem is that it needs spaces between the "literal and identifier". Take a look:

[CODE]
hardware/qcom/display-caf/apq8084/libqdutils/profiler.cpp:130:22: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
ALOGD("%"PRId64" %"PRId64" %"PRId64 …