版本比较

密钥

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。
目录
minLevel1
maxLevel3
outlinefalse
typelist
printablefalse

1. Cropping And Installing Android Images"

1.1 Cropping Android Images

  • Install openssh-server

代码块
sudo 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

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

代码块
sudo cp system.img vendor.img make_deb/
  • Packing and cropping the images

代码块
./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

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

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

代码块
sudo 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.