harmony-test
ch华为app名字:entry-default-unsigned.hap
https://zhuanlan.zhihu.com/p/667383585
另外有的朋友可能好奇说“你怎么能用frida啊”,其实挺简单的,你去patch一下鸿蒙模拟器的ramdisk.img就可以了,你把magisk加进去,然后把magisk的app一装,再安一个frida的插件就完事了。
进度
根据 https://blog.csdn.net/a171232886/article/details/128716627
在ubuntu20.04上完成了编译,不过貌似只能用liteos,不能用linux
词汇
LiteOS Huawei LiteOS是华为面向物联网领域开发的一个基于实时内核的轻量级操作系统
rk3568 瑞芯微出品的RK3568是一款定位中高端的通用型SoC,采用22nm先进制程工艺,主要面向工业互联网、HMI、NVR存储、车载中控、工业网关等领域。
OHOS:/$ uname -a Huawei LiteOS hisilicon 2.0.0.37 Huawei LiteOS 2.0.0.37 Mar 5 2024 18:08:58 Cortex-A7 OHOS:/$ ls bin etc proc storage test vendor dev lib sdcard system usr OHOS:/$ ls bin aa foundation sample_auto_ui tftp apphilogcat hidumper sample_ui toybox appspawn hilogcat sample_window trace bm init shell wms_server bundle_daemon mksh simple_ui_demo deviceauth_service os_dump softbus_server
ch@lol:~/harm/code-v3.0.6-LTS/OpenHarmony$ ./qemu-run -f Redo making flash.img...
Start making flash.img...
===Start src_dir out/arm_virt/qemu_small_system_demo/...
===Start bootargs bootargs=root=cfi-flash fstype=jffs2 rootaddr=10M rootsize=22M useraddr=32M usersize=32M... 1+0 records in 1+0 records out