yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T Android Development] gengi:
Sorry for asking maybe i didnt understand exactly. What is included in this update?

Thanks
[Transformer TF300T Android Development] untermensch:
It was a test to see if the 10.4.4.16 source works for the TF300TL or TF300TG.
[Transformer TF300T Android Development] mykegger:
Is the ril driver dependent on the new kernel source? If it is it probably won't come to CM for a while since CM is still running the ICS kernel and bootloader (and I know progress hasn't gotten to far on getting JB kernels working with the ICS bootloader).
[Transformer TF300T Android Development] untermensch:
I don't think the problem is so much not having the ril driver, powering on and init the hardware

looks kinda involved, the ASUS US website has been updated today with TF300TL/G support

pages with the JB/ICS kernel source so it's just a mater of time before mobile data is supported

on the TF300TL/G on Cyanogen.
[Transformer TF300T Android Development] allram:
The Tf300T(l)(G) kernel did flash on my tf300tg, but since i run cleanrom 2.5 i think i miss some other files to get 3g working. will check it out tonight, great kernel tho :D
[Transformer TF300T Android Development] jgaf:
Had the same problem again. I think I narrow it down, it seems to happen after turning gps on for a while then turning it off. 10 of those hours the tablet was held awake while I slept.
[Transformer TF300T Android Development] gaze57:
I also have issues with OC on the 10.4.4.16 kernel, max 1300. Any ideas appreciated.

@untermensch

First, many thanks for your work with these kernel sources.

Some random questions...

1. I'm not very familiar with collaborating on GitHub, but would it be possible to contribute to your repositories or is that by default not possible as repos are read-only ?

2. As most (all?) your repos in this thread seems to be based on 3.1.10 kernel would it be possible to re-arrange them into one repo with

different branches for each flavor (TG, TL etc) instead of separate repos as now ? Or perhaps that is not a good idea for some other reasons ?

I'm thinking perhaps this could simplify the work of merging features from one tree to another.

Cheers!
[Transformer TF300T Android Development] untermensch:
if you could post your dmesg, maybe you have a different CPU.

the TF300T based stuff are branches in the same repo, I think you can contribute through

pull requests but I'm not sure about that, I do have patches for 10.4.2.13->10.4.4.16 and

will branch when I work out the reboot bug in the MMC driver.
[Transformer TF300T Android Development] gaze57:
My dmesg.
[Transformer TF300T Android Development] untermensch:
you have a weird speedo cpu id

****************************************************
****************************************************
* tegra3_speedo: CPU speedo value 340 out of range *
****************************************************
****************************************************
Tegra3: CPU Speedo ID 1, Soc Speedo ID 2
Tegra Revision: A03 SKU: 0x83 CPU Process: 0 Core Process: 0

seems like an easy fix
[Transformer TF300T Android Development] untermensch:
See if this one will detect your CPU correctly.
[Transformer TF300T Android Development] gaze57:
Works, thanks!

(I actually fixed it myself as well. Will be interesting to see your approach when you commit.)

Not too impressesive benchmarks though, around 11300 in Antutu on performance+sio at 1700.

Well well, at least my tablet is back in OC mode, thanks again!
[Transformer TF300T Android Development] untermensch:
here is the diff

https://github.com/untermensch/10.4.4.16_kernel/commit/8749769a0e82dccf34440ec29a581d854291955f
[Transformer TF300T Android Development] jebise101:
2 dumb question can this be installed on a rooted stock ROM I have a unlocked bootloader and TWRP and is it compatible with cleanROM?

Also the attached zip in the OP can be OC'd to 1.6 or use the one above?
[Transformer TF300T Android Development] DMardroid:
Yes and yes :thumbup:

Kernels in OP are good to go

They are for JB too of course

Dive in!
[Transformer TF300T Android Development] jgaf:
Hey unt, could it be possible to add the data2sd mod to your kernel? I just got my 32GB Sandisk Ultra Class 10 card, it would be awesome to try this out, but I don't trust doing it myself since I have never dealt with kernels and stuff, apart from flashing them xD
[Transformer TF300T Android Development] Omega Recon:
Permissions

Hey there everyone...

Can someone tell me please if permissions need to be set with this, and if so, what are the permissions.

Thanks in advance.
[Transformer TF300T Android Development] BrateloSlava:
D-link DUB-E100

Hi!

Purchased this cable. When connecting to the tablet is not recognized.

Part of dmesg:

<6>usb 1-1.2: new high speed USB device number 5 using tegra-ehci
<6>usb 1-1.2: New USB device found, idVendor=2001, idProduct=1a02
<6>usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>usb 1-1.2: Product: DUB-E100
<6>usb 1-1.2: Manufacturer: D-Link
<6>usb 1-1.2: SerialNumber: 9F5B18

10.4.4.16 kernel from this post

The full result of dmesg in attach.

In the source code looks like this driver is present. What is my problem?

PS: The last source code - For Android 1.x/2.x/3.x/4.x, Linux kernel 2.6.14 and later

Help, please.
[Transformer TF300T Android Development] Nomad692000:
Try reinstalling the asus drivers. I've had to do that a couple of times.
[Transformer TF300T Android Development] BrateloSlava:
As is done in the tablet?
[Transformer TF300T Android Development] Nomad692000:
Sorry my bad i miss read your post. I'm modding a video card and reading the forums. I've never tried to connect a usb ethernet adapter to my tablet. But yea it would have to be supported in order for it to work. I'm sure that someone with more knowledge will be able to give you a better answer than I can.
[Transformer TF300T Android Development] BrateloSlava:
Can someone compile the driver for asix from https://github.com/untermensch/asus_kernels/tree/10.4.4.16-TF300T/drivers/net/usb ?
[Transformer TF300T Android Development] untermensch:
The driver is compiled in by default, no changes to the driver source since 10.4.2.9.

I don't have the device so I cannot debug your issue.
[Transformer TF300T Android Development] moisaal:
Looks like asus just released the source code for the jellybean Kernel on the ASUS support site.
[Transformer TF300T Android Development] BrateloSlava:
Put please asix.ko from 10.4.2.9.
[Transformer TF300T Android Development] Sib64:
Don't you know that you have one

Index with all Asus tools, firmwares, kernels, and everything which concern the TF300T/TG

?

This would be really cool if you specify this index first.

Thanks
[Transformer TF300T Android Development] untermensch:
thanks for the heads up, here is the diff

https://github.com/untermensch/asus_kernels/commit/a377c8f41d6d99aa102ecfc976e4049c80b7ec6a
[Transformer TF300T Android Development] untermensch:
deleted
[Transformer TF300T Android Development] untermensch:
here is the asix.ko

edit added a second one, this one is the 4.4.0 version driver, applied to the

10.4.4.16 source.
[Transformer TF300T Android Development] jgaf:
Unt any opinion on data2sd. Also I'm not sure if this is a kernel problem but yesterday I had a really tough time trying to get my tablet to recognize my new 32gb ultra class 10, had to format several tens of times and wipe caches fix permission until it finally it recognized it. Also today I had to run another fix permission today and on first boot it wouldn't recognize the card, had to manually mount through settings.

I read in the TF700T's forums that people were having troubles with this type of sdcard something about UHS-1 no being recognized, the thing is that recovery recognizes the external card without any problems.

dmesg

<6>mmc0: new high speed DDR MMC card at address 0001
<6>mmcblk mmc0:0001: Card claimed for testing.
<6>mmcblk0: mmc0:0001 HYNIX 29.6 GiB
<6>mmcblk0boot0: mmc0:0001 HYNIX partition 1 2.00 MiB
<6>mmcblk0boot1: mmc0:0001 HYNIX partition 2 2.00 MiB
<4>Primary GPT is invalid, using alternate GPT.
<6> mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
<6> mmcblk0boot1: unknown partition table
<6> mmcblk0boot0: unknown partition table
<6>[mmc]:mmc_rescan_try_freq:2065 mmc0: eMMC completed
<6>[mmc]:mmc_rescan:2082 mmc2: gpio_69:0 rescan_disable 0
<6>[mmc]:mmc_power_up:1383 mmc2:vdd_io_reg: use_count 0
<6>[mmc]:mmc_power_up:1386 mmc2:vdd_slot_reg: use_count 1
<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
<3>mmcblk1: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
<4>mmcblk1: retrying using single block read
<3>mmcblk1: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
<3>mmcblk1: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
<4>mmcblk1: retrying using single block read
<3>mmcblk1: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
<3>mmcblk1: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
<4>mmcblk1: retrying using single block read
<3>mmcblk1: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
<6> mmcblk1: unable to read partition table
<6>[mmc]:mmc_rescan_try_freq:2060 mmc2: SD completed
[Transformer TF300T Android Development] allram:
I have a 32GB MicroSD UHS-1 card, and i have no problem, formatted it in FAT32 in Windows first tho, but it works like a charm :P
[Transformer TF300T Android Development] petter244:
Hey Untermench.

