[guide] LUBUNTU UPDATE 4.2BL

isaacgaretmia

Member
Aug 8, 2011
45
6
0
My experiences - wifi hack

To anyone still checking on this, I decided to flash this today. Impressive. Seems to be slightly more stable than the other linux builds I've seen for the TF300T.

For those of you who are tired of performing the wifi commands every boot, I've found a way to make ubuntu do it for you. It works for me, YMMV

In /etc/rc.local, add:
sudo bash -c "sleep 1.4;rmmod bcm4329;modprobe bcm4329;" &

this should go before "exit 0" as that line will exit the script and, I believe, is required for successful booting of ubuntu.


In /etc/modules add:
bcm4329


In /etc/modprobe.d/blacklist.conf, add
blacklist bcmdhd

If it's not working for you, try increasing the sleep amount - I tuned mine to 1.4 seconds as that seems to be the lowest amount that works for me.

If anyone finds a way to fix chromium or improve stability, please post here.

Thanks for the work, everyone, and a huge thanks to the makers of the guide! ^.^

Edit 1: Added the other modifications to /etc/modules and /etc/modprobe.d/blacklist.conf
 
Last edited:

Keshukas

Senior Member
Aug 22, 2010
151
50
0
To anyone still checking on this, I decided to flash this today. Impressive. Seems to be slightly more stable than the other linux builds I've seen for the TF300T.

For those of you who are tired of performing the wifi commands every boot, I've found a way to make ubuntu do it for you. It works for me, YMMV

In /etc/rc.local, add:
sudo bash -c "sleep 1.4;rmmod bcm4329;modprobe bcm4329;" &

this should go before "exit 0" as that line will exit the script and, I believe, is required for successful booting of ubuntu.


In /etc/modules add:
bcm4329


In /etc/modprobe.d/blacklist.conf, add
blacklist bcmdhd

If it's not working for you, try increasing the sleep amount - I tuned mine to 1.4 seconds as that seems to be the lowest amount that works for me.

If anyone finds a way to fix chromium or improve stability, please post here.

Thanks for the work, everyone, and a huge thanks to the makers of the guide! ^.^

Edit 1: Added the other modifications to /etc/modules and /etc/modprobe.d/blacklist.conf
Qiuik fix

Edit /etc/init/tf700.comf
Befor last line edit modprobe bcmdhd
To modprobe bcm4328
Save
Reboot

That it. you on net.

Sent from my GT-I9100 using xda app-developers app
 
Last edited:

isaacgaretmia

Member
Aug 8, 2011
45
6
0
Qiuik fix

Edit /etc/init/tf700.comf
Befor last line edit modprobe bcmdhd
To modprobe bcm4328
Save
Reboot

That it. you on net.

Sent from my GT-I9100 using xda app-developers app
..I like that version a lot better. I thought my method was a bit hacky. :D

As for sound, I have a feeling that alsa isn't the problem. I don't think the sound modules are built into the kernel.
Can anyone confirm?

Edit: I also decided to try compiling Synergy as well. Ran into a few problems, but managed to get it to build. If anybody is interested, I can post my workarounds to get it to build. Still working on installing it.
 
Last edited:
  • Like
Reactions: Keshukas

Keshukas

Senior Member
Aug 22, 2010
151
50
0
..I like that version a lot better. I thought my method was a bit hacky. :D

As for sound, I have a feeling that alsa isn't the problem. I don't think the sound modules are built into the kernel.
Can anyone confirm?

Edit: I also decided to try compiling Synergy as well. Ran into a few problems, but managed to get it to build. If anybody is interested, I can post my workarounds to get it to build. Still working on installing it.
Yes me to. I like rabits ubuntu allot
I have fixt installer for 4.2 bootloader
Now we need compile kernel for 4.2 boot loader

When first time install ubuntu on bootloader 4.1 you got sound on headphones. After reboot need to fix alsa setings :(

Sent from my GT-I9100 using xda app-developers app
 
Last edited:

isaacgaretmia

Member
Aug 8, 2011
45
6
0
Yes me to. I like rabits ubuntu allot
I have fixt installer for 4.2 bootloader

Sent from my GT-I9100 using xda app-developers app
That's good news. Are there any fixes which come with the new bootloader? Or is it the same kernel as before?
I'm perfectly fine either way, but it would be a pleasant surprise. ^.^
 

Keshukas

Senior Member
Aug 22, 2010
151
50
0
That's good news. Are there any fixes which come with the new bootloader? Or is it the same kernel as before?
I'm perfectly fine either way, but it would be a pleasant surprise. ^.^
Xubuntu kernel didn't work on 4.2 bootloader. I still tray to compile kernel but i don't got all modules

Sent from my GT-I9100 using xda app-developers app
 

noahvt

Senior Member
Jan 27, 2013
1,673
662
0
Antwerpen
Nothing for 4.2 yet, sorry!


But what bothers me is that if we can dualboot linux and android we should be able to dualboot two versions of android right?
 

JoinTheRealms

Senior Member
Apr 7, 2012
1,940
1,303
143
There is there any news for the new 4.2 dualboot kernel?

Envoyé de mon HTC One S en utilisant Tapatalk
We know the issue and how to fix it, i just need someone with a tf300t to be able to compile a kernel with the correct modules etc.

*Asus changed some framebuffer code in their kernel source that they released with android 4.2, moreD_cn patched the kernel source on the tf700 to revert their changes, this patch (which can be found in Hundsbuahs latest git commits or in the tf700 dualboot thread) should be able to be applied to the tf300t source without issue.

*The other possibility using a kexec method, a few devices have a kexec hardboot patch (including the tf201, tf300t and tf700 (i randomly found someone who had ported opensuse to the tf300t also ported the hardboot patch, although the tf700 one should work fine )) The lastest boot.imgs in the tf700 thread have an initrd capable of loading a kexec kernel for use with linux, i imagine it wouldn't be hard to patch the 4.1 source for kexec hardboot and boot linux using 4.1 kernel and kexec-boot android using a 4.2 kernel.

Nothing for 4.2 yet, sorry!


But what bothers me is that if we can dualboot linux and android we should be able to dualboot two versions of android right?
Again far from impossible, its just finding an elegant solution, this will come in the way of multiboot (orignated on the nexus 7) it should be simple to port it to the tf300t/tf700 I personally am not intreasted in Android on tablets so it serves little use to me.

The only hurdle that needs to be crossed in multibooting android, is a secondairy ROM has to be contained, similar to how we contain linux in an image file. Then we can kexec-boot dirrent kernels that point to different android roms etc.
 
  • Like
Reactions: Insane PPC

Insane PPC

Senior Member
Aug 18, 2008
230
39
0
Granite Falls, NC
i'm wanting to get into this kind of stuff. i have two tf300t (work had them)

i've finally setup a dedicated ubuntu laptop, would really like to start learning this stuff...plus would love to try ubuntu on a tf300 as i think it would be much "neater" to work on then the android system

guess its time to start researching what steps i need to do, any links to share would be awesome
 

aurel33

Senior Member
Nov 21, 2009
72
9
0
Could you add an installation tutorials with the new kernel Graiden05.
The kernel works with bootloader 4.2 and the image of Xubuntu schrdlu.
In android all is functional and stable.
Xubuntu bluetooth does not work.
 
Last edited: