[HowTo] Native Ubuntu - Post Install Questions Here not in [DEV]

Search This thread

EpiphanyMachine

Senior Member
Dec 1, 2008
78
33
San Francisco, CA
PLEASE DO NOT POST QUESTIONS ON HOW TO GET THIS TO WORK IN THE [DEV] Native Ubuntu !! THREAD... POST THEM HERE

I would like to thank all those who spent a lot of time working on this project. I do not have the required skills and have not contributed other than writing this tutorial. This is a combination of steps and files from the Nvflash unbricking released! and [DEV] Native Ubuntu !! threads. Please thank those who brought this to us!

The download contains the windows drivers and dlls for this to work (thanks to Bumble-Bee (Apache14), rayman84) and my edits of Jhinta's scripts flash.sh and restore.sh. All I did was convert the coding from linux to windows.

Downloads are in the first post of the DEV forum with the newest version from 15 July.

Disclaimer:
Please be aware that this may cause your transformer not to boot. If this happens please see the Nvflash thread above to restore to Prime 1.4. After this you can install a recovery to flash any rom you want. YOU COULD LOSE ALL YOUR DATA but if all goes to plan you will not. Neither I nor any of the devs are responsible for any damage or loss of data.

This should not affect any data from your Android Install.
It only changes the boot.img and boots a root file stem that is located on the removable Micro SD card. When restoring android this will restore the boot.img (from prime) which will allow you to boot into your android ROM without making any changes.

Tutorial:

Backup!!
Code:
1. Backup everything

Download and unzip required files
Code:
2. Download Nvflashtf.zip file above (files from 10 Jul 2011) and unzip
3. Download the rootfs and unzip (available in [URL="http://xdaforums.com/showthread.php?t=1147062"][DEV] Native Ubuntu !![/URL])
4. Place unzipped rootfs.ext2 in /removable/microsd/Ubuntu
    (You will need to create the ubuntu folder)

Boot into APX mode
Code:
5. Plug your transformer into your computer using the USB cable
6. Shut down your transformer (cable must be plugged in)
7. Boot into APX mode: Hold down the Vol+ and Power buttons.  
    The screen will not turn on but the computer will recognize the transformer

Install Windows Nvflash Driver
Code:
8. Install the new drivers provided in the download folder 
    (Control Panel --> Device Manager --> APX Device --> 
    Update Driver --> Choose from file --> Navigate to unzipped Nvflashtf folder
    --> Select usbpcdriver directory
9. Accept the warning message stating the driver is not signed

Install Ubuntu boot.img
Code:
10. If it is not already, Put transformer into APX mode (steps 5-7)
11. Navigate to the unzipped nvflashtf folder
12. Run (Double Click) flash.bat
13. Transformer will Say "!!!!!phone update successful!!!!!"
14. Eject APX device from windows
15. Reboot Transformer (Hold Power for 10 seconds) then press power

Connect to an Open Wifi Access point
Code:
16. Open Terminal and run
     sudo ifconfig eth0 down
     sudo iwconfig eth0 mode managed
     sudo iwconfig eth0 essid "my network"
     sudo ifconfig eth0 up
Open WICD Manager and click connect
Password is astf101
If your network uses encryption see the second post

Revert to Android boot.img
Code:
1. If it is not already, Put transformer into APX mode (steps 5-7)
2. Navigate to the unzipped nvflashtf folder
3. Run (Double Click) restore.bat
4. Transformer will Say "!!!!!phone update successful!!!!!"
5. Eject APX device from windows
6. Reboot Transformer (Hold Power for 10 seconds) then press power
 
Last edited:

EpiphanyMachine

Senior Member
Dec 1, 2008
78
33
San Francisco, CA
Tips and Tricks

Working
Code:
Wifi - using terminal commands
Audio - Headphone Output only
Touchscreen
USB Host

Not Working
Code:
Touchpad (on dock)
HDMI Audio Out??
Speakers
Battery Stats

For future development including fixes being worked on please see the [DEV] thread

Scan for wireless networks
Code:
iwlist eth0 scan

Connect to encrypted networks
Code:
WPA:
sudo ifconfig eth0 down
sudo iwconfig eth0 mode managed
sudo iwconfig eth0 essid "nameofmyrouter"
sudo iwconfig eth0 key s:mypassword
sudo ifconfig eth0 up

[URL="http://xdaforums.com/showpost.php?p=15528059&postcount=252"]WPA2[/URL]: thanks to belzebub40k
Automated Script for Wifi on Boot: Thanks to lugiber

advanced iwconfig information

Changelog

If you have any tips and tricks please post them here or PM me.
 
Last edited:

GadgetViews

Senior Member
Dec 3, 2008
208
5
suggestion: maybe post the bugs/ working/ and being worked on. * just saying, so not so much clutter in this thread
 

residentorca

Senior Member
Jan 24, 2011
276
76
Seattle
Moto G Play
I was building this very kind of zip archive and instructions for it earlier but got interrupted. I'm waiting for my backordered dock to arrive before I try ubuntu. This will be helpful.
 

DroidxRage

Senior Member
Feb 28, 2010
276
31
Just to confirm then, you would need to switch the boot image via PC when you wanted to switch OS then?

BTW - thanks for the writeup, and directing traffic out of the dev thread. :)
 

