yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Q&A, Help & Troubleshooting] masterchiefb117:
Any Solutions?

*UPDATE*

So I can update the kernels thru OLife so at least I can at least get into Ubuntu.

I've been looking around the thread and I've seen many users asking for the same question that I'm asking but no real answer to them or possibly missed them. I'm wondering if its even possible. I'm constantly using CWM to flash certain fixes on android side but still want to retain the ability to load Ubuntu.

Is there way to flash any kind of zips either in android terminal or thru CWM to get back to Ubuntu?

In lame terms a mobile way to do this without the need to load up OLife and run update kernels every single time I want to load up Linux.

I've seen other threads saying you can use 2 files dubbed Android.zip and Linux.zip to do the very thing I'm trying to do but I cant seem to find the files or dont know how to use them. Any help or push in the right direction is very much appreciative. Thanks all.

---------- Post added at 02:56 AM ---------- Previous post was at 02:54 AM ----------

I guess I posted my comment up 5 minutes to late....lol.

How do I use these files?
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
There are two ways to flash a new kernel. The easiest is to boot into CWM and use the 'install zip file' option. (You'll need to have the zips stored on a microSD card.)

The other way is to unzip the zip file, and run 'dd if=kernelblob of=/dev/block/mmcblk0p4' as root.

-note that the unzip command under Android doesn't work properly

-the device is just /dev/mmcblk0p4 under Ubuntu

Another factor is that if/as the TF freezes on shutdown and reboots if you hold down the power button, the only way to turn it off without booting into Android is via CWM.

Please note that the zip files above there are extremely out of date, and you'll need to manually update them with the latest kernel (see the instructions on compiling the kernel in the wiki for details on how to do this).
[Eee Pad Transformer Q&A, Help & Troubleshooting] ssciberras:
Thanks for all your help, but i am not sure about some steps. Principally, are these files enough? They look small to me, especially the linux image. And with cwm, if i flash the linux image, i would lose all data i would assume? Or is there a way to maintain persistence?

And can i use another android rom, like the revolver rom by gnufabio, mainly for ics.

Thanks again
[Eee Pad Transformer Q&A, Help & Troubleshooting] masterchiefb117:
So i tested everything out today after work and this is what i have compiled.

The files work thru CWM without a problem. I was able to bounce between Ubuntu and Android no problem. Heres where it get tricky...

The Android zip is specific to Primes rom. I wasnt able to load up stock ICS or CM9. I had to go to my back ups and compile my own set of files and flash them thru CWM to get my stock ICS and CM9 back ups to load(It will just sit on Asus logo screen if using wrong load ups). With my new files I cant load Prime until I reflash my Prime zip to get it to load properly.

On a side note I ran into a problem today. My tab got stuck in CWM and wasnt able to get out for a good 30 min till I did the whole wipe data thing

Hold Power and Volume -

Hit Volume - to start Data Wipe

Press Volume - to confirm.

I this whle process I totally forgot to make back ups of my back ups so on my android side, Im staring of fresh....again.

My question is, s this a common problem. I heard using Rom Managers CWM puts CWM in a place where its not suppose to be and will not load up anything,just cycles you back to CWM everytime you reboot. Is there any other way to prevent this or just nvflash and dont install CWM from Rom Manager?
[Eee Pad Transformer Q&A, Help & Troubleshooting] jozka.1:
Nice!

So we can have dualboot (Ubuntu and Android) without nvflash on our TF ?
[Eee Pad Transformer Q&A, Help & Troubleshooting] ssciberras:
nnb g cb'n

Ii

So you just Flash the Prime ROM, then use these files to boot whuch system you want? And what about the ubuntu.img file?

And how can i modify the android file to boot a rom of my preference?

Thanks
[Eee Pad Transformer Q&A, Help & Troubleshooting] shaola:
I managed to install ubuntu without using nvflash, and i have also been able to restore to stock with cwm recovery. This means that people with sbk2 devices will be able to install ubuntu and go back to stock.

It also may be posible to prepare a pseudo-dualboot if you install ubuntu in a microsd card by flashing kernelblob through cwm recovery each time you want to change your operative system.

(we should prepare two zips files to do fast and easy that but i have no idea how to do that)

But there is still one problem i have to figure out, ramdisk image provided in OLIFe script is too big and kernelblob created doesn't fit in the partition, so we need to create a smaller initrd to be able to do this.

I tried with one of my own (debian) smaller initrd and system boots but partially, because there are important files missing in that initrd and i could not loggin to generate a propper one because i don't know the oem user password.

As soon as i figure it out i will open a new thread and post it here.

I have a sbk1 device and a will not attempt the pseudo dualbot but i will provide instrucctions to do it, if someone want to try i will be glad to help in the proccess.

Of course there is allways a risk to brick your device if you don't have sbk1 device, but as far as i went with all my experiments i haven't needed to use nvflash to recover my device.
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
You will not lose any data. An operating system (in general) consists of 3 parts: the bootloader, the kernel, and all the programs. The bootloader loads the kernel, which contains all the drivers, etc. and provides various interfaces for the programs to run on.

The bootloader for the TF is only changable via nvflash, and everyone (except the uboot people) uses the same one.

The kernel is what those zip files contain. (The kernel + the initrd + the boot parameters, to be exact. One of the parameters specifies which partition to load the OS from, which is why we can change OS by flashing a zip.)

You can modify the Prime zip to use the latest kernel the same way you'd modify the Linux zip. See my last post for notes on this.

Programs like ROM Manager don't necessarily play nice with the dual boot setup. (This is also why the 'Recovery' power option doesn't work.) You can either use CWM by itself or just OLiFE/nvflash.

