[Android]刪除Rom中的Youtube.apk

來源:互聯網
上載者:User

由於天朝養了一隻很強大的河蟹,YouTube及Twitter等工具是使用不了的.在手機中又占空間,一直想找個方法把這些用不了的系統包給刪除掉.

 

在此先聲明此方法僅針對擷取了root許可權的手機.

在網路上搜了下,到處轉載使用如下命令可以刪除:

adb remount<br />adb shell rm /system/app/YouTube.apk

 

但是結果卻總是:

rm: can't remove '/system/app/YouTube.apk': Directory not empty

實踐才是檢驗真理的唯一標準,網上好多東西還是得自己試過後才能識別真假.

 

終於自己在一個外文網站找到瞭解決方法,原文及拙譯如下:

 

to make changes to /system partition you have to do the following:<br />為了改變system分區,你得按如下操作進行:<br />1. connect your device by USB cable and issue: 'adb reboot recovery', device reboots and shows red trianle/arrow icon<br />1.USB串連你的裝置然後在命令列輸入"adb reboot recovery",機子重啟,啟動後將顯示一個紅色的三角形和箭頭表徵圖<br />2. change to the directory where you rooted your desire from and run './recovery-linux.sh', screen will show green menu<br />2.(在PC下)進入到你的刷機檔案夾然後運行'./recover-linux.sh',螢幕將顯示綠色的菜單<br />3. if you get any "error: device not found", issue './adb-linux kill-server' and run ./recovery-linux.sh again until you get green menu<br />3.如果得到的結果是"error:device not found",運行"./adb-linux kill-server"後再一次運行'./recovery-linux.sh'直到顯示綠色菜單<br />4. adb shell mount /dev/block/mtdblock3 /system<br />4.執行"adb shell mount /dev/block/mtdblock3 /system"<br />now you may add/remove applications from /system/app<br />現在你就可以對'/system/app'進行'添加/刪除'應用了<br />

 

經G6真機測試,已將YouTube刪除.

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.