|
ROMs y desarrollo Asus Transformer Infinity ROMs y desarrollo Asus Transformer Infinity |
|
Herramientas |
#1
|
||||
|
||||
[MOD]Data2SD Enhanced I/O Speed. Mas velocidad de escritura/lectura
At the suggestion of several users, I am forking the previous thread. I am planning on supporting several ROMs and this is the best course to keep everything organized and provide support.
What is this? Background: The speed of the flash memory in the Transformer line of tablets is very poor. This is very apparent when installing or updating applications from the Play Store, copying files over USB, or using an app that caches lots of data like a web browser. The tablet will hiccup and stutter due to the I/O bottleneck. Running Androbench shows random write speeds averaging less than .2MB/sec. The workaround: Utilizing a fast, class 10 microSD card, we can move the /data partition to something significantly faster. The /data partition is where apps are installed to and where they store their configuration information and data. By redirecting /data to these fast microSD cards, we eliminate this bottleneck from our devices. With a properly fast card, users have reported a complete elimination of I/O related hiccups and system freezes. I have based my enhancements on the initial work by TweakerL on the Transformer Prime. Credit to fordwolden to porting his work to the Infinity. The enhancements: Previous implementations of this mod had the internal data partition mounted to /data2, with the media subfolder (your internal user storage) only available via root apps. There were symlinks set up at /sdcardi, etc, but these still required root permission to access. This is due to permissions on the /data partition and applies to both /data and /data2. Google gets around this by creating a "virtual" sdcard that points to /data/media. I have created a second "virtual" sdcard that points to /data2/media. This mod creates the scenario below: /data = ext4 partition on microSD (fast) /data2 = ext4 partition on internal storage (slow) New changes: /data/media -> Virtual SD Card Daemon -> /storage/sdcard0 /data2/media -> Virtual SD Card Daemon -> /storage/sdcardi /sdcardi -> Symlink -> /storage/sdcardi /mnt/sdcard_internal -> Symlink -> /storage/sdcardi /storage/sdcardi is the virtual SD card for the internal storage. You should see all the files you had saved to this space before using data2sd. These files should be accessibly by any standard non-root Android app. Additionally, it should mount over USB! (CM10 only for now). Screenshot of this: Installation Requirements 1) Class 10 microSD, at least 8gb 2) A computer with card reader 3) Partitioning software. Recommended: MiniTool Partition Wizard for Windows and GParted for Linux. Instructions 1) Decide how big you want to make the ext4 partition for /data. Remember, this is going to be the space for installing applications AND the /sdcard space that games will use the cache their extra data. Kindle books, Dropbox files, pics from the camera WILL ALL GO HERE. Personally, I decided to make the ext4 partition the whole 64gb of my card. The ext4 partition has to be partition #2 on the microSD card. Why? This is to give people with large cards the option of creating a FAT32 or NTFS area as partition #1. This allows the card to be read by a Windows or Mac computer using a card reader. I use my tablet as my card reader with the USB cable, so I wasn't worried about this. I used MiniTool to create a small 8mb unformatted partition as partition #1, then a second 64gb partition to fill the rest of the card. I formatted this second partition in ext4. 2) Create two partitions, both of type "Primary" rather than "Logical" if given the choice. I also set the second partition as "Active". Format this second partition in ext4. It does not matter if the first partition is formatted or unformatted, or what size it is. 3) Insert microSD into tablet and flash the data2sd conversion zip for your ROM. After booting back into Android, you should be greeted with the Setup Wizard. Remember, this is a fresh /data partition, so it's a clean slate. It's a good idea to take a TitaniumBackup** ahead of time. I am experimenting with ways to make the transition more painless. **Note about taking a TitaniumBackup before switching to data2sd. After the conversion, your internal storage will be mounted to /sdcardi. By default, TitaniumBackup looks for previous backups in /sdcard not in /sdcardi. You have two choices. Copy the TitaniumBackup folder from /sdcardi to /sdcard and restart the app, or change the backup location to /sdcardi/TitaniumBackup in the app preferences. Either of these options should work fine. NOTE: I've officially thrown in the towel on the sdcardi USB support on CleanROM. I don't know if it's changes by ASUS or by Scott, but it just does not work. I was able to figure CM out because I could look at the source code on Github and trace the exact changes needed. We don't have source for the stock ROM and I haven't been able to fix it without. Download These are flashable zips. It will disable journaling on the microSD ext4 partition. You do not have to do this manually! Flash these after flashing the ROM. It should also be able to upgrade an older data2SD installation of CM10. CleanROM 3.0.3: http://d-h.st/LTd CleanROM 2.6: http://d-h.st/Zp2 cm-10-20121125-NIGHTLY: http://d-h.st/sZE cm-10.0.0: http://d-h.st/ClA CleanROM 2.4: http://d-h.st/tkT cm-10-20121109-NIGHTLY: http://d-h.st/Xy8 cm-10-20121105-NIGHTLY: http://d-h.st/4GO cm-10-20121103-NIGHTLY: http://d-h.st/b0B cm-10-20121102-NIGHTLY: http://d-h.st/eBw cm-10-20121031-NIGHTLY: http://d-h.st/0ku BakedBlack Bean 6 - 10/31/2012: http://d-h.st/Gdj BakedBlack Bean 6 - 10/26/2012: http://d-h.st/6EC cm-10-20121030-NIGHTLY: http://d-h.st/wMA cm-10-20121029-NIGHTLY: http://d-h.st/k66 CleanROM 2.3: http://d-h.st/kgh Custom Kernels: The data2sd zips above come with a modified stock kernel for each ROM. If you want to use a custom kernel, I have modified the ones below. Flash these AFTER flashing the above data2sd zip your ROM. The zips below do not come with all the files required for data2sd, just the kernel. As an example, if you flash a new CM10 nightly, you will need to flash the data2sd zip for the the same nightly from above, then whichever custom kernel from below. clemsynTFUniversalCyano650GPUFsyncver3: http://d-h.st/duw ClemsynTFUniversalStock: http://d-h.st/IBm clemsynTFUniversal650GPUver7 (Stock/CleanROM): http://d-h.st/S4k Última edición por Rickymax Día 12/01/13 a las 23:21:57. |
|
#2
|
||||
|
||||
Buenos dias!
Es el único mod que me falta por aplicar! lo has probado? se nota mucho en rendimiento? |
#3
|
||||
|
||||
Acabo de encargar una tarjeta de clase 10. Estoy deseando probarlo
|
#4
|
||||
|
||||
Tengo la tarjeta Samsung 32GB Class 10 MicroSDHC High Speed, la he formateado como dice en ext4, en una sola partición. pero apartir de aquí no se como seguir. Me lo podeis explicar. Entiendo que se puede instalar aquí la rom y iria mas rápida la Tablet, es así, que debo hacer. Gracias.
|
#5
|
||||
|
||||
Pues aun no lo he podido probar porque no me ha llegado la tarjeta. Me compre una de 32gb class10. En cuanto me llegue me pongo al lio y comento
Sent from my ASUS Transformer Pad TF700T |
#6
|
||||
|
||||
Rickymax, ¿de donde lo has sacado? entiendo que habrá más información.
Mi tarjeta ha llegado, pero todavía no he rooteado ni siquiera la tablet, así que voy despacito y con mucha calma. |
#7
|
||||
|
||||
Enviado desde mi Galaxy Nexus |
Gracias de parte de: | ||
#8
|
||||
|
||||
No consigo hacerlo funcionar.
1) Formateo la tarjeta microsd en ext4. He probado: · Hacer una única partición primaria (ext4) · Hacer 2 particiones primarias (ext4+ext4, ntfs+ext4, ntfs+ext2) · Formatear la tarjeta en ext2 (primaria) En ninguno de los casos me monta la tarjeta, por lo que parece que es "invisible" a la tablet con este sistema Si la formateo en fat32 la monta si problemas 2) Con la microsd formateada ext2 o ext4 copio el .zip de data2sd y desde el recovery lo instalo. No da ningún error, pero a la hora de reiniciar entra en un bucle y nunca llega a arrancar. La forma de arrancar el tablet es reinstalar la ROM |
#9
|
||||
|
||||
Hola calomar.
Formateas con gparted? Pones las 2 particiones como primarias? A la partición 2 (ext4) la pones como activa /root?? Tienes CWM? Si la respuesta a todo eso es si, debería funcionarte este mod. A mi me ha costado conseguirlo, pero la verdad es que es un placer. La unica pega que le achaco a este mod es que, conectando via USB al pc, no es visible la memoria interna. Si la puedes ver y usar con algun gestor de archivos android. Saludos y suerte |
#10
|
||||
|
||||
Hola joe7045,
gracias por la respuesta! Te cuento lo que ocurre: Hola calomar. Formateas con gparted? No, lo he hecho con Minitool Partition Pones las 2 particiones como primarias? Si A la partición 2 (ext4) la pones como activa /root?? Antes no, pero ahora he puesto la segunda partición como primaria. En la barra de abajo me dice que hay una microSD insertada, pero en ningún explorador de archivos me reconoce la tarjeta. Tienes CWM? También, con el CleanROM 2.7 Si la respuesta a todo eso es si, debería funcionarte este mod. A mi me ha costado conseguirlo, pero la verdad es que es un placer. La unica pega que le achaco a este mod es que, conectando via USB al pc, no es visible la memoria interna. Si la puedes ver y usar con algun gestor de archivos android. Saludos y suerte Nada, lo que dije antes, que no me reconoce la tarjeta. He probado a instalar igualmente el .zip (por si es que aunque no me la reconozca está bien) y al arrancar se queda reiniciando constantemente. Tengo que reinstalar cleanrom para que arranque de nuevo |
#11
|
||||
|
||||
Lo primero, particiona esa tarjeta con gparted, no con el minitool, que no vale.
Dos particiones primarias, la 1ª en fat32 y la 2ª en ext4. A esta segunda, ademas, la marcas como /root. Copia el zip de cleanrom y el data2sd.zip en esa primera partició fat32 que si te reconoce el ordenador. Reinicia en modo recovery CWM (no vale TW) con la tarjeta ya metida en la tablet. Flashea la cleanrom, (el parche 2.7.2 si quieres tambien). Despues de arrancar, vuelve al modo recovery CWM y flashea data2sd. Ya lo tienes. En el ordenador solo verás la tarjeta microSD, no verás el almacenamiento interno, pero en la tablet es totalmente funcional en /sdcardi. Suerte ya está |
#12
|
||||
|
||||
Ok, pues lo haré con gparted esta tarde. A ver si consigo que linux me reconozca el lector de tarjetas.
Muchas gracias! |
#13
|
||||
|
||||
Sin problemas, te grabas un cd gparted live y en 10 minutos tienes correctamente formateada esa tarjeta.
Yo también piqué con el minitool y con este sin problema. También tenía el recovery TW y tuve que poner el CWM, pero después de eso, más que contento. Con el quadrant saco 6300 o asi, cuando con la stock andaba por los 4000. Tengo también el browser2ram, que mejora bastante el navegador y te lo recomiendo. Venga que no queda nada para tener la tablet a tope. |
#14
|
||||
|
||||
Hola amigos, he encontrado una targeta microsd scandisk extreme de maximo 16gb, que segun lamarca da 95 m/s de lectura y 90 de escritura , vale 100 pavos en scandisk valdrà la pena gastarselos o luego nuestro cacharrito no podrá aprovechar esta velocidad , lo digo porque la scandisk clase 10 normal de64gb vale solo50euros yme handicho que va de perlas.
QUE OPINAIS? |
#15
|
||||
|
||||
Re: [MOD]Data2SD Enhanced I/O Speed. Mas velocidad de escritura/lectura
actualizado
Enviado desde mi ASUS Transformer Pad TF700T |
#16
|
||||
|
||||
Ya lo tengo instalado en una memoria de 32gb clase 10 con la version 3.2.1 de Cleanrom y ha ganado en velocidad, se nota. Ahora con Quadrant obtengo 7200 puntos.
|
Estás aquí | ||||||
|