yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Q&A, Help & Troubleshooting] moseskim:
Thanks, worked like a charm! And just to clarify from previous posts, as lilstevie has already mentioned, I ran resize2fs from within Ubuntu (not android) because of the kernel's ability to do this live without unmounting the root partition.
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
the next version of the rootfs, which I am preparing while my server is down will do this automatically on first boot :)
[Eee Pad Transformer Q&A, Help & Troubleshooting] moseskim:
CrOS

Sounds awesome! I'm definitely enjoying the extra space.

Another question if I may - I cloned your CrOS-Hybrid-Kernel directory from git, and compiled the kernel using the tf101_gnu_linux_defconfig file and the standard kernel options from menuconfig. After compiling the kernel, I loaded the modules and then flashed it using dd to /dev/mmcblk0p4 and it wouldn't boot (just hangs at the eeePad screen). I tried flashing the kernelblob from CWM and it did the same. This is on the purelinux setup, do you have any advice for me to get this working?

Thanks,

-Moe
[Eee Pad Transformer Q&A, Help & Troubleshooting] mrmrmrmr:
no; post 1022 is about creating a new Ubuntu kernel and flashing it to bootloader.

I am interested in putting Android to boot from CWM by the "install zip" option.

@rdnetto:

how can I put my custom Android kernel to boot from CWM ?

Thanks.
[Eee Pad Transformer Q&A, Help & Troubleshooting] residentorca:
Not sure if this what you're asking but I'm running PRIME as my Android OS and I use Jhinta's CWM Android.zip and then flash the latest PRIME kernel zip when reverting back to Android.

P.S. Just re-read your post and think you are asking how to put your custom kernel in a CWM zip format file?

Check post 1088.
[Eee Pad Transformer Q&A, Help & Troubleshooting] moseskim:
That's actually the easiest way to do it: get the files from this post.

Make sure that you have CWM installed and running as your recovery image. Then take whatever custom android kernel you want (downloaded as a CWM zip file), open the zip file and find a file called "blob" or "kernelblob". Extract that file, and place replace the kernelblob in the "android.zip" file from Jhinta's post. Now whenver you flash android.zip, it will switch your booting OS to android and install your custom kernel as well.
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
Ubuntu and Android both use Linux kernels, so the last part is the same. If you've built your Android kernel from scratch, you have a zImage file. If you're using an image that gets flashed to LNX, then that's your linux.img (as referred to in the flash script).

This is doing the same thing. Note that because the only differences are in the blob file, it doesn't matter which zip file you use as the base.
[Eee Pad Transformer Q&A, Help & Troubleshooting] jpeg725:
DL links not working

I'm itching to try this out but the download links on the first page are not working.

Yesterday Google Chrome was saying the site was down, today it always says the connection was interrupted. I am trying to connect from France, that might be a problem.

I could try with rdnetto's flash kit or with cuckoopts' windows kit and a rootstock of ubuntu, but if I do I will surely have lots of problems to fix and reading the whole thread isn't my idea of fun.

Should we start a wiki page that explains how to install under linux and under windows, what works and what doesn't, how to resize partitions, and so on?

I'm not a programmer but I could help with that.
[Eee Pad Transformer Q&A, Help & Troubleshooting] rwijnhov:
this works awesome. Can't wait for the update. I hope it will have the new kernel with trackpad enabled.
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
Pretty much all the fixes in the thread refer to kernel patches, or driver injection (which you have to do anyway).