I dont know what kind of respons you got on the tf300t(g)(l) kernel, so i thought i would share my two cents.

Flashed the kernel and everything is working as it used to, including 3g! The OC is also active and running at 1600 Mhz.

I would very much like to have a data2sd version of this kernel for the tf300tg, is it at all possible that you could implement this if you had a chat with Nickshunen?

Anything i can do to help/move this along?
[Transformer TF300T Android Development] untermensch:
i am looking at data2sd, but I want it to work in a generic way. something like

look for an ext4 partition on the external cards if found check for some tell tail

directories then mount it to data, if that fails fallback to mounting the stock

data partition

if you want to implement this yourself just change the device that /data is on in

fstab.cardhu to the device you moved your data to

/dev/block/mmcblk1p1	/data	ext4	noauto_da_alloc,noatime,nosuid,nodev,nomblk_io_submit,errors=panic	wait,encryptable=footer
[Transformer TF300T Android Development] untermensch:
I'm using 32Gb class 10 without issue, I have a 16Gb class 6 that gets flaky

sometimes, to fix it (for awhile) I do a low level format on a Windows machine

you did not say which kernel you are using, but the kernel based on the TF700T

source has a new MMC driver has a flag for

MMC_STATE_HIGHSPEED_200

which could be the root of your problem.
[Transformer TF300T Android Development] Sib64:
I've got exactly the same as you, and works well. Good choice ;)
[Transformer TF300T Android Development] jgaf:
Yeah it seems I was in the TF700T kernel since my CPU frequencies went up to 1.7GHz. Anyways the card seemed to work sometimes, once I got it to mount correctly it would stick until next reboot. So, I flashed the latest kernel on the OP and the card was recognized on the first boot no problems so far. Although my Quadrant scores went from 6300 to 5600 max.
[Transformer TF300T Android Development] petter244:
Thanks for the reply Untermench. Unfortunetly, I could not get this to work. I have partitioned the sd card and copied over the data partition to mmcblk1p2, but every time i change the fstab it ends up resetting itself.

Have you tried this approach youreself? Im thinking the only reason the ext sd data partition is not mounting can be that my 1p2 partition is not ext4?!

Oh well, guess I will try formating the SD card again, and do the process from scratch.
[Transformer TF300T Android Development] untermensch:
fstab.cardhu is in the init ram fs so you will have to unpack the kernel make the

change and then repack, you may try adding an script to init.d to remount data

to the desired block device.
[Transformer TF300T Android Development] untermensch:
the init script method does not work, so here is a kernel with the modified

fstab.cardhu, this is built from the 10.4.4.16 kernel source
[Transformer TF300T Android Development] ppmeis:
This is the data2sd mod...but I don't know how yo use it...Do I only need to create an EXT4 partition on my external SD, then flash this kernel and everything works? I think we need also to copy some files before flash it...but which files?

Thanks for your great job, everytime you post an update it's a step forward for this amazing tablet.
[Transformer TF300T Android Development] Charle692:
This doesn't seem to want to boot for me it's stuck in a boot loop anyone else getting this? I will restore and try again.

Edit: OK well didn't work for me I don't know if it's because I'm on hydro or not but my memory card has been formatted to ext4 but only 13gigs of it the other is fat anyways do I have to partition my memory card completely to ext4?
[Transformer TF300T Android Development] BrateloSlava:
I looked at the driver source code, which is offered by the manufacturer D-Link DUB-E100 for C1 hardware revisions of this device. There is nothing about the data that I have (VID&PID). At the same time I looked up and the driver version 4.4, which lined the chipset manufacturer. They also have nothing.

However, in a structure that describes the supported devices is similar (asix.c ver. 4.4).

