1. 程式人生 > >刪除原生的app {system/app目錄下}

刪除原生的app {system/app目錄下}

$ sudo adb root
[sudo] password for matthew: 
adbd is already running as root
$ sudo adb remount
remount succeeded
$ sudo adb shell
[email protected]_Z00L_63:/ # cd system/app
[email protected]_Z00L_63:/system/app # ls
ASUSBrowser
AntHalService
shutdownlistener
logtool   //原生的apk
webview
xdivert
[email protected]
_Z00L_63:/system/app # rm -rf logtool                                 
[email protected]_Z00L_63:/system/app # exit
$ sudo adb reboot-bootloader
$ fastboot -w
erasing 'userdata'...
OKAY [  1.295s]
formatting 'userdata' partition...
Creating filesystem with parameters:
    Size: 3976163328
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8096
    Inode size: 256
    Journal blocks: 15167
    Label: 
    Blocks: 970743
    Block groups: 30
    Reserved block group size: 239
Created filesystem with 11/242880 inodes and 32338/970743 blocks
warning: wipe_block_device: Wipe is disabled


sending 'userdata' (63965 KB)...
writing 'userdata'...
OKAY [  5.353s]
erasing 'cache'...
OKAY [  0.024s]
formatting 'cache' partition...
Creating filesystem with parameters:
    Size: 33554432
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 2048
    Inode size: 256
    Journal blocks: 1024
    Label: 
    Blocks: 8192
    Block groups: 1
    Reserved block group size: 7
Created filesystem with 11/2048 inodes and 1166/8192 blocks
warning: wipe_block_device: Wipe is disabled


sending 'cache' (4664 KB)...
writing 'cache'...
OKAY [  0.428s]
finished. total time: 7.101s
$ fastboot reboot
rebooting...


finished. total time: 0.005s