yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] Felborn:
I decided to go with the new V4 kernel instead of OC V5, but now I'm wondering if I made the wrong choice. How much of a difference are you guys noticing with V5, and is it still just as stable?
[Asus Transformer TF700] woodsonmh:
I don't notice the difference between v4 and v5 as to stability. When i get a a score that seems low i like to find out whats happening in the background. I've used Cool Tools for a long time and I am now trying OS Monitor to check background task. Cool tools puts an overlay on screen and OS puts it in notification. Neither seem to make a big difference on scores.

I was unstable on 5.0.1 and I did a backup and formated data drive and just reinstalled the backup. It stabilized my tablet a lot.

Also i just noticed that quadrant is not releasing from memory. After I back out of app it continues to use cpu time. I have to kill it to stop it from running. Don't know what its doing. Any body have an idea why its not releasing.

My settings are basically the same as yours. I don't get as high a quadrant score as you do. mine are around 6500. Past average score on _thats was around 6000. Not counting hunds ive been on 6000 for many months.

woody
[Asus Transformer TF700] _that:
I don't think you need the kexec binary in the ramdisk - you just use it to boot another kernel. For that, you need some kind of interface anyway, so you'll have some partition mounted where you can also keep kexec.

Thanks for your offer. Since I decided to avoid any business with PayPal, I don't accept donations. If you still want to spend money, find a charity you'd like to support and donate to them.

Most likely, this is the effect of the built-in heat limiter. Unfortunately the cooling of the SoC is not too great and it heats up fast under load. To avoid damage, the clock speed is reduced at high temperatures.
[Asus Transformer TF700] Felborn:
I just flashed the That5 OC kernel, but do I need to add the patches in the patches.zip files, and if so, how do I add them?
[Asus Transformer TF700] _that:
Read this: http://en.wikipedia.org/wiki/Source_code

(short answer: no) :)
[Asus Transformer TF700] woodsonmh:
Ive gotten 6900 quadrant and almost 18000 on an tu tu , running that5, us, fsync off.

My an tu tu scores have been around 13500 for almost a year. If 5 continues to be stable then its one of biggest improvements ever to infinity. Hunds is amazing but not stable on my tablet, and had overheating issues which i have not detected on that5.

Thank you for the kernel and your active involvement in cromi development and xda thread.

