本帖最後由 曉兒 於 2014-12-24 19:20 編輯
我自行翻譯的內容並沒有完全按照原文翻譯,有小修改一下讓您比較容易了解
At last i have found a way to mount external storage as internal and vice versa for xperia sp jb 4.3(.205). For this, you just need to have init.d support in kernel so your system can run a script on each boot which will do the mount in background.
--->至少我發現了一個方法來安裝將外部儲存空間視為內部儲存空間,反之xperia sp jb 4.3(.205)也是如此. 為了能夠達成這樣的目的,你必須要擁有init.d的核心支援,因此你的手機系統要能夠在每次開機時於背景執行腳本
Requirements:
1. Root
2. ((1. Busybox ))
((2. Universal init.d ))
((3. Es File Explorer ))
3. The attached script named "swap"
4. Patience and cool brain
--->需求:
1.ROOT權限
2. ((1. Busybox ))
((2. Universal init.d ))
((3. Es檔案管理器))
3. 附加腳本名叫 "swap"
4. 具備有耐心而且冷靜的頭腦
How to do:
1. Install busybox
2. Install universal init.d
3. Make a folder in your external storage named "0" and put all the files of your external storage into it
4. Make another folder in "0" and name it "xInternal". Cut your files from your internal storage into it( So now, you have all ur files of external storage in "0", and all your files of internal storage in the folder "xInternal" inside "0"
5. Download the zip and extract the script(swap) and place it in /system/etc/init.d (Go to your root of the device with any explorer, i used es file explorer, then go to system/ etc/ init.d and paste the script there.
--->如何去做:
1. 安裝busybox
2. 安裝universal init.d
3. 在外部儲存空間建立一個新的資料夾名叫 "0" 並且將所有檔案放進去
4. 在 "0"資料夾裡面再建立一個資料夾並命名為"xInternal". 移動你內部儲存空間的檔案到裡面( 因此現在, 你在 "0"資料夾裡面已經有了你所有內部儲存空間的檔案, 而且所有內部儲存空間的檔案已經放置於 "0"資料夾內的"xInternal"資料夾
5. 下載壓縮檔並解壓縮腳本檔(swap),然後放置於/system/etc/init.d (請用你有ROOT過的手機,任意檔案管理器皆可, 我是使用es檔案管理器, 然後到system/ etc/ init.d 目錄裡面貼上腳本檔案
6. Set the permission of the all checked (-rwxrwxrwx)
--->6.設定所有檔案權限為(-rwxrwxrwx)
7. Change the owner of the file to "system"
--->7.變更檔案使用者為"system"
8. Change the group of the file to "sdcard_rw"
--->8.變更檔案群組為"sdcard_rw"
9. Reboot and Die!!! Becaue you need to cut all files from the folder "Android" inside "xInternal" and paste it in the "Android" folder inside "0"
(So you have the files of your previous inter storage/"Android" in the folder "Android" of your present internal storage{which is actually your external sd})
10. Enjoy!!!!!!!!!!!
--->9.重開機!!! 因為你需要將"Android"的資料夾移動到位於 "0"資料夾內的"xInternal"資料夾
(因此你有將位於 storage/"Android 的 "Android"資料夾連結至內部儲存空間(實際上它是位於外部SD卡上))
10.盡情享受!!!
Issues:
1. You will see in settings that your external storage is changed as the same size of internal storage but internal is same as it is. Dont worry. Just dont look at this bcz its showing wrong info. you can install file commander and see by yourself that the script works
--->注意事項:
1.你會看見在設定當中你的外部儲存空間大小已經變更到和內部儲存空間的大小相等,但是內部空間的大小還是一樣. 不用擔心,不用看它顯示的錯誤資訊. 你可以安裝File Commander然後看看你自己腳本的運作
2. Es file explorer will show you that your internal storage is replaced with your external storage, but at the place of external storage, you will just see obb. But its wrong also, dont worry
--->2.ES檔案管理器會顯示你的內部儲存空間已經被外部儲存空間所取代,但是在外部儲存空間當中,你只會看見obb檔案. 這也是錯誤的資訊,不要擔心
For your help:
Before using this script--
Internal storage: /storage/emulated/0 (size ex. 5 gb)
External storage: /storage/removable/sdcard1 (size ex. 16 gb)
After using this script--
Internal storage /storage/emulated/0 (size ex. 16 gb) [
External storage: /storage/removable/sdcard1 (size ex. 5 gb)
--->給你一點幫助:
使用腳本之前--
內部儲存空間: /storage/emulated/0 (例如大小為5 gb)
外部儲存空間: /storage/removable/sdcard1 (例如大小為16 gb)
使用腳本之後--
內部儲存空間: /storage/emulated/0 (例如大小為16 gb)
外部儲存空間: /storage/removable/sdcard1 (例如大小為5 gb)
Explanation:
The script mount and bind /mnt/shell/emulated with /storage/sdcard1, so u have a folder in sdcard 1 which names "0", if u go in /mnt/shell/emulated/, u will see 3 folder named "0", "legacy", "obb". You already created "0", and "obb" & "legacy" will be created automatically, so your /dev/block/vold/179.33(/storage/removable/sdcard1) will be mounted as /mnt/shell/emulated/ and you will get your sdcard1 space in your internal, means /storage/emulated/0/. And you will see all your files of sdcard1 in "0" bcz u have put those in in a folder names "0" in your sdcard1. tricky, huh???
--->說明:
腳本會安裝並且綁定 /mnt/shell/emulated 和 /storage/sdcard1 目錄. 因此你在 sdcard 1 裡面會有一個資料夾名叫"0", 如果你到 /mnt/shell/emulated/ 目錄下, 你會看見 3 個分別名叫 "0" , "legacy", "obb"的資料夾 你已建立的"0", 和 "obb" & "legacy" 資料夾將會自動再被建立, 因此你的 /dev/block/vold/179.33(/storage/removable/sdcard1) 將會被視為 /mnt/shell/emulated/ 來安裝 ,而且你的內部空間會得到 sdcard1 的空間, 意指 /storage/emulated/0/.
而且你會看見所有檔案都會在sdcard1 裡面的 "0" 的資料夾. 你移動的檔案就放在 sdcard1之下的"0"資料夾內.
|