yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T Android Development] JoinTheRealms:
The main issue moving forward is the lack of xabi support in the tegra drivers from nvidia, it forces us to hold xserver versions back to stay compatible with these drivers, this poses other compatibility and security issues.

It's doubtful nvidia will update these drivers further which is a shame. There is a possibility of using hybris ( https://en.wikipedia.org/wiki/Hybris_(software) ) so we can use our android graphics drivers to drive a Mir/ Wayland backend, maybe something for the future:good:
[Transformer TF300T Android Development] gs-crash-24-7:
Hybris seems great, one problem although it has to be implemented. And as usual in development it won't be easy. I could take a look at it but it will require a new rootfs and kernel I think
[Transformer TF300T Android Development] J0SH1X:
how to

boot from usb drive it just says press any key to unmount
[Transformer TF300T Android Development] Lirkaren:
The first post seems outdated and I'm guessing the instruction there is aswell? Is there any step by step guide the flash this on the tablet with dual boot? I looked at some posts a few pages back in the thread but for a noob like me it's hard to understand everything... right now my tablet is just lying there but with Ubuntu on it the tablet might be usefull again if it's possible to install Mathematica on it so I don't have to carry around my laptop. :)
[Transformer TF300T Android Development] tux-friend:
To use your tablet probably just as a paperweight would be definitely quite pity because there is much more potential in your machine, especially with Linux and dual boot ;)!

Unfortunately, there is no updated step by step guide so far but try to follow my posting #662. It will lead you to the right directions.
[Transformer TF300T Android Development] ch3mn3y:
So I have problem with makingbackup of ext-data partition using TWRP, but thought about making archive of it as a backup.

