Skip to content

[MuMu] 模擬器抓包 #17

@ontisme

Description

@ontisme

https://mumu.163.com/help/20240814/40912_1174291.html#%E4%BA%8C%E3%80%81Charles%E5%AE%89%E8%A3%85%E4%B8%8E%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE

# 1. 重新掛載系統分區
adb shell "su -c 'mount -o rw,remount /system'"

# 2. 推送文件到臨時目錄
adb push e8afdadc.0 /data/local/tmp/

# 3. 複製到目標目錄
adb shell "su -c 'cp /data/local/tmp/e8afdadc.0 /system/etc/security/cacerts/'"

# 4. 設置權限
adb shell "su -c 'chmod 644 /system/etc/security/cacerts/e8afdadc.0'"

# 5. 設置所有者
adb shell "su -c 'chown root:root /system/etc/security/cacerts/e8afdadc.0'"

# 6. 清理臨時文件
adb shell "su -c 'rm /data/local/tmp/e8afdadc.0'"

# 7. 驗證結果
adb shell "su -c 'ls -la /system/etc/security/cacerts/e8afdadc.0'"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions