yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer General] TomTcom:
This guide was written to provide more specific information for installation instructions than the OP below.

The Tubuntu installer application will not install the updated kernels for SBK1 devices and the manual procedure in post #2 will tell you what you need to do.

OP for Tubutnu by x3maniac

1. Download the newest “tubuntu v0.x.x” without Prime (system.img) or Ubuntu.img as it is written in the OP.

a. This download contains the application, boot.img file, and basic kernels available at the time of this guide needed for installation. There will be updates for kernels specific to an Ubuntu image as the developer is able to work on them. Check for new downloads and posts.

b. The download also contains drivers and installation for APX mode located using the “Other” tab in the application.

c. This download does NOT contain the Linux operating system nor the Android ROM.
​

2. Extract all the files in “tubuntu v0.x.x” to a Tubuntu folder wherever you wish. 7-Zip is the zip program of choice but any others should work fine.

3. Download Prime ROM [stock hc w/ root](system.img)

a. This download is the system.img that contains a root enabled Android ROM.
​

4. Extract the system.img file from this download.

a. Copy this file to the \images directory. The images directory is a sub folder of the TF-101 Ubuntu Installer application that you extracted in step 2.
​

5. Download the Ubuntu image of your choice.

a. Currently there are 2 Lubuntu downloads. Read the bullets and determine which one you want.
​

6. Extract the image file of this download and place it in the \images directory. Rename this file to ubuntu.img.

7. Open the TF-101 Ubuntu Installer application.

8. Connect your usb cable to the TF-101 and the computer.

a. Shut down the tablet.
​

9. Enter APX mode by holding the volume up button first, then hold the power button until you hear the usb sound from the computer.

a. Your screen will be black and the TF-101 Ubuntu Installer application will light up green and say APX Detected if you correctly entered APX mode.
​

10. Change the dropdown to SBK 1 located directly below the green APX Detected text.

11. Click on the Flash tab.

a. Select Android/Ubuntu and then hit Flash.

b. Android is the primary boot option here.
​

12. You will see an install log in the right of the application. Mine takes about 15 minutes or so but you will know you are finished when you see the Android ROM load as well as the red text APX NOT Detected (in case your screen is off when you come back).

13. Proceed with setting up Android. DO NOT reboot or power off before the initial Android set up is complete.

14. Once completed and you wish to enter Lubuntu, power off the TF-101 and hold down volume down first and then power. You will see your screen say hit volume up in 5 seconds for recovery. Hit volume up within 5 seconds and it should boot your Linux graphical desktop environment.
[Eee Pad Transformer General] TomTcom:
Instructions for installing new kernels for SBK1.

1. In your Tubuntu installation directories, locate transformer.bct and bootloader.bin.

a. Copy these 2 files to the \bins directory of the Tubuntu installation application.
​

2. Download the updated kernel from the OP.

a. Extract the .img file into the \bins directory of the installation application. You do not need to rename it because the command you enter in step 3 part b indicates the name of the kernel file.
​

3. Open a command prompt to the directory of \bins for the Tubuntu installer application.

a. Type this command and hit enter: wheelie -1 -o 0x300d8011 --bl bootloader.bin -c transformer.bct

b. Type this command and hit enter: nvflash -r --download 6 whatever_the_kernel_filename_is.img

c. The filename is the name of the kernel you extracted and copied into the \bins directory. This name can really be anything so long as the command you enter reflects that filename.
​

4. After the copy completes you will be back at the command prompt.

a. Type this command and hit enter: nvflash -r --go
​

5. Your tablet will reboot after the nvflash mode is exited and depending on your configuration it will boot to Android. Boot to Linux now.

6. Download the supplemental kernel file to the root of your filesystem That is the / directory.

a. Open terminal and type this and press enter: sudo wget http://novaspirit.com/tubuntu/kernel_sup.tar.gz /

b. Then type this command and press enter: sudo tar zxvf /kernel_sup.tar.gz

c. This supplemental is installing modules and drivers to the appropriate locations.

d. Reboot.
​

7. Please understand names of files especially the kernels and updates will change periodically. The commands and methods of extracting have not changed at this point so substitute the appropriate filename and you should be good to go.
[Eee Pad Transformer General] TomTcom:
For SBK1 devices, the installation of a custom Android ROM using recovery is very similar to updating the kernel instructions in the post above.

Instructions for installing custom ROM's for SBK1 with Lubuntu installed.

1. In your Tubuntu installation directories, locate transformer.bct and bootloader.bin.

a. Copy these 2 files to the \bins directory of the Tubuntu installation application.
​

3. Copy the file cwrrecovery.img to the \bins folder.

a. You should be able to substitute a newer recovery file than what comes with the Tubuntu installation application.​

2. Download the zip file of the custom Android ROM you wish to install.

a. Copy it to either your Internal SD card or External SD card. Depending on the recovery version you flash you may not be able to use your Internal SD card.
​

3. Open a command prompt to the directory of \bins for the Tubuntu installer application.

a. Type this command and hit enter: wheelie -1 -o 0x300d8011 --bl bootloader.bin -c transformer.bct

b. Type this command and hit enter: nvflash -r --download 5 cwrrecovery(orwhateverfilenameyourrecoveryis).img

c. The filename cwrrecovery.img is the name of the recovery that comes with the installer application. Please substitute appropriately if you are going to flash a different recovery application. You can also use TWRP just use the appropriate .img file name.
​

4. After the copy completes you will be back at the command prompt.

a. Type this command and hit enter: nvflash -r --go
​

5. Your tablet will reboot after the nvflash mode is exited and depending on your configuration it will boot to Android.

a. Now you want to boot to the Android recovery. Do that by powering off the tablet and booting like normal into recovery mode. This should be volume down and power. Hit volume up when prompted to do so. Flash your ROM according to the ROM owner's instructions. I recommend to complete your ROM's installation set up before proceeding to step 6.
​

6. You must now flash your Tubuntu Linux kernel back or you will not be able to boot into Linux. Follow the instructions again from the \bins directory using the command prompt and putting your tablet back into APX mode which is volume up and the power button until the Tubutnu installation application shows green for APX Detected.

a. Type this command and hit enter: wheelie -1 -o 0x300d8011 --bl bootloader.bin -c transformer.bct

b. Type this command and hit enter: nvflash -r --download 5 whatever_the_kernel_filename_is.img

c. Type this command and hit enter: nvflash -r --go
​

7. You should now be back into your Android ROM again. From here simply power off and boot into recovery using volume down and power. Then hit volume up when it says to on the screen. If Linux boots without issue then you have successfully reinstalled your kernel.
[Eee Pad Transformer General] sainthout:
I did exactly what's in the post. With Tubuntu 0.4.7, Prime ROM, Lubuntu V1.1-rc1 (12.10) and the *updated kernel 12/10/2012* (without supplements)

But after Android initial boot, I reboot but it doesn't finish booting Android. It stops here:

http://i50.tinypic.com/2zswdw3.jpg

Anything I can do to fix this? Android does boot properly, but Lubuntu doesn't :(

If anyone knows how to fix this with only Ubuntu (and without Android) then that is fine too..
[Eee Pad Transformer General] TomTcom:
0.4.7 fixes the issue with sbk1 and you don't have to do it with these instructions anymore.

However I did try the newer kernel and got stuck at the same spot you did using my instructions just before the 0.4.7 was uploaded. Go to the original thread and post the issue there.
[Eee Pad Transformer General] sainthout:
Thanks for the quick reply! Will post the issues :)
[Eee Pad Transformer General] TomTcom:
Outdated Thread But Valid Information

This thread is now outdated. X3Maniac has updated his Tubuntu installation application (0.4.7) to fix the issues with installing kernels and recoveries for SBK1 devices.

The information in this thread is still valid for behind the scenes and you can still use the wheelie and nvflash as standalone items if you wish to do something with your device outside the scope of the main thread.

Thanks for all the thanks from users!
[Eee Pad Transformer General] TomTcom:
Found a bug with 0.4.7. It's possible the tab may not reboot into Prime automatically with this version. When the dev has time it will get updated. If it doesn't reboot and the Tubuntu application says everything is done, manually hold power and let it reboot to Prime to finish installation.
[Eee Pad Transformer General] redninja007:
question..