static const struct usb_device_id	products [] = {
{
// 88178
USB_DEVICE (0x0b95, 0x1780),
.driver_info =	(unsigned long) &ax88178_info,
}, {
// 88178 for billianton linksys
USB_DEVICE (0x077b, 0x2226),
.driver_info =	(unsigned long) &ax88178_info,
}, {
// ABOCOM for linksys
USB_DEVICE (0x1737, 0x0039),
.driver_info =	(unsigned long) &ax88178_info,
}, {
// ABOCOM for pci
USB_DEVICE (0x14ea, 0xab11),
.driver_info =	(unsigned long) &ax88178_info,
}, {
// Belkin
USB_DEVICE (0x050d, 0x5055),
.driver_info =	(unsigned long) &belkin178_info,
}, {
// Linksys USB200M
USB_DEVICE (0x077b, 0x2226),
.driver_info =	(unsigned long) &ax8817x_info,
}, {
// Netgear FA120
USB_DEVICE (0x0846, 0x1040),
.driver_info = (unsigned long) &netgear_fa120_info,
}, {
// DLink DUB-E100
USB_DEVICE (0x2001, 0x1a00),
.driver_info = (unsigned long) &dlink_dub_e100_info,
},

Official Technical Support recommends - try, If you are not hard, add a few lines in 4.4:

{
// DLink DUB-E100C
USB_DEVICE (0x2001, 0x1a02),
.driver_info = (unsigned long) &ax88772b_info,
}

And make a test update.

Thanks in advance.
[Transformer TF300T Android Development] petter244:
Tried to make this work. After a good long whie i realized that you put the first partition on the extarnal SD as the /data partition.

I did not manage to get it running with my sandisk class 10 32GB card. It returned an error saying that encryption was interrupted.

I did however managed to make it work for a kingston class 6 4GB card, but that was slow as H...

So it's proven to work with your kernel, but it vas just to slow for me.

I am happy with the performance as is with this kernel, so no biggie.

Thanks a lot for doing this for us Untermench! Much appreciated!

---------- Post added at 08:08 PM ---------- Previous post was at 08:05 PM ----------

No, there is no need for that, but the ext4 partition must be the first partition on the card, so if that's not the case for you, then...yeah..reformat..

Let us know how it goes, yeah?
[Transformer TF300T Android Development] ppmeis:
I want to try it, but I have ab Class10 SD too...How did you do to make it working on the other SD? Did you copy /data files to external SDcard manually and then format your sdcard with EXT4 partition and paste /data files to it and finally flash this kernel?

Please a wanna give a try with this feature. Thanks in advance.
[Transformer TF300T Android Development] untermensch:
I think the switch is happening to late using an init.d script as there is an event

that occurs when data is mounted that does a bunch of stuff. I have a new script

that I am testing that runs as a service during init and waits for /system, /data

to mount then does the switch.

someone better as scripting could easy modify this to loop through all the mmcblk

partitions to find the data2sd label.

#!/system/bin/sh

DEVPATH=/dev/block/
DATA2SD=mmcblk1p1
MOUNTOPT=noauto_da_alloc,noatime,nosuid,nodev,nomblk_io_submit,errors=panic
FSTYPE=ext4

# wait for system to mount
while [ ! -d /system/app ] ; do
done

# check for busybox
if [ ! -e /system/xbin/busybox ] ; then
exit 1
fi

# wait for data to mount
while [ ! -d /data/app ] ; do
done

# check superblock for "data2sd" remount data if needed
if [ -b $DEVPATH$DATA2SD ] ; then
if /system/xbin/busybox dd if=$DEVPATH$DATA2SD skip=1144 bs=1 count=16 | /system/xbin/busybox grep data2sd ; then
/system/xbin/busybox umount /data
/system/xbin/busybox mount -o $MOUNTOPT -t $FSTYPE $DEVPATH$DATA2SD /data
fi
fi

exit 0
[Transformer TF300T Android Development] Niksunen:
easiest way is install rom again, and make sure that the sd card partition is mounted to data partition in recovery. That work only in twrp, so you can mount sd card to /data partition in terminal. this install all nesessary files to sd card. And if you want to go back to "old" internal memory, just flash normal kernel. so its not affect your dailyrom data etc.

Or mayby even easier way, is use nandroid backup, and restore it, when sdcard is mounted to /data

, but then backup files, must be in sdcard, because if and when you mount sdcard to data in recovery, you cant acces internal memory, in this moment.

And i use this data2sd mod allday use, i have still that class 6 card, but i still findout that it still fast etc. so i use it, prefer than internal data. Internal data is used movies, mp3 and this kind of stuf (to use internal data, you have to make example data2 folder, mount it to internal memory etc...)

http://dl.dropbox.com/u/103093761/D2SD/Screenshot_2012-10-15-11-38-35.jpg
[Transformer TF300T Android Development] untermensch:
can you tell if your device is a USB2, there is a DUB-E100B, I think it might

be better to try that one first.
[Transformer TF300T Android Development] petter244:
For the working card, the whole card was formatted to ext4, it contained no data. When you boot up after flashing the kernel, you must have the formatted card inserted.

It might be that my SD card is a dud, because on the data2sd thread for the prime, it says that the sandisk class 10 cards work great!
[Transformer TF300T Android Development] untermensch:
I'm trying to avoid having multiple kernel version's, so my idea is to just

insert an ext sdcard labeled "data2sd" and swap during boot through a script

kinda problematic but I think doable.
[Transformer TF300T Android Development] jgaf:
I can't wait to try the performance difference using data2sd, I just don't trust myself well enough to do it on my own. I need a guide :D
[Transformer TF300T Android Development] Charle692:
OK so that was my problem my ext4 was my second partition I'm gonna try it again with it as first later on tonight and report back

---------- Post added 20th October 2012 at 12:33 AM ---------- Previous post was 19th October 2012 at 11:37 PM ----------

Ok so i've re partitioned my sd card so that the first partition is ext 4 but still no luck but i have seen that you guys have had trouble with the class 10 cards which is what i was using do you guys know what's the cause? I did have it running before using niksunen's kernel though so i know it's possible.
[Transformer TF300T Android Development] BrateloSlava:
Make a test update, I am happy to check it.
[Transformer TF300T Android Development] Niksunen:
I borrowed my friend his 16gb class 8 sd card, and test it with data2sd mod. Below is the quick result. Cpu is overclocked to 1700mzh etc. Damm, i just want to get my extreme pro card, so i can test it.
[Transformer TF300T Android Development] jgaf:
Nice, I wish I could try it on my class 10 uhs-1 card. I've been monitoring the data2sd thread in the prime forums, I think people have had problems trying to use extreme pro cards. It would be cool if I could try your data2sd kernel, what do I need to do to get ready?
[Transformer TF300T Android Development] Niksunen:
you can try it, but like before, people have dificulties to get it even boot. And i don't know why, Myself it working good and stable. When i get extreme pro card, i finaly see, does it work with my kernel. And if not, i get change to figure out why. or atleast try.

https://www.dropbox.com/s/5a9h2v0p2zvgpqk/Nixu_Data2SD_Kernel_OC_1700_v0.7.3.zip

you have to use 1p2 partition, so first partiton fat32,ntfs etc. and second partition ext4
[Transformer TF300T Android Development] untermensch:
It seems that /data needs to be mounted by init to work correctly, so I tried

to use sed to modify fstab.cardhu but this just causes a race condition, CyanogenMod

has implemented a exec command for init that will block, eliminating the race

condition but did not work on my tablet.

#!/tools/bin/sh

DEVPATH=/dev/block/
DATA2SD=mmcblk1p1
DATA=mmcblk0p8
BUSYBOX=/tools/xbin/busybox
SED_ARGS="s/$DATA/$DATA2SD/ -i /fstab.cardhu"

# check for busybox
if [ ! -e $BUSYBOX ] ; then
exit 1
fi

# check superblock for "data2sd" remount data if needed
if [ -b $DEVPATH$DATA2SD ] ; then
if $BUSYBOX dd if=$DEVPATH$DATA2SD skip=1144 bs=1 count=16 | $BUSYBOX grep data2sd ; then
$BUSYBOX sed $SED_ARGS
fi
fi

exit 0
[Transformer TF300T Android Development] jgaf:
I'll give it a try later tonight, do I have to wipe data? will it move all my data to sd or do I have to restore after?
[Transformer TF300T Android Development] Niksunen:
it will not move anything, it just assume that data is allready on the card, and if not, it not boot (bootloop or boot stuck). And no wipe required. And if you make nandroid backup restore, you must unmount exist data and mount sdcard to manualy in data via twrp terminal command "mount /dev/block/mmcblk1p2 /data" and then restore. and you dont have to restore anything beside data.
[Transformer TF300T Android Development] jgaf:
Okay, after booting could I transfer my old data in the tab to the new data in the sdcard? Or is it better to just start from scratch and restore with titanium?

Thanks saw the response in your earlier post, it seems simple enough I'm preparing my backups just in case before going through with it. If it works I'll post some benchmarks usin Sandisk 32GB Ultra Class 10 UHS-1
[Transformer TF300T Android Development] Niksunen:
Dont use, kernel that i posted first, i forgot to add init.d support to it, this is fixed version

https://www.dropbox.com/s/5a9h2v0p2zvgpqk/Nixu_Data2SD_Kernel_OC_1700_v0.7.3.zip