Run a watch-face APK on i.MX8ULP watch board based on Android 14

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Run a watch-face APK on i.MX8ULP watch board based on Android 14

Run a watch-face APK on i.MX8ULP watch board based on Android 14

The doc gives an introduction about how to get and run the watch-face APK on i.MX.8ULP watch board based on Android 14.0.0_1.0.0.

1. Get source code

  • Get the shell script and related patches from the attachment at the end of the article.
  • Run Watchface_setup.sh.
    • Watchface_setup.sh will download all the needed gits codes. combine with them and apply patches automatically.
    • You need to clone the gits manually if network access is not good.

2. Build the project

  • The project is in the sub-directory named "KWART_Kid_Launcher". Then you can build it either in Android studio or Android SDK.
    • Android studio
      • Open the project in Android studio and build it like regular.
    • Android SDK
      • Copy KWART_Kid_Launcher/ into vendor/nxp-opensource/fsl_imx_demo/

      • Add the following into the end of device/nxp/imx8ulp/watch_8ulp/watch_8ulp.mk.

        PRODUCT_PACKAGES += \
            KWARTLauncher
      • Rebuild the SDK. Please refer to Android User's Guide for more details about SDK building.

        make -j4 2>&1 | tee make.log

3. Install the APK

  • Install the APK
    • Android studio
      • Run the app like regular.
    • Android SDK
      • Reflash the SDK images and the app will occur after boot finishes.
  • Then you will find the following APP.
    eSearch-2025-02-24-16-59-56-229.jpg

Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-2052833%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERun%20a%20watch-face%20APK%20on%20i.MX8ULP%20watch%20board%20based%20on%20Android%2014%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2052833%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%3CP%3EThe%20doc%20gives%20an%20introduction%20about%20how%20to%20get%20and%20run%20the%20watch-face%20APK%20on%20i.MX.8ULP%20watch%20board%20based%20on%20Android%2014.0.0_1.0.0.%3C%2FP%3E%0A%3CH1%20id%3D%221-get-source-code%22%20id%3D%22toc-hId-1244044476%22%20id%3D%22toc-hId-1297726035%22%3E1.%20Get%20source%20code%3C%2FH1%3E%0A%3CUL%3E%0A%3CLI%3EGet%20the%20shell%20script%20and%20related%20patches%20from%20the%20attachment%20at%20the%20end%20of%20the%20article.%3C%2FLI%3E%0A%3CLI%3ERun%20Watchface_setup.sh.%0A%3CUL%3E%0A%3CLI%3EWatchface_setup.sh%20will%20download%20all%20the%20needed%20gits%20codes.%20combine%20with%20them%20and%20apply%20patches%20automatically.%3C%2FLI%3E%0A%3CLI%3EYou%20need%20to%20clone%20the%20gits%20manually%20if%20network%20access%20is%20not%20good.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH1%20id%3D%222-build-the-project%22%20id%3D%22toc-hId--563409987%22%20id%3D%22toc-hId--509728428%22%3E2.%20Build%20the%20project%3C%2FH1%3E%0A%3CUL%3E%0A%3CLI%3EThe%20project%20is%20in%20the%20sub-directory%20named%20%22KWART_Kid_Launcher%22.%20Then%20you%20can%20build%20it%20either%20in%20Android%20studio%20or%20Android%20SDK.%0A%3CUL%3E%0A%3CLI%3EAndroid%20studio%0A%3CUL%3E%0A%3CLI%3EOpen%20the%20project%20in%20Android%20studio%20and%20build%20it%20like%20regular.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EAndroid%20SDK%0A%3CUL%3E%0A%3CLI%3E%0A%3CP%3ECopy%20KWART_Kid_Launcher%2F%20into%20vendor%2Fnxp-opensource%2Ffsl_imx_demo%2F%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3EAdd%20the%20following%20into%20the%20end%20of%20device%2Fnxp%2Fimx8ulp%2Fwatch_8ulp%2Fwatch_8ulp.mk.%3C%2FP%3E%0A%3CDIV%20class%3D%22joplin-editable%22%3E%0A%3CPRE%20class%3D%22hljs%22%3E%3CCODE%3E%3CSPAN%20class%3D%22hljs-attr%22%3EPRODUCT_PACKAGES%20%2B%3C%2FSPAN%3E%3D%3CSPAN%20class%3D%22hljs-string%22%3E%20%5C%0A%20%20%20%20KWARTLauncher%3C%2FSPAN%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3ERebuild%20the%20SDK.%20Please%20refer%20to%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Fembedded-software%2Fi-mx-software%2Fandroid-os-for-i-mx-applications-processors%3AIMXANDROID%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAndroid%20User's%20Guide%3C%2FA%3E%20for%20more%20details%20about%20SDK%20building.%3C%2FP%3E%0A%3CDIV%20class%3D%22joplin-editable%22%3E%0A%3CPRE%20class%3D%22hljs%22%3E%3CCODE%3E%3CSPAN%20class%3D%22hljs-keyword%22%3Emake%3C%2FSPAN%3E%20-j4%20%3CSPAN%20class%3D%22hljs-number%22%3E2%3C%2FSPAN%3E%26gt%3B%26amp%3B%3CSPAN%20class%3D%22hljs-number%22%3E1%3C%2FSPAN%3E%20%7C%20tee%20%3CSPAN%20class%3D%22hljs-keyword%22%3Emake%3C%2FSPAN%3E.%3CSPAN%20class%3D%22hljs-built_in%22%3Elog%3C%2FSPAN%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH1%20id%3D%223-install-the-apk%22%20id%3D%22toc-hId-1924102846%22%20id%3D%22toc-hId-1977784405%22%3E3.%20Install%20the%20APK%3C%2FH1%3E%0A%3CUL%3E%0A%3CLI%3EInstall%20the%20APK%0A%3CUL%3E%0A%3CLI%3EAndroid%20studio%0A%3CUL%3E%0A%3CLI%3ERun%20the%20app%20like%20regular.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EAndroid%20SDK%0A%3CUL%3E%0A%3CLI%3EReflash%20the%20SDK%20images%20and%20the%20app%20will%20occur%20after%20boot%20finishes.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EThen%20you%20will%20find%20the%20following%20APP.%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22eSearch-2025-02-24-16-59-56-229.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22eSearch-2025-02-24-16-59-56-229.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F326034iF3F44402777117A0%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22eSearch-2025-02-24-16-59-56-229.jpg%22%20alt%3D%22eSearch-2025-02-24-16-59-56-229.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CP%3E%E2%80%83%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎02-27-2025 02:09 AM
Updated by: