yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T Android Development] untermensch:
I developed the mod myself, data is just moved to a different partition so no guide needed.

If you do not have a linux box handy then use http://gparted.sourceforge.net/

to partition and format your micro sd, the file system type must be ext4, the

partition label must be data2sd. You can optionally copy your existing data

through adb from a recovery like CWM/TWRP, mount data then from adb shell

mkdir /data2sd
mount /dev/block/mmcblk1xx /data2sd
cp -frp /data/* /data2sd/
sync
umount /data2sd

you should turn off file system checking after exceeding a certain number of mounts

tune2fs -c -1
[Transformer TF300T Android Development] jgaf:
No go getting stuck at boot animation. Trying to get dmesg but command-prompt in window doesn't show everything in it.

Ok got complete dmesg fom cygwin attached to post.
[Transformer TF300T Android Development] jgaf:
The only error I see on the dmesg concerning mmcblk1p1 is the following:

<3>EXT4-fs (mmcblk1): error loading journal
[Transformer TF300T Android Development] untermensch:
the partitions are being read.

<4>mmc2: host does not support reading read-only switch. assuming write-enable.
<6>mmc2: new ultra high speed SDHC card at address e624
<6>mmcblk mmc2:e624: Card claimed for testing.
<6>mmcblk1: mmc2:e624 SU32G 29.7 GiB
<6> mmcblk1: p1 p2
<6>[mmc]:mmc_rescan_try_freq:2060 mmc2: SD completed

but it looks like the permissions on the card are messed up.

<3>init: Unable to write persistent property to temp file /data/property/.temp e
<3>init: Unable to write persistent property to temp file /data/property/.temp e
[Transformer TF300T Android Development] jgaf:
I've been googleling and I found that people recommend using fsk command to check the drive for errors, would this apply to me or should I just try re-formatting again? If fsk applies how should the command be?
[Transformer TF300T Android Development] jebise101:
Does Data2SD actually make the tablet lag free, I notice when i'm transferring a large video file and listening to music browsing the web becomes very laggy/slow and is very irritating. That and if i ever try to get anime of a torrent even if i download to the sd card the tab becomes unresponsive for a few minutes if the screen is off. If i can make that go away with the right SD card i might actually have the tablet i intended to buy.

Also I plan to buy a 16GB and just format as a single ext4, does that mean i will not be able to use it for anything but apps and system data? I would prefer to use the internal for my music and videos etc but use the external for OS.

To add using the latest kernel and got an I/O score of 7000+ and i'm not using Data2SD yet, i had the kernel in OP and got a score of 5000+. Amazing work man.
[Transformer TF300T Android Development] Admiral2145:
Is anyone under volting the kernel? Or is there no real advantage?
[Transformer TF300T Android Development] Charle692:
I'm not under volting because in my opinion it is much stabler without it and the little battery I would save isn't worth it but experiences may vary so try it out and see for yourself
[Transformer TF300T Android Development] Godswrath:
Any specific SD card recommendations? Links to amazon if possible, please! From my research I find the lower the class, the better the random reading/writing, and the higher the class the better the sequential read/writing. I also read the smaller the card, the faster. (Ie 16gb would be a lot faster than the same 64gb card).
[Transformer TF300T Android Development] BrateloSlava:
I tested the latest development kernels from untermensch and Niksunen on internal data on CleanROM 2.5

The results - in the screenshots.

untermensch.

Please write a step by step manual how to transfer data from intermal to microSD (data2sd).

Sure, I can make a backup copy of all the programs with their data, install the firmware from scratch, install the kernel, and then restore everything from backup. I understand that when I'm going to do to restore, all data will be placed in a new direction, the memory card.

Is there any other way? Without backup.
[Transformer TF300T Android Development] untermensch:
look here for instructions

http://xdaforums.com/showpost.php?p=33282559&postcount=387
[Transformer TF300T Android Development] BrateloSlava:
That way I just get a copy of all data on the card. Do I need to then delete the data from the internal memory?
[Transformer TF300T Android Development] untermensch:
no, you can fall back to internal card at any time.
[Transformer TF300T Android Development] stevtec86:
boys two requests:

1 - the kernel 10.4.4.16 can I install on custom Rom JB @ Blue V2.1 based on FW asus Stock JB 10.4.2.13?

2 - who post the link to download the kernel 10.4.4.16 with OC that I can not seem to find and download?

In the first page, in the first post do not see it, and that gave me the link a user can not find it.

thanks and sorry for requests
[Transformer TF300T Android Development] untermensch:
you can download the 10.4.4.18 based kernel here

http://xdaforums.com/showpost.php?p=33279194&postcount=382

it is still experimental so no stable download location for now

you should be able to install it on any rom, I only test against the stock ASUS

firmware so I don't really know.
[Transformer TF300T Android Development] jgaf:
I can't seem to get the data2sd working, I must be missing something tried so many different ways nothing works. Also I can't get adb to work while I'm at TWRP

Attached is my latest dmesg I can't find any errors as before...
[Transformer TF300T Android Development] gengi:
Sorry about the question but i want to know if i can use this kernel without using the data2sd feature using a ntfs formated card. It works ok?

Thanks in advance :)
[Transformer TF300T Android Development] untermensch:
Yes, will work fine.
[Transformer TF300T Android Development] untermensch:
looks like you still have permission problems

<3>init: Unable to write persistent property to temp file /data/property/.temp errno: 2
<3>init: Unable to write persistent property to temp file /data/property/.temp errno: 2

I can't help with TWRP problems.

you also have a conflicting version of zram

<3>zram: version magic '3.1.10-g7490e0e-dirty SMP preempt mod_unload ARMv7 ' should be '3.1.10-<10.4.4.18-TF300T>-g1f6f265-dirty SMP preempt mod_unload ARMv7 '
<4>zram: module is from the staging directory, the quality is unknown, you have been warned.
<4>zram: Unknown symbol __aeabi_unwind_cpp_pr0 (err 0)
[Transformer TF300T Android Development] jgaf:
Any idea how could I fix the permission problems on the card?
[Transformer TF300T Android Development] untermensch:
adb shell sh -c "/system/xbin/busybox chown -R system:system /data/*
adb shell sh -c "/system/xbin/busybox chmod -R 777 /data/*

or the directions posted

http://xdaforums.com/showpost.php?p=33282559&postcount=387
[Transformer TF300T Android Development] jgaf:
I tried everything, no luck T_T. I'm just going to give up.....might do a fresh install of Hydro and try one more time not really sure if that will help my case.

Thanks for all the help though.
[Transformer TF300T Android Development] untermensch:
disabling journaling

http://xdaforums.com/showpost.php?p=32973032&postcount=3

gives a nice boost, quadrant I/O of 9290
[Transformer TF300T Android Development] BrateloSlava:
Very interesting.

Are you going to include a similar script in the new version of the kernel?

And more. If you are not hard, add some numbering to a file name with the new kernel. And now they all have the same name. And difficult to distinguish from one another.
[Transformer TF300T Android Development] ajgorr:
I have got a question, I would like to enable data2sd, I got the UHS-1 32GB card, I also got linux booted on my second PC with gparted running. I should just delete existing partition on the SDcard and create two others with ext-4 system, one named data2sd and the other with whichever name I choose (for instance for music)? And then copy /data/ content via recovery? Or I have to sacrifice whole card for data2sd purposes and I won't be able to store other files on the card (other the one that would usually go to /data/ folder on the device)? Also, what should be the size of data2sd partition?

Also, will the kernel detect that sdcard with /data2sd/ partition has been created automatically or do I have to perform any specific steps?

I am sorry I'm asking, but I have never done that manually. Thanks in advance!
[Transformer TF300T Android Development] petter244:
So I finally got this working after seeing in the dmesg that i did not have busybox installed.

Problem is that the 1.7 Ghz kernel is unstable for me, it keeps rebooting.

Untermench:

Is there any chance you could post a version of the kernel with only 1.6 Ghz? Because the original kernel in the OP works perfectly!
[Transformer TF300T Android Development] BrateloSlava:
During the execution of the command

e2fsck -f /dev/block/mmcblk0p2

, I get messages about multiple errors.

How correct the syntax of this command?

e2fsck -fy /dev/block/mmcblk0p2

or

e2fsck -fp /dev/block/mmcblk0p2
[Transformer TF300T Android Development] untermensch:
you want to change mmcblk0p2 to what ever device /data is

type mount at the command line

/dev/block/mmcblk0p8 /internal_sd ext4 rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=1,nomblk_io_submit,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk1p1 /data ext4 rw,nosuid,nodev,noatime,errors=panic,user_xattr,barrier=1,nomblk_io_submit,noauto_da_alloc 0 0
/dev/block/mmcblk0p8 /data/media/internal_sd ext4 rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=1,nomblk_io_submit,data=ordered,noauto_da_alloc 0 0

for me it is

/dev/block/mmcblk1p1
[Transformer TF300T Android Development] untermensch:
I updated OP the data2sd script is included.
[Transformer TF300T Android Development] BrateloSlava:
What is the syntax for automatically correcting errors?
[Transformer TF300T Android Development] untermensch:
8Gb is probably a safe low limit for the data2sd partition, after that you can lay

out the partitions however you like.

the data2sd script looks at the file system superblock for "data2sd" for all the

partitions on the external sd card if it finds a match it will mount it as /data

if you have set up the card correctly (ext4 file system with label of "data2sd")

and busybox is installed at /system/xbin/busybox, it should work aromatically.
[Transformer TF300T Android Development] untermensch:
Usage: fsck.ext4 [-panyrcdfvtDFV] [-b superblock] [-B blocksize]
[-I inode_buffer_blocks] [-P process_inode_size]
[-l|-L bad_blocks_file] [-C fd] [-j external_journal]
[-E extended-options] device

Emergency help:
-p Automatic repair (no questions)
-n Make no changes to the filesystem
-y Assume "yes" to all questions
-c Check for bad blocks and add them to the badblock list
-f Force checking even if filesystem is marked clean
-v Be verbose
-b superblock Use alternative superblock
-B blocksize Force blocksize when looking for superblock
-j external_journal Set location of the external journal
-l bad_blocks_file Add to badblocks list
-L bad_blocks_file Set badblocks list
[Transformer TF300T Android Development] kill4l:
hi, I thanks for your great work, and I want to know if the update will work on TF300TG? thanks again for your awesome work))
[Transformer TF300T Android Development] untermensch:
yes it the file named TF300T(G)(L).zip

I have never got any feed back as to if the 10.4.4.18 based kernel works

for the TF300TG or TF300TL
[Transformer TF300T Android Development] kill4l:
thanks for the quick feed back, if you need some feed back I can do some tests))) I have some free time and looking forward to help you with testing, and just let me know what I have to do))
[Transformer TF300T Android Development] BrateloSlava:
untermensch

Everything really well (disabling journaling). When transferring data to a memory card will also have to turn off journaling again?
[Transformer TF300T Android Development] untermensch:
it's a one time thing, do it after formatting to ext4 then that is it.
[Transformer TF300T Android Development] gengi:
well guys i just need a little help if possible.

so i just need to format a sd card in ext4 format and label it "data2sd" install latest kernel and thats it? ;)

Thanks in advance for any usefull help. :laugh:
[Transformer TF300T Android Development] jgaf:
Okay I tried fresh install of Hydro ROM, now I'm getting the following errors:

<3>init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
<3>init: cannot find '/system/bin/nvcpud', disabling 'nvcpud'

<3>EXT4-fs (mmcblk1): Cannot change data mode on remount

Still stuck on boot animation T_T
[Transformer TF300T Android Development] Godswrath:
From my understanding you need to do all of the following:

Flash kernel

Format "data2sd" partition on SD Card in ext4 with at least 8GB (rest of the card's partitions doesn't have to be in ext4) using linux box or http://gparted.sourceforge.net/

From here you have the option of coping all existing data from internal to the new external partition (using ADB Shell)

Note: You don't have to do this step, you could also just factory reset/wipe data and reinstall apps. (I assume Titanium Backup Restore would work as well)

ADB Shell code to copy data, if you choose to:

mkdir /data2sd
mount /dev/block/mmcblk1xx /data2sd
cp -frp /data/* /data2sd/
sync
umount /data2sd

The last thing is to turn off file system checking after exceeding a certain number of mounts (which is actually the only part I'm confused about--can anyone clarify this step? When is it done and for what purpose?)

Code to turn off file system checking:

tune2fs -c -1

There has also recently been talk of disabling journaling to improve performance, see here.
[Transformer TF300T Android Development] Charle692:
Actually as long as you make a data2sd partition on your memory card his new kernel will automatically mount data to the partition so no need for the adb shell stuff
[Transformer TF300T Android Development] BrateloSlava:
Kernel installation does not copy data from the internal memory to the memory card. The execution of these commands manually required.
[Transformer TF300T Android Development] petter244:
Hey Untermench.

Reporting back on the latest TF300T(G)(L) kernel:

As far as i can see, everything is working nicely. eg. mobiledata, data2sd, overclock..

No random reboots on the ones from the OP.

I have only been using the newest one for a couple of hours, so I cannot comment on longterm stability/battery..

If you have any questions about the TG kernel, I can ansewer/test it for you!
[Transformer TF300T Android Development] ppmeis:
I'll try this new kernel with data2sd on my Class10 MicroSD. Thanks a lot.
[Transformer TF300T Android Development] stevtec86:
Sorry guys, i download and flashed the kernel 10.4.4.18 for TF300T...Great work Thnk's

Onlyy two question:

1-

Confirm this max freq:

Energy saving mode: 1000Mhz

Balance Mode: 1150 Mhz

Norlam/performanc Mode: 1700mhz

2-

There is no way that signs restart the tablet, restart always on Normal / performance mode?
[Transformer TF300T Android Development] BrateloSlava:
I did a comparison of performance of kernel 10.4.4.18 in two configurations: internal memory with disabled journaling and data2sd memory card UHS-1. A memory card that was created two partitions. I did not disable ext4 journaling in memory cards.

Comparing the results, I decided not to use data2sd. The internal memory on my tablet - 32 GB, so for me - the release of internal memory is not a matter of prime necessity.
[Transformer TF300T Android Development] gengi:
One bit of help if possible. How to disable journaling in internal memory?

Thanks :)
[Transformer TF300T Android Development] xSvenHD:
indeed i wanna know that to.

+1
[Transformer TF300T Android Development] BrateloSlava:
Instructions already laid out earlier. You only need to correctly identify the partition with /data mount point.

---------- Post added at 02:31 PM ---------- Previous post was at 02:15 PM ----------

Instruction that I wrote for the Russian-speaking forum 4pda, looked like this:

Performance IO can increase disabling logging for the data partition.

The sequence for the tablets with installed TWRP is:

1. Run the tablet recovery mode.

2. Connecting to a computer.

3. Go to the folder where you located ADB.EXE

4. Execute the command adb shell.

5. In the Open box, execute the following commands

- Check the availability of the tablet by command devices

- You can find your partition. Execute mount. From the list, search for partition with mount point /data. I found this /dev/block/mmcblk0p8. Remember / make a note of the name.

- Unmount the partition, use the command umount /data and umount /sdcard

- Check for errors command e2fsck -f /dev/block/mmcblk0p8, where /dev/block/mmcblk0p8 is the name you specified earlier

- Manufacture tuning command tune2fs -O ^has_journal-c 1-i 1d-m 0 /dev/block/mmcblk0p8, where /dev/block/mmcblk0p8 is the name you specified earlier. Attention! The first key of this team - is a big Latin letter O, not a zero.

- Check for errors after tuning command e2fsck -f /dev/block/mmcblk0p8, where /dev/block/mmcblk0p8 is the name you specified earlier

- Check that we correctly follow tuning. tune2fs -l /dev/block/mmcblk0p8 | grep features, where /dev/block/mmcblk0p8 is the name you specified earlier. The results should not be a word has_journal.

6. Reboot the tablet as usual, putting normal, through SetCPU set pegasuq governor, sio scheduler and frequency of 1.7. And check the performance.
[Transformer TF300T Android Development] xSvenHD:
Where do i need to be in TWRP recovery? When i try adb devices when im in twrp it doesnt see my tf300. But it see my tf300 when its normal powered on.
[Transformer TF300T Android Development] BrateloSlava:
After starting the tablet in recovery mode click anything on the screen is not necessary. And connect the tablet to the computer.
[Transformer TF300T Android Development] xSvenHD:
So i just boot in TWRP? and connect it in my pc?
[Transformer TF300T Android Development] BrateloSlava:
Yes. The computer will search for new devices, will request the location of the drivers. Should result in the appearance of the device manager ADB interface.
[Transformer TF300T Android Development] xSvenHD:
when i do that ADB doesnt see my device
[Transformer TF300T Android Development] BrateloSlava:
Go into the Device Manager. There are devices that do not find drivers?
[Transformer TF300T Android Development] xSvenHD:
yes there is a unknown device with the name : transformer
[Transformer TF300T Android Development] BrateloSlava:
untermensch

Here it is recommended to format the partition in ext2 for data2sd. And you do not have to turn off logging.

---------- Post added at 04:02 PM ---------- Previous post was at 03:40 PM ----------

Read this.
[Transformer TF300T Android Development] Niksunen:
Thanks for tip to disable / remove journaling. This is my latest quadrant score with my kernel and data2s (class 6 card still, because im not get extreme pro card work, when i plug it in tf300 it not show up etc)

I also try untermensch kernel, and it does not work still. Extreme pro card, work my android phone fine (desire hd)
[Transformer TF300T Android Development] stevtec86:
Please, can you give me your last versione kernel?

else, where I can follow the various updates of your kernel?
[Transformer TF300T Android Development] jgaf:
Here's my result with internal sdcard journaling off. I had to use a different command than yours "tune2fs - O ^has_journal /dev/block/mmcblk0p8" the long one you post didn't do anything not sure why. Anyways this is with latest unt kernel .18 without using data2sd.
[Transformer TF300T Android Development] BrateloSlava:
I do not understand how is that possible ... Last night I decided to install JB Overclock Edition v02. I did not install the kernel from untermensch. Look at I/O... Internal memory.
[Transformer TF300T Android Development] anthraxx90:
why free ram is under 300mb with this kernel?
[Transformer TF300T Android Development] jgaf:
I'm guessing you have journaling off and that rom comes with a custom kernel afaik
[Transformer TF300T Android Development] mikaole:
mhhhh, just saw Clemsyn's kernel for the TF700 and had to try it out:):) And it really boots :), but just gives me reboots after starting system.

As far as I know the TF 700and our Tf300 are not so much different. Would it be possible to get this running on our TF300?
[Transformer TF300T Android Development] kill4l:
hey, just flashed the 10.4.4.18-TF300T on my TF300TG.

all seems to be work :) but it's become a little bit hotter , other than that it's stable so far, 3G is working too, can't understand why :D
[Transformer TF300T Android Development] Nekromantik:
Does this kernel improve battery life on blackbean ROM?
[Transformer TF300T Android Development] untermensch:
finely!! thanks... It works because all the ASUS devices are based on the same hardware, and the ASUS devs merge the

changes for a particular device back into the main source tree, the higher temp is a result of running the hard ware at higher

clock rates.
[Transformer TF300T Android Development] BrateloSlava:
untermensch

I turned off journaling for internal partition, then installed a thorough cleaning JB@Overclock Edition V02.

After installing the new firmware is stored any information on the pre-modified settings? Such as journaling.

And more interested in one thing.

Often there is information that V6 Supercharger Script improves tablet. I understand that in the performance settings are not many options that can be changed.

In the settings you make in your kernel, is it possible to add some of the changes that make this script?

I all the same will be using your core, but want it for maximum performance.

The question is no longer relevant. I tested this script on my tablet. Feels like only became slower and tests have confirmed no increase in performance. I restore data from a backup.
[Transformer TF300T Android Development] dergrafi:
What rom do you use?

Gesendet von meinem Galaxy Nexus mit Tapatalk 2
[Transformer TF300T Android Development] kill4l:
I'm on stock ww 10.4.3.7.0, the latest on on asus website.

Also i want to mention that 3D performance on 10.4.4.18 is a little bit lower than on (3G)(L) ones
[Transformer TF300T Android Development] BrateloSlava:
One day is not fun ...

Yesterday, after experimenting with the V6 Supercharger Script, started spontaneous hang and restart the tablet. Attempts to restore data from a backup have failed to. And failed attempts to install all known ROM.

All attempts wipes have failed. Worked only TWRP. :crying:

An error occurred accessing the folder data/calibration. e2fsck reports more errors on the disk.

I had to format the internal memory and the installation of stock firmware, TWRP, JB@Overclock Edition V02 and kernel 10.4.4.18.

And, given that the same day I got a heavy rain, it can be assumed that the day was not successful. ;)

So be careful with any tuning tools.

Well, I had a backup of all the programs and data that I have stored on an external drive. Therefore, recovery of normal status of the tablet was not a very long time.

PS.

Sorry for a little offtopic.
[Transformer TF300T Android Development] seshaz:
Any chance you're releasing a sweet aosp kernel for the cm10?
[Transformer TF300T Android Development] -angel*:
I think there'll be one for sure, because he now got a way for building it too
[Transformer TF300T Android Development] echohack:
I tried searching but couldn't t find anything. Im on hydro and must i have a partitioned sd card? or can i just keep it all fat32 since i have a 500mb class 2 card :)
[Transformer TF300T Android Development] BrateloSlava:
And what do you want to partition the memory card?
[Transformer TF300T Android Development] Turbii:
+1

Tried flashing latest, but unsuccessful
[Transformer TF300T Android Development] seshaz:
He has to change to explowids ramdisk
[Transformer TF300T Android Development] untermensch:
I'm waiting for the changes to hit the CyanogenMod repo, to add my mods to

the kernel.