rdnetto

Senior Member
Jul 3, 2011
317
96
What file system does the (micro) SD card need to be? I heard in the dev thread that it only works with FAT32, which would suck since it has a 4 GB limit (and I have a 16 GB card).
 

poltak11

Senior Member
Feb 11, 2011
78
25
Melbourne
EDIT: Alright... I managed to mis-post again... I'm really sorry for spamming your thread, OP, I must look like an idiot. Can someone please remove my posts... these were meant for the developement Ubuntu thread :(
 
Last edited:

rdnetto

Senior Member
Jul 3, 2011
317
96
no sir FAT had 4 GB limit. You are good with 16GB FAT32.

I'm loving 3.1 right now. I may try this down the road.

http://en.wikipedia.org/wiki/FAT32 said:
The maximum possible size for a file on a FAT32 volume is 4 GiB.

You must be thinking of the volume size. The file size limitation is the main reason everyone uses NTFS on Windows these days (improved access controls being the other reason).
The filesize limitation is why MS went to the trouble of creating exFAT - FAT32 can handle TB sized volumes, and journalling file systems like NTFS shorten the lifespan of flash media.
 
Last edited:

kamil205

Senior Member
Jul 24, 2010
52
16
Braga
When restoring to android, it restores the previous system state, or a fresh install of prime?


Are there any developments in order to make a dual boot mode along with standard Android?

This kind of implementation are great: http://www.alwaysinnovating.com/, allowing switch between os without restart. I would love to see some thing like this in the transformer.

Good work!
 

david279

Senior Member
Sep 4, 2007
5,680
1,888
New Orleans
That stuff is kinda secondary. They're mostly trying to get ubuntu fully working right now. But if you have any good ideas for a dual boot process please share. Also it restores the previous rom on. It never actually touches the system or data partition.

Sent from my HTC Vision using XDA Premium App
 

SwiftLegend

Senior Member
Apr 1, 2010
811
88
Where is ubuntu installed? Internal mem? and can we you it with just the touchscreen? I haven't bought a keyboard yet.
 

EpiphanyMachine

Senior Member
Dec 1, 2008
78
33
San Francisco, CA
That stuff is kinda secondary. They're mostly trying to get ubuntu fully working right now. But if you have any good ideas for a dual boot process please share. Also it restores the previous rom on. It never actually touches the system or data partition.

Sent from my HTC Vision using XDA Premium App

I will update the OP to more prominently reflect that this does not modify the current install of android other than the boot.img
 

Backwardsblade