i just succeeded dual booting into ubunto.the prime rom just booted...can i install eos jb rom and still dual boot to ubuntu? thanks in advanced
[Eee Pad Transformer General] TomTcom:
Yes you can. You will need an updated recovery .img file that supports jb. You temporarily flash the new recovery boot into it then install the new rom. See my post on installing updated android roms. Its the third one I think.
[Eee Pad Transformer General] redninja007:
oh sorry for the silly question,,i got it now :) thanks a lot.. nice job :)
[Eee Pad Transformer General] Treizy:
Hi there,

First off, thanks for the tutorial and hard work!

I've been able to successfully install Lubuntu v1.2 and Lubuntu V1.1-rc1 but I've run into issues with both that I'm hoping you can help me with.

When I installed v1.2, my wireless adapter didn't work and I wasn't able to copy any files (kept saying I was out of space, probably a mounting issue).

When I installed v1.1-rc1, things seemed to work well (wireless worked) but when I tried to upgrade the kernel to 3.1 following the instructions, my mouse pad stopped working and so did my wireless adapter again. I saw that there is a way to fix the mouse pad but it seemed to require an internet connection. Any idea what I did wrong or how to fix the wireless on either v1.2 or on v1.1-rc1 with the 3.1 kernel?

Thanks!
[Eee Pad Transformer General] TomTcom:
You're welcome.

To solve the space issue, open terminal and execute this command: sudo resize2fs /dev/mmcblk0p8

The wireless adapter isn't working because the 3.1 kernel is not stable. Do Not Use It.

Get this from the OP:

Kernels

#470 Controlling your CPU for stability

Stable kernels (use with care for OC version)

[extreme]

2.6.36 - [cpu 1.6 ghz] [gpu 400mhz] - download

benchmarks - blowfish score 30

glxgear - 70 fps

Then get the supplement from the OP:

kernel supplement - 2.6.36.4-1210.zip

extract and copy the kernel suppliment to /lib/modules/
[Eee Pad Transformer General] Treizy:
Awesome, works like a charm. Thanks again!
[Eee Pad Transformer General] Treizy:
Not sure if I'm the only one experiencing this, but every now and again whenever i click anywhere it thinks I'm trying to move a file (shows the little file icon when I move the mouse). Is this a known bug or just something in my settings I need to change?

Thanks!

---------- Post added at 12:40 PM ---------- Previous post was at 12:19 PM ----------

I also just found that my sound stopped working. It was working before when I used the instructions from the original post (using alsamixer) but I guess somewhere along the way of me messing around I broke it. Here is the error output when I try to play an mp3 in mplayer:

==========================================================================
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, floatle, 128.0 kbit/4.54% (ratio: 16000->352800)
Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting.

MPlayer interrupted by signal 6 in module: ao2_init

I've tried searching for a solution but still no luck. I've also tried other players and they don't work either. Any help would be greatly appreciated.

Thanks!
[Eee Pad Transformer General] TomTcom:
See KingZaks post for sound settings. It's in the op and his signature.

The clicking shouldn't do that every time. Did you extract the supplemental zip and are you using the 1.2-1.6ghz kernels?
[Eee Pad Transformer General] Treizy:
Hmm, I'm thinking of installing fresh to see if things get fixed. Is there a way to do that without touching the Android partition? I don't want to have to reflash EOS and what not. Do I just not include the Prime img in the images folder?

Thanks!
[Eee Pad Transformer General] TheArtfulDodger:
A Terribly Confused Noob!

Hello:

I am terribly confused and I hope that someone can help me to understand a few things! I am sorry if I don't understand all the links but they seem to go round and round. Right no I have no less that 25 tabs open trying to figure out the first step.

So, to my first question (probably the first of many): This guide was written to help "newcomers", of which I am definitely one. But, right under that statement comes the statement "The Tubuntu installer application will not install the updated kernels for SBK1 devices and the manual procedure in post #2 will tell you what you need to do." Does that mean I'm actually supposed to start at Post #2? But Post #2 assumes I already have "Tubuntu installation directories", which I don't have so I can't locate the two files.

I am attempting to be a user of Ubuntu on my Transformer, not a developer - I take my hat off to all of you that have put your Transformers in harm's way developing the techniques and software that I want to use, but the instructions are terribly confusing for someone not familiar with all of the terms!

Any help would be most appreciated and I thank you in advance.

