目录

1. Cropping And Installing Android Images"

1.1 Cropping Android Images

  • Install openssh-server

1sudo apt install openssh-server && sudo systemctl start ssh && sudo systemctl enable ssh

In the final step of copying the android images to the target device as mentiond in the AOSP source code compilation guide, the system.img and vendor.img are located in the /home directory of your linux environment.

  • Access the /home in linux and get the source code of make_deb

1cd ~ && git clone https://gitee.com/openfde/make_deb.git
  • Copy the images to make_deb/

1sudo cp system.img vendor.img make_deb/
  • Packing and cropping the images

1./packapk.sh

The packapk.sh script will package the APK and perform image cropping. During the packaging process, it will also include the Xunfei Input Method and Via Browser.

1.2 Install Android Images

  • create the images directory

1sudo mkdir -p /usr/share/waydroid-extra/images
  • Copy the two image files to the images directory for installation.

1sudo cp -a systemimg /usr/share/waydroid-extra/images/system.img
1sudo cp -a vendorimg /usr/share/waydroid-extra/images/vendor.img
  • Init waydroid

1sudo waydroid init -f

2. Run OpenFDE

At this point, you can start OpenFDE. Logout from your current user session and navigate to the login screen. In the bottom right corner, select "FDE" and enter your password to log in to OpenFDE.