Woody
[Asus Transformer TF700] stalls:
Is this compatible with 4.3?
[Asus Transformer TF700] Pretoriano80:
No this kernel is only for stock based roms, it will not work on CM 10.2 (currently there's no custom kernel for CM10.2).
[Asus Transformer TF700] RagingHarry:
Just installed the that's v5 OC 1518 on my TF300TG via the CromiX 5 kernel installer.

The 1.8 OC is working as it should in performance mode, connecting to 3G/H+ works like a charm.

On balanced mode it will only use the 1.3Ghz as max cpu speed instead of the 1.5Ghz (as I guess it should be since it's name).

[MENTION=4878287]_that[/MENTION] is there any I could do, change or test to make the cpu speeds go to 1.5Ghz in balanced mode for the TF300T(G)?
[Asus Transformer TF700] _that:
I don't know what exactly sbdags modified in the cpu?.sh scripts - check the contents of /system/etc/cpu3.sh, I think this is the one that sets performance mode. It should set system_mode to 0.
[Asus Transformer TF700] RagingHarry:
Just to be sure, cpu2.sh is balanced mode, and cpu3 is performance mode if I'm right.

And Balanced should be the 1.5Ghz, or it is on the tf700.
[Asus Transformer TF700] sbdags:
Balanced mode is 1.5GHz on the TF700 and 1.3GHz on the TF300 as I understand it.....
[Asus Transformer TF700] JoinTheRealms:
Yip just checked mine, 1.3ghz on performance mode:rolleyes:. 1.3ghz and performance shouldnt be in the same sentence... the poor people without a custom kernel lol
[Asus Transformer TF700] _that:
Yes - there are even comments inside the scripts.

Stock TF700T kernel with stock cpu.sh scripts:

cpu1.sh is powersave mode - 1000 MHz - system_mode 2

cpu2.sh is balanced mode -1300 MHz - system_mode 1

cpu3.sh is performance ("normal") mode - 1600/1700 MHz - system_mode 0

cpu4.sh is unimplemented ("1p5g" mode) - system_mode 3

cpu5.sh is unimplemented ("1p6g" mode) - system_mode 4

overclocked TF700T with stock cpu.sh scripts:

cpu1.sh is powersave mode - 1000 MHz - system_mode 2

cpu2.sh is balanced mode -1300 MHz - system_mode 1

cpu3.sh is performance ("normal") mode - 1500 MHz - system_mode 0

cpu4.sh is overclocked ("1p5g") mode - 1800 MHz - system_mode 3

cpu5.sh is unimplemented ("1p6g" mode) - system_mode 4
[Asus Transformer TF700] RagingHarry:
Aaah thnx, that clarify's some of the stuff that was edited by sbdags, and i couldn't find the logic of the modes in it.

cpux.sh 1-2-3-4-5 = mode corresponding 2-0-3-3-4

Sorry don't have a tf700 and couldn't find a way that fast to extract them from your original kernel...
[Asus Transformer TF700] bluntman420:
Thank you so much for bringing overclocking back. Hunds kernel was good but lots of weird issues. I reverted to your last kernel because of stability and performance. Is there any way you could incorporate the mounting directories fix into your kernel? I use a nfs network in my home and am unable to mount directories in the latest android versions due to the changes (IE. we can only view the contents of mounted directories when we use the original program that mounted it). THANKS!

EDIT - I must have totally missed it but according to the first page you have incorporated a nfs client. How would I go about accessing my nfs shares?
[Asus Transformer TF700] _that:
It's already included since version 4, read the OP. :)

This works for me:

busybox mount -t nfs -o nfsvers=3,nolock myserver:/my/shared/path /mnt/mymountpoint
[Asus Transformer TF700] fiidim:
Revert pre-init Scripts

Is there a way to revert the changes made by installing the pre-init scripts?

If I no longer want to use data2sd, anddon't want to re-format my SD card, will it continue to mount /data to the external sdcard? (seems so..) Doesn't seem like a factory reset resets this either.

I know I can pop out my SD card everytime I boot, but that seems kind of bothersome. I'm sure there must be an easy way.

Thanks,
[Asus Transformer TF700] _that:
Sure, just delete the files in /system/boot.
[Asus Transformer TF700] fiidim:
I did a format /system from TWRP. Shouldn't that get rid of them? On my next boot I could swear it was still using the external. Any other places that might still have remnants?
[Asus Transformer TF700] _that:
Maybe you reinstalled them.

No, the kernel's init looks only in /system/boot.
[Asus Transformer TF700] primaleph:
This may be a silly question, and apologies if it's been answered already, but is there a reason why your kernel is still .14.8 based? I assume Asus has done bug fixes in newer kernel versions, and I'd like to see those incorporated into your kernel if that's possible...
[Asus Transformer TF700] _that:
The only change in .10 is that Motochopper doesn't longer work. Do you need this fix? :)
[Asus Transformer TF700] primaleph:
Actually I meant the .27 version, which I now know had only been officially released for the TF300.
[Asus Transformer TF700] _that:
Right, that's the reason. My kernel is for the TF700 and thus based on the official source code for the TF700. But if you know of any specific changes in .27 that may be beneficial to us, I'll merge them.

"Higher version" alone does not count. ;)
[Asus Transformer TF700] primaleph:
I know... I had hoped that our might solve my problem with games crashing after a long sleep in the dock, but it didn't. I've had the big with your kernel, hunds, and now stock. I'm starting to wonder if it might be Nova Launcher...
[Asus Transformer TF700] primaleph:
A logcat for you, sir. It includes a game crash and also several browser crashes (stock and Dolphin). Rebooting instantly solved them both, but if I let it sleep for another few hours in the dock I have no doubt the issue will return. Here's hoping you can help me narrow down what's causing it. And thanks. :)
[Asus Transformer TF700] sbdags:
Wow you have some serious issues in that logcat. I don't know yet what is causing it but you have multiple srvices failing/dying and it looks like a mess.