Sparky
[Eee Pad Transformer General] TomTcom:
Hey Sparky, there's no more active development on this just so you are aware. That means you can make your own images for newer Linux builds if you wish but things such as hardware acceleration and kernels will not be updated.

In step 1 of my guide you are going to the OP link by the dev who made the Windows based Tubuntu application.

Go to where you see these links:

tubuntu v0.4.7 [1mb] Executable ONLY - download v0.4.2b and replace the tubuntu.exe with this one

download v0.4.7 (jan, 3 2013)

tubuntu v0.4.6beta [1mb] Executable ONLY - download v0.4.2b and replace the tubuntu.exe with this one

download v0.4.6b (dec, 10 2012)

tubuntu v0.4.2beta [78mb] without Prime(system.img) or ubuntu.img

download v0.4.2b (dec, 7 2012)

tubuntu v0.3alpha [57mb] without Prime(system.img) or ubuntu.img

download v0.3a

Prime ROM[stock hc w/ root](system.img)

download

Download tubuntu v0.4.2beta (78mb).

Download tubuntu v0.4.7 (1mb).

Extract the files to whatever location on your Windows machine.

The 1mb file is a replacement of tubuntu.exe file. So just copy/paste and overwrite that file on your Windows machine.

Do you know how to put your tablet in APX mode? If not, you open tubuntu.exe (you might need .net 4.0 Microsoft framework to run the tubuntu.exe). With the tablet off and usb connected to your windows machine, hold volume up and power. The application tubuntu.exe should have a green indicator that it's connected. Change the dropdown to sbk1.

From there you can choose how you want to flash, such as android as the default boot and linux as the secondary boot.
[Eee Pad Transformer General] TomTcom:
Ignore.
[Eee Pad Transformer General] TheArtfulDodger:
Wow! Thanks TomTcom - I think I have finally got a handle on the first part - the installation. The part I'm unclear about is the installation of the/a new kernel. The instructions kinda imply that a standard kernel is installed in part 1 - is that correct? The Lubuntu (v1.2 indicated that it only supports version 2.6.36 kernel) - is that going to be automatically installed from your instructions in part 1?

If I need to install a new kernel, I see further down the page three versions, extreme, good, and stock. I would guess that I would need to use the stock one, along with the supplement right below it?

As far as the instructions for installing the kernel, I am a bit confused - (that seems to be my mantra right about now!!) - the instructions say to "locate transformer.bct and bootloader.bin" and copy them to the \bins directory. The Installation application that I created in Part 1 (the contents of tubuntu_v042.rar with the exe file replaced by the version .47) already has those files in that folder. Did I do something wrong?

The final question, at least for now, is the use of a "terminal" - is this simply the command prompt? The instructions do not specify a directory to be in when I install the supplemental kernel - does this matter?

Thanks again for providing all of the help - I sure couldn't have understood the Installation part without it!

Sparky
[Eee Pad Transformer General] TomTcom:
If I remember correctly, you don't need to install the kernel from post #2 if you choose Lubuntu v1.2.

HOWEVER, I do believe you must install the kernel from the Tubuntu application. You click on the tab, click the drop down and select whatever name references 2.6.36. You do not have to download a kernel because this kernel file is already a part of the download you did to get the Tubuntu application.

The reason for post #2 was partially the way the application was built, partially the way the kernels were named, and for those that wanted to use other images that weren't built by x3maniac. So the point was you could manually execute the commands yourself from terminal very easily if you wanted to.

So, if you're not doing post 2 and you are fine with the default kernel, you do not need to bother moving transformer.bct and bootloader.bin.

The purpose of locating these files and moving them to a particular directory was so the files were available in the same folder the nvflash utility was located so it would be easier that specifying the full path of where certain files were located.

So terminal is the same thing as command prompt. Linux users call it terminal and Windows users would say command prompt.
[Eee Pad Transformer General] TheArtfulDodger:
I first tried to just do post 1. when I got into Ubuntu, I found that I could not save any of the preferences - I don't recall exactly the wording but the idea was that the write (of the new preference) couldn't be performed. Was that due to the fact that I didn't have the proper permissions? I am a noob in Ubuntu and I may have made a mistake when the first screen came up.

So, I decided to do the post 1 again, this time adding post 2 - I got as far as attempting the command "nvflash -r --go" - on the tablet I got a number of errors, with the final one "udevd[1921]: error changing net interface name wlan0 to wlan1: Device or resource busy" and then the whole process (on the tablet) stops.

So, I started Lubuntu again and I still can do nothing because everything I try to do requires a password that I cannot guess. Am I doing something wrong or is there something missing from Lubuntu?

Again, thanks for your help!!

Sparky
[Eee Pad Transformer General] TomTcom:
For root administrative access use the username: root and the password: family You can also use the "user" account with no password as well. Please see the OP below.

I understand the OP is a little messy but installing and configuring Ubuntu on a modified tablet can present a lot of challenges. It took me several MONTHS to understand all the things going on with it. But, once you have done so, you can see my other guides and create your own updated images and recompile your own kernel if you wish and that will greatly increase your knowledge and skill level.

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

I'm not sure what to say on what you did for post 2 but I would forget about post 2 until you gain some more experience with Ubuntu and research a bit more on nvflash. Once you have done that, post 2 and other guides I have made can help you really customize the nuts and bolts if you wish to get deep into the technical setup of the image.
[Eee Pad Transformer General] Sheridan91:
once more an apx issue

Hi,

I'm trying to install ubuntu on my tf101 but I have the problem, that the tf-101 ubuntu installer does not detect apx.

In windows' device manager it is listed and I also installed the drivers from the "other" tab (in the TF-101 Ubuntu Installer).

This is my 2nd time trying to install ubuntu and again the same error.

Can anyone help me?

Thanks :)
[Eee Pad Transformer General] Sheridan91:
Fixed - next problem

It works fine when i do it with win7. Windows8 and 8.1 seems to make problems.

now I installed tubuntu, but how do I start to reinstall Android? Just pressing the flash button under it does not work

RAMDISK: incomplete write (3991 != 23920)
write error
[fm]asus4329 open
[fm]asus4329_hci_open_device: failed to kernelbind
[fm]failed to open hci device!
INFO: task kinteractiveup:61 blocked for more than 120 seconds.

was it wrong to chose Ubuntu/Android for Dual Boot?
[Eee Pad Transformer General] TomTcom:
This is the OP for the application:

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

In the application on one of the tabs it contains it's own files to install the appropriate drivers. Have you done that?

Are you running windows 8 or 8.1? You may need to search Goolgle or XDA for "universal naked drivers" for tf101.
[Eee Pad Transformer General] TomTcom:
No it wasn't wrong to choose ubuntu/android. Can you provide some more details?

Did you try to install a kernel?

What image did you use?
[Eee Pad Transformer General] TomTcom:
Sorry, I noticed you said you did install from the other tab....answer the other 2 questions and we'll go from there.

Are you using a usb3 or 2 port?
[Eee Pad Transformer General] ayr-ton:
stuck on initramfs

I made all the steps, with Ubuntu img, Arch Linux img and I also tried to build my own image but everytime I try to boot Linux I get stuck in init and the kernel fallsback to initramfs for manual recovery.

I only installed Ubuntu, not Android. For know.
[Eee Pad Transformer General] Modesis:
hi, i installed lubuntu, now i want to flash TWPR to install the Katkiss 4.4 rom, but i'm not sure the TWPR version in tubuntu is enough, can we have an updated .img? thx

EDIT: Never mind, TWPR is 2.3.x.x and is enough, i've managed to install a 4.4 rom (katkiss) without problems
[Eee Pad Transformer General] TomTcom:
Ok good to hear. No more images are going to be made anymore. You can use the guides in my signature to make your own Raring image. I'm not the creator of this method only the one who helped with some specific instructions for others to install.
[Eee Pad Transformer General] pRo_lama:
How to install proper wifi drivers ??? My wifi is not working. Can you recommend my something.
[LG Optimus G (International)] vertsub:
I can't seem to find Google Wallet on the play store. I tried installing the apk manually but the installed failed.

Does anyone know if google wallet supports the Optimus G?
[LG Optimus G (International)] DraginMagik:
It is not yet supported.

Sent from my LG-E970
[LG Optimus G (International)] Mkee87:
Google pulled wallet to work on it. It will be back out before too long.