yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] rprussell:
I have a question about Data2SD, and I'm putting it in the kernel thread because I'm sure if I put it in the data2SD thread they'd just ask which kernel I had installed.

And it's this one - with CROMI-X 4.6.7.

After formatting my 32gb sandisk microsd with a 32MB fat32 partition and the remainder as EXT4 (using Parted Magic bootable iso), and flashing this kewl ROM, I look with ES File Explorer and see - with brief descriptions of their content:

/data - EMPTY

/datai - EMPTY

/sdcard - contents of INTERNAL memory (I know because I just TWRP/ADB'ed your ROM there to flash.)

/storage/emulated/0 - also INTERNAL memory

/storage/emulated/legacy - ALSO INTERNAL MEMORY

/storage/sdcard0 - ALSO ALSO INTERNAL MEMORY

/storage/sdcard1 - EMPTY

/Removable/MicroSD - LOST.DIR, shows up in settings as 32MB, presumably the microSD's first partition

/Removable/SD - Dock SD card, as expected.

In short, my microSD 2nd partition seems to have simply VANISHED.

And yet Androbench shows:

Sequential Read: 13.32mb/s

Sequential Write: 134.84 mb/s

Random Read: 3.86 mb/s

Random Write: 201.22 mb/s

And the Data2SD thread says if the random write exceeds 0.4mb/s, it's working.

Is there anyplace I can look to find a log of what actually mounted where during boot?

What I don't understand is how I can be downloading and installing things - presumably to /data - and have that folder be so persistently empty. I can run the apps, even. They're clearly installed.

I don' git it.

[edit]

I shut down the tablet, put the microsd into another linux machine, and the files were there!!

WTF??
[Asus Transformer TF700] lartomar2002:
When I read this it reminded me of a problem I am having and I do not know if it is related to the kernel or rom. When I set wifi to always stop when in sleep. After I bring it out of sleep the wifi can not reconnect to my network until I reboot?
[Asus Transformer TF700] rprussell:
ok, got hold of a terminal and here's something interesting, although I don't know if it's relevant.

/data and /datai are both owned by system, not root. (same with group)

/storage/sdcard0 links to /storage/emulated/legacy

/storage/sdcard1 links to nothing, and is not mounted with anything.

/dev/fuse is mounted at both /storage/emulated/legacy and /storage/emulated/0 - I thought legacy was the internal storage, and 0 was the new one.

Also: If I su root in the terminal, I can change to the data folder (and datai) and see the data in them even though it's invisible in the file explorers.

So, I guess I know why it's all knackered - or at least the format in which it is.

But this part still remains:
[Asus Transformer TF700] primaleph:
Good news: when loaded it with insmod, nothing exploded.

Bad news: not sure how to mount the drive after plugging it in. It doesn't auto-mount with HFS+ (although this works fine for NTFS).

Thoughts?
[Asus Transformer TF700] _that:
Try something like:

busybox mount -t hfsplus /dev/block/sda1 /whatever
[Asus Transformer TF700] _that:
That's normal in Android - normal users cannot access /data. With data2sd this applies also to /datai.
[Asus Transformer TF700] NeoCream:
Can I somehow enable dynamic fsync on this kernel? Through TricksterMOD I only got the option to enable and disable fsync.

Or is there no real use for dynamic fsync?
[Asus Transformer TF700] sbdags:
No its not dynamic
[Asus Transformer TF700] rprussell:
Ohhh.... Yes, I admit I never looked for it before.

Wait, so this is a perception thing maybe.

Here's my PERCEPTION.

1. There was 32gb of room "on the tablet" - data, sdcard, etc.

2. I added 32gb microsd for more kewl stuff.

Now there is:

1. 32gb internal mem in /sdcard (and /datai?)

2. microsd is gone for me.

Net loss: 32gb.

HOWEVER.

The 32gb internal mem was being shared, perhaps? Between the original /data and /sdcard ?

So whatever I'm not going to use from /datai will be available in /sdcard? Can I rm -r /datai to get back the whole shebang?

I think this is now a topic for the data2sd thread, but I appreciate the help.
[Asus Transformer TF700] woodsonmh:
Started using tab this morning and started getting very slow app loads. Seemed slow in general. Reloaded _thats2. Did a dalvik and cache clean and rebooted. Seem to be working normally now.

Woody
[Asus Transformer TF700] sbdags:
Just had my first spontaneous reboot on my device ever. It was just sleeping and rebooted for no apparent reason. Last_kmsg is attached. I can't understand what caused the reboot.

Something else I have noticed - your lib/modules are significantly different to the ones included by Asus in 10.6.1.14.8 - are you still using older ones or are they specific for your kernel?

I'm going to try using the stock Asus modules to see if it helps.

Also you are missing a few more init.rc.xx files in the ramdisk. The new ME301T Memo Pad uses the 0b code. I've included the missing ones in the zip file below. :)

Edit actually I have loads more questions for you :D

Your init.rc.05 (TF300TG) appears to be different as well.

In the fstab.cardhu file you use the following:

# We remount because we first mount as rw in order to generate NVSI symlink. See init.rc for details.
/dev/block/mmcblk0p1	/system	ext4	noatime,noauto_da_alloc,ro	wait
/dev/block/mmcblk0p2	/cache	ext4	noatime,noauto_da_alloc,nosuid,nodev,nomblk_io_submit,errors=panic	wait
/dev/block/mmcblk0p8	/data	ext4	noatime,noauto_da_alloc,nosuid,nodev,nomblk_io_submit,errors=panic	wait,encryptable=footer

But the one I have been using before is:

# We remount because we first mount as rw in order to generate NVSI symlink. See init.rc for details.
/dev/block/mmcblk0p1	/system	ext4	noatime,noauto_da_alloc,nodiratime,nobh,ro	wait
/dev/block/mmcblk0p2	/cache	ext4	noatime,noauto_da_alloc,nosuid,nodev,nodiratime,nobh,errors=panic	wait
/dev/block/mmcblk0p8	/data	ext4	noatime,noauto_da_alloc,nosuid,nodev,nodiratime,nobh,errors=panic	wait,encryptable=footer

Any reason why you drop the nodiratime parameter? nodiratime - Do not update directory inode access times on the filesystem. Can help performance.
[Asus Transformer TF700] _that:
/sdcard is actually a symlink to something like /storage/emulated, which is a FUSE mount that uses /data/media as actual storage. So yes, /data and /sdcard use the same partition. With Data2SD (-intmedia), /sdcard uses /datai/media, which is still your internal memory - just /data is now on the microSD card.

You could repartition your card - grow the FAT32 partition and shrink the ext4 partition - this will reduce your space for /data (apps and app data).

If you really delete everything in /datai, that will also kill all data in /sdcard. What you can do is delete /datai/app and /datai/data, however you will lose the apps and data in the "second environment" on the internal storage that you can access when booting without microSD card. I personally find it nice to have a "live" backup system that I can use directly.
[Asus Transformer TF700] _that:
I can't believe you never had unexpected reboots before - I get them every few weeks. Maybe you never used your tablet long enough between flashing new versions of your ROM. ;) Since your last_kmsg doesn't contain any hints about the reboot, we can't investigate further.

The existence of heavily modified kernels with incompatible modules convinced me to package the correct modules with my kernel - those that are compiled from the same source, with the same config, at the same time. Since my kernel is very close to the stock kernel (and that is fully intentional), stock modules should still be fully compatible.

Details about the modules: exportfs.ko and nfsd.ko are for the NFS server - still totally untested. The other 4 (bcm* and cfg80211) should still be the same as in the stock kernel, just recompiled. Ah, and I removed tcrypt.ko because that's a test module which I am 99.9% sure is totally unused - it's never loaded and I couldn't find any reference to it in any file in the ROM.

My init.05.rc is from the 10.4.4.25 kernel and identical to yours. What exactly appears to be different? :)

