[Samsung Galaxy Note 10+ ROMs, Kernels, Recoveries,] Yom:
Whole Phone Encryption?

Dear Dr. Ketan,

Just found your beautiful ROM, thank you!

Wondering if you could possibly point me in the right direction to successfully encrypt my phone. I am running your latest ROM on an N975F. I am certain I am doing something wrong.

I start the phone encryption, I get the black screen saying ENCRYPTING, and it stays like that for hours. Apparently no encryption is taking place due to this:

08-12 15:55:32.284 13898 13898 D ViewRootImpl@35b2963[CryptKeeperConfirm$Blank]: MSG_WINDOW_FOCUS_CHANGED 1 1
08-12 15:55:32.284 13898 13898 D InputMethodManager: prepareNavigationBarInfo() DecorView@8422430[CryptKeeperConfirm$Blank]
08-12 15:55:32.285 13898 13898 D InputMethodManager: prepareNavigationBarInfo() DecorView@8422430[CryptKeeperConfirm$Blank]
08-12 15:55:32.288 6106 6156 I WindowManager: Reparenting to leash, surface=Surface(name=AppWindowToken{c51d1e4 token=Token{a2fc177 ActivityRecord{8e63776 u0 com.android.settings/.CryptKeeperConfirm$Blank t43}}})/@0x6934498
08-12 15:55:32.289 5602 7855 I SurfaceFlinger: id=499 createSurf (0x0),-1 flag=80004, Surface(name=AppWindowToken{c51d1e4 token=Token{a2fc177 ActivityRecord{8e63776 u0 com.android.settings/.CryptKeeperConfirm$Blank t43}}})/@0x6934498 - animation-leash#0
08-12 15:55:32.289 6106 6156 D WindowManager: makeSurface duration=0 leash=Surface(name=Surface(name=AppWindowToken{c51d1e4 token=Token{a2fc177 ActivityRecord{8e63776 u0 com.android.settings/.CryptKeeperConfirm$Blank t43}}})/@0x6934498 - animation-leash)/@0x12ab4f1
08-12 15:55:32.289 5602 7855 I SurfaceFlinger: id=500 createSurf (0x0),-1 flag=80004, Surface(name=AppWindowToken{c51d1e4 token=Token{a2fc177 ActivityRecord{8e63776 u0 com.android.settings/.CryptKeeperConfirm$Blank t43}}})/@0x6934498 - animation-bounds#0
08-12 15:55:32.289 6106 6156 D PkgPredictorService: pkg:com.android.settings activity:com.android.settings.CryptKeeperConfirm$Blank thisTime:-1
08-12 15:55:32.290 6106 6153 D WindowManager: setSystemUiVisibility: displayId=0, vis=0x8010, fullVis=0x0, dockVis=0x0, win=Window{f76b205 u0 com.android.settings/com.android.settings.CryptKeeperConfirm$Blank}
08-12 15:55:32.298 13898 13898 D ViewRootImpl@35b2963[CryptKeeperConfirm$Blank]: MSG_RESIZED: frame=(0,85,1080,2280) ci=(0,0,0,126) vi=(0,0,0,126) or=1
08-12 15:55:32.320 5602 5602 I SurfaceFlinger: DEVICE | 0x7cae1b8340 | 0002 | RGBA_8888 | 0.0 0.0 1080.0 1659.0 | 0 621 1080 2280 | com.android.settings/com.android.settings.CryptKeeperConfirm$Blank$_13898#0
08-12 15:55:32.335 5602 5602 I SurfaceFlinger: DEVICE | 0x7cae1b8340 | 0002 | RGBA_8888 | 0.0 0.0 1080.0 1667.0 | 0 612 1080 2280 | com.android.settings/com.android.settings.CryptKeeperConfirm$Blank$_13898#0
08-12 15:55:32.435 5602 5602 I SurfaceFlinger: DEVICE | 0x7cae1b8340 | 0002 | RGBA_8888 | 0.0 0.0 1080.0 1937.0 | 0 342 1080 2280 | com.android.settings/com.android.settings.CryptKeeperConfirm$Blank$_13898#0
08-12 15:55:32.669 5602 5602 I SurfaceFlinger: DEVICE | 0x7cae1b8340 | 0002 | RGBA_8888 | 0.0 0.0 1080.0 2186.0 | 0 94 1080 2280 | com.android.settings/com.android.settings.CryptKeeperConfirm$Blank$_13898#0
08-12 15:55:32.734 6106 6156 I WindowManager: Reparenting to original parent: Surface(name=Task=43)/@0x63f9276, destroyLeash=true, surface=Surface(name=AppWindowToken{c51d1e4 token=Token{a2fc177 ActivityRecord{8e63776 u0 com.android.settings/.CryptKeeperConfirm$Blank t43}}})/@0x6934498
08-12 15:55:32.739 5602 5642 I Layer : id=499 removeFromCurrentState Surface(name=AppWindowToken{c51d1e4 token=Token{a2fc177 ActivityRecord{8e63776 u0 com.android.settings/.CryptKeeperConfirm$Blank t43}}})/@0x6934498 - animation-leash#0 (82)
08-12 15:55:32.739 5602 5642 I Layer : id=500 removeFromCurrentState Surface(name=AppWindowToken{c51d1e4 token=Token{a2fc177 ActivityRecord{8e63776 u0 com.android.settings/.CryptKeeperConfirm$Blank t43}}})/@0x6934498 - animation-bounds#0 (82)
08-12 15:55:32.740 5602 5642 I SurfaceFlinger: id=499 Removed Surface(name=AppWindowToken{c51d1e4 token=Token{a2fc177 ActivityRecord{8e63776 u0 com.android.settings/.CryptKeeperConfirm$Blank t43}}})/@0x6934498 - animation-leash#0 (82)
08-12 15:55:32.740 5602 5642 I SurfaceFlinger: id=500 Removed Surface(name=AppWindowToken{c51d1e4 token=Token{a2fc177 ActivityRecord{8e63776 u0 com.android.settings/.CryptKeeperConfirm$Blank t43}}})/@0x6934498 - animation-bounds#0 (82)
08-12 15:55:32.750 5602 5602 I Layer : id=500[1] Destroyed Surface(name=AppWindowToken{c51d1e4 token=Token{a2fc177 ActivityRecord{8e63776 u0 com.android.settings/.CryptKeeperConfirm$Blank t43}}})/@0x6934498 - animation-bounds#0
08-12 15:55:32.750 5602 5602 I Layer : id=499[1] Destroyed Surface(name=AppWindowToken{c51d1e4 token=Token{a2fc177 ActivityRecord{8e63776 u0 com.android.settings/.CryptKeeperConfirm$Blank t43}}})/@0x6934498 - animation-leash#0
08-12 15:55:32.756 5602 5602 I SurfaceFlinger: DEVICE | 0x7cae1b8340 | 0002 | RGBA_8888 | 0.0 0.0 1080.0 2195.0 | 0 85 1080 2280 | com.android.settings/com.android.settings.CryptKeeperConfirm$Blank$_13898#0
08-12 15:55:32.962 13898 13898 W Bundle : at com.android.settings.CryptKeeperConfirm$Blank$1.run(CryptKeeperConfirm.java:113)
08-12 15:55:32.963 13898 13898 E CryptKeeper: Error while encrypting...
08-12 15:55:32.963 13898 13898 E CryptKeeper: java.lang.IllegalArgumentException: password cannot be empty
08-12 15:55:32.963 13898 13898 E CryptKeeper: at android.os.Parcel.createException(Parcel.java:2092)
08-12 15:55:32.963 13898 13898 E CryptKeeper: at android.os.Parcel.readException(Parcel.java:2056)
08-12 15:55:32.963 13898 13898 E CryptKeeper: at android.os.Parcel.readException(Parcel.java:2004)
08-12 15:55:32.963 13898 13898 E CryptKeeper: at android.os.storage.IStorageManager$Stub$Proxy.encryptStorage(IStorageManager.java:2674)
08-12 15:55:32.963 13898 13898 E CryptKeeper: at com.android.settings.CryptKeeperConfirm$Blank$1.run(CryptKeeperConfirm.java:113)
08-12 15:55:32.963 13898 13898 E CryptKeeper: at android.os.Handler.handleCallback(Handler.java:883)
08-12 15:55:32.963 13898 13898 E CryptKeeper: at android.os.Handler.dispatchMessage(Handler.java:100)
08-12 15:55:32.963 13898 13898 E CryptKeeper: at android.os.Looper.loop(Looper.java:237)
08-12 15:55:32.963 13898 13898 E CryptKeeper: at android.app.ActivityThread.main(ActivityThread.java:8016)
08-12 15:55:32.963 13898 13898 E CryptKeeper: at java.lang.reflect.Method.invoke(Native Method)
08-12 15:55:32.963 13898 13898 E CryptKeeper: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
08-12 15:55:32.963 13898 13898 E CryptKeeper: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1076)
08-12 15:55:32.963 13898 13898 E CryptKeeper: Caused by: android.os.RemoteException: Remote stack trace:
08-12 15:55:32.963 13898 13898 E CryptKeeper: at com.android.server.StorageManagerService.encryptStorage(Unknown Source:48)
08-12 15:55:32.963 13898 13898 E CryptKeeper: at android.os.storage.IStorageManager$Stub.onTransact(IStorageManager.java:1296)
08-12 15:55:32.963 13898 13898 E CryptKeeper: at android.os.Binder.execTransactInternal(Binder.java:1021)
08-12 15:55:32.963 13898 13898 E CryptKeeper: at android.os.Binder.execTransact(Binder.java:994)
08-12 15:55:32.963 13898 13898 E CryptKeeper:
08-12 15:55:48.986 20827 20916 V NativeCrypto: SSL shutdown failed: ssl=0x7ba282df08: I/O error during system call, Broken pipe
08-12 15:55:49.367 8313 9674 V NativeCrypto: SSL shutdown failed: ssl=0x7ba2759988: I/O error during system call, Broken pipe
08-12 15:55:52.431 25125 25125 D ActivityThread: setConscryptValidator
08-12 15:55:52.431 25125 25125 D ActivityThread: setConscryptValidator - put
08-12 15:56:02.161 13898 13898 D InputMethodManager: prepareNavigationBarInfo() DecorView@8422430[CryptKeeperConfirm$Blank]
08-12 15:56:02.533 13898 13898 D ViewRootImpl@35b2963[CryptKeeperConfirm$Blank]: stopped(true) old=false
08-12 15:56:02.775 25233 25233 D ActivityThread: setConscryptValidator
08-12 15:56:02.775 25233 25233 D ActivityThread: setConscryptValidator - put
08-12 15:56:02.778 6106 9855 V WindowManager: Changing focus from Window{f76b205 u0 com.android.settings/com.android.settings.CryptKeeperConfirm$Blank} to null displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:26 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:10 com.android.server.wm.AppWindowToken.commitVisibility:285 com.android.server.wm.AppWindowToken.setVisibility:433 com.android.server.wm.ActivityRecord.setVisibility:31 com.android.server.wm.ActivityRecord.setVisible:18
08-12 15:56:02.780 6106 9855 V WindowManager: Setting visibility of Window{f76b205 u0 com.android.settings/com.android.settings.CryptKeeperConfirm$Blank}: false, caller=com.android.server.wm.WindowContainer.sendAppVisibilityToClients:18 com.android.server.wm.AppWindowToken.setClientHidden:61 com.android.server.wm.AppWindowToken.onAnimationFinished:104 com.android.server.wm.AppWindowToken.commitVisibility:320 com.android.server.wm.AppWindowToken.setVisibility:433

Is there a ZIP I can flash, or an ADB command I can run to force encryption on my phone? Can you pleas assist?

Thank you!