I would use tar -zcvf xubuntu.tar.gz /sdcard/1p2 (or /data/media/0//1p2)

The problem is that even after mounting, folder 1p2 is "empty" (at least for Solid Explorer).

Will Terminal create archive of all the files from mmcblk1p2 partition if I mount it to this folder and than run above command?
[Transformer TF300T Android Development] t3chwizard:
Working on this. Keep up hope.

---------- Post added at 07:34 PM ---------- Previous post was at 07:33 PM ----------

Does anybody have any mirrors for the files in the first post?
[Transformer TF300T Android Development] Keshukas:
Hi

I need to check my old pc I think I heave
[Transformer TF300T Android Development] Zangieff:
Guys, any news on this?
[Transformer TF300T Android Development] ch3mn3y:
It works fine. There are some small bugs, but they are not big enough to make me stop using it.

Only annoyance is ARM CPU as it limits number of working apps. But it cannot be changes...

Sent using XT1562 - Resurrection Remix/Optimus Kernel
[Transformer TF300T Android Development] cristobal.digital:
Hello,

Are there any news? Or are the same given in the post by [MENTION=4254806]ch3mn3y[/MENTION] April2017?

Is there a list somewhere about the working programs and their versions?

Until recently, I finally got the dock for my aged TF300T tablet. I am exploring this option

Thanks in advance!
[Transformer TF300T Android Development] skunkjoe:
Thats funny, I also just bought the keyboard dock and would like to use the tablet for doing some arduino stuff at the makerspace.

Are there still files/images for our tablet online, somewhere?
[Transformer TF300T Android Development] ch3mn3y:
You mean files needed for xubuntu? Should have them somewhere.
[Transformer TF300T Android Development] skunkjoe:
Sounds good :highfive: ! Do you have a link or can you upload them?
[Transformer TF300T Android Development] ch3mn3y:
There should be links, but dunno where and how to find them. Will upload, but first have to find where I have them (not sure if on SD or some HDD). But will do this not faster than after work and some sleep (it's 12:40 AM here).
[Transformer TF300T Android Development] t3chwizard:
Oh how times have changed, I ended up replacing the motherboard in the tf300t a few years back, this time I made an nvflash blob to save my butt if necessary though to prevent another useless paperweight. I now am digging back into getting linux on it due to covid etc. I will be mirroring any files I come across to androidfilehost as well
[Transformer TF300T Android Development] shamid1369:
Hey guys

links not works anymore

have you mirror? or link working now?
[Transformer TF300T Android Development] zaki0saad:
TF300T users got it working? Or just TF300TG for now?
[Transformer TF300T Android Development] Keshukas:
Re: [DEV][WIP] xubuntu on tf300tg 0.1.0

Yes I heave TF300T and no problem.

You can use without keyboard and mouse. I heave tray that with virtual keyboard.

P.S. doesn't work on android 4.2 only on stock 4.1
[Transformer TF300T Android Development] zaki0saad:
Right, thank you!
[Transformer TF300T Android Development] **Menos**:
I packed kernel and image archive for flashing from Recovery.

You only need to mount system and data and set the archive. Next you will have installed Xubuntu.

Enjoy it! Xubuntu 0.1.1 for Recovery
[Transformer TF300T Android Development] schrdlu:
Thanks, good to know it somewhat works.

It's of course not a full desktop system, but cpuwise, each core is maybe 2/3 of a celeron M 1,5 and slow as it is the ssd or a fast microsd seems to be somewhat better than a 4 or 5 years old notebook hd. Enough to run xubuntu.

I'm following that thread and may try sometime in the future a kernel dedicated to ubuntu, but found it convenient to try to maintain android support (It may be possible to have both on the same system, with going to android as easy as logging out of ubuntu, but that needs android support ; at least I checked that it's easy to launch android chrooted from ubuntu in console mode).

I don't reproduce that : pavucontrol doesn't show any hardware device, but alsamixer show them ; of the two cards in /proc/asound, alsamixer doesn't seem to know how to handle card0 but proposes many controls for card1 ; without effect on sound output, but that may be attributable to pulseaudio. It seems that my sound controller is reported as an rt5631. and there are alsa configuration files in /system/etc which may be of use.

I have experienced something similar but didn't move to the next room.

Interesting. I checked and the mac address for the wifi board is not the same in android and linux. Which seems to confirm that the nvram which is loaded is not the good one (in the kernel config file, the driver's nvram is loaded from /system/etc, but the mac address under android corresponds to the content of nvram in /data/misc/wifi).

I'll check that in details.
[Transformer TF300T Android Development] rickavers42:
The TF300T's processor busts out more than a core 2 duo when clocked at 1.7 GHz. Once we have a fully functional distro, I'll be wanting to abandon android. It's definitely not a suitable windows or linux replacement.
[Transformer TF300T Android Development] schrdlu:
Thanks, but I'm not sure about that. Although I didn't check your archive yet, I'd prefer not having different distributions which may render diagnostic more complex (at least for now).

I also insist that proposed evolutions are fully documented in the thread so that everyone can reproduce the building and packaging from scratch.

Thanks (and I don't wan't to be harsh : your proposed download is a good thing, which I wanted to look into later, so its good that you looked into it ; if you explain it :)
[Transformer TF300T Android Development] **Menos**:
This archive simply copies itself copies the image to the plate and he sews core. I'm in your way have not changed anything.
[Transformer TF300T Android Development] ColMustard:
I can't use alsamixer it just hangs. Looking at the system/etc/asound.conf on Android, it shows reference to an rt5640. So it appears that the TG has a different card than the T version, which explains why the sound works for the TG folks using Arch Linux and not the T folks.

I believe card0 is for HDMI audio out and card1 is the actual sound card.

What does aplay -l show you for sound cards?
[Transformer TF300T Android Development] Keshukas:
Re: [DEV][WIP] xubuntu on tf300tg 0.1.0

+ 1

We testing an helping with some fix or some info. When we heave some good progress, then time to make zip packet for flash to tf300t*

I think.
[Transformer TF300T Android Development] schrdlu:
Those who have been having problems with wifi, can you check how it works with the following kernel ?

I have just changed the bcm4329 module setting so that it loads /data/misc/wifi/nvram.txt instead of /system/etc/nvram_bcm4329.txt as was configured in the stock kernel (CONFIG_BCM4329_NVRAM_PATH="/data/misc/wifi/nvram.txt" in config). Will have to look at android init to see what it does to this module when loading it).

http://d-h.st/YWY

5594a9a034218bce077719150298ae12 xubuntu_tf300tg_kernel-0.1.1w.blob
[Transformer TF300T Android Development] tailormoon:
I test now
[Transformer TF300T Android Development] schrdlu:
I also have those references to rt5640 in /system/etc/asound.conf.

Here is a complete dump of alsa-info.sh : http://www.alsa-project.org/db/?f=88d13697b7923e31b6f373c4317b7969d9a29263

I seem to remember having some sound when I first started rabit's tf700 ubuntu (0.8.0) on my tf300tg. Not sure about it, or of the state my tablet was in...
[Transformer TF300T Android Development] matonka007:
Yes, it is working now, thanks :)
[Transformer TF300T Android Development] Keshukas:
Re: [DEV][WIP] xubuntu on tf300tg 0.1.0

"Rabit Ubuntu" on me TF300 with only kernel.blob and rootfs.img first boot - heave sound only on headphones ;)

Second boot = no sound :(
[Transformer TF300T Android Development] rickavers42:
Why is it that the devs who are making linux distros are the only ones who don't update their first post? That's why so many people had a hard time finding the correct image for Arch Linux.
[Transformer TF300T Android Development] ColMustard:
Probably because it's a WorkInProgress. The dev is just trying to get the majority of the early adopters working. I imagine once the base is sorted out, the OP will be updated. The whole process of WIP is always fragmented until a final release is produced.
[Transformer TF300T Android Development] schrdlu:
You are both right : there are good reasons (or excuses :() for not updating the first posts, notably that there is not so much which as changed. But they are not really good reasons either :).

I'll update the next time I push something (and if I find out how to rename the thread too :))
[Transformer TF300T Android Development] realaxed:
donation link?

Might want to setup a donation link if that would help. You can put a paypal email in your profile and then people on the forums can easily donate to you.
[Transformer TF300T Android Development] JoinTheRealms:
Hey just thought id throw it out there, I got a lubuntu image from here working with your kernel, everythings working other than the touchscreen. Might be something you guys can use from it ?
[Transformer TF300T Android Development] realaxed:
Can you explain what you did to get it working? Think it will work with the kernel in the archlinux thread?
[Transformer TF300T Android Development] JoinTheRealms:
Just need to extract and rename it to rootfs.img and replace it with the xubuntu rootfs, then flash the xubuntu kernel. I tried the fire-hybrid kernel but it bootlooped, haven't tried the original archlinux kernel tho

note, the image is setup for the tf101 so some bugs may occur don't really know, also seems to needs the ac100 kernel modules or something as does return some errors with apt-get but its over my head lol.
[Transformer TF300T Android Development] zaki0saad:
Sorry, is the rootfs.img meant to be very large? It's 4.3GB with me and wont copy to the internal storage..
[Transformer TF300T Android Development] schrdlu:
There definitly should be something to learn from it. Thanks ! I'll check it out.
[Transformer TF300T Android Development] matonka007:
Sound is working??
[Transformer TF300T Android Development] JoinTheRealms:
I havnt checked yet, should just need to be enabled in alsa mixer.
[Transformer TF300T Android Development] x3maniac:
hey do you happen to you have your kernel sources, i'm trying to help JoinTheRealms get his tf300 working.

- 3g under android

(might need to install network-manager-ppp to get this to work)

- bluetooth

(you need config files from android to setup mac address and what not to get this to work)

- touchpad / touchscreen

(depends on kernel, i have to see if it has the correct sources)

- some key remapping (esc, alt, ...)

(asusec from kernel sources can change the mapping. (for now you can use xmodmap -e "keycode 150 = delete") to map back button as delete)

i don't own a tf300(i wish i did) but i developed the kernel for the tf101 so i have a little experence with this. i could be wrong but i wont be able to test. i'll try to help support this as much as i can

-don
[Transformer TF300T Android Development] dragonnn:
schrdlu which module do you use on xubuntu to get wifi working?
[Transformer TF300T Android Development] schrdlu:
Hello, and thanks for your interest. The source I've been using is unmodified from asus 10.4.3.9 (http://dlcdnet.asus.com/pub/ASUS/EeePAD/TF300TG/kernel_10_4_3_9.zip) with a slightly modified config (check the first post, the config is in src.tar.lzma). I'll try to take some time to document the changes.

As for what is working with this thread' combination of kernel and rootfs :

- 3g is already working in ubuntu and android (on the 300tg) ;

- touchpad and touchscreen is working (with xserver-xorg-input-multitouch and mtev for the touchscreen, mtev directly from rabit's tf700 ubuntu) ; I'm somewhat interested if you have ideas on how to make the touchscreen work with evdev, but it's not a priority since we already have something working quite well ;

What needs adressing at this time is mostly sound and bluetooth, and that should not need any kernel work (they already work on android side). If you have insight into either or both of them, userspacewise, I'm really interested. As for key remappings, I'm looking into doing them with udev which seems to be the msot standard way.

And of course, if lubuntu is preferred, it's quite easy to replay the second post replacing xubuntu-desktop with lubuntu-desktop to build a clean rootfs (in fact I'm doing it just now, to have a look at where lubuntu is, which may be interesting since lxde is still a bit lighter - I'll upload the rootfs if it's of interest).
[Transformer TF300T Android Development] schrdlu:
I use the bcm4329 built from default 10.4.3.9 sources. I had two kind of problems before getting it to work correctly :

- at first the module did not work when loaded during startup ; I quickly discovered that it was missing firmware and nvram (the system and data from android were mounted later in the boot process) ; after correcting that it somewhat worked but not for everybody or in every situation ;

- I also discovered, much later and not so easily, that the path to nvram from the default kernel config (/system/etc/nvram_4329.txt) points to a bad nvram ; i checked with the nvram.txt from /data/misc/wifi (assembled by booting in android) and it has been working perfectly since ;

oh, and the choice of bcm4329 instead of bcmdhd & co is from a lsmod on android : it runs bcm4329, so I did the same.
[Transformer TF300T Android Development] dragonnn:
That sounds interesting, I have tried the same module, but when I try run:

iwlist eth0 scan

I got only Invalid argument :/. I used brcmfmac and it works, but is more unstable, do you have any idea why I got this? In dmesg I got SIOCGIWSCAN not supported :/.
[Transformer TF300T Android Development] schrdlu:
Well, I also had problems when I attempted to build the driver in the kernel instead of as a module, or when I attempted to disable bcmdhd. And the exact problem you are mentionning reminds me of something, maybe when I enabled first scan.

Here is the portion of configuration that I use for wifi drivers (cfg80211 is built as a module and I don't include support for brcmfmac ; you can also check the full config in post #1) :

CONFIG_BCM4329=m

# CONFIG_BCM4329_FIRST_SCAN is not set

CONFIG_BCM4329_FW_PATH="/system/vendor/firmware/fw_bcm4329.bin"

CONFIG_BCM4329_NVRAM_PATH="/data/misc/wifi/nvram.txt"

CONFIG_BCM4329_WIFI_CONTROL_FUNC=y

# CONFIG_BCM4329_DHD_USE_STATIC_BUF is not set

# CONFIG_BCM4329_HW_OOB is not set

# CONFIG_BCM4329_OOB_INTR_ONLY is not set

# CONFIG_BCM4329_GET_CUSTOM_MAC_ENABLE is not set

# CONFIG_BCM4329_CSCAN_ENABLE is not set

CONFIG_BCM4330=m

CONFIG_BCMDHD_FW_DIR="/system/vendor/firmware"

CONFIG_BCMDHD_NVRAM_PATH="/data/misc/wifi/nvram.txt"

CONFIG_BCMDHD_WIFI_CONTROL_FUNC=y

CONFIG_BCMDHD_HW_OOB=y

# CONFIG_DHD_USE_STATIC_BUF is not set

# CONFIG_DHD_USE_SCHED_SCAN is not set

CONFIG_DHD_ENABLE_P2P=y

CONFIG_BCM4334=m
[Transformer TF300T Android Development] matonka007:
What about sound?

http://cdn.memegenerator.net/instances/400x/28500628.jpg

:))))
[Transformer TF300T Android Development] JoinTheRealms:
Anyone know how to get the tegra 3 drivers installed? im trying to get compiz working
[Transformer TF300T Android Development] zaki0saad:
Correct me if I'm wrong, but compiz doesn't run under xfce does it?
[Transformer TF300T Android Development] JoinTheRealms:
Well its installs fine, then i ran the command compiz --replace, and it seems to try to work(removes all window boarders etc) but fails when trying to start opengl (which i assume the tegra 3 drivers will fix), just really want that cube desktop like on the the tf700's ubuntu (and wobbly windows lol). Also has anyone got gnome working? i tried apt-get install gnome-shell but it fails almost immediatly when trying to login into a gnome session.

Ive been using the xubuntu rootfs for a couple of days, and i must say im impressed, love the style. If we had working hwa and sound id wave goodbye to android for good :cool:
[Transformer TF300T Android Development] **Menos**:
I have already install gnome 2d, but i can't install gnome 3 too

Comand for installing gnome 2d:

sudo apt-get install gnome-panel
[Transformer TF300T Android Development] realaxed:
Hey dragonnn,

I'm having the same issue on my TF300T where the wifi does not work in xubuntu. If you figure out how to get wireless working in xubuntu please let me know.
[Transformer TF300T Android Development] keeganmccallum:
Re: [DEV][WIP] xubuntu on tf300tg 0.1.1 (updated 130324)

What ROM are u using on the android side? You need a stock 4.1 ROM because xubuntu uses the firmwares from it
[Transformer TF300T Android Development] realaxed:
Was using CleanRom 3.4 (Stock Kernel). I switched back to JB stock to test your theory. I have the same wifi problems as before. As long as the custom rom uses the stock kernel it will be probably be the same as using the stock rom. The TF300T needs a modification for the wifi to work in xubuntu. I know cb22 was successful getting the wifi to work for his arch, but not sure if schrdlu has the time to look into it.
[Transformer TF300T Android Development] keeganmccallum:
Re: [DEV][WIP] xubuntu on tf300tg 0.1.1 (updated 130324)

Weird, mine wasn't working with paranoid on the android side, then I tried with hydro, and it started working great, didn't stay with it too long tho as paranoid is kind of a must for me lol
[Transformer TF300T Android Development] zaki0saad:
Very weird - I have a TF300T and on arch I have no wifi at all, with the latest rootfs. However, the wifi on this Xubuntu build works perfectly with CleanROM 3.4.6 using the dual boot kernel in the first post (only problem being I can't connect if I'm too close/far to the router, but I can still see all networks in range).

:confused:
[Transformer TF300T Android Development] TheWebMachine:
When I initially booted my TF300T into xubuntu, it appeared as if I had no wifi. It seemed "on" but showed no networks. I did the first thing I do on a windows PC when no networks show up: I manually added my network to the wireless network list. Much to my surprise, it connected right away. After I got connected, I installed the nvidia-tegra3 package, rebooted, and I could then see all nearby networks and connect to one of my choosing. I've had no wifi issues since.

To recap, I got my wifi working on first boot by:

* going to network settings and manually adding a new wireless entry matching my known wifi network settings

* installing the nvidia-tegra3 package as indicated in the OP

* rebooting after installation of the nvidia-tegra3 package

If that doesn't work, check the status of wifi (on/off) on the android side. Mine is always on in android. Perhaps turning wifi off in Android prior to booting into xubuntu turns something off at the hardware level that prevents xubuntu from setting it up properly on first boot.
[Transformer TF300T Android Development] schrdlu:
Sorry for those waiting for sound and bluetooth, I spent some time adressing the speed issues I have had with the quasi-stock kernel.

