Cross-Platform Application Migration to HarmonyOS: An Agentic Pipeline with Artifact-Derived Verification
Ergun Bi\c{c}ici, Mehmet Kaygusuz, Fatih Turan G\"undo\u{g}du, Emre Filiz, \c{C}a\u{g}atay K{\i}z{\i}lda\u{g}, B\"unyamin Eymen Alag\"oz, Emincan \"Ozcan, Sadi \c{C}elik,
Key points
From the paper's conclusion- We cast the scoring problem as quality estimation without a reference implementation; we score a migration using only the source application's recorded behaviour and the artifacts produced by the pipeline.
Abstract
The migration of applications written for a different platforms like Android or iOS to HarmonyOS NEXT requires a complete rewrite in ArkTS. Although LLMs automate the translation of source constructs into ArkTS, syntactic compilation is not enough and functional assurance is a critical open challenge in HarmonyOS NEXT migration. We present HMOS~Migrator, an agentic pipeline that reads an application's source code, generates an ArkTS project, and validates the result by replaying recorded interactions on a real device. We cast the scoring problem as quality estimation without a reference implementation; we score a migration using only the source application's recorded behaviour and the artifacts produced by the pipeline. We define seven weighted metrics, each constructed so that reduced measurement cannot artificially raise the score. Over twelve runs across six open-source applications, the pipeline's structural reproduction is high (completeness \pct{83.3}--\pct{100.0}), while on-device behaviour (\pct{4.3}--\pct{63.1}) and UI fidelity (\pct{21.1}--\pct{63.2}) remain the primary limits. Scores improve steadily over time: $+0.45$~points per day overall ($R^2=0.44$, $p=0.019$) and $+0.47$ over the model-free subset ($R^2=0.39$, $p=0.029$), with corresponding to fit angles of $+8.4^{\circ}$ and $+11.7^{\circ}$ respectively.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Beyond Code Translation: Agentic Android-to-HarmonyOS MigrationarXiv · 2026
- DEIA: Evidence-Grounded Crash Repair with Change-Aware Test Design for HarmonyOS ArkTSarXiv · 2026
- OpenHarmony Bench: Evaluating LLMs and Coding Agents on OpenHarmony App DevelopmentarXiv · 2026
- LLM-Assisted Software Migration: from Module-Level Transformation to Repository-Level IntegrationarXiv · 2026
- Spell : Synthesis of Programmatic Edits Using LLMsACM Transactions on Software Engineering and Methodology · 2026
- CodeMeepo: A Multi-Agent Workflow for Repository-Level Code Migration and OptimizationarXiv · 2026