Senior Member
Nov 27, 2009
304
34
Philadelphia, PA
So far, mp3 playback and sound is very good. I have a question about the flash plugin, I recall that the Jhinta had a snapshot of Youtube up. I am unclear how to get the plugin, has anyone else gotten this working? Thanks in advance, loving this!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    PLEASE DO NOT POST QUESTIONS ON HOW TO GET THIS TO WORK IN THE [DEV] Native Ubuntu !! THREAD... POST THEM HERE

    I would like to thank all those who spent a lot of time working on this project. I do not have the required skills and have not contributed other than writing this tutorial. This is a combination of steps and files from the Nvflash unbricking released! and [DEV] Native Ubuntu !! threads. Please thank those who brought this to us!

    The download contains the windows drivers and dlls for this to work (thanks to Bumble-Bee (Apache14), rayman84) and my edits of Jhinta's scripts flash.sh and restore.sh. All I did was convert the coding from linux to windows.

    Downloads are in the first post of the DEV forum with the newest version from 15 July.

    Disclaimer:
    Please be aware that this may cause your transformer not to boot. If this happens please see the Nvflash thread above to restore to Prime 1.4. After this you can install a recovery to flash any rom you want. YOU COULD LOSE ALL YOUR DATA but if all goes to plan you will not. Neither I nor any of the devs are responsible for any damage or loss of data.

    This should not affect any data from your Android Install.
    It only changes the boot.img and boots a root file stem that is located on the removable Micro SD card. When restoring android this will restore the boot.img (from prime) which will allow you to boot into your android ROM without making any changes.

    Tutorial:

    Backup!!
    Code:
    1. Backup everything

    Download and unzip required files
    Code:
    2. Download Nvflashtf.zip file above (files from 10 Jul 2011) and unzip
    3. Download the rootfs and unzip (available in [URL="http://xdaforums.com/showthread.php?t=1147062"][DEV] Native Ubuntu !![/URL])
    4. Place unzipped rootfs.ext2 in /removable/microsd/Ubuntu
        (You will need to create the ubuntu folder)

    Boot into APX mode
    Code:
    5. Plug your transformer into your computer using the USB cable
    6. Shut down your transformer (cable must be plugged in)
    7. Boot into APX mode: Hold down the Vol+ and Power buttons.  
        The screen will not turn on but the computer will recognize the transformer

    Install Windows Nvflash Driver
    Code:
    8. Install the new drivers provided in the download folder 
        (Control Panel --> Device Manager --> APX Device --> 
        Update Driver --> Choose from file --> Navigate to unzipped Nvflashtf folder
        --> Select usbpcdriver directory
    9. Accept the warning message stating the driver is not signed

    Install Ubuntu boot.img
    Code:
    10. If it is not already, Put transformer into APX mode (steps 5-7)
    11. Navigate to the unzipped nvflashtf folder
    12. Run (Double Click) flash.bat
    13. Transformer will Say "!!!!!phone update successful!!!!!"
    14. Eject APX device from windows
    15. Reboot Transformer (Hold Power for 10 seconds) then press power

    Connect to an Open Wifi Access point
    Code:
    16. Open Terminal and run
         sudo ifconfig eth0 down
         sudo iwconfig eth0 mode managed
         sudo iwconfig eth0 essid "my network"
         sudo ifconfig eth0 up
    Open WICD Manager and click connect
    Password is astf101
    If your network uses encryption see the second post

    Revert to Android boot.img
    Code:
    1. If it is not already, Put transformer into APX mode (steps 5-7)
    2. Navigate to the unzipped nvflashtf folder
    3. Run (Double Click) restore.bat
    4. Transformer will Say "!!!!!phone update successful!!!!!"
    5. Eject APX device from windows
    6. Reboot Transformer (Hold Power for 10 seconds) then press power
    4
    Tips and Tricks

    Working
    Code:
    Wifi - using terminal commands
    Audio - Headphone Output only
    Touchscreen
    USB Host

    Not Working
    Code:
    Touchpad (on dock)
    HDMI Audio Out??
    Speakers
    Battery Stats

    For future development including fixes being worked on please see the [DEV] thread

    Scan for wireless networks
    Code:
    iwlist eth0 scan

    Connect to encrypted networks
    Code:
    WPA:
    sudo ifconfig eth0 down
    sudo iwconfig eth0 mode managed
    sudo iwconfig eth0 essid "nameofmyrouter"
    sudo iwconfig eth0 key s:mypassword
    sudo ifconfig eth0 up
    
    [URL="http://xdaforums.com/showpost.php?p=15528059&postcount=252"]WPA2[/URL]: thanks to belzebub40k
    Automated Script for Wifi on Boot: Thanks to lugiber

    advanced iwconfig information

    Changelog

    If you have any tips and tricks please post them here or PM me.
    1
    Hi just a quick question. Can you do this from a stock android 3.1 or do you need to have a Prime rom installed?

    Many Thanks

    Pielod

    Rom installed doesn't matter.

    Sent from my Transformer TF101 using XDA Premium App
    1
    Also, I'd appreciate it if someone could help me figure out why my wifi isn't working.

    I was originally getting that error when trying to scan. I will play around with it tonight when I get home from work and let you know what I find. If you get it working before then please post about how you did it.