The only reasons against using rootstock are you need to manually add the modules for wifi and it takes quite a while to download and install all the packages needed (the ARM repo averages 100 kb/sec). If you go the rootstock root I can post the modules for you, or you can just use a custom kernel (see post #102) which obviates this entirely.

We've been talking about starting a wiki page for ages, but so far no-one's gotten round to it (mostly because we're all ridiculously busy). If you can do so, we'd appreciate it. Even if you just do the basic parts and put headings for the more complex stuff, that would be a huge help.

As I understand it, the new release will probably be just a rootfs for oneric. Compiling the kernel is relatively easy if you follow my instructions on page #102.
[Eee Pad Transformer Q&A, Help & Troubleshooting] mrmrmrmr:
Thank you all for helping me.

I finally created my Linux.zip and Android.zip files and I'm able to pass from one OS to another using recovery.

thanks for helping me with patience.

I have just one step to achieve: backup of my current linux partition.

Can I do this with nvflash ? What is the best way to backup and restore in case I want to turn back to the current state of my Ubuntu partition ? (without breaking anything on the other partitions)

Also, I understand that I have to redo the "create blob and zip" process each time I decide to use a new kernel on Android or Linux partitions. Is that correct ?

Thanks.
[Eee Pad Transformer Q&A, Help & Troubleshooting] residentorca:
Yes, nvflash to backup. (I use Cuckoopt's windows flash kit for that purpose.)

I believe you can use the same procedure for any kernel.
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
The easiest way is to use nvflash. Searching for 'nvflash backup' will show you how this can be done for the other partitions. You'll need to use the .cfg from the flashkit and modify the script since it won't contain any references to UBT.

However, I don't think the nvflash method will work for partitions > 4 GB.

The other option is to create a copy of mmcblk0p8 using dd under Android, and use either resize2fs or gzip to reduce its size. Note that if the compressed image is >4 GB, you're not going to be able to store it on the data partition, since that's formatted as FAT32.

Yes.
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
sorry about the webhost downtime, the one I am on kinda sucks, and trying to find a new one.

it is just hard finding one that is cheap enough while allowing me to serve as much as I do. as it stands the ubuntu image is being served to 100-250 unique IP's a week, which is giving me between 400GB and 1TB in bandwidth a month.
[Eee Pad Transformer Q&A, Help & Troubleshooting] NORCALkID:
what is the price of a decent one ? i am willing to donate some cash to help out
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
well the one I am trying out at the moment is $15/m
[Eee Pad Transformer Q&A, Help & Troubleshooting] jpeg725:
Wiki page

I have started writing a wiki page describing how this all works.

For the moment it is just a skeleton. I will soon start reading the thread (backwards to gain time) in order to fill in the blanks. I will try to make the instructions clear and detailed.

I will keep you up to date on my progress.
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
A torrent might be a decent idea, though it really depends on how many people are willing to seed it. Personally, I would have just written a bash script which used rootstock. If the Windows users have too much trouble with a live CD, then they're probably going to have issues using Ubuntu on the transformer anyway.

Thanks for that. Might I suggest you distinguish between which features are working on the default kernel and which require you to compile the source? Otherwise we're going to get a ton of posts on why XYZ isn't working...
[Eee Pad Transformer Q&A, Help & Troubleshooting] NORCALkID:
I get my paycheck this week all make a small donation to help out
[Eee Pad Transformer Q&A, Help & Troubleshooting] mrmrmrmr:
ok; I've got it using following command:

dd if=/dev/block/mmcblk0p8 of=/Removable/USBdisk1/ubuntu_dev8.bckp bs=4096

is the "bs=4096" a correct parameter for this ?
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
Read the man page for dd (if Android doesn't have man, just google 'dd man').

bs is the blocksize; it doesn't really matter if you're not using count or seek, though I prefer to set it to something large (e.g. 1M) to increase the buffer size. Feel free to leave it out if you wish.

BTW, I suggest you use .img as the extension, since by convention that's what's normally used for partition images.
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
Ok, So new host is up, but I have not added the files back in yet.

I have a major assignment due tomorrow which I will be finishing first, once I have finished up with uni work, I will be preparing a oneiric rootfs image to replace the current one, also in the pack will include preliminary support for graphics acceleration, but by no means will that be a default action, also included will be image update scripts so you do not need to wipe out your android data to update on the dualboot setups.

EDIT: This will also be the last non-bugfix, flashkit update before switching over to the OLiFE project for installation
[Eee Pad Transformer Q&A, Help & Troubleshooting] GingerEffect:
It would be great if you could get a twitter or something and post updates with your progress :). I'm excited to try to install this but I'm going to wait for the wiki to work first.

I tried chrooting ubuntu on top of android but it was super slow and the vnc clients out there don't offer such a great UI. I found it wasn't seamless enough for my taste.

Also do you ever plan on coding up/getting working a gui for the wifi?

Seriously though, awesome work!
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
OLiFE project?

The GUI for wireless works if you're using Gnome (which is the default) and the latest kernel, which you can either compile yourself now or wait til the new flashpack is released.
[Eee Pad Transformer Q&A, Help & Troubleshooting] NORCALkID:
Quoted from rootzwiki

OLiFE is a project that I have started for a GUI based flash utility for Tegra2 devices, The primary use of this is of course to flash ubuntu to the transformer, but will have the ability to run default flashes.

OLiFE is a QT based app, and is not functional at this point. This is just the base for it, but I encourage contributions to make it work sooner Graphics have been taken care of already
[Eee Pad Transformer Q&A, Help & Troubleshooting] chtamina:
When you open the browser and connect to a youtube page, then you minimize it: can you still hear sound from that page ?
[Eee Pad Transformer Q&A, Help & Troubleshooting] mrmrmrmr:
Hi,

I noticed that my Transformer shows a different mac address when booted with Ubuntu. It's not the same one in Android.

Why is that so ? How can I fix the mac address on wlan0 ?
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
this is due to how the hardware works
[Eee Pad Transformer Q&A, Help & Troubleshooting] mrmrmrmr:
what do you mean ?

I believe the hardware should have a uniq MAC address.

It shouldn't change its MAC from OS to other OS.

What am I missing ?
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
In android there is a daemon that reads the HW MAC address from tegra-fuses, and injects it into the BCM4329s memory space. We do not have any such daemon running in ubuntu.
[Eee Pad Transformer Q&A, Help & Troubleshooting] mrmrmrmr:
so, if I understood correct;

in Android, MAC address from Tegra chip is used.

in Ubuntu, MAC address directly from BCM4329 is used.

is that right ?

edit: I just realized that using Android bootloader (linux.zip on Recovery) is also changing my MAC address (to a 3rd one) on the Android as well.

why is that ? how can I prevent that ?
[Eee Pad Transformer Q&A, Help & Troubleshooting] iggy84:
Hi,

has anybody a working Link for RootFS?

goo.gl/uVPsd

did not working anymore ...
[Eee Pad Transformer Q&A, Help & Troubleshooting] NORCALkID:
If u read a few post up lil stevie is doing some school work but once he is finished he will post a new link
[Eee Pad Transformer Q&A, Help & Troubleshooting] rickatnight11:
I suspect this is what caused my kernel build not to work. I'll play around with it in a little bit. I appreciate all your work and help.

I very much want to do this (especially before upgrading to 11.10.) If I understand correctly, I'll need to use nvflash to reduce the size of p7 (I guess by backing up the partition, shrinking the image file, and flashing the smaller version back), which will free up some space for me to run resize2fs on p8 to expand it. Does this sound correct?

Thanks. I want to keep trying with my build, so I know how to do it, but I'll definitely take your advice of flashing from CWM Recovery.
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
No. The filesystems and partitions are separate. The filesystems are like boxes we keep in drawers (partitions), if that helps. You can't increase the size of a filesystem beyond that of a partition, and repartitioning involves formatting the entire drive.

The correct approach is:

use resize2fs to shrink partitions. You can also use it to shrink partitions that are mostly empty if you want to reduce the transfer time.

do a nvflash backup of everything

modify the .cfg file to change the partition sizes (this is kinda tricky because of how the autosizing works)

restore the backup (this will automatically format the device with the new partition table).

run resize2fs to increase the size of the partitions to that of the partitions (this can be done while Ubuntu is running, apparently)

If you get this working, please contribute the instructions to the wiki (I can't quite remember the details on editing the .cfg)

---------- Post added at 03:12 PM ---------- Previous post was at 02:52 PM ----------

The part you're missing is that the drivers are closed source, which makes it difficult to fix bugs.

I heard somewhere that that's the same daemon that handles the audio, the bluetooth, and pretty much everything else that isn't working perfectly right now. Do you think it's feasible to reverse engineer it?
[Eee Pad Transformer Q&A, Help & Troubleshooting] rickatnight11:
This definitely makes sense, thanks. What I'm unsure of is the where I should be performing the resizes. I'm now assuming the process will be:

1.) Shrink the Android /data partition by a few GBs, which leaves some empty space in that p7 partition.

2.) Change the partition table by shrinking the p7 partition to just barely fit the /data filesystem. This in turn allows me to increase the size of the Ubuntu partition.

3.) Flash the new partition table and partitions with nvflash, which will use up the entire flash, but leaves those extra GBs of space free in the Ubuntu partition.

4.) Boot into Ubuntu and use resize2fs to expand the filesystem to fill the partition.

If this is accurate, then how do I initially shrink the Android /data filesystem in step #1? I didn't think resize2fs was available in Android.

(After thinking about it a bit I may have figured it out. Can I do the /data resizing from within Ubuntu, since it's just a filesystem resize?)
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
Where did you hear that, because that is incorrect, like really incorrect. The daemon that injects the wifi mac is closed source, but that is all it does.

Audio does work from headphones on the later source drops, it is a matter of configuring the audio driver correctly in the kernel for ALSA/Pluseaudio.

Bluetooth works with the opensource brcm_patchram, also included in the image that I am uploading at the moment.

Cameras are a difficult one, I don't know enough how the drivers work for them.

As for everything else, what else isn't working? cause I forget
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
There download links are working again.

md5s should be:

9da2462bccce197c0c2e21e99da400b0 lilstevie.geek.nz/ports/OLiFE.tar.gz

458eddf0131f2cf9dd9c97797f9c86de lilstevie.geek.nz/ports/ubuntu.img.gz

these are not 100% yet, these are just temp, no readme is included as of yet in the kit, I will update them later but for now I need some sleep.

Tomorrow I will do a full changelog, as well as a bugs list.

for now, biggest changes; script is easier to use, ubuntu.img is half the size, and the image is oneiric based.

biggest bug to watch for; anything that says u-boot does not work yet as I still need to compile a fresh copy of u-boot for the kit, and fix a kernel bug
[Eee Pad Transformer Q&A, Help & Troubleshooting] Danzano:
Hey lilstevie is the wifi gui working in the new release i heard heaps was fixed wifi bluetooth etc etc :)
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
yeah, the changes in this release are huge and numerous, I need some time to write up the new readme and formal changelog though
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
You can. If you didn't have Ubuntu installed yet you could alternatively perform it on the backup image for that partition, then use dd to reduce the file size.