Yes, though it's not true dual boot because you have to go into CWM to change the selected OS. (True dual boot is currently being worked on, but we make no promises or guarrantees. Also, by 'worked on', I mean there's some general interest in the idea, but people are busy, etc.)

Pseudo-dualboot has been working for months, that's exactly what my last post was about. You don't need to place the zips in CWM's initrd, you can put them on a microsd and they work fine.

Also, I'm sure you've noticed that running Ubuntu from a microSD is very slow, so here's how you can run it from the eMMC without repartitioning: It's possible to create a (very large) file inside your UDA partition and treat it as a partition (google loop mount for details). This is the same technique that WUBI uses, so take a look at the kernel parameters they use for that. Only catch is that depending on that partition's filesystem, you may need to rebuild the kernel with the requisite modules inlined. (This is fairly easy - you just need to tick the right box then build. Instructions are in the wiki.)
[Eee Pad Transformer Q&A, Help & Troubleshooting] ssciberras:
So basically, you would recompile new kernel for ubuntu, setup an ubuntu image as loop, then flash using cwm.

Just ned to work out the details then, especially the compiling of the two kernels. Is the mounting of the loop file then passed as an option?

stephen
[Eee Pad Transformer Q&A, Help & Troubleshooting] shaola:
you missunderstand me or i did not explain myshelf correctly, initrd is needed to build kernelblob, not tu put int cwm's initrd.

In the other way, how is that linux.zip prepared? wich are the boot.cfg options? is it prepared for bootloop or what?

running ubuntu from a microsd depends of the microsd, with a 10 class microsd you will not notice any diference.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jhinta:
how to mutiboot ->

Get this and unpack it ( no kernel added as i have them compilled for my own )

Also make sure bootimg.cfg is how you like it , sould work with the standaard dualboot

abootimg --create boot.img -f bootimg.cfg -k zImage -r initrd.img -> not needed for android just get de ( boot.img can have all names its just the first image) from the zip file and rename it to kernelblob and add it to the cwm zip
blobpack kernelblob LNX boot.img -> for boot
blobpack kernelblob SOS boot.img -> for recovery ( not realy needed just get a cwm zip file (nvflash file need to do this as they are not blobfiles ))

OPEN android/ubuntu.zip file ( NOT EXTRACT !!!! ), delete !! kernelblob in the zip provided and add the new one and your done.

---------- Post added at 08:55 PM ---------- Previous post was at 08:43 PM ----------