Also, the kernel source says 05 is the TF300TL, can that be right? And have you seen TF500T, ME301TL and ME570T?

enum tegra3_project {
TEGRA3_PROJECT_INVALID = -1,
TEGRA3_PROJECT_TF201 = 0,
TEGRA3_PROJECT_P1801 = 1,
TEGRA3_PROJECT_TF300T = 2,
TEGRA3_PROJECT_TF300TG = 3,
TEGRA3_PROJECT_TF700T = 4,
TEGRA3_PROJECT_TF300TL = 5,
TEGRA3_PROJECT_EXTENSION = 6,
TEGRA3_PROJECT_TF500T = 7,
TEGRA3_PROJECT_ME301T = 11,
TEGRA3_PROJECT_ME301TL = 12,
TEGRA3_PROJECT_ME570T = 13,
TEGRA3_PROJECT_MAX = 14,
};

It's redundant because it's implied by noatime, see http://lwn.net/Articles/245002/
[Asus Transformer TF700] sbdags:
OK that's good to know. I must have copied the wrong init.rc.05 file as the one in the 10.6.2.3 source is quite different to yours. I'll post the differences tomorrow.

Yes TF300TL exists (lte version = L) and CROMi-X works on it. I don't know about the others but no harm including them.

If you look at the modules Asus includes in the 10.6.1.14.8 firmware they are different to yours. I wonder why? The ones that are standard - of course the 2 new ones are different. :)

