外置SD卡與內置虛擬SD卡無法並存 - Android
By Queena
at 2018-08-18T23:49
at 2018-08-18T23:49
Table of Contents
各位好:
小弟最近收了一支二手TWM Amazing A2 (Android 4.0.4,無另外插MicroSD記憶卡)
由於LINE使用上有點問題(圖片開不起來,出現"SD卡無法使用"的錯誤訊息)
所以就想說把內置虛擬SD卡的那個分割區切成兩個
切完後一個一樣掛在內置虛擬SD卡下(/mnt/sdcard2/)
另一個多出來就掛在外置SD卡下(/mnt/sdcard/)
看這樣能不能騙得過LINE
實際修改後LINE的確運作正常了
但內置虛擬SD卡卻消失了
導致換相機故障
有辦法讓兩者同時存在嗎?謝謝。
以下是我的修改過程
這是原先的分割表
shell@android:/ # /data/local/tmp/busybox fdisk -l /dev/block/mmcblk0
Disk /dev/block/mmcblk0: 3909 MB, 3909091328 bytes
1 heads, 16 sectors/track, 477184 cylinders
Units = cylinders of 16 * 512 = 8192 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 513 515 20 4d Unknown
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 1025 1043 150 45 Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 1537 11776 81920 c Win95 FAT32 (LBA)
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4 11777 477184 3723264 5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5 12289 12413 1000 46 Unknown
/dev/block/mmcblk0p6 12801 12925 1000 47 Unknown
/dev/block/mmcblk0p7 13313 13562 2000 5d Unknown
/dev/block/mmcblk0p8 13825 15872 16384 48 Unknown
/dev/block/mmcblk0p9 15873 16256 3072 58 Unknown
/dev/block/mmcblk0p10 16385 16768 3072 4a Unknown
/dev/block/mmcblk0p11 16897 17280 3072 4b Unknown
/dev/block/mmcblk0p12 17409 82944 524288 83 Linux
/dev/block/mmcblk0p13 82945 214016 1048576 83 Linux
/dev/block/mmcblk0p14 214017 216576 20480 83 Linux
/dev/block/mmcblk0p15 216577 249344 262144 83 Linux
/dev/block/mmcblk0p16 249345 251392 16384 60 Unknown
/dev/block/mmcblk0p17 251393 251517 1000 63 GNU HURD or SysV
/dev/block/mmcblk0p18 251905 252029 1000 4c Unknown
/dev/block/mmcblk0p19 252417 252928 4096 d1 Unknown
/dev/block/mmcblk0p20 252930 477184 1794032 83 Linux
這是原先的/system/etc/vold.fstab
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard2 /mnt/sdcard2 20 /devices/platform/msm_sdcc.3/mmc_host
/dev/block/mmcblk0p20原本有1.7GB左右,我把它切成兩個(1GB & 0.7GB)並格式化
/dev/block/mmcblk0p20 252930 377930 1000008 83 Linux
/dev/block/mmcblk0p21 377932 477184 794024 83 Linux
並修改vold.fstab如下
dev_mount sdcard /mnt/sdcard 20 /devices/platform/msm_sdcc.3/mmc_host
dev_mount sdcard2 /mnt/sdcard2 21 /devices/platform/msm_sdcc.3/mmc_host
修改完後重開機,內置虛擬SD卡消失,只剩外置SD卡
剛發現截圖功能也壞了,只好拿別隻手機來拍QQ
https://imgur.com/0mY5ABD
https://imgur.com/iYlX0ds
這是完全未修改前的樣子(圖片借自:https://tinyurl.com/yd6yyv8f)
https://imgur.com/aiNbNSw
--
小弟最近收了一支二手TWM Amazing A2 (Android 4.0.4,無另外插MicroSD記憶卡)
由於LINE使用上有點問題(圖片開不起來,出現"SD卡無法使用"的錯誤訊息)
所以就想說把內置虛擬SD卡的那個分割區切成兩個
切完後一個一樣掛在內置虛擬SD卡下(/mnt/sdcard2/)
另一個多出來就掛在外置SD卡下(/mnt/sdcard/)
看這樣能不能騙得過LINE
實際修改後LINE的確運作正常了
但內置虛擬SD卡卻消失了
導致換相機故障
有辦法讓兩者同時存在嗎?謝謝。
以下是我的修改過程
這是原先的分割表
shell@android:/ # /data/local/tmp/busybox fdisk -l /dev/block/mmcblk0
Disk /dev/block/mmcblk0: 3909 MB, 3909091328 bytes
1 heads, 16 sectors/track, 477184 cylinders
Units = cylinders of 16 * 512 = 8192 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 513 515 20 4d Unknown
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 1025 1043 150 45 Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 1537 11776 81920 c Win95 FAT32 (LBA)
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4 11777 477184 3723264 5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5 12289 12413 1000 46 Unknown
/dev/block/mmcblk0p6 12801 12925 1000 47 Unknown
/dev/block/mmcblk0p7 13313 13562 2000 5d Unknown
/dev/block/mmcblk0p8 13825 15872 16384 48 Unknown
/dev/block/mmcblk0p9 15873 16256 3072 58 Unknown
/dev/block/mmcblk0p10 16385 16768 3072 4a Unknown
/dev/block/mmcblk0p11 16897 17280 3072 4b Unknown
/dev/block/mmcblk0p12 17409 82944 524288 83 Linux
/dev/block/mmcblk0p13 82945 214016 1048576 83 Linux
/dev/block/mmcblk0p14 214017 216576 20480 83 Linux
/dev/block/mmcblk0p15 216577 249344 262144 83 Linux
/dev/block/mmcblk0p16 249345 251392 16384 60 Unknown
/dev/block/mmcblk0p17 251393 251517 1000 63 GNU HURD or SysV
/dev/block/mmcblk0p18 251905 252029 1000 4c Unknown
/dev/block/mmcblk0p19 252417 252928 4096 d1 Unknown
/dev/block/mmcblk0p20 252930 477184 1794032 83 Linux
這是原先的/system/etc/vold.fstab
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard2 /mnt/sdcard2 20 /devices/platform/msm_sdcc.3/mmc_host
/dev/block/mmcblk0p20原本有1.7GB左右,我把它切成兩個(1GB & 0.7GB)並格式化
/dev/block/mmcblk0p20 252930 377930 1000008 83 Linux
/dev/block/mmcblk0p21 377932 477184 794024 83 Linux
並修改vold.fstab如下
dev_mount sdcard /mnt/sdcard 20 /devices/platform/msm_sdcc.3/mmc_host
dev_mount sdcard2 /mnt/sdcard2 21 /devices/platform/msm_sdcc.3/mmc_host
修改完後重開機,內置虛擬SD卡消失,只剩外置SD卡
剛發現截圖功能也壞了,只好拿別隻手機來拍QQ
https://imgur.com/0mY5ABD
https://imgur.com/iYlX0ds
這是完全未修改前的樣子(圖片借自:https://tinyurl.com/yd6yyv8f)
https://imgur.com/aiNbNSw
--
Tags:
Android
All Comments
By Blanche
at 2018-08-23T17:07
at 2018-08-23T17:07
By Linda
at 2018-08-23T20:58
at 2018-08-23T20:58
By Daniel
at 2018-08-27T10:48
at 2018-08-27T10:48
By Caroline
at 2018-08-31T19:49
at 2018-08-31T19:49
By Gilbert
at 2018-09-05T10:58
at 2018-09-05T10:58
By Zanna
at 2018-09-07T16:57
at 2018-09-07T16:57
By Cara
at 2018-09-11T08:21
at 2018-09-11T08:21
By Kama
at 2018-09-15T07:01
at 2018-09-15T07:01
By Mary
at 2018-09-20T00:33
at 2018-09-20T00:33
By Anthony
at 2018-09-21T23:14
at 2018-09-21T23:14
By Brianna
at 2018-09-23T02:39
at 2018-09-23T02:39
By Anonymous
at 2018-09-28T01:56
at 2018-09-28T01:56
By Selena
at 2018-09-29T13:10
at 2018-09-29T13:10
By George
at 2018-10-03T12:34
at 2018-10-03T12:34
By Poppy
at 2018-10-04T17:35
at 2018-10-04T17:35
By Hedda
at 2018-10-05T04:20
at 2018-10-05T04:20
By Jessica
at 2018-10-08T01:46
at 2018-10-08T01:46
By Sarah
at 2018-10-12T00:27
at 2018-10-12T00:27
By Joseph
at 2018-10-12T23:44
at 2018-10-12T23:44
By Hardy
at 2018-10-16T02:06
at 2018-10-16T02:06
By Doris
at 2018-10-16T14:28
at 2018-10-16T14:28
By Agnes
at 2018-10-20T12:12
at 2018-10-20T12:12
By Connor
at 2018-10-24T22:21
at 2018-10-24T22:21
By Joseph
at 2018-10-25T19:45
at 2018-10-25T19:45
By Ida
at 2018-10-26T22:38
at 2018-10-26T22:38
By Poppy
at 2018-10-29T07:15
at 2018-10-29T07:15
By Kyle
at 2018-10-30T01:52
at 2018-10-30T01:52
By Enid
at 2018-10-30T22:22
at 2018-10-30T22:22
By Rosalind
at 2018-11-01T07:38
at 2018-11-01T07:38
By Bennie
at 2018-11-05T04:53
at 2018-11-05T04:53
Related Posts
關閉Android系統升級提醒方式
By Necoo
at 2018-08-18T12:52
at 2018-08-18T12:52
OG YouTube開始有廣告…
By Elvira
at 2018-08-18T11:30
at 2018-08-18T11:30
LINE對話紀錄無備份搶救
By Ina
at 2018-08-18T09:39
at 2018-08-18T09:39
手機檔案在WINDOWS變成資料夾
By Jack
at 2018-08-18T09:14
at 2018-08-18T09:14
請幫忙推薦刷卡用機型
By Dinah
at 2018-08-17T23:34
at 2018-08-17T23:34