about sd not true yes its is as fast but i has a lagggggggggg of some sec from time to time , also having a sd class 10 ( 10MB/s ) but it works :p
[Eee Pad Transformer Q&A, Help & Troubleshooting] shaola:
Thank you very much i've already prepared kernelblob for ubuntu for eemc and sdcard and i am working in mountloop version, but there is a problem with those files, the kernelblob size is to big, it doesn't fit in tf101 standar LNX partition, it has to be 8M and your android kernelblob is 9.1M. So, no problem with linux.zip as I got it prepared, but what about android.zip one? i guess i (anyone) could extract the kernelblob of the rom they are using and add it the same way?
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jhinta:
if you unly need android kernelbob , why not extract it from the zip and add it to the android.zip ??
[Eee Pad Transformer Q&A, Help & Troubleshooting] shaola:
Ok, thanks again
[Eee Pad Transformer Q&A, Help & Troubleshooting] ssciberras:
Am now lost... What should i be doing? I have an sbkv2 so do not wish to brick on first attempt. Pity asus is taking so long to unlock bootloaders for this version...
[Eee Pad Transformer Q&A, Help & Troubleshooting] shaola:
I've opened a thread explaining the process for sbk2 devices, is not finished yet, the loopmount option is still not prepared and i don't know if i will do it soon

http://xdaforums.com/showthread.php?t=1537566
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
just for what it is worth booting from an sdcard has lag/slow downs due to the IO/s rating of the card. while class10 has a write speed of min 10MB/s for a class10 card that is a 512k write block, quite often we need 4k-8k read/writes which can be considerably slower. The same thing happens with replacing the microsd cards in first gen windows phone devices, the IO/s ratings for 4/8k pages are the most important not 512.
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
Yes. Note that you only need to recompile the Ubuntu kernel to inline the FAT module. Otherwise, you can just extract the vmlinuz file from OLiFE / the nvflash version of your Android ROM. (Alternatively, you could try loading the module from a microSD. Experimenting with UDA formatted as ext4 could also be a good idea.)

The root= option will refer to the device the image is mounted to. I don't remember exactly how the loop mount is performed beyond that.

Just use the one from the existing kernelblobs. abootimg has update and extract options.

I can tell you that there is a huge difference between running it from the eMMC and running it from the microSD. Also, class 4 cards are actually faster than class 10s for random access writes, IIRC. They're usually designed for sequential access, which is not optimal for running an OS.

Empirically, I had a 4 min boot running from a Kingston class 10 microSD and 20 sec boot running from the emmc.
[Eee Pad Transformer Q&A, Help & Troubleshooting] remoxx:
Hi. Please forgive me for my question since I could not check all the post.

Can someone answer me if it is possible to install dual-boot WITHOUT losing CLOKWORKWOD.

---------- Post added at 05:00 PM ---------- Previous post was at 04:38 PM ----------

Hi again. If the answer to my above question is yes, can you describe it step by step? Thanks in advance.
[Eee Pad Transformer Q&A, Help & Troubleshooting] jozka.1:
I'm sorry for spam in this thread, but do you know how to resize mmcblk0p7 to default?
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
(Assuming SBKv1), use OLiFE to restore pure Android. Alternatively, you could mess around with the config files for nvflash.
[Eee Pad Transformer Q&A, Help & Troubleshooting] shaola:
There is something i am missing i don't underestand why FAT is involved in this.

This is what i made and the error i got

firts set root=/dev/loop0

I added a linuxrc file into the initrd like this

#!/bin/sh

echo INITRD: Trying to mount /dev/mmcblk0p7

if /bin/mount /dev/mmcblk0p1 /media/data; then

echo INITRD: Mounted OK
/bin/losetup /dev/loop0 /media/data/ubuntu.img
exit 0

else

echo INITRD: Mount failed
exit 1

fi

/media/data folder exists in the initrd and losetup binary exists also

but i get this while booting and bootloop:

RAMDISK: Incomplete write (5069 != 6070)
write error
bio too big device loop0 (2>0)

i am kind of stuck in getting this work
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
I thought UDA was FAT. If it's not, forget about that part.

Apparently it does not like you changing the initrd. There's probably a value somewhere that specifies the size that the initrd is supposed to be, but this is purely conjecture.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jhinta:
use this

mount -t ext -o loop rootfs.img /rootdir

if your using lose setup you still need to mount /dev/loop*

Also , as your moost likly are using loop ext2 , you need a somthing like a scan disk i dont remember what the command was .

about initrd - > look at this

if your also using sdcard for ubuntu you can add it like this.( needs kernel fat support )

1 try mounting sdcard partition 2 or file

2 if not mount data and chroot in to rootfs

so when you want to boot sdcard just leave it in , els temp remove sdcard and reboot to mount data en use that.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jhinta:
Get XBMC running from source running +/- 22FPS

Only works with chromium kernel !!!!!!! dont even ask about android kernel !!!!

Also Swapfile is needed !!!!

Download Khronos API Registry and copy foldersssss to /usr/include/

make sure you have Tegra Opengl-ES driver installed

Install dependances needed for building XBMC from source.( Read README.linux once you have the git (source) downloaded

Once you have the source downloaded, edit MathUtils.h ( find it ) !!

Change #if defined(__powerpc__) || defined(__ppc__) to #if defined(__powerpc__) || defined(__arm__)

cd ~
git clone git://github.com/xbmc/xbmc.git
cd xbmc
./bootstrap
./configure --enable-tegra --enable-gles --disable-openmax --disable-vdpau --disable-hal --disable-joystick --disable-debug --disable-dvdcss
make -j2
sudo make install
sudo apt-get install libgl1-mesa-swrast

Done

If hardware decodings works i dont know as i only care about a part about xbmc , so test your self and you will see .

possible configs

disable-static
Enable-external-library
Enable-external-python <- not working ??
Enable-external-ffmpeg
Enable-avahi
Enable-gles
disable-debug
disable-pulse
disable-gl
disable-VDPAU
disable-dvdcss
disable-hal
disable-lirc
disable-joystick
Enable-Tegra
Prefix = /usr
Enable-openmax

DHD has cam glitch on ics thats why it looks strange on the top.
[Eee Pad Transformer Q&A, Help & Troubleshooting] MrMuffin24:
Would you mind posting a tutorial for the installation of the Opengl-ES driver?
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jhinta:
Download the zip unpack it and run the schript that will apply the bins --help for help , if in ubuntu make sure you set the root path --> --help. Or just read the read me .

Also about opengles the ubuntu runs standaard on unity 2D but unity normal (3D) sould have opengl-ES suport rending with 3D,

Just log out and log back in with unity and not unity-2D . It also seems that a lot of the gui support gles like kde.

As i was trying to to do xbmc standalone i notest that it was on 2D on default and change it and gui was faster but i only have tested it for 2 min orso as i was testing xbmc and i now did a full wipe.

Verstuurd van mijn Transformer TF101 met Tapatalk
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
incorrect, "echo $DESKTOP_SESSION" will return "Unity-2d" as there is not a unity-gles yet, it is in development but it is not out just yet.
[Eee Pad Transformer Q&A, Help & Troubleshooting] MrMuffin24:
Do the drivers require the Cros kernel?

EDIT: running '<path to>/apply_binaries.sh -r <path to>/Ubuntu.img' returns with: 'using rootfs directory of <path to>/Ubuntu.img'

Does this mean that the install was successful?
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
Here's a hint: Chromium = CrOS
[Eee Pad Transformer Q&A, Help & Troubleshooting] MrMuffin24:
I'm aware of that. However Jhinta didn't specify whether the drivers themselves were kernel-specific or if it was a different component of the xbmc installation.

If these drivers are Cros only, is there any way to install this kernel through CWM or this still only able to be done through nvflash?
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jhinta:
Hi there can you look up the sound in cros ?

---------- Post added at 01:36 PM ---------- Previous post was at 01:34 PM ----------

Did you test kde ?

---------- Post added at 01:45 PM ---------- Previous post was at 01:36 PM ----------

Normaly you wont get a awnser but im haveing a good day :rolleyes:

1 if you can flash a kernel you can flash any kernel

2 as i noted ,it only works with the cromium kernel means you need that (kernel (type))

3 true , didnt say that but driver will only work with the cromium as the driver needs the right hardware paths

---------- Post added at 01:58 PM ---------- Previous post was at 01:45 PM ----------

you need to mount the image !! or run it directly when running ubuntu !!
[Eee Pad Transformer Q&A, Help & Troubleshooting] Waspanater:
But doesn't the CrOS kernel require uboot? Which would make it useless on an sbkv2 device, which I'm pretty sure is what he's getting at.

Sent from my HTC Desire HD
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jhinta:
Cros kernel will work only nand will not so you need a micro sd .

Read the thread first and all of it.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Waspanater:
I actually have read the entire thread, I've been following it for about six months, sorry I misunderstood a minor detail given that sbkv2 devices have been considered unworkable up until recently.

Aside from that, as far as I can tell the general consensus is that it's not worth running this from an sd card unless you absolutely have to.

Sent from my HTC Desire HD
[Eee Pad Transformer Q&A, Help & Troubleshooting] MrMuffin24:
Yep it's a sbkv2!

Thanks for clarifying Jhinta and I'm immensely grateful for you and lilstevie's work with tf101 ubuntu, even if i can't use all of it yet!
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
Sorry, I don't understand what you're asking.

I don't have an experience myself with the CrOS kernel (I had issues getting uboot to work), but if you're referring to the sound patch I did a while ago, then I don't know if it would work with the CrOS kernel. I'd expect it to work as intended if you were able to apply it successfully, though.

Currently, it does. However, I think it's possible to get it to compile as a zImage instead of a uImage, which means the default bootloader could be used. I forget exactly how this is done, but I believe 'make help' has some instructions on it. Once you have a zImage, it's the same process as compiling the Android kernel.
[Eee Pad Transformer Q&A, Help & Troubleshooting] CaffeineHead:
I did a quick search and it seems like there is a working chromeos kernel available for the Iconia, and from what I understand the transformer too. Nvidia drivers are supported but there are issues with audio not working for the TF. It also supports dualboot since it is a zImage. I found the post here: http://xdaforums.com/showpost.php?p=20325539&postcount=284 but the whole thread is worth reading over.

Ill try to give this a shot this weekend. If I get it all up and running, I feel like this will be a big step forward for ubuntu on the TF.
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
Check if 'sound not working' means 'sound only works via headphones'. If that's the case, then we already fixed that for the Android kernel and same patch should be applicable.
[Eee Pad Transformer Q&A, Help & Troubleshooting] megacoolrock:
any news of the windows flash kit yet?
[Eee Pad Transformer Q&A, Help & Troubleshooting] yalkowni:
Go to devolpemnt and search franktools ...
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jazztrmpter:
Hey guys, how can I completely remove OLiFE recovery and install CWM? I have CWM installed now, but flashing a new ROM with CWM doesn't do anything. I still boot into Prime 3.2.1 which I installed with OLiFE.
[Eee Pad Transformer Q&A, Help & Troubleshooting] ssciberras:
I am trying to use qemu-i386 on ubuntu on the transformer, but it keeps complaining of seg faults.

is qemu-i386 woring for anyone, am not sure if there is a problem ( tried even linaro's ppa )for qemu on ARM.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Danzano:
Sorry for my ignorance but is i-386 not x86 base and thats why it won't work on arm?
[Eee Pad Transformer Q&A, Help & Troubleshooting] ssciberras:
qemu-i386 is to emulate a x86 target.

I am not sure if it is necessary to chroot at all, in that case will have to mirror yet another ubuntu img...
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jhinta:
Why do you want to have qemu :confused: ya to do some x86 but why? so there is no linux version what your looking for?
[Eee Pad Transformer Q&A, Help & Troubleshooting] ssciberras:
most of the apps are available, but some exist only as binaries - and these are for x86 architecture. Most are not essential, but occasionally some prove to be necessary for one's work.

In my case, Dropbox and Acroread - the latter since it can read proprietary Adobe LiveCycle Rights Management.

and it is a nice waste of time trying to get something work. after all, this is the whole scope of such forums...
[Eee Pad Transformer Q&A, Help & Troubleshooting] DanielT3235:
Can anyone please help me, ive installed Ubuntu months ago and i need get back to stock rom, clockworkmod seems to have gone completely, and really cant do anything, how to re-flash clockwork mod? Its not letting me thought Rom manager?

Please someone? A thank you is waiting you?
[Eee Pad Transformer Q&A, Help & Troubleshooting] ssciberras:
did you tr with Recovery Installer by gnufabio?

---------- Post added at 07:28 PM ---------- Previous post was at 07:13 PM ----------

did you try recovery installer by gnufabio?
[Eee Pad Transformer Q&A, Help & Troubleshooting] DanielT3235:
I haven't fine sir :) have you a link you could kindly share? :)

Thanks
[Eee Pad Transformer Q&A, Help & Troubleshooting] shaola:
Use OLiFE (or nviflash), it's as simple as that
[Eee Pad Transformer Q&A, Help & Troubleshooting] ssciberras:
http://xdaforums.com/showthread.php?t=1346180
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
Do not just install recovery, repartition, otherwise you will be missing the space where ubuntu is