[Android Apps and Games] DiamondJohn:
I am building my own ROM and use KAMod as a prebuilt APK installed as a system app (ie /system/app). When the RM boots, I often get a warning telling me it has stopped. I took some logcats and found the following. I have more, but I thought I would post the following first:

[ 06-07 18:52:10.575 2213: 2213 E/AndroidRuntime ]
FATAL EXCEPTION: main
Process: com.kerneladiutormod.reborn, PID: 2213
java.lang.RuntimeException: Unable to start receiver com.kerneladiutormod.reborn.services.BootReceiver: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.kerneladiutormod.reborn/.services.BootService }: app is in background uid UidRecord{67c7ed7 u0a58 RCVR idle change:uncached procs:1 seq(0,0,0)}
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3233)
at android.app.ActivityThread.-wrap17(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1701)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6578)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:460)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.kerneladiutormod.reborn/.services.BootService }: app is in background uid UidRecord{67c7ed7 u0a58 RCVR idle change:uncached procs:1 seq(0,0,0)}
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1530)
at android.app.ContextImpl.startService(ContextImpl.java:1486)
at android.content.ContextWrapper.startService(ContextWrapper.java:650)
at android.content.ContextWrapper.startService(ContextWrapper.java:650)
at com.kerneladiutormod.reborn.services.BootReceiver.onReceive(BootReceiver.java:35)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3226)
... 8 more

Its a crDroid Oreo ROM. also checked privacy guard, and it appears to have boot-up permissions.

---------- Post added at 08:50 PM ---------- Previous post was at 08:37 PM ----------

On another unrelated log, although no0t an error, just a warning, the following looks like it should be easy ti fix (a typo?), or not...

06-07 10:46:26.096 +0000 535 654 I ActivityManager: Displayed com.kerneladiutormod.reborn/.MainActivity: +890ms
06-07 10:46:26.429 +0000 7822 7840 W System.err: org.json.JSONException: Unterminated array at character 3702 of [
06-07 10:46:26.429 +0000 7822 7840 W System.err: {
06-07 10:46:26.429 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.429 +0000 7822 7840 W System.err: "HTC",
06-07 10:46:26.429 +0000 7822 7840 W System.err: "htc"
06-07 10:46:26.429 +0000 7822 7840 W System.err: ],
06-07 10:46:26.429 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.429 +0000 7822 7840 W System.err: "a5",
06-07 10:46:26.429 +0000 7822 7840 W System.err: "a5chl",
06-07 10:46:26.429 +0000 7822 7840 W System.err: "a5ul",
06-07 10:46:26.429 +0000 7822 7840 W System.err: "a5dwg",
06-07 10:46:26.429 +0000 7822 7840 W System.err: "a5dug",
06-07 10:46:26.429 +0000 7822 7840 W System.err: "htc_a5",
06-07 10:46:26.429 +0000 7822 7840 W System.err: "htc_a5chl",
06-07 10:46:26.429 +0000 7822 7840 W System.err: "htc_a5ul",
06-07 10:46:26.430 +0000 7822 7840 W System.err: "htc_a5dwg",
06-07 10:46:26.430 +0000 7822 7840 W System.err: "htc_a5dug"
06-07 10:46:26.430 +0000 7822 7840 W System.err: ],
06-07 10:46:26.431 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/desire816.json"
06-07 10:46:26.431 +0000 7822 7840 W System.err: },
06-07 10:46:26.431 +0000 7822 7840 W System.err: {
06-07 10:46:26.431 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.431 +0000 7822 7840 W System.err: "samsung"
06-07 10:46:26.431 +0000 7822 7840 W System.err: ],
06-07 10:46:26.431 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.431 +0000 7822 7840 W System.err: "GT-I9103"
06-07 10:46:26.432 +0000 7822 7840 W System.err: ],
06-07 10:46:26.432 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/galaxyr.json"
06-07 10:46:26.432 +0000 7822 7840 W System.err: },
06-07 10:46:26.432 +0000 7822 7840 W System.err: {
06-07 10:46:26.432 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.432 +0000 7822 7840 W System.err: "OnePlus"
06-07 10:46:26.432 +0000 7822 7840 W System.err: ],
06-07 10:46:26.432 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.432 +0000 7822 7840 W System.err: "A0001",
06-07 10:46:26.433 +0000 7822 7840 W System.err: "bacon"
06-07 10:46:26.433 +0000 7822 7840 W System.err: ],
06-07 10:46:26.433 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/oneplusone.json"
06-07 10:46:26.433 +0000 7822 7840 W System.err: },
06-07 10:46:26.433 +0000 7822 7840 W System.err: {
06-07 10:46:26.433 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.433 +0000 7822 7840 W System.err: "Micromax",
06-07 10:46:26.433 +0000 7822 7840 W System.err: "Spice",
06-07 10:46:26.433 +0000 7822 7840 W System.err: "Karbonn",
06-07 10:46:26.433 +0000 7822 7840 W System.err: "Roar",
06-07 10:46:26.434 +0000 7822 7840 W System.err: "Mito",
06-07 10:46:26.434 +0000 7822 7840 W System.err: "Evercoss",
06-07 10:46:26.434 +0000 7822 7840 W System.err: "Nexian",
06-07 10:46:26.434 +0000 7822 7840 W System.err: "Cherry Mobile",
06-07 10:46:26.434 +0000 7822 7840 W System.err: "MyPhone",
06-07 10:46:26.434 +0000 7822 7840 W System.err: "QMobile"
06-07 10:46:26.434 +0000 7822 7840 W System.err: ],
06-07 10:46:26.434 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.434 +0000 7822 7840 W System.err: "sprout4",
06-07 10:46:26.434 +0000 7822 7840 W System.err: "sprout8",
06-07 10:46:26.434 +0000 7822 7840 W System.err: "sprout",
06-07 10:46:26.434 +0000 7822 7840 W System.err: "sprout_b"
06-07 10:46:26.434 +0000 7822 7840 W System.err: ],
06-07 10:46:26.434 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/sprout.json"
06-07 10:46:26.434 +0000 7822 7840 W System.err: },
06-07 10:46:26.434 +0000 7822 7840 W System.err: {
06-07 10:46:26.435 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.435 +0000 7822 7840 W System.err: "LGE"
06-07 10:46:26.435 +0000 7822 7840 W System.err: ],
06-07 10:46:26.435 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.435 +0000 7822 7840 W System.err: "d850",
06-07 10:46:26.435 +0000 7822 7840 W System.err: "d851",
06-07 10:46:26.435 +0000 7822 7840 W System.err: "d852",
06-07 10:46:26.435 +0000 7822 7840 W System.err: "d855",
06-07 10:46:26.435 +0000 7822 7840 W System.err: "f400",
06-07 10:46:26.435 +0000 7822 7840 W System.err: "ls990",
06-07 10:46:26.435 +0000 7822 7840 W System.err: "vs985"
06-07 10:46:26.435 +0000 7822 7840 W System.err: ],
06-07 10:46:26.435 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/g3.json"
06-07 10:46:26.435 +0000 7822 7840 W System.err: },
06-07 10:46:26.435 +0000 7822 7840 W System.err: {
06-07 10:46:26.435 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.436 +0000 7822 7840 W System.err: "samsung"
06-07 10:46:26.437 +0000 7822 7840 W System.err: ],
06-07 10:46:26.437 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.437 +0000 7822 7840 W System.err: "SM-G900T",
06-07 10:46:26.437 +0000 7822 7840 W System.err: "kltetmo"
06-07 10:46:26.437 +0000 7822 7840 W System.err: ],
06-07 10:46:26.437 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/sm-g900t.json"
06-07 10:46:26.437 +0000 7822 7840 W System.err: },
06-07 10:46:26.437 +0000 7822 7840 W System.err: {
06-07 10:46:26.438 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.438 +0000 7822 7840 W System.err: "Sony"
06-07 10:46:26.438 +0000 7822 7840 W System.err: ],
06-07 10:46:26.438 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.438 +0000 7822 7840 W System.err: "huashan"
06-07 10:46:26.438 +0000 7822 7840 W System.err: ],
06-07 10:46:26.438 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/xperiasp.json"
06-07 10:46:26.438 +0000 7822 7840 W System.err: },
06-07 10:46:26.438 +0000 7822 7840 W System.err: {
06-07 10:46:26.438 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.439 +0000 7822 7840 W System.err: "samsung"
06-07 10:46:26.439 +0000 7822 7840 W System.err: ],
06-07 10:46:26.439 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.439 +0000 7822 7840 W System.err: "SM-G900F",
06-07 10:46:26.439 +0000 7822 7840 W System.err: "klte"
06-07 10:46:26.440 +0000 7822 7840 W System.err: ],
06-07 10:46:26.440 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/galaxys5.json"
06-07 10:46:26.440 +0000 7822 7840 W System.err: },
06-07 10:46:26.440 +0000 7822 7840 W System.err: {
06-07 10:46:26.440 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.440 +0000 7822 7840 W System.err: "LGE",
06-07 10:46:26.440 +0000 7822 7840 W System.err: "lge",
06-07 10:46:26.441 +0000 7822 7840 W System.err: "lge LGE"
06-07 10:46:26.441 +0000 7822 7840 W System.err: ],
06-07 10:46:26.441 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.441 +0000 7822 7840 W System.err: "bullhead"
06-07 10:46:26.441 +0000 7822 7840 W System.err: ],
06-07 10:46:26.441 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/bullhead.json"
06-07 10:46:26.441 +0000 7822 7840 W System.err: },
06-07 10:46:26.441 +0000 7822 7840 W System.err: {
06-07 10:46:26.441 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.441 +0000 7822 7840 W System.err: "LGE",
06-07 10:46:26.441 +0000 7822 7840 W System.err: "lge",
06-07 10:46:26.441 +0000 7822 7840 W System.err: "lge LGE"
06-07 10:46:26.443 +0000 7822 7840 W System.err: ],
06-07 10:46:26.443 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.443 +0000 7822 7840 W System.err: "jagnm"
06-07 10:46:26.443 +0000 7822 7840 W System.err: ],
06-07 10:46:26.444 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/g3beat_jagnm.json"
06-07 10:46:26.444 +0000 7822 7840 W System.err: },
06-07 10:46:26.444 +0000 7822 7840 W System.err: {
06-07 10:46:26.444 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.445 +0000 7822 7840 W System.err: "LGE",
06-07 10:46:26.445 +0000 7822 7840 W System.err: "lge",
06-07 10:46:26.445 +0000 7822 7840 W System.err: "lge LGE"
06-07 10:46:26.445 +0000 7822 7840 W System.err: ],
06-07 10:46:26.445 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.445 +0000 7822 7840 W System.err: "jag3gds"
06-07 10:46:26.445 +0000 7822 7840 W System.err: ],
06-07 10:46:26.445 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/g3beat_jag3gds.json"
06-07 10:46:26.445 +0000 7822 7840 W System.err: },
06-07 10:46:26.445 +0000 7822 7840 W System.err: {
06-07 10:46:26.445 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.445 +0000 7822 7840 W System.err: "Motorola"
06-07 10:46:26.446 +0000 7822 7840 W System.err: ],
06-07 10:46:26.446 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.446 +0000 7822 7840 W System.err: "Condor"
06-07 10:46:26.446 +0000 7822 7840 W System.err: ],
06-07 10:46:26.446 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/condor.json"
06-07 10:46:26.446 +0000 7822 7840 W System.err: },
06-07 10:46:26.446 +0000 7822 7840 W System.err: {
06-07 10:46:26.446 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.446 +0000 7822 7840 W System.err: "motorola",
06-07 10:46:26.446 +0000 7822 7840 W System.err: "Motorola"
06-07 10:46:26.446 +0000 7822 7840 W System.err: ],
06-07 10:46:26.446 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.446 +0000 7822 7840 W System.err: "quark",
06-07 10:46:26.446 +0000 7822 7840 W System.err: "Quark",
06-07 10:46:26.446 +0000 7822 7840 W System.err: "quark_lra",
06-07 10:46:26.446 +0000 7822 7840 W System.err: "quark_umts",
06-07 10:46:26.447 +0000 7822 7840 W System.err: "Moto MAXX",
06-07 10:46:26.447 +0000 7822 7840 W System.err: "xt1225",
06-07 10:46:26.447 +0000 7822 7840 W System.err: "XT1225",
06-07 10:46:26.447 +0000 7822 7840 W System.err: "xt1250",
06-07 10:46:26.447 +0000 7822 7840 W System.err: "XT1250",
06-07 10:46:26.447 +0000 7822 7840 W System.err: "xt1254",
06-07 10:46:26.447 +0000 7822 7840 W System.err: "XT1254"
06-07 10:46:26.447 +0000 7822 7840 W System.err: ],
06-07 10:46:26.447 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/quark.json"
06-07 10:46:26.447 +0000 7822 7840 W System.err: },
06-07 10:46:26.447 +0000 7822 7840 W System.err: {
06-07 10:46:26.447 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.447 +0000 7822 7840 W System.err: "YU"
06-07 10:46:26.447 +0000 7822 7840 W System.err: ],
06-07 10:46:26.447 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.447 +0000 7822 7840 W System.err: "YUREKA"
06-07 10:46:26.448 +0000 7822 7840 W System.err: ],
06-07 10:46:26.448 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/tomato.json"
06-07 10:46:26.448 +0000 7822 7840 W System.err: },
06-07 10:46:26.448 +0000 7822 7840 W System.err: {
06-07 10:46:26.448 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.448 +0000 7822 7840 W System.err: "YU"
06-07 10:46:26.448 +0000 7822 7840 W System.err: ],
06-07 10:46:26.448 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.448 +0000 7822 7840 W System.err: "YUPHORIA"
06-07 10:46:26.448 +0000 7822 7840 W System.err: ],
06-07 10:46:26.449 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/lettuce.json"
06-07 10:46:26.449 +0000 7822 7840 W System.err: },
06-07 10:46:26.449 +0000 7822 7840 W System.err: {
06-07 10:46:26.449 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.449 +0000 7822 7840 W System.err: "YU"
06-07 10:46:26.450 +0000 7822 7840 W System.err: ],
06-07 10:46:26.450 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.450 +0000 7822 7840 W System.err: "YUNIQUE"
06-07 10:46:26.450 +0000 7822 7840 W System.err: ],
06-07 10:46:26.450 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/jalebi.json"
06-07 10:46:26.450 +0000 7822 7840 W System.err: }
06-07 10:46:26.450 +0000 7822 7840 W System.err: {
06-07 10:46:26.450 +0000 7822 7840 W System.err: "vendor": [
06-07 10:46:26.450 +0000 7822 7840 W System.err: "huawei"
06-07 10:46:26.450 +0000 7822 7840 W System.err: ],
06-07 10:46:26.450 +0000 7822 7840 W System.err: "device": [
06-07 10:46:26.450 +0000 7822 7840 W System.err: "Angler"
06-07 10:46:26.450 +0000 7822 7840 W System.err: ],
06-07 10:46:26.450 +0000 7822 7840 W System.err: "link": "https://raw.githubusercontent.com/Grarak/KernelAdiutor/master/download/Angler.json"
06-07 10:46:26.451 +0000 7822 7840 W System.err: }
06-07 10:46:26.451 +0000 7822 7840 W System.err: ]
06-07 10:46:26.451 +0000 7822 7840 W System.err: at org.json.JSONTokener.syntaxError(JSONTokener.java:449)
06-07 10:46:26.451 +0000 7822 7840 W System.err: at org.json.JSONTokener.readArray(JSONTokener.java:439)
06-07 10:46:26.451 +0000 7822 7840 W System.err: at org.json.JSONTokener.nextValue(JSONTokener.java:103)
06-07 10:46:26.451 +0000 7822 7840 W System.err: at org.json.JSONArray.<init>(JSONArray.java:92)
06-07 10:46:26.452 +0000 7822 7840 W System.err: at org.json.JSONArray.<init>(JSONArray.java:108)
06-07 10:46:26.452 +0000 7822 7840 W System.err: at com.kerneladiutormod.reborn.utils.json.Downloads.<init>(Downloads.java:50)
06-07 10:46:26.452 +0000 7822 7840 W System.err: at com.kerneladiutormod.reborn.MainActivity.setList(MainActivity.java:278)
06-07 10:46:26.452 +0000 7822 7840 W System.err: at com.kerneladiutormod.reborn.MainActivity.access$300(MainActivity.java:119)
06-07 10:46:26.452 +0000 7822 7840 W System.err: at com.kerneladiutormod.reborn.MainActivity$Task.doInBackground(MainActivity.java:402)
06-07 10:46:26.452 +0000 7822 7840 W System.err: at com.kerneladiutormod.reborn.MainActivity$Task.doInBackground(MainActivity.java:385)
06-07 10:46:26.452 +0000 7822 7840 W System.err: at android.os.AsyncTask$2.call(AsyncTask.java:334)
06-07 10:46:26.453 +0000 7822 7840 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
06-07 10:46:26.453 +0000 7822 7840 W System.err: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:246)
06-07 10:46:26.453 +0000 7822 7840 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
06-07 10:46:26.454 +0000 7822 7840 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
06-07 10:46:26.455 +0000 7822 7840 W System.err: at java.lang.Thread.run(Thread.java:764)
06-07 10:46:26.791 +0000 7822 7822 I Kernel Adiutor: Opening KernelInformationFragment