no credo proprio che servano le cartelle...
Visualizzazione stampabile
no credo proprio che servano le cartelle...
aggiornato senza wipe da 1.2
fenz per non saper nè leggere nè scrivere fai così:
1) attacchi il device al pc via usb
2) apri il prompt di dos
3) scrivi "adb shell"
se appare "$" scrivi "su", altrimenti se vedi "#" prosegui
adesso scrivi:
fatto questo riavvia il device.codice:cd /system/sd
mkdir app
mkdir app-private
mkdir anr
mkdir dalvik-cache
exit
E' probabile che ci metta un po' a fare il boot (è normale).
per verificare che tutto sia ok:
collegare il device al pc via usb
aprire il prompt di dos
digitare:
adb shell
e poi
dovrebbe uscire una cosa tipocodice:cd /system/sd
ls -l
poi scrivicodice:drwxrwxrwx 2 1000 1000 4096 Jun 17 16:42 anr
drwxrwx--x 2 1000 1000 4096 Jun 17 06:26 app
drwxrwx--x 2 1000 1000 4096 Jun 16 19:24 app-private
drwxrwx--x 2 1000 1000 16384 Jun 17 06:26 dalvik-cache
lrwxrwxrwx 1 0 0 19 Jun 15 05:44 data -> /system/intmem/data
lrwxrwxrwx 1 0 0 20 Jun 17 04:56 local -> /system/intmem/local
drwx------ 2 0 0 16384 May 11 11:34 lost+found
lrwxrwxrwx 1 0 0 19 Jun 17 04:56 misc -> /system/intmem/misc
lrwxrwxrwx 1 0 0 23 Jun 17 04:56 property -> /system/intmem/property
lrwxrwxrwx 1 0 0 21 Jun 17 04:56 system -> /system/intmem/system
lrwxrwxrwx 1 0 0 25 Jun 15 14:52 tombstones -> /system/intmem/tombstones
e dovrebbe uscirti una riga tipo:codice:busybox df -h
se così fosse la 3° cifra (679.2M nel mio caso) rappresenta lo spazio libero che visualizzerai nelle impostazioni di menù.codice:aufs 795.2M 75.6M 679.2M 10% /data
Se qualcosa non è andato bene, fammi sapere e sopratutto posta qui l'output dei comandi di cui ti ho fornito gli esempi, ok?
EDIT:
Aggiungi anche di postarmi il contenuto del file a2sd.sh che trovi in /system/bin, facendo così:
l'output dovrebbe essere:codice:cat /system/bin/a2sd
Se te ne intendi di script bash, ti accorgerai che:codice:#!/system/bin/sh
# Apps2SD - Original idea by MarcusMaximus, enhanced by cyanogen
if [ -e /dev/block/mmcblk0p2 ];
then
# fsck the sdcard filesystem first, and convert it to ext3
e2fsck -y /dev/block/mmcblk0p2;
# Uncomment line below to convert to ext3
# tune2fs -c0 -i0 -j /dev/block/mmcblk0p2;
mount -o noatime,nodiratime -t auto /dev/block/mmcblk0p2 /system/sd;
busybox chown 1000:1000 /system/sd;
busybox chmod 771 /system/sd;
# create directories on sd if they don't exist yet
if [ ! -d /system/sd/app ]; then mkdir /system/sd/app; fi;
if [ ! -d /system/sd/app-private ]; then mkdir /system/sd/app-private; fi;
if [ ! -d /system/sd/dalvik-cache ]; then mkdir /system/sd/dalvik-cache; fi;
# aufs can be disabled by having a ".nounion" file
if [ ! -f /data/.nounion ] && [ ! -f /system/sd/.nounion ];
then
# clean up any old symlinks
if [ -h /data/app ]; then rm /data/app; fi;
if [ -h /data/app-private ]; then rm /data/app-private; fi;
if [ -h /data/dalvik-cache ]; then rm /data/dalvik-cache; fi;
if [ -h /data/data ]; then rm /data/data; fi;
for i in `fuser /data`;
do
kill $i;
done;
busybox umount /data
# aufs of /system/intmem and /system/sd
mount -o rw,noatime,nodiratime,nodev -t yaffs2 /dev/block/mtdblock5 /system/intmem;
busybox chown 1000:1000 /system/intmem;
busybox chmod 771 /system/intmem;
# don't allow /data/data on sd because of upgrade issues - move it if possible
if [ -d /system/sd/data ] && [ ! -h /system/sd/data ];
then
busybox cp -a /system/sd/data/* /system/intmem/data/
busybox rm -rf /system/sd/data;
fi;
if [ ! -h /system/sd/data ];
then
ln -s /system/intmem/data /system/sd/data;
fi
# don't allow system directories on sd
for i in local misc property system tombstones;
do
if [ -d /system/sd/$i ]; then busybox rm -rf /system/sd/$i; fi;
if [ ! -h /system/sd/$i ]; then ln -s /system/intmem/$i /system/sd/$i; fi
done
# mount the aufs and set correct perms
mount -t aufs -o noplink,noatime,nodiratime,nodev,dirs=/system/sd:/system/intmem aufs /data;
# fix permissions
for i in /data /data/app /data/app-private /data/dalvik-cache;
do
busybox chown 1000:1000 $i;
busybox chmod 771 $i;
done;
fi;
fi;
il tutto funge se hai il file /dev/block/mmcblk0p2 (che rappresenta la partizione ext2 della tua SD).
e successivamente ti accorgerai che se non esistono le dir sulla SD, questo script le crea...
quindi mi pare strano che tu non le abbia...
il dubbio che mi sorge è che tu non abbia formattato EXT2 la partizione della SD... sei sicuro che sia formattata ;)?
ciao Azatoth , felicitazioni anche da parte mia :-)
ps. secondo me il partizionamento e basta non va bene, serve creare le cartelle come indicato nei post precedenti..
esatto... nel post mi hai scritto dei comandi per creare le cartelle... partizionare e basta forse non basta... ;) grazie mille..spero vada tutto bene... domani provo...
cmq pensavo che fosse un applicazione quella a2sd (anche perchè credo ci sia anche un applicazione del genere)... in realtà mi ero un po' incasinato la testa... non avevo capito che era uno script e che è grazie a questo che il tutto funziona... se è così vuol dire che ora ho capito qlkosa... sennò ci rinuncio :D
ho formattato la scheda (di nuovo) e ho creato le cartelle e al comando ls -l mi escono solo le cartelle che ho creato. mi manca questo:
lrwxrwxrwx 1 0 0 19 Jun 15 05:44 data -> /system/intmem/data
lrwxrwxrwx 1 0 0 20 Jun 17 04:56 local -> /system/intmem/local
lrwxrwxrwx 1 0 0 19 Jun 17 04:56 misc -> /system/intmem/misc
lrwxrwxrwx 1 0 0 23 Jun 17 04:56 property -> /system/intmem/property
lrwxrwxrwx 1 0 0 21 Jun 17 04:56 system -> /system/intmem/system
lrwxrwxrwx 1 0 0 25 Jun 15 14:52 tombstones -> /system/intmem/tombstones
questo l'ho fatto senza saper leggere e scrivere ;)
forse non è chiara una cosa (a me)... devo prima mettere questo firmware con wipe e poi fare queste operazioni?
lo dico perchè pensavo che preparando a dovere la sd, il fatto di mettere il nuovo firmware se la vedeva tutto da solo...
devi creare le cartelle PRIMA di fare wipe e installazione del nuovo FW, in modo che durante l' installazione possa scriverti i files nella giusta location :D