[Verizon Samsung Galaxy S III] rune-san:
Issues with Encryption

To carry over to a more appropriate section from the main thread, I am having issues with Encryption. One of the reasons I moved over to a TW ROM from CM11 was the fact that Encryption is required for me, and I heard that TW ROM's are a little more successful with it on the S3 instead of CM11, which I have not been able to get to work.

So anyways, I have an MF1 baseband rooted Verizon S3. It's not locked down and is running TWRP 2.8.4 Recovery. I installed the ROM and went straight to Encryption after initial Setup. Talon4x4 noted in the main thread that he needed to use a PIN of at least 6 characters, but this does not appear to be an option for me. There is no ADM (Android Device Management) on my phone so security policies are completely settable by me. If I use a 7 character PIN, the Encryption system states that I must use a full password. As seen in this picture:

[IMG="Encryption screen"]https://scontent-a-ord.xx.fbcdn.net/hphotos-xfa1/t31.0-8/10847314_10204395994434805_1100892680519430801_o.jpg[/IMG]

After changing to a complex password (letters and numbers >6 characters), I can then Encrypt. But as noted in the previous thread, the phone goes to the Android logo for about 30 seconds and then restarts. When restarting, it does not ask for a password to unlock. Additionally, returning to the Encryption screen provides the option to Encrypt again, so it does not appear that anything is actually happening.

Anyone have any advice or hints that I might be able to use to troubleshoot? Thanks again for the ROM though! From what I'm using, it's great! Just got to get Encryption working to be able to keep it :)

EDIT:

Went through the process again, this time with it connected to adb so I was able to pull logging. I'm pasting the output below (after cleaning out the other noise). It looks like the problem is that it's not un-mounting the /data partition successfully. Can't imagine why since it's a brand new flash on a completely wiped device. If anyone else has some ideas I'd love to hear it!

