Sunday, September 18, 2016

How to push or remove a system file using adb?

Push :

    adb shell
    su
    stop
    mount -o rw,remount /system
    cp /sdcard/SystemUI.apk /system/priv-app/SystemUI.apk
     (/sdcard/SystemUI.apk change with location where apk place)
    chmod 0644 /system/priv-app/SystemUI.apk
    mount -o ro,remount /system
    reboot


Remove:

    adb shell
    su
    mount -o rw,remount /system
    cd system/priv-app
    ls
    rm SystemUI.odex
    reboot