As for reboots. Mine has never done it as far as I'm aware. It's been extremely stable. It hasn't rebooted since which is good. Will have to observe it more now.
[Asus Transformer TF700] woodsonmh:
Since turning of auto update from play I've had no reboots . My theory is i would start tapping in order to get tab working. I didn't realize tab was doing something else, tap tap tap ...... I think play grabs too much cpu time and or priority, and problems arise when multitasking.

I realize this does not address sbdags problem. But between the two of you I'm running a very stable tablet with no reboots. I've dirty flashed for a long time as well. Sometimes i just don't understand the problems others are having.

Thanks

Woody
[Asus Transformer TF700] _that:
It can be slow sometimes, but if it crashes and reboots, it's always a kernel bug or a hardware issue.
[Asus Transformer TF700] woodsonmh:
I dont know what kernal or rom version i was on. With my great note taking (not) I'm not even sure of the date. I know i was very impressed with your kernel and stock 4.2., and i think thats about when i started using your kernal for the most part.

I've been on clean from the beginning and cromi is the rom i use.

I'm very impressed with your and sbdags communications.

My reason for posting is to let you know that i dont have a reboot problem with this combination.

thanks

Woody
[Asus Transformer TF700] sbdags:
The following lines are additional in the latest init.05.rc file

on property:sys.usb.config=rndis,gser
write /sys/class/android_usb/android0/f_gser/gser_instances 2
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 0B05
write /sys/class/android_usb/android0/idProduct 4C83
write /sys/class/android_usb/android0/functions ${sys.usb.config}
write /sys/class/android_usb/android0/bDeviceClass 239
write /sys/class/android_usb/android0/bDeviceSubClass 2
write /sys/class/android_usb/android0/bDeviceProtocol 1
write /sys/class/android_usb/android0/enable 1
setprop sys.usb.state ${sys.usb.config}

on property:sys.usb.config=rndis,gser,adb
write /sys/class/android_usb/android0/f_gser/gser_instances 2
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 0B05
write /sys/class/android_usb/android0/idProduct 4C83
write /sys/class/android_usb/android0/functions ${sys.usb.config}
write /sys/class/android_usb/android0/bDeviceClass 239
write /sys/class/android_usb/android0/bDeviceSubClass 2
write /sys/class/android_usb/android0/bDeviceProtocol 1
write /sys/class/android_usb/android0/enable 1
start adbd
setprop sys.usb.state ${sys.usb.config}

