yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Android Development] mmtoman:
FFF****CCCCKKKK!!! I just left my house sitting on a 10mbs connection and now am on my grandmas ****ty wifi and its taking forever!!! This looks amazing and can't wait to use it!

What is everyones consensus, as good as a ubuntu netbook or not?
[Eee Pad Transformer Android Development] Backwardsblade:
just enough space to install LibreWriter and finally have some powerful word processing capabilities on this device. Really just great, right now this is exactly what I need as a light web browsing and word processing device. Thanks again all around!
[Eee Pad Transformer Android Development] poltak11:
Alright, I finally got a chance to test this out.

Here's how my experience was so far, if anyone's interested:

Many things work wonderfully (display, touch interface, keyboard, most of the apps I tried), but many things also did not work (touchpad, default gnome networkmanager applet, battery applet, closing the lid) but this is a developement thread everyone, please don't forget this.

Wifi is simple enough to get set up. I prefer to do it via wpa_supplicant as I've previous experience with it. It's tricky at first but it makes sense after a lot of hair-pulling. Go to this lovely man's post if you want help automating the whole process. And if you need help setting up your wpa_supplicant.conf file check out this helpful little article (and yes, I know it's for Arch Linux, but it can be followed pretty much the same way using Ubuntu).

Anyway, I haven't actually got a connection yet due to dhclient being an arse to me... might have to do some tinkering in a minute to figure it out.

Also, a question: This runs off the microSD, right? So the speed of everything will depend on the microSD? Because mine's going frustratingly slow (even typing in certain commands in cli), but I'm using an old class 2 SD... that's the reason, right?

And if you're thinking of trying this out, go for it! It's easy enough to get set up and working (and also very easy to get back into honeycomb), but please be aware that it won't work just the same as if you are running Ubuntu on a netbook... yet anyway. And if you find a problem that hopefully hasn't been mentioned before, make sure you tell someone or post it in the thread. That's the whole point of this open sharing concept~ even if you don't know how to fix it, there's probably somebody here who at least has an idea.

Also, while I was typing this post, I just realised Ubuntu on my TF timed out and went into lock-screen. I tried typing in my password to unlock, but the keyboard didn't work... then I left it for a bit and now X has failed and I'm getting a lovely stream of errors running down my screen. Bit hard to read though, but something about "tegra_i2c"something"acknoledged"... will have to power it down.

Great work again to everyone who is making this happen :)
[Eee Pad Transformer Android Development] Jhinta:
Dit you try hdmi out put because i get i2c error when connectie to tv , my tf does not work on my tv becuase of that nor in Android
[Eee Pad Transformer Android Development] poltak11:
Sorry, Jhinta... I don't have a Type C HDMI cable. Would've tried it out if I had one though.
[Eee Pad Transformer Android Development] EpiphanyMachine:
Try:

iwlist eth0 scan

Look for the network you want, copy it exactly. If it has spaces put "" around it.

sudo iwconfig eth0 essid "Guest network"
[Eee Pad Transformer Android Development] rdnetto:
I can connect to an unsecured network, but not a secured one. I'm pretty sure it's because 'iwlist eth0 scan' doesn't work even when I'm connected to an unsecured network. Also, ifconfig shows eth0 as up even if I use 'ifconfig eth0 down'. Here's the output of some commands:

>iwlist eth0 scan
[U]eth0 Interface doesn't support scanning: Invalid argument
[/U]
>ifconfig eth0
Link encap:Ethernet Hwaddr [redacted]
inet6 addr: [I][redacted][/I]/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TC packets:134 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:174 (174.0 B) TX bytes:28989 (28.9 KB)

>iwconfig eth0
IEEE 802.11-DS ESSID:""
Mode:Managed Frequency:2.142 GHz Access Point: Not-Associated
Bit Rate: 72 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off

>

> wpa_supplicant -i eth0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -d
[I][redacted for brevity]
[/I]State: DISCONNECTED -> SCANNING
Starting AP scan for wildcard SSID
[U]ioctl[SIOCSIWSCAN]: Invalid argument
[/U]Scan requested (ret=-1) - scan timeout 5 seconds
Failed to initiate AP scan.
State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
Setting scan request: 1 sec 0 usec
[I][repeats until I hit Ctrl+C]
[/I]

> cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant

network={
ssid="MyWifi"
psk="MyPass"
key_mgmt=WPA-PSK
}

Adding the lines mentioned in one of the previous posts to wpa_supplicant.conf doesn't change the output of wpa_supplicant (shown above).

Is this a driver issue, or just me not knowing how to use ifconfig/iwconfig/wpa_supplicant? I'd appreciate it if someone could clarify this.

EDIT Also, if anyone needs a little more space you can free up 460 MB by running 'apt-get clean'.

EDIT 2: Sound works, but only through the headphones socket.
[Eee Pad Transformer Android Development] Jhinta:
put clock to 400-/+ MIN , this will make the system respond faster

also higher class sdcard is recommended
[Eee Pad Transformer Android Development] Jhinta:
I'm kickband from my notebook till tomarow , how evil !!!
[Eee Pad Transformer Android Development] belzebub40k:
Got internal storage working :D

just looked at the android kernel cmdline and saw the option gpt. After repacking you boot.img with this cmd I got /dev/mmcblk0p[1-7].

BTW: All dock owners you can use a usb mouse until someone gets trackpad working. Cant imagine why I didnt tried this before.
[Eee Pad Transformer Android Development] salacc:
Any reason not to run this by using whole sdcard (like ordinary root fs) instead of rootfs file?

Anyone has idea what performance gain would this bring?
[Eee Pad Transformer Android Development] belzebub40k:
I see no reason why not using a normal filesystem. Had the same idea today and patch jhintas release for me. Needs a little more work before posting it.
[Eee Pad Transformer Android Development] Backwardsblade:
+1 for usb mouse. Direct wired mouse works but for some reason my usb wireless mouse doesnt. It powers just doesnt register movement or clicks.
[Eee Pad Transformer Android Development] EpiphanyMachine:
Logitech MX air mouse working for me (it's wireless)
[Eee Pad Transformer Android Development] Dream_Team:
I guess you are lucky, even when commenting (and modifying according to manpage) out some lines, I keep getting "Conn ConfigMismatch"
[Eee Pad Transformer Android Development] lugiber:
Just a quick question. Do you guys (developers) work on a common source on something like a git server or do you work individually.

I'm just afraid that we'll be getting too many different versions with different features instead of a single release with all the stuff you have managed to solve.

Thanks and keep up the good work!
[Eee Pad Transformer Android Development] belzebub40k:
Jhinta did a great job. I am just playing around with his release and try to improve some things.
[Eee Pad Transformer Android Development] belzebub40k:
Just a small update:

I got trackpad working with mtrack driver. But for some Reasons i have to use 2 fingers to move curser. Just a little bit more configuration I guess :p
[Eee Pad Transformer Android Development] lugiber:
Cool! Can't wait to try it out!

Btw, has anyone experienced system locks which forces you to hard reset the device?
[Eee Pad Transformer Android Development] belzebub40k:
Yes sometimes GUI is till responsive but cant open a new shell
[Eee Pad Transformer Android Development] lilstevie:
This is what I was doing and the performance depends totally on your SDCard,
[Eee Pad Transformer Android Development] rdnetto:
If you use a non-FAT32 filesystem for it, then you have to mount it manually under Android (requires root), and if it's a journalled file system (i.e. not ext2) it could reduce the lifespan of the device. But both of these seem relatively minor.

I've been using mine with a class 10 sd card, and it freezes for a moment now and then (it's reponsive, but the program or whatever doesn't load for a while). I think this happens when the access to the card is saturated, which may be exacerbated by the use of a loop mount (since the OS may be adding another buffer). It's sort of like memory and page files - when the memory (analogous to the buffer/queued calls) fills up, the system freezes until it can transfer some to the page file (analogous to the sd card).

If we're really lucky, the Transformer v2 will support UHS sd cards (they're rather pricey right now, but it should come down), which would eliminate the problem entirely. For comparison:

Class 10 SD card: 10 MB/s

Old IDE HD: 30 MB/s

Modern SATA drive: 70 MB/s

UHS-1 SD card: 100 MB/s

Another potential solution might be to use a micro SD card and a regular SD card as a soft RAID 0 to (in ideal cases) double the access rates, but this would prevent use of it as a tablet while running Ubuntu.

A few times. Not entirely sure what's causing it...
[Eee Pad Transformer Android Development] ZerkerEOD:
Still hoping that some one will try a c+ + compiler and IDE to see if I can use it to program for school before I buy this or a different tablet running win crap. Which I don't want to do.
[Eee Pad Transformer Android Development] Jhinta:
git is only for the kernel space , the rootfs are all the same exscept the scripts or looks , so not even needed , all fix will come to the rootfs as we find them.
[Eee Pad Transformer Android Development] Jhinta:
today i will get my 32GB class 10 sdcard , i will test loop and normal ( boot times ,lag and so on )
[Eee Pad Transformer Android Development] lugiber:
Cool, nice to know! As long as you guys are working together i'm a happy camper! :)

Great news! Keep us updated!
[Eee Pad Transformer Android Development] belzebub40k:
1. Does anybody know how safe it is to alter the partition layout to get some internal memory for the system? If its save it would be great.

2. @Jhinta: I am a bit confused about the kernel sources In the second post of this thead. They look like the asus android sources. Can you explain that to me?

3. I experienced some problems with /dev/shm when shmget failes with error 38 but cant find a solution for that. Is anybody working on that or have a solution?
[Eee Pad Transformer Android Development] lilstevie:
I would hold off on internal for the moment, I am working on something here that should make this process easier, or at least a little less destructive.

as for those sources, yeah they are not the modified sources, so again, under the GPL we request the sources :)

I have not seen any /dev/shm issues, what conditions is that happening
[Eee Pad Transformer Android Development] belzebub40k:
Sounds good can we get more details?

When trying to access the status of the second battery with the battery applet. donno know if its dock or tablet but I guess its the dock. And when I tried to use SHMConfig in xorg.conf to get touchpad working.
[Eee Pad Transformer Android Development] lilstevie:
soon, at the moment it breaks android booting because of where I had the partition.

ah ok I haven't used them.
[Eee Pad Transformer Android Development] Jhinta:
Im using the Android kernel source with the fb patch so whats missing about gpl i have no id all that i have used are in OP so ? Or do i have to upload the whole kernel source if we can just patch the kernel en have the same if you want that sure no problem !
[Eee Pad Transformer Android Development] lilstevie:
the GPL requires you to upload the patched version, or at very least a .patch

