[Desire HD Android Development] Ditti4:
The Andrinux-Project - bringing GNU/Linuxux to your phone

I've put the whole thing onto github because it's too much for me alone. I need your help: http://xdaforums.com/showthread.php?p=30207959​

At first big thanks to dudumomo for hosting the project! I can't thank you enough!

Then big thanks to TylerDurben for the awesome picture work!​

Please: Learn to read the whole opening post!

I won't help in cases like this anymore! All informations are given!

Thanks!

Note: it doesn't boot a phony-Linux! This Linux runs on top of Android! ;)

"Hey Nerds!" would Sassibo(o)b say. :D

But I'll say:

Hey dudes!

Welcome to the Andrinux-Project.

What the heck is Andrinux?!

Andrinux is a project (inspired by LeeDroid) to bring GNU/Linux to your phone!

Started in summer 2011 I now got the first running build for you.

Why should I use Andrinux?

Why are you thinking I can answer this question for you?!

It's your decision!

I use it for things like git and office apps.

Why are you posting it here and not in the general Android development?

Because I only tested it on the Desire HD and on no other device. But maybe later.

Why aren't you coming to the interesting thing - the download?

Ok, ok. I'm gonna hurry.

Disclaimer:

If something goes wrong or if something gets broken I'm not responsible for this!

Pay for it on your own!

What you'll need:

-phone

-PC or Mac

-unpacker for 7z-archives

-root

-S-OFF

-system read/write enabled (with newest update not needed anymore. If the script fails your should use this app)

-busybox

-SD-Card

-3 GB of free space on the SD-Card

-kernel with loop-support

-time

How to:

Let's get to the real thing.

First download the desired distribution.

Unpack the whole thing to your SD-Card and put it in your phone.

When you got there open a terminal emulator and switch to root mode.

Then you could follow the README-file but I made a little mistake while saving.

Please make sure to mount the system read/write!

So here the instructions:

Type in:

cd /mnt/sdcard/andrinux/???
sh prepare.sh
boot-???

Codes for the ???:

cd-codes:

debian

fedora

slack

ubuntu

boot-codes

sque- Debian Squeeze- available

whe- Debian Wheezy- not available

fed13- Fedora 13- not available

fed14- Fedora 14- not available

slack- Slackware- not available

nat- Ubuntu Natty- not available

one- Ubuntu Oneiric- available

What you'll get:

The distribution, in most cases with xfce 4 and VNC server.

What you should do after entering GNU/Linux:

Update your distribution and install wanted software like a browser.

I suggest Midori, which you can see in the pictures.

It's pretty fast on a phone.

What you shouldn't do:

rm -r /

Tips:

More than 255 apps on SD aren't possible on our phone in combination with Andrinux, sorry.

If you want an other resolution you can edit the xstart-file in your andrinux/debian-folder.

Then run sh prepare.sh again.

I already added the locate-command and updated the database. So you can simply use it.

For more details see the tutorial in the next post.

Please, don't use the xterm.

Use the terminal emulator which you're running in the background instead. xterm is full of errors on the phone cause it uses the wrong scripts/files/programs.

You don't need to put "sudo" in front of a command. You are always logged in as root. ;)

The browser I use can be installed with

apt-get install midori

You may use Iceweasel, the Debian-Firefox (better compatibility). Install it with

apt-get install iceweasel

Use your volume keys to scroll faster on GUI with Android VNC.

You're an Andrinux-User?

Show it to others!

Take this link:

http://andrinux.freelydifferent.com/img/user.png

Want the official Andrinux wallpaper?

Look here!

How it works:

First, it sets the img-file located in the folder andrinux/??? on your SD-Card as a device.

Then it mounts the device.

After that we enter the environment of your distribution.

As this happens, we also switch to the distribution-bash and viola - we got GNU/Linux.

Cause every change is made like in a virtual machine, everything will be saved to your img-file on your SD-Card and your ROM files won't get touched.

The thanks-button is often overlooked.

Please use it if you like Andrinux.

Thanks. :)

Download section

Please no mirrors! I want to see how many downloads which one gets and want to earn a little amount of money! Thank you!

Everythings right now, have fun. :)

Debian Squeeze - 12.12.2011:

http://andrinux.freelydifferent.com/downloads/debian/deb-sque.7z - size: 456,7 MB

Mirror (Multiupload):

http://www.multiupload.com/K244AYLM7Q

Debian Squeeze update - 09.02.2012:

http://andrinux.freelydifferent.com/downloads/debian/update090212.zip

Ubuntu Oneiric - 02.01.2012:

http://andrinux.freelydifferent.com/downloads/ubuntu/ubu-one.7z - size: 540,2 MB

Mirror (Multiupload):

http://www.multiupload.com/TEH2Q1JHRH

Ubuntu Oneiric update - 09.02.2012:

http://andrinux.freelydifferent.com/downloads/ubuntu/update090212.zip

Changelog section

Debian Squeeze:

14.12.2011:

-got it working with App2SD up to 99 apps

-SD-Card bind in Linux environment

-no more fail-mounts (mounting / instead of the image)

-tutorial added

-changed resolution for VNC to 800x480

15.12.2011:

-little ad-remove-correction

-added shortcut for SD-Card to Desktop

-corrected nameserver-problem ("couldn't resolve ...) - thx to Floep

24.12.2011:

-new script created from scratch

-up to 255 apps on SD-Card possible

01.01.2012:

-better script structure

-fixed a big which shouldn't appear :D

04.01.2012:

-more customizable xstart-script (run "xstart 800x600 for example to get this resolution)

-some tests whether mounting was successful

08.01.12:

-corrected the if-conditions

-added /system read-write to script, no app needed anymore

09.02.12

-added ICS-support - thanks to craigkal

-added some things to make it easier for me to edit the script

-added something which should help to get this working on every device (inspired by adwinp)

-added a hidden feature - to find it, you have to use an option. ;)

Ubuntu Oneiric:

24.12.2011:

-initial release

-added Firefox, Midori and Nautilus as Christmas-special

-new method to install the system: when you run the prepare.sh it'll create the image for you and unpack the system - less to upload, less to download. :)

29.12.2011:

-biggest problem (creation of image failed) fixed

-script is now more friendly for the ones who want to adjust it. :)

-big security hole (filing your /data partition when the image isn't mounted) got fixed

02.01.2012:

-new release (should now really work for everyone :D )

04.01.2012:

-more customizable xstart-script (run "xstart 800x600 for example to get this resolution)

-some tests whether mounting was successful

08.01.2012

-corrected the if-conditions

-added /system read-write to script, no app needed anymore

09.02.12

-added ICS-support - thanks to craigkal

-added some things to make it easier for me to edit the script

-added something which should help to get this working on every device (inspired by adwinp)

-added a hidden feature - to find it, you have to use an option. ;)

-new script for Ubuntu by adwinp. Take this for it. ;) https://www.box.net/shared/ncrs2o8i5lc6vj7pgpxy

Credits:

echo "I: New script from scratch. So only credits to me. :P"
echo "I: Already ad-cleaned by the Andrinux-Project. ;)"

Troubleshooting:

http://xdaforums.com/showpost.php?p=20733038&postcount=107

Any more questions?

Post them here. :)

If you want the latest updates you can follow me on Twitter!

http://twitter.com/Ditti4

If you have problems and need help:

Gtalk - ricod1996@googlemail.com

Please tell me your XDA-username so I can identify you. ;)