yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T Android Development] webdoctors:
I kept getting bad superblock errors and gave up. I tried gparted as well as those tools but they would fail. The weird thing is the 3.5 GB image doesn't show up as a 3.5 gb image in gparted, but as consuming the whole 8 gb ext4 partition. So there's nothing there to resize, some partition data is missing. Not sure what the issue is, but the current space is plenty for me at the moment, so haven't pursued it further.

This is a pretty great machine now, I can use it with the dock to do real work, and android without the dock to just consume media.
[Transformer TF300T Android Development] Graiden05:
It possible to fix superblock. Here is manual. Use last copy of superblock. And there is better way to copy rootfs to SD. Just mount .img to some directory and copy content of it with "cp" with "-pr" options to Your ext4 SD partition. (e.g. "cp -pr /some_dir/* /microSD_partition/")
[Transformer TF300T Android Development] vjtz:
Thank You for this very nice review! :)
[Transformer TF300T Android Development] vjtz:
Could You, please, be more specific about flashing of kernel files using fastboot? Which commands exactly did You use?
[Transformer TF300T Android Development] alb-o:
crashing

hey guys, recently ubuntu on my tablet has been crashing and im wondering if anyone else has had this problem or if this is something totally independant of everything thats been distributed here. ive been using the 12.10 rootfs from the OP for probably a year now, for atleast the past 6 months my micro sd card has been mounted as my home directory. i recently created a swap file in my home directory(on the sd) according to the link in the post above mine and put the line to mount it after the line to mount my sd card as home in fstab. the problem is after i started using swap if id use firefox or chrome either program would just crash sometime after theyre open, then all elements of xfce would crash less than a minute after and id encounter a hard lockup, this happens randomly now even if im not using either of these programs. i got rid of swap and it was still occuring. i then noticed android fails to boot, it just gets stuck at the end of my boot animation. i thought it was maybe the kernel, which i was using 2.2.6 at the time, reflashed it and both problems persisted. i tried flashing 2.2.9 as well as updating modules via the mod_update script in ubuntu. that diddnt help, so i wiped dalvik and cache for android and it proceeds to "update apps" on boot then replays the boot animation and hangs at the end of it. im still getting crashes in ubuntu. im going to try reflashing cromi-x and the 2.2.9 kernel but im not sure its going to help, i dont know if both of these problems have to do with eachother at all but they both started at the same time, in the meantime any help would be greatly appreciated.
[Transformer TF300T Android Development] Graiden05:
It's may be caused by FS corruption but can't say for sure. Fastboot have option to format data partition: fastboot -i 0x0B05 -w -u.
[Transformer TF300T Android Development] rastony:
Encrypted filesystem

Thanks webdoctors!

Do you think ubuntu installation would work on an Android encrypted filesystem?

Would you recommend using a specific SD card for the Linux ? I've read somewhere that encryption only applies on the internal emmc storage, not SD cards.

I am using KitKat 4.4.2 and the adequate updated TWRP with SELinux. Is that going to be an issue?

Thanks a lot for your summary work.
[Transformer TF300T Android Development] Graiden05:
I think it possible to build dualboot kernel for kitkat, current kernel will not work with it. I don't really sure about encryption but it shouldn't be issue. 10th class SD card should be fine.
[Transformer TF300T Android Development] wejgomi:
Is there a way to get OpenGL ES functioning completely ?

I always get the hardware acceleration error at XBMC launch and no video acceleration at all in videos from chromium.

Thanks.
[Transformer TF300T Android Development] Graiden05:
So, here is GRIMLOCK CM11 based kernel with dualboot. All GRIMLOCK features should work (except cifs, module is excluded). Install CM11 (or cm11 based) ROM, and after first reboot install CM11_dualboot_beta.zip through recovery. Then unpack kernel.tar.gz to /lib/modules/3.1.10/ in linux rootfs. Then run command "depmod -a" and check file /etc/modules, it should contain following lines:

bluedroid_pm
cfg80211
bcmdhd_29
rfcomm

There also CM11_orig.zip - original CM11 kernel with original modules. If You use CM11 based ROM backup /system/lib/modules folder and kernel first.

P.S.: I have no idea about how to fix OpenGL ES system wide for now.
[Transformer TF300T Android Development] shenk:
HI

anyone has working hdmi output ( i.e projector or monitor) with correct resolution?
[Transformer TF300T Android Development] Graiden05:
You can try this.
[Transformer TF300T Android Development] Keshukas:
works well, thanks

dualboot kitikat (cm 11 Omnirom), ubuntu 12.10 ( Rabit rootfs) and kali linux on microsdcard
[Transformer TF300T Android Development] JoinTheRealms:
Full open gles provided from the linux for tegra drivers. Theres no support for hwa video in chromium, but support is planned by nvidia devs. I wrote a very quick script for getting xbmc running on the tf700 here https://www.dropbox.com/s/e21vys5a0c11u0e/installxbmc.sh

xbmc 12 doesnt seem to work with tegra so the above is rolled back to 11
[Transformer TF300T Android Development] wejgomi:
Yeah, Eden works w/o issues, the hussle is with newer builds like 12.3.

Thanks, anyway.
[Transformer TF300T Android Development] shenk:
Hi, after i executed the xbmc install script and reboot the system, i'm unable to load the OS (maintenance mode)

Below is the messages :-

mountall: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.17` not found (required by /lib/arm-linux-gnueabihf/libudev.so.0)

General error mounting filesystems.

A maintenance shell will now be started.

CONTROL-D will terminate this shell and reboot the system.

Give a root password for maintenance

(or type Control-D to continue):

Can you help me to revert?

thanks & regards.
[Transformer TF300T Android Development] JoinTheRealms:
[MENTION=4872519]Graiden05[/MENTION] can you recompile with kexec support? http://xdaforums.com/showpost.php?p=44378926&postcount=51 for the patch. Ive just tested kexecboot on the tf300t and it works great, full gui works. It allows for extremely flexable multiboot options for example ive got linux directories on my micro-sdcard and internal storage, also a couple of images used as backups, plus we dont have to use the old loop mount method any more, much faster io performance, ive only been able to test with my tf700 kernel, so hopefully you can patch yours.

Cheers
[Transformer TF300T Android Development] Graiden05:
Actually Grimlock kernel already have that patch. So CM11 version kernel have it too, but I need to check config (kexec-hardboot might be disabled).
[Transformer TF300T Android Development] spenat:
Thanks, for this, gonna definitely try it and I will post results :)
[Transformer TF300T Android Development] JoinTheRealms:
Hmm would it be possible for you to link me to the cm11 based zImage? i cant download the mega link on my tablet lol, hey also if you get the chance, try kexecboot out. It took me about 5 minutes to get it set up on the tf300t (Some instructions http://xdaforums.com/showthread.php?p=47247732 ) just need to place unpacked kernel in /boot of both android and linux rootfs and then setup the boot.cfg by mounting mmcblk0p5 (5mb vfat partition, recommended to make a backup of this partition at this stage ) and creating boot.cfg in mmcblk0p5/multiboot/boot.cfg and adding your configurations to the format of the above link.
[Transformer TF300T Android Development] Duckman5:
I just want to say that this xubuntu build is AWESOME! Thank you to everyone who put their hard work into this. I've been waiting for something like this since I got my tablet and dock. Android is awesome for playing around, but it's hard to get any serious work done using it.

I did notice, however, that my battery got super hot after I halted the system from the startup shell (I accidentally rebooted from android instead of shut down). Is this normal? Does the battery's circuitry not properly handle thermal issues without an OS? Does the busybox shell not fully turn off the hardware? Any ideas?

Edit: How accurate is the battery meter on this thing? I'm having a hard time believing that the percent left is anywhere near as high as the meter says it is. Any data on that?
[Transformer TF300T Android Development] Graiden05:
View attachment 2534456 .gz added only for passing through upload check (kexec-hardboot option is enabled).

I already tryed it earlier and I get some lockups on writing something on disk. But it may related to rootfs packed in img file (i didn't tested it with rootfs placed on sd card).
[Transformer TF300T Android Development] JoinTheRealms:
Any extra steps you took to get 13.10 working? im using nvidia-tegra3 package with corrected xabi 14 link but cant get a window manager to load, stuck at cursor with wallpaper, kde is the only login manager that works correctly for me also
[Transformer TF300T Android Development] spenat:
Ok, this is weird: After 2 days of doing nothing I've tried flashing multiboot kernel again and the WiFi in Android started working all by itself.

WiFi in Linux is still not working though :/
[Transformer TF300T Android Development] shenk:
different mac address in xubuntu

thanks i was able to get the xubuntu working except :-

- the mac address in xubuntu is different from the mac address in android. how can i sync the mac address with android's?

- is there a way to get internet working for users created other than "ubuntu" id?

is there any solution for this?

thanks
[Transformer TF300T Android Development] Duckman5:
-Mac spoofing is really easy and you should be able to do it from the command line using ifconfig. Just ask Google how.

-I just made my user a member of all the same groups as ubuntu and haven't had any issues since. you might want to try that.
[Transformer TF300T Android Development] harryharryharry:
To get internet working for other users, add the user to group 'inet'. As root use the following command:

adduser jonathan inet
[Transformer TF300T Android Development] JoinTheRealms:
Hey ive found the command nvgstplayer --use-playbin -i file:/// by far the best performing and has worked with all the videos ive tested, gst-launch is ok but misses functionality of nvgstplay eg video/ audio syncing, pause play seek etc. I just couldn't get it to work with the script format above, works great from terminal though
[Transformer TF300T Android Development] JoinTheRealms:
Guys add this:

amixer -c1 sset Digital 80%

to /etc/rc.local to greatly increase audio volume, loader than android etc.
[Transformer TF300T Android Development] polomalkin:
Hi all!

I try to use the last of "rootfs.img" with CM11 on my TF300T. I'd make wi-fi work on both of systems, but I've got some new troubles - I can't install a lot of stuff (f.e. russian locale, chromium, minitube and others) because of strange connection error. Ubuntu says that there is no internet connection after downloading 20-30% of package. But the internet work fine! I was even able to install libreOffice.

Any ideas?
[Transformer TF300T Android Development] Graiden05:
Try to run in terminal (twice for sure):

sudo apt-get update
[Transformer TF300T Android Development] polomalkin:
Ubuntu says, that 13.04 is no more supports any updates :eek: After update to 13.10 Ubuntu not started any more.

:mad:

For now I'm just deleted it.
[Transformer TF300T Android Development] JoinTheRealms:
Hmm Linux for Tegra (tegra 4) has been released as R17 but no updated release for cardhu...... still on R16.3
[Transformer TF300T Android Development] JoinTheRealms:
Ok ive got Ubuntu 13.04 running like a dream, the only two things i know dont work now are camera and microphone. The other thing is hdmi audio but i believe thats a driver issue (trimslice uses a seprate hdmi audio driver we might be able to borrow)

Ive also got a workaround for the laggy/ slow unity animations:

Install gnome shell (sudo apt-get install gnome-shell) and ccsm (sudo apt-get install compiz-config-settings-manager), log into a gnome session and remove the bottom panel, run compiz config settings manager and enable unity-plugin. For some reason this fixes the laggy unity animations all round (unitys hud is still slow drawing transparency). This makes the whole system graphically smoother since unity panel isnt taxing the gpu. With the weight off compiz flys!

EDIT: run sudo mv /usr/bin/gnome-panel ~/.panel_backup to fix unity hud lag

An issue i had with compiz on the xubuntu 13.04 rootfs is i couldnt install compiz extra plugins using apt, but can easily done manually from the moving plugins from apt cache.
[Transformer TF300T Android Development] t3chwizard:
Does this work on the new 4.2 BL for the tf300t
[Transformer TF300T Android Development] zaki0saad:
Check the 2nd post on this page. http://xdaforums.com/showthread.php?t=2190847&page=35

Yes, 4.2BL compatible.

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

Do you think it runs any smoother than xfce? How much RAM does the system idle with when using unity?
[Transformer TF300T Android Development] JoinTheRealms:
Well thats a hard one, xfces window manager draws simple and lite graphics using the cpu (software), while compiz draws much more complicated opengl es graphics using the gpu (accelerated). Compiz = smoother/ better graphics xfce = more resopnsive.

Its using around 500mb at idle, but even with ram hungry applications i didnt notice a performance hit between xfce and uniy. ive got 4 chromium tabs open (one being youtube), rhythmbox and synaptic and its using about 700mb / 100mb of swap.

Its been running faultless and without a shutdown for about a week now(only suspending it). Very impressed with this tablet now, been wanting linux to run stable on the tf300t for about a year now:) Was gonna buy a Asus t100ta but i think ill save my money:good:
[Transformer TF300T Android Development] schrdlu:
I will try to upload a working rootfs .img sometime in the week-end. Also it seems that both of you are on a tf300t rather than a tg. Am I right ? If so I'll try other options for next version of the kernel.
[Transformer TF300T Android Development] ColMustard:
Re: [DEV][WIP] xubuntu on tf300tg 0.1.0

Yes that's correct, I'm on a tf300t. Let's see if the rootfs.img works as a better option.
[Transformer TF300T Android Development] Keshukas:
OK

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 tar -C /mnt -zxf xubuntu_tf300tg_rootfs-0.1.0.tar

and ..... copy /data and so on

sudo umount /mnt

flash kernel, reboot and Hope that starts

Or I think we can use directory /data/linux ( internal storage ) to untar xubuntu_tf300tg_rootfs-0.1.0.tar

I relay hope Rabit Kernel luking for linux or ubuntu directory
[Transformer TF300T Android Development] schrdlu:
Here it is :

http://d-h.st/Rts

66626880092ef7590e41f304bfcd2b0d xubuntu_tf300tg_rootfs-0.1.0.img.lzma

Decompress and rename into linux/rootfs.img in internal storage (/data/media/linux/rootfs.img)

Remove any sdcard that may have a linux partition and reboot.
[Transformer TF300T Android Development] Keshukas:
Re: [DEV][WIP] xubuntu on tf300tg 0.1.0

View attachment 1809694

:(

I think we need recompile kernel with some patch for TF300T to boot xubuntu

Can't boot android with this kernel
[Transformer TF300T Android Development] matonka007:
Working very nice. Booting fine to xubuntu and android too. Have CleanRom. For me wifi do not work.(in Xubuntu) Big thumb up for you, good work, Xubuntu is good system. If you need testers I'm here :))
[Transformer TF300T Android Development] schrdlu:
Thanks. At last some good news ! I was beginning to worry...

If you just unpacked the rootfs.img and did not copy files from /system and /data (cf. first post), it's normal that wifi does not work. The wifi module is loaded before android /system and /data are mounted, and the firmware and nvram of the wifi chip are there.

To enable it for the current session : once logged in, type in shell "sudo rmmod bcm4329;sudo modprobe bcm4329". Not sure it covers all variants of tf300tg since the boot.img supports a few different wifi chips. You can also try "sudo modprobe bcmdhd" or "sudo modprobe bcmdhd_34. Tell me.

And if it works with modprobe, you can enable it for real, by copying system/vendor and system/etc from /dev/mmcblk0p1 to /system, and data/misc from /dev/mmcblk0p8 to /data. You first will have to unmount /system and /data where mmcblk0p1 and mmcblk0p8 are already mounted and remount those two elsewhere.

Also, can you tell me if you are on a tf300t or tf300tg ?
[Transformer TF300T Android Development] schrdlu:
Well, I spent some time this evening on the different bootimg from tf300tg stock, from rabit, from ubuntu nexus 7... And concluded that I will have to spend some time working on kernel and initrd. Until then, and if you have had some success with rabit's ubuntu, you may try my rootfs with his boot image. I have had some problems with it and internal microsd, but it mostly worked on the dock' sd.

Also, if you are not on stock android (or cleanrom), don't expect to be able to boot into android. Most notably I didn't even look at cm10 (is there a tg' version somewhere ?) and it seems that kernels / initrd are not compatibles.
[Transformer TF300T Android Development] ColMustard:
Now we're getting somewhere. Boot works for both xubuntu and CROMI 3.4.4, however there's no wifi in xubuntu. Might have a look at ArchLinux to see which driver they used for the wifi which did work for me on my TF300T. This is a much better solution with the rootfs.img.

Thanks for your efforts.
[Transformer TF300T Android Development] matonka007:
I am on TF300T and sudo rmmod bcm4329;sudo modprobe bcm4329 showed me availible WIFIs but cant connect do not know why, going to delete password in router and report :)

EDIT: It show me networks but can't connect with password to securited network - WPA2 personal, trying next...
[Transformer TF300T Android Development] Keshukas:
Ok i tray and tray with yours kernel - no progress. Problem - main tf300t heave android 4.2 (updated)

Internal memory is in /data/media/0/
[Transformer TF300T Android Development] ColMustard:
Wow, not sure how I missed this post. This worked "sudo rmmod bcm4329; sudo modprobe bcm4329", I now have wifi on my tf300t. Thanks!
[Transformer TF300T Android Development] matonka007:
for me it is show dialog to write password to my wifi a type it and it shows again and again, what security you have on router?
[Transformer TF300T Android Development] ColMustard:
I'm using WEP with 64bit encryption strength.
[Transformer TF300T Android Development] spenat:
Oh yes, this is what I've been waiting for! Keep up the good work, sounds reeeealy promising! Will try on my TF300T ASAP and will post results!
[Transformer TF300T Android Development] ColMustard:
Available Packages

edit: never mind, found it.
[Transformer TF300T Android Development] matonka007:
I found something very interesting, when I am in room when I have WIFI router I can't connect to wifi, but when I go to anoher room everything is fine :eek: internet is fast and stable. When i go back to my room it disconnected me again :D

I do not know why is there this problem.

Now trying to do working sound.
[Transformer TF300T Android Development] **Menos**:
Good evening, I have a question, can I set it to a memory card which is located in the docking station. How do I do this?
[Transformer TF300T Android Development] ColMustard:
See the first post but it didn't work for me, however rootfs.img did.
[Transformer TF300T Android Development] **Menos**:
How did you format card?
[Transformer TF300T Android Development] alb-o:
question

so i attempted to install 2.2.9 modules on a rootfs from the original post because thats the kernel im using and wifi isnt working still. i ran mod_update.sh with root privledges, /etc/modules says bcm4329. ive done this on the same rootfs before and it worked. any ideas?
[Transformer TF300T Android Development] vikktorn:
wifi pronlem

I am runing xubuntu 10 and 2.9.9 kernel I update moduls and wifi work on android but no on Linux any idea what to do ?
[Transformer TF300T Android Development] k-kuchen:
Hi. I'm interested in a desktop OS for my tf300t.

What Version of xubuntu is used here in this project? Will there be a flashable zip in the future?
[Transformer TF300T Android Development] tailormoon:
Xubuntu 13.04
[Transformer TF300T Android Development] alb-o:
old rootfs

i fixed the problem with my rootfs with a script that i will be linking to that installs the correct modules for the 2.2.9 kernel as well as a modified rc.local, some scripts to make bluetooth work, and creates the correct user groups to get wifi working. i dont exactly recall where i got these scripts but im guessing it was from graiden? if im wrong let me know.

decompress the archive and in the installer folder there will be a file named "user", edit the file so that it contains only your username.

make sure setup.sh along with all other files with the prefix ".sh" are executable and run setup.sh from terminal as root.

you now have working wifi, audio and bluetooth in ubuntu 12.10.

i do not claim that i wrote any of the scripts in this archive.

i did find some problems though, i posted a while back about while browsing the internet my browser would crash and i would experience a lockup, this is still happening even though ive went through many rootfs and am currently booting off an sd card. it may only be a problem in 12.10, or it may be my tablet specifically.

another problem ive ran across was prevailent in both the old rootfs from the first post and the new one, my cpu will only scale up to 1.3ghz with cpufrequtils, ive manually set the cpu speed, changed the max speed, the highest itll go is 1.3 instead of 1.8Ghz.

is anyone else having these problems?

http://www.4shared.com/archive/SwIpddYTba/installertar.html
[Transformer TF300T Android Development] brewmeister:
rootfs

hi all, got a quick question. Are there any advantages or disadvantages in running from rootfs.img in data/media/linux or extracting to ext4 partition on sd? I'm currently running cromix with data2sd on microsd and have xubuntu on internal sd using the rootfs.img (in data/media/linux). I'm thinking about switching my setup with cromix strictly on internal and putting xubuntu on the microsd. any ideas or suggestions would be greatly appreciated.

just want to give a quick thanks to those that have made this all possible
[Transformer TF300T Android Development] JoinTheRealms:
Yip id say thats the best configuration as long as your sdcard is fast, you can move the linux rootfs to sd card with

dd if=/data/media/linux/rootfs.img of=/dev/block/mmcblk1p1 (this assumes your running android, if not remove the "/block" from the of command, also assumes a ext4 partition as the first partition on your microsd)
[Transformer TF300T Android Development] brewmeister:
thanks for the info, got a sandisk ultra 16gb microsd, right now got 1.5gb fat32 with some zips on it for flashing, 13gb ext4 set up as data2sd, 2gb linux swap set up. i tried to put rootfs.img on the data2sd partition under data/media/linux but it would not boot from there so I put it on the internal sd datai/media/linux and it boots from there. does the ext4 partition need to be first on the microsd? thanks for the help
[Transformer TF300T Android Development] JoinTheRealms:
Ahh ive never used data2sd so i dont know if it will interfere with the latest ramdisk, im 90% sure it won't meaning you can have linux on any partition you want. if so just change the command for example /dev/block/mmcblk0p8 is the eighth partition on the internal sdcard while /dev/block/mmcblk1p2 refers to the second partition on microsd card

Your other possibility is Multiboot which ive posted about in this thread, does require some more set up but is more flexible at the same time