yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Android Development] Serkenar:
I can confirm that suggested touchpad fix works fine. To sum up, you have to:

(launch these commands in terminal. Open Accessories->LXTerminal OR right click on the TF101LINUX gadget -> Terminal)

You must install 3.1 kernel for tegra drivers to work! Refer to the initial post for links and instructions.

1. Install nvidia tegra drivers:

mkdir -p ~/src
cd ~/src
wget http://developer.download.nvidia.com/akamai/mobile/files/L4T/ventana_Tegra-Linux-R16.2.0_armhf.tbz2
tar -xjvf ventana_Tegra-Linux-R16.2.0_armhf.tbz2
cd Linux_for_Tegra
sudo ./apply_binaries.sh -r / --xabi 13

2. Install mtrack driver

sudo apt-get install xserver-xorg-input-mtrack

3. Edit /etc/X11/xorg.conf

sudo nano /etc/X11/xorg.conf

append this at the end of file (paste with ctrl+shift+v):

Section "InputClass"
Identifier "elantech_touchscreen"
Matchproduct "elantech_touchscreen"
MatchDevicePath "/dev/input/event*"
Driver "mtrack"
EndSection

save and exit with ctrl+o, enter, ctrl+x

4. Reboot

Unfortunately, sound is still not working :( I installed pulseaudio pavucontrol to manage volume and output/input devices, and it shows that all's fine, that music's played ok, yet I hear nothing. I do hear clicks, though, when the output device is initialized, but nothing more.

Also, I added /lib/modules/3.1.10-g90a44cc-dirty to your 3.1.10 kernel's initrd. I take it, no actual modules are needed on boot: all stuff that's required is built-in. So I just copied the initrd 2.6.38.3's content, which empty modules.dep. There're no more boot errors, but unfortunately the notorious random freezes persist :(

As for the power button, "monitor_swtich" is called instead of "monitor_switch". That's a typo, I guess :) As a temp fix, I launched:

ln -s monitor_switch /usr/bin/monitor_swtich

for some odd reason, the script turns off the screen fine each time only when run manually. I mean, when you press power button the first time - it turns off ok, but when you try to turn it off again after waking it up, it turns off and then on again. It's very odd, but I accidentally found a fix: add "timeout 0.1 dd if=/dev/zero of=/dev/null" command after the "monstat=`xset - q |..." line. For some reason it works ok when there's at least a 0.1 sec pause there.

Also, turning the screen on with power button won't work. The screen turns on and off again. It looks like the screen turns on automatically before your scripts kicks in and then your script just turns it off again :)

P.S. x3maniac, looking forward to your new kernel! I hope it will fix freezes and sound :) Thank you and keep up the great work :good:
[Eee Pad Transformer Android Development] x3maniac:
OMG! great guide!!!

i had sound when i was using jhinta's kernel i dont know how i did it but i had sound. i can't seem to get it back now. i did the same thing with installing pulse audio but sttill no go. i can't seem to figure it out. might be something with my compiling. all i hear is clicking now. trying very hard to fix this, i've compiled it many different ways. i'm not sure yet cause i still didn't get my dock so i'm kinda pissed about that so i havn't touch the transformer for full use yet. just building kernels to see if it will boot

i've taken the initrd from ac100 3.1.10 kernel and reinserted my modules in there. the 2.6.38 had too much garbage making half the stuff useless. the thing is now that i have my own git hub and made a few commits the kernel number is now different. so that will require the modules to be unzipped to /lib/modules/

about the freezing. it's hard for me to confirm now cause i don't use it as much but i believe it has to do with missing files you need from your android partition. the bluetooth firmware. the bluetooth hcd is located in android /etc/firmware/*.hcd there should be a few in there just take anyone and cp it to /lib/firmware/BCM4329.hcd and jhinta kernel page has information about the mac.txt you would have to replace. again i'm not too sure about the freezing yet.

if interested my sources http://github.com/novaspirit

thanks again everyone!

edit:

I updated the 1st post to relate to the fixes you have found
[Eee Pad Transformer Android Development] Backwardsblade:
I think that's expected, since the resize script isn't picked up automatically. It's mentioned in the OP, I have to run this from terminal after flashing a fresh image.

sudo resize2fs /dev/mmcblk0p8

Might be worth a try!
[Eee Pad Transformer Android Development] x3maniac:
something to try:

gnome-shell is amazing in this better then lxde i belive

sudo apt-get install gnome-shell -y

when done log out

select gnome or gnome/openbox either one will do

interatctions seems smoother. fresh boot with gnome is 144mb ram. you can set up everything from the setting menu, like brightness. volumn buttons work out of box!. play around with other DE and see which one works good
[Eee Pad Transformer Android Development] DerSandmann:
Installed it on SBK1 and... WOW!

Edit: Just a problem... Can't load any internet page...
[Eee Pad Transformer Android Development] Kingzak34:
Is it normal that I've module probleme with both your 3.1.10 and jhinta 3.1.10 kernel ? ( The problem I talked about last time ) ?

It appens every time I want to install something. If not, I'll just do a new fresh install :) If it's normal, I'll wait for your new kernel ! :D
[Eee Pad Transformer Android Development] Serkenar:
too bad I can't lend you my dock. We're too far geologically (I live in Ukraine).

Sound did work with jhinta's kernel. alsamixer settings appear to be set right by you, so dunno what to do :(

I've copied bcm4329.hcd from android to /lib/firmware on ubuntu. Couldn't find mac.txt anywhere on android (looked in /etc/firmware and also /data/misc/bluetooth as suggested by jhinta). It looks like the freezes still happen.

Some years ago I've been using gnome shell a lot. What I miss now is address/"magic buttons" toggle in the file browser address field.

btw, power button behaves very strangely with this shell.

edit: another thing I've noticed: `dmesg` shows lots of these errors:

wl_iw_ioctl: error in cmd=8b03 : not supported
[Eee Pad Transformer Android Development] x3maniac:
i noticed that message too. i have no idea what that means and when i compile the kernel, i have no errors with iw_ioctl... i don't know how to solve that yet.
[Eee Pad Transformer Android Development] djlenoir:
x3maniac, this may be a dumb question, but have you tried to coordinate with RaymanFX on the kernel? I know he is working on it for Android but he is using the nvidia 3.1 kernel. I have no clue if getting that to work for Android translates to working on Linux but he has sound working and camera working according to his thread. If I am completely off base here I apologize.
[Eee Pad Transformer Android Development] x3maniac:
i have not coorinate with raymanfx on this kernel. i have looked into the source but the last time i have tried to compile his linux version kernel it did not boot. i will try again soon cause i believe he did alot of updates on it since i last tried. i've only just started compiling kernels and learning how to change stuff around. once i get more comfortable i will try to contact him to see if i can help. (i don't want to get in the way). i will start keeping tabs on it again
[Eee Pad Transformer Android Development] TomTcom:
I'm not sure I'm flashing the kernel correctly. I followed the directions in the OP and tried both the methods there (the old striked out method and the new method ).

I'm using the 0.4.2 beta with SBK1. My install of Lubuntu and Prime is perfectly fine.

When I do a uname -a it shows me 2.6.36.4 and I have all the errors about apparmor so I'm positive the new kernel isn't loading. When I go into the Advanced tab where the Flash Kernel section is, I am only able to get 2.6.38 chromium kernel to do anything and the app sits at "reading config file ./boot/dualboot.cfg and writing boot image ./images/linux.img". I also selected "default partition".

If I try the other options for the kernel I get errors of no bootloader was specified.

I also have copied the xlinux.img into images, cut the original linux.img and renamed xlinux to linux. Without this, nothing in the application log shows it is looking for xlinux.

What am I doing wrong?
[Eee Pad Transformer Android Development] x3maniac:
./images/linux.img

.\images\linux.img

in windows the slashes make a difference. i'm not too sure about sbk1 cause i don't have one to test. but i will try my best
[Eee Pad Transformer Android Development] TomTcom:
Ok thanks, I'm messing around with a few options and I'll let you know if I can get something to work.
[Eee Pad Transformer Android Development] TomTcom:
I reloaded (again)..lol..

I got the new rc1 Lubuntu. I really like the Conky app, great add to the system.

I understand you don't have SBK1 so I'll put this out there in case others who do have SBK1 run into issues:

Following post 236 for updating Tegra drivers and the touch pad yielded a loss of the ability to run Lightdm. After everything installed fine and I did the requested reboot per the post, I was only presented with local shell prompt. I did a "start lightdm" and it didn't like that and refused to start. Several reboots did not make it any better, just the prompt for logging in.

Since I still haven't gotten the new kernel loaded it's possible that is the reason why in part.

I will say I'm still 100% incredibly happy to have this setup. It has given me some new fun so many thanks to x3maniac and everyone else that did updates.

I would like to create an install instruction that is a bit more user friendly for the noobs (me too) and I can PM you. This would cater to the SBK1 since that is what I have. If you wish to post it that would be cool.
[Eee Pad Transformer Android Development] DerSandmann:
I've the same problem that TomTcom concerning the "no bootloader was specified". I just didn't understand if there was a solution to flash a kernel. I looked on the dualboot file and the slashes were all on the good "side". The build works very well on SBK1 and I just want to change kernel to have chrome working.
[Eee Pad Transformer Android Development] x3maniac:
yes you need the new kernel to get tegra drivers working. can you do me a favor and try to flash just the kernel(either jhinta or mine) and post the results from the text box on the right.

i'll try to debug the message from that
[Eee Pad Transformer Android Development] x3maniac:
i have compiled a new kernel seems pretty stable to me. i heavily used it for a few hours no freezing. it also has the new lid fix. i put up some new instruction on the 1st post.

you can call it say a "nightly" cause i'm still building more kernels to get more stuff right

this new kernel uses a new initrd which fixes all the complains when booting. also should resize the partition if needed too on 1st boot. removed A LOT of unused program making it possible to gzip instead of lzma. same goes for the kernel, it's now gzip instead of lzma. what does this mean? boots much faster!

kernel 3.1.10-g6e2783c

fixed a few complains on compiling

fixed lid support(i never tested this)

gzip compressed

clocked at 1.2ghz

cifs enabled

ntfs support

ntfs write support

added lightsensor(maybe will be used in the future for lubuntu builds to dim screen)

using a initrd from a 3.1.10 system

initrd: removed alot of premount scripts

initrd: fixed complaints on boot

initrd: gzip compressed
[Eee Pad Transformer Android Development] TomTcom:
Ok, I attempted to install 3.1.10 jhanti kernel. I changed the drop down below it to Default Partition. Here is the output:

reading config file ./boot/dualboot.cfg

Writing Boot Image ./images/jlinux.img

Nvflash started

rcm version 0X20001

System Information:

chip name: t20

chip id: 0x20 major: 1 minor: 4

chip sku: 0x8

chip uid: 0x037c620644c04257

macrovision: disabled

hdcp: enabled

sbk burned: true

dk burned: true

boot device: emmc

operating mode: 4

device config strap: 0

device config fuse: 0

sdram config strap: 2

command failure: no bootloader was specified

I then changed the drop down to Recovery Partition. It hangs at this output:

reading config file ./boot/purelinux.cfg

Writing Boot Image ./images/jlinux.img

I then did 2.6.38 chromium kernel and selected Default Partition. Here is the output:

Nvflash started

rcm version 0X20001

System Information:

chip name: t20

chip id: 0x20 major: 1 minor: 4

chip sku: 0x8

chip uid: 0x037c620644c04257

macrovision: disabled

hdcp: enabled

sbk burned: true

dk burned: true

boot device: emmc

operating mode: 4

device config strap: 0

device config fuse: 0

sdram config strap: 2

command failure: no bootloader was specified

Finally, the 2.6.38 chromium with Recovery Partition selected hangs at this output:

reading config file ./boot/purelinux.cfg

Writing Boot Image ./images/linux.img

**Also, I can download the kernel_sup.tar.gz but unable to download the main kernel. Gives me 404 error.
[Eee Pad Transformer Android Development] x3maniac:
thanks, I found the error. fixing the program now and will be updated soon to v0.4.3b

EDIT:

uploaded just the EXE file. please let me know if it works or not, thanks!

typo in link for kernel
[Eee Pad Transformer Android Development] TomTcom:
Here is my output from the linux3 new kernel using the modified 0.43b application.

reading config file ./boot/dualboot.cfg

Writing Boot Image ./images/xlinux.img

Nvflash started

rcm version 0X20001

System Information:

chip name: t20

chip id: 0x20 major: 1 minor: 4

chip sku: 0x8

chip uid: 0x037c620644c04257

macrovision: disabled

hdcp: enabled

sbk burned: true

dk burned: true

boot device: emmc

operating mode: 4

device config strap: 0

device config fuse: 0

sdram config strap: 2

failed executing command 6 NvError 0x120002

odm data failure NvError 0x0

command failure: bootloader download failed (bad data)

bootloader status: Bct file not found (code: 21) message: flags: 1073844220
[Eee Pad Transformer Android Development] x3maniac:
updated to v0.4.4b

to fix this issue
[Eee Pad Transformer Android Development] TomTcom:
Got this now and just so you know I did copy and extract the sup file first in the root of the drive.

reading config file ./boot/dualboot.cfg

Writing Boot Image ./images/xlinux.img

Nvflash started

rcm version 0X20001

System Information:

chip name: t20

chip id: 0x20 major: 1 minor: 4

chip sku: 0x8

chip uid: 0x037c620644c04257

macrovision: disabled

hdcp: enabled

sbk burned: true

dk burned: true

boot device: emmc

operating mode: 4

device config strap: 0

device config fuse: 0

sdram config strap: 2

command failure: --setbct not requied --download
[Eee Pad Transformer Android Development] x3maniac:
round 3! lols give it a try 0.4.5b
[Eee Pad Transformer Android Development] TomTcom:
Check your pm!
[Eee Pad Transformer Android Development] x3maniac:
I think I got this time!

4th times the charm! v0.4.6b
[Eee Pad Transformer Android Development] transformador:
Which version of ubuntu is your image? 12.04, 12.10 or 11.10?
[Eee Pad Transformer Android Development] x3maniac:
12.10
[Eee Pad Transformer Android Development] thantos:
I can't get the temp flash to work.. the image is missing...

Also I tried flashing the new kernel you posted but I'm getting an unknown nvflash command.
[Eee Pad Transformer Android Development] TomTcom:
I'm getting unknown command nvflash as well.

X3maniac has been hard at work and he's aware of the issue at least for sbk1.
[Eee Pad Transformer Android Development] thantos:
Wonderful :) I just thought I mentioned it since the last few posts seemed like it was resolved. Just confirming it wasn't something else.

Have you tried the temp recovery flash?
[Eee Pad Transformer Android Development] TomTcom:
I haven't yet. I wanted to get the kernel updates first before I started playing with android and the aokp ROM I like isn't working well at this point.
[Eee Pad Transformer Android Development] x3maniac:
those who are interested, i have uploaded a stripped down initrd used with 3.1.x kernel to my github. I did massive amount of searching and all i can find is a 2.6.x version loaded with crap making gzip almost impossible. this version might also work with 2.6.x but never tried.

http://github.com/novaspirit
[Eee Pad Transformer Android Development] transformador:
12.10, nice !

Whats the best kernel to flash? Also, why is dot net 4.0 needed?How much space has ubuntu, how much Android? can i change that?

Thanks for this installer!
[Eee Pad Transformer Android Development] x3maniac:
Whats the best kernel to flash?

best kernel is the one i recenely created located all the way on the bottom of the 1st post

why is dot net 4.0 needed?

the tubuntu program is created using visual studio 2010.(it's a windows thing lols needs dot net 4.0 to run the tubuntu program)

How much space has ubuntu, how much Android?

5.8gb each

can i change that?

yes, you would need to configure the \config\dualboot.cfg file

locate partition UDA and UBT and replace the size with what you need.

i only own a 16gb tf101. if you have a 32gb. you would have to fix that to work with 32gb to use it's max size

edit:

inspired by this post i will make a custom partition sizer to my tubuntu program for easy sizing in the future release!
[Eee Pad Transformer Android Development] transformador:
Sorry for asking so many questions, but should i do a factory reset?

BTW, cant thank ur last post because i already thanked 8 of your post today and im limited to 8 thanks a day XD
[Eee Pad Transformer Android Development] x3maniac:
haha np, just thank me tomorrow lol J/K

no you don't need to factory reset, this will wipe EVERYTHING! every partition and recreate the partitions from scratch. but this will not touch your sdcard.
[Eee Pad Transformer Android Development] x3maniac:
WOW, just doing some hosting administration stuff on my end, yes i'm hosting this from my own personal domain... normally it would be 200mb - 300mb monthly bandwidth. now from Nov 21 till now went to 198GB! lols i hope my hosting provider wont complain lols. thanks for the support guys didn't think this program was that popular!

p.s. should i look for another host to host the files? if so who?

should i adfly my own domain so i can upgrade it?

-don
[Eee Pad Transformer Android Development] Serkenar:
Testing the new kernel now. No sound, unfortunately, but apart from that all's smooth and nice. No freezes yet. Thank you, x3maniac! :)

Note that you'll have to reinstall Tegra drivers after upgrading the kernel (http://xdaforums.com/showthread.php?p=35186322#post35186322). Otherwise you might have some problems with graphics (I had)
[Eee Pad Transformer Android Development] x3maniac:
:facepalm: i just ran into this issue and i'm like wtf? thanks! reinstalling worked!

have you tried

http://developer.download.nvidia.com/akamai/mobile/files/L4T/ventana_Tegra-Linux-codecs-R16.2.0_armhf.tbz2 codec package for sound? i don't know i haven't tried it yet
[Eee Pad Transformer Android Development] Serkenar:
Tried those codecs, but still no good :(

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

OK, I had a freez... but only after opening lots and lots windows in gnome shell. Let's hope it won't happen unless you do so
[Eee Pad Transformer Android Development] x3maniac:
i've skimmed through the entire jhinta thread on his kernel. the only thing found different was when i make the abootimg i have console = tty0 and his thread says to use tty1. i don't know if that will make a difference but i'm trying to give it a go

http://xdaforums.com/showthread.php?p=25582158&highlight=sound#post25582158
[Eee Pad Transformer Android Development] Kingzak34:
You may take a look for Wuala hosting service ( I you want to, I can give you sponsored link). 5Go+ Free No bandwidth limit. Not like Dropbox that close download when too much traffic
[Eee Pad Transformer Android Development] x3maniac:
do you have to use a program to interface with this host? is a link provided to download?
[Eee Pad Transformer Android Development] Kingzak34:
You have to use one but you can use a "non install one"

And it easily integrate in Windows as network storage

Here you go http://www.wuala.com/referral/CA7PNBGMA37AMJJ3CCFC

If you have any question, you can PM me ;)
[Eee Pad Transformer Android Development] thantos:
Hi All,

Upon request, this is the method for manually installing the custom recovery and updating your kernel to the 3.1 version:

Custom recovery:

- Go into your tubuntu directory copy twprecovery.img, transformer.bct, xlinux, and bootloader.bin into the bins directory

- Load up your command line to your bins directory

- Connect your tablet to your comp and boot into APX mode

- Activate nvflash mode with the following code in command line:

> wheelie -1 -o 0x300d8011 --bl bootloader.bin -c transformer.bct

- Your tablet should now display some text

- Install your custom recovery (twpr) using the following code in command line (5 denotes the recovery partition):

> nvflash -r --download 5 twprecovery.img

- End the flash mode using the following:

> nvflash -r --go

Updating your rom:

- Boot your device up in recovery mode (Volume down + power)

- In TWPR install the desired rom

- Reboot device into android to ensure install was fine

Reload linux kernel to enable ubuntu partition:

- Load up your command line to your bins directory

- Connect your tablet to your comp and boot into APX mode

- Activate nvflash mode with the following code in command line:

> wheelie -1 -o 0x300d8011 --bl bootloader.bin -c transformer.bct

- Install the linux kernel using the following code in command line :

> nvflash -r --download 5 xlinux.img

- End the flash mode using the following:

> nvflash -r --go

When this is all done your tablet should be dual boot capable once again!

Notes:

If you have installed x3maniac's new kernel, you will notice that your touchpad and wifi no longer work. To get wifi working:

- Copy the supplemental kernel .tar file to your external sd-card then copy it into the root directory (meaning: "/") via lxterminal

- Extract the .tar file according to x3maniac's first post

To get the trackpad working, please refer to the post by Serkenar for the rest!

Everything should be up and running!

Thanks to x3maniac for his help and tips on getting everything up and running!!
[Eee Pad Transformer Android Development] TomTcom:
x3maniac!!!

Got the kernel to install. I borrowed the commands from the above post on a whim to see if it would work. I verified the new kernel with uname -a. I also installed the Tegra updates and did the touchpad update. Taking a look at the monitor switch, just wanted to let you and others know.

For the directions for SBK1 users not able to load the kernel just follow the post above from the loading of the kernel section. I copied only what I used, and don't forget the: - Copy the supplemental kernel .tar file to your external sd-card then copy it into the root directory (meaning: "/") via lxterminal

- Extract the .tar file according to x3maniac's first post

Reload linux kernel to enable ubuntu partition:

- Load up your command line to your bins directory

- Connect your tablet to your comp and boot into APX mode

- Activate nvflash mode with the following code in command line:

Code:

> wheelie -1 -o 0x300d8011 --bl bootloader.bin -c transformer.bct

- Install the linux kernel using the following code in command line :

Code:

> nvflash -r --download 5 xlinux.img

- End the flash mode using the following:

Code:

> nvflash -r --go

**one more edit, copy boot loader.bin, transformer.bct , and xlinux.img (the new kernel file) to the bins directory.
[Eee Pad Transformer Android Development] DerSandmann:
Found a fix for the screen turning on and immediately off when pressing power button. Pressing it a bit longer (like 2 seconds) makes the screen staying on.