5,598,297 Members 47,762 Now Online
XDA Developers Android and Mobile Development Forum

[DEV] Tutorial for installing ubuntu on Iconia

Tip us?
 
sirzen
Old
(Last edited by sirzen; 7th August 2011 at 11:17 AM.)
#1  
Junior Member - OP
Thanks Meter 13
Posts: 18
Join Date: Jul 2011
Location: santa clara
Default [DEV] Tutorial for installing ubuntu on Iconia

For those who want a tutorial, here's my experience in installing the system:

(PS: FOR those who want a really simple command-by-command tutorial, please see #26 post. That's part 1 of the tutorial on how to boot ubuntu up without wireless. If you need wireless working and want a command-by-command tutorial on that, just reply and I'll make it. )
I mainly referred to sp3dev's thread: http://forum.xda-developers.com/show....php?t=1158260

I've make ubuntu run on my iconia, but I cannot let bluetooth run so you'd better have a usb keyboard and (if you could find the trick to use the touch screen, no need of) a usb mouse.

Tools to prepare:
1. Ubuntu OS on PC with adb tool.
2. A >=4GB microSD card and make sure iconia can identify it.
3. USB keyboard and USB mouse
4. rooted iconia with acer recovery installer, busybox, terminal emulator.
5. Perhaps more that I didn't listed

Files to download:
1. rootfs: http://www.dmmhosting.co.uk/tegra-rootfs.tar from Digitaldaz;
2. precompiled header: http://www.mediafire.com/?ucvk6x66129igzc from sp3dev;
3. itsmagic: http://forum.xda-developers.com/show...light=itsmagic from sc2k;
4. source code: https://github.com/astarasikov/iconia-gnu-kernel from sp3dev;
5. Perhaps more that I didn't listed

Procedure to install ubuntu:
1. Use your computer to format your microSD card into two partitions: one is in FAT32, to be used as normal external storage. Suggested minimum size is 1GB, to store backup file in step 2. The other is ext4, to store root filesystem of ubuntu. Suggested minimum size is 3GB. Tools: fdisk, mkfs.vfat, mkfs.ext4. Using sudo when making filesystem. Refer to rkaszala's post for further information: http://forum.xda-developers.com/show...smagic&page=12
(Comment: I use computer to format while he/she uses iconia to format.)
Make sure the formatted sdcard can be recognized by iconia as /dev/block/mmcblk1p1 and /dev/block/mmcblk1p2 .

2. Backup all data using itsmagic link above. Be familiar with usage of itsmagic, esp. use it to recalculate the checksum.

3. use tools here: http://forum.xda-developers.com/show....php?t=1126364 to flash the newrec.img file onto the /dev/block/mmcblk0p1, and use itsmagic to recalculate checksum.

3.1. on android system, use terminal emulator to copy /system/etc/nvram.txt out as bcm4329-fullmac-4.txt .

4. USING SUDO to unzip the rootfs tarball referred in Files:1 into the ext4 fs mentioned in step 1. If you do not use sudo, some device nodes will not be able to be created.

5. SUDO EDIT the etc/fstab IN YOUR UNZIPPED ROOT FILESYSTEM NOT IN YOUR OWN UBUNTU SYSTEM to one line:
proc /proc proc defaults 0 0

6. compile source code using instructions by sp3dev here: http://forum.xda-developers.com/show...tsmagic&page=9 in the middle part of the page.

7. copy the compiled bcm4329-fullmac-4.bin firmware (should be at lib/firmware/brcm/) to sdcard's root filesystem's location: /lib/firmware/brcm/ folder and copy the previous bcm4329-fullmac-4.txt here.

8. copy the compiled modules into sdcard's root filesystem's /lib/modules/ (I forget the name of the folder so be sure to name it correctly. )

9. insert the sdcard into iconia and reboot with wolume down key pressed (the way to boot into recovery img.)

and now, you should have reached what I have reached.

If you failed on some step please tell me. All I summarized is what I have done, so please refer to their original post for more information.
The Following 11 Users Say Thank You to sirzen For This Useful Post: [ Click to Expand ]
 
roblav96
Old
#2  
Member
Thanks Meter 2
Posts: 54
Join Date: Mar 2011
impressive...
 
ZeRo_samdroid
Old
#3  
Junior Member
Thanks Meter 0
Posts: 19
Join Date: Jan 2011
Location: Kaluga
Can you make more detailed tutorial?
 
Tautvaldas
Old
#4  
Senior Member
Thanks Meter 11
Posts: 116
Join Date: Jan 2011
can you make video tutorial, because some people don't understand how to do this things. Sorry for bad english
 
PhilipZ
Old
(Last edited by PhilipZ; 2nd August 2011 at 09:48 PM.)
#5  
Junior Member
Thanks Meter 0
Posts: 28
Join Date: Jan 2006
Location: Sofia
Quote:
Originally Posted by Tautvaldas View Post
can you make video tutorial, because some people don't understand how to do this things. Sorry for bad english
My opinion: tutorial in first post is good enough. If someone don't understand is better not to try!
 
hellcat82
Old
#6  
Senior Member
Thanks Meter 89
Posts: 105
Join Date: May 2010
Location: Melbourne
Quote:
Originally Posted by PhilipZ View Post
My opinion: tutorial in first post is good enough. If someone don't understand is better not to try!
Sorry if I've missed something here but I didn't realize your comprehension ability was the benchmark for tutorials being "good enough"

Troll or not, I hate attitudes like this. If everybody followed this line of thought we'd still be in the stone ages.

The whole purpose of a tutorial is to show people how to do something that is outside of there general knowledge. If adding more details to a tutorial will allow it to be useful a wider audience then surely that can only be a good thing for knowledge sharing and the author.

A video tutorial, if somebody can spare the time of course, would be great.
 
sirzen
Old
#7  
Junior Member - OP
Thanks Meter 13
Posts: 18
Join Date: Jul 2011
Location: santa clara
Hi guys:

Sorry I'm really busy these days so I didn't have time to give more detail on that. This weekend I will reinstall the ubuntu on my Iconia and will post a more detailed command by command tutorial here. I don't have a camera nor a phone with good camera so I'm afraid I cannot make a video, but if u have any question pls just reply here and I will get an email notification and I'll reach back asap.

The installation is tough yet exciting so I understand your feeling of getting ubuntu running on your iconia, but my word now is don't expect too much, it's just running yet still slow and I didn't patch some drivers on (At least now I cannot get bluetooth and nvidia drivers work but wifi works!).

Anyway, even if you're new here, I recommend you to read the links I posted above as they're good place to learn stuff.
 
ZeRo_samdroid
Old
(Last edited by ZeRo_samdroid; 3rd August 2011 at 10:01 AM.)
#8  
Junior Member
Thanks Meter 0
Posts: 19
Join Date: Jan 2011
Location: Kaluga
Quote:
Originally Posted by sirzen View Post
Hi guys:
This weekend I will reinstall the ubuntu on my Iconia and will post a more detailed command by command tutorial here.
Thank you! We are waiting
You used rootfs from Digitaldaz or from rkaszala ?
(Sorry for my english)
 
nycbjr
Old
#9  
nycbjr's Avatar
Senior Member
Thanks Meter 948
Posts: 583
Join Date: Oct 2006
Location: New York

 
DONATE TO ME
I'm planning a video tutorial once I work the bugs out, right now still having wifi (it loads firmware but I'm not offered any networks, it statys "disabled") issues, and I'm working it out on Ubuntu 10.10 which doesn't have unity, unity is a POS, requires far too much of the gpu, and for our tab we can live without.

wish me luck!
CMB Roms Headmaster

Current Devices
Nexus 5
LG G Pad 8.3
Sony Xperia ZL
Sony Xperia Tablet Z SGP311

Recognized developer on Rootwiki
"Rooter" of the Galaxy Tab 2 7.0 (and Tab 2 10.1)
 
rkaszala
Old
#10  
Junior Member
Thanks Meter 1
Posts: 23
Join Date: Mar 2008
Nice thread i am still working thru the wireless card issues
You cleaned up most of thenative linux thread nicely. I am still struggling with wifi. I made a 250mb rootfs trying for minimalize size


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes