yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] _that:
FAT32 MicroSD definitely works. Are you sure you aren't using exFAT?

It's a bug of the stock kernel and/or the NVidia binary drivers. It appears when the display controller cannot access the framebuffer RAM for a few microseconds. No idea how to fix it.
[Asus Transformer TF700] smalis:
Positive. Just formatted that drive yesterday with GParted to install Rom2SD, and used FAT32 on the first partition. I have never used exFAT on anything, and don't know why I might want to.

Running v6, the tab did not even see the MicroSD. It saw the USB, but saw the contents as empty.
[Asus Transformer TF700] gixxer340:
I don't remember ever seeing it in Max's kernel. Is there something about your kernel that makes it show up more often?
[Asus Transformer TF700] _that:
No, it should be similar to the stock kernel. Actually I don't remember seeing it very often - it's definitely there, but not often enough to be really annoying.
[Asus Transformer TF700] berndblb:
On Max's kernel was the only instance where I never saw the black flashing line.But then - it had other issues..

I am on some _that kernel most of the time and the lines are present once in a while - not as prominent as they seemed to be on a purely stock kernel. But then - it's been quite a while I was on stock kernel and you get used to it anyway... Same as _that: It doesn't bother me at all
[Asus Transformer TF700] _that:
New version restores exFAT/NTFS compatibility

I removed Auditing, Security and SELinux from the config since one or more of these options break the proprietary closed-source modules for exFAT and NTFS support. I tested NTFS, it works again now.

Compatibility with Android 4.3+ is currently untested.

Flashable ZIP: View attachment kernel-10.6.1.14.10-that7-oc.zip

Source code patches (ignore if you don't want to compile the kernel): View attachment patches.zip
[Asus Transformer TF700] Ghorin:
I installed thatv7 and mi microsd is working. Thanks
[Asus Transformer TF700] tovarish:
that7 works for me too for extFat cards. Its microsoft's format so naturally its closed source and problematic but then if you want to have 4gb+ files its the best options with support across platforms.
[Asus Transformer TF700] smalis:
Same here, works with my microSD as well as Dock USB and SD card.
[Asus Transformer TF700] woodsonmh:
In really liked v5, but was not that enthusiastic about v6. My card is fat 32 and it functioned fine. Overall quadrant scores were consistently less than v5. I know i know, but it does give me some sort of reference point.

The changes you made in v7 seems to be a lot like v5 and q scores are backup to what were. I'm back to the same feeling i had on v5.

I think I read that all you did is get back compatibility with other formats but it seems to help on fat32 as well.

thanks again

Woody
[Asus Transformer TF700] JoinTheRealms:
[MENTION=4878287]_that[/MENTION] have you seen this? https://github.com/koush/AnyKernel

It pulls the current initrd and replaces it after flashing the kernel, means you can flash your kernel for example on cyanogenmod without having to repack the ramdisk, it shouldn't require much tweaking to get it working with the Asus blob method.
[Asus Transformer TF700] _that:
I don't need to repack ramdisks, I wrote preinit and ROM2SD. :)
[Asus Transformer TF700] Essentrix:
Hi _that mate v4 works brilliantly. That said what would be the advantage of moving to v7? Is it a case of not broken then don't fix? Cheers
[Asus Transformer TF700] _that:
If you are happy with v4 there is no need to upgrade. It's built for stability and very close to stock 10.6.1.14.8, just with some bugs fixed, features added, compatibility with other Transformers, and my preinit support that enables hacks like Data2SD and ROM2SD.

For details about what is included in which version, read the OP and the release posts linked from there. If you want to overclock your CPU and GPU, or see what happens when you boot with ROM2SD, then use v7.
[Asus Transformer TF700] _that:
[MENTION=518363]sbdags[/MENTION] and everyone else who wants to experiment with TCP congestion algorithms: Here is your test kernel. Same as -that7, but with all TCP congestion algorithms enabled in the config. Fresh out of the compiler, so completely untested. :)

View attachment kernel-10.6.1.14.10-that7-tcptest-oc.zip

View attachment patches.zip

Have fun, and report back your findings.
[Asus Transformer TF700] sbdags:
Cheers matey!! Thanks for the swift recompile there man - see there is an inner softness :p Off to test it now ;) :D :D

:good::good:
[Asus Transformer TF700] woodsonmh:
_that

Just installed the the tcp scripts and v7. I don't see any problems so far. What are these supposed to do? What should i be looking for?

Woody
[Asus Transformer TF700] _that:
I have no idea. :) I don't even know which "TCP scripts" you are referring to.
[Asus Transformer TF700] sbdags:
[MENTION=4878287]_that[/MENTION] in your preinit scripts I notice that /system and /sys are RO. Is it possible or recommended to make /sys RW to allow files to be edited? And then set back to RO?
[Asus Transformer TF700] woodsonmh:
Sorry i mislabeled the new zip. Does Tcp test help a little bit. Its the new zip a few post previous.

Woody
[Asus Transformer TF700] _that:
/sys should be already writable, only /system is read only.
[Asus Transformer TF700] sbdags:
Yes just tested something and it is - it was just an error in my script :) Thanks ;)
[Asus Transformer TF700] woodsonmh:
Lets try this again. I've installed this version of that7. My tablet is not having issues that I'm aware of. What should i be looking for while testing? What is the basic idea behind working with these settings?

Woody
[Asus Transformer TF700] sbdags:
You won't see any difference unless you enable a different TCP congestion control. _that's new kernel just allows the value to be changed. Anyway go over to the CROMi-X thread and flash 5.2.2 for me which has this kernel and westwood enabled.

Then you should see slightly improved wifi performance. ;)
[Asus Transformer TF700] LetMeKnow:
You could go here and read post #1884 and #1886 for explanations..

It supposes to help and reduce the collisions during the heavy internet traffic which would improve your wifi buffering and speed..:)

You can add this line in your init.d file to change the congestion control between cubic or westwood..

/system/xbin/sysctl -w net.ipv4.tcp_congestion_control=cubic or

/system/xbin/sysctl -w net.ipv4.tcp_congestion_control=westwood
[Asus Transformer TF700] smalis:
Running 5.2.2 with v7. Seeing 1.3 on balanced and 1.5 on performance. Is that correct, or should they be faster?
[Asus Transformer TF700] _that:
That's the correct default speed for "performance" mode with the OC kernel, yes. To overclock to 1.8 GHz, you have to run /etc/cpu4.sh.
[Asus Transformer TF700] sbdags:
I have changed it in CROMi-X. When you installed you were given the choice of 1.5 - 1.8, 1.3 - 1.8 and 1.3 - 1.5. Depending upon which you chose is now what you have.
[Asus Transformer TF700] calvinb1:
Ah...my bad. I think you did mention this a while bad and I totally forgot.
[Asus Transformer TF700] Blue cat:
Any chance will see OC version?
[Asus Transformer TF700] _that:
Not planned, I expect Hundsbuah will have something when he updates to 4.2.

It may happen (when I fully understand how overclocking works), but don't hold your breath.
[Asus Transformer TF700] new_convert:
Undervolting ...

Do you have any suggestion, as starting point, about changing the voltage? I understand that not all devices are created equally but where should I start undervolting? Does it affect the speed?
[Asus Transformer TF700] _that:
I don't use the undervolting feature. It does not affect the speed (only battery usage); your tablet will crash if you undervolt too much. Try reading Hundsbuah's kernel thread for suggestions, that's where all the tweakers are. :) I added this interface to the stock kernel only because somebody requested it and it does not affect anything unless you use it.
[Asus Transformer TF700] woodsonmh:
Thankyou that2.

I raised my quadrant scores about 500 points. Fsync=0 force gpu ticked and running stock jb launcher not asus hack. I think sbdags said he thought stock was faster, but in my limited testing jb was 100+ higher in all my runs.

Woody
[Asus Transformer TF700] _that:
Try removing that CPU speed overlay and check if if affects your performance. Would be interesting, as some overlays are known to reduce performance.
[Asus Transformer TF700] woodsonmh:
I be glad to if i knew what your talking about.

More info please.

Woody

My bad its cool tool you want to shut off.

In the past, if it did, it was not noticeable on my machine. I will run test.
[Asus Transformer TF700] _that:
I'm talking about that small green box at the top of your screen - I assume it's some kind of "always-on-top" CPU speed monitor, right? If it is, it would be interesting to test if it affects your scores by its presence while running the test.
[Asus Transformer TF700] woodsonmh:
Quadrant scores 4912 4978 without cpu overlay.
[Asus Transformer TF700] _that:
OK, so no measurable speed impact, thanks. By the way, where can one get this thing?
[Asus Transformer TF700] lartomar2002:
Which gov and scheduler are you using? What other settings are you using or have stopped because I am not getting above 4000 and I was doing better with the stock kernel?

BTW, If I wanted to return to the stock kernel do I just flash the rom with the bootloader package or just the bootloader zip?
[Asus Transformer TF700] golfinggino:
will this kernel work on the april 7th CROMi-Xenogenesis 4.2.1 rom ? just want to make sure before flashing, thanks,
[Asus Transformer TF700] buhohitr:
Yes.
[Asus Transformer TF700] new_convert:
I'm getting around 4700 in balanced mode with interactive/row/fsync=off.
[Asus Transformer TF700] buhohitr:
Haha, for now. wait for his new cromi. Take a look at the other thread, he's getting 6100.
[Asus Transformer TF700] woodsonmh:
Its cool tool in play store. I use it mostly to see whats happening when something doesnt feel right. Today i was using to make sure all bs had taken place after reboot so i could run quadrant as quickly as possible.

Woody
[Asus Transformer TF700] golfinggino:
just flashed and it is running great - i run this tablet in performance mode - both cpu governor and under asus customized settings - i like things to be fast - i generally dont do benchmarks as they dont mean much to me but just ran one and i got 6203, even with performance mode i can run this tablet for 3 days between charges with the dock connected - when i first bought it i could not get through 1 day even with the dock !

just trying a 60 mv undervolt across the board to see if that improves the battery even more
[Asus Transformer TF700] woodsonmh:
I may be taking this wrong but if you are degrading the work being done here, you comments are out of line.

It was stated early on in thread that it did not contain the clean part because its not ready.

I can tell you right now that with asus new build and _thats kernel work we have a very smooth rom and early results are it is very stable. _thats kernels are used in clean.

Woody

---------- Post added at 04:54 PM ---------- Previous post was at 04:40 PM ----------

I use the stock or kernel settings.

One thing i do is freeze apps i don't want or need. Almost every thing with asus in the name are frozen. Email clients i don't use are frozen. I normally stop all push notices. I have over 180 apps installed so its what the apps are doing when quadrant is run that's more important than overall number.

Don't run test to soon after boot. 10 min after normal boot is usually fine, new roms can take a lot longer like over an hour. Use cpu monitor to see when cpu is no longer hitting max frequently.

Woody
[Asus Transformer TF700] Mike3.14159:
So how do I actually disable fsync??

Found the folder /sys/class/misc/fsynccontrol/fsync_control, figured I could just edit a file to 'fsync_disabled' but there were no files in the folder so don't know what to actually do to disable it!

Also, all I is that it can increase performance and that there is the risk of corrupting data disabling fsync but does it disable on the extsd also?? Wondering because after upgrading to 4.2 my 32 GB SD card was toast!! Couldn't get the tablet or my computer to recognize or reformat!
[Asus Transformer TF700] smalis:
Yeah, I chose 1.5 - 1.8. Then flashed Hund's 3.4.2 kernel with ET to test, but it still runs my CPU too hot. Flashed _that's v7 kernel from _that's zip file, so it installed at the lower speeds. I had to rename cpu.sh files to get 1.8 oc back.

Should the kernel installer be updated to include v7 and the multiple speed options?
[Asus Transformer TF700] sbdags:
Nearly a month without an update so I thought I'd ask for one :) When is _that v8 seeing the light of day? :p :fingers-crossed:
[Asus Transformer TF700] _that:
I got no reliable feedback on -that7-tcptest. I've seen lucius.zen write in his guide:

This is implausible. I don't believe a single word until someone comes up with a reproducible experiment that shows a significant improvement.

The only feature in -that8 so far is support for USB Mass Storage mode. Note that it requires a PC that understands ext4 and it cannot run at the same time as Android, since a filesystem can only be mounted by one host at the same time.

Is that interesting enough for a new release?
[Asus Transformer TF700] sbdags:
Nope.
[Asus Transformer TF700] bluntman420:
Seeing as how your kernel is so awesome and you are running out of features to add, would you consider the possibility of doing an AOSP kernel? CM11 would be even better with a _that kernel.

Thanks.
[Asus Transformer TF700] _that:
I already tried making a kernel for CM11 (or actually Omni) once (see -that6), but it turned out that enabling SELinux broke compatibility with the proprietary binary kernel modules for NTFS and exFAT used by the stock ROM. I don't like having to maintain multiple branches. Eventually I may switch from the stock ROM to Omni, then my kernel will follow. :)

The funny thing is that this kernel is maybe the least modified of all custom kernels, it's still almost identical to the stock kernel - just with some bug fixes, overclocking and more features, but no experiments with other stuff like CPU hotplugging, governors, etc.
[Asus Transformer TF700] hardslog:
This probably isn't the right way to do it, but I just use 2 defconfigs. One for stock and one for CM/AOSP. NTFS works in Omni 4.4 for the TF300 with the SELinux stuff (that I copied from you). That way there is only one branch to do. After all, the AOSP/CM kernels are still based off of Asus 4.2.
[Asus Transformer TF700] Fivetenfrank:
I am a bit of a noob here so bear with me. When I flashed the Rom I didnt see any prompts asking me to set the cpu speeds. Did I miss something? Otherwise, how do I manually OC? I dont see an installed app like the one that came with the HUND kernal

Much thanks
[Asus Transformer TF700] _that:
AFAIK there are multiple kernel selections with different clock speed ranges in the CROMi-X installer, maybe you missed them. Basically they install different sets of scripts in /etc/cpu?.sh.

Run /etc/cpu4.sh in a root shell.
[Asus Transformer TF700] Fivetenfrank:
I'm a dumb @ss. I'm posting in the TF700 forums. I own a TF300 which is maybe went the installer didn't ask me to set speeds
[Asus Transformer TF700] sbdags:
No you are correct the TF300 doesn't get to have any speeds as the OC kernel offered by _that only allows the max speed on the TF300. The TF700 can be tweaked using the cpux.sh files for power, balanced and performance levels. I could not get the TF300 or TF201 to recognise this as the default clock speeds are lower.
[Asus Transformer TF700] _that:
Currently testing a version 8 that is finally worth looking forward to, thanks to Hundsbuah! :)
[Asus Transformer TF700] LetMeKnow:
Are you also supportting F2FS? I have a little technical problem running F2FS on my data partition atm...:( It would be nice to have some experts to help me out or work on it..:) :good:
[Asus Transformer TF700] _that:
Yes, and of course I am first trying it on an external MicroSD card. Currently running with /data on f2fs and /datai on ext4. And it's even easier than described by Hundsbuah, because there is no need to repack the kernel ramdisk - the preinit script can of course also be used to modify the fstab for the internal ROM. But you have to remove the ext4-specific mount options:

/dev/block/mmcblk1p2	/data	f2fs	noatime,nosuid,nodev,errors=panic	wait,encryptable=footer

(for internal /data, of course use mmcblk0p8 instead)

Let me guess - your recovery doesn't support it?
[Asus Transformer TF700] LetMeKnow:
Haha, you are partly correct...:)

First, I tried to compile the F2FS tool from google so I could try to format my internal data partition. However, it did not work and could not figure out how to patch the TWRP to do it.....:(

Second, I tried to run data2sd with the F2FS but I ran into the bootloop....:( I tried to work on it for a few hours and gave up at the moment until I have my hands on the tablet again...:) I used gparted to format my external sd with the F2FS.... I will try it again in few days...:)
[Asus Transformer TF700] _that:
Time for another release!

New features:

- F2FS (Flash Friendly) filesystem by Samsung; thanks to [MENTION=4931250]Hundsbuah[/MENTION] for finding a patch that applied without any further changes to our kernel, and to Alex Page for providing that patch! :good:

- USB mass storage support! Don't get too excited though - you can't use it while Android is running, and you need a computer that understands ext4 (i.e. Linux).

- Enabled dual filenames on FAT filesystems, that could help compatibility if you write files to an SD card for some other device (there was a recent thread about that)

- I left the TCP congestion algorithms from that7-tcptest in because they cost almost no space. I am still not convinced about their usefulness, but let's give the tweakers some toys. :)

Flashable ZIP: View attachment kernel-10.6.1.14.10-that8-oc.zip

Source code patches (ignore if you don't want to compile the kernel): View attachment patches.zip

F2FS userspace tools and some guides will come next.

f2fs tools, compiled from this source code: http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git commit 4ff7400c519a8f644b8181756939fcb313345c12 (with the -all-static options mentioned in the README): View attachment f2fstools-4ff7400.zip This ZIP contains mkfs.f2fs and fsck.f2fs binaries for ARM. This is NOT a ZIP that is flashable in recovery - simply unzip on your PC and push the files to your device via adb. If you are interested in an f2fs installation and have some basic knowledge about shell commands, let me know (here or in a new thread, not via PM please) and I will guide you.
[Asus Transformer TF700] LetMeKnow:
[MENTION=4878287]_that[/MENTION]

Thanks _that for the confirmation that the F2FS patch is working and I got my tablet up and running with the F2FS..:) I found a bug in the script for the data2sd but I have not recompiled the F2FS tools yet. There was an error during the compilation for the tool and I think that I found a solution for that error in my tool chains.. If it is still not compiling, I may need your helps and your expertise on this topic. Thanks in advance for your time helping novice like me to have a better understanding about Android....:)

Thanks,

LMK
[Asus Transformer TF700] milkk:
I went back to Stock Asus 4.2.x just for the hell of it after all I just about only used this as a photo viewer and alarm clock now but installed that7-oc and wow these this is flying it makes stock so usable. I will update to that8 and use that till Cromi 5.4 comes out and then retire it as a photo viewer alone and maybe occasional browsing by someone in the living room.

Thanks for all the hard work you and all the other devs have put into t his device to make it usable for us.

---------- Post added at 11:56 PM ---------- Previous post was at 11:53 PM ----------

Ohh and that default resolution I got when I installed that7 wow now this table really looks like a 1920x1200 display everything is nice and small :)
[Asus Transformer TF700] _that:
I assume you don't mean one of *my* scripts for data2sd, because otherwise you'd have told me what the bug is. :)

My experience with f2fs on the external microSD so far is good - I tried updating apps in the background, and there was practically no lag at all. Maybe I'm going to switch the internal /data to f2fs, but for that I need a plan how to move my data.

Current ideas:

* I could do the backup easily with my PC via USB Mass Storage. But for restoring to f2fs, I'd need f2fs in my PC kernel.

* I could build TWRP from source with my kernel, but for that I first need a 4.3 tree because of known property incompatibility of 4.4-built recoveries with pre-4.4 zips...

* As an alternative, I'm thinking about a modified preinit script that can optionally run TWRP with my kernel instead of Android. This could also include the USB Mass Storage option. I just need some way to get input from the user, and it should also work for those who have no dock (does anyone know how to read input from the volume keys from a shell script?).
[Asus Transformer TF700] LetMeKnow:
No, I meant my own script. In order for me to learn Android, I am writing my own script for the preinit script and made a mistake....:o I am very sure that your script is good, hahaha....:good:

I noticed the same too...:) I am very sure that it does help the slow I/O..

Thanks for indirectly teaching me and gave me a good idea how to move to the next step.....:laugh: I can not wait to see how you approach this concept with the preinit script.. I am in a process of learning how to take an advantage of the preinit script so I don't have to ramdisk every time that I need to update the cardbu.rc....;)

Thanks again for sharing your knowledge and taking your time to do all the hard works....;)

Cheers,

LMK
[Asus Transformer TF700] _that:
Well, if you know how to use "cp" to copy a file, you're almost there. :)

Oh, even that's already done for you - I just see in my preinit script there is already an "else" branch that does this:

cp /system/boot/rootfs/* /

So if neither ROM2SD nor Data2SD was detected (no microSD, or microSD with only one partition), it tries to copy all files from /system/boot/rootfs to / - all you'd need to do is mkdir /system/boot/rootfs, copy the files you want to modify from / to /system/boot/rootfs, modify the copies (be careful not to modify permissions), and reboot. :)
[Asus Transformer TF700] LetMeKnow:
I know a little bit of cp...:o I will let you know how it goes, thanks..:highfive:
[Asus Transformer TF700] _that:
f2fs corruption

I rebooted today to check some things, and after booting into Android again, I got an unexpected reboot after less than a minute.

last_kmsg showed: kernel BUG at fs/f2fs/f2fs.h:610! and this call stack:

[ 81.611582] [<c02a7efc>] (update_sit_entry+0x270/0x294) from [<c02a8390>] (refresh_sit_entry+0x68/0x6c)
[ 81.611741] [<c02a8390>] (refresh_sit_entry+0x68/0x6c) from [<c02a8f0c>] (do_write_page+0x168/0x44c)
[ 81.611884] [<c02a8f0c>] (do_write_page+0x168/0x44c) from [<c02a9394>] (write_data_page+0x7c/0x88)
[ 81.612023] [<c02a9394>] (write_data_page+0x7c/0x88) from [<c02a30bc>] (do_write_data_page+0xf4/0x1b4)
[ 81.612160] [<c02a30bc>] (do_write_data_page+0xf4/0x1b4) from [<c02a32c8>] (f2fs_write_data_page+0x14c/0x26c)
[ 81.612294] [<c02a32c8>] (f2fs_write_data_page+0x14c/0x26c) from [<c02a2054>] (__f2fs_writepage+0x24/0x4c)
...

OK, so my f2fs is corrupted - no big deal, reboot without sdcard into the working ext4 installation (I love dual boot :)), and run fsck.f2fs:

root@android:/ # fsck.f2fs /dev/block/mmcblk1p2
Info: sector size = 512
Info: total sectors = 52224000 (in 512bytes)

Assertion failed!
[fsck_chk_data_blk: 626] 0
--> SIT bitmap is 0x0. blk_addr[0xd4300]
255|root@android:/ #

Great, a corrupted filesystem, and an fsck that can't fix it. Something is seriously wrong here, I'll look into it in the next days... don't trust f2fs yet. Or maybe my microSD card likes the flash-friendly filesystem less than ext4.