[Nexus 5 Android Development] Rayfen Windspear:
It did not, but I take courage in this logcat entry. But the problem is that I do not know where in the filesystem I would be able to grant privileges. There has to be some place on the file system itself where the permission settings are stored per app.

EDIT: Looks like adb might be the savior once again. There is a grant privilege command. I'll give that a go and see if I can get it to have enough permissions to run.

[ 10-31 00:42:10.293 4805: 4805 E/AndroidRuntime ]

FATAL EXCEPTION: main

Process: com.android.systemui, PID: 4805

android.view.InflateException: Binary XML file line #81: uid=10027 needs permission android.permission.READ_CONTACTS to read lock_screen_owner_info_enabled for user 0

Caused by: java.lang.SecurityException: uid=10027 needs permission android.permission.READ_CONTACTS to read lock_screen_owner_info_enabled for user 0

at android.os.Parcel.readException(Parcel.java:1684)

at android.os.Parcel.readException(Parcel.java:1637)

at com.android.internal.widget.ILockSettings$Stub$Proxy.getBoolean(ILockSettings.java:477)

at com.android.internal.widget.LockPatternUtils.getBoolean(LockPatternUtils.java:1331)

at com.android.internal.widget.LockPatternUtils.isOwnerInfoEnabled(LockPatternUtils.java:713)

at com.android.keyguard.KeyguardStatusView.getOwnerInfo(KeyguardStatusView.java:229)

at com.android.keyguard.KeyguardStatusView.updateOwnerInfo(KeyguardStatusView.java:200)

at com.android.keyguard.KeyguardStatusView.onFinishInflate(KeyguardStatusView.java:131)

at android.view.LayoutInflater.rInflate(LayoutInflater.java:867)

at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)

at android.view.LayoutInflater.parseInclude(LayoutInflater.java:994)

at android.view.LayoutInflater.rInflate(LayoutInflater.java:854)

at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)

at android.view.LayoutInflater.parseInclude(LayoutInflater.java:994)

at android.view.LayoutInflater.rInflate(LayoutInflater.java:854)

at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)

at android.view.LayoutInflater.inflate(LayoutInflater.java:518)

at android.view.LayoutInflater.inflate(LayoutInflater.java:426)

at android.view.LayoutInflater.inflate(LayoutInflater.java:377)

at android.view.View.inflate(View.java:21014)

at com.android.systemui.statusbar.phone.PhoneStatusBar.inflateStatusBarWindow(PhoneStatusBar.java:1472)

at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:1019)

at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:4074)

at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:4070)

at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:812)

at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:937)

at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)

at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)

at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:230)

at com.android.systemui.statusbar.ServiceMonitor.-wrap5(ServiceMonitor.java)

at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:154)

at android.app.ActivityThread.main(ActivityThread.java:6236)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)

---------- Post added at 01:31 AM ---------- Previous post was at 01:10 AM ----------

BooYah!

adb shell pm grant com.android.systemui android.permission.READ_CONTACTS

and BAM. It's alive again.

Now I can take your APK, use it the RIGHT way, and test it.

EDIT: Uhhh, so I copied that SystemUI.apk over /system/priv-app/SystemUI/SystemUI.apk and chmod 644. Now it does the loading screen, then gives me this "Android is starting..." screen I've never seen before, then effectively bootloops and goes back to the google dots loading and back and forth.