Out of interest have you done a clean install on a formatted data partion? Or is this after dirty flashing the ROM or upgrading with a normal wipe? Not saying you should just yet - I'm no logcat expert but I can see this needs more analysis.
[Asus Transformer TF700] primaleph:
I'm willing to clean install again, but the last time I did, it didn't fix this issue. Should I maybe clean install and then only install the apps I really use? I have 300 some apps installed total, but I doubt I use more than 50 of them.
[Asus Transformer TF700] sbdags:
Let _that have a look first, but if / when you do clean install try formatting data as part of the process in TWRP. Warning you will lose everything on your sd card so back up your pictures, music, videos, books etc if you want to keep them.
[Asus Transformer TF700] _that:
That would be a good idea. The logcat contains some strange entries about restarting crashed services, but I don't see why they crash. At least it seems not to be kernel related. :) Lots of issues with Google services though...

I think formatting /data is not required, there is no indication of filesystem corruption or that any files in /sdcard are causing problems.
[Asus Transformer TF700] BxMxK:
If you really have 250 apps that you don't use then I would definitely start removing them in batches and see if your problem abates rather than just taking the high road and doing a clean install. This might at least afford you the opportunity to find the potentially offending app so that you can avoid installing it in the future or use xPrivacy on the xposed framework to attempt to curb some of its behavior. Something is definitely amiss on device because that logcat looks like a soup sandwich.
[Asus Transformer TF700] flyhighx:
_that, I'm interested in encrypting some of my files and wish to sync with some of my TrueCrypt files on my PC. https://play.google.com/store/apps/details?id=com.sovworks.edslite is an app that enables TrueCrypt encryption but for the volume to be mounted, the developer states:

"Mounted mode provides "on the fly" encrytpion: you can work directly with your encrypted files in any application. But mounted mode works only on rooted device. Also the kernel must have fuse support or the appropriate eds kernel module. Mounted mode supports the following file systems: FAT, EXT4, EXT3, EXT2, NTFS (with fuse)."

Is fuse or eds supported in the kernel? If not, could it be easily implimented? He gives instructions here:http://www.sovworks.com/details.html#compileModule However, he lost me at "you need a linux system":p

any thoughts? thanks.
[Asus Transformer TF700] _that:
Yes, you can look into /proc/filesystems and see that fuse is supported - it should be supported in all (most?) Android kernels since Android itself is using it for the internal sdcard emulation.
[Asus Transformer TF700] primaleph:
Well, I've reformatted all the internal storage and reinstalled only the apps I use. Initially it was working great, but the same old problem has returned - after it's been sleeping in the dock for a few hours, I get game and browser crashes. Should I post a new logcat for comparison? Or two, one before sleeping and another after?
[Asus Transformer TF700] _that:
Posting logcats is good, but please take it to the ROM thread open a new thread in Q&A - this looks like some issue with the ROM or the apps you installed, not with the kernel. Also indicate which options you used for the ROM installation and which apps are installed ("pm list packages" produces a full list).
[Asus Transformer TF700] sbdags:
I doubt it is an issue with the ROM as no one else has this issue. Plus he said it happens on other ROMs. It'll either be a rogue app or the way he is restoring his apps. I'd rather he start his own thread in q&a than clutter up my thread as well.
[Asus Transformer TF700] primaleph:
I never said it happened on other ROMs. I had never even tried another ROM until I started having this issue. And now that I have tried PACman, I can tell you that the problem I had with CROMI-X installed is entirely absent from it. There are also some new problems, most especially that the tablet seems not to charge from the dock anymore, but there's no more crashing or lag after waking from sleep in the dock. I'm willing to switch back to CROMI-X to help you figure out what's causing this, if you want.
[Asus Transformer TF700] buhohitr:
I suggest you do a full wipe then fresh install cromix with sdbags stock kernel, bootup let it run for 1/2hrs then boot into recovery and take a nandroid backup of the system(this will save you time every time you need to roll back to a clean install). Now verify that the issue resolved before you start to install apps.
[Asus Transformer TF700] _that:
Uptime: 566 hours. This kernel appears to be really stable. :)
[Asus Transformer TF700] BxMxK:
Agreed. My first reboot on since this versions release was three days ago and that was due to forgetting to put it on the charger after a long day at work.
[Asus Transformer TF700] fantabrothe:
Hi mates, i'm using thats v5 kernel included in latest cromi release on my tf300t...everything works very well, allowing me to squeeze cpu until max 1800mhz (not necessary in daily use for me, but very happy to have this potential!).