Not really sure (I think it was on a forum somewhere?), my guess is it was the result of Chinese whispers amongst the uninformed.

With audio I was wondering about how to get the external speakers working - if maybe there was a jack detect type thing that needed to be handled. What I don't get is that if they're in the kernel, why they aren't working under Ubuntu.

Thanks for the new release, looking forward to it. (Though I think I'll wait til you compile uboot, do the readme, etc.)
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
I think that would have probably come from the AC100 scene as they do have a proprietary daemon that handles all this stuff, as do the older tegra2 devices.

Older tegra2 devices had more stuff done outside of the kernel tree, by a proprietary nvec daemon. since 2.6.35 the drivers started moving in tree.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Danzano:
So the download links that are up at the moment are they going to change again i noticed you said the links where temporary?
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
well this is my half assed release just so that things are available again, they will change as in they will be updated with fixes, there are a few bugs which I am working on at the moment that I know are there, I made mistakes :/
[Eee Pad Transformer Q&A, Help & Troubleshooting] moseskim:
I did have some trouble getting the scripts to work, but you said it was just a temp release so I just flashed my old setup from the original kit :) Can't wait for the updates to roll in though, I'm eager to try the experimental CrOS kernel! Thanks for all your hard work, it's much appreciated.
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
the CrOS kernel is still unsupported at this time, something unforseen got in the way. because I had been testing with u-boot and only uploading the asus bootloader in to ram and executing it, I was using a different partition layout, which works
[Eee Pad Transformer Q&A, Help & Troubleshooting] Danzano:
Fair enough

