yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Android Development] Kingzak34:
Damn, shame on me, I didnt see we need to download in supplement sni's firmwares.

( You may add it in the thirs post :P )

I'll check it out.

Sorry.

EDIT : Of course it works so well now. :)

Thank you !
[Eee Pad Transformer Android Development] jrohwer:
OK good point, third post updated :)
[Eee Pad Transformer Android Development] Kingzak34:
So I can begin a fresh new install to see how amazing is Ubuntu on the tf with your kernel !

BTW do you think it's possible to patch the same way android kernel to implement rootbind and maybe develop a kind of MultiRom ( cf nexus 7/Nexus 4 )

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Eee Pad Transformer Android Development] mindego:
Word of advice. If your wi-fi is not working after you have extracted firmware, do this:

cp /lib/firmware/nvram.txt /lib/firmware/nvram_4329.txt

I have faced this while trying to get Ubuntu 13.10 works on TF101G. If works. Mostly. No hardware acceleration and sound though %(
[Eee Pad Transformer Android Development] Kingzak34:
I got sound working I don't remember how cause I did my setup ages ago. But I'm making fresh install so I'll report if I remember.

BTW I didn't success to boot my build my own raring core rootfs as I use to do with tomtcom guide. Can this be related to kernel ? I mean like 13.10 didn't boot some times ago ?

* Tapatalké depuis mon Nexus 4 MIUI ! *
[Eee Pad Transformer Android Development] jrohwer:
To get hardware acceleration, install the Ubuntu nvidia-tegra package, or if you are not running Ubuntu, get the drivers from the Nvidia Linux-4-Tegra site. Restart X.

To get sound working, install alsamixer and max out all the DACL and DACR speaker output channels.
[Eee Pad Transformer Android Development] jrohwer:
Are you talking raring (13.04) or saucy (13.10)? I am running raring all the time and it boots fine. There was a problem with the previous initrd in that it would not boot anything after 12.04 but I sorted that out months ago, so it boots 12,04, 12,10 and 13.04. I haven't had a chance to upgrade my install to 13.10 and am very busy in the coming weeks, so won't have time to test. But why don't you make a backup of your current 13.04 install (with rootbind, it's easy under android using "tar"), then try to upgrade to 13.10, and if it does not work, just restore your 13.04 backup with tar?

In any case please report if it works or not for 13.10. I might have to make some changes to the initrd.
[Eee Pad Transformer Android Development] Kingzak34:
Yup, I'll try it ASAP.

Actually, I was trying to follow TomTcom guide for building 13.04 rootfs for our TF. It worked when that was nightly build, but I tried with the released one, and after usual kernels messages, nothing. Just underscore blinking and "Idontrememberwhatis stuck for more than 120 sec, type blabla to disable this message. And the core IMG I made without GUI, I cant get wifi working on it ( I did on my current setup on my SDCard that I puted in rootbind, but there is many things dirty I wanted to have a new fresh install ).

Anyway, I'll try again. And see.
[Eee Pad Transformer Android Development] mindego:
It works! It is not possible, however, to use Unity or Gnome (i think that is because no HW acceleration), but is there are no problems with XFCE or LXDE (or openbox, if you feel overgeeked).

Have no success with sound, however.

And it is not possible to use Tegra drivers due a too-recent ABI
[Eee Pad Transformer Android Development] Kingzak34:
Gnome session fallback should work great :)

Thanks for the info anyway. So there is no reason to upgrade yet ?

(BTW, Tegra 2 will not be supported anymore by L4T in next version, so I think 13.04 is the last "good" version if abi on 13.10 are too recent ?)
[Eee Pad Transformer Android Development] zachf714:
Yes tegra2 is been dropped but from what I have experienced I was never able to get full accel on 13.04 either
[Eee Pad Transformer Android Development] mindego:
I have tried that. nvidia-tegra package was installed successfully and (according to X logs) drivers were successfully loaded, but they made things even worse. Missing symbols everywhere, screen distortion, no letters in terminal.

As for sound, DACL and DACR speaker channels were not found in alsamixer, Closest thing is "DACL (and R) sidetone"

Well, it is working enough for my intentions (to compile qcroundcontrol and try to use it with ar.drone)
[Eee Pad Transformer Android Development] Kingzak34:
Not full HW but better than nothing
[Eee Pad Transformer Android Development] zachf714:
Jrohwer has full hwaccel
[Eee Pad Transformer Android Development] Kingzak34:
Full full full ? I mean, 2D Games working right for exemple ?