and

class core
disabled

# modem bridge with rndis
service modem_bridged3 /system/bin/modem_bridge /dev/ttyGS1 /dev/ttyUSB3

I've attached the correct one this time ;)
[Asus Transformer TF700] sbdags:
That do you understand how to apply the dalvik zygote patch explained below. I don't have enough understanding to see how to do it but it looks like it fixes the cifs issues on 4.2.

http://xdaforums.com/showthread.php?p=36889027
[Asus Transformer TF700] primaleph:
From the description, it looks like it might make the Paragon HFS app work again too, which would make me personally very happy...
[Asus Transformer TF700] _that:
Is this from a stock TF300TL kernel?

There are no CIFS issues on 4.2, just general mount issues. CIFS works fine. :)

If you want to apply that patch to zygote, you need to compile it from the source code. I don't know which Asus changes you would undo by that (but you could compare the resulting smali code :)). The path of less resistance is to apply the alternative kernel hack instead, which I will do in the next version due to popular demand.
[Asus Transformer TF700] sbdags:
Yes it's the empty mount points I'm talking about due to 4.2 not allowing other apps to see the mnt points. Cifs as you say works fine if you mount over adb.

Yes the init.05.rc is from the latest TF300TG firmware which doubles up as the TF300TL firmware as well. It contains 03 and 05 specific permissions and power profiles as well which I include in my ROM.
[Asus Transformer TF700] _that:
OK, it's time for another kernel build, here's -that4 for testing:

New zImage features vs. -that3:

- more correct version number (thanks sbdags) :)

- mount space hack from http://xdaforums.com/showthread.php?p=36889027 allows mounting across Android processes again

- some more sysfs crash fixes

New ramdisk features:

- updated init.05.rc (thanks sbdags again)

Flashable ZIP: View attachment kernel-10.6.1.14.8-that4.zip

Sources patches against ASUS 10.6.1.14.8: View attachment patches-that4.zip

The kernel is still compatible with the existing Data2SD add-ons that were published for -that2.
[Asus Transformer TF700] :
Really great:thumbup:
[Asus Transformer TF700] fiidim:
What is the difference between the two that3 kernels in the latest CROMIx install? Is one not data2sd compliant, but otherwise equal? The installer shows things like row and UV for only one of the kernels.
[Asus Transformer TF700] sbdags:
They are the same just the second one installs the data2sd preinit script. Also I mount data to the ext4 partition so the install script uses it to install before the kernel and script initiate obviously.
[Asus Transformer TF700] _that:
I don't know, ask sbdags. :)

It should be exactly the same kernel - Data2SD is purely a ROM feature with my kernels.
[Asus Transformer TF700] :
What apps to use to changes voltages with that kernel ? Setcpu does not seem to work
[Asus Transformer TF700] sbdags:
Android tuner or trickster mod.
[Asus Transformer TF700] sbdags:
Cifs mounts and shares are now working great on _that's v4 kernel ;) Great work mate :)
[Asus Transformer TF700] flyhighx:
I really miss the _That 1.5-1.8 kernals from the old CROMI. Can the current version be set so that performance mode is 1.8? That extra little bit seemed to help out some stuttering in certain games and apps.
[Asus Transformer TF700] _that:
There is currently no overclocking capability in my kernel because I can't be sure that all those modifications in the voltage and frequency tables (and the ugly speedo_id hacks) don't affect stability if you don't overclock. Since there is Hundsbuah's excellent overclocking kernel for tweakers, I don't think there is a lot of demand for an overclocked near-stock kernel.
[Asus Transformer TF700] maxrdlf95:
Lol so my kernel that also have OC doesn't count?:crying:
[Asus Transformer TF700] Eddie Hicks:
Is the patch file for a specific reason or should everyone flash it that flash the main zip file?