Ill keep checking in for the updated change log and files :)
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
Ah, that explains it.

So why is it that they're not working properly, if they're already in the kernel?
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
Android handles hardware in a non standard way, things that are meant to be present aren't, different protocals and the likes.

good news is I just corrected an issue with my TF, sound works on both kernels via the headphone port, next target is to instate the inbuilt speakers,
[Eee Pad Transformer Q&A, Help & Troubleshooting] turtlemask:
I think there are some errors in the OLiFE script for Update device -> Advanced (Unsupported) advanced.sh

echo "Reading current kernel in recovery to /tmp"

./bins/nvflash -r --read $PARTITION .//tmp/temp.img

should be

./bins/nvflash -r --read $PARTITION ./tmp/temp.img

and also

echo "Now writing old kernel back to recovery"

./bins/nvflash -r $PARTITION /tmp/temp.img

should be

./bins/nvflash -r --download $PARTITION ./tmp/temp.img
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
yeah there are a few errors, it will be corrected soon
[Eee Pad Transformer Q&A, Help & Troubleshooting] mrmrmrmr:
I'd appreciate if anyone could answer. I'm worried about this...
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
no, the hardware sets a random mac address from nvram.txt, when you boot android the daemon runs that injects the wifi mac from the fuses.
[Eee Pad Transformer Q&A, Help & Troubleshooting] eLar19:
about 1 month ago I installed Ubuntu in dual boot with Android on my TF, but I noticed that in this way the recovery is inaccessible, so if I wanted to update the Android ROM, or install a kernel, I can not do ... Ubuntu also not able to run the wifi, so I could not connect to the network ... Now there is news? or maybe a way to be able to connect to wifi with ubuntu?
[Eee Pad Transformer Q&A, Help & Troubleshooting] rickatnight11:
You can restore your CWM Recovery by following the directions in this thread:

http://xdaforums.com/showthread.php?t=1237772

You could connect to WiFi with the first release, but it was tricky. I believe the new links lilstevie posted have the GUI (network manager) fixed, but I haven't tested yet.
[Eee Pad Transformer Q&A, Help & Troubleshooting] ky9915:
@lilstevie, thank you for your good job first, as i'm a new user of Ubuntu , could you advise me some thing to run Ubuntu well:

1. i want run only ubuntu , and all the MMC disk for ubuntu , how to make partitions ?

2. your new updated rootfs already with new kernel ..touchpad .wifi .sound ..working ?

thank you again
[Eee Pad Transformer Q&A, Help & Troubleshooting] jpeg725:
Recovery

I suppose that it would be relatively easy to write a linux script that would take a dd backup of p5, dd a recovery image to p5 and repackage the kernel taken from d5 in a cwm flashable zip.

That way we could have lilstevie's dual boot arrangement and have cwm when needed without having to connect to a computer.

Then one could boot into cwm, flash an android update, flash the backed-up kernel, and carry on as before.
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
You don't have to worry about partitioning, the script will handle it. I'd suggest waiting a little while for someone to post a guide, since the new script is a bit more complex.

Things the kernel supports:

-touchpad

-sound (headphones only)

-wifi

+ others

(I haven't actually used the kernel in the flashkit yet, but they were working in a previous version so I'm almost certain they're working in this one)

Creating a new CWM zip isn't hard at all - creating bootloaders from kernel files has been working for the better part of a year. As a general rule though it's a bad idea to copy the kernel from p5 though, due to the chance of corruption. It's safer to simply write a known good copy each time.

Aside from that, most of the people on dual boot are using non-stock ROMs, so we don't have to worry about Android updates cause we always to do those manually anyway. (And making a CWM zip from the nvflash versions of those is easy).
[Eee Pad Transformer Q&A, Help & Troubleshooting] ky9915:
@rdnetto, thank you for your help . i wanna try to do with new script, now beside touchpad,sound,camera and ubuntu disk size everything goes well with ubuntu.

BTW, how to install the Flash player ?i tried to do it on Adobe with ubuntu soft center ,but it shows no sources ....