./simg2img_mac oem_au_base.img raw_oem_au_base.img
mkdir oem
mount raw_oem_au_base.img oem
sudo
to be able to do any writes the files inside the mount point.sudo umount oem
./img2simg raw_oem_au_base.img oem_au.img
adb reboot bootloader
fastboot flash oem oem_au.img
brew cask install osxfuse
, this will require rebooting your system proceed and do that../simg2img_mac oem_au_base.img raw_oem_au_base.img
mkdir oem
fuse-ext2 raw_oem_au_base.img oem -o rw+
sudo
to be able to do any writes the files inside the mount point.sudo umount oem
./img2simg raw_oem_au_base.img oem_au.img
adb reboot bootloader
fastboot flash oem oem_au.img
/system/etc
in the following example we will pull config using command adb pull /system/etc/system-control.telepathy-air.conf
board_system_id
and camera_system_id
fields as per your requirement in your favourite editor.etc
using command sudo mkdir oem/etc
sudo cp system-control.telepathy-air.conf oem/etc/
QgroundControl
cp -r build-qgroundcontrol-Android_for_armeabi_v7a_Clang_Qt_5_11_0_for_Android_armv72_fd6ff4-Debug/android-build/build/outputs/apk/android-build-debug.apk QGroundControl/QGroundControl.apk
QGroundControl/lib
cp -r build-qgroundcontrol-Android_for_armeabi_v7a_Clang_Qt_5_11_0_for_Android_armv72_fd6ff4-Debug/android-build/libs/armeabi-v7a/ QGroundControl/lib/arm/
sudo cp -r QGroundControl oem/app/QGroundControl
sudo mkdir oem/app