Thanks
[Asus Transformer TF700] _that:
The source patches are exactly that - patches for the source code. If you don't compile the kernel yourself, ignore the sources and download the zip.
[Asus Transformer TF700] Eddie Hicks:
Ok thanks. I flashed it earlier today. So far it's running smoothly.
[Asus Transformer TF700] screamnslave:
Something wrong with the that4 link? Every time i try to download it it fails before it starts. :(
[Asus Transformer TF700] _that:
No issues here (...but now what do I do with the file that I just downloaded? :cyclops:).
[Asus Transformer TF700] screamnslave:
Send it to me? I have no problem dling stuff from other threads but can't seem to get this to work....strange...
[Asus Transformer TF700] _that:
Please stop filling this thread with more useless posts. If you have trouble downloading the attachment, post info about your browser, operating system, network connection, the exact wording of the error message you get, and what else you tried so far to fix the problem.
[Asus Transformer TF700] screamnslave:
Wow, that was pretty harsh. Not sure what i did to you to cause such hostility towards me, but my last post was to be my last anyway. I can live without your latest kernel, just thought i would try it out. As i said before, i have no trouble downloading from other threads, hunds kernel came through without a problem, just seems to be yours not working for me. I'm using the default browser on cromi 4.6.9. Connection is fine. Error message says "failed to download" followed by the path to the download. Very long string that only stays up for a split second. I tried restarting the tablet to see if it helped but it didn't. Thats all i can tell you. If you can't help me, that's fine. Just ignore this post and i will use the kernel i have now. Don't want to upset you any further.
[Asus Transformer TF700] sbdags:
I just tried the download and it works fine for me on 4.6.9 with the stock browser so it must be something your end.Not sure what though. Don't worry about _that, directness is his forte ;) I'll add v4 to CROMi-X for the next release.
[Asus Transformer TF700] screamnslave:
Thank you very much sbdags. I think something went wrong with es file explorers download manager. I uninstalled es file explorer and tried again and it worked this time. Not sure how it even got set to the default dl manager in the first place, i always use the browser for downloads. Anyway, all is well now. I'll give this a try and see what other stupid questions i can come up with. :p
[Asus Transformer TF700] _that:
It wasn't meant to be offensive or hostile - just as a reminder that this is a development forum, and that problem reports are only useful with details. "It doesn't work" without further information is useless.

I now tried downloading the file on the tablet using the stock browser, and it works. No idea why it fails for you. That the browser's error message is less than helpful is not your fault. <rant>In former times, users could ask experts about non-comprehensible error messages, and the experts could help the users. Now, users get a message that says "it didn't work", which doesn't provide information to anyone, and the standard answer given is "try wiping and reinstalling". :mad:</rant>
[Asus Transformer TF700] woodsonmh:
When ive tried the link that starts with the line flashable zip a few lines above the download links that start with green android guy, it goes to xda blank page but no download. No problems using the links starting with Andy a few lines lower.

Woody

Great kernel thanks
[Asus Transformer TF700] workdowg:
[MENTION=4878287]_that[/MENTION] - Quick question. Is it possible to use your kernel source/patches with the patch moreD_cn created to make his dual-boot kernel? He is using Hunds... why do you think?

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX

---------- Post added at 01:39 AM ---------- Previous post was at 01:36 AM ----------

I was just thinking we need the stability, not the oc ability ....:)

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] _that:
I see no reason why that wouldn't work - it's definitely worth a try. If it works, tell me which config changes are required to support native GNU/Linux.
[Asus Transformer TF700] yew123:
Would love to see this happen!
[Asus Transformer TF700] _that:
Again more than a full month without any posts, it's really too quiet here.

What about a new test kernel? What about "still near 100% stock, but faster"? What about 1800 MHz CPU (*4) and 650 MHz GPU? What about the return of the secret 4th speed mode? And what about kexec-hardboot (untested)?