FS_MIN_LIMIT frequency : 1350000 uid : 1000 pid : 669 pkgName : ACTIVITY_RES
UME_BOOSTER@8
I/MountService( 669): encrypting storage...
D/VoldCmdListener( 136): cryptfs inplace {}
I/CryptfsEE( 136): Just asked init to shut down class main
V/AT_Distributor_diag( 158): fd_uart (-1), fd_atd(7)
V/AT_Distributor_diag( 158): [UART DIAG : fd_atd < 0, fd open error
V/AT_Distributor_diag( 158): [UART DIAG] :
I/CryptfsUT( 136): /mnt_1/sdcard_1 sucessfully unmounted
I/CryptfsUT( 136): /mnt/shell/container sucessfully unmounted
I/CryptfsUT( 136): /data/data1 sucessfully unmounted
I/CryptfsUT( 136): /storage/PersonalPage sucessfully unmounted
I/CryptfsUT( 136): /mnt/shell/personalpage sucessfully unmounted
I/CryptfsUT( 136): /mnt/shell/emulated sucessfully unmounted
I/CryptfsUT( 136): /data_1 sucessfully unmounted
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 19, action 1)
E/ProcessKiller( 136): !@Process /system/bin/drmserver (150) has open file /data/system/databases/drmdatabase.db
W/ProcessKiller( 136): !@Sending SIGHUP to process 150
D/ProcessKiller( 136): Wait for death /proc/150
I/ServiceManager( 135): service 'SurfaceFlinger' died
I/ServiceManager( 135): service 'display.qservice' died
I/ServiceManager( 135): service 'drm.drmManager' died
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 18, action 1)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 17, action 1)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 16, action 1)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 15, action 1)
I/ServiceManager( 135): service 'telephony.registry' died
I/ServiceManager( 135): service 'content' died
I/ServiceManager( 135): service 'package' died
I/ServiceManager( 135): service 'mdm.remotedesktop' died
I/ServiceManager( 135): service 'usagestats' died
I/ServiceManager( 135): service 'user' died
I/ServiceManager( 135): service 'multiwindow' died
I/ServiceManager( 135): service 'batteryinfo' died
I/ServiceManager( 135): service 'bluetooth_manager' died
I/ServiceManager( 135): service 'bluetooth_secure_mode_manager' died
I/ServiceManager( 135): service 'netpolicy' died
I/ServiceManager( 135): service 'meminfo' died
I/ServiceManager( 135): service 'container_service' died
I/ServiceManager( 135): service 'entropy' died
I/ServiceManager( 135): service 'textservices' died
I/ServiceManager( 135): service 'AtCmdFwd' died
I/ServiceManager( 135): service 'lock_settings' died
I/ServiceManager( 135): service 'mount' died
I/ServiceManager( 135): service 'device_policy' died
I/ServiceManager( 135): service 'log_manager_service' died
I/ServiceManager( 135): service 'enterprise_license_policy' died
I/ServiceManager( 135): service 'DirEncryptService' died
I/ServiceManager( 135): service 'wifi' died
I/ServiceManager( 135): service 'wifioffload' died
I/ServiceManager( 135): service 'wfd' died
I/ServiceManager( 135): service 'cpuinfo' died
I/ServiceManager( 135): service 'power' died
I/ServiceManager( 135): service 'gfxinfo' died
I/ServiceManager( 135): service 'dbinfo' died
I/ServiceManager( 135): service 'account' died
I/ServiceManager( 135): service 'sensorservice' died
I/ServiceManager( 135): service 'activity' died
I/ServiceManager( 135): service 'appops' died
I/ServiceManager( 135): service 'permission' died
I/ServiceManager( 135): service 'display' died
I/ServiceManager( 135): service 'network_management' died
I/ServiceManager( 135): service 'input_method' died
I/ServiceManager( 135): service 'tvoutservice' died
I/ServiceManager( 135): service 'mini_mode_app_manager' died
I/ServiceManager( 135): service 'commontime_management' died
I/ServiceManager( 135): service 'motion_recognition' died
I/ServiceManager( 135): service 'voip' died
I/ServiceManager( 135): service 'samsung.smartfaceservice' died
I/ServiceManager( 135): service 'dreams' died
I/ServiceManager( 135): service 'connectivity' died
I/ServiceManager( 135): service 'servicediscovery' died
I/ServiceManager( 135): service 'updatelock' died
I/ServiceManager( 135): service 'dropbox' died
I/ServiceManager( 135): service 'country_detector' died
I/ServiceManager( 135): service 'devicestoragemonitor' died
I/ServiceManager( 135): service 'location' died
I/ServiceManager( 135): service 'wallpaper' died
I/ServiceManager( 135): service 'notification' died
I/ServiceManager( 135): service 'search' died
I/ServiceManager( 135): service 'hardware' died
I/ServiceManager( 135): service 'sec_analytics' died
I/ServiceManager( 135): service 'wifip2p' died
I/ServiceManager( 135): service 'accessibility' died
I/ServiceManager( 135): service 'window' died
I/ServiceManager( 135): service 'input' died
I/ServiceManager( 135): service 'audio' died
I/ServiceManager( 135): service 'usb' died
I/ServiceManager( 135): service 'serial' died
I/ServiceManager( 135): service 'uimode' died
I/ServiceManager( 135): service 'kiesusb' died
I/ServiceManager( 135): service 'samplingprofiler' died
I/ServiceManager( 135): service 'backup' died
I/ServiceManager( 135): service 'appwidget' died
I/ServiceManager( 135): service 'diskstats' died
I/ServiceManager( 135): service 'LEDService' died
I/ServiceManager( 135): service 'battery' died
I/ServiceManager( 135): service 'vibrator' died
I/ServiceManager( 135): service 'CustomFrequencyManagerService' died
I/ServiceManager( 135): service 'edmnativehelper' died
I/ServiceManager( 135): service 'scheduling_policy' died
I/ServiceManager( 135): service 'alarm' died
I/ServiceManager( 135): service 'license_log_service' died
I/ServiceManager( 135): service 'application_policy' died
I/ServiceManager( 135): service 'remoteinjection' died
I/ServiceManager( 135): service 'harmony_eas_service' died
I/ServiceManager( 135): service 'phone_restriction_policy' died
I/ServiceManager( 135): service 'enterprise_policy' died
I/ServiceManager( 135): service 'statusbar' died
I/ServiceManager( 135): service 'clipboard' died
I/ServiceManager( 135): service 'clipboardEx' died
I/ServiceManager( 135): service 'netstats' died
I/ServiceManager( 135): service 'wifi_policy' died
I/ServiceManager( 135): service 'sip' died
I/ServiceManager( 135): service 'phone' died
I/ServiceManager( 135): service 'phoneext' died
I/ServiceManager( 135): service 'isms' died
I/ServiceManager( 135): service 'simphonebook' died
I/ServiceManager( 135): service 'iphonesubinfo' died
I/ServiceManager( 135): service 'media.audio_flinger' died
I/ServiceManager( 135): service 'media.player' died
I/ServiceManager( 135): service 'media.camera' died
I/ServiceManager( 135): service 'media.audio_policy' died
I/ServiceManager( 135): service 'android.security.keystore' died
I/ServiceManager( 135): service 'nfc' died
I/ServiceManager( 135): service 'secontroller' died
I/ServiceManager( 135): service 'nfccontroller' died
I/ServiceManager( 135): service 'TvoutService_C' died
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 14, action 2)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 13, action 2)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 12, action 2)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 11, action 2)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 10, action 2)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 9, action 2)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 8, action 2)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 7, action 2)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 6, action 2)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 5, action 2)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 4, action 2)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 3, action 2)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 2, action 2)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 1, action 2)
W/CryptfsUT( 136): Failed to unmount /data (Device or resource busy, retries 0, action 2)
E/CryptfsUT( 136): Giving up on unmount /data (Device or resource busy)
I/dumpstate(10846): begin
I/dumpstate(10846): done
E/CryptfsEE( 136): Error (null) after framework is shutdown, no data changed, restarting system