Sdcard Problem

  • 0 Antworten
  • Letztes Antwortdatum
M

mstolz

Neues Mitglied
2
Brauch hier mal dringend Hilfe
das funktioniert


on init
#### See storage config details storage0 at Storage | Android Open Source Project
mkdir /mnt/media_rw/sdcard0 0777 media_rw media_rw
mkdir /storage/sdcard0 0777 root root

export EXTERNAL_STORAGE /storage/sdcard0

#### Support legacy paths
symlink /storage/sdcard0 /sdcard
symlink /storage/sdcard0 /mnt/sdcard0# symlink /storage/sdcard0 /storage/emulated/0
#### compatible to SSD feature
symlink /storage/sdcard0 /storage/emulated/legacy

service fuse_sdcard0 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard0 /storage/sdcard0
class late_start
# disabled

on early-init
# create mountpoints
mkdir /mnt 0775 root system

# See storage config details at Storage | Android Open Source Project
mkdir /mnt/shell 0700 root sdcard_rw
chmod 0750 /mnt/shell
chown root sdcard_rw /mnt/shell

# mkdir /mnt/shell/emulated 0700 root sdcard_rw
# chmod 0777 /mnt/shell/emulated
# chown root sdcard_rw /mnt/shell/emulated

mkdir /mnt/media_rw 0700 media_rw media_rw
mkdir /storage 0751 root sdcard_rw

# compatible to SSD feature
on post-fs-data
# we will remap this as /mnt/sdcard with the sdcard fuse tool
mkdir /data/media 0770 media_rw media_rw
#chmod 0777 /data/media
chown media_rw media_rw /data/media

ergibt

shell@vKB076F:/ $ df
Filesystem Size Used Free Blksize
/dev 479.6M 60.0K 479.6M 4096
/sys/fs/cgroup 479.6M 12.0K 479.6M 4096
/mnt/asec 479.6M 0.0K 479.6M 4096
/mnt/obb 479.6M 0.0K 479.6M 4096
/system 678.0M 658.5M 19.5M 4096
/data 3.8G 333.1M 3.5G 4096
/cache 248.0M 844.0K 247.1M 4096
/custom 55.0M 43.8M 11.3M 4096
/protect_f 7132.6G 7132.6G 5.8M 4096
/protect_s 7132.6G 7132.6G 5.8M 4096
/nvdata 27.5M 676.0K 26.8M 4096
/mnt/cd-rom 1.2M 1.2M 0.0K 2048
/data/media 479.6M 0.0K 479.6M 4096
/storage/sdcard0 59.8G 352.0K 59.8G 32768
/mnt/media_rw/sdcard0 59.8G 352.0K 59.8G 32768
/mnt/secure/asec 59.8G 352.0K 59.8G 32768

das Geht nicht

on init
# See storage config details at Storage | Android Open Source Project
mkdir /mnt/sdcard0 0777 system system
mkdir /mnt/shell/emulated 0777 shell shell
mkdir /storage/emulated 0777 root root

export EXTERNAL_STORAGE /storage/emulated/legacy
export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
export EMULATED_STORAGE_TARGET /storage/emulated

# Support legacy paths
symlink /storage/sdcard1 /mnt/sdcard2

symlink /storage/emulated/legacy /sdcard
symlink /storage/emulated/legacy /mnt/sdcard
symlink /storage/emulated/legacy /storage/sdcard0

symlink /mnt/shell/emulated/0 /storage/emulated/legacy
symlink /mnt/shell/emulated/0 /storage/emulated/0

service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
class late_start

Ergibt
shell@vKB076F:/ $ df
Filesystem Size Used Free Blksize
/dev 479.6M 56.0K 479.6M 4096
/sys/fs/cgroup 479.6M 12.0K 479.6M 4096
/mnt/asec 479.6M 0.0K 479.6M 4096
/mnt/obb 479.6M 0.0K 479.6M 4096
/system 678.0M 658.5M 19.5M 4096
/data 3.8G 334.6M 3.5G 4096
/cache 248.0M 532.0K 247.4M 4096
/custom 55.0M 43.8M 11.3M 4096
/protect_f 5.8M 52.0K 5.8M 4096
/protect_s 5.8M 48.0K 5.8M 4096
/nvdata 27.5M 676.0K 26.8M 4096
/mnt/cd-rom 1.2M 1.2M 0.0K 2048
/data/media 479.6M 0.0K 479.6M 4096
/mnt/shell/emulated 479.6M 0.0K 479.6M 4096

Wie bekomme ich die sdcard0 in den Emulatet bereich

Hab jetzt durch das ständige Testen das tablett schon geschrottet
kartensteckplatz und display geht nicht mehr
 
A

Anzeige

  • Gerade eben
  • Neu
Hallo mstolz,

schau mal hier: Sdcard Problem. Dort wird jeder fündig!
Zurück
Oben Unten