CERCA
PER MODELLO
FullScreen Chatbox! :)

Utente del giorno: gianpassa con ben 2 Thanks ricevuti nelle ultime 24 ore
Utente della settimana: 9mm con ben 10 Thanks ricevuti negli ultimi sette giorni
Utente del mese: 9mm con ben 34 Thanks ricevuti nell'ultimo mese

Visualizzazione dei risultati da 1 a 1 su 1
Discussione:

[HACK] ext4 in /sdcard

Se questa discussione ti è stata utile, ti preghiamo di lasciare un messaggio di feedback in modo che possa essere preziosa in futuro anche per altri utenti come te!
  1. #1
    Kernel Developer L'avatar di RcrdBrt


    Registrato dal
    May 2011
    Località
    rovigo
    Messaggi
    556
    Smartphone
    nexus s

    Ringraziamenti
    34
    Ringraziato 214 volte in 135 Posts
    Predefinito

    [HACK] ext4 in /sdcard

    noobs, keep away yourselves from here

    detto questo, apro il thread perchè è un hack interessantissimo. l'ext4 sulla partizione sd migliorerebbe l'I/O e il tempo di boot. se qualcuno vuole provare, test it!

    These patches add ext4 support for your sdcard (in the Nexus S - the internal card.) There are a number of reasons you might want to do this - performance (ext4 is faster, plus mounting ext4 is basically instantaneous, which is very nice on reboots...no more checking sdcard), it's more efficient, you get a bunch of file system security features (if you care...)

    You should not apply them if you don't really know what you are doing. The patches are resonably benign. Converting your sdcard partition to ext4 is NOT NOT NOT benign and you can really hose yourself doing it.

    I'm not going into great depth with these instructions. If you don't understand them, play around with building cyanogen, installing it, etc until they are crystal clear.

    To swap your sdcard to ext4:

    * Apply the patches and rebuild cyanogen. Rebuild it. They will change your recovery image and vold.

    * Install vold and flash (and/or boot) the recovery image.

    * Boot into recovery, mount your sdcard and back it up to your computer (i.e., not nandroid, copy the files.) Nandroid would be a good idea too.

    * Format your media partition to ext4 (the one that is vfat, by-name is media, mine is partition 3) mkfs.ext4 can be found by googling, or you can use make_ext4fs from /system/bin. I used mkfs.ext4.

    * You should be able to manually mount that.

    * Push your files back.

    * sync and reboot.

    Et Voila, you should have an ext4 sdcard partition.

    THIS IS VERY DANGEROUS.

    YOU CAN REALLY HOSE YOURSELF DOING IT.

    Here are the patches:
    Gerrit Code Review

    This one adds ext4 support to vold, thus allowing gingerbread to mount ext4 partitions for the sdcard (which on the Nexus S, is the 'media' partition.)

    and:
    Gerrit Code Review
    This is a change to recovery, making it seamlessly mount ext4 partitions for /sdcard.

  2.  

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire risposte
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Torna su
Privacy Policy