( I only got "Software Renderizer" ( Something like that ) that's a part of why I want to do a clean install )
[Eee Pad Transformer Android Development] zachf714:
He has 3d animations as such like cube desktop
[Eee Pad Transformer Android Development] Kingzak34:
Damn, I keep starting from ubuntu core for a fresh install, but I CANT get wpa supplicant to work. Does anyone knows why ? It's the only way I know to configure Wifi in cmdline ( I can tel it worked previously )

I only got this : http://cjoint.com/13nv/CKowSM012r9_img_20131114_223332.jpg

( Yeah I know, I allways have problem :roll: )
[Eee Pad Transformer Android Development] jrohwer:
I assume you guys have read this thread since you posted in it as well :)

http://xdaforums.com/showthread.php?t=2419974

In any case it may be worth revisiting as all the pertinent stuff is in there. It's only 28 posts :)

Hints:

es2_info

es2gears

kwin_gles
[Eee Pad Transformer Android Development] jrohwer:
Have you checked with ifconfig that you are actually calling the correct interface (and that it's not wlan1 by chance)?

Also BTW you don't need to run sudo at a root prompt :)
[Eee Pad Transformer Android Development] Kingzak34:
Yes I saw this thread ( didn't see this post but almost overlooked the thread )

And i get Software Rending as described in 2nd or 3rd post and didn't get tegra rendered so that's why i want to clean install. :)

Yes I know :p kind of reflex.

ifconfig is not recognised ( not installed )

But yes its wlan0.

BTW when I look the 70persistant net file, it recreate with nvram Mac address but when i debug WPA supplicant it talks about real adress Mac. Don't know if its normal

* Tapatalké depuis mon Nexus 4 MIUI ! *
[Eee Pad Transformer Android Development] jrohwer:
Yes, the MAC address in my 70persistent file (00:90:4c....) is also different from my "real" MAC address (04:46:65:...). However it still works. But can you bring up networking without ifconfig being installed? Never tried this...
[Eee Pad Transformer Android Development] Kingzak34:
I followed TomTcom guide http://xdaforums.com/showthread.php?t=2183376 to build my rootfs and then this one http://xdaforums.com/showthread.php?p=37803357 ( Stuck at wifi setting step )

That it used to work with previous kernel ( I made my installation on SD card with it )

(Of course, I copied nvram in nvram_4329, did depmod -a, extracted firmware and modules etc )
[Eee Pad Transformer Android Development] zachf714:
buy me a tf700 lol jk, what are the specs on the 700 again I forgot

---------- Post added at 08:35 PM ---------- Previous post was at 08:24 PM ----------

Hey where exactly do I load in the new wifi network drivers in /lib/modules
[Eee Pad Transformer Android Development] JoinTheRealms:
They are pretty cheap now since the release of the tf701. The tf700 has a quad core T33 Tegra 3 soc, 1gb ddr3 ram, 1920x1200 screen. Its bottleneck is rather slow IO but with custom kernels this is hardly an issue.

We now have something called kexecboot, which is a grub2-like second stage bootloader, It allows for a multiboot of many different distros off different media (internel, external sd card, usb etc)

Im gonna dust off my tf101 and slap some linux on it later today and see how it compares. As a performance comparasion the TF700 can soft-decode a 720p .mp4 at 30fps
[Eee Pad Transformer Android Development] zachf714:
I am having trouble with WiFi personally ... Probably put the drivers in the wrong spot
[Eee Pad Transformer Android Development] jrohwer:
Sorry for late reply. Been out of town. You don't need modules for the latest kernel I compiled (see post #3). The wifi drivers are compiled into the kernel and don't need additional modules.
[Eee Pad Transformer Android Development] zachf714:
Maybe that's why its not working lol
[Eee Pad Transformer Android Development] zachf714:
post 3 says" N.B. If you use this kernel you will have to copy new firmware for the wifi driver into /lib/firmware. Get it from Sni's post (link above)."
[Eee Pad Transformer Android Development] jrohwer:
There's a difference between kernel modules and firmware. Kernel modules are files ending in *.ko and they are not needed for the latest kernel as the drivers are compiled in.

The firmware I am referring to is the bcm4329.tar.gz file supplied by Sni which has to be extracted into /lib/firmware. It contains a *.hcd file for bluetooth and three fw_*****.bin files which are required for wifi. You do need these.

So these are two different things!

HTH :)
[Eee Pad Transformer Android Development] zachf714:
Thanks, do they get extracted to the same dir as the modules
[Eee Pad Transformer Android Development] jrohwer:
Read my post which you are quoting :)
[Eee Pad Transformer Android Development] zachf714:
I DERPED lol thanks =)
[Eee Pad Transformer Android Development] folderman:
Hi All,