I know from experience that there is a little bit more than what is outlined on the chromeos messageboard.
[Eee Pad Transformer Android Development] Jhinta:
:( uu realy i just just used the patch nothing more , i will upload the whole kernel source you will see for your self. ( using the patch will give you only two errors fix that manual and your done )
[Eee Pad Transformer Android Development] lilstevie:
exactly, the fix for those 2 errors should be included
[Eee Pad Transformer Android Development] belzebub40k:
Which branch of the git repository did you use?
[Eee Pad Transformer Android Development] Jhinta:
kernel patch file

can any one test this if its working
[Eee Pad Transformer Android Development] Jhinta:
Branch: ASUS_OFFICIAL
[Eee Pad Transformer Android Development] belzebub40k:
Looks good so far: Patch applies without errors.
[Eee Pad Transformer Android Development] raspdeep:
can you upload as attachment (7z/zip/rar/whatever) on xda because 2share doesnt work
[Eee Pad Transformer Android Development] belzebub40k:
See attachment.
[Eee Pad Transformer Android Development] paow:
10 characters

e: Someone beat me to it
[Eee Pad Transformer Android Development] retali8:
I can't get the kernel to compile when I apply the framebuffer patch to Roach's kernel sources from the ASUS_OFFICIAL branch. It fails at..

drivers/video/tegra/dc/dsi.c:1089: warning: 'tegra_dsi_read_data' defined but not used

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

In file included from drivers/video/tegra/dc/overlay.c:28:

include/linux/tegra_overlay.h:54: error: 'TEGRA_FB_FLIP_N_WINDOWS' undeclared here (not in a function)

drivers/video/tegra/dc/overlay.c: In function 'tegra_overlay_set_windowattr':

drivers/video/tegra/dc/overlay.c:150: error: 'TEGRA_FB_WIN_BLEND_PREMULT' undeclared (first use in this function)

drivers/video/tegra/dc/overlay.c:150: error: (Each undeclared identifier is reported only once

drivers/video/tegra/dc/overlay.c:150: error: for each function it appears in.)

drivers/video/tegra/dc/overlay.c:152: error: 'TEGRA_FB_WIN_BLEND_COVERAGE' undeclared (first use in this function)

drivers/video/tegra/dc/overlay.c:164: warning: too many arguments for format

drivers/video/tegra/dc/overlay.c:167: warning: too many arguments for format

drivers/video/tegra/dc/overlay.c: In function 'tegra_overlay_flip_worker':

drivers/video/tegra/dc/overlay.c:262: warning: unused variable 'unpin_handles'

drivers/video/tegra/dc/overlay.c:261: warning: unused variable 'wins'

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

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

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

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

make: *** [drivers] Error 2

make: Leaving directory `/usr/src/tegratab/Roach2010-android_kernel_TF101-141b824'

But compiles without issue if I don't apply the patch..
[Eee Pad Transformer Android Development] asiekierka:
Could someone post a Ubuntu boot.img that boots from the NAND, rather than the SD Card? I bought a 32GB Transformer so I kind of care
[Eee Pad Transformer Android Development] rdnetto:
More importantly, how are you guys creating the boot.img? If we knew that we could (probably) make these sorts of changes by ourselves. It doesn't appear to be a filesystem...
[Eee Pad Transformer Android Development] belzebub40k:
You have to use mkbootimg to create a boot.img from a zImage and a cpio compressed initrd. You also need to pass the kernel cmdline options which can be extracted with a hexeditor from an existing boot.img or copy them from below.

nvmem=128M@384M mem=1024M@0M vmalloc=256M init=/init root=/dev/mmcblk1p1 video=tegrafb console=tty0 usbcore.old_scheme_first=1 tegraboot=sdmmc gpt
[Eee Pad Transformer Android Development] lilstevie:
you don't need to specify tegraboot=, I don't also if you use a proper ubuntu initramfs you don't need to specify init=, the initrd in my bootimg was made with abootimg, and is a zImage kernel blob and an LZMA compressed natty initrd.

EDIT: using a proper initrd is not applicable with a loopmounted system. only for those using a native fs
[Eee Pad Transformer Android Development] belzebub40k:
Good to know. abootimg looks far better than mkbootimg
[Eee Pad Transformer Android Development] Jhinta:
new bootimg will be up tonight , that will do native or loop file, also lilstevie , when you add wext support in kernel ( config_wireless_ext - found in a other module cant reall what the name is and i'm add work now )are you still able to boot ? seems my sdcard doent get mounted then .
[Eee Pad Transformer Android Development] lugiber:
Wow good news!

Anything else you can tell us about the release?
[Eee Pad Transformer Android Development] Jhinta:
its only the boot img nothing more.

will boot root file from fat32( or any type , from first partition )

Or will boot second partition native ( when you dont have a rootfs and only files on second partition)

i will only upload new root when touchpad, or bluetooth is working
[Eee Pad Transformer Android Development] retali8:
Why does your framebuffer patch apply but cause the kernel build to fail? Is the patch incomplete, or am I missing something?
[Eee Pad Transformer Android Development] Jhinta:
disable overlay
[Eee Pad Transformer Android Development] Jhinta:
if somthing would be nice this sure will be one of them !!:eek:
[Eee Pad Transformer Android Development] retali8:
Anyone want to help me get a initrd working for BackTrack 5? :D Trying to modify the one that was used for the native BT5 on the G-Tablet but now it is just hanging at the Asus screen. :| I think it may be the boot options I set in the kernel config though so I'm going to try that.
[Eee Pad Transformer Android Development] retali8:
Nevermind I got it to boot now just had to modify the init script in this ramdisk to have it loop mount my BackTrack 5 rootfs image. Now I just need the dock so I can type and get touchscreen and wireless to work. :cool:
[Eee Pad Transformer Android Development] rdnetto:
When you say boot second partition, do you mean the 2nd partition on the microSD card?

Also, how are you producing the bootloader file? If it's just an executable, would you mind sharing the source?
[Eee Pad Transformer Android Development] lilstevie:
the bootloader is the standard transformer bootloader.
[Eee Pad Transformer Android Development] Jhinta:
So i had forced work over time yesterday :mad: anyway

today i will add the INIT SCRIPT to the boot.img, it works with a init script that does all the mounting and chainroot . you can unpack the init script witch is in the initrd aka ramdisk and you can see for your self its just a script.
[Eee Pad Transformer Android Development] Jhinta:
yes 2nd partition on the microSD card
[Eee Pad Transformer Android Development] lilstevie:
For clarities sake can we stick to the correct names, bootloader.bin used by nvflash (partID 4) is the bootloader, boot.img is the android boot image container which contains the kernel, initrd and kernel commandline, but for simplicity you can call the whole container the kernel image :)
[Eee Pad Transformer Android Development] rdnetto:
Looking forward to it. When you do, it would probably be a good idea to introduce some sort of version number, otherwise things are going to get very confusing...
[Eee Pad Transformer Android Development] Jhinta:
sure m8t as you like
[Eee Pad Transformer Android Development] Jhinta:
new boot.img up support for loop on first partition or native on second .
[Eee Pad Transformer Android Development] realn:
Hi, do you expect to get the sound on external speakers working ?

I'm asking only because I don't own a TF yet, and I will buy one only if there are no major hardware support issues. Thanks and congrats on your work.
[Eee Pad Transformer Android Development] icow:
had a little pay around with this but couldnt get wfif working looks like ill hold out untill wifi gui is added good work none the less!
[Eee Pad Transformer Android Development] Jhinta:
i dont expect anything !!! nore sayng that it will be !! If its working ill post it if not waithing time or even never !
[Eee Pad Transformer Android Development] Aerox912:
for some reason my ubuntu is not booting anymore.

I used it about a week ago, then it worked, i recovered to prime, and now i downloaded the new bootloader, and copied the rootfs.ext2 again, same image as last week. copied it for the second time now, still no boot.

Any ideas what i'm doing wrong this time?

I uploaded a picture where you can see what happens, looks like it's not mounting the sd card, but i'm using the exact same sd card as last week.

any help would be appreciated.
[Eee Pad Transformer Android Development] Jedi223:
Same problem here with the exact same 'error'.

Thought I downloaded a bad rootfs but apparently it is the bootloader.
[Eee Pad Transformer Android Development] Jhinta:
I wil look in to it right away
[Eee Pad Transformer Android Development] Jhinta:
I can see what the problem is , will be fixt ASAP
[Eee Pad Transformer Android Development] Aerox912:
thnx for the fast reaction, hope you manage to work it out.

good luck
[Eee Pad Transformer Android Development] Jhinta:
darn i was working on the touchpad , with the current kernel i think it will fail -> need to restore to default
[Eee Pad Transformer Android Development] Jedi223:
Flashing right now...

Edit:

No dice...

Same error as the above, nothing different.
[Eee Pad Transformer Android Development] Jedi223:
See the above.

Just for the record, the ubuntu folder on the microSD is all lowercase right?

I know linux can be a ***** about lower and uppercase. :D
[Eee Pad Transformer Android Development] Jhinta:
yes, i iḿ readding the rootfs as i was running native so i can see for my self and fix it
[Eee Pad Transformer Android Development] Jhinta:
this one sould work got my rootfs.ext2 all the way to ubuntu.

can anyone report if its working.
[Eee Pad Transformer Android Development] Jedi223:
Same error for me here.

No such file or directory while trying to open /dev/mmcblk1p2

What I don't get is why it's trying to mount /dev/mmcblk1p2 while the external SDcard is /dev/mmcblk1p1
[Eee Pad Transformer Android Development] Jhinta:
because rootfs.ext2 is not found then it will try to find init on root for second partition.

but realy with me its working fine.

? i did got a PM about ota updated that will close booting to ubuntu , did you got a ota and installed it?
[Eee Pad Transformer Android Development] Jedi223:
No, I'm running on Prime 1.5.

Just to know I'm not doing anything wrong here (shouldn't be)

rootfs.ext2 file in a folder called ubuntu on the root of the sdcard. (formatted fat32)

Could be the rootfs that's fubar if it is working for you. Got the file somewhere down this thread.

Could you PM a link for the one you're using?
[Eee Pad Transformer Android Development] Jhinta:
wait 10 min , will have a new kernel ready +1.7G support
[Eee Pad Transformer Android Development] Jhinta:
for the rootfs , its in OP as torrent
[Eee Pad Transformer Android Development] Jedi223:
I'll wait a sec :)

The torrent in the OP seems to be the exact same file I'm having right here...

Strange

Edit:

Formatting SDcard and re-extracting the rootfs just to be sure :)
[Eee Pad Transformer Android Development] Jhinta:
do you have a microsdcard or sdcard , so do you have it pluged in in the dock or in micro in tab?
[Eee Pad Transformer Android Development] Jedi223:
MicroSD in the tab

Gonna call it a night.

Checking back in in the morning :)
[Eee Pad Transformer Android Development] xplosiveone:
I was having the same issue and it turned out to be the microsd card I was using. I extracted rootfs to another microsd card and ubuntu booted up just fine.
[Eee Pad Transformer Android Development] Jhinta:
so scripts in OP are oke?
[Eee Pad Transformer Android Development] Aerox912:
I redownloaded the bootloader still no luck, but i'm going to format my microsd and then try again. strange that it used to work one week ago and practically nothing canged, only that i flashed my rom back to prime 1.5.

I'll report back after format
[Eee Pad Transformer Android Development] vit0oo:
hey what do you think about that :

i have a VFS sync error, so kernel panic ...

And i have a new boot screen ( Nvidia logo ) maybe the boot.img don't work with this bootloader ?