So here it is : I added cpu oc from faux kernel and gpu oc from motley'. Kept at 1,5GHz for CPU since I have stability problems at 1,6GHz. GPU is at 446 for the time being.

I've also looked into hwa (opengl-es) and will push something later this week and update posts #1 and #2.

As for oc, here it is :

Install blob as usual, copy nv.conf into /etc/init and reboot.

xubuntu_tf300tg_kernel-0.1.2oc.blob : http://d-h.st/UAy

nv.conf : http://d-h.st/OXX

3bf50451772eb98f5c4b0e2eb2475732 nv.conf

249826271f4fadff4352217467e4ed2e xubuntu_tf300tg_kernel-0.1.2oc.blob
[Transformer TF300T Android Development] JoinTheRealms:
Massive improvement with the 1.5ghz overclock, everything is much smoother now, cant thank you enough!

Edit: glxgears is now getting 75-80fps up from 50-60fps on the previous kernel
[Transformer TF300T Android Development] Keshukas:
Ok

I have used yours kernel and rabit ubunu rootfs.img.

First boot I have sound on the headphones but no on the speakers ( I have no dock station )

multi touch works

3D and compiz works

Wifi works after fix ( rmmod bcmdhd & modprobe bcm4329 )

But when I reboot then no more sound :(

any suggestions ?
[Transformer TF300T Android Development] ColMustard:
Where did you find rabits rootfs.img? Do you have the T or TG model?
[Transformer TF300T Android Development] Keshukas:
I heave tf300t and heave use rabits ubuntu install

8.1

with Aroma interface. and Ubuntu: rootfs-ubuntu-12.10-0.8.0.tar.lzma (687 Mb),

Copy linux-install-*.zip and rootfs-*.tar.lzma to your SDcard on your tf300 - install - after that i flash kernel from here

Rabit ubuntu for tf700 http://xdaforums.com/showpost.php?p=34655444&postcount=1

P.S. with linux-install-0.

8.1

.zip you can boot to ubuntu, with ours kernel you can use double boot, works perfekt

I heave 3 rootfs.img (ubuntu, xbuntu and ubuntu touch ) in the /data/media/linux and rename one with I like to boot next time

now i think to make script to male link "ln -s /data/media/linux/ubuntu-rotfs.img /data/media/linux/rootfs.img" instead rename
[Transformer TF300T Android Development] ColMustard:
So by using the Aroma installer, it's only purpose was to create the rootfs.img from the rootfs-ubuntu-12.10-0.8.0.tar.lzma. Surely there must be a better way.

Could someone please explain the process for creating virtual image file?
[Transformer TF300T Android Development] Keshukas:
Yes it is beter way ;) . You can do that manual or make script

dd if=/dev/zero of=rootfs.img bs=1MB count=0 seek=4096 ( 4GB - 4096, 8GB - 8192 )

mke2fs -F rootfs.img

sudo mount -o loop rootfs.img /mnt

sudo lzma -cd rootfs-ubuntu-12.10-0.8.0.tar.lzma | tar xvf - /mnt

sudo umount /mnt

or ..... extract rootfs-ubuntu-12.10-0.8.0.tar.lzma to mini SDcard with ext4 partition

I heave used old archlinux kernel for tf300 and rabit ubuntu lzma extracted in the /data/linux and manage to boot - works faster when is not in the rootfs.img

mounted virtual disk ( rootfs.img ) are 2 time slover when reading and write