It is great that I can boot to ubuntu by using rootbind method, however, I have a question:

1. according to step 7 on the first thread, I should be able to boot back to android, however, any detail step to achieve?

Thanks a lot!

PS. this method is really great to run ubuntu in tf101 :laugh:

Rgds,

Kenneth
[Eee Pad Transformer Android Development] Kingzak34:
Just flash your Android ROM kernel to go back to android.
[Eee Pad Transformer Android Development] moto211:
I've tried this multiple times with several different Linux images and every time the Linux boot gets stuck. Pretty sure that I've followed the instructions to a T. Any tips?
[Eee Pad Transformer Android Development] jrohwer:
Any more specifics? What do you mean by "gets stuck"? Can't offer any advice without more info.
[Eee Pad Transformer Android Development] zachf714:
I think he means black screens.. Mine has done that on the new kernel as well but what ever ? old kernel works fine
[Eee Pad Transformer Android Development] jrohwer:
Yip, or if working USB or framebuffer are important, use the non-overclocked kernel @1GHz which is also in the 3rd post.
[Eee Pad Transformer Android Development] Kingzak34:
I've these black screen too but almost never when keyboard is not connected.

* Tapatalké depuis mon Nexus 4 MIUI ! *
[Eee Pad Transformer Android Development] moto211:
It's gets stuck during the text portion of the Linux boot.

I'll try again without the keyboard connected.
[Eee Pad Transformer Android Development] folderman:
Hi All,

I am upgrading to 3.1.10-10, I have installed the firmware to /lib/firmware, copying the nvram.txt to nvram_4329.txt.

However, my wifi is still not working.

If I typed "ifconfig -a", it shows the wlan1 interface, but if I typed "ifconfig", it is not.

For my understanding, if the module/firmware (in this case, firmware) is properly working, the wlan interface would be shown up when I type "ifconfig" only.

Anything I have missed?

Thanks!

PS. I am using rootbind method, together with the net-install image (v0.7). It is working fine if I use 3.1.10-9.

Rgds,

Kenneth
[Eee Pad Transformer Android Development] jrohwer:
Try deleting the file

/etc/udev/rules.d/70-persistent-net.rules

(as root) and then reboot. (The updated wifi driver has a different MAC address and causes udev to assign a new interface name. )
[Eee Pad Transformer Android Development] jrohwer:
Does it throw any error message which you could post here?
[Eee Pad Transformer Android Development] folderman:
Hi OP,

Firstly, thanks very much for your reply. I can see the wlan0 when I type "ifconfig"

However, when I play with 3.1.10-9 and 3.1.10-10 kernel, both of them have problem, here are the findings, see whether anyone having such problems:

Background: Using net-installer v0.7, select GDM and gnome during installation

Problems when using 3.1.10-9:

1. When I am using 3.1.10-9, the sucessful boot up rate is less than 25%, usually, the kernel halt when displaying the GDM, or if I am lucky to type the login/password, it halts after pressing Enter.

2. However, if I am lucky enough to login, Wifi is working without any problem, I am happy with this situation, but rarely to be happen

Problems when using 3.1.10-10:

1. Almost 100% can be login (Happy with that)

2. However, the wifi doesn't work, I have installed the firmware, copied the nvram.txt to nvram_4329.txt, deleted the 70-persistent-net file. The wlan0 interface can be shown when I type "ifconfig", however, no IP can be got. I am pretty sure that the wpa_supplicant.conf file is correct as I can use the wifi when I am using 3.1.10-9

Problems with both version:

1. It seems that during the bootup, the mountall process always complaining "mountall: fsck / [330] terminated with status 8", I have to select "I" for ignore that.

2. During the boot time, the network configuration show that "Waiting up to 60 more seconds for network configuration"

Am I the only one face the problems?

Any insight to me?

Thanks a lot!

Rgds,

Kenneth
[Eee Pad Transformer Android Development] Kingzak34:
Did you do "sudo depmod -a" after extracting firmware ?

You must extract it, then sudo depmod -a then reboot and if you allready copied nvram.txt as nvram_4329.txt it will works. I got it working on Netinstall
[Eee Pad Transformer Android Development] folderman:
Hi Kingzak34,

Yes, I did that. still no hope.

Rgds,

Kenneth
[Eee Pad Transformer Android Development] folderman:
Hi Kingzak34 and OP,

I finally solved the problem accidentally.

I have flash KatKiss ROM (Yes, by OP, thanks!) and update the TWRP to the latest version.

Seems that both kernel version runs well. Wifi works, the mountall process didn't complain.