Using trickster mod i cant regulate gpu freq. which is fixed to 200mhz (dont know is trickster is reporting a correct value), is there a easy way to modify it? i'd like to usue it in 400-500mhz range.

Last, since i'm using data2sd option, what's the proper i/o governor to reduce lags and make my 32gb class 10 sd work faster? now i'm using row scheduler with 4096 readahead...
[Asus Transformer TF700] _that:
GPU clock will scale automatically with load. No user action required. :)

ROW should work well. You can try cfq or noop and see which is faster for you.
[Asus Transformer TF700] _that:
1094 hours ... time to stop uptime hunting, I think. It's getting boring. :)

Currently I'm experimenting with the framebuffer console again. Based on an idea by [MENTION=5363490]moreD_cn[/MENTION] I got it working, but it shows two images side by side...

EDIT: solved the side-by-side display issue, again by reading more and extracting the relevant detail from moreD_cn's work.
[Asus Transformer TF700] workdowg:
I want some! I will patiently wait for your complete findings though....
[Asus Transformer TF700] -Thrive-:
Really great work on this kernel. Super fast and stable. Thanks _that !!!
[Asus Transformer TF700] Lox_Dev:
Hello,

I don't want to use a custom kernel but would link to port the data2sd to another kernel (latest stock). I get a weird result when trying to extract the kernel ramdisk (whereas it works well with other TF700 kernel)

# extract-ramdisk.pl blob
substr outside of string at /home/user/bin/android-bin/extract-ramdisk.pl line 30.
Use of uninitialized value $ram1 in substr at /home/user/bin/android-bin/extract-ramdisk.pl line 35.
Use of uninitialized value $ram1 in substr at /home/user/bin/android-bin/extract-ramdisk.pl line 40.
The boot image does not appear to contain a valid gzip or lz4 file at /home/user/bin/android-bin/extract-ramdisk.pl line 46.

Can you tell me how I can extract it please? Or the best would be a post with the modification to apply to the ramdisk to implement Data2SD

Thanks.
[Asus Transformer TF700] JoinTheRealms:
That script cant unpack a .blob, rather a boot.img. To extract the blob you need blobtools then run that scipt on the resulting boot.LNX(boot.img) or do it manually

I extract using:

~/Blobtools/blobunpack blob

abootimg -x blob.LNX

mkdir initrd && cd initrd

lzma -dcS .img ../initrd.img | cpio -i || gunzip -dcS .img ../initrd.img | cpio -i (This will extract regardless of the compression type)

You can find blobtools on github.
[Asus Transformer TF700] _that:
New version

New features:

- Return of the penguins (framebuffer console), thanks to [MENTION=5363490]moreD_cn[/MENTION] for finding the root of the problem (see patches 0022 and 0024 in patches.zip for my minimal solution :))