It's still not as fast as Hundsbuah's and probably will never be, but maybe you still like it. Note that you use it on your own risk - I have been running it for a day now and it's stable for me, even after torturing it with benchmarks. YMMV, but have fun. :)

Flashable ZIP: View attachment kernel-10.6.1.14.8-that5-oc.zip

Source code patches (sorry for the mess, but I am currently too lazy to clean up my commit history in this branch): View attachment patches.zip

For a more balanced experience, "performance mode" is limited to 1.5 GHz. To enable overclocking, run /etc/cpu4.sh and ignore the error message about enable_3d_scaling.
[Asus Transformer TF700] sbdags:
Yay! :victory: I'll have a play with this tonight.
[Asus Transformer TF700] RedSkyRoad:
When I select "Performance Mode" in settings, my CPU is at 1800...

How do I "run" /etc/cpu4.sh?
[Asus Transformer TF700] jarvik:
Your awesome! This is exactly what I was looking for! Thanks :good:
[Asus Transformer TF700] Hundsbuah:
great nice work!
[Asus Transformer TF700] Mackis:
Hi.

This kernel is perfect running great, i'm getting 6889 quadrant score and 17449 on antutu4 .

stable and cool so far. Thanks man!!!

Got 7027 in quadrant NIIICE!!! havn't tweaked anything. running really smooth. You did it again _That!!
[Asus Transformer TF700] workdowg:
6734 and running cool... :good:

Sent from my ASUS Transformer Pad TF700t - CROMi-X 5.0.1 DEODEX -_that4 Stock
[Asus Transformer TF700] woodsonmh:
Forgot to thank you on cromi thread. Running new kernel and I'm thrilled to death.

thank you for all your hard work.

Woody
[Asus Transformer TF700] mrbillishere:
Is this compatible with your Data2SD script?
[Asus Transformer TF700] _that:
Yes, with both of them. :)
[Asus Transformer TF700] JoinTheRealms:
Hey _that, just noticed you added the kexec patch thanks! The issue is, i think it needs the kexec binary in the ramdisk http://xdaforums.com/attachment.php?attachmentid=1653562&d=1358451233

but great kernel thus far
[Asus Transformer TF700] lessio.a1:
hello I'm testing the kernel for a few days now seems to be fine !

Send to Galaxy S4 Mtk6589 and Asus TF300T 4.2.1 TWRP
[Asus Transformer TF700] flyhighx:
I am LOVING the new _That 5! I'm currently on cromix 5.0.2, clean install, ET, browser2ram, fsync disabled. I'm using the 1.5-1.8 version of the kernel. For the most part, it runs so smooth I've been leaving it in balanced mode for day to day stuff. I'll switch it to performance for games. This is, I believe, what the intention of the modes was supposed to be from ASUS. However, without the help of devs like _that and sdbags, performance mode was needed full time just to attempt to get the tablet close to smooth.

In over a year with this tablet now, _that v5 and cromix 5.0.2 is absolutely the fastest AND most stable, lag free, stutter free combination I've found.

I'm getting 6800 scores in quadrant too. All this with the peace of mind that I'm running a _that kernel, which means bug free, stability and thorough testing and support.

[MENTION=4878287]_that[/MENTION]: where can I donate to you? Thanks for your continued great work.
[Asus Transformer TF700] blickley:
I've installed this kernel via CROMi 5.0.2 and it seems to work well. My only observation is that my quandrant scores are very inconsistent. If I switch into performance mode, I can get 6800 or so one time right after a reboot. After that, all my scores on performance mode are around 6200, which is what I used to get on _that version 4. On version 4, my 6200 scores were consistent....every time. At one point I even ran a quadrant test in balanced mode and my scores dropped below 5000 (always around 5800 consistently with version 4). I am running a pretty standard install of CROMi 5.0.2, fsync disabled and not much else.

-Chris