1. If you compare the AndroidManifest.xml from OP and original, you notice the intents and etc. are differents (com.android.... instead of com.cyngn). You can also check in original Keyguard.apk from CyanogenMod.
2. Edit the smali folder to correspond to com.android.... instead of com.cyngn
3. Edit all classes for same reason
4. Edit all res for same reason
5. Recompile
6. It will work if signature checks is disabled on your phone, otherwise you need META-INF folder & AndroidManifest.xml from the OP APK because their signatures matches with SystemUI. signature. Otherwise, resigning all system apps is required.
It is quite complicated but this is basically that.
Tested on latest CM11 build and works flawlessly. I will look if I can port it over other ROMs such as ParanoidAndroid or AOKP.
Edit 2 :
Figured out why it doesn't work on Paranoid android. It seems the CMKeyguard is looking for "Profile" things and also it doesn't find this :com.android.internal.util.cm.QuietHoursUtils.inQu ietHours. There might be a few others, didn't check afterwards. I wont dig deeper into this.
Is this zip only for the OnePlus One? 'Cause I flashed the one from the OP and it worked perfectly in the latest CM11 Mako's nightly.
After flashing I got System UI FC. Any advice?
I'm on ART but the with the zip from the OP I don't have any problem with ART.
Thanks in advance. [emoji4]








Linear Mode