- Rebased on current Asus 10.6.1.14.10 kernel, fixing the Motochopper security hole. You have a custom recovery anyway. :)

- Enabled SELinux and SysV IPC for compatibility with Android 4.3+ and native Linux distributions.

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

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

Note: For booting CyanogenMod and other non-stock ROMs with this kernel you still need a compatible ramdisk that needs to be added by a preinit script in /system/boot. See my dual boot thread (http://xdaforums.com/showthread.php?t=2501129) for more details about this. Support for non-stock ROMs is experimental - there will be at least minor incompatibility issues, e.g. with the dock keyboard.
[Asus Transformer TF700] sbdags:
:good::good::good:
[Asus Transformer TF700] woodsonmh:
Working with 6. Everything is smooth and I'm not seeing any problems. However my quadrant scores are running about 200 under v5. Just wondering if you have any idea why. I'm not a score freak and really only use them as reference.

By the way, on my tablet, your kernels are by far the best.

Thanks

Woody
[Asus Transformer TF700] _that:
No idea why. But I easily get 200 points difference just when running the test multiple times - did you try to repeat the test?
[Asus Transformer TF700] woodsonmh:
Yes and i did multiple test. However something was wrong with my tablet and i don't know what caused it. I was running 5.1.2. I installed your v6 yesterday. Today i got a wipe out of internal storage. No reboot just gone. Like i did a format drive. ?? Fortunately everything's on external drive.

I'm back on 5.1.1 so ill give it another run.

Woody

Hope it wasnt v6. Fsync was on 1.

When i install from cromi there is three options for settings. I always choose the top highest setting. I have been wondering when installing v6 im gettjng the same settings.
[Asus Transformer TF700] JoinTheRealms:
Im attemping to run kexecboot using your preinit, ive basically extracted my initrd into /system/boot and made everything excutable.

im getting:

preinit: starting /system/boot/init

preinit: execve /system/boot/init failed: rc=1 errno=2, resuming default boot.

Do you know what could be causing this?
[Asus Transformer TF700] _that:
errno 2 is ENOENT, which means file not found. Is your init a script?
[Asus Transformer TF700] JoinTheRealms:
Yip, im guessing it shouldnt be :(
[Asus Transformer TF700] _that:
It can be a script, but then you must fix the path to the interpreter if you run it from a different path than it was designed for. :)
[Asus Transformer TF700] JoinTheRealms:
:silly: of course, i didn't even think, rabits used busybox sh as the interpreter, i just modified/ ruined the busybox binary about 10 seconds be for trying pre-init. Thanks _that

Slightly off topic, im trying to get hardware decoded video working under linux (it never has under linux) After trying basically everything possible in the user space i think its got something to do with the kernel, or interaction between tegra drivers and our kernel.

I found this on the ac100 wiki http://ac100.grandou.net/hw_accelerated_video_playback

I had a look in the .config and we had:

# CONFIG_TEGRA_AVP_KERNEL_ON_SMMU is not set
CONFIG_TEGRA_NVAVP=y

I changed it too:

CONFIG_TEGRA_AVP_KERNEL_ON_SMMU=y
# CONFIG_TEGRA_NVAVP is not set

But it made no difference, could it have anything to do with our SMMU to their MMU? (ac100 is a tegra 2 soc)
[Asus Transformer TF700] tovarish:
that6 couldnt read my 64g exfat formatted card but that4 could read it so i am back on that4.
[Asus Transformer TF700] workdowg:
Did you compile _that6 with kexec hardboot support? JoinTheRealms said all he did was unpack _that5 for us. I unpacked _that6 (and got the zimage and initrd.img and put them in my /data/boot folder) all I got was a boot loop...
[Asus Transformer TF700] _that:
Yes, the kexec-hardboot patch is still included. Maybe some conflict with SELinux? Can you grab relevant logs?
[Asus Transformer TF700] workdowg:
Yes, when I get around to trying it again. Probably tomorrow. I just Flashed 5.2 _that6 to test for tonight.

BTW... Sorry you have to keep asking us for dmesg, kmesg, and logcats... :)

