Encrypt Android Pie

I downloaded the latest build for Android and successfully installed it on the VIM3.

I try to setup Android Device Policy and therefore need to encrypt the device. The App is crashing on this step.

By trying to find the ecrypt option in the Android settings I fail to see it. Could somebody point in the right direction where to find it?

@MikesCo @Terry @jasonl Please help about this question

You need to use the origin Settings app if you want to use the encrypt option. But the Settings on VIM3 is TvSettings. Why did you want to use the Encrypt?

We want to use the Google enterprise mobility management (EMM). To enrol the device into the EMM environment we have to use the Android device policy app as described here and this involves that the device needs to be encrypted.

How do I enable / install the Origin Settings App? Is there a Android Pie build with the “normal” settings available?

Hi @Terry @jasonl @Frank , sorry for beeing a pain. But I’m batteling to understand how to enable the correct settings to use encypt. My whole project is depending on it.

If not possible is there an Android 8 build with the normal settings? I read Android 11 is underway for VIM3, maybe this will be a solution?

@MikesCo

hlm@Server:/users/hlm/khadas/device/khadas$ git diff
diff --git a/common/products/mbox/product_mbox.mk b/common/products/mbox/product_mbox.mk
old mode 100644
new mode 100755
index 7e75d61..ceeab69
--- a/common/products/mbox/product_mbox.mk
+++ b/common/products/mbox/product_mbox.mk
@@ -27,6 +27,7 @@ PRODUCT_PACKAGES += \
     DroidLogicTvInput \
     DroidLogicFactoryMenu \
     libjnidtvsubtitle \
+    Settings \
     libfbc
1 Like

I will enter this code in U-Boot with the serial adapter?

no, this is a patch to the android code, you need to modify and rebuild I guess

:worried:
This is so over my head! I would not know where to start, not talking about where to edit this code…

Just to make sure I understand, the current Android which can be downloaded is the ATV version and there is no “normal” version available?

that is the normal version, the ATV versions are made by superceleron, and links to it can be found by a simple search
eg:

and to start, It would basically consist of setting up an android build environment, getting the repo synced, modifying the file and starting the build compilation…

that is the normal version, the ATV versions are made by superceleron, and links to it can be found by a simple search

Yes I know, just wanted to clerify becouse @Terry wrote that the TvSettings are used. I do need the normal version.

and to start, It would basically consist of setting up an android build environment, getting the repo synced, modifying the file and starting the build compilation…

This is knowlege I, unfortenalty, don’t have. But seems like I will need month to get there…

you can already build AOSP roms, people in the community have already done it :slightly_smiling_face:

I want to clarify, in fact, this is the same thing in this case, just ATV has a different shell, for example, as on Smart TV and similar set-top boxes such as Nvidia shield but with certification.

Thx for your trust in me :slight_smile:

2 Likes

You can download the test rom
Have a try, thanks!

3 Likes

Is this android AOSP ?

Awesome @Terry!

Successfully flashed and started into android. Found the encryption in Settings/security & location/Encryption & credentials/Encrypt phone.

But battery is set to 42% and a warning message stats “Charge your battery and try again”
Obviously I don’t have a battery connected.

As well the Google Play Services and Play Store are missing, not sure if I can just install the apk to properly use it? We would need this to later push updates remotly in connection with the Google device policy app.

Best would be to have this in your “normal” rom including all the other settings for LED, rotate screen etc. but thats maybe pushing it :slight_smile:

1 Like

1 Like

I guess the new release does not include the encryption option already? :slight_smile:

1 Like

Yep, we only add TvSettings application into our release ROM. Maybe you can build your rom with Settings application.