yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Android Development] jrohwer:
[MENTION=698697]DjDill[/MENTION] are you working on a 14.04 lubuntu image with Tegra drivers based on my kubuntu? If not I might look into it when I have some spare time. But don't want to duplicate efforts.
[Eee Pad Transformer Android Development] DjDill:
[MENTION=3753391]jrohwer[/MENTION]

Yep started working on it on the weekend.. I also want to get a GNOME build done too .. Like the mate desktop with Debian

-- I have also been thinking I should roll this thread in to a Dev thread ... So we can get hosting from XDA & bug tracker.. Easier to focus efforts then
[Eee Pad Transformer Android Development] :
in 14.04 kubuntu, wifi doesn't work, it is recognized as unavailable... i have to enable it manually or it is already enabled?
[Eee Pad Transformer Android Development] Kingzak34:
Type wifitoggle in terminal...

All informations are given here http://xdaforums.com/showpost.php?p=52697775&postcount=303 ...

You've to use cmdline to setup wifi cause as jrohwer saif, the network manager widget doesnt work with the mouse.

Or you've to install Wicd or such.
[Eee Pad Transformer Android Development] :
audio doesn't work but it's a great OS image :) (PS: sometimes, at the boot there is black screen and i have to restart the tablet)
[Eee Pad Transformer Android Development] Kingzak34:
Audio works for me. Maybe not all the time but it works. As described by jrohwer

Tapatalké depuis mon Nexus 4 MIUI !
[Eee Pad Transformer Android Development] :
why not for me :(??

---------- Post added at 06:33 PM ---------- Previous post was at 06:29 PM ----------

@jrohwer [MENTION=698697]DjDill[/MENTION] any audio fix or walkaround? pls :)
[Eee Pad Transformer Android Development] jrohwer:
Read the thread. Have you run alsamixer on the command line and set all the DACL and DACR channels to "on" (unmuted) as well as the DCR channels?
[Eee Pad Transformer Android Development] nbenm:
I have already done all this but still no sound. Sometimes just a click, sometimes noise, but post of the time nothing.

I May be wrong but I think it is kernel related.

Envoyé de mon Transformer TF101 en utilisant Tapatalk
[Eee Pad Transformer Android Development] Kingzak34:
It's not kernel related or not only ( I think ), for exemple, in lubuntu 12.04 sounds work everytime, just sometimes crash and you've to reboot.
[Eee Pad Transformer Android Development] jrohwer:
You can also try the 3.1.10-9 kernel from my rootbind thread. That one seems to work better with sound (at least in my hands) but then the USB and framebuffer is buggy. So you'll have to take your pick.
[Eee Pad Transformer Android Development] jrohwer:
Ubuntu 14.04 base system image

Hi all

Here is an image for an Ubuntu 14.04 base system. It boots to the console. It has all the xserver packages set up and pre-installed correctly. All the convencience scripts are there, the Tegra drivers are installed, firmware for wifi and bluetooth is pre-installed, init script for bluetooth fixed, kernel modules for rootbind kernels are preinstalled. So you should just be able to do

sudo apt-get install lubuntu-desktop
sudo apt-get install xubuntu-desktop
sudo apt-get install gnome-desktop-environment

etc. to get the desktop of your choice. Wifi is off by default so you have to switch it on with

nmcli nm wifi on

and configure it on the command line. Alternatively plugging in an USB-ethernet adapter should work.

User: tf101 (has sudo privileges)

Password: ubuntu

Keep 'em coming, those images :)

Download:

https://drive.google.com/file/d/0B2pBZMfc8dgHZm1BdUhtUHdhMWs/edit?usp=sharing

MD5:

960bc634c6471300a31cd0a051cedc19 14.04-base.tar.gz

[MENTION=698697]DjDill[/MENTION] feel free to link on the OP and to mirror.
[Eee Pad Transformer Android Development] Kingzak34:
Thanks once again, It can be really usefull !
[Eee Pad Transformer Android Development] :
wow thanks :P everything works as the other kubuntu image? :P (PS: HDMI doesn't work on Kubuntu)

---------- Post added at 06:03 PM ---------- Previous post was at 05:20 PM ----------

i'm at the command line but when i writee nmcli -p dev wifi connect BSSID, ubuntu says "Failed to add/activate new connection: (32) Insufficient privileges"... why o.O?

PS: su privileges aren't available, i can't do "reboot" command (it says Needs to be root)
[Eee Pad Transformer Android Development] Kingzak34:
Forgot sudo....

Tapatalké depuis mon Nexus 4 MIUI !
[Eee Pad Transformer Android Development] :
Sudo where? :P
[Eee Pad Transformer Android Development] Kingzak34:
sudo nmcli -p dev wifi connect BSSID
[Eee Pad Transformer Android Development] dasbooter:
fiddling with kubuntu 14.04 I cant seem to add any widgets to the panels either or I am doing something incorrectly...maybe its related to the non control of widgets like the network manager. Definitely a small thing but I suppose worth mentioning. Sound for me seems to be hit or miss too with the .12 kernel.
[Eee Pad Transformer Android Development] zachf714:
I am having the same problem, I want to add the desktop switcher but can't
[Eee Pad Transformer Android Development] jrohwer:
Yes this is unfortunately a limitation and has to do with the non-control of network manager and other "activities". I have not been able to find a solution, and it is also the reason we can't run the plasma netbook interface on the TF101. It does limit the extent to which one can customize the desktop, unfortunately, but personally I am still using it since I run a lot of KDE apps on a daily basis (kate, kile, digikam, krusader, ...) so it makes sense for me to run KDE desktop rather than e.g. LXDE.
[Eee Pad Transformer Android Development] DjDill:
Link to the OP done :).. Thanks for your work! :good:
[Eee Pad Transformer Android Development] zachf714:
I'm glad you pointed me to krusader lol I want to install it on my main system now =P
[Eee Pad Transformer Android Development] folderman:
Hi DjDill,

Using your "Mini 12.04.4 LTS ::: Ubuntu Core with LXDE armhf" Version, I love this one.

Thanks very much!

Rgds,

Kenneth
[Eee Pad Transformer Android Development] jrohwer:
Ever since the days of MS-DOS I was running Norton Commander, and have been stuck on twin-panel file managers ever since...

Krusader rocks :D
[Eee Pad Transformer Android Development] zachf714:
I have gotten sick of nautlis, the gnome team destroyed it lol

Edit - where is our xorg.conf for the nvidia drivers ?
[Eee Pad Transformer Android Development] rivenas:
how do you log in without dock is there a soft keyboard?
[Eee Pad Transformer Android Development] DjDill:
Use lubuntu IMG for now.. No soft key board on kubuntu IMG for login
[Eee Pad Transformer Android Development] rivenas:
ok thanks
[Eee Pad Transformer Android Development] DjDill:
USB dvd support for 10.12 Rootbind kernel.. I just uploaded.. Have fun!

http://xdaforums.com/showpost.php?p=52867460&postcount=317
[Eee Pad Transformer Android Development] DjDill:
[MENTION=4619390]prog19[/MENTION]

Sorry it took me so long to reply. I followed this guide

https://help.ubuntu.com/10.04/serverguide/samba-fileserver.html

I changed the shared folder to /home/tf101/sharefolder <- that folder I created

It was importent to: sudo chmod 755 sharefolder

& sudo chown nobody.nogroup /home/tf101/sharefolder

I was able to share out a folder from the TF101 to the network - I was then able to read and write back to the folder as a guest from EZ on my phone

--- I am also able to browse SMB shares from the tab using file manager and go -> network

I hope this helps you :)
[Eee Pad Transformer Android Development] rivenas:
any chance someone working on a Backtrack or Kali version I do Alot of Pen Testing and this would be awesome.
[Eee Pad Transformer Android Development] DjDill:
Hi .. No one is workling on a http://www.kali.org/ build.. but feel free to build it up your self. I don't know if the wifi driver can be put into injection mode what is required? .. If you dig in to the Dev thread a bit I think someone made a script for it
[Eee Pad Transformer Android Development] rivenas:
OK cool I will look into that sounds like fun
[Eee Pad Transformer Android Development] DjDill:
I am super excited !! Haha

Just about finished building the lubuntu 14.04 IMG off [MENTION=3753391]jrohwer[/MENTION] core image - thanks mate!! :) bloody good work

A few things that I am super excited about:

-sound is heaps more stable (newer v alsa)

-VLC is stable and can play mp3s + very likely smooth DVDs (to be tested soon)

Yaya

-icons are fixed

-splash works

-fixed perms

The latest image will include all the fixes I have found a long the way + new usb DVD / CD modules & USB sound modules

::: I hope to have everything all finished off by tomorrow :)
[Eee Pad Transformer Android Development] Kingzak34:
So much love for our TF !

Thanks a lot mate !
[Eee Pad Transformer Android Development] dasbooter:
Ya the tf101 has a nice form factor for that kind of work. I guess it would be a bonus to have the onboard wifi inject but I would settle for distro running with one of the already working wifi adapters.
[Eee Pad Transformer Android Development] adamczyk777:
My dock including touchpad and keyboard stops working on 12.04 lubuntu. I have to undock, and dock to have it for about 30 seconds. I am using oc kernel. Any advices?
[Eee Pad Transformer Android Development] Kingzak34:
I randomly had this problem on my own img, but no issue with 12.04
[Eee Pad Transformer Android Development] adamczyk777:
Well i'm just charging dock right now. We'll swe 2mrw.
[Eee Pad Transformer Android Development] DjDill:
I have problem only when the tab is getting low batt... Like less then 20% and then it happens all the time
[Eee Pad Transformer Android Development] adamczyk777:
Well my tab does this constantly, it always say that battery os full when undocked, and battery is charging when docked, it is showing pretty often. Touchpad and keyboard stops working until redocking. Can it be caused by OC? Just saying that i have 1,5 GHz OC on android.
[Eee Pad Transformer Android Development] dasbooter:
Lol yea that might be one possibility... Why don't unclock and let us know ;)
[Eee Pad Transformer Android Development] DjDill:
So I haven't forgotten about you all! .. I was going to upload tonight but I managed to rm /bin & /boot :( ... So I am rebuilding again.. Luckily I was able to catch it before it killed my config changes.. I am a idiot! .. Sooo much work just got owned!

Anyway so here is a the good news:

DVD play back works perfectly!

VLC works perfectly

Sound is still buggy - but less so

Headphone jack speaker mute works

+ everything else that worked in the 12.04.4 build, HDMI etc etc

- split screen HDMI

+ more!

Here is the YouTube of the DVD playback

http://youtu.be/ZvE2IeYYqoM

I should be uploading before Friday if all goes to plan :)
[Eee Pad Transformer Android Development] Kingzak34:
Yeah so nice. Thanks!

Tapatalké depuis mon Nexus 4 MIUI !
[Eee Pad Transformer Android Development] jrohwer:
Is the sound any better on your lubuntu than on kubuntu? Or have you not tried the kubuntu img? My kubuntu image also should have the newer alsa, this should be a more low level issue than KDE/LXDE as they all use the same underlying hardware driver. In my hands the 14.04 kubuntu sound has not been stable at all (but then I must admit I have not had the time to try and debug it).
[Eee Pad Transformer Android Development] DjDill:
Yeah still busted.. Just not as bad.. Tired the lubuntu image .. Liked it and wabbly windows :) ..

Re sound issues.. I need a kernel that is stripped of all sound.. So I can build and load the sound modules in manually .. Currently I can't because I get duplicate symbols

I can give you a .config to build or if you can pm / let Mr know your build process for sni kernel with rootbind I can build my self.. I just get hung up on the bind part & oc
[Eee Pad Transformer Android Development] nbenm:
In m'y opinion this is the best way to solve sound issues. It would ne not only possible to choose what module to installe, but to try different parametres.

I am interrested too by the .config file and by the build process.

Envoyé de mon Transformer TF101 en utilisant Tapatalk
[Eee Pad Transformer Android Development] DjDill:
14.04 Released -- see post 1

I will put direct links tomorrow (8+) hours :P

Use torrent!
[Eee Pad Transformer Android Development] jrohwer:
I am building on an Ubuntu amd64 box with the Ubuntu supplied cross compiler (gcc-arm-linux-gnueabihf package from the repos). I then set the following environment variables

export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabihf-

and compile on my Dell latitude laptop (8 core). With make -j 8 it's really fast :)

You should be able to compile off my sources (which are basically forked from Sni and then only overclocking and a few other minor things added in.

https://github.com/jmrohwer/TF101-GNU-kernel (master branch)

The config I use is in the sources as tf101-linux_defconfig, so you should be able to do

make tf101-linux_defconfig
make menuconfig (if you want to change something)
make
make zinstall
make modules_install

I have also modified the install locations in the kernel source since it is not installing the kernel on the local machine. The kernels get posted in ./compiled_kernels.

I am also using Sni's config with minimal modifications (only a few, e.g. lzma compression for the initrd and not gzip, as it gets too big otherwise).

Note: though this was all done on Ubuntu 12.04 with gcc 4.6. I have in the mean time upgraded my laptop to 14.04 which comes with gcc 4.8. I have not tried compiling this kernel with gcc 4.8 so don't know if there are issues, but if there are you could always install gcc4.6 as it is available from the repos as well.

Note 2: The rootbind thing is all done in the initrd. It does not affect the kernel compile. So just extract the initrd from my rootbind boot image, and then use it with your self compiled zImage from the kernel compile, to pack a new boot image.

You're welcome to send me a .config but can't guarantee how soon I'll get around to it... :)
[Eee Pad Transformer Android Development] DjDill:
[MENTION=3753391]jrohwer[/MENTION] thanks so much! One last thing, have you got a copy of the your current .config for 10.12? That would help speed the process for me ;)

The oc add in is from the .config too ? So I appears I was on the right track with my last kernel attempt... Will have to try again tomorrow.. I don't mind waiting for it to compile on the tf101 ;)

Thanks again for the write up, great details :)
[Eee Pad Transformer Android Development] DjDill:
[MENTION=3447252]Kingzak34[/MENTION] have you tired the 14.04? Feedback / things to fix ?
[Eee Pad Transformer Android Development] Kingzak34:
Nope not yet :P

I was waiting for direct links, Downloading right now ! :D
[Eee Pad Transformer Android Development] DjDill:
Wooo .. I was looking at the torrent stats... Already in 1 day its uploaded the image 10 times ... So there is a lot of people who are using but now posting ;) I have a mega link to put up too
[Eee Pad Transformer Android Development] jrohwer:
As mentioned it is in my kernel source as arch/arm/tf101-linux_defconfig. But I am attaching it to this post as well.

No, the OC is in the kernel source. There is nothing to change in the config files but you have to mess with the kernel clocking and timing, as well as the voltages. I messed around quite a bit and the files are commented with all the things I tried. The relevant files are

arch/arm/mach-tegra/tegra2_clocks.c

arch/arm/mach-tegra/tegra2_dvfs.c

Feel free to mess about and post a patch/pull request if you figure it out :)
[Eee Pad Transformer Android Development] DjDill:
Sorry apparently I can't read ;) ... I will have a crack and post my results. Thanks for taking the time to explain :thumbup:
[Eee Pad Transformer Android Development] DjDill:
Sorry everyone!!! .. My QA is not so good.. I purged the hicolor icon theme and it causes issues with the icons..

To fix the icons so your network Manager does not have a big ugly RED icon.. DO this:

rm -r ~/.config/gtk-2.0

rm -r ~/.config/gtk-3.0

mkdir ~/.config/gtk-2.0

mkdir ~/.config/gtk-3.0

sudo apt-get update

sudo apt-get install --reinstall hicolor-icon-theme

sudo apt-get install --reinstall gnome-accessibility-themes

Download the attached hicolour.tar.gz

THEN:

cd /usr/share/icons/hicolor/

sudo tar -zxvf /home/tf101/Downloads/hicolour.tar.gz

REBOOT!! It will all be fixed.. again sorry!.. I have linked this post from post 1 too.
[Eee Pad Transformer Android Development] DjDill:
OK more bugs I have found.. Sorry!

(I will edit and update as I find more)

1. Can't AUTO mount SD cards:

sudo rm -r /media/tf101/

2. Delete key does not work (lock key)

Open Lxsession config via

Preferences -> Default Applications for LXSession

Or run: lxsession-default-apps

Add new entry:

/usr/sbin/mapdeletekey

Then logout and back in
[Eee Pad Transformer Android Development] nbenm:
Hi jrohwer,

I wanted to give it a first try and compile without changing anything but I have the following error:

CC drivers/video/tegra/dc/nvhdcp.o

drivers/video/tegra/dc/nvhdcp.c: In function ‘nvhdcp_downstream_worker’:

drivers/video/tegra/dc/nvhdcp.c:807:3: error: ‘b_status’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

drivers/video/tegra/dc/nvhdcp.c:763:6: note: ‘b_status’ was declared here

cc1: all warnings being treated as errors

scripts/Makefile.build:305: recipe for target 'drivers/video/tegra/dc/nvhdcp.o' failed

make[4]: *** [drivers/video/tegra/dc/nvhdcp.o] Error 1

scripts/Makefile.build:441: recipe for target 'drivers/video/tegra/dc' failed

make[3]: *** [drivers/video/tegra/dc] Error 2

scripts/Makefile.build:441: recipe for target 'drivers/video/tegra' failed

make[2]: *** [drivers/video/tegra] Error 2

scripts/Makefile.build:441: recipe for target 'drivers/video' failed

make[1]: *** [drivers/video] Error 2

Makefile:948: recipe for target 'drivers' failed

make: *** [drivers] Error 2

I was using gcc 4.7 :(

With gcc 4.6 it's ok :)
[Eee Pad Transformer Android Development] nbenm:
Sorry if my question seems trivial to you but how do you do this ?

Archive: Ubuntu-3.1.10-12-rootbind-oc1.2GHz.zip

Length Date Time Name

--------- ---------- ----- ----

312 2013-04-24 22:11 META-INF/MANIFEST.MF

365 2013-04-24 22:11 META-INF/CERT.SF

1714 2013-04-24 22:11 META-INF/CERT.RSA

199 2013-06-03 16:40 META-INF/com/google/android/updater-script

256764 2013-04-24 22:11 META-INF/com/google/android/update-binary

5359692 2013-11-07 14:36 blob

--------- -------

5619046 6 files

I don't see any initrd

In compiled_kernels directory, i have:

lib (dir)

modules (dir)

System.map-3.1.10-12 (file)

vmlinuz-3.1.10-12 (file)

How to build new boot image but how?

There is already the System.map, the vmlinuz, so I need

- the initrd file

- the mean to build the new boot image

Thanks in advance

regards

[EDIT]

Sorry, I have just seen this thread from shaola thanks to Kingzak34
[Eee Pad Transformer Android Development] DjDill:
I used this too.. blob is kernelblob

http://xdaforums.com/wiki/ASUS_Eee_Pad_Transformer/How_to_install_Ubuntu/Ubuntu_Kernels
[Eee Pad Transformer Android Development] nbenm:
Since yesterday afternoon all kernels but one don't boot.

The only one that works is the Ubuntu-3.1.10-9-rootbind.

All others hang at boot.

Here's attached a picture of Ubuntu-3.1.10-12-rootbind-oc1.2GHz boot.

The two last lines "INFO..." and "echo..." are displayed repeatedly.

The Ubuntu-3.1.10-9-rootbind boots but there are error messages.

I need to "I"gnore twice and "S"kip once

/data/linuxroot is 755

Any idea would be welcome

Thanks
[Eee Pad Transformer Android Development] DjDill:
Yep reformat your flash.. Using recovery .. You have will loose your android and data but everything will work
[Eee Pad Transformer Android Development] DjDill:
The other option is to workout how fix the EXT errors you have via CLI in recovery .. I gave up trying and just formatted.. Then everything worked fine. (have a look at the last 4 pages in this thread)

There is another way of getting past if by using a via in fstab.. Like my first build had... But I am not sure how well that would work.. Also means you would have errors still in ext its just ignoring them.
[Eee Pad Transformer Android Development] jrohwer:
See this post on how to check your ext4 filesystem: http://xdaforums.com/showpost.php?p=52740869&postcount=204

I'd definitely try this before reformatting. Been there myself and it sorted everything out.

---------- Post added at 09:15 AM ---------- Previous post was at 09:12 AM ----------

Never seen this but as you say with gcc 4.6 it's ok.

I've just managed to compile my sources with gcc 4.8 so you may want to try that. I haven't tested if the kernel boots but will still do that and get back to you.
[Eee Pad Transformer Android Development] nbenm:
I tried this but I received a message about bad superblock.

So I went to solution above

---------- Post added at 03:53 PM ---------- Previous post was at 03:39 PM ----------

It worked!

I took me a long long time to reinstall everything...

I haven't yet finished configuring apps.

But the good news is that not only it works now, but I have installed, and I have booted on my first self compiled kernel for tf101 ;)

One thing remains, but I didn't have enough time to see what's happening, during boot it complains about missing modules.dep.

I have done a "depmod -a" but still have the message. But it boots.
[Eee Pad Transformer Android Development] DjDill:
Nice :) what did you change add to your kernel ?
[Eee Pad Transformer Android Development] nbenm:
Nothing for the moment, I just wanted to see if I can boot with it.

I'll now try to see what can be done for sound issue. In fact, it was the main reason I tried this.

Envoyé de mon Transformer TF101 en utilisant Tapatalk
[Eee Pad Transformer Android Development] jrohwer:
Glad it works! Re. the depmod, did you copy the modules tree from your kernel compile to your root file system on the TF?

It's under /lib/modules/$(uname -r)

---------- Post added at 10:37 AM ---------- Previous post was at 10:33 AM ----------

Just to reply to self: I can compile the kernel with gcc4.8 and it boots fine! So if you want to send me a .config to try and debug the sound issues, please feel free. With everything set up on my 8-core laptop, it's really no hassle. It compiles in less than 5 minutes :)

BTW I've also compiled an OC kernel to 1.5GHz, it doesn't boot all the time but if it does, it flies!!! See here:

http://xdaforums.com/showpost.php?p=53117254&postcount=326
[Eee Pad Transformer Android Development] nbenm:
Yes I did. I think the problem is that I didn't do that in initramfs (initrd file). I'm going to modify your initrg to add my dir this evening when I'll be back home. I'll post the result.

How lucky you are, it takes me 35 minutes to compile. I use a 9 years old laptop which works fine but I love it.

The .config I used is the one you mentionned some posts before, the one which is is arch/arm/configs/tf101-linux_defconfig.

I'll try this turbo kernel

For the sound issue, I'm not really sure, but I would try a newer kernel as many changes important changes occured in alsa.
[Eee Pad Transformer Android Development] jrohwer:
Oh yes now I know what you mean. That error message is of no consequence though. To get rid of it just recursively copy any of the directories in /lib/modules in the initrd to your $(uname -r). Note however there are no modules files themselves in the initrd. There is simply no space in the boot image and they are not needed in the initrd. The modules.dep is actually an empty file, but if it is there at least it gets rid of the error message during boot. The pain is every time you compile a new kernel with a different github commit, you have to redo the initrd. I only change it on my "release" kernels. As I said that error msg has zero impact on functionality.
[Eee Pad Transformer Android Development] zachf714:
Send me the stuff lol I can compile a kernel in ~3-4 min