From my LG-G2.
[Asus Transformer TF700] sbdags:
My SD card works fine as Fat32 but others are reporting theirs aren't on thatv6. Have asked them to post here. Suspect it'll be extFat but might also be NTFS.
[Asus Transformer TF700] Ghorin:
I confirm : my microSD card formatted in exFat (or NTFS but not fat32) is not working with that v6. I flashed back that v4 and it's working fine (before flashing cromi-x 5.2a, i was using that v5 and it was working fine).

More detail : the microSD card is not mounted at all
[Asus Transformer TF700] workdowg:
Must have had a typo while unpacking _that6 blob... I unpacked it again and now it works... Go figure it was human error... Thanks!
[Asus Transformer TF700] ChefChaudart:
Mine is not working either (extFAT)
[Asus Transformer TF700] _that:
Anyone whose exFAT isn't working on -that6: please reboot your tablet (to reset the kernel log), then try accessing your SD card, then post the output of the "dmesg" (e.g. "adb shell dmesg > dmesg.txt").

Posting a logcat can't hurt either. ;)
[Asus Transformer TF700] sbdags:
Just pinging them so they see this ;)

[MENTION=638677]ChefChaudart[/MENTION] [MENTION=4783418]Ghorin[/MENTION] [MENTION=362614]tovarish[/MENTION]
[Asus Transformer TF700] Ghorin:
Ok

---------- Post added at 09:21 PM ---------- Previous post was at 09:20 PM ----------

Ok i'll flash back that v6 (i'm now on v4) and i'll do what you ask.
[Asus Transformer TF700] Ghorin:
Sorry but ADB is not installed on my computer, I though it would be easy and fast to do that but now it's nearly midnight, too late to spend 1 hour reading howto and installing and resolve issues and use it for thatv6 microSD card issue. I'll try tomorrow if i can. Sorry again :(
[Asus Transformer TF700] Ghorin:
I have done what you requested to analyse the microSD card issue with the kernal thatv6. My dmesg and logcat are attached here.
[Asus Transformer TF700] JoinTheRealms:
This looks like the important stuff in the logcat

E/Vold ( 129): storage /dev/block/vold/179:49 failed to mount via VFAT (Invalid argument)

E/Vold ( 129): Volume microsd found no suitable devices for mounting :(

D/Vold ( 129): Volume microsd state changing 3 (Checking) -> 1 (Idle-Unmounted)

W/Vold ( 129): Returning OperationFailed - no handler for errno 22

E/MountService( 562): Boot-time mount failed (-1)
[Asus Transformer TF700] Ghorin:
Yep that sounds related. I have tested my microSD card on my computer and it's formatted in exFat/
[Asus Transformer TF700] Hundsbuah:
i had the same problem on my kernel too. this happens if you activate some kernel configs that needs to recompile also the modules. for some modules (nfts i.e) we dont have the source code, so these modules will not longer work correctly. maybe its caused at v6 by SELinux or SysV IPC. my tip is sysv ipc :)

when exfat and ntfs stopped working at my kernel, it was caused when changing the kernel config from RCU to JRCU. so i disabled JRCU and switched back to RCU.
[Asus Transformer TF700] smalis:
Same issue here, v6 would not see my FAT32 MicroSD and also would not see my USB drive (I think FAT32, but I will check) in the dock - although it did see my regular size SD card in the dock.

I am back to v5, which is fine.

Will attempt to capture dmesg and logcat tonight.
[Asus Transformer TF700] gixxer340:
Does anyone know how to stop the black line that appears randomly across the screen using this kernel? I did some searching on the web but there didn't seem to be a definitive answer. If I can provide any more specific information just let me know.

Thanks

Jeff