The only stuff is during boot time, the network configuration process takes 60s to complete.

Rgds,

Kenneth
[Eee Pad Transformer Android Development] Kingzak34:
Nice to hear. A bit strange maybe old recovery can't load new kernel fine.

For the 60s if you set up a working WiFi connection it should not show again.

* Tapatalké depuis mon Nexus 4 MIUI ! *
[Eee Pad Transformer Android Development] folderman:
Hi,

I have almost finished my tuning, I finally modify the /etc/init/failsafe.conf, change the "sleep" value in order to speed up.

Just a quick question, after booting GDM/Gnome and login, I find that the system used up to 300-400M of RAM, is that normal? Because I used LXDM/LXDE in my netbook, it takes about 100M-150M after bootup.

Thanks!

Kenneth
[Eee Pad Transformer Android Development] moto211:
On boot it goes through the text portion then goes to another text screen and stops on:

plymouthd: ply-terminal.c611: ply_terminal_open: Assertion 'terminal != ((void *)0)' failed

Then after a couple minutes I get:

[ 245.824432] INFO: task kinteractive:59 blocked for more than 120 seconds.

[ 245.824805] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

These two lines repeat every 2 minutes with only the time entry at the beginning changing (+120)
[Eee Pad Transformer Android Development] folderman:
Hi moto211,

Are you using Tubuntu image? I had the same problem before, after using net-installer image, it works without problem.

Rgds,

Kenneth
[Eee Pad Transformer Android Development] zachf714:
Gnome is a ram hog =) you could reinstall and do a lxde install it would use less ram
[Eee Pad Transformer Android Development] jrohwer:
Every time you flash change between 3.1.10-9 and 3.1.10-10 kernels you will find that your wlan interface changes, as the drivers for the wifi interface generate different MAC addresses (the bcm4329 vs bcmdhd driver). Whatever you flash first, gets assigned wlan0 and then when you flash the new one it gets wlan1. You can "reset" this by deleting the file /etc/udev/rules.d/70-persistent-net.rules (this file stores the MAC information and relates it to an interface number). This means that if you use wpa_supplicant and manually assign an interface (e.g. wlan0) in the config file, it will work for the one and not the other. Personally I use Ubuntu's network manager and it works just fine for both (you just need to configure it to use any available interface).
[Eee Pad Transformer Android Development] damaru:
= Sorry for the noise just had a problem with my clockwork recovery that removed the possibility to flash the kernel =

Everything goes well for the copying and writing in the /data/linuxroot

My only problem (quite noob I guess) is the flashing of the kernel. I am on katkiss - and I try to flash the kernel.

I boot in recover, install from zip from the ubutu-3.1.10-rootbind.zip it says it's all working, I clear cache and davlik

but when I reboot it just start in katkiss rom.

I know it's a basic thing I am missing (basic knowledge) but would really appreciate a kick in the right direction.

Just to be clear - the blob.img is only there if I wanted to copy it to the staging partition ? Otherwise I wouldn't need it right?
[Eee Pad Transformer Android Development] DjDill:
taking a stab

Firstly I would like to start off with thanking jrohwer for making this kernel :) .. Top Job mate! Oh and Happy new year, ::Bump!

I have been a big user of the tubuntu images from x3maniac...

I was reading through the thread yesterday and gave it a try - I was trying the tubuntu image, however after reading all the fun that [MENTION=3447252]Kingzak34[/MENTION] had I moved to netinstall .7 .. Got that working with some of the posts in this Thread.. Copying the txt file etc - However it took a bloody good long time to install.. One of the things I like about the images that are already prebuilt, is we flash them (or unpack them in this case) and they are ready to go..no waiting 2 hours for everything to download (yes I am in Australia and the mirror is far far way) - Also helps if something goes wrong and you need to reflash..

I also had issues with the network-manager not working after I posted back to Ubuntu.. was easy to get working as I had the same problem in the last few images that I have used.. Kill off wpa_supplement and then restart network-manager.. Woohoooh!

So its working now but slowly, I would like to know if anyone found a lubuntu img that can be used... I am guessing we can't just go to the arm page and download that and unpack it?.. (driver support etc?) :confused:

http://cdimage.ubuntu.com/lubuntu/releases/13.04/release/

My second question nvidia drivers.. and 3d support... I installed them last night.. and the my touch pad stopped working.. Also I still could not render 3d.. Does any one have any experience with 3d support?
[Eee Pad Transformer Android Development] jrohwer:
Have you had a look at this thread?

http://xdaforums.com/showthread.php?t=2419974

I have posted extensively in that thread and gone through most of the troubleshooting issues. The latest rootbind kernel 3.1.10-12 (at the beginning of this thread, post #3) has hw accelleration fixed. If you use Ubuntu 13.04, you can install the nvidia-tegra package from the repos and it should work out of the box, you don't have to get the drivers from the nvidia website.
[Eee Pad Transformer Android Development] interw:
I still use tubuntu by x3Maniac...

Would like to try this, but being a relative noob, I find it very daunting. If someone could kindly suggest an image which would work out of the box, with jrohwer's kernel, it would be great.

The options, flexibility, and the tremendous hard work is obvious. However reading the experiences of seasoned users like Kingzak34 and mods they had to carry out for a working system is not for the fainthearted.

I miss the TomTcom and Kingzak34 tutorials they did for the tubuntu thread, for mortals like me.

I have a tf101 sbkv1.
[Eee Pad Transformer Android Development] Kingzak34:
In order to use this kernel, you can still use your current Ubuntu setup

For that, you can use tuto in first post :

Under Android do :

Where the "X" is Ubuntu partition, dont remember wich it is, I think it's 8, need confirmation.

Now :

If you want to backup it in a tar in order to repartitionate as stock ( It will erase everything so this make a backup of Ubuntu ) :

If you do that, you'll have a tar file with all your Ubuntu file system backed up. That way if you want to reformat whole tab, your Ubuntu is backed up and can be restored, it's like a Nandroid backup for ubuntu. ( Only necessary if you want to reformat whole tab )

After that you'll just have to do some little things to get Wifi working, shouldnt be hard.

( Anyone correct me if I'm wrong )
[Eee Pad Transformer Android Development] interw:
Much appreciated, this is just the sort of help I needed, Thanks.
[Eee Pad Transformer Android Development] DjDill:
Thanks Jrohwer, after lots of fun I found this image:

Lubuntu 12.04. http://www.ulozto.net/xauaj1b/ubuntu-img-gz

I don't know who to thank for the image but it does work very well..:cool:

From here: http://xdaforums.com/showthread.php?t=2167224

(Your last link).. The password was ubuntu for the root user.. Everything appears to be working very well.. its a 12.04.4 image. With Lubuntu installed by default - The patches are disabled by default, so they need to be enabled..

Also used this line to get opengl... sudo apt-get install libgl1-mesa-swrast - I have to say everything appears to be working well..

I don't know if it feels any faster then the Tubuntu image that I had installed before with the 2.6 kernel - But I like having a stable 3.1 kernel with usb support ;) well Done my good man! :good:

I am get the same issue that [MENTION=3447252]Kingzak34[/MENTION] was having with the file system being reported broken on boot.. But pressing "i" gets past it fine.

I also got owncloud-client working fine by including the Debian repository.. Ubuntu's repos don't include a lot of pre compiled apps...
[Eee Pad Transformer Android Development] DjDill:
[MENTION=4680321]Aminpro[/MENTION] .. You don't need to extend the partition any more with this kernel.. If your using boot mount.. The free space comes directly from your android space.. Do this in Linux: df -h ... And paste here

Re wifi.. I was able to get it working with netboot .7 with the nvram_4329.txt change and firmware / modules on the first page.. Have a good read of jrohwer second post and links.. If you want to use a fully built lubuntu image.. Check my post out a few back.. For the download link.. Very easy and posts to GUI:good:
[Eee Pad Transformer Android Development] Aminpro:
I'm not sure if I should call it a partition or folder but I've followed exactly the instructions from post #1. I think that would mean that the free space does comes directly from the Android space.

It was fresh Netboot .7. Here is the df -h output.

Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p7 13G 3.9G 9.0G 31% /
udev 362M 4.0K 362M 1% /dev
tmpfs 145M 832K 144M 1% /run
none 5.0M 0K 5.0M 0% /run/lock
none 362M 0K 362M 0% /run/shm

Maybe if I can't find a way to solve this wifi problem then I'd give the lubuntu image a try.

And I noticed that the partition problem only appears if I used a netinstall image. Other images including my debian don't have the partition problem.

Thanks
[Eee Pad Transformer Android Development] aminpro715:
I feel like crying because everything works perfectly now! :D

Used the Lubuntu(@DjDill refered on post above) image, loaded the new kernels together with the new firmware renamed the nvflash.txt

This image works perfect with the new kernel!

Thank you for your support [MENTION=3753391]jrohwer[/MENTION] and help for making this possible!
[Eee Pad Transformer Android Development] DjDill:
I was pretty happy when I found the lubuntu IMG too... Everything just works.. The patches are out of date so male sure you go in to the software center and trick them on.. Sec, rec

:)