AnsweredAssumed Answered

can't encrypt on android port of Nitrogen6_max

Question asked by Anand Mistry on Jun 23, 2016
Latest reply on Jul 5, 2016 by Gary Bisson

Hello,

 

We are using Nitrogen6_max from Boundary Devices for our development.

We are facing problems in the device encryption feature of android. When ever we try to encrypt the device goes into a infinite screen with the android logo.

 

After adding the "encryptable=userdata" flag against "/data" in the device/boundary/nitrogen6x/fstab.freescale , we were able to get the encrypt screen with progress-bar. but that also gets stuck between 13% - 27%.

 

On analysing the logcat, we came to know that the progress stops after the following prints.

 

============== Logs =============

W/MountService( 1313): Thread Binder_5 still waiting for MountService ready...

W/MountService( 1313): Thread Binder_3 still waiting for MountService ready...

W/MountService( 1313): Thread Binder_5 still waiting for MountService ready...

E/MountService( 1313): Error processing initial volume state

E/MountService( 1313): com.android.server.NativeDaemonConnector$NativeDaemonFailureException: command '1 volume list' failed with 'null'

E/MountService( 1313):     at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:376)

E/MountService( 1313):     at com.android.server.NativeDaemonConnector.executeForList(NativeDaemonConnector.java:327)

E/MountService( 1313):     at com.android.server.MountService$4.run(MountService.java:728)

E/VoldConnector( 1313): timed-out waiting for response to 2 volume mount /storage/extsd

E/MountService( 1313): Boot-time mount exception

E/MountService( 1313): java.lang.NullPointerException

E/MountService( 1313):     at com.android.server.NativeDaemonConnectorException.getCode(NativeDaemonConnectorException.java:44)

E/MountService( 1313):     at com.android.server.MountService.doMountVolume(MountService.java:995)

E/MountService( 1313):     at com.android.server.MountService.handleSystemReady(MountService.java:541)

E/MountService( 1313):     at com.android.server.MountService.access$500(MountService.java:109)

E/MountService( 1313):     at com.android.server.MountService$MountServiceHandler.handleMessage(MountService.java:493)

E/MountService( 1313):     at android.os.Handler.dispatchMessage(Handler.java:102)

E/MountService( 1313):     at android.os.Looper.loop(Looper.java:136)

E/MountService( 1313):     at android.os.HandlerThread.run(HandlerThread.java:61)

============== Logs End =============

 

Has anyone faced this before? How do we get the encryption working?

 

Thanks and Regards,

Anand Mistry

Outcomes