在Froyo (Android 2.2) 上,如何強制讓Apps在SD上執行 (無須Rooting)
幾個讀者最近反應,他們已處理即將用完的可用空間,甚至在Froyo上的Apps2SD的實現。Google的方式去實現它是粗劣的開始跟著,但情況變得更糟的是許多應用程式在市場上還沒有被允許更新安裝到SD卡。
本介紹將告訴你,如何強制所有應用程序安裝到SD卡上。
需求:
- 手機運行Froyo。
- 安裝ADB驅動程式。
用法說明:
- 確保你已經開啟除錯模式在你的手機上( Settings -> Applications -> Development -> USB Debugging -> Turn On )。
- 連接你的手機到USB。
- 開啟Command Prompt/Terminal。
- 輸入: adb shell pm setInstallLocation 2
- 按下鍵。
- 就這樣!
常見問題:
1. 我的小工具(widget)不斷消失,救命啊!
為了防止刪除小工具(widget) ,您將必須移動其相關的應用程式回到手機的記憶體上 - 請參見常見#2
2. 我該如何將某些應用程式移回到手機的記憶體上?
您可以將任何應用程式移到手機的記憶體上,藉由到Settings -> Applications -> Manage Applications -> On SD card,選擇你要的 App然後按下(Move to Phone)移動到手機。
3. 我該如何能夠還原到原始設定?
只要開啟Command Prompt/Terminal,然後輸入:adb shell pm setInstallLocation 0
4. 任何其他的隱藏命令?
還有一個強制所有的應用程式(Apps)安裝到手機的記憶體,但我懷疑你到底要用它嗎:adb shell pm setInstallLocation
========================================================================
Install Android Apps on SD Card by Default
Before going through the procedure, you must have to be done two things.
1) Enable USB Debugging
Enable it by going your Phone’s Settings >> Developer options >> USB debugging.2) Download Google’s official Android SDK (http://developer.android.com/sdk/index.html)
Enable it by going your Phone’s Settings >> Developer options >> USB debugging.2) Download Google’s official Android SDK (http://developer.android.com/sdk/index.html)
After download, Extract it in your computer and navigate to adt-bundle >> sdk >> platform-tools.
- Launch the Command Prompt window in this folder by pressing and holding the Shift button, Right-clicking in the folder, and selecting “Open command window here”.
- Now connect your Android device and run the below commands one by one.
adb devices
adb shell pm set-install-location 2
adb shell pm get-install-location
adb shell pm set-install-location 2
adb shell pm get-install-location
The “get-install-location” is only for checking the installation location. If it’ll show as “2[external]”, that means, now all of your apps will install on External memory card. To reverse the process, just put 0(auto) or 1(internal) instead of 2(external).
Error: More than One Device and Emulator
If you have multiple devices connected to your computer, or you have installed an Android Emulator like “BlueStack”, then it’ll show an Error like, ”more than one device and emulator”. To overcome from this problem, first detect your device by running adb devices. Now run the below commands one by one.
adb devices
adb -s CB5A1Y0DW4 shell pm set-install-location 2
adb -s CB5A1Y0DW4 shell pm get-install-location
adb -s CB5A1Y0DW4 shell pm set-install-location 2
adb -s CB5A1Y0DW4 shell pm get-install-location
Just put “-s Your_Device_Name” after the adb command. That’s it. Now you can install Android apps to SD card by default without rooting.
Move Android Apps to SD Card without Rooting
If apps are eating your phone’s memory, and you want free your storage space by moving Android apps to SD card without rooting, then follow the below procedure.
In order to move your apps, go to Phone’s Settings >> Apps/Application Manager and select “SD CARD” tab.
In order to move your apps, go to Phone’s Settings >> Apps/Application Manager and select “SD CARD” tab.
Now click on an app, which you want to move. After that tap on Move to SD card button to move that application to external memory.
Conclusion
Some handsets, like my Sony Xperia Z2 and other z series handsets which run on Android KitKat 4.4.4 are unable to perform these two operations. Sony is strictly removed the external storage access for the security reasons. I have tested this on Lenovo, Motorola and Samsung devices, and it is working great. This is the easiest way to install and move Android apps to SD Card without rooting. If you have any question regarding this, then feel free to comment below.
========================================================================
Moving Your ‘Non-Movable’ Android Apps to an SD Card
Guide Index:
========================================================